discovery

package
v0.4.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package discovery is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema.

This package was generated by ygnmi version: v0.10.0: (ygot: v0.29.12) using the following YANG input files:

  • models-yang/models/bgp/open-traffic-generator-bgp.yang
  • models-yang/models/discovery/open-traffic-generator-discovery.yang
  • models-yang/models/flow/open-traffic-generator-flow.yang
  • models-yang/models/interface/open-traffic-generator-port.yang
  • models-yang/models/isis/open-traffic-generator-isis.yang
  • models-yang/models/lacp/open-traffic-generator-lacp.yang
  • models-yang/models/lag/open-traffic-generator-lag.yang
  • models-yang/models/lldp/open-traffic-generator-lldp.yang
  • models-yang/models/rsvp/open-traffic-generator-rsvp.yang
  • models-yang/models/types/open-traffic-generator-types.yang

Imported modules were sourced from:

  • models-yang/models/...

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InterfacePath

type InterfacePath struct {
	*ygnmi.NodePath
}

InterfacePath represents the /open-traffic-generator-discovery/interfaces/interface YANG schema element.

func (*InterfacePath) Ipv4Neighbor

func (n *InterfacePath) Ipv4Neighbor(Ipv4Address string) *Interface_Ipv4NeighborPath

Ipv4Neighbor (list): The interface neighbor state or ARP cache entry.

Defining module:      "open-traffic-generator-discovery-interfaces"
Instantiating module: "open-traffic-generator-discovery"
Path from parent:     "ipv4-neighbors/ipv4-neighbor"
Path from root:       "/interfaces/interface/ipv4-neighbors/ipv4-neighbor"

Ipv4Address: string

func (*InterfacePath) Ipv4NeighborAny

func (n *InterfacePath) Ipv4NeighborAny() *Interface_Ipv4NeighborPathAny

Ipv4NeighborAny (list): The interface neighbor state or ARP cache entry.

Defining module:      "open-traffic-generator-discovery-interfaces"
Instantiating module: "open-traffic-generator-discovery"
Path from parent:     "ipv4-neighbors/ipv4-neighbor"
Path from root:       "/interfaces/interface/ipv4-neighbors/ipv4-neighbor"

func (*InterfacePath) Ipv6Neighbor

func (n *InterfacePath) Ipv6Neighbor(Ipv6Address string) *Interface_Ipv6NeighborPath

Ipv6Neighbor (list): The interface neighbor state or NDISC cache entry.

Defining module:      "open-traffic-generator-discovery-interfaces"
Instantiating module: "open-traffic-generator-discovery"
Path from parent:     "ipv6-neighbors/ipv6-neighbor"
Path from root:       "/interfaces/interface/ipv6-neighbors/ipv6-neighbor"

Ipv6Address: string

func (*InterfacePath) Ipv6NeighborAny

func (n *InterfacePath) Ipv6NeighborAny() *Interface_Ipv6NeighborPathAny

Ipv6NeighborAny (list): The interface neighbor state or NDISC cache entry.

Defining module:      "open-traffic-generator-discovery-interfaces"
Instantiating module: "open-traffic-generator-discovery"
Path from parent:     "ipv6-neighbors/ipv6-neighbor"
Path from root:       "/interfaces/interface/ipv6-neighbors/ipv6-neighbor"

func (*InterfacePath) Name

func (n *InterfacePath) Name() *Interface_NamePath

Name (leaf): An arbitary name of an OTG interface determined by the OTG configuration.

Defining module:      "open-traffic-generator-discovery-interfaces"
Instantiating module: "open-traffic-generator-discovery"
Path from parent:     "*/name"
Path from root:       "/interfaces/interface/*/name"

func (*InterfacePath) State

State returns a Query that can be used in gNMI operations.

type InterfacePathAny

type InterfacePathAny struct {
	*ygnmi.NodePath
}

InterfacePathAny represents the wildcard version of the /open-traffic-generator-discovery/interfaces/interface YANG schema element.

func (*InterfacePathAny) Ipv4Neighbor

func (n *InterfacePathAny) Ipv4Neighbor(Ipv4Address string) *Interface_Ipv4NeighborPathAny

Ipv4Neighbor (list): The interface neighbor state or ARP cache entry.

Defining module:      "open-traffic-generator-discovery-interfaces"
Instantiating module: "open-traffic-generator-discovery"
Path from parent:     "ipv4-neighbors/ipv4-neighbor"
Path from root:       "/interfaces/interface/ipv4-neighbors/ipv4-neighbor"

Ipv4Address: string

func (*InterfacePathAny) Ipv4NeighborAny

func (n *InterfacePathAny) Ipv4NeighborAny() *Interface_Ipv4NeighborPathAny

Ipv4NeighborAny (list): The interface neighbor state or ARP cache entry.

Defining module:      "open-traffic-generator-discovery-interfaces"
Instantiating module: "open-traffic-generator-discovery"
Path from parent:     "ipv4-neighbors/ipv4-neighbor"
Path from root:       "/interfaces/interface/ipv4-neighbors/ipv4-neighbor"

func (*InterfacePathAny) Ipv6Neighbor

func (n *InterfacePathAny) Ipv6Neighbor(Ipv6Address string) *Interface_Ipv6NeighborPathAny

Ipv6Neighbor (list): The interface neighbor state or NDISC cache entry.

Defining module:      "open-traffic-generator-discovery-interfaces"
Instantiating module: "open-traffic-generator-discovery"
Path from parent:     "ipv6-neighbors/ipv6-neighbor"
Path from root:       "/interfaces/interface/ipv6-neighbors/ipv6-neighbor"

Ipv6Address: string

func (*InterfacePathAny) Ipv6NeighborAny

func (n *InterfacePathAny) Ipv6NeighborAny() *Interface_Ipv6NeighborPathAny

Ipv6NeighborAny (list): The interface neighbor state or NDISC cache entry.

Defining module:      "open-traffic-generator-discovery-interfaces"
Instantiating module: "open-traffic-generator-discovery"
Path from parent:     "ipv6-neighbors/ipv6-neighbor"
Path from root:       "/interfaces/interface/ipv6-neighbors/ipv6-neighbor"

func (*InterfacePathAny) Name

Name (leaf): An arbitary name of an OTG interface determined by the OTG configuration.

Defining module:      "open-traffic-generator-discovery-interfaces"
Instantiating module: "open-traffic-generator-discovery"
Path from parent:     "*/name"
Path from root:       "/interfaces/interface/*/name"

func (*InterfacePathAny) State

State returns a Query that can be used in gNMI operations.

type InterfacePathMap added in v0.1.24

type InterfacePathMap struct {
	*ygnmi.NodePath
}

InterfacePathMap represents the /open-traffic-generator-discovery/interfaces/interface YANG schema element.

type InterfacePathMapAny added in v0.1.24

type InterfacePathMapAny struct {
	*ygnmi.NodePath
}

InterfacePathMapAny represents the wildcard version of the /open-traffic-generator-discovery/interfaces/interface YANG schema element.

type Interface_Ipv4NeighborPath

type Interface_Ipv4NeighborPath struct {
	*ygnmi.NodePath
}

Interface_Ipv4NeighborPath represents the /open-traffic-generator-discovery/interfaces/interface/ipv4-neighbors/ipv4-neighbor YANG schema element.

func (*Interface_Ipv4NeighborPath) Ipv4Address

Ipv4Address (leaf): The IPv4 address of the neighbor.

Defining module:      "open-traffic-generator-discovery-interfaces"
Instantiating module: "open-traffic-generator-discovery"
Path from parent:     "*/ipv4-address"
Path from root:       "/interfaces/interface/ipv4-neighbors/ipv4-neighbor/*/ipv4-address"

func (*Interface_Ipv4NeighborPath) LinkLayerAddress

LinkLayerAddress (leaf): The link layer address or MAC address of the neighbor.

Defining module:      "open-traffic-generator-discovery-interfaces"
Instantiating module: "open-traffic-generator-discovery"
Path from parent:     "state/link-layer-address"
Path from root:       "/interfaces/interface/ipv4-neighbors/ipv4-neighbor/state/link-layer-address"

func (*Interface_Ipv4NeighborPath) State

State returns a Query that can be used in gNMI operations.

type Interface_Ipv4NeighborPathAny

type Interface_Ipv4NeighborPathAny struct {
	*ygnmi.NodePath
}

Interface_Ipv4NeighborPathAny represents the wildcard version of the /open-traffic-generator-discovery/interfaces/interface/ipv4-neighbors/ipv4-neighbor YANG schema element.

func (*Interface_Ipv4NeighborPathAny) Ipv4Address

Ipv4Address (leaf): The IPv4 address of the neighbor.

Defining module:      "open-traffic-generator-discovery-interfaces"
Instantiating module: "open-traffic-generator-discovery"
Path from parent:     "*/ipv4-address"
Path from root:       "/interfaces/interface/ipv4-neighbors/ipv4-neighbor/*/ipv4-address"

func (*Interface_Ipv4NeighborPathAny) LinkLayerAddress

LinkLayerAddress (leaf): The link layer address or MAC address of the neighbor.

Defining module:      "open-traffic-generator-discovery-interfaces"
Instantiating module: "open-traffic-generator-discovery"
Path from parent:     "state/link-layer-address"
Path from root:       "/interfaces/interface/ipv4-neighbors/ipv4-neighbor/state/link-layer-address"

func (*Interface_Ipv4NeighborPathAny) State

State returns a Query that can be used in gNMI operations.

type Interface_Ipv4NeighborPathMap added in v0.1.24

type Interface_Ipv4NeighborPathMap struct {
	*ygnmi.NodePath
}

Interface_Ipv4NeighborPathMap represents the /open-traffic-generator-discovery/interfaces/interface/ipv4-neighbors/ipv4-neighbor YANG schema element.

type Interface_Ipv4NeighborPathMapAny added in v0.1.24

type Interface_Ipv4NeighborPathMapAny struct {
	*ygnmi.NodePath
}

Interface_Ipv4NeighborPathMapAny represents the wildcard version of the /open-traffic-generator-discovery/interfaces/interface/ipv4-neighbors/ipv4-neighbor YANG schema element.

type Interface_Ipv4Neighbor_Ipv4AddressPath

type Interface_Ipv4Neighbor_Ipv4AddressPath struct {
	*ygnmi.NodePath
	// contains filtered or unexported fields
}

Interface_Ipv4Neighbor_Ipv4AddressPath represents the /open-traffic-generator-discovery/interfaces/interface/ipv4-neighbors/ipv4-neighbor/state/ipv4-address YANG schema element.

func (*Interface_Ipv4Neighbor_Ipv4AddressPath) Config

Config returns a Query that can be used in gNMI operations.

Defining module:      "open-traffic-generator-discovery-interfaces"
Instantiating module: "open-traffic-generator-discovery"
Path from parent:     "ipv4-address"
Path from root:       ""

func (*Interface_Ipv4Neighbor_Ipv4AddressPath) State

State returns a Query that can be used in gNMI operations.

Defining module:      "open-traffic-generator-discovery-interfaces"
Instantiating module: "open-traffic-generator-discovery"
Path from parent:     "state/ipv4-address"
Path from root:       "/interfaces/interface/ipv4-neighbors/ipv4-neighbor/state/ipv4-address"

type Interface_Ipv4Neighbor_Ipv4AddressPathAny

type Interface_Ipv4Neighbor_Ipv4AddressPathAny struct {
	*ygnmi.NodePath
	// contains filtered or unexported fields
}

Interface_Ipv4Neighbor_Ipv4AddressPathAny represents the wildcard version of the /open-traffic-generator-discovery/interfaces/interface/ipv4-neighbors/ipv4-neighbor/state/ipv4-address YANG schema element.

func (*Interface_Ipv4Neighbor_Ipv4AddressPathAny) Config

Config returns a Query that can be used in gNMI operations.

Defining module:      "open-traffic-generator-discovery-interfaces"
Instantiating module: "open-traffic-generator-discovery"
Path from parent:     "ipv4-address"
Path from root:       ""

func (*Interface_Ipv4Neighbor_Ipv4AddressPathAny) State

State returns a Query that can be used in gNMI operations.

Defining module:      "open-traffic-generator-discovery-interfaces"
Instantiating module: "open-traffic-generator-discovery"
Path from parent:     "state/ipv4-address"
Path from root:       "/interfaces/interface/ipv4-neighbors/ipv4-neighbor/state/ipv4-address"

type Interface_Ipv4Neighbor_LinkLayerAddressPath

type Interface_Ipv4Neighbor_LinkLayerAddressPath struct {
	*ygnmi.NodePath
	// contains filtered or unexported fields
}

Interface_Ipv4Neighbor_LinkLayerAddressPath represents the /open-traffic-generator-discovery/interfaces/interface/ipv4-neighbors/ipv4-neighbor/state/link-layer-address YANG schema element.

func (*Interface_Ipv4Neighbor_LinkLayerAddressPath) State

State returns a Query that can be used in gNMI operations.

Defining module:      "open-traffic-generator-discovery-interfaces"
Instantiating module: "open-traffic-generator-discovery"
Path from parent:     "state/link-layer-address"
Path from root:       "/interfaces/interface/ipv4-neighbors/ipv4-neighbor/state/link-layer-address"

type Interface_Ipv4Neighbor_LinkLayerAddressPathAny

type Interface_Ipv4Neighbor_LinkLayerAddressPathAny struct {
	*ygnmi.NodePath
	// contains filtered or unexported fields
}

Interface_Ipv4Neighbor_LinkLayerAddressPathAny represents the wildcard version of the /open-traffic-generator-discovery/interfaces/interface/ipv4-neighbors/ipv4-neighbor/state/link-layer-address YANG schema element.

func (*Interface_Ipv4Neighbor_LinkLayerAddressPathAny) State

State returns a Query that can be used in gNMI operations.

Defining module:      "open-traffic-generator-discovery-interfaces"
Instantiating module: "open-traffic-generator-discovery"
Path from parent:     "state/link-layer-address"
Path from root:       "/interfaces/interface/ipv4-neighbors/ipv4-neighbor/state/link-layer-address"

type Interface_Ipv6NeighborPath

type Interface_Ipv6NeighborPath struct {
	*ygnmi.NodePath
}

Interface_Ipv6NeighborPath represents the /open-traffic-generator-discovery/interfaces/interface/ipv6-neighbors/ipv6-neighbor YANG schema element.

func (*Interface_Ipv6NeighborPath) Ipv6Address

Ipv6Address (leaf): The IPv6 address of the neighbor.

Defining module:      "open-traffic-generator-discovery-interfaces"
Instantiating module: "open-traffic-generator-discovery"
Path from parent:     "*/ipv6-address"
Path from root:       "/interfaces/interface/ipv6-neighbors/ipv6-neighbor/*/ipv6-address"

func (*Interface_Ipv6NeighborPath) LinkLayerAddress

LinkLayerAddress (leaf): The link layer address or MAC address of the neighbor.

Defining module:      "open-traffic-generator-discovery-interfaces"
Instantiating module: "open-traffic-generator-discovery"
Path from parent:     "state/link-layer-address"
Path from root:       "/interfaces/interface/ipv6-neighbors/ipv6-neighbor/state/link-layer-address"

func (*Interface_Ipv6NeighborPath) State

State returns a Query that can be used in gNMI operations.

type Interface_Ipv6NeighborPathAny

type Interface_Ipv6NeighborPathAny struct {
	*ygnmi.NodePath
}

Interface_Ipv6NeighborPathAny represents the wildcard version of the /open-traffic-generator-discovery/interfaces/interface/ipv6-neighbors/ipv6-neighbor YANG schema element.

func (*Interface_Ipv6NeighborPathAny) Ipv6Address

Ipv6Address (leaf): The IPv6 address of the neighbor.

Defining module:      "open-traffic-generator-discovery-interfaces"
Instantiating module: "open-traffic-generator-discovery"
Path from parent:     "*/ipv6-address"
Path from root:       "/interfaces/interface/ipv6-neighbors/ipv6-neighbor/*/ipv6-address"

func (*Interface_Ipv6NeighborPathAny) LinkLayerAddress

LinkLayerAddress (leaf): The link layer address or MAC address of the neighbor.

Defining module:      "open-traffic-generator-discovery-interfaces"
Instantiating module: "open-traffic-generator-discovery"
Path from parent:     "state/link-layer-address"
Path from root:       "/interfaces/interface/ipv6-neighbors/ipv6-neighbor/state/link-layer-address"

func (*Interface_Ipv6NeighborPathAny) State

State returns a Query that can be used in gNMI operations.

type Interface_Ipv6NeighborPathMap added in v0.1.24

type Interface_Ipv6NeighborPathMap struct {
	*ygnmi.NodePath
}

Interface_Ipv6NeighborPathMap represents the /open-traffic-generator-discovery/interfaces/interface/ipv6-neighbors/ipv6-neighbor YANG schema element.

type Interface_Ipv6NeighborPathMapAny added in v0.1.24

type Interface_Ipv6NeighborPathMapAny struct {
	*ygnmi.NodePath
}

Interface_Ipv6NeighborPathMapAny represents the wildcard version of the /open-traffic-generator-discovery/interfaces/interface/ipv6-neighbors/ipv6-neighbor YANG schema element.

type Interface_Ipv6Neighbor_Ipv6AddressPath

type Interface_Ipv6Neighbor_Ipv6AddressPath struct {
	*ygnmi.NodePath
	// contains filtered or unexported fields
}

Interface_Ipv6Neighbor_Ipv6AddressPath represents the /open-traffic-generator-discovery/interfaces/interface/ipv6-neighbors/ipv6-neighbor/state/ipv6-address YANG schema element.

func (*Interface_Ipv6Neighbor_Ipv6AddressPath) Config

Config returns a Query that can be used in gNMI operations.

Defining module:      "open-traffic-generator-discovery-interfaces"
Instantiating module: "open-traffic-generator-discovery"
Path from parent:     "ipv6-address"
Path from root:       ""

func (*Interface_Ipv6Neighbor_Ipv6AddressPath) State

State returns a Query that can be used in gNMI operations.

Defining module:      "open-traffic-generator-discovery-interfaces"
Instantiating module: "open-traffic-generator-discovery"
Path from parent:     "state/ipv6-address"
Path from root:       "/interfaces/interface/ipv6-neighbors/ipv6-neighbor/state/ipv6-address"

type Interface_Ipv6Neighbor_Ipv6AddressPathAny

type Interface_Ipv6Neighbor_Ipv6AddressPathAny struct {
	*ygnmi.NodePath
	// contains filtered or unexported fields
}

Interface_Ipv6Neighbor_Ipv6AddressPathAny represents the wildcard version of the /open-traffic-generator-discovery/interfaces/interface/ipv6-neighbors/ipv6-neighbor/state/ipv6-address YANG schema element.

func (*Interface_Ipv6Neighbor_Ipv6AddressPathAny) Config

Config returns a Query that can be used in gNMI operations.

Defining module:      "open-traffic-generator-discovery-interfaces"
Instantiating module: "open-traffic-generator-discovery"
Path from parent:     "ipv6-address"
Path from root:       ""

func (*Interface_Ipv6Neighbor_Ipv6AddressPathAny) State

State returns a Query that can be used in gNMI operations.

Defining module:      "open-traffic-generator-discovery-interfaces"
Instantiating module: "open-traffic-generator-discovery"
Path from parent:     "state/ipv6-address"
Path from root:       "/interfaces/interface/ipv6-neighbors/ipv6-neighbor/state/ipv6-address"

type Interface_Ipv6Neighbor_LinkLayerAddressPath

type Interface_Ipv6Neighbor_LinkLayerAddressPath struct {
	*ygnmi.NodePath
	// contains filtered or unexported fields
}

Interface_Ipv6Neighbor_LinkLayerAddressPath represents the /open-traffic-generator-discovery/interfaces/interface/ipv6-neighbors/ipv6-neighbor/state/link-layer-address YANG schema element.

func (*Interface_Ipv6Neighbor_LinkLayerAddressPath) State

State returns a Query that can be used in gNMI operations.

Defining module:      "open-traffic-generator-discovery-interfaces"
Instantiating module: "open-traffic-generator-discovery"
Path from parent:     "state/link-layer-address"
Path from root:       "/interfaces/interface/ipv6-neighbors/ipv6-neighbor/state/link-layer-address"

type Interface_Ipv6Neighbor_LinkLayerAddressPathAny

type Interface_Ipv6Neighbor_LinkLayerAddressPathAny struct {
	*ygnmi.NodePath
	// contains filtered or unexported fields
}

Interface_Ipv6Neighbor_LinkLayerAddressPathAny represents the wildcard version of the /open-traffic-generator-discovery/interfaces/interface/ipv6-neighbors/ipv6-neighbor/state/link-layer-address YANG schema element.

func (*Interface_Ipv6Neighbor_LinkLayerAddressPathAny) State

State returns a Query that can be used in gNMI operations.

Defining module:      "open-traffic-generator-discovery-interfaces"
Instantiating module: "open-traffic-generator-discovery"
Path from parent:     "state/link-layer-address"
Path from root:       "/interfaces/interface/ipv6-neighbors/ipv6-neighbor/state/link-layer-address"

type Interface_NamePath

type Interface_NamePath struct {
	*ygnmi.NodePath
	// contains filtered or unexported fields
}

Interface_NamePath represents the /open-traffic-generator-discovery/interfaces/interface/state/name YANG schema element.

func (*Interface_NamePath) Config

Config returns a Query that can be used in gNMI operations.

Defining module:      "open-traffic-generator-discovery-interfaces"
Instantiating module: "open-traffic-generator-discovery"
Path from parent:     "name"
Path from root:       ""

func (*Interface_NamePath) State

State returns a Query that can be used in gNMI operations.

Defining module:      "open-traffic-generator-discovery-interfaces"
Instantiating module: "open-traffic-generator-discovery"
Path from parent:     "state/name"
Path from root:       "/interfaces/interface/state/name"

type Interface_NamePathAny

type Interface_NamePathAny struct {
	*ygnmi.NodePath
	// contains filtered or unexported fields
}

Interface_NamePathAny represents the wildcard version of the /open-traffic-generator-discovery/interfaces/interface/state/name YANG schema element.

func (*Interface_NamePathAny) Config

Config returns a Query that can be used in gNMI operations.

Defining module:      "open-traffic-generator-discovery-interfaces"
Instantiating module: "open-traffic-generator-discovery"
Path from parent:     "name"
Path from root:       ""

func (*Interface_NamePathAny) State

State returns a Query that can be used in gNMI operations.

Defining module:      "open-traffic-generator-discovery-interfaces"
Instantiating module: "open-traffic-generator-discovery"
Path from parent:     "state/name"
Path from root:       "/interfaces/interface/state/name"

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL