Documentation ¶
Overview ¶
Package sampling is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema. The generated paths are based on a compressed form of the schema.
This package was generated by ygnmi version: v0.8.1: (ygot: v0.29.0) using the following YANG input files:
- gnmi-collector-metadata.yang
- gnsi/authz/gnsi-authz.yang
- gnsi/cert/gnsi-cert.yang
- gnsi/console/gnsi-console.yang
- gnsi/pathz/gnsi-pathz.yang
- gnsi/ssh/gnsi-ssh.yang
- public/release/models/acl/openconfig-acl.yang
- public/release/models/acl/openconfig-packet-match.yang
- public/release/models/aft/openconfig-aft.yang
- public/release/models/aft/openconfig-aft-network-instance.yang
- public/release/models/ate/openconfig-ate-flow.yang
- public/release/models/ate/openconfig-ate-intf.yang
- public/release/models/bfd/openconfig-bfd.yang
- public/release/models/bgp/openconfig-bgp-policy.yang
- public/release/models/bgp/openconfig-bgp-types.yang
- public/release/models/interfaces/openconfig-if-aggregate.yang
- public/release/models/interfaces/openconfig-if-ethernet.yang
- public/release/models/interfaces/openconfig-if-ethernet-ext.yang
- public/release/models/interfaces/openconfig-if-ip-ext.yang
- public/release/models/interfaces/openconfig-if-ip.yang
- public/release/models/interfaces/openconfig-if-sdn-ext.yang
- public/release/models/interfaces/openconfig-interfaces.yang
- public/release/models/isis/openconfig-isis.yang
- public/release/models/lacp/openconfig-lacp.yang
- public/release/models/lldp/openconfig-lldp-types.yang
- public/release/models/lldp/openconfig-lldp.yang
- public/release/models/local-routing/openconfig-local-routing.yang
- public/release/models/mpls/openconfig-mpls-types.yang
- public/release/models/multicast/openconfig-pim.yang
- public/release/models/network-instance/openconfig-network-instance.yang
- public/release/models/openconfig-extensions.yang
- public/release/models/optical-transport/openconfig-terminal-device.yang
- public/release/models/optical-transport/openconfig-transport-types.yang
- public/release/models/ospf/openconfig-ospfv2.yang
- public/release/models/ospf/openconfig-ospf-policy.yang
- public/release/models/p4rt/openconfig-p4rt.yang
- public/release/models/platform/openconfig-platform-controller-card.yang
- public/release/models/platform/openconfig-platform-cpu.yang
- public/release/models/platform/openconfig-platform-ext.yang
- public/release/models/platform/openconfig-platform-fabric.yang
- public/release/models/platform/openconfig-platform-fan.yang
- public/release/models/platform/openconfig-platform-integrated-circuit.yang
- public/release/models/platform/openconfig-platform-linecard.yang
- public/release/models/platform/openconfig-platform-pipeline-counters.yang
- public/release/models/platform/openconfig-platform-software.yang
- public/release/models/platform/openconfig-platform-transceiver.yang
- public/release/models/platform/openconfig-platform.yang
- public/release/models/policy-forwarding/openconfig-policy-forwarding.yang
- public/release/models/policy/openconfig-policy-types.yang
- public/release/models/qos/openconfig-qos-elements.yang
- public/release/models/qos/openconfig-qos-interfaces.yang
- public/release/models/qos/openconfig-qos-types.yang
- public/release/models/qos/openconfig-qos.yang
- public/release/models/rib/openconfig-rib-bgp.yang
- public/release/models/sampling/openconfig-sampling-sflow.yang
- public/release/models/segment-routing/openconfig-segment-routing-types.yang
- public/release/models/system/openconfig-system.yang
- public/release/models/types/openconfig-inet-types.yang
- public/release/models/types/openconfig-types.yang
- public/release/models/types/openconfig-yang-types.yang
- public/release/models/vlan/openconfig-vlan.yang
- public/third_party/ietf/iana-if-type.yang
- public/third_party/ietf/ietf-inet-types.yang
- public/third_party/ietf/ietf-interfaces.yang
- public/third_party/ietf/ietf-yang-types.yang
Imported modules were sourced from:
- public/release/models/...
- public/third_party/ietf/...
Index ¶
- type SamplingPath
- type SamplingPathAny
- type Sampling_SflowPath
- func (n *Sampling_SflowPath) AgentIdIpv4() *Sampling_Sflow_AgentIdIpv4Path
- func (n *Sampling_SflowPath) AgentIdIpv6() *Sampling_Sflow_AgentIdIpv6Path
- func (n *Sampling_SflowPath) Collector(Address string, Port uint16) *Sampling_Sflow_CollectorPath
- func (n *Sampling_SflowPath) CollectorAny() *Sampling_Sflow_CollectorPathAny
- func (n *Sampling_SflowPath) CollectorMap() *Sampling_Sflow_CollectorPathMap
- func (n *Sampling_SflowPath) Config() ygnmi.ConfigQuery[*oc.Sampling_Sflow]
- func (n *Sampling_SflowPath) Dscp() *Sampling_Sflow_DscpPath
- func (n *Sampling_SflowPath) EgressSamplingRate() *Sampling_Sflow_EgressSamplingRatePath
- func (n *Sampling_SflowPath) Enabled() *Sampling_Sflow_EnabledPath
- func (n *Sampling_SflowPath) IngressSamplingRate() *Sampling_Sflow_IngressSamplingRatePath
- func (n *Sampling_SflowPath) Interface(Name string) *Sampling_Sflow_InterfacePath
- func (n *Sampling_SflowPath) InterfaceAny() *Sampling_Sflow_InterfacePathAny
- func (n *Sampling_SflowPath) InterfaceMap() *Sampling_Sflow_InterfacePathMap
- func (n *Sampling_SflowPath) PollingInterval() *Sampling_Sflow_PollingIntervalPath
- func (n *Sampling_SflowPath) SampleSize() *Sampling_Sflow_SampleSizePath
- func (n *Sampling_SflowPath) State() ygnmi.SingletonQuery[*oc.Sampling_Sflow]
- type Sampling_SflowPathAny
- func (n *Sampling_SflowPathAny) AgentIdIpv4() *Sampling_Sflow_AgentIdIpv4PathAny
- func (n *Sampling_SflowPathAny) AgentIdIpv6() *Sampling_Sflow_AgentIdIpv6PathAny
- func (n *Sampling_SflowPathAny) Collector(Address string, Port uint16) *Sampling_Sflow_CollectorPathAny
- func (n *Sampling_SflowPathAny) CollectorAny() *Sampling_Sflow_CollectorPathAny
- func (n *Sampling_SflowPathAny) CollectorMap() *Sampling_Sflow_CollectorPathMapAny
- func (n *Sampling_SflowPathAny) Config() ygnmi.WildcardQuery[*oc.Sampling_Sflow]
- func (n *Sampling_SflowPathAny) Dscp() *Sampling_Sflow_DscpPathAny
- func (n *Sampling_SflowPathAny) EgressSamplingRate() *Sampling_Sflow_EgressSamplingRatePathAny
- func (n *Sampling_SflowPathAny) Enabled() *Sampling_Sflow_EnabledPathAny
- func (n *Sampling_SflowPathAny) IngressSamplingRate() *Sampling_Sflow_IngressSamplingRatePathAny
- func (n *Sampling_SflowPathAny) Interface(Name string) *Sampling_Sflow_InterfacePathAny
- func (n *Sampling_SflowPathAny) InterfaceAny() *Sampling_Sflow_InterfacePathAny
- func (n *Sampling_SflowPathAny) InterfaceMap() *Sampling_Sflow_InterfacePathMapAny
- func (n *Sampling_SflowPathAny) PollingInterval() *Sampling_Sflow_PollingIntervalPathAny
- func (n *Sampling_SflowPathAny) SampleSize() *Sampling_Sflow_SampleSizePathAny
- func (n *Sampling_SflowPathAny) State() ygnmi.WildcardQuery[*oc.Sampling_Sflow]
- type Sampling_Sflow_AgentIdIpv4Path
- type Sampling_Sflow_AgentIdIpv4PathAny
- type Sampling_Sflow_AgentIdIpv6Path
- type Sampling_Sflow_AgentIdIpv6PathAny
- type Sampling_Sflow_CollectorPath
- func (n *Sampling_Sflow_CollectorPath) Address() *Sampling_Sflow_Collector_AddressPath
- func (n *Sampling_Sflow_CollectorPath) Config() ygnmi.ConfigQuery[*oc.Sampling_Sflow_Collector]
- func (n *Sampling_Sflow_CollectorPath) NetworkInstance() *Sampling_Sflow_Collector_NetworkInstancePath
- func (n *Sampling_Sflow_CollectorPath) PacketsSent() *Sampling_Sflow_Collector_PacketsSentPath
- func (n *Sampling_Sflow_CollectorPath) Port() *Sampling_Sflow_Collector_PortPath
- func (n *Sampling_Sflow_CollectorPath) SourceAddress() *Sampling_Sflow_Collector_SourceAddressPath
- func (n *Sampling_Sflow_CollectorPath) State() ygnmi.SingletonQuery[*oc.Sampling_Sflow_Collector]
- type Sampling_Sflow_CollectorPathAny
- func (n *Sampling_Sflow_CollectorPathAny) Address() *Sampling_Sflow_Collector_AddressPathAny
- func (n *Sampling_Sflow_CollectorPathAny) Config() ygnmi.WildcardQuery[*oc.Sampling_Sflow_Collector]
- func (n *Sampling_Sflow_CollectorPathAny) NetworkInstance() *Sampling_Sflow_Collector_NetworkInstancePathAny
- func (n *Sampling_Sflow_CollectorPathAny) PacketsSent() *Sampling_Sflow_Collector_PacketsSentPathAny
- func (n *Sampling_Sflow_CollectorPathAny) Port() *Sampling_Sflow_Collector_PortPathAny
- func (n *Sampling_Sflow_CollectorPathAny) SourceAddress() *Sampling_Sflow_Collector_SourceAddressPathAny
- func (n *Sampling_Sflow_CollectorPathAny) State() ygnmi.WildcardQuery[*oc.Sampling_Sflow_Collector]
- func (n *Sampling_Sflow_CollectorPathAny) WithAddress(Address string) *Sampling_Sflow_CollectorPathAny
- func (n *Sampling_Sflow_CollectorPathAny) WithPort(Port uint16) *Sampling_Sflow_CollectorPathAny
- type Sampling_Sflow_CollectorPathMap
- type Sampling_Sflow_CollectorPathMapAny
- type Sampling_Sflow_Collector_AddressPath
- type Sampling_Sflow_Collector_AddressPathAny
- type Sampling_Sflow_Collector_NetworkInstancePath
- type Sampling_Sflow_Collector_NetworkInstancePathAny
- type Sampling_Sflow_Collector_PacketsSentPath
- type Sampling_Sflow_Collector_PacketsSentPathAny
- type Sampling_Sflow_Collector_PortPath
- type Sampling_Sflow_Collector_PortPathAny
- type Sampling_Sflow_Collector_SourceAddressPath
- type Sampling_Sflow_Collector_SourceAddressPathAny
- type Sampling_Sflow_DscpPath
- type Sampling_Sflow_DscpPathAny
- type Sampling_Sflow_EgressSamplingRatePath
- type Sampling_Sflow_EgressSamplingRatePathAny
- type Sampling_Sflow_EnabledPath
- type Sampling_Sflow_EnabledPathAny
- type Sampling_Sflow_IngressSamplingRatePath
- type Sampling_Sflow_IngressSamplingRatePathAny
- type Sampling_Sflow_InterfacePath
- func (n *Sampling_Sflow_InterfacePath) Config() ygnmi.ConfigQuery[*oc.Sampling_Sflow_Interface]
- func (n *Sampling_Sflow_InterfacePath) EgressSamplingRate() *Sampling_Sflow_Interface_EgressSamplingRatePath
- func (n *Sampling_Sflow_InterfacePath) Enabled() *Sampling_Sflow_Interface_EnabledPath
- func (n *Sampling_Sflow_InterfacePath) IngressSamplingRate() *Sampling_Sflow_Interface_IngressSamplingRatePath
- func (n *Sampling_Sflow_InterfacePath) Name() *Sampling_Sflow_Interface_NamePath
- func (n *Sampling_Sflow_InterfacePath) PacketsSampled() *Sampling_Sflow_Interface_PacketsSampledPath
- func (n *Sampling_Sflow_InterfacePath) PollingInterval() *Sampling_Sflow_Interface_PollingIntervalPath
- func (n *Sampling_Sflow_InterfacePath) State() ygnmi.SingletonQuery[*oc.Sampling_Sflow_Interface]
- type Sampling_Sflow_InterfacePathAny
- func (n *Sampling_Sflow_InterfacePathAny) Config() ygnmi.WildcardQuery[*oc.Sampling_Sflow_Interface]
- func (n *Sampling_Sflow_InterfacePathAny) EgressSamplingRate() *Sampling_Sflow_Interface_EgressSamplingRatePathAny
- func (n *Sampling_Sflow_InterfacePathAny) Enabled() *Sampling_Sflow_Interface_EnabledPathAny
- func (n *Sampling_Sflow_InterfacePathAny) IngressSamplingRate() *Sampling_Sflow_Interface_IngressSamplingRatePathAny
- func (n *Sampling_Sflow_InterfacePathAny) Name() *Sampling_Sflow_Interface_NamePathAny
- func (n *Sampling_Sflow_InterfacePathAny) PacketsSampled() *Sampling_Sflow_Interface_PacketsSampledPathAny
- func (n *Sampling_Sflow_InterfacePathAny) PollingInterval() *Sampling_Sflow_Interface_PollingIntervalPathAny
- func (n *Sampling_Sflow_InterfacePathAny) State() ygnmi.WildcardQuery[*oc.Sampling_Sflow_Interface]
- type Sampling_Sflow_InterfacePathMap
- type Sampling_Sflow_InterfacePathMapAny
- type Sampling_Sflow_Interface_EgressSamplingRatePath
- type Sampling_Sflow_Interface_EgressSamplingRatePathAny
- type Sampling_Sflow_Interface_EnabledPath
- type Sampling_Sflow_Interface_EnabledPathAny
- type Sampling_Sflow_Interface_IngressSamplingRatePath
- type Sampling_Sflow_Interface_IngressSamplingRatePathAny
- type Sampling_Sflow_Interface_NamePath
- type Sampling_Sflow_Interface_NamePathAny
- type Sampling_Sflow_Interface_PacketsSampledPath
- type Sampling_Sflow_Interface_PacketsSampledPathAny
- type Sampling_Sflow_Interface_PollingIntervalPath
- type Sampling_Sflow_Interface_PollingIntervalPathAny
- type Sampling_Sflow_PollingIntervalPath
- type Sampling_Sflow_PollingIntervalPathAny
- type Sampling_Sflow_SampleSizePath
- type Sampling_Sflow_SampleSizePathAny
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SamplingPath ¶
SamplingPath represents the /openconfig-sampling/sampling YANG schema element.
func (*SamplingPath) Config ¶
func (n *SamplingPath) Config() ygnmi.ConfigQuery[*oc.Sampling]
Config returns a Query that can be used in gNMI operations.
func (*SamplingPath) Sflow ¶
func (n *SamplingPath) Sflow() *Sampling_SflowPath
Sflow (container): Top-level container for sFlow data.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling" Path from parent: "sflow" Path from root: "/sampling/sflow"
func (*SamplingPath) State ¶
func (n *SamplingPath) State() ygnmi.SingletonQuery[*oc.Sampling]
State returns a Query that can be used in gNMI operations.
type SamplingPathAny ¶
SamplingPathAny represents the wildcard version of the /openconfig-sampling/sampling YANG schema element.
func (*SamplingPathAny) Config ¶
func (n *SamplingPathAny) Config() ygnmi.WildcardQuery[*oc.Sampling]
Config returns a Query that can be used in gNMI operations.
func (*SamplingPathAny) Sflow ¶
func (n *SamplingPathAny) Sflow() *Sampling_SflowPathAny
Sflow (container): Top-level container for sFlow data.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling" Path from parent: "sflow" Path from root: "/sampling/sflow"
func (*SamplingPathAny) State ¶
func (n *SamplingPathAny) State() ygnmi.WildcardQuery[*oc.Sampling]
State returns a Query that can be used in gNMI operations.
type Sampling_SflowPath ¶
Sampling_SflowPath represents the /openconfig-sampling/sampling/sflow YANG schema element.
func (*Sampling_SflowPath) AgentIdIpv4 ¶
func (n *Sampling_SflowPath) AgentIdIpv4() *Sampling_Sflow_AgentIdIpv4Path
AgentIdIpv4 (leaf): Sets the agent identifier for IPv4 PDUs.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling" Path from parent: "*/agent-id-ipv4" Path from root: "/sampling/sflow/*/agent-id-ipv4"
func (*Sampling_SflowPath) AgentIdIpv6 ¶
func (n *Sampling_SflowPath) AgentIdIpv6() *Sampling_Sflow_AgentIdIpv6Path
AgentIdIpv6 (leaf): Sets the agent identifier for IPv6 PDUs.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling" Path from parent: "*/agent-id-ipv6" Path from root: "/sampling/sflow/*/agent-id-ipv6"
func (*Sampling_SflowPath) Collector ¶
func (n *Sampling_SflowPath) Collector(Address string, Port uint16) *Sampling_Sflow_CollectorPath
Collector (list): List of sFlow collectors to send sampling data. Packet samples are sent to all collectors specified.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling" Path from parent: "collectors/collector" Path from root: "/sampling/sflow/collectors/collector" Address: string Port: uint16
func (*Sampling_SflowPath) CollectorAny ¶
func (n *Sampling_SflowPath) CollectorAny() *Sampling_Sflow_CollectorPathAny
CollectorAny (list): List of sFlow collectors to send sampling data. Packet samples are sent to all collectors specified.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling" Path from parent: "collectors/collector" Path from root: "/sampling/sflow/collectors/collector"
func (*Sampling_SflowPath) CollectorMap ¶ added in v0.1.24
func (n *Sampling_SflowPath) CollectorMap() *Sampling_Sflow_CollectorPathMap
CollectorMap (list): List of sFlow collectors to send sampling data. Packet samples are sent to all collectors specified.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling" Path from parent: "collectors/collector" Path from root: "/sampling/sflow/collectors/collector"
func (*Sampling_SflowPath) Config ¶
func (n *Sampling_SflowPath) Config() ygnmi.ConfigQuery[*oc.Sampling_Sflow]
Config returns a Query that can be used in gNMI operations.
func (*Sampling_SflowPath) Dscp ¶
func (n *Sampling_SflowPath) Dscp() *Sampling_Sflow_DscpPath
Dscp (leaf): DSCP marking of packets generated by the sFlow subsystem on the network device.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling" Path from parent: "*/dscp" Path from root: "/sampling/sflow/*/dscp"
func (*Sampling_SflowPath) EgressSamplingRate ¶
func (n *Sampling_SflowPath) EgressSamplingRate() *Sampling_Sflow_EgressSamplingRatePath
EgressSamplingRate (leaf): Sets the egress packet sampling rate. The rate is expressed as an integer N, where the intended sampling rate is 1/N packets. An implementation may implement the sampling rate as a statistical average, rather than a strict periodic sampling.
The allowable sampling rate range is generally a property of the system, e.g., determined by the capability of the hardware.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling" Path from parent: "*/egress-sampling-rate" Path from root: "/sampling/sflow/*/egress-sampling-rate"
func (*Sampling_SflowPath) Enabled ¶
func (n *Sampling_SflowPath) Enabled() *Sampling_Sflow_EnabledPath
Enabled (leaf): Enables or disables sFlow sampling for the device.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling" Path from parent: "*/enabled" Path from root: "/sampling/sflow/*/enabled"
func (*Sampling_SflowPath) IngressSamplingRate ¶
func (n *Sampling_SflowPath) IngressSamplingRate() *Sampling_Sflow_IngressSamplingRatePath
IngressSamplingRate (leaf): Sets the ingress packet sampling rate. The rate is expressed as an integer N, where the intended sampling rate is 1/N packets. An implementation may implement the sampling rate as a statistical average, rather than a strict periodic sampling.
The allowable sampling rate range is generally a property of the system, e.g., determined by the capability of the hardware.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling" Path from parent: "*/ingress-sampling-rate" Path from root: "/sampling/sflow/*/ingress-sampling-rate"
func (*Sampling_SflowPath) Interface ¶
func (n *Sampling_SflowPath) Interface(Name string) *Sampling_Sflow_InterfacePath
Interface (list): List of interfaces with sFlow data.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling" Path from parent: "interfaces/interface" Path from root: "/sampling/sflow/interfaces/interface" Name: string
func (*Sampling_SflowPath) InterfaceAny ¶
func (n *Sampling_SflowPath) InterfaceAny() *Sampling_Sflow_InterfacePathAny
InterfaceAny (list): List of interfaces with sFlow data.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling" Path from parent: "interfaces/interface" Path from root: "/sampling/sflow/interfaces/interface"
func (*Sampling_SflowPath) InterfaceMap ¶ added in v0.1.24
func (n *Sampling_SflowPath) InterfaceMap() *Sampling_Sflow_InterfacePathMap
InterfaceMap (list): List of interfaces with sFlow data.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling" Path from parent: "interfaces/interface" Path from root: "/sampling/sflow/interfaces/interface"
func (*Sampling_SflowPath) PollingInterval ¶
func (n *Sampling_SflowPath) PollingInterval() *Sampling_Sflow_PollingIntervalPath
PollingInterval (leaf): Sets the traffic sampling polling interval.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling" Path from parent: "*/polling-interval" Path from root: "/sampling/sflow/*/polling-interval"
func (*Sampling_SflowPath) SampleSize ¶
func (n *Sampling_SflowPath) SampleSize() *Sampling_Sflow_SampleSizePath
SampleSize (leaf): Sets the maximum number of bytes to be copied from a sampled packet.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling" Path from parent: "*/sample-size" Path from root: "/sampling/sflow/*/sample-size"
func (*Sampling_SflowPath) State ¶
func (n *Sampling_SflowPath) State() ygnmi.SingletonQuery[*oc.Sampling_Sflow]
State returns a Query that can be used in gNMI operations.
type Sampling_SflowPathAny ¶
Sampling_SflowPathAny represents the wildcard version of the /openconfig-sampling/sampling/sflow YANG schema element.
func (*Sampling_SflowPathAny) AgentIdIpv4 ¶
func (n *Sampling_SflowPathAny) AgentIdIpv4() *Sampling_Sflow_AgentIdIpv4PathAny
AgentIdIpv4 (leaf): Sets the agent identifier for IPv4 PDUs.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling" Path from parent: "*/agent-id-ipv4" Path from root: "/sampling/sflow/*/agent-id-ipv4"
func (*Sampling_SflowPathAny) AgentIdIpv6 ¶
func (n *Sampling_SflowPathAny) AgentIdIpv6() *Sampling_Sflow_AgentIdIpv6PathAny
AgentIdIpv6 (leaf): Sets the agent identifier for IPv6 PDUs.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling" Path from parent: "*/agent-id-ipv6" Path from root: "/sampling/sflow/*/agent-id-ipv6"
func (*Sampling_SflowPathAny) Collector ¶
func (n *Sampling_SflowPathAny) Collector(Address string, Port uint16) *Sampling_Sflow_CollectorPathAny
Collector (list): List of sFlow collectors to send sampling data. Packet samples are sent to all collectors specified.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling" Path from parent: "collectors/collector" Path from root: "/sampling/sflow/collectors/collector" Address: string Port: uint16
func (*Sampling_SflowPathAny) CollectorAny ¶
func (n *Sampling_SflowPathAny) CollectorAny() *Sampling_Sflow_CollectorPathAny
CollectorAny (list): List of sFlow collectors to send sampling data. Packet samples are sent to all collectors specified.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling" Path from parent: "collectors/collector" Path from root: "/sampling/sflow/collectors/collector"
func (*Sampling_SflowPathAny) CollectorMap ¶ added in v0.1.24
func (n *Sampling_SflowPathAny) CollectorMap() *Sampling_Sflow_CollectorPathMapAny
CollectorMap (list): List of sFlow collectors to send sampling data. Packet samples are sent to all collectors specified.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling" Path from parent: "collectors/collector" Path from root: "/sampling/sflow/collectors/collector"
func (*Sampling_SflowPathAny) Config ¶
func (n *Sampling_SflowPathAny) Config() ygnmi.WildcardQuery[*oc.Sampling_Sflow]
Config returns a Query that can be used in gNMI operations.
func (*Sampling_SflowPathAny) Dscp ¶
func (n *Sampling_SflowPathAny) Dscp() *Sampling_Sflow_DscpPathAny
Dscp (leaf): DSCP marking of packets generated by the sFlow subsystem on the network device.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling" Path from parent: "*/dscp" Path from root: "/sampling/sflow/*/dscp"
func (*Sampling_SflowPathAny) EgressSamplingRate ¶
func (n *Sampling_SflowPathAny) EgressSamplingRate() *Sampling_Sflow_EgressSamplingRatePathAny
EgressSamplingRate (leaf): Sets the egress packet sampling rate. The rate is expressed as an integer N, where the intended sampling rate is 1/N packets. An implementation may implement the sampling rate as a statistical average, rather than a strict periodic sampling.
The allowable sampling rate range is generally a property of the system, e.g., determined by the capability of the hardware.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling" Path from parent: "*/egress-sampling-rate" Path from root: "/sampling/sflow/*/egress-sampling-rate"
func (*Sampling_SflowPathAny) Enabled ¶
func (n *Sampling_SflowPathAny) Enabled() *Sampling_Sflow_EnabledPathAny
Enabled (leaf): Enables or disables sFlow sampling for the device.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling" Path from parent: "*/enabled" Path from root: "/sampling/sflow/*/enabled"
func (*Sampling_SflowPathAny) IngressSamplingRate ¶
func (n *Sampling_SflowPathAny) IngressSamplingRate() *Sampling_Sflow_IngressSamplingRatePathAny
IngressSamplingRate (leaf): Sets the ingress packet sampling rate. The rate is expressed as an integer N, where the intended sampling rate is 1/N packets. An implementation may implement the sampling rate as a statistical average, rather than a strict periodic sampling.
The allowable sampling rate range is generally a property of the system, e.g., determined by the capability of the hardware.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling" Path from parent: "*/ingress-sampling-rate" Path from root: "/sampling/sflow/*/ingress-sampling-rate"
func (*Sampling_SflowPathAny) Interface ¶
func (n *Sampling_SflowPathAny) Interface(Name string) *Sampling_Sflow_InterfacePathAny
Interface (list): List of interfaces with sFlow data.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling" Path from parent: "interfaces/interface" Path from root: "/sampling/sflow/interfaces/interface" Name: string
func (*Sampling_SflowPathAny) InterfaceAny ¶
func (n *Sampling_SflowPathAny) InterfaceAny() *Sampling_Sflow_InterfacePathAny
InterfaceAny (list): List of interfaces with sFlow data.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling" Path from parent: "interfaces/interface" Path from root: "/sampling/sflow/interfaces/interface"
func (*Sampling_SflowPathAny) InterfaceMap ¶ added in v0.1.24
func (n *Sampling_SflowPathAny) InterfaceMap() *Sampling_Sflow_InterfacePathMapAny
InterfaceMap (list): List of interfaces with sFlow data.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling" Path from parent: "interfaces/interface" Path from root: "/sampling/sflow/interfaces/interface"
func (*Sampling_SflowPathAny) PollingInterval ¶
func (n *Sampling_SflowPathAny) PollingInterval() *Sampling_Sflow_PollingIntervalPathAny
PollingInterval (leaf): Sets the traffic sampling polling interval.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling" Path from parent: "*/polling-interval" Path from root: "/sampling/sflow/*/polling-interval"
func (*Sampling_SflowPathAny) SampleSize ¶
func (n *Sampling_SflowPathAny) SampleSize() *Sampling_Sflow_SampleSizePathAny
SampleSize (leaf): Sets the maximum number of bytes to be copied from a sampled packet.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling" Path from parent: "*/sample-size" Path from root: "/sampling/sflow/*/sample-size"
func (*Sampling_SflowPathAny) State ¶
func (n *Sampling_SflowPathAny) State() ygnmi.WildcardQuery[*oc.Sampling_Sflow]
State returns a Query that can be used in gNMI operations.
type Sampling_Sflow_AgentIdIpv4Path ¶
type Sampling_Sflow_AgentIdIpv4Path struct { *ygnmi.NodePath // contains filtered or unexported fields }
Sampling_Sflow_AgentIdIpv4Path represents the /openconfig-sampling/sampling/sflow/state/agent-id-ipv4 YANG schema element.
func (*Sampling_Sflow_AgentIdIpv4Path) Config ¶
func (n *Sampling_Sflow_AgentIdIpv4Path) Config() ygnmi.ConfigQuery[string]
Config returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "config/agent-id-ipv4" Path from root: "/sampling/sflow/config/agent-id-ipv4"
func (*Sampling_Sflow_AgentIdIpv4Path) State ¶
func (n *Sampling_Sflow_AgentIdIpv4Path) State() ygnmi.SingletonQuery[string]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "state/agent-id-ipv4" Path from root: "/sampling/sflow/state/agent-id-ipv4"
type Sampling_Sflow_AgentIdIpv4PathAny ¶
type Sampling_Sflow_AgentIdIpv4PathAny struct { *ygnmi.NodePath // contains filtered or unexported fields }
Sampling_Sflow_AgentIdIpv4PathAny represents the wildcard version of the /openconfig-sampling/sampling/sflow/state/agent-id-ipv4 YANG schema element.
func (*Sampling_Sflow_AgentIdIpv4PathAny) Config ¶
func (n *Sampling_Sflow_AgentIdIpv4PathAny) Config() ygnmi.WildcardQuery[string]
Config returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "config/agent-id-ipv4" Path from root: "/sampling/sflow/config/agent-id-ipv4"
func (*Sampling_Sflow_AgentIdIpv4PathAny) State ¶
func (n *Sampling_Sflow_AgentIdIpv4PathAny) State() ygnmi.WildcardQuery[string]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "state/agent-id-ipv4" Path from root: "/sampling/sflow/state/agent-id-ipv4"
type Sampling_Sflow_AgentIdIpv6Path ¶
type Sampling_Sflow_AgentIdIpv6Path struct { *ygnmi.NodePath // contains filtered or unexported fields }
Sampling_Sflow_AgentIdIpv6Path represents the /openconfig-sampling/sampling/sflow/state/agent-id-ipv6 YANG schema element.
func (*Sampling_Sflow_AgentIdIpv6Path) Config ¶
func (n *Sampling_Sflow_AgentIdIpv6Path) Config() ygnmi.ConfigQuery[string]
Config returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "config/agent-id-ipv6" Path from root: "/sampling/sflow/config/agent-id-ipv6"
func (*Sampling_Sflow_AgentIdIpv6Path) State ¶
func (n *Sampling_Sflow_AgentIdIpv6Path) State() ygnmi.SingletonQuery[string]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "state/agent-id-ipv6" Path from root: "/sampling/sflow/state/agent-id-ipv6"
type Sampling_Sflow_AgentIdIpv6PathAny ¶
type Sampling_Sflow_AgentIdIpv6PathAny struct { *ygnmi.NodePath // contains filtered or unexported fields }
Sampling_Sflow_AgentIdIpv6PathAny represents the wildcard version of the /openconfig-sampling/sampling/sflow/state/agent-id-ipv6 YANG schema element.
func (*Sampling_Sflow_AgentIdIpv6PathAny) Config ¶
func (n *Sampling_Sflow_AgentIdIpv6PathAny) Config() ygnmi.WildcardQuery[string]
Config returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "config/agent-id-ipv6" Path from root: "/sampling/sflow/config/agent-id-ipv6"
func (*Sampling_Sflow_AgentIdIpv6PathAny) State ¶
func (n *Sampling_Sflow_AgentIdIpv6PathAny) State() ygnmi.WildcardQuery[string]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "state/agent-id-ipv6" Path from root: "/sampling/sflow/state/agent-id-ipv6"
type Sampling_Sflow_CollectorPath ¶
Sampling_Sflow_CollectorPath represents the /openconfig-sampling/sampling/sflow/collectors/collector YANG schema element.
func (*Sampling_Sflow_CollectorPath) Address ¶
func (n *Sampling_Sflow_CollectorPath) Address() *Sampling_Sflow_Collector_AddressPath
Address (leaf): IPv4/IPv6 address of the sFlow collector.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling" Path from parent: "*/address" Path from root: "/sampling/sflow/collectors/collector/*/address"
func (*Sampling_Sflow_CollectorPath) Config ¶
func (n *Sampling_Sflow_CollectorPath) Config() ygnmi.ConfigQuery[*oc.Sampling_Sflow_Collector]
Config returns a Query that can be used in gNMI operations.
func (*Sampling_Sflow_CollectorPath) NetworkInstance ¶
func (n *Sampling_Sflow_CollectorPath) NetworkInstance() *Sampling_Sflow_Collector_NetworkInstancePath
NetworkInstance (leaf): Reference to the network instance used to reach the sFlow collector. If uspecified, the collector destination is reachable in the default network instance.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling" Path from parent: "*/network-instance" Path from root: "/sampling/sflow/collectors/collector/*/network-instance"
func (*Sampling_Sflow_CollectorPath) PacketsSent ¶
func (n *Sampling_Sflow_CollectorPath) PacketsSent() *Sampling_Sflow_Collector_PacketsSentPath
PacketsSent (leaf): The total number of packets sampled and sent to the collector.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling" Path from parent: "state/packets-sent" Path from root: "/sampling/sflow/collectors/collector/state/packets-sent"
func (*Sampling_Sflow_CollectorPath) Port ¶
func (n *Sampling_Sflow_CollectorPath) Port() *Sampling_Sflow_Collector_PortPath
Port (leaf): UDP port number for the sFlow collector.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling" Path from parent: "*/port" Path from root: "/sampling/sflow/collectors/collector/*/port"
func (*Sampling_Sflow_CollectorPath) SourceAddress ¶
func (n *Sampling_Sflow_CollectorPath) SourceAddress() *Sampling_Sflow_Collector_SourceAddressPath
SourceAddress (leaf): Sets the source IPv4/IPv6 address for sFlow datagrams sent to sFlow collectors.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling" Path from parent: "*/source-address" Path from root: "/sampling/sflow/collectors/collector/*/source-address"
func (*Sampling_Sflow_CollectorPath) State ¶
func (n *Sampling_Sflow_CollectorPath) State() ygnmi.SingletonQuery[*oc.Sampling_Sflow_Collector]
State returns a Query that can be used in gNMI operations.
type Sampling_Sflow_CollectorPathAny ¶
Sampling_Sflow_CollectorPathAny represents the wildcard version of the /openconfig-sampling/sampling/sflow/collectors/collector YANG schema element.
func (*Sampling_Sflow_CollectorPathAny) Address ¶
func (n *Sampling_Sflow_CollectorPathAny) Address() *Sampling_Sflow_Collector_AddressPathAny
Address (leaf): IPv4/IPv6 address of the sFlow collector.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling" Path from parent: "*/address" Path from root: "/sampling/sflow/collectors/collector/*/address"
func (*Sampling_Sflow_CollectorPathAny) Config ¶
func (n *Sampling_Sflow_CollectorPathAny) Config() ygnmi.WildcardQuery[*oc.Sampling_Sflow_Collector]
Config returns a Query that can be used in gNMI operations.
func (*Sampling_Sflow_CollectorPathAny) NetworkInstance ¶
func (n *Sampling_Sflow_CollectorPathAny) NetworkInstance() *Sampling_Sflow_Collector_NetworkInstancePathAny
NetworkInstance (leaf): Reference to the network instance used to reach the sFlow collector. If uspecified, the collector destination is reachable in the default network instance.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling" Path from parent: "*/network-instance" Path from root: "/sampling/sflow/collectors/collector/*/network-instance"
func (*Sampling_Sflow_CollectorPathAny) PacketsSent ¶
func (n *Sampling_Sflow_CollectorPathAny) PacketsSent() *Sampling_Sflow_Collector_PacketsSentPathAny
PacketsSent (leaf): The total number of packets sampled and sent to the collector.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling" Path from parent: "state/packets-sent" Path from root: "/sampling/sflow/collectors/collector/state/packets-sent"
func (*Sampling_Sflow_CollectorPathAny) Port ¶
func (n *Sampling_Sflow_CollectorPathAny) Port() *Sampling_Sflow_Collector_PortPathAny
Port (leaf): UDP port number for the sFlow collector.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling" Path from parent: "*/port" Path from root: "/sampling/sflow/collectors/collector/*/port"
func (*Sampling_Sflow_CollectorPathAny) SourceAddress ¶
func (n *Sampling_Sflow_CollectorPathAny) SourceAddress() *Sampling_Sflow_Collector_SourceAddressPathAny
SourceAddress (leaf): Sets the source IPv4/IPv6 address for sFlow datagrams sent to sFlow collectors.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling" Path from parent: "*/source-address" Path from root: "/sampling/sflow/collectors/collector/*/source-address"
func (*Sampling_Sflow_CollectorPathAny) State ¶
func (n *Sampling_Sflow_CollectorPathAny) State() ygnmi.WildcardQuery[*oc.Sampling_Sflow_Collector]
State returns a Query that can be used in gNMI operations.
func (*Sampling_Sflow_CollectorPathAny) WithAddress ¶
func (n *Sampling_Sflow_CollectorPathAny) WithAddress(Address string) *Sampling_Sflow_CollectorPathAny
WithAddress sets Sampling_Sflow_CollectorPathAny's key "address" to the specified value. Address: string
func (*Sampling_Sflow_CollectorPathAny) WithPort ¶
func (n *Sampling_Sflow_CollectorPathAny) WithPort(Port uint16) *Sampling_Sflow_CollectorPathAny
WithPort sets Sampling_Sflow_CollectorPathAny's key "port" to the specified value. Port: uint16
type Sampling_Sflow_CollectorPathMap ¶ added in v0.1.24
Sampling_Sflow_CollectorPathMap represents the /openconfig-sampling/sampling/sflow/collectors/collector YANG schema element.
func (*Sampling_Sflow_CollectorPathMap) Config ¶ added in v0.1.24
func (n *Sampling_Sflow_CollectorPathMap) Config() ygnmi.ConfigQuery[map[oc.Sampling_Sflow_Collector_Key]*oc.Sampling_Sflow_Collector]
Config returns a Query that can be used in gNMI operations.
func (*Sampling_Sflow_CollectorPathMap) State ¶ added in v0.1.24
func (n *Sampling_Sflow_CollectorPathMap) State() ygnmi.SingletonQuery[map[oc.Sampling_Sflow_Collector_Key]*oc.Sampling_Sflow_Collector]
State returns a Query that can be used in gNMI operations.
type Sampling_Sflow_CollectorPathMapAny ¶ added in v0.1.24
Sampling_Sflow_CollectorPathMapAny represents the wildcard version of the /openconfig-sampling/sampling/sflow/collectors/collector YANG schema element.
func (*Sampling_Sflow_CollectorPathMapAny) Config ¶ added in v0.1.24
func (n *Sampling_Sflow_CollectorPathMapAny) Config() ygnmi.WildcardQuery[map[oc.Sampling_Sflow_Collector_Key]*oc.Sampling_Sflow_Collector]
Config returns a Query that can be used in gNMI operations.
func (*Sampling_Sflow_CollectorPathMapAny) State ¶ added in v0.1.24
func (n *Sampling_Sflow_CollectorPathMapAny) State() ygnmi.WildcardQuery[map[oc.Sampling_Sflow_Collector_Key]*oc.Sampling_Sflow_Collector]
State returns a Query that can be used in gNMI operations.
type Sampling_Sflow_Collector_AddressPath ¶
type Sampling_Sflow_Collector_AddressPath struct { *ygnmi.NodePath // contains filtered or unexported fields }
Sampling_Sflow_Collector_AddressPath represents the /openconfig-sampling/sampling/sflow/collectors/collector/state/address YANG schema element.
func (*Sampling_Sflow_Collector_AddressPath) Config ¶
func (n *Sampling_Sflow_Collector_AddressPath) Config() ygnmi.ConfigQuery[string]
Config returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "config/address" Path from root: "/sampling/sflow/collectors/collector/config/address"
func (*Sampling_Sflow_Collector_AddressPath) State ¶
func (n *Sampling_Sflow_Collector_AddressPath) State() ygnmi.SingletonQuery[string]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "state/address" Path from root: "/sampling/sflow/collectors/collector/state/address"
type Sampling_Sflow_Collector_AddressPathAny ¶
type Sampling_Sflow_Collector_AddressPathAny struct { *ygnmi.NodePath // contains filtered or unexported fields }
Sampling_Sflow_Collector_AddressPathAny represents the wildcard version of the /openconfig-sampling/sampling/sflow/collectors/collector/state/address YANG schema element.
func (*Sampling_Sflow_Collector_AddressPathAny) Config ¶
func (n *Sampling_Sflow_Collector_AddressPathAny) Config() ygnmi.WildcardQuery[string]
Config returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "config/address" Path from root: "/sampling/sflow/collectors/collector/config/address"
func (*Sampling_Sflow_Collector_AddressPathAny) State ¶
func (n *Sampling_Sflow_Collector_AddressPathAny) State() ygnmi.WildcardQuery[string]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "state/address" Path from root: "/sampling/sflow/collectors/collector/state/address"
type Sampling_Sflow_Collector_NetworkInstancePath ¶
type Sampling_Sflow_Collector_NetworkInstancePath struct { *ygnmi.NodePath // contains filtered or unexported fields }
Sampling_Sflow_Collector_NetworkInstancePath represents the /openconfig-sampling/sampling/sflow/collectors/collector/state/network-instance YANG schema element.
func (*Sampling_Sflow_Collector_NetworkInstancePath) Config ¶
func (n *Sampling_Sflow_Collector_NetworkInstancePath) Config() ygnmi.ConfigQuery[string]
Config returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "config/network-instance" Path from root: "/sampling/sflow/collectors/collector/config/network-instance"
func (*Sampling_Sflow_Collector_NetworkInstancePath) State ¶
func (n *Sampling_Sflow_Collector_NetworkInstancePath) State() ygnmi.SingletonQuery[string]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "state/network-instance" Path from root: "/sampling/sflow/collectors/collector/state/network-instance"
type Sampling_Sflow_Collector_NetworkInstancePathAny ¶
type Sampling_Sflow_Collector_NetworkInstancePathAny struct { *ygnmi.NodePath // contains filtered or unexported fields }
Sampling_Sflow_Collector_NetworkInstancePathAny represents the wildcard version of the /openconfig-sampling/sampling/sflow/collectors/collector/state/network-instance YANG schema element.
func (*Sampling_Sflow_Collector_NetworkInstancePathAny) Config ¶
func (n *Sampling_Sflow_Collector_NetworkInstancePathAny) Config() ygnmi.WildcardQuery[string]
Config returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "config/network-instance" Path from root: "/sampling/sflow/collectors/collector/config/network-instance"
func (*Sampling_Sflow_Collector_NetworkInstancePathAny) State ¶
func (n *Sampling_Sflow_Collector_NetworkInstancePathAny) State() ygnmi.WildcardQuery[string]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "state/network-instance" Path from root: "/sampling/sflow/collectors/collector/state/network-instance"
type Sampling_Sflow_Collector_PacketsSentPath ¶
type Sampling_Sflow_Collector_PacketsSentPath struct { *ygnmi.NodePath // contains filtered or unexported fields }
Sampling_Sflow_Collector_PacketsSentPath represents the /openconfig-sampling/sampling/sflow/collectors/collector/state/packets-sent YANG schema element.
func (*Sampling_Sflow_Collector_PacketsSentPath) State ¶
func (n *Sampling_Sflow_Collector_PacketsSentPath) State() ygnmi.SingletonQuery[uint64]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "state/packets-sent" Path from root: "/sampling/sflow/collectors/collector/state/packets-sent"
type Sampling_Sflow_Collector_PacketsSentPathAny ¶
type Sampling_Sflow_Collector_PacketsSentPathAny struct { *ygnmi.NodePath // contains filtered or unexported fields }
Sampling_Sflow_Collector_PacketsSentPathAny represents the wildcard version of the /openconfig-sampling/sampling/sflow/collectors/collector/state/packets-sent YANG schema element.
func (*Sampling_Sflow_Collector_PacketsSentPathAny) State ¶
func (n *Sampling_Sflow_Collector_PacketsSentPathAny) State() ygnmi.WildcardQuery[uint64]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "state/packets-sent" Path from root: "/sampling/sflow/collectors/collector/state/packets-sent"
type Sampling_Sflow_Collector_PortPath ¶
type Sampling_Sflow_Collector_PortPath struct { *ygnmi.NodePath // contains filtered or unexported fields }
Sampling_Sflow_Collector_PortPath represents the /openconfig-sampling/sampling/sflow/collectors/collector/state/port YANG schema element.
func (*Sampling_Sflow_Collector_PortPath) Config ¶
func (n *Sampling_Sflow_Collector_PortPath) Config() ygnmi.ConfigQuery[uint16]
Config returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "config/port" Path from root: "/sampling/sflow/collectors/collector/config/port"
func (*Sampling_Sflow_Collector_PortPath) State ¶
func (n *Sampling_Sflow_Collector_PortPath) State() ygnmi.SingletonQuery[uint16]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "state/port" Path from root: "/sampling/sflow/collectors/collector/state/port"
type Sampling_Sflow_Collector_PortPathAny ¶
type Sampling_Sflow_Collector_PortPathAny struct { *ygnmi.NodePath // contains filtered or unexported fields }
Sampling_Sflow_Collector_PortPathAny represents the wildcard version of the /openconfig-sampling/sampling/sflow/collectors/collector/state/port YANG schema element.
func (*Sampling_Sflow_Collector_PortPathAny) Config ¶
func (n *Sampling_Sflow_Collector_PortPathAny) Config() ygnmi.WildcardQuery[uint16]
Config returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "config/port" Path from root: "/sampling/sflow/collectors/collector/config/port"
func (*Sampling_Sflow_Collector_PortPathAny) State ¶
func (n *Sampling_Sflow_Collector_PortPathAny) State() ygnmi.WildcardQuery[uint16]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "state/port" Path from root: "/sampling/sflow/collectors/collector/state/port"
type Sampling_Sflow_Collector_SourceAddressPath ¶
type Sampling_Sflow_Collector_SourceAddressPath struct { *ygnmi.NodePath // contains filtered or unexported fields }
Sampling_Sflow_Collector_SourceAddressPath represents the /openconfig-sampling/sampling/sflow/collectors/collector/state/source-address YANG schema element.
func (*Sampling_Sflow_Collector_SourceAddressPath) Config ¶
func (n *Sampling_Sflow_Collector_SourceAddressPath) Config() ygnmi.ConfigQuery[string]
Config returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "config/source-address" Path from root: "/sampling/sflow/collectors/collector/config/source-address"
func (*Sampling_Sflow_Collector_SourceAddressPath) State ¶
func (n *Sampling_Sflow_Collector_SourceAddressPath) State() ygnmi.SingletonQuery[string]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "state/source-address" Path from root: "/sampling/sflow/collectors/collector/state/source-address"
type Sampling_Sflow_Collector_SourceAddressPathAny ¶
type Sampling_Sflow_Collector_SourceAddressPathAny struct { *ygnmi.NodePath // contains filtered or unexported fields }
Sampling_Sflow_Collector_SourceAddressPathAny represents the wildcard version of the /openconfig-sampling/sampling/sflow/collectors/collector/state/source-address YANG schema element.
func (*Sampling_Sflow_Collector_SourceAddressPathAny) Config ¶
func (n *Sampling_Sflow_Collector_SourceAddressPathAny) Config() ygnmi.WildcardQuery[string]
Config returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "config/source-address" Path from root: "/sampling/sflow/collectors/collector/config/source-address"
func (*Sampling_Sflow_Collector_SourceAddressPathAny) State ¶
func (n *Sampling_Sflow_Collector_SourceAddressPathAny) State() ygnmi.WildcardQuery[string]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "state/source-address" Path from root: "/sampling/sflow/collectors/collector/state/source-address"
type Sampling_Sflow_DscpPath ¶
Sampling_Sflow_DscpPath represents the /openconfig-sampling/sampling/sflow/state/dscp YANG schema element.
func (*Sampling_Sflow_DscpPath) Config ¶
func (n *Sampling_Sflow_DscpPath) Config() ygnmi.ConfigQuery[uint8]
Config returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "config/dscp" Path from root: "/sampling/sflow/config/dscp"
func (*Sampling_Sflow_DscpPath) State ¶
func (n *Sampling_Sflow_DscpPath) State() ygnmi.SingletonQuery[uint8]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "state/dscp" Path from root: "/sampling/sflow/state/dscp"
type Sampling_Sflow_DscpPathAny ¶
type Sampling_Sflow_DscpPathAny struct { *ygnmi.NodePath // contains filtered or unexported fields }
Sampling_Sflow_DscpPathAny represents the wildcard version of the /openconfig-sampling/sampling/sflow/state/dscp YANG schema element.
func (*Sampling_Sflow_DscpPathAny) Config ¶
func (n *Sampling_Sflow_DscpPathAny) Config() ygnmi.WildcardQuery[uint8]
Config returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "config/dscp" Path from root: "/sampling/sflow/config/dscp"
func (*Sampling_Sflow_DscpPathAny) State ¶
func (n *Sampling_Sflow_DscpPathAny) State() ygnmi.WildcardQuery[uint8]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "state/dscp" Path from root: "/sampling/sflow/state/dscp"
type Sampling_Sflow_EgressSamplingRatePath ¶
type Sampling_Sflow_EgressSamplingRatePath struct { *ygnmi.NodePath // contains filtered or unexported fields }
Sampling_Sflow_EgressSamplingRatePath represents the /openconfig-sampling/sampling/sflow/state/egress-sampling-rate YANG schema element.
func (*Sampling_Sflow_EgressSamplingRatePath) Config ¶
func (n *Sampling_Sflow_EgressSamplingRatePath) Config() ygnmi.ConfigQuery[uint32]
Config returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "config/egress-sampling-rate" Path from root: "/sampling/sflow/config/egress-sampling-rate"
func (*Sampling_Sflow_EgressSamplingRatePath) State ¶
func (n *Sampling_Sflow_EgressSamplingRatePath) State() ygnmi.SingletonQuery[uint32]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "state/egress-sampling-rate" Path from root: "/sampling/sflow/state/egress-sampling-rate"
type Sampling_Sflow_EgressSamplingRatePathAny ¶
type Sampling_Sflow_EgressSamplingRatePathAny struct { *ygnmi.NodePath // contains filtered or unexported fields }
Sampling_Sflow_EgressSamplingRatePathAny represents the wildcard version of the /openconfig-sampling/sampling/sflow/state/egress-sampling-rate YANG schema element.
func (*Sampling_Sflow_EgressSamplingRatePathAny) Config ¶
func (n *Sampling_Sflow_EgressSamplingRatePathAny) Config() ygnmi.WildcardQuery[uint32]
Config returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "config/egress-sampling-rate" Path from root: "/sampling/sflow/config/egress-sampling-rate"
func (*Sampling_Sflow_EgressSamplingRatePathAny) State ¶
func (n *Sampling_Sflow_EgressSamplingRatePathAny) State() ygnmi.WildcardQuery[uint32]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "state/egress-sampling-rate" Path from root: "/sampling/sflow/state/egress-sampling-rate"
type Sampling_Sflow_EnabledPath ¶
type Sampling_Sflow_EnabledPath struct { *ygnmi.NodePath // contains filtered or unexported fields }
Sampling_Sflow_EnabledPath represents the /openconfig-sampling/sampling/sflow/state/enabled YANG schema element.
func (*Sampling_Sflow_EnabledPath) Config ¶
func (n *Sampling_Sflow_EnabledPath) Config() ygnmi.ConfigQuery[bool]
Config returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "config/enabled" Path from root: "/sampling/sflow/config/enabled"
func (*Sampling_Sflow_EnabledPath) State ¶
func (n *Sampling_Sflow_EnabledPath) State() ygnmi.SingletonQuery[bool]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "state/enabled" Path from root: "/sampling/sflow/state/enabled"
type Sampling_Sflow_EnabledPathAny ¶
type Sampling_Sflow_EnabledPathAny struct { *ygnmi.NodePath // contains filtered or unexported fields }
Sampling_Sflow_EnabledPathAny represents the wildcard version of the /openconfig-sampling/sampling/sflow/state/enabled YANG schema element.
func (*Sampling_Sflow_EnabledPathAny) Config ¶
func (n *Sampling_Sflow_EnabledPathAny) Config() ygnmi.WildcardQuery[bool]
Config returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "config/enabled" Path from root: "/sampling/sflow/config/enabled"
func (*Sampling_Sflow_EnabledPathAny) State ¶
func (n *Sampling_Sflow_EnabledPathAny) State() ygnmi.WildcardQuery[bool]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "state/enabled" Path from root: "/sampling/sflow/state/enabled"
type Sampling_Sflow_IngressSamplingRatePath ¶
type Sampling_Sflow_IngressSamplingRatePath struct { *ygnmi.NodePath // contains filtered or unexported fields }
Sampling_Sflow_IngressSamplingRatePath represents the /openconfig-sampling/sampling/sflow/state/ingress-sampling-rate YANG schema element.
func (*Sampling_Sflow_IngressSamplingRatePath) Config ¶
func (n *Sampling_Sflow_IngressSamplingRatePath) Config() ygnmi.ConfigQuery[uint32]
Config returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "config/ingress-sampling-rate" Path from root: "/sampling/sflow/config/ingress-sampling-rate"
func (*Sampling_Sflow_IngressSamplingRatePath) State ¶
func (n *Sampling_Sflow_IngressSamplingRatePath) State() ygnmi.SingletonQuery[uint32]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "state/ingress-sampling-rate" Path from root: "/sampling/sflow/state/ingress-sampling-rate"
type Sampling_Sflow_IngressSamplingRatePathAny ¶
type Sampling_Sflow_IngressSamplingRatePathAny struct { *ygnmi.NodePath // contains filtered or unexported fields }
Sampling_Sflow_IngressSamplingRatePathAny represents the wildcard version of the /openconfig-sampling/sampling/sflow/state/ingress-sampling-rate YANG schema element.
func (*Sampling_Sflow_IngressSamplingRatePathAny) Config ¶
func (n *Sampling_Sflow_IngressSamplingRatePathAny) Config() ygnmi.WildcardQuery[uint32]
Config returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "config/ingress-sampling-rate" Path from root: "/sampling/sflow/config/ingress-sampling-rate"
func (*Sampling_Sflow_IngressSamplingRatePathAny) State ¶
func (n *Sampling_Sflow_IngressSamplingRatePathAny) State() ygnmi.WildcardQuery[uint32]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "state/ingress-sampling-rate" Path from root: "/sampling/sflow/state/ingress-sampling-rate"
type Sampling_Sflow_InterfacePath ¶
Sampling_Sflow_InterfacePath represents the /openconfig-sampling/sampling/sflow/interfaces/interface YANG schema element.
func (*Sampling_Sflow_InterfacePath) Config ¶
func (n *Sampling_Sflow_InterfacePath) Config() ygnmi.ConfigQuery[*oc.Sampling_Sflow_Interface]
Config returns a Query that can be used in gNMI operations.
func (*Sampling_Sflow_InterfacePath) EgressSamplingRate ¶
func (n *Sampling_Sflow_InterfacePath) EgressSamplingRate() *Sampling_Sflow_Interface_EgressSamplingRatePath
EgressSamplingRate (leaf): Sets the egress packet sampling rate. The rate is expressed as an integer N, where the intended sampling rate is 1/N packets. An implementation may implement the sampling rate as a statistical average, rather than a strict periodic sampling.
The allowable sampling rate range is generally a property of the system, e.g., determined by the capability of the hardware.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling" Path from parent: "*/egress-sampling-rate" Path from root: "/sampling/sflow/interfaces/interface/*/egress-sampling-rate"
func (*Sampling_Sflow_InterfacePath) Enabled ¶
func (n *Sampling_Sflow_InterfacePath) Enabled() *Sampling_Sflow_Interface_EnabledPath
Enabled (leaf): Enables or disables sFlow on the interface. If sFlow is globally disabled, this leaf is ignored. If sFlow is globally enabled, this leaf may be used to disable it for a specific interface.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling" Path from parent: "*/enabled" Path from root: "/sampling/sflow/interfaces/interface/*/enabled"
func (*Sampling_Sflow_InterfacePath) IngressSamplingRate ¶
func (n *Sampling_Sflow_InterfacePath) IngressSamplingRate() *Sampling_Sflow_Interface_IngressSamplingRatePath
IngressSamplingRate (leaf): Sets the ingress packet sampling rate. The rate is expressed as an integer N, where the intended sampling rate is 1/N packets. An implementation may implement the sampling rate as a statistical average, rather than a strict periodic sampling.
The allowable sampling rate range is generally a property of the system, e.g., determined by the capability of the hardware.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling" Path from parent: "*/ingress-sampling-rate" Path from root: "/sampling/sflow/interfaces/interface/*/ingress-sampling-rate"
func (*Sampling_Sflow_InterfacePath) Name ¶
func (n *Sampling_Sflow_InterfacePath) Name() *Sampling_Sflow_Interface_NamePath
Name (leaf): Reference to the interface for sFlow configuration and state.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling" Path from parent: "*/name" Path from root: "/sampling/sflow/interfaces/interface/*/name"
func (*Sampling_Sflow_InterfacePath) PacketsSampled ¶
func (n *Sampling_Sflow_InterfacePath) PacketsSampled() *Sampling_Sflow_Interface_PacketsSampledPath
PacketsSampled (leaf): Total number of packets sampled from the interface.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling" Path from parent: "state/packets-sampled" Path from root: "/sampling/sflow/interfaces/interface/state/packets-sampled"
func (*Sampling_Sflow_InterfacePath) PollingInterval ¶
func (n *Sampling_Sflow_InterfacePath) PollingInterval() *Sampling_Sflow_Interface_PollingIntervalPath
PollingInterval (leaf): Sets the traffic sampling polling interval.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling" Path from parent: "*/polling-interval" Path from root: "/sampling/sflow/interfaces/interface/*/polling-interval"
func (*Sampling_Sflow_InterfacePath) State ¶
func (n *Sampling_Sflow_InterfacePath) State() ygnmi.SingletonQuery[*oc.Sampling_Sflow_Interface]
State returns a Query that can be used in gNMI operations.
type Sampling_Sflow_InterfacePathAny ¶
Sampling_Sflow_InterfacePathAny represents the wildcard version of the /openconfig-sampling/sampling/sflow/interfaces/interface YANG schema element.
func (*Sampling_Sflow_InterfacePathAny) Config ¶
func (n *Sampling_Sflow_InterfacePathAny) Config() ygnmi.WildcardQuery[*oc.Sampling_Sflow_Interface]
Config returns a Query that can be used in gNMI operations.
func (*Sampling_Sflow_InterfacePathAny) EgressSamplingRate ¶
func (n *Sampling_Sflow_InterfacePathAny) EgressSamplingRate() *Sampling_Sflow_Interface_EgressSamplingRatePathAny
EgressSamplingRate (leaf): Sets the egress packet sampling rate. The rate is expressed as an integer N, where the intended sampling rate is 1/N packets. An implementation may implement the sampling rate as a statistical average, rather than a strict periodic sampling.
The allowable sampling rate range is generally a property of the system, e.g., determined by the capability of the hardware.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling" Path from parent: "*/egress-sampling-rate" Path from root: "/sampling/sflow/interfaces/interface/*/egress-sampling-rate"
func (*Sampling_Sflow_InterfacePathAny) Enabled ¶
func (n *Sampling_Sflow_InterfacePathAny) Enabled() *Sampling_Sflow_Interface_EnabledPathAny
Enabled (leaf): Enables or disables sFlow on the interface. If sFlow is globally disabled, this leaf is ignored. If sFlow is globally enabled, this leaf may be used to disable it for a specific interface.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling" Path from parent: "*/enabled" Path from root: "/sampling/sflow/interfaces/interface/*/enabled"
func (*Sampling_Sflow_InterfacePathAny) IngressSamplingRate ¶
func (n *Sampling_Sflow_InterfacePathAny) IngressSamplingRate() *Sampling_Sflow_Interface_IngressSamplingRatePathAny
IngressSamplingRate (leaf): Sets the ingress packet sampling rate. The rate is expressed as an integer N, where the intended sampling rate is 1/N packets. An implementation may implement the sampling rate as a statistical average, rather than a strict periodic sampling.
The allowable sampling rate range is generally a property of the system, e.g., determined by the capability of the hardware.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling" Path from parent: "*/ingress-sampling-rate" Path from root: "/sampling/sflow/interfaces/interface/*/ingress-sampling-rate"
func (*Sampling_Sflow_InterfacePathAny) Name ¶
func (n *Sampling_Sflow_InterfacePathAny) Name() *Sampling_Sflow_Interface_NamePathAny
Name (leaf): Reference to the interface for sFlow configuration and state.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling" Path from parent: "*/name" Path from root: "/sampling/sflow/interfaces/interface/*/name"
func (*Sampling_Sflow_InterfacePathAny) PacketsSampled ¶
func (n *Sampling_Sflow_InterfacePathAny) PacketsSampled() *Sampling_Sflow_Interface_PacketsSampledPathAny
PacketsSampled (leaf): Total number of packets sampled from the interface.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling" Path from parent: "state/packets-sampled" Path from root: "/sampling/sflow/interfaces/interface/state/packets-sampled"
func (*Sampling_Sflow_InterfacePathAny) PollingInterval ¶
func (n *Sampling_Sflow_InterfacePathAny) PollingInterval() *Sampling_Sflow_Interface_PollingIntervalPathAny
PollingInterval (leaf): Sets the traffic sampling polling interval.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling" Path from parent: "*/polling-interval" Path from root: "/sampling/sflow/interfaces/interface/*/polling-interval"
func (*Sampling_Sflow_InterfacePathAny) State ¶
func (n *Sampling_Sflow_InterfacePathAny) State() ygnmi.WildcardQuery[*oc.Sampling_Sflow_Interface]
State returns a Query that can be used in gNMI operations.
type Sampling_Sflow_InterfacePathMap ¶ added in v0.1.24
Sampling_Sflow_InterfacePathMap represents the /openconfig-sampling/sampling/sflow/interfaces/interface YANG schema element.
func (*Sampling_Sflow_InterfacePathMap) Config ¶ added in v0.1.24
func (n *Sampling_Sflow_InterfacePathMap) Config() ygnmi.ConfigQuery[map[string]*oc.Sampling_Sflow_Interface]
Config returns a Query that can be used in gNMI operations.
func (*Sampling_Sflow_InterfacePathMap) State ¶ added in v0.1.24
func (n *Sampling_Sflow_InterfacePathMap) State() ygnmi.SingletonQuery[map[string]*oc.Sampling_Sflow_Interface]
State returns a Query that can be used in gNMI operations.
type Sampling_Sflow_InterfacePathMapAny ¶ added in v0.1.24
Sampling_Sflow_InterfacePathMapAny represents the wildcard version of the /openconfig-sampling/sampling/sflow/interfaces/interface YANG schema element.
func (*Sampling_Sflow_InterfacePathMapAny) Config ¶ added in v0.1.24
func (n *Sampling_Sflow_InterfacePathMapAny) Config() ygnmi.WildcardQuery[map[string]*oc.Sampling_Sflow_Interface]
Config returns a Query that can be used in gNMI operations.
func (*Sampling_Sflow_InterfacePathMapAny) State ¶ added in v0.1.24
func (n *Sampling_Sflow_InterfacePathMapAny) State() ygnmi.WildcardQuery[map[string]*oc.Sampling_Sflow_Interface]
State returns a Query that can be used in gNMI operations.
type Sampling_Sflow_Interface_EgressSamplingRatePath ¶
type Sampling_Sflow_Interface_EgressSamplingRatePath struct { *ygnmi.NodePath // contains filtered or unexported fields }
Sampling_Sflow_Interface_EgressSamplingRatePath represents the /openconfig-sampling/sampling/sflow/interfaces/interface/state/egress-sampling-rate YANG schema element.
func (*Sampling_Sflow_Interface_EgressSamplingRatePath) Config ¶
func (n *Sampling_Sflow_Interface_EgressSamplingRatePath) Config() ygnmi.ConfigQuery[uint32]
Config returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "config/egress-sampling-rate" Path from root: "/sampling/sflow/interfaces/interface/config/egress-sampling-rate"
func (*Sampling_Sflow_Interface_EgressSamplingRatePath) State ¶
func (n *Sampling_Sflow_Interface_EgressSamplingRatePath) State() ygnmi.SingletonQuery[uint32]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "state/egress-sampling-rate" Path from root: "/sampling/sflow/interfaces/interface/state/egress-sampling-rate"
type Sampling_Sflow_Interface_EgressSamplingRatePathAny ¶
type Sampling_Sflow_Interface_EgressSamplingRatePathAny struct { *ygnmi.NodePath // contains filtered or unexported fields }
Sampling_Sflow_Interface_EgressSamplingRatePathAny represents the wildcard version of the /openconfig-sampling/sampling/sflow/interfaces/interface/state/egress-sampling-rate YANG schema element.
func (*Sampling_Sflow_Interface_EgressSamplingRatePathAny) Config ¶
func (n *Sampling_Sflow_Interface_EgressSamplingRatePathAny) Config() ygnmi.WildcardQuery[uint32]
Config returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "config/egress-sampling-rate" Path from root: "/sampling/sflow/interfaces/interface/config/egress-sampling-rate"
func (*Sampling_Sflow_Interface_EgressSamplingRatePathAny) State ¶
func (n *Sampling_Sflow_Interface_EgressSamplingRatePathAny) State() ygnmi.WildcardQuery[uint32]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "state/egress-sampling-rate" Path from root: "/sampling/sflow/interfaces/interface/state/egress-sampling-rate"
type Sampling_Sflow_Interface_EnabledPath ¶
type Sampling_Sflow_Interface_EnabledPath struct { *ygnmi.NodePath // contains filtered or unexported fields }
Sampling_Sflow_Interface_EnabledPath represents the /openconfig-sampling/sampling/sflow/interfaces/interface/state/enabled YANG schema element.
func (*Sampling_Sflow_Interface_EnabledPath) Config ¶
func (n *Sampling_Sflow_Interface_EnabledPath) Config() ygnmi.ConfigQuery[bool]
Config returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "config/enabled" Path from root: "/sampling/sflow/interfaces/interface/config/enabled"
func (*Sampling_Sflow_Interface_EnabledPath) State ¶
func (n *Sampling_Sflow_Interface_EnabledPath) State() ygnmi.SingletonQuery[bool]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "state/enabled" Path from root: "/sampling/sflow/interfaces/interface/state/enabled"
type Sampling_Sflow_Interface_EnabledPathAny ¶
type Sampling_Sflow_Interface_EnabledPathAny struct { *ygnmi.NodePath // contains filtered or unexported fields }
Sampling_Sflow_Interface_EnabledPathAny represents the wildcard version of the /openconfig-sampling/sampling/sflow/interfaces/interface/state/enabled YANG schema element.
func (*Sampling_Sflow_Interface_EnabledPathAny) Config ¶
func (n *Sampling_Sflow_Interface_EnabledPathAny) Config() ygnmi.WildcardQuery[bool]
Config returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "config/enabled" Path from root: "/sampling/sflow/interfaces/interface/config/enabled"
func (*Sampling_Sflow_Interface_EnabledPathAny) State ¶
func (n *Sampling_Sflow_Interface_EnabledPathAny) State() ygnmi.WildcardQuery[bool]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "state/enabled" Path from root: "/sampling/sflow/interfaces/interface/state/enabled"
type Sampling_Sflow_Interface_IngressSamplingRatePath ¶
type Sampling_Sflow_Interface_IngressSamplingRatePath struct { *ygnmi.NodePath // contains filtered or unexported fields }
Sampling_Sflow_Interface_IngressSamplingRatePath represents the /openconfig-sampling/sampling/sflow/interfaces/interface/state/ingress-sampling-rate YANG schema element.
func (*Sampling_Sflow_Interface_IngressSamplingRatePath) Config ¶
func (n *Sampling_Sflow_Interface_IngressSamplingRatePath) Config() ygnmi.ConfigQuery[uint32]
Config returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "config/ingress-sampling-rate" Path from root: "/sampling/sflow/interfaces/interface/config/ingress-sampling-rate"
func (*Sampling_Sflow_Interface_IngressSamplingRatePath) State ¶
func (n *Sampling_Sflow_Interface_IngressSamplingRatePath) State() ygnmi.SingletonQuery[uint32]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "state/ingress-sampling-rate" Path from root: "/sampling/sflow/interfaces/interface/state/ingress-sampling-rate"
type Sampling_Sflow_Interface_IngressSamplingRatePathAny ¶
type Sampling_Sflow_Interface_IngressSamplingRatePathAny struct { *ygnmi.NodePath // contains filtered or unexported fields }
Sampling_Sflow_Interface_IngressSamplingRatePathAny represents the wildcard version of the /openconfig-sampling/sampling/sflow/interfaces/interface/state/ingress-sampling-rate YANG schema element.
func (*Sampling_Sflow_Interface_IngressSamplingRatePathAny) Config ¶
func (n *Sampling_Sflow_Interface_IngressSamplingRatePathAny) Config() ygnmi.WildcardQuery[uint32]
Config returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "config/ingress-sampling-rate" Path from root: "/sampling/sflow/interfaces/interface/config/ingress-sampling-rate"
func (*Sampling_Sflow_Interface_IngressSamplingRatePathAny) State ¶
func (n *Sampling_Sflow_Interface_IngressSamplingRatePathAny) State() ygnmi.WildcardQuery[uint32]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "state/ingress-sampling-rate" Path from root: "/sampling/sflow/interfaces/interface/state/ingress-sampling-rate"
type Sampling_Sflow_Interface_NamePath ¶
type Sampling_Sflow_Interface_NamePath struct { *ygnmi.NodePath // contains filtered or unexported fields }
Sampling_Sflow_Interface_NamePath represents the /openconfig-sampling/sampling/sflow/interfaces/interface/state/name YANG schema element.
func (*Sampling_Sflow_Interface_NamePath) Config ¶
func (n *Sampling_Sflow_Interface_NamePath) Config() ygnmi.ConfigQuery[string]
Config returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "config/name" Path from root: "/sampling/sflow/interfaces/interface/config/name"
func (*Sampling_Sflow_Interface_NamePath) State ¶
func (n *Sampling_Sflow_Interface_NamePath) State() ygnmi.SingletonQuery[string]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "state/name" Path from root: "/sampling/sflow/interfaces/interface/state/name"
type Sampling_Sflow_Interface_NamePathAny ¶
type Sampling_Sflow_Interface_NamePathAny struct { *ygnmi.NodePath // contains filtered or unexported fields }
Sampling_Sflow_Interface_NamePathAny represents the wildcard version of the /openconfig-sampling/sampling/sflow/interfaces/interface/state/name YANG schema element.
func (*Sampling_Sflow_Interface_NamePathAny) Config ¶
func (n *Sampling_Sflow_Interface_NamePathAny) Config() ygnmi.WildcardQuery[string]
Config returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "config/name" Path from root: "/sampling/sflow/interfaces/interface/config/name"
func (*Sampling_Sflow_Interface_NamePathAny) State ¶
func (n *Sampling_Sflow_Interface_NamePathAny) State() ygnmi.WildcardQuery[string]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "state/name" Path from root: "/sampling/sflow/interfaces/interface/state/name"
type Sampling_Sflow_Interface_PacketsSampledPath ¶
type Sampling_Sflow_Interface_PacketsSampledPath struct { *ygnmi.NodePath // contains filtered or unexported fields }
Sampling_Sflow_Interface_PacketsSampledPath represents the /openconfig-sampling/sampling/sflow/interfaces/interface/state/packets-sampled YANG schema element.
func (*Sampling_Sflow_Interface_PacketsSampledPath) State ¶
func (n *Sampling_Sflow_Interface_PacketsSampledPath) State() ygnmi.SingletonQuery[uint64]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "state/packets-sampled" Path from root: "/sampling/sflow/interfaces/interface/state/packets-sampled"
type Sampling_Sflow_Interface_PacketsSampledPathAny ¶
type Sampling_Sflow_Interface_PacketsSampledPathAny struct { *ygnmi.NodePath // contains filtered or unexported fields }
Sampling_Sflow_Interface_PacketsSampledPathAny represents the wildcard version of the /openconfig-sampling/sampling/sflow/interfaces/interface/state/packets-sampled YANG schema element.
func (*Sampling_Sflow_Interface_PacketsSampledPathAny) State ¶
func (n *Sampling_Sflow_Interface_PacketsSampledPathAny) State() ygnmi.WildcardQuery[uint64]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "state/packets-sampled" Path from root: "/sampling/sflow/interfaces/interface/state/packets-sampled"
type Sampling_Sflow_Interface_PollingIntervalPath ¶
type Sampling_Sflow_Interface_PollingIntervalPath struct { *ygnmi.NodePath // contains filtered or unexported fields }
Sampling_Sflow_Interface_PollingIntervalPath represents the /openconfig-sampling/sampling/sflow/interfaces/interface/state/polling-interval YANG schema element.
func (*Sampling_Sflow_Interface_PollingIntervalPath) Config ¶
func (n *Sampling_Sflow_Interface_PollingIntervalPath) Config() ygnmi.ConfigQuery[uint16]
Config returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "config/polling-interval" Path from root: "/sampling/sflow/interfaces/interface/config/polling-interval"
func (*Sampling_Sflow_Interface_PollingIntervalPath) State ¶
func (n *Sampling_Sflow_Interface_PollingIntervalPath) State() ygnmi.SingletonQuery[uint16]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "state/polling-interval" Path from root: "/sampling/sflow/interfaces/interface/state/polling-interval"
type Sampling_Sflow_Interface_PollingIntervalPathAny ¶
type Sampling_Sflow_Interface_PollingIntervalPathAny struct { *ygnmi.NodePath // contains filtered or unexported fields }
Sampling_Sflow_Interface_PollingIntervalPathAny represents the wildcard version of the /openconfig-sampling/sampling/sflow/interfaces/interface/state/polling-interval YANG schema element.
func (*Sampling_Sflow_Interface_PollingIntervalPathAny) Config ¶
func (n *Sampling_Sflow_Interface_PollingIntervalPathAny) Config() ygnmi.WildcardQuery[uint16]
Config returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "config/polling-interval" Path from root: "/sampling/sflow/interfaces/interface/config/polling-interval"
func (*Sampling_Sflow_Interface_PollingIntervalPathAny) State ¶
func (n *Sampling_Sflow_Interface_PollingIntervalPathAny) State() ygnmi.WildcardQuery[uint16]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "state/polling-interval" Path from root: "/sampling/sflow/interfaces/interface/state/polling-interval"
type Sampling_Sflow_PollingIntervalPath ¶
type Sampling_Sflow_PollingIntervalPath struct { *ygnmi.NodePath // contains filtered or unexported fields }
Sampling_Sflow_PollingIntervalPath represents the /openconfig-sampling/sampling/sflow/state/polling-interval YANG schema element.
func (*Sampling_Sflow_PollingIntervalPath) Config ¶
func (n *Sampling_Sflow_PollingIntervalPath) Config() ygnmi.ConfigQuery[uint16]
Config returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "config/polling-interval" Path from root: "/sampling/sflow/config/polling-interval"
func (*Sampling_Sflow_PollingIntervalPath) State ¶
func (n *Sampling_Sflow_PollingIntervalPath) State() ygnmi.SingletonQuery[uint16]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "state/polling-interval" Path from root: "/sampling/sflow/state/polling-interval"
type Sampling_Sflow_PollingIntervalPathAny ¶
type Sampling_Sflow_PollingIntervalPathAny struct { *ygnmi.NodePath // contains filtered or unexported fields }
Sampling_Sflow_PollingIntervalPathAny represents the wildcard version of the /openconfig-sampling/sampling/sflow/state/polling-interval YANG schema element.
func (*Sampling_Sflow_PollingIntervalPathAny) Config ¶
func (n *Sampling_Sflow_PollingIntervalPathAny) Config() ygnmi.WildcardQuery[uint16]
Config returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "config/polling-interval" Path from root: "/sampling/sflow/config/polling-interval"
func (*Sampling_Sflow_PollingIntervalPathAny) State ¶
func (n *Sampling_Sflow_PollingIntervalPathAny) State() ygnmi.WildcardQuery[uint16]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "state/polling-interval" Path from root: "/sampling/sflow/state/polling-interval"
type Sampling_Sflow_SampleSizePath ¶
type Sampling_Sflow_SampleSizePath struct { *ygnmi.NodePath // contains filtered or unexported fields }
Sampling_Sflow_SampleSizePath represents the /openconfig-sampling/sampling/sflow/state/sample-size YANG schema element.
func (*Sampling_Sflow_SampleSizePath) Config ¶
func (n *Sampling_Sflow_SampleSizePath) Config() ygnmi.ConfigQuery[uint16]
Config returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "config/sample-size" Path from root: "/sampling/sflow/config/sample-size"
func (*Sampling_Sflow_SampleSizePath) State ¶
func (n *Sampling_Sflow_SampleSizePath) State() ygnmi.SingletonQuery[uint16]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "state/sample-size" Path from root: "/sampling/sflow/state/sample-size"
type Sampling_Sflow_SampleSizePathAny ¶
type Sampling_Sflow_SampleSizePathAny struct { *ygnmi.NodePath // contains filtered or unexported fields }
Sampling_Sflow_SampleSizePathAny represents the wildcard version of the /openconfig-sampling/sampling/sflow/state/sample-size YANG schema element.
func (*Sampling_Sflow_SampleSizePathAny) Config ¶
func (n *Sampling_Sflow_SampleSizePathAny) Config() ygnmi.WildcardQuery[uint16]
Config returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "config/sample-size" Path from root: "/sampling/sflow/config/sample-size"
func (*Sampling_Sflow_SampleSizePathAny) State ¶
func (n *Sampling_Sflow_SampleSizePathAny) State() ygnmi.WildcardQuery[uint16]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-sampling-sflow" Instantiating module: "openconfig-sampling-sflow" Path from parent: "state/sample-size" Path from root: "/sampling/sflow/state/sample-size"