NETCONF Configuration Guide
YANG API Reference
sflow
28 min
asternos sflow module description asternos yang model for sampled flow configuration yang tree diagram module asternos sflow + rw sflow + rw enabled? boolean + rw polling interval? uint16 + rw agent id? string + rw sampling direction? enumeration + rw session \[port] \| + rw port if\ interface ref \| + rw enabled? boolean \| + rw sampling rate? uint32 \| + rw sampling direction? enumeration + rw collector \[name] + rw name string + rw ip inet\ ip address no zone + rw port? uint16 + rw vrf? vrf\ vrf ref rpcs + x show sflow interface + w input \| + w port? cmn\ ethernet port name + ro output + ro data + ro port config \[port] + ro port cmn\ ethernet port name + ro enabled? boolean + ro sampling rate? uint32 + ro sampling direction? string resources resource list path access /sflow read write /sflow/enabled read write /sflow/polling interval read write /sflow/agent id read write /sflow/sampling direction read write /sflow/session read write /sflow/session/port read write /sflow/session/enabled read write /sflow/session/sampling rate read write /sflow/session/sampling direction read write /sflow/collector read write /sflow/collector/name read write /sflow/collector/ip read write /sflow/collector/port read write /sflow/collector/vrf read write detailed nodes /sflow path /sflow node type container description global sflow configuration access read write /sflow/enabled path /sflow/enabled node type leaf description global admin state of sflow access read write data type constraints valid in \[true, false] /sflow/polling interval path /sflow/polling interval node type leaf description counter sampling polling interval access read write data type constraints valid range 5 to 300 /sflow/agent id path /sflow/agent id node type leaf description sflow agent id access read write data type /sflow/sampling direction path /sflow/sampling direction node type leaf description sampling direction access read write data type constraints enumeration with options rx tx both /sflow/session path /sflow/session node type list description interface level sflow configuration access read write /sflow/session/port path /sflow/session/port node type leaf description the name of the interface access read write data type constraints multiple constraints leafref pointing to asternos interfaces\ interface ref must condition starts with( , 'ethernet') /sflow/session/enabled path /sflow/session/enabled node type leaf description interface level admin state of sflow collector access read write data type constraints valid in \[true, false] /sflow/session/sampling rate path /sflow/session/sampling rate node type leaf description sampling rate (1/n packets) access read write data type constraints valid range 8000 to 1000000 /sflow/session/sampling direction path /sflow/session/sampling direction node type leaf description sampling direction access read write data type constraints enumeration with options rx tx both /sflow/collector path /sflow/collector node type list description collector configuration access read write /sflow/collector/name path /sflow/collector/name node type leaf description collector name access read write data type constraints string with length 1 to 16 /sflow/collector/ip path /sflow/collector/ip node type leaf description collector ip address access read write data type constraints multiple constraints an ipv6 address without a zone index this type, derived from the type ipv6 address, may be used in situations where the zone is known from the context and no zone index is needed an ipv4 address without a zone index this type, derived from the type ipv4 address, may be used in situations where the zone is known from the context and no zone index is needed mandatory yes /sflow/collector/port path /sflow/collector/port node type leaf description collector destination udp port (default 6343) access read write data type constraints valid range 1 to 65535 /sflow/collector/vrf path /sflow/collector/vrf node type leaf description set interface vrf access read write data type constraints leafref pointing to asternos vrf\ vrf ref rpcs show sflow interface path access /show sflow interface/input read write /show sflow interface/input/port read write /show sflow interface/output read write /show sflow interface/output/data read write /show sflow interface/output/data/port config read write /show sflow interface/output/data/port config/port read write /show sflow interface/output/data/port config/enabled read write /show sflow interface/output/data/port config/sampling rate read write /show sflow interface/output/data/port config/sampling direction read write /show sflow interface/input path /show sflow interface/input node type container description no description available access read write /show sflow interface/input/port path /show sflow interface/input/port node type leaf description determining display specific interface information or all interface information access read write data type /show sflow interface/output path /show sflow interface/output node type container description no description available access read write /show sflow interface/output/data path /show sflow interface/output/data node type container description no description available access read write /show sflow interface/output/data/port config path /show sflow interface/output/data/port config node type list description sflow interface status entries access read write /show sflow interface/output/data/port config/port path /show sflow interface/output/data/port config/port node type leaf description port name access read write data type /show sflow interface/output/data/port config/enabled path /show sflow interface/output/data/port config/enabled node type leaf description admin status access read write data type constraints valid in \[true, false] /show sflow interface/output/data/port config/sampling rate path /show sflow interface/output/data/port config/sampling rate node type leaf description configured sampling rate (1/n) access read write data type constraints valid range /show sflow interface/output/data/port config/sampling direction path /show sflow interface/output/data/port config/sampling direction node type leaf description sampling direction (default rx) access read write data type
