Documentation ¶
Overview ¶
Package bgp 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.8.7: (ygot: v0.29.9) 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 ¶
- type BgpPeerPath
- func (n *BgpPeerPath) Counters() *BgpPeer_CountersPath
- func (n *BgpPeerPath) Name() *BgpPeer_NamePath
- func (n *BgpPeerPath) SessionState() *BgpPeer_SessionStatePath
- func (n *BgpPeerPath) State() ygnmi.SingletonQuery[*oc.BgpPeer]
- func (n *BgpPeerPath) UnicastIpv4Prefix(Address string, PrefixLength uint32, Origin oc.E_UnicastIpv4Prefix_Origin, ...) *BgpPeer_UnicastIpv4PrefixPath
- func (n *BgpPeerPath) UnicastIpv4PrefixAny() *BgpPeer_UnicastIpv4PrefixPathAny
- func (n *BgpPeerPath) UnicastIpv6Prefix(Address string, PrefixLength uint32, Origin oc.E_UnicastIpv6Prefix_Origin, ...) *BgpPeer_UnicastIpv6PrefixPath
- func (n *BgpPeerPath) UnicastIpv6PrefixAny() *BgpPeer_UnicastIpv6PrefixPathAny
- type BgpPeerPathAny
- func (n *BgpPeerPathAny) Counters() *BgpPeer_CountersPathAny
- func (n *BgpPeerPathAny) Name() *BgpPeer_NamePathAny
- func (n *BgpPeerPathAny) SessionState() *BgpPeer_SessionStatePathAny
- func (n *BgpPeerPathAny) State() ygnmi.WildcardQuery[*oc.BgpPeer]
- func (n *BgpPeerPathAny) UnicastIpv4Prefix(Address string, PrefixLength uint32, Origin oc.E_UnicastIpv4Prefix_Origin, ...) *BgpPeer_UnicastIpv4PrefixPathAny
- func (n *BgpPeerPathAny) UnicastIpv4PrefixAny() *BgpPeer_UnicastIpv4PrefixPathAny
- func (n *BgpPeerPathAny) UnicastIpv6Prefix(Address string, PrefixLength uint32, Origin oc.E_UnicastIpv6Prefix_Origin, ...) *BgpPeer_UnicastIpv6PrefixPathAny
- func (n *BgpPeerPathAny) UnicastIpv6PrefixAny() *BgpPeer_UnicastIpv6PrefixPathAny
- type BgpPeerPathMap
- type BgpPeerPathMapAny
- type BgpPeer_CountersPath
- func (n *BgpPeer_CountersPath) Flaps() *BgpPeer_Counters_FlapsPath
- func (n *BgpPeer_CountersPath) InEndOfRib() *BgpPeer_Counters_InEndOfRibPath
- func (n *BgpPeer_CountersPath) InKeepalives() *BgpPeer_Counters_InKeepalivesPath
- func (n *BgpPeer_CountersPath) InNotifications() *BgpPeer_Counters_InNotificationsPath
- func (n *BgpPeer_CountersPath) InOpens() *BgpPeer_Counters_InOpensPath
- func (n *BgpPeer_CountersPath) InRouteWithdraw() *BgpPeer_Counters_InRouteWithdrawPath
- func (n *BgpPeer_CountersPath) InRoutes() *BgpPeer_Counters_InRoutesPath
- func (n *BgpPeer_CountersPath) InUpdates() *BgpPeer_Counters_InUpdatesPath
- func (n *BgpPeer_CountersPath) OutKeepalives() *BgpPeer_Counters_OutKeepalivesPath
- func (n *BgpPeer_CountersPath) OutNotifications() *BgpPeer_Counters_OutNotificationsPath
- func (n *BgpPeer_CountersPath) OutOpens() *BgpPeer_Counters_OutOpensPath
- func (n *BgpPeer_CountersPath) OutRouteWithdraw() *BgpPeer_Counters_OutRouteWithdrawPath
- func (n *BgpPeer_CountersPath) OutRoutes() *BgpPeer_Counters_OutRoutesPath
- func (n *BgpPeer_CountersPath) OutUpdates() *BgpPeer_Counters_OutUpdatesPath
- func (n *BgpPeer_CountersPath) State() ygnmi.SingletonQuery[*oc.BgpPeer_Counters]
- type BgpPeer_CountersPathAny
- func (n *BgpPeer_CountersPathAny) Flaps() *BgpPeer_Counters_FlapsPathAny
- func (n *BgpPeer_CountersPathAny) InEndOfRib() *BgpPeer_Counters_InEndOfRibPathAny
- func (n *BgpPeer_CountersPathAny) InKeepalives() *BgpPeer_Counters_InKeepalivesPathAny
- func (n *BgpPeer_CountersPathAny) InNotifications() *BgpPeer_Counters_InNotificationsPathAny
- func (n *BgpPeer_CountersPathAny) InOpens() *BgpPeer_Counters_InOpensPathAny
- func (n *BgpPeer_CountersPathAny) InRouteWithdraw() *BgpPeer_Counters_InRouteWithdrawPathAny
- func (n *BgpPeer_CountersPathAny) InRoutes() *BgpPeer_Counters_InRoutesPathAny
- func (n *BgpPeer_CountersPathAny) InUpdates() *BgpPeer_Counters_InUpdatesPathAny
- func (n *BgpPeer_CountersPathAny) OutKeepalives() *BgpPeer_Counters_OutKeepalivesPathAny
- func (n *BgpPeer_CountersPathAny) OutNotifications() *BgpPeer_Counters_OutNotificationsPathAny
- func (n *BgpPeer_CountersPathAny) OutOpens() *BgpPeer_Counters_OutOpensPathAny
- func (n *BgpPeer_CountersPathAny) OutRouteWithdraw() *BgpPeer_Counters_OutRouteWithdrawPathAny
- func (n *BgpPeer_CountersPathAny) OutRoutes() *BgpPeer_Counters_OutRoutesPathAny
- func (n *BgpPeer_CountersPathAny) OutUpdates() *BgpPeer_Counters_OutUpdatesPathAny
- func (n *BgpPeer_CountersPathAny) State() ygnmi.WildcardQuery[*oc.BgpPeer_Counters]
- type BgpPeer_Counters_FlapsPath
- type BgpPeer_Counters_FlapsPathAny
- type BgpPeer_Counters_InEndOfRibPath
- type BgpPeer_Counters_InEndOfRibPathAny
- type BgpPeer_Counters_InKeepalivesPath
- type BgpPeer_Counters_InKeepalivesPathAny
- type BgpPeer_Counters_InNotificationsPath
- type BgpPeer_Counters_InNotificationsPathAny
- type BgpPeer_Counters_InOpensPath
- type BgpPeer_Counters_InOpensPathAny
- type BgpPeer_Counters_InRouteWithdrawPath
- type BgpPeer_Counters_InRouteWithdrawPathAny
- type BgpPeer_Counters_InRoutesPath
- type BgpPeer_Counters_InRoutesPathAny
- type BgpPeer_Counters_InUpdatesPath
- type BgpPeer_Counters_InUpdatesPathAny
- type BgpPeer_Counters_OutKeepalivesPath
- type BgpPeer_Counters_OutKeepalivesPathAny
- type BgpPeer_Counters_OutNotificationsPath
- type BgpPeer_Counters_OutNotificationsPathAny
- type BgpPeer_Counters_OutOpensPath
- type BgpPeer_Counters_OutOpensPathAny
- type BgpPeer_Counters_OutRouteWithdrawPath
- type BgpPeer_Counters_OutRouteWithdrawPathAny
- type BgpPeer_Counters_OutRoutesPath
- type BgpPeer_Counters_OutRoutesPathAny
- type BgpPeer_Counters_OutUpdatesPath
- type BgpPeer_Counters_OutUpdatesPathAny
- type BgpPeer_NamePath
- type BgpPeer_NamePathAny
- type BgpPeer_SessionStatePath
- type BgpPeer_SessionStatePathAny
- type BgpPeer_UnicastIpv4PrefixPath
- func (n *BgpPeer_UnicastIpv4PrefixPath) Address() *BgpPeer_UnicastIpv4Prefix_AddressPath
- func (n *BgpPeer_UnicastIpv4PrefixPath) AsPathAny() *BgpPeer_UnicastIpv4Prefix_AsPathPathAny
- func (n *BgpPeer_UnicastIpv4PrefixPath) CommunityAny() *BgpPeer_UnicastIpv4Prefix_CommunityPathAny
- func (n *BgpPeer_UnicastIpv4PrefixPath) LocalPreference() *BgpPeer_UnicastIpv4Prefix_LocalPreferencePath
- func (n *BgpPeer_UnicastIpv4PrefixPath) MultiExitDiscriminator() *BgpPeer_UnicastIpv4Prefix_MultiExitDiscriminatorPath
- func (n *BgpPeer_UnicastIpv4PrefixPath) NextHopIpv4Address() *BgpPeer_UnicastIpv4Prefix_NextHopIpv4AddressPath
- func (n *BgpPeer_UnicastIpv4PrefixPath) NextHopIpv6Address() *BgpPeer_UnicastIpv4Prefix_NextHopIpv6AddressPath
- func (n *BgpPeer_UnicastIpv4PrefixPath) Origin() *BgpPeer_UnicastIpv4Prefix_OriginPath
- func (n *BgpPeer_UnicastIpv4PrefixPath) PathId() *BgpPeer_UnicastIpv4Prefix_PathIdPath
- func (n *BgpPeer_UnicastIpv4PrefixPath) PrefixLength() *BgpPeer_UnicastIpv4Prefix_PrefixLengthPath
- func (n *BgpPeer_UnicastIpv4PrefixPath) State() ygnmi.SingletonQuery[*oc.BgpPeer_UnicastIpv4Prefix]
- type BgpPeer_UnicastIpv4PrefixPathAny
- func (n *BgpPeer_UnicastIpv4PrefixPathAny) Address() *BgpPeer_UnicastIpv4Prefix_AddressPathAny
- func (n *BgpPeer_UnicastIpv4PrefixPathAny) AsPathAny() *BgpPeer_UnicastIpv4Prefix_AsPathPathAny
- func (n *BgpPeer_UnicastIpv4PrefixPathAny) CommunityAny() *BgpPeer_UnicastIpv4Prefix_CommunityPathAny
- func (n *BgpPeer_UnicastIpv4PrefixPathAny) LocalPreference() *BgpPeer_UnicastIpv4Prefix_LocalPreferencePathAny
- func (n *BgpPeer_UnicastIpv4PrefixPathAny) MultiExitDiscriminator() *BgpPeer_UnicastIpv4Prefix_MultiExitDiscriminatorPathAny
- func (n *BgpPeer_UnicastIpv4PrefixPathAny) NextHopIpv4Address() *BgpPeer_UnicastIpv4Prefix_NextHopIpv4AddressPathAny
- func (n *BgpPeer_UnicastIpv4PrefixPathAny) NextHopIpv6Address() *BgpPeer_UnicastIpv4Prefix_NextHopIpv6AddressPathAny
- func (n *BgpPeer_UnicastIpv4PrefixPathAny) Origin() *BgpPeer_UnicastIpv4Prefix_OriginPathAny
- func (n *BgpPeer_UnicastIpv4PrefixPathAny) PathId() *BgpPeer_UnicastIpv4Prefix_PathIdPathAny
- func (n *BgpPeer_UnicastIpv4PrefixPathAny) PrefixLength() *BgpPeer_UnicastIpv4Prefix_PrefixLengthPathAny
- func (n *BgpPeer_UnicastIpv4PrefixPathAny) State() ygnmi.WildcardQuery[*oc.BgpPeer_UnicastIpv4Prefix]
- func (n *BgpPeer_UnicastIpv4PrefixPathAny) WithAddress(Address string) *BgpPeer_UnicastIpv4PrefixPathAny
- func (n *BgpPeer_UnicastIpv4PrefixPathAny) WithOrigin(Origin oc.E_UnicastIpv4Prefix_Origin) *BgpPeer_UnicastIpv4PrefixPathAny
- func (n *BgpPeer_UnicastIpv4PrefixPathAny) WithPathId(PathId uint32) *BgpPeer_UnicastIpv4PrefixPathAny
- func (n *BgpPeer_UnicastIpv4PrefixPathAny) WithPrefixLength(PrefixLength uint32) *BgpPeer_UnicastIpv4PrefixPathAny
- type BgpPeer_UnicastIpv4PrefixPathMap
- type BgpPeer_UnicastIpv4PrefixPathMapAny
- type BgpPeer_UnicastIpv4Prefix_AddressPath
- type BgpPeer_UnicastIpv4Prefix_AddressPathAny
- type BgpPeer_UnicastIpv4Prefix_AsPathPath
- type BgpPeer_UnicastIpv4Prefix_AsPathPathAny
- type BgpPeer_UnicastIpv4Prefix_CommunityPath
- type BgpPeer_UnicastIpv4Prefix_CommunityPathAny
- type BgpPeer_UnicastIpv4Prefix_LocalPreferencePath
- type BgpPeer_UnicastIpv4Prefix_LocalPreferencePathAny
- type BgpPeer_UnicastIpv4Prefix_MultiExitDiscriminatorPath
- type BgpPeer_UnicastIpv4Prefix_MultiExitDiscriminatorPathAny
- type BgpPeer_UnicastIpv4Prefix_NextHopIpv4AddressPath
- type BgpPeer_UnicastIpv4Prefix_NextHopIpv4AddressPathAny
- type BgpPeer_UnicastIpv4Prefix_NextHopIpv6AddressPath
- type BgpPeer_UnicastIpv4Prefix_NextHopIpv6AddressPathAny
- type BgpPeer_UnicastIpv4Prefix_OriginPath
- type BgpPeer_UnicastIpv4Prefix_OriginPathAny
- type BgpPeer_UnicastIpv4Prefix_PathIdPath
- type BgpPeer_UnicastIpv4Prefix_PathIdPathAny
- type BgpPeer_UnicastIpv4Prefix_PrefixLengthPath
- type BgpPeer_UnicastIpv4Prefix_PrefixLengthPathAny
- type BgpPeer_UnicastIpv6PrefixPath
- func (n *BgpPeer_UnicastIpv6PrefixPath) Address() *BgpPeer_UnicastIpv6Prefix_AddressPath
- func (n *BgpPeer_UnicastIpv6PrefixPath) AsPathAny() *BgpPeer_UnicastIpv6Prefix_AsPathPathAny
- func (n *BgpPeer_UnicastIpv6PrefixPath) CommunityAny() *BgpPeer_UnicastIpv6Prefix_CommunityPathAny
- func (n *BgpPeer_UnicastIpv6PrefixPath) LocalPreference() *BgpPeer_UnicastIpv6Prefix_LocalPreferencePath
- func (n *BgpPeer_UnicastIpv6PrefixPath) MultiExitDiscriminator() *BgpPeer_UnicastIpv6Prefix_MultiExitDiscriminatorPath
- func (n *BgpPeer_UnicastIpv6PrefixPath) NextHopIpv4Address() *BgpPeer_UnicastIpv6Prefix_NextHopIpv4AddressPath
- func (n *BgpPeer_UnicastIpv6PrefixPath) NextHopIpv6Address() *BgpPeer_UnicastIpv6Prefix_NextHopIpv6AddressPath
- func (n *BgpPeer_UnicastIpv6PrefixPath) Origin() *BgpPeer_UnicastIpv6Prefix_OriginPath
- func (n *BgpPeer_UnicastIpv6PrefixPath) PathId() *BgpPeer_UnicastIpv6Prefix_PathIdPath
- func (n *BgpPeer_UnicastIpv6PrefixPath) PrefixLength() *BgpPeer_UnicastIpv6Prefix_PrefixLengthPath
- func (n *BgpPeer_UnicastIpv6PrefixPath) State() ygnmi.SingletonQuery[*oc.BgpPeer_UnicastIpv6Prefix]
- type BgpPeer_UnicastIpv6PrefixPathAny
- func (n *BgpPeer_UnicastIpv6PrefixPathAny) Address() *BgpPeer_UnicastIpv6Prefix_AddressPathAny
- func (n *BgpPeer_UnicastIpv6PrefixPathAny) AsPathAny() *BgpPeer_UnicastIpv6Prefix_AsPathPathAny
- func (n *BgpPeer_UnicastIpv6PrefixPathAny) CommunityAny() *BgpPeer_UnicastIpv6Prefix_CommunityPathAny
- func (n *BgpPeer_UnicastIpv6PrefixPathAny) LocalPreference() *BgpPeer_UnicastIpv6Prefix_LocalPreferencePathAny
- func (n *BgpPeer_UnicastIpv6PrefixPathAny) MultiExitDiscriminator() *BgpPeer_UnicastIpv6Prefix_MultiExitDiscriminatorPathAny
- func (n *BgpPeer_UnicastIpv6PrefixPathAny) NextHopIpv4Address() *BgpPeer_UnicastIpv6Prefix_NextHopIpv4AddressPathAny
- func (n *BgpPeer_UnicastIpv6PrefixPathAny) NextHopIpv6Address() *BgpPeer_UnicastIpv6Prefix_NextHopIpv6AddressPathAny
- func (n *BgpPeer_UnicastIpv6PrefixPathAny) Origin() *BgpPeer_UnicastIpv6Prefix_OriginPathAny
- func (n *BgpPeer_UnicastIpv6PrefixPathAny) PathId() *BgpPeer_UnicastIpv6Prefix_PathIdPathAny
- func (n *BgpPeer_UnicastIpv6PrefixPathAny) PrefixLength() *BgpPeer_UnicastIpv6Prefix_PrefixLengthPathAny
- func (n *BgpPeer_UnicastIpv6PrefixPathAny) State() ygnmi.WildcardQuery[*oc.BgpPeer_UnicastIpv6Prefix]
- func (n *BgpPeer_UnicastIpv6PrefixPathAny) WithAddress(Address string) *BgpPeer_UnicastIpv6PrefixPathAny
- func (n *BgpPeer_UnicastIpv6PrefixPathAny) WithOrigin(Origin oc.E_UnicastIpv6Prefix_Origin) *BgpPeer_UnicastIpv6PrefixPathAny
- func (n *BgpPeer_UnicastIpv6PrefixPathAny) WithPathId(PathId uint32) *BgpPeer_UnicastIpv6PrefixPathAny
- func (n *BgpPeer_UnicastIpv6PrefixPathAny) WithPrefixLength(PrefixLength uint32) *BgpPeer_UnicastIpv6PrefixPathAny
- type BgpPeer_UnicastIpv6PrefixPathMap
- type BgpPeer_UnicastIpv6PrefixPathMapAny
- type BgpPeer_UnicastIpv6Prefix_AddressPath
- type BgpPeer_UnicastIpv6Prefix_AddressPathAny
- type BgpPeer_UnicastIpv6Prefix_AsPathPath
- type BgpPeer_UnicastIpv6Prefix_AsPathPathAny
- type BgpPeer_UnicastIpv6Prefix_CommunityPath
- type BgpPeer_UnicastIpv6Prefix_CommunityPathAny
- type BgpPeer_UnicastIpv6Prefix_LocalPreferencePath
- type BgpPeer_UnicastIpv6Prefix_LocalPreferencePathAny
- type BgpPeer_UnicastIpv6Prefix_MultiExitDiscriminatorPath
- type BgpPeer_UnicastIpv6Prefix_MultiExitDiscriminatorPathAny
- type BgpPeer_UnicastIpv6Prefix_NextHopIpv4AddressPath
- type BgpPeer_UnicastIpv6Prefix_NextHopIpv4AddressPathAny
- type BgpPeer_UnicastIpv6Prefix_NextHopIpv6AddressPath
- type BgpPeer_UnicastIpv6Prefix_NextHopIpv6AddressPathAny
- type BgpPeer_UnicastIpv6Prefix_OriginPath
- type BgpPeer_UnicastIpv6Prefix_OriginPathAny
- type BgpPeer_UnicastIpv6Prefix_PathIdPath
- type BgpPeer_UnicastIpv6Prefix_PathIdPathAny
- type BgpPeer_UnicastIpv6Prefix_PrefixLengthPath
- type BgpPeer_UnicastIpv6Prefix_PrefixLengthPathAny
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BgpPeerPath ¶
BgpPeerPath represents the /open-traffic-generator-bgp/bgp-peers/bgp-peer YANG schema element.
func (*BgpPeerPath) Counters ¶
func (n *BgpPeerPath) Counters() *BgpPeer_CountersPath
Counters (container): Counters of an individual BGP peer.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/counters" Path from root: "/bgp-peers/bgp-peer/state/counters"
func (*BgpPeerPath) Name ¶
func (n *BgpPeerPath) Name() *BgpPeer_NamePath
Name (leaf): An arbitary name of the BGP peer determined by the ATE configuration.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "*/name" Path from root: "/bgp-peers/bgp-peer/*/name"
func (*BgpPeerPath) SessionState ¶
func (n *BgpPeerPath) SessionState() *BgpPeer_SessionStatePath
SessionState (leaf): Operational state of the BGP peer
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/session-state" Path from root: "/bgp-peers/bgp-peer/state/session-state"
func (*BgpPeerPath) State ¶
func (n *BgpPeerPath) State() ygnmi.SingletonQuery[*oc.BgpPeer]
State returns a Query that can be used in gNMI operations.
func (*BgpPeerPath) UnicastIpv4Prefix ¶
func (n *BgpPeerPath) UnicastIpv4Prefix(Address string, PrefixLength uint32, Origin oc.E_UnicastIpv4Prefix_Origin, PathId uint32) *BgpPeer_UnicastIpv4PrefixPath
UnicastIpv4Prefix (list): A list of BGP unicast IPv4 prefixes.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "unicast-ipv4-prefixes/unicast-ipv4-prefix" Path from root: "/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix" Address: string PrefixLength: uint32 Origin: oc.E_UnicastIpv4Prefix_Origin PathId: uint32
func (*BgpPeerPath) UnicastIpv4PrefixAny ¶
func (n *BgpPeerPath) UnicastIpv4PrefixAny() *BgpPeer_UnicastIpv4PrefixPathAny
UnicastIpv4PrefixAny (list): A list of BGP unicast IPv4 prefixes.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "unicast-ipv4-prefixes/unicast-ipv4-prefix" Path from root: "/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix"
func (*BgpPeerPath) UnicastIpv6Prefix ¶
func (n *BgpPeerPath) UnicastIpv6Prefix(Address string, PrefixLength uint32, Origin oc.E_UnicastIpv6Prefix_Origin, PathId uint32) *BgpPeer_UnicastIpv6PrefixPath
UnicastIpv6Prefix (list): A list of BGP unicast IPv6 prefixes.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "unicast-ipv6-prefixes/unicast-ipv6-prefix" Path from root: "/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix" Address: string PrefixLength: uint32 Origin: oc.E_UnicastIpv6Prefix_Origin PathId: uint32
func (*BgpPeerPath) UnicastIpv6PrefixAny ¶
func (n *BgpPeerPath) UnicastIpv6PrefixAny() *BgpPeer_UnicastIpv6PrefixPathAny
UnicastIpv6PrefixAny (list): A list of BGP unicast IPv6 prefixes.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "unicast-ipv6-prefixes/unicast-ipv6-prefix" Path from root: "/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix"
type BgpPeerPathAny ¶
BgpPeerPathAny represents the wildcard version of the /open-traffic-generator-bgp/bgp-peers/bgp-peer YANG schema element.
func (*BgpPeerPathAny) Counters ¶
func (n *BgpPeerPathAny) Counters() *BgpPeer_CountersPathAny
Counters (container): Counters of an individual BGP peer.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/counters" Path from root: "/bgp-peers/bgp-peer/state/counters"
func (*BgpPeerPathAny) Name ¶
func (n *BgpPeerPathAny) Name() *BgpPeer_NamePathAny
Name (leaf): An arbitary name of the BGP peer determined by the ATE configuration.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "*/name" Path from root: "/bgp-peers/bgp-peer/*/name"
func (*BgpPeerPathAny) SessionState ¶
func (n *BgpPeerPathAny) SessionState() *BgpPeer_SessionStatePathAny
SessionState (leaf): Operational state of the BGP peer
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/session-state" Path from root: "/bgp-peers/bgp-peer/state/session-state"
func (*BgpPeerPathAny) State ¶
func (n *BgpPeerPathAny) State() ygnmi.WildcardQuery[*oc.BgpPeer]
State returns a Query that can be used in gNMI operations.
func (*BgpPeerPathAny) UnicastIpv4Prefix ¶
func (n *BgpPeerPathAny) UnicastIpv4Prefix(Address string, PrefixLength uint32, Origin oc.E_UnicastIpv4Prefix_Origin, PathId uint32) *BgpPeer_UnicastIpv4PrefixPathAny
UnicastIpv4Prefix (list): A list of BGP unicast IPv4 prefixes.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "unicast-ipv4-prefixes/unicast-ipv4-prefix" Path from root: "/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix" Address: string PrefixLength: uint32 Origin: oc.E_UnicastIpv4Prefix_Origin PathId: uint32
func (*BgpPeerPathAny) UnicastIpv4PrefixAny ¶
func (n *BgpPeerPathAny) UnicastIpv4PrefixAny() *BgpPeer_UnicastIpv4PrefixPathAny
UnicastIpv4PrefixAny (list): A list of BGP unicast IPv4 prefixes.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "unicast-ipv4-prefixes/unicast-ipv4-prefix" Path from root: "/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix"
func (*BgpPeerPathAny) UnicastIpv6Prefix ¶
func (n *BgpPeerPathAny) UnicastIpv6Prefix(Address string, PrefixLength uint32, Origin oc.E_UnicastIpv6Prefix_Origin, PathId uint32) *BgpPeer_UnicastIpv6PrefixPathAny
UnicastIpv6Prefix (list): A list of BGP unicast IPv6 prefixes.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "unicast-ipv6-prefixes/unicast-ipv6-prefix" Path from root: "/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix" Address: string PrefixLength: uint32 Origin: oc.E_UnicastIpv6Prefix_Origin PathId: uint32
func (*BgpPeerPathAny) UnicastIpv6PrefixAny ¶
func (n *BgpPeerPathAny) UnicastIpv6PrefixAny() *BgpPeer_UnicastIpv6PrefixPathAny
UnicastIpv6PrefixAny (list): A list of BGP unicast IPv6 prefixes.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "unicast-ipv6-prefixes/unicast-ipv6-prefix" Path from root: "/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix"
type BgpPeerPathMap ¶ added in v0.1.24
BgpPeerPathMap represents the /open-traffic-generator-bgp/bgp-peers/bgp-peer YANG schema element.
type BgpPeerPathMapAny ¶ added in v0.1.24
BgpPeerPathMapAny represents the wildcard version of the /open-traffic-generator-bgp/bgp-peers/bgp-peer YANG schema element.
type BgpPeer_CountersPath ¶
BgpPeer_CountersPath represents the /open-traffic-generator-bgp/bgp-peers/bgp-peer/state/counters YANG schema element.
func (*BgpPeer_CountersPath) Flaps ¶
func (n *BgpPeer_CountersPath) Flaps() *BgpPeer_Counters_FlapsPath
Flaps (leaf): The total number of times the BGP session went from an ESTABLISHED state to an IDLE state.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "flaps" Path from root: "/bgp-peers/bgp-peer/state/counters/flaps"
func (*BgpPeer_CountersPath) InEndOfRib ¶ added in v0.2.2
func (n *BgpPeer_CountersPath) InEndOfRib() *BgpPeer_Counters_InEndOfRibPath
InEndOfRib (leaf): The total number of End-of-RIB markers received indicating the completion of the initial routing update for a particular <AFI, SAFI> address family after the session is established. For the IPv4 unicast address family, the End-of-RIB marker is an UPDATE message with the minimum length. For any other address family, it is an UPDATE message that contains only the MP_UNREACH_NLRI attribute with no withdrawn routes for that <AFI, SAFI>.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "in-end-of-rib" Path from root: "/bgp-peers/bgp-peer/state/counters/in-end-of-rib"
func (*BgpPeer_CountersPath) InKeepalives ¶
func (n *BgpPeer_CountersPath) InKeepalives() *BgpPeer_Counters_InKeepalivesPath
InKeepalives (leaf): The total number of KEEPALIVE messages received.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "in-keepalives" Path from root: "/bgp-peers/bgp-peer/state/counters/in-keepalives"
func (*BgpPeer_CountersPath) InNotifications ¶
func (n *BgpPeer_CountersPath) InNotifications() *BgpPeer_Counters_InNotificationsPath
InNotifications (leaf): The total number of NOTIFICATION messages received.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "in-notifications" Path from root: "/bgp-peers/bgp-peer/state/counters/in-notifications"
func (*BgpPeer_CountersPath) InOpens ¶
func (n *BgpPeer_CountersPath) InOpens() *BgpPeer_Counters_InOpensPath
InOpens (leaf): The total number of OPEN messages received.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "in-opens" Path from root: "/bgp-peers/bgp-peer/state/counters/in-opens"
func (*BgpPeer_CountersPath) InRouteWithdraw ¶
func (n *BgpPeer_CountersPath) InRouteWithdraw() *BgpPeer_Counters_InRouteWithdrawPath
InRouteWithdraw (leaf): The total number of route withdraws received.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "in-route-withdraw" Path from root: "/bgp-peers/bgp-peer/state/counters/in-route-withdraw"
func (*BgpPeer_CountersPath) InRoutes ¶
func (n *BgpPeer_CountersPath) InRoutes() *BgpPeer_Counters_InRoutesPath
InRoutes (leaf): The total number of routes received.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "in-routes" Path from root: "/bgp-peers/bgp-peer/state/counters/in-routes"
func (*BgpPeer_CountersPath) InUpdates ¶
func (n *BgpPeer_CountersPath) InUpdates() *BgpPeer_Counters_InUpdatesPath
InUpdates (leaf): The total number of UPDATE messages received.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "in-updates" Path from root: "/bgp-peers/bgp-peer/state/counters/in-updates"
func (*BgpPeer_CountersPath) OutKeepalives ¶
func (n *BgpPeer_CountersPath) OutKeepalives() *BgpPeer_Counters_OutKeepalivesPath
OutKeepalives (leaf): The total number of KEEPALIVE messages sent.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "out-keepalives" Path from root: "/bgp-peers/bgp-peer/state/counters/out-keepalives"
func (*BgpPeer_CountersPath) OutNotifications ¶
func (n *BgpPeer_CountersPath) OutNotifications() *BgpPeer_Counters_OutNotificationsPath
OutNotifications (leaf): The total number of NOTIFICATION messages sent.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "out-notifications" Path from root: "/bgp-peers/bgp-peer/state/counters/out-notifications"
func (*BgpPeer_CountersPath) OutOpens ¶
func (n *BgpPeer_CountersPath) OutOpens() *BgpPeer_Counters_OutOpensPath
OutOpens (leaf): The total number of OPEN messages sent.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "out-opens" Path from root: "/bgp-peers/bgp-peer/state/counters/out-opens"
func (*BgpPeer_CountersPath) OutRouteWithdraw ¶
func (n *BgpPeer_CountersPath) OutRouteWithdraw() *BgpPeer_Counters_OutRouteWithdrawPath
OutRouteWithdraw (leaf): The total number of route withdraws sent.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "out-route-withdraw" Path from root: "/bgp-peers/bgp-peer/state/counters/out-route-withdraw"
func (*BgpPeer_CountersPath) OutRoutes ¶
func (n *BgpPeer_CountersPath) OutRoutes() *BgpPeer_Counters_OutRoutesPath
OutRoutes (leaf): The total number of routes advertised.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "out-routes" Path from root: "/bgp-peers/bgp-peer/state/counters/out-routes"
func (*BgpPeer_CountersPath) OutUpdates ¶
func (n *BgpPeer_CountersPath) OutUpdates() *BgpPeer_Counters_OutUpdatesPath
OutUpdates (leaf): The total number of UPDATE messages sent.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "out-updates" Path from root: "/bgp-peers/bgp-peer/state/counters/out-updates"
func (*BgpPeer_CountersPath) State ¶
func (n *BgpPeer_CountersPath) State() ygnmi.SingletonQuery[*oc.BgpPeer_Counters]
State returns a Query that can be used in gNMI operations.
type BgpPeer_CountersPathAny ¶
BgpPeer_CountersPathAny represents the wildcard version of the /open-traffic-generator-bgp/bgp-peers/bgp-peer/state/counters YANG schema element.
func (*BgpPeer_CountersPathAny) Flaps ¶
func (n *BgpPeer_CountersPathAny) Flaps() *BgpPeer_Counters_FlapsPathAny
Flaps (leaf): The total number of times the BGP session went from an ESTABLISHED state to an IDLE state.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "flaps" Path from root: "/bgp-peers/bgp-peer/state/counters/flaps"
func (*BgpPeer_CountersPathAny) InEndOfRib ¶ added in v0.2.2
func (n *BgpPeer_CountersPathAny) InEndOfRib() *BgpPeer_Counters_InEndOfRibPathAny
InEndOfRib (leaf): The total number of End-of-RIB markers received indicating the completion of the initial routing update for a particular <AFI, SAFI> address family after the session is established. For the IPv4 unicast address family, the End-of-RIB marker is an UPDATE message with the minimum length. For any other address family, it is an UPDATE message that contains only the MP_UNREACH_NLRI attribute with no withdrawn routes for that <AFI, SAFI>.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "in-end-of-rib" Path from root: "/bgp-peers/bgp-peer/state/counters/in-end-of-rib"
func (*BgpPeer_CountersPathAny) InKeepalives ¶
func (n *BgpPeer_CountersPathAny) InKeepalives() *BgpPeer_Counters_InKeepalivesPathAny
InKeepalives (leaf): The total number of KEEPALIVE messages received.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "in-keepalives" Path from root: "/bgp-peers/bgp-peer/state/counters/in-keepalives"
func (*BgpPeer_CountersPathAny) InNotifications ¶
func (n *BgpPeer_CountersPathAny) InNotifications() *BgpPeer_Counters_InNotificationsPathAny
InNotifications (leaf): The total number of NOTIFICATION messages received.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "in-notifications" Path from root: "/bgp-peers/bgp-peer/state/counters/in-notifications"
func (*BgpPeer_CountersPathAny) InOpens ¶
func (n *BgpPeer_CountersPathAny) InOpens() *BgpPeer_Counters_InOpensPathAny
InOpens (leaf): The total number of OPEN messages received.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "in-opens" Path from root: "/bgp-peers/bgp-peer/state/counters/in-opens"
func (*BgpPeer_CountersPathAny) InRouteWithdraw ¶
func (n *BgpPeer_CountersPathAny) InRouteWithdraw() *BgpPeer_Counters_InRouteWithdrawPathAny
InRouteWithdraw (leaf): The total number of route withdraws received.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "in-route-withdraw" Path from root: "/bgp-peers/bgp-peer/state/counters/in-route-withdraw"
func (*BgpPeer_CountersPathAny) InRoutes ¶
func (n *BgpPeer_CountersPathAny) InRoutes() *BgpPeer_Counters_InRoutesPathAny
InRoutes (leaf): The total number of routes received.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "in-routes" Path from root: "/bgp-peers/bgp-peer/state/counters/in-routes"
func (*BgpPeer_CountersPathAny) InUpdates ¶
func (n *BgpPeer_CountersPathAny) InUpdates() *BgpPeer_Counters_InUpdatesPathAny
InUpdates (leaf): The total number of UPDATE messages received.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "in-updates" Path from root: "/bgp-peers/bgp-peer/state/counters/in-updates"
func (*BgpPeer_CountersPathAny) OutKeepalives ¶
func (n *BgpPeer_CountersPathAny) OutKeepalives() *BgpPeer_Counters_OutKeepalivesPathAny
OutKeepalives (leaf): The total number of KEEPALIVE messages sent.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "out-keepalives" Path from root: "/bgp-peers/bgp-peer/state/counters/out-keepalives"
func (*BgpPeer_CountersPathAny) OutNotifications ¶
func (n *BgpPeer_CountersPathAny) OutNotifications() *BgpPeer_Counters_OutNotificationsPathAny
OutNotifications (leaf): The total number of NOTIFICATION messages sent.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "out-notifications" Path from root: "/bgp-peers/bgp-peer/state/counters/out-notifications"
func (*BgpPeer_CountersPathAny) OutOpens ¶
func (n *BgpPeer_CountersPathAny) OutOpens() *BgpPeer_Counters_OutOpensPathAny
OutOpens (leaf): The total number of OPEN messages sent.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "out-opens" Path from root: "/bgp-peers/bgp-peer/state/counters/out-opens"
func (*BgpPeer_CountersPathAny) OutRouteWithdraw ¶
func (n *BgpPeer_CountersPathAny) OutRouteWithdraw() *BgpPeer_Counters_OutRouteWithdrawPathAny
OutRouteWithdraw (leaf): The total number of route withdraws sent.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "out-route-withdraw" Path from root: "/bgp-peers/bgp-peer/state/counters/out-route-withdraw"
func (*BgpPeer_CountersPathAny) OutRoutes ¶
func (n *BgpPeer_CountersPathAny) OutRoutes() *BgpPeer_Counters_OutRoutesPathAny
OutRoutes (leaf): The total number of routes advertised.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "out-routes" Path from root: "/bgp-peers/bgp-peer/state/counters/out-routes"
func (*BgpPeer_CountersPathAny) OutUpdates ¶
func (n *BgpPeer_CountersPathAny) OutUpdates() *BgpPeer_Counters_OutUpdatesPathAny
OutUpdates (leaf): The total number of UPDATE messages sent.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "out-updates" Path from root: "/bgp-peers/bgp-peer/state/counters/out-updates"
func (*BgpPeer_CountersPathAny) State ¶
func (n *BgpPeer_CountersPathAny) State() ygnmi.WildcardQuery[*oc.BgpPeer_Counters]
State returns a Query that can be used in gNMI operations.
type BgpPeer_Counters_FlapsPath ¶
type BgpPeer_Counters_FlapsPath struct { *ygnmi.NodePath // contains filtered or unexported fields }
BgpPeer_Counters_FlapsPath represents the /open-traffic-generator-bgp/bgp-peers/bgp-peer/state/counters/flaps YANG schema element.
func (*BgpPeer_Counters_FlapsPath) State ¶
func (n *BgpPeer_Counters_FlapsPath) State() ygnmi.SingletonQuery[uint64]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "flaps" Path from root: "/bgp-peers/bgp-peer/state/counters/flaps"
type BgpPeer_Counters_FlapsPathAny ¶
type BgpPeer_Counters_FlapsPathAny struct { *ygnmi.NodePath // contains filtered or unexported fields }
BgpPeer_Counters_FlapsPathAny represents the wildcard version of the /open-traffic-generator-bgp/bgp-peers/bgp-peer/state/counters/flaps YANG schema element.
func (*BgpPeer_Counters_FlapsPathAny) State ¶
func (n *BgpPeer_Counters_FlapsPathAny) State() ygnmi.WildcardQuery[uint64]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "flaps" Path from root: "/bgp-peers/bgp-peer/state/counters/flaps"
type BgpPeer_Counters_InEndOfRibPath ¶ added in v0.2.2
type BgpPeer_Counters_InEndOfRibPath struct { *ygnmi.NodePath // contains filtered or unexported fields }
BgpPeer_Counters_InEndOfRibPath represents the /open-traffic-generator-bgp/bgp-peers/bgp-peer/state/counters/in-end-of-rib YANG schema element.
func (*BgpPeer_Counters_InEndOfRibPath) State ¶ added in v0.2.2
func (n *BgpPeer_Counters_InEndOfRibPath) State() ygnmi.SingletonQuery[uint64]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "in-end-of-rib" Path from root: "/bgp-peers/bgp-peer/state/counters/in-end-of-rib"
type BgpPeer_Counters_InEndOfRibPathAny ¶ added in v0.2.2
type BgpPeer_Counters_InEndOfRibPathAny struct { *ygnmi.NodePath // contains filtered or unexported fields }
BgpPeer_Counters_InEndOfRibPathAny represents the wildcard version of the /open-traffic-generator-bgp/bgp-peers/bgp-peer/state/counters/in-end-of-rib YANG schema element.
func (*BgpPeer_Counters_InEndOfRibPathAny) State ¶ added in v0.2.2
func (n *BgpPeer_Counters_InEndOfRibPathAny) State() ygnmi.WildcardQuery[uint64]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "in-end-of-rib" Path from root: "/bgp-peers/bgp-peer/state/counters/in-end-of-rib"
type BgpPeer_Counters_InKeepalivesPath ¶
type BgpPeer_Counters_InKeepalivesPath struct { *ygnmi.NodePath // contains filtered or unexported fields }
BgpPeer_Counters_InKeepalivesPath represents the /open-traffic-generator-bgp/bgp-peers/bgp-peer/state/counters/in-keepalives YANG schema element.
func (*BgpPeer_Counters_InKeepalivesPath) State ¶
func (n *BgpPeer_Counters_InKeepalivesPath) State() ygnmi.SingletonQuery[uint64]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "in-keepalives" Path from root: "/bgp-peers/bgp-peer/state/counters/in-keepalives"
type BgpPeer_Counters_InKeepalivesPathAny ¶
type BgpPeer_Counters_InKeepalivesPathAny struct { *ygnmi.NodePath // contains filtered or unexported fields }
BgpPeer_Counters_InKeepalivesPathAny represents the wildcard version of the /open-traffic-generator-bgp/bgp-peers/bgp-peer/state/counters/in-keepalives YANG schema element.
func (*BgpPeer_Counters_InKeepalivesPathAny) State ¶
func (n *BgpPeer_Counters_InKeepalivesPathAny) State() ygnmi.WildcardQuery[uint64]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "in-keepalives" Path from root: "/bgp-peers/bgp-peer/state/counters/in-keepalives"
type BgpPeer_Counters_InNotificationsPath ¶
type BgpPeer_Counters_InNotificationsPath struct { *ygnmi.NodePath // contains filtered or unexported fields }
BgpPeer_Counters_InNotificationsPath represents the /open-traffic-generator-bgp/bgp-peers/bgp-peer/state/counters/in-notifications YANG schema element.
func (*BgpPeer_Counters_InNotificationsPath) State ¶
func (n *BgpPeer_Counters_InNotificationsPath) State() ygnmi.SingletonQuery[uint64]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "in-notifications" Path from root: "/bgp-peers/bgp-peer/state/counters/in-notifications"
type BgpPeer_Counters_InNotificationsPathAny ¶
type BgpPeer_Counters_InNotificationsPathAny struct { *ygnmi.NodePath // contains filtered or unexported fields }
BgpPeer_Counters_InNotificationsPathAny represents the wildcard version of the /open-traffic-generator-bgp/bgp-peers/bgp-peer/state/counters/in-notifications YANG schema element.
func (*BgpPeer_Counters_InNotificationsPathAny) State ¶
func (n *BgpPeer_Counters_InNotificationsPathAny) State() ygnmi.WildcardQuery[uint64]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "in-notifications" Path from root: "/bgp-peers/bgp-peer/state/counters/in-notifications"
type BgpPeer_Counters_InOpensPath ¶
type BgpPeer_Counters_InOpensPath struct { *ygnmi.NodePath // contains filtered or unexported fields }
BgpPeer_Counters_InOpensPath represents the /open-traffic-generator-bgp/bgp-peers/bgp-peer/state/counters/in-opens YANG schema element.
func (*BgpPeer_Counters_InOpensPath) State ¶
func (n *BgpPeer_Counters_InOpensPath) State() ygnmi.SingletonQuery[uint64]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "in-opens" Path from root: "/bgp-peers/bgp-peer/state/counters/in-opens"
type BgpPeer_Counters_InOpensPathAny ¶
type BgpPeer_Counters_InOpensPathAny struct { *ygnmi.NodePath // contains filtered or unexported fields }
BgpPeer_Counters_InOpensPathAny represents the wildcard version of the /open-traffic-generator-bgp/bgp-peers/bgp-peer/state/counters/in-opens YANG schema element.
func (*BgpPeer_Counters_InOpensPathAny) State ¶
func (n *BgpPeer_Counters_InOpensPathAny) State() ygnmi.WildcardQuery[uint64]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "in-opens" Path from root: "/bgp-peers/bgp-peer/state/counters/in-opens"
type BgpPeer_Counters_InRouteWithdrawPath ¶
type BgpPeer_Counters_InRouteWithdrawPath struct { *ygnmi.NodePath // contains filtered or unexported fields }
BgpPeer_Counters_InRouteWithdrawPath represents the /open-traffic-generator-bgp/bgp-peers/bgp-peer/state/counters/in-route-withdraw YANG schema element.
func (*BgpPeer_Counters_InRouteWithdrawPath) State ¶
func (n *BgpPeer_Counters_InRouteWithdrawPath) State() ygnmi.SingletonQuery[uint64]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "in-route-withdraw" Path from root: "/bgp-peers/bgp-peer/state/counters/in-route-withdraw"
type BgpPeer_Counters_InRouteWithdrawPathAny ¶
type BgpPeer_Counters_InRouteWithdrawPathAny struct { *ygnmi.NodePath // contains filtered or unexported fields }
BgpPeer_Counters_InRouteWithdrawPathAny represents the wildcard version of the /open-traffic-generator-bgp/bgp-peers/bgp-peer/state/counters/in-route-withdraw YANG schema element.
func (*BgpPeer_Counters_InRouteWithdrawPathAny) State ¶
func (n *BgpPeer_Counters_InRouteWithdrawPathAny) State() ygnmi.WildcardQuery[uint64]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "in-route-withdraw" Path from root: "/bgp-peers/bgp-peer/state/counters/in-route-withdraw"
type BgpPeer_Counters_InRoutesPath ¶
type BgpPeer_Counters_InRoutesPath struct { *ygnmi.NodePath // contains filtered or unexported fields }
BgpPeer_Counters_InRoutesPath represents the /open-traffic-generator-bgp/bgp-peers/bgp-peer/state/counters/in-routes YANG schema element.
func (*BgpPeer_Counters_InRoutesPath) State ¶
func (n *BgpPeer_Counters_InRoutesPath) State() ygnmi.SingletonQuery[uint64]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "in-routes" Path from root: "/bgp-peers/bgp-peer/state/counters/in-routes"
type BgpPeer_Counters_InRoutesPathAny ¶
type BgpPeer_Counters_InRoutesPathAny struct { *ygnmi.NodePath // contains filtered or unexported fields }
BgpPeer_Counters_InRoutesPathAny represents the wildcard version of the /open-traffic-generator-bgp/bgp-peers/bgp-peer/state/counters/in-routes YANG schema element.
func (*BgpPeer_Counters_InRoutesPathAny) State ¶
func (n *BgpPeer_Counters_InRoutesPathAny) State() ygnmi.WildcardQuery[uint64]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "in-routes" Path from root: "/bgp-peers/bgp-peer/state/counters/in-routes"
type BgpPeer_Counters_InUpdatesPath ¶
type BgpPeer_Counters_InUpdatesPath struct { *ygnmi.NodePath // contains filtered or unexported fields }
BgpPeer_Counters_InUpdatesPath represents the /open-traffic-generator-bgp/bgp-peers/bgp-peer/state/counters/in-updates YANG schema element.
func (*BgpPeer_Counters_InUpdatesPath) State ¶
func (n *BgpPeer_Counters_InUpdatesPath) State() ygnmi.SingletonQuery[uint64]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "in-updates" Path from root: "/bgp-peers/bgp-peer/state/counters/in-updates"
type BgpPeer_Counters_InUpdatesPathAny ¶
type BgpPeer_Counters_InUpdatesPathAny struct { *ygnmi.NodePath // contains filtered or unexported fields }
BgpPeer_Counters_InUpdatesPathAny represents the wildcard version of the /open-traffic-generator-bgp/bgp-peers/bgp-peer/state/counters/in-updates YANG schema element.
func (*BgpPeer_Counters_InUpdatesPathAny) State ¶
func (n *BgpPeer_Counters_InUpdatesPathAny) State() ygnmi.WildcardQuery[uint64]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "in-updates" Path from root: "/bgp-peers/bgp-peer/state/counters/in-updates"
type BgpPeer_Counters_OutKeepalivesPath ¶
type BgpPeer_Counters_OutKeepalivesPath struct { *ygnmi.NodePath // contains filtered or unexported fields }
BgpPeer_Counters_OutKeepalivesPath represents the /open-traffic-generator-bgp/bgp-peers/bgp-peer/state/counters/out-keepalives YANG schema element.
func (*BgpPeer_Counters_OutKeepalivesPath) State ¶
func (n *BgpPeer_Counters_OutKeepalivesPath) State() ygnmi.SingletonQuery[uint64]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "out-keepalives" Path from root: "/bgp-peers/bgp-peer/state/counters/out-keepalives"
type BgpPeer_Counters_OutKeepalivesPathAny ¶
type BgpPeer_Counters_OutKeepalivesPathAny struct { *ygnmi.NodePath // contains filtered or unexported fields }
BgpPeer_Counters_OutKeepalivesPathAny represents the wildcard version of the /open-traffic-generator-bgp/bgp-peers/bgp-peer/state/counters/out-keepalives YANG schema element.
func (*BgpPeer_Counters_OutKeepalivesPathAny) State ¶
func (n *BgpPeer_Counters_OutKeepalivesPathAny) State() ygnmi.WildcardQuery[uint64]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "out-keepalives" Path from root: "/bgp-peers/bgp-peer/state/counters/out-keepalives"
type BgpPeer_Counters_OutNotificationsPath ¶
type BgpPeer_Counters_OutNotificationsPath struct { *ygnmi.NodePath // contains filtered or unexported fields }
BgpPeer_Counters_OutNotificationsPath represents the /open-traffic-generator-bgp/bgp-peers/bgp-peer/state/counters/out-notifications YANG schema element.
func (*BgpPeer_Counters_OutNotificationsPath) State ¶
func (n *BgpPeer_Counters_OutNotificationsPath) State() ygnmi.SingletonQuery[uint64]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "out-notifications" Path from root: "/bgp-peers/bgp-peer/state/counters/out-notifications"
type BgpPeer_Counters_OutNotificationsPathAny ¶
type BgpPeer_Counters_OutNotificationsPathAny struct { *ygnmi.NodePath // contains filtered or unexported fields }
BgpPeer_Counters_OutNotificationsPathAny represents the wildcard version of the /open-traffic-generator-bgp/bgp-peers/bgp-peer/state/counters/out-notifications YANG schema element.
func (*BgpPeer_Counters_OutNotificationsPathAny) State ¶
func (n *BgpPeer_Counters_OutNotificationsPathAny) State() ygnmi.WildcardQuery[uint64]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "out-notifications" Path from root: "/bgp-peers/bgp-peer/state/counters/out-notifications"
type BgpPeer_Counters_OutOpensPath ¶
type BgpPeer_Counters_OutOpensPath struct { *ygnmi.NodePath // contains filtered or unexported fields }
BgpPeer_Counters_OutOpensPath represents the /open-traffic-generator-bgp/bgp-peers/bgp-peer/state/counters/out-opens YANG schema element.
func (*BgpPeer_Counters_OutOpensPath) State ¶
func (n *BgpPeer_Counters_OutOpensPath) State() ygnmi.SingletonQuery[uint64]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "out-opens" Path from root: "/bgp-peers/bgp-peer/state/counters/out-opens"
type BgpPeer_Counters_OutOpensPathAny ¶
type BgpPeer_Counters_OutOpensPathAny struct { *ygnmi.NodePath // contains filtered or unexported fields }
BgpPeer_Counters_OutOpensPathAny represents the wildcard version of the /open-traffic-generator-bgp/bgp-peers/bgp-peer/state/counters/out-opens YANG schema element.
func (*BgpPeer_Counters_OutOpensPathAny) State ¶
func (n *BgpPeer_Counters_OutOpensPathAny) State() ygnmi.WildcardQuery[uint64]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "out-opens" Path from root: "/bgp-peers/bgp-peer/state/counters/out-opens"
type BgpPeer_Counters_OutRouteWithdrawPath ¶
type BgpPeer_Counters_OutRouteWithdrawPath struct { *ygnmi.NodePath // contains filtered or unexported fields }
BgpPeer_Counters_OutRouteWithdrawPath represents the /open-traffic-generator-bgp/bgp-peers/bgp-peer/state/counters/out-route-withdraw YANG schema element.
func (*BgpPeer_Counters_OutRouteWithdrawPath) State ¶
func (n *BgpPeer_Counters_OutRouteWithdrawPath) State() ygnmi.SingletonQuery[uint64]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "out-route-withdraw" Path from root: "/bgp-peers/bgp-peer/state/counters/out-route-withdraw"
type BgpPeer_Counters_OutRouteWithdrawPathAny ¶
type BgpPeer_Counters_OutRouteWithdrawPathAny struct { *ygnmi.NodePath // contains filtered or unexported fields }
BgpPeer_Counters_OutRouteWithdrawPathAny represents the wildcard version of the /open-traffic-generator-bgp/bgp-peers/bgp-peer/state/counters/out-route-withdraw YANG schema element.
func (*BgpPeer_Counters_OutRouteWithdrawPathAny) State ¶
func (n *BgpPeer_Counters_OutRouteWithdrawPathAny) State() ygnmi.WildcardQuery[uint64]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "out-route-withdraw" Path from root: "/bgp-peers/bgp-peer/state/counters/out-route-withdraw"
type BgpPeer_Counters_OutRoutesPath ¶
type BgpPeer_Counters_OutRoutesPath struct { *ygnmi.NodePath // contains filtered or unexported fields }
BgpPeer_Counters_OutRoutesPath represents the /open-traffic-generator-bgp/bgp-peers/bgp-peer/state/counters/out-routes YANG schema element.
func (*BgpPeer_Counters_OutRoutesPath) State ¶
func (n *BgpPeer_Counters_OutRoutesPath) State() ygnmi.SingletonQuery[uint64]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "out-routes" Path from root: "/bgp-peers/bgp-peer/state/counters/out-routes"
type BgpPeer_Counters_OutRoutesPathAny ¶
type BgpPeer_Counters_OutRoutesPathAny struct { *ygnmi.NodePath // contains filtered or unexported fields }
BgpPeer_Counters_OutRoutesPathAny represents the wildcard version of the /open-traffic-generator-bgp/bgp-peers/bgp-peer/state/counters/out-routes YANG schema element.
func (*BgpPeer_Counters_OutRoutesPathAny) State ¶
func (n *BgpPeer_Counters_OutRoutesPathAny) State() ygnmi.WildcardQuery[uint64]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "out-routes" Path from root: "/bgp-peers/bgp-peer/state/counters/out-routes"
type BgpPeer_Counters_OutUpdatesPath ¶
type BgpPeer_Counters_OutUpdatesPath struct { *ygnmi.NodePath // contains filtered or unexported fields }
BgpPeer_Counters_OutUpdatesPath represents the /open-traffic-generator-bgp/bgp-peers/bgp-peer/state/counters/out-updates YANG schema element.
func (*BgpPeer_Counters_OutUpdatesPath) State ¶
func (n *BgpPeer_Counters_OutUpdatesPath) State() ygnmi.SingletonQuery[uint64]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "out-updates" Path from root: "/bgp-peers/bgp-peer/state/counters/out-updates"
type BgpPeer_Counters_OutUpdatesPathAny ¶
type BgpPeer_Counters_OutUpdatesPathAny struct { *ygnmi.NodePath // contains filtered or unexported fields }
BgpPeer_Counters_OutUpdatesPathAny represents the wildcard version of the /open-traffic-generator-bgp/bgp-peers/bgp-peer/state/counters/out-updates YANG schema element.
func (*BgpPeer_Counters_OutUpdatesPathAny) State ¶
func (n *BgpPeer_Counters_OutUpdatesPathAny) State() ygnmi.WildcardQuery[uint64]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "out-updates" Path from root: "/bgp-peers/bgp-peer/state/counters/out-updates"
type BgpPeer_NamePath ¶
BgpPeer_NamePath represents the /open-traffic-generator-bgp/bgp-peers/bgp-peer/state/name YANG schema element.
func (*BgpPeer_NamePath) Config ¶
func (n *BgpPeer_NamePath) Config() ygnmi.ConfigQuery[string]
Config returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "name" Path from root: ""
func (*BgpPeer_NamePath) State ¶
func (n *BgpPeer_NamePath) State() ygnmi.SingletonQuery[string]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/name" Path from root: "/bgp-peers/bgp-peer/state/name"
type BgpPeer_NamePathAny ¶
BgpPeer_NamePathAny represents the wildcard version of the /open-traffic-generator-bgp/bgp-peers/bgp-peer/state/name YANG schema element.
func (*BgpPeer_NamePathAny) Config ¶
func (n *BgpPeer_NamePathAny) Config() ygnmi.WildcardQuery[string]
Config returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "name" Path from root: ""
func (*BgpPeer_NamePathAny) State ¶
func (n *BgpPeer_NamePathAny) State() ygnmi.WildcardQuery[string]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/name" Path from root: "/bgp-peers/bgp-peer/state/name"
type BgpPeer_SessionStatePath ¶
BgpPeer_SessionStatePath represents the /open-traffic-generator-bgp/bgp-peers/bgp-peer/state/session-state YANG schema element.
func (*BgpPeer_SessionStatePath) State ¶
func (n *BgpPeer_SessionStatePath) State() ygnmi.SingletonQuery[oc.E_BgpPeer_SessionState]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/session-state" Path from root: "/bgp-peers/bgp-peer/state/session-state"
type BgpPeer_SessionStatePathAny ¶
type BgpPeer_SessionStatePathAny struct { *ygnmi.NodePath // contains filtered or unexported fields }
BgpPeer_SessionStatePathAny represents the wildcard version of the /open-traffic-generator-bgp/bgp-peers/bgp-peer/state/session-state YANG schema element.
func (*BgpPeer_SessionStatePathAny) State ¶
func (n *BgpPeer_SessionStatePathAny) State() ygnmi.WildcardQuery[oc.E_BgpPeer_SessionState]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/session-state" Path from root: "/bgp-peers/bgp-peer/state/session-state"
type BgpPeer_UnicastIpv4PrefixPath ¶
BgpPeer_UnicastIpv4PrefixPath represents the /open-traffic-generator-bgp/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix YANG schema element.
func (*BgpPeer_UnicastIpv4PrefixPath) Address ¶
func (n *BgpPeer_UnicastIpv4PrefixPath) Address() *BgpPeer_UnicastIpv4Prefix_AddressPath
Address (leaf): The IPv4 address.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "*/address" Path from root: "/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix/*/address"
func (*BgpPeer_UnicastIpv4PrefixPath) AsPathAny ¶
func (n *BgpPeer_UnicastIpv4PrefixPath) AsPathAny() *BgpPeer_UnicastIpv4Prefix_AsPathPathAny
AsPathAny (list): Unkeyed list of AS PATH segments This attribute identifies the autonomous systems through which routing information carried in this UPDATE message has passed.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/as-path" Path from root: "/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix/state/as-path"
func (*BgpPeer_UnicastIpv4PrefixPath) CommunityAny ¶
func (n *BgpPeer_UnicastIpv4PrefixPath) CommunityAny() *BgpPeer_UnicastIpv4Prefix_CommunityPathAny
CommunityAny (list): Unkeyed list of optional community attributes present in the UPDATE message.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/community" Path from root: "/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix/state/community"
func (*BgpPeer_UnicastIpv4PrefixPath) LocalPreference ¶ added in v0.2.2
func (n *BgpPeer_UnicastIpv4PrefixPath) LocalPreference() *BgpPeer_UnicastIpv4Prefix_LocalPreferencePath
LocalPreference (leaf): The local preference is a well-known attribute and the value is used for route selection. The route with the highest local preference value is preferred.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/local-preference" Path from root: "/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix/state/local-preference"
func (*BgpPeer_UnicastIpv4PrefixPath) MultiExitDiscriminator ¶ added in v0.2.2
func (n *BgpPeer_UnicastIpv4PrefixPath) MultiExitDiscriminator() *BgpPeer_UnicastIpv4Prefix_MultiExitDiscriminatorPath
MultiExitDiscriminator (leaf): The multi exit discriminator (MED) is an optional non-transitive attribute and the value is used for route selection. The route with the lowest MED value is preferred.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/multi-exit-discriminator" Path from root: "/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix/state/multi-exit-discriminator"
func (*BgpPeer_UnicastIpv4PrefixPath) NextHopIpv4Address ¶
func (n *BgpPeer_UnicastIpv4PrefixPath) NextHopIpv4Address() *BgpPeer_UnicastIpv4Prefix_NextHopIpv4AddressPath
NextHopIpv4Address (leaf): The IPv4 address of the egress interface.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/next-hop-ipv4-address" Path from root: "/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix/state/next-hop-ipv4-address"
func (*BgpPeer_UnicastIpv4PrefixPath) NextHopIpv6Address ¶
func (n *BgpPeer_UnicastIpv4PrefixPath) NextHopIpv6Address() *BgpPeer_UnicastIpv4Prefix_NextHopIpv6AddressPath
NextHopIpv6Address (leaf): The IPv6 address of the egress interface.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/next-hop-ipv6-address" Path from root: "/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix/state/next-hop-ipv6-address"
func (*BgpPeer_UnicastIpv4PrefixPath) Origin ¶
func (n *BgpPeer_UnicastIpv4PrefixPath) Origin() *BgpPeer_UnicastIpv4Prefix_OriginPath
Origin (leaf): The origin of the prefix.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "*/origin" Path from root: "/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix/*/origin"
func (*BgpPeer_UnicastIpv4PrefixPath) PathId ¶
func (n *BgpPeer_UnicastIpv4PrefixPath) PathId() *BgpPeer_UnicastIpv4Prefix_PathIdPath
PathId (leaf): If the route is learned from a neighbor, the path-id corresponds to the path-id for the route in the corresponding adj-rib-in-post table. If the route is injected from another protocol, or the neighbor does not support BGP add-paths, the path-id should be set to zero, also the default value.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "*/path-id" Path from root: "/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix/*/path-id"
func (*BgpPeer_UnicastIpv4PrefixPath) PrefixLength ¶
func (n *BgpPeer_UnicastIpv4PrefixPath) PrefixLength() *BgpPeer_UnicastIpv4Prefix_PrefixLengthPath
PrefixLength (leaf): The prefix length.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "*/prefix-length" Path from root: "/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix/*/prefix-length"
func (*BgpPeer_UnicastIpv4PrefixPath) State ¶
func (n *BgpPeer_UnicastIpv4PrefixPath) State() ygnmi.SingletonQuery[*oc.BgpPeer_UnicastIpv4Prefix]
State returns a Query that can be used in gNMI operations.
type BgpPeer_UnicastIpv4PrefixPathAny ¶
BgpPeer_UnicastIpv4PrefixPathAny represents the wildcard version of the /open-traffic-generator-bgp/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix YANG schema element.
func (*BgpPeer_UnicastIpv4PrefixPathAny) Address ¶
func (n *BgpPeer_UnicastIpv4PrefixPathAny) Address() *BgpPeer_UnicastIpv4Prefix_AddressPathAny
Address (leaf): The IPv4 address.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "*/address" Path from root: "/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix/*/address"
func (*BgpPeer_UnicastIpv4PrefixPathAny) AsPathAny ¶
func (n *BgpPeer_UnicastIpv4PrefixPathAny) AsPathAny() *BgpPeer_UnicastIpv4Prefix_AsPathPathAny
AsPathAny (list): Unkeyed list of AS PATH segments This attribute identifies the autonomous systems through which routing information carried in this UPDATE message has passed.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/as-path" Path from root: "/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix/state/as-path"
func (*BgpPeer_UnicastIpv4PrefixPathAny) CommunityAny ¶
func (n *BgpPeer_UnicastIpv4PrefixPathAny) CommunityAny() *BgpPeer_UnicastIpv4Prefix_CommunityPathAny
CommunityAny (list): Unkeyed list of optional community attributes present in the UPDATE message.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/community" Path from root: "/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix/state/community"
func (*BgpPeer_UnicastIpv4PrefixPathAny) LocalPreference ¶ added in v0.2.2
func (n *BgpPeer_UnicastIpv4PrefixPathAny) LocalPreference() *BgpPeer_UnicastIpv4Prefix_LocalPreferencePathAny
LocalPreference (leaf): The local preference is a well-known attribute and the value is used for route selection. The route with the highest local preference value is preferred.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/local-preference" Path from root: "/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix/state/local-preference"
func (*BgpPeer_UnicastIpv4PrefixPathAny) MultiExitDiscriminator ¶ added in v0.2.2
func (n *BgpPeer_UnicastIpv4PrefixPathAny) MultiExitDiscriminator() *BgpPeer_UnicastIpv4Prefix_MultiExitDiscriminatorPathAny
MultiExitDiscriminator (leaf): The multi exit discriminator (MED) is an optional non-transitive attribute and the value is used for route selection. The route with the lowest MED value is preferred.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/multi-exit-discriminator" Path from root: "/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix/state/multi-exit-discriminator"
func (*BgpPeer_UnicastIpv4PrefixPathAny) NextHopIpv4Address ¶
func (n *BgpPeer_UnicastIpv4PrefixPathAny) NextHopIpv4Address() *BgpPeer_UnicastIpv4Prefix_NextHopIpv4AddressPathAny
NextHopIpv4Address (leaf): The IPv4 address of the egress interface.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/next-hop-ipv4-address" Path from root: "/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix/state/next-hop-ipv4-address"
func (*BgpPeer_UnicastIpv4PrefixPathAny) NextHopIpv6Address ¶
func (n *BgpPeer_UnicastIpv4PrefixPathAny) NextHopIpv6Address() *BgpPeer_UnicastIpv4Prefix_NextHopIpv6AddressPathAny
NextHopIpv6Address (leaf): The IPv6 address of the egress interface.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/next-hop-ipv6-address" Path from root: "/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix/state/next-hop-ipv6-address"
func (*BgpPeer_UnicastIpv4PrefixPathAny) Origin ¶
func (n *BgpPeer_UnicastIpv4PrefixPathAny) Origin() *BgpPeer_UnicastIpv4Prefix_OriginPathAny
Origin (leaf): The origin of the prefix.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "*/origin" Path from root: "/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix/*/origin"
func (*BgpPeer_UnicastIpv4PrefixPathAny) PathId ¶
func (n *BgpPeer_UnicastIpv4PrefixPathAny) PathId() *BgpPeer_UnicastIpv4Prefix_PathIdPathAny
PathId (leaf): If the route is learned from a neighbor, the path-id corresponds to the path-id for the route in the corresponding adj-rib-in-post table. If the route is injected from another protocol, or the neighbor does not support BGP add-paths, the path-id should be set to zero, also the default value.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "*/path-id" Path from root: "/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix/*/path-id"
func (*BgpPeer_UnicastIpv4PrefixPathAny) PrefixLength ¶
func (n *BgpPeer_UnicastIpv4PrefixPathAny) PrefixLength() *BgpPeer_UnicastIpv4Prefix_PrefixLengthPathAny
PrefixLength (leaf): The prefix length.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "*/prefix-length" Path from root: "/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix/*/prefix-length"
func (*BgpPeer_UnicastIpv4PrefixPathAny) State ¶
func (n *BgpPeer_UnicastIpv4PrefixPathAny) State() ygnmi.WildcardQuery[*oc.BgpPeer_UnicastIpv4Prefix]
State returns a Query that can be used in gNMI operations.
func (*BgpPeer_UnicastIpv4PrefixPathAny) WithAddress ¶
func (n *BgpPeer_UnicastIpv4PrefixPathAny) WithAddress(Address string) *BgpPeer_UnicastIpv4PrefixPathAny
WithAddress sets BgpPeer_UnicastIpv4PrefixPathAny's key "address" to the specified value. Address: string
func (*BgpPeer_UnicastIpv4PrefixPathAny) WithOrigin ¶
func (n *BgpPeer_UnicastIpv4PrefixPathAny) WithOrigin(Origin oc.E_UnicastIpv4Prefix_Origin) *BgpPeer_UnicastIpv4PrefixPathAny
WithOrigin sets BgpPeer_UnicastIpv4PrefixPathAny's key "origin" to the specified value. Origin: oc.E_UnicastIpv4Prefix_Origin
func (*BgpPeer_UnicastIpv4PrefixPathAny) WithPathId ¶
func (n *BgpPeer_UnicastIpv4PrefixPathAny) WithPathId(PathId uint32) *BgpPeer_UnicastIpv4PrefixPathAny
WithPathId sets BgpPeer_UnicastIpv4PrefixPathAny's key "path-id" to the specified value. PathId: uint32
func (*BgpPeer_UnicastIpv4PrefixPathAny) WithPrefixLength ¶
func (n *BgpPeer_UnicastIpv4PrefixPathAny) WithPrefixLength(PrefixLength uint32) *BgpPeer_UnicastIpv4PrefixPathAny
WithPrefixLength sets BgpPeer_UnicastIpv4PrefixPathAny's key "prefix-length" to the specified value. PrefixLength: uint32
type BgpPeer_UnicastIpv4PrefixPathMap ¶ added in v0.1.24
BgpPeer_UnicastIpv4PrefixPathMap represents the /open-traffic-generator-bgp/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix YANG schema element.
type BgpPeer_UnicastIpv4PrefixPathMapAny ¶ added in v0.1.24
BgpPeer_UnicastIpv4PrefixPathMapAny represents the wildcard version of the /open-traffic-generator-bgp/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix YANG schema element.
type BgpPeer_UnicastIpv4Prefix_AddressPath ¶
type BgpPeer_UnicastIpv4Prefix_AddressPath struct { *ygnmi.NodePath // contains filtered or unexported fields }
BgpPeer_UnicastIpv4Prefix_AddressPath represents the /open-traffic-generator-bgp/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix/state/address YANG schema element.
func (*BgpPeer_UnicastIpv4Prefix_AddressPath) Config ¶
func (n *BgpPeer_UnicastIpv4Prefix_AddressPath) Config() ygnmi.ConfigQuery[string]
Config returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "address" Path from root: ""
func (*BgpPeer_UnicastIpv4Prefix_AddressPath) State ¶
func (n *BgpPeer_UnicastIpv4Prefix_AddressPath) State() ygnmi.SingletonQuery[string]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/address" Path from root: "/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix/state/address"
type BgpPeer_UnicastIpv4Prefix_AddressPathAny ¶
type BgpPeer_UnicastIpv4Prefix_AddressPathAny struct { *ygnmi.NodePath // contains filtered or unexported fields }
BgpPeer_UnicastIpv4Prefix_AddressPathAny represents the wildcard version of the /open-traffic-generator-bgp/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix/state/address YANG schema element.
func (*BgpPeer_UnicastIpv4Prefix_AddressPathAny) Config ¶
func (n *BgpPeer_UnicastIpv4Prefix_AddressPathAny) Config() ygnmi.WildcardQuery[string]
Config returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "address" Path from root: ""
func (*BgpPeer_UnicastIpv4Prefix_AddressPathAny) State ¶
func (n *BgpPeer_UnicastIpv4Prefix_AddressPathAny) State() ygnmi.WildcardQuery[string]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/address" Path from root: "/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix/state/address"
type BgpPeer_UnicastIpv4Prefix_AsPathPath ¶
BgpPeer_UnicastIpv4Prefix_AsPathPath represents the /open-traffic-generator-bgp/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix/state/as-path YANG schema element.
func (*BgpPeer_UnicastIpv4Prefix_AsPathPath) State ¶
func (n *BgpPeer_UnicastIpv4Prefix_AsPathPath) State() ygnmi.SingletonQuery[*oc.BgpPeer_UnicastIpv4Prefix_AsPath]
State returns a Query that can be used in gNMI operations.
type BgpPeer_UnicastIpv4Prefix_AsPathPathAny ¶
BgpPeer_UnicastIpv4Prefix_AsPathPathAny represents the wildcard version of the /open-traffic-generator-bgp/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix/state/as-path YANG schema element.
func (*BgpPeer_UnicastIpv4Prefix_AsPathPathAny) State ¶
func (n *BgpPeer_UnicastIpv4Prefix_AsPathPathAny) State() ygnmi.WildcardQuery[*oc.BgpPeer_UnicastIpv4Prefix_AsPath]
State returns a Query that can be used in gNMI operations.
type BgpPeer_UnicastIpv4Prefix_CommunityPath ¶
BgpPeer_UnicastIpv4Prefix_CommunityPath represents the /open-traffic-generator-bgp/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix/state/community YANG schema element.
func (*BgpPeer_UnicastIpv4Prefix_CommunityPath) State ¶
func (n *BgpPeer_UnicastIpv4Prefix_CommunityPath) State() ygnmi.SingletonQuery[*oc.BgpPeer_UnicastIpv4Prefix_Community]
State returns a Query that can be used in gNMI operations.
type BgpPeer_UnicastIpv4Prefix_CommunityPathAny ¶
BgpPeer_UnicastIpv4Prefix_CommunityPathAny represents the wildcard version of the /open-traffic-generator-bgp/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix/state/community YANG schema element.
func (*BgpPeer_UnicastIpv4Prefix_CommunityPathAny) State ¶
func (n *BgpPeer_UnicastIpv4Prefix_CommunityPathAny) State() ygnmi.WildcardQuery[*oc.BgpPeer_UnicastIpv4Prefix_Community]
State returns a Query that can be used in gNMI operations.
type BgpPeer_UnicastIpv4Prefix_LocalPreferencePath ¶ added in v0.2.2
type BgpPeer_UnicastIpv4Prefix_LocalPreferencePath struct { *ygnmi.NodePath // contains filtered or unexported fields }
BgpPeer_UnicastIpv4Prefix_LocalPreferencePath represents the /open-traffic-generator-bgp/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix/state/local-preference YANG schema element.
func (*BgpPeer_UnicastIpv4Prefix_LocalPreferencePath) State ¶ added in v0.2.2
func (n *BgpPeer_UnicastIpv4Prefix_LocalPreferencePath) State() ygnmi.SingletonQuery[uint32]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/local-preference" Path from root: "/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix/state/local-preference"
type BgpPeer_UnicastIpv4Prefix_LocalPreferencePathAny ¶ added in v0.2.2
type BgpPeer_UnicastIpv4Prefix_LocalPreferencePathAny struct { *ygnmi.NodePath // contains filtered or unexported fields }
BgpPeer_UnicastIpv4Prefix_LocalPreferencePathAny represents the wildcard version of the /open-traffic-generator-bgp/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix/state/local-preference YANG schema element.
func (*BgpPeer_UnicastIpv4Prefix_LocalPreferencePathAny) State ¶ added in v0.2.2
func (n *BgpPeer_UnicastIpv4Prefix_LocalPreferencePathAny) State() ygnmi.WildcardQuery[uint32]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/local-preference" Path from root: "/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix/state/local-preference"
type BgpPeer_UnicastIpv4Prefix_MultiExitDiscriminatorPath ¶ added in v0.2.2
type BgpPeer_UnicastIpv4Prefix_MultiExitDiscriminatorPath struct { *ygnmi.NodePath // contains filtered or unexported fields }
BgpPeer_UnicastIpv4Prefix_MultiExitDiscriminatorPath represents the /open-traffic-generator-bgp/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix/state/multi-exit-discriminator YANG schema element.
func (*BgpPeer_UnicastIpv4Prefix_MultiExitDiscriminatorPath) State ¶ added in v0.2.2
func (n *BgpPeer_UnicastIpv4Prefix_MultiExitDiscriminatorPath) State() ygnmi.SingletonQuery[uint32]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/multi-exit-discriminator" Path from root: "/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix/state/multi-exit-discriminator"
type BgpPeer_UnicastIpv4Prefix_MultiExitDiscriminatorPathAny ¶ added in v0.2.2
type BgpPeer_UnicastIpv4Prefix_MultiExitDiscriminatorPathAny struct { *ygnmi.NodePath // contains filtered or unexported fields }
BgpPeer_UnicastIpv4Prefix_MultiExitDiscriminatorPathAny represents the wildcard version of the /open-traffic-generator-bgp/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix/state/multi-exit-discriminator YANG schema element.
func (*BgpPeer_UnicastIpv4Prefix_MultiExitDiscriminatorPathAny) State ¶ added in v0.2.2
func (n *BgpPeer_UnicastIpv4Prefix_MultiExitDiscriminatorPathAny) State() ygnmi.WildcardQuery[uint32]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/multi-exit-discriminator" Path from root: "/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix/state/multi-exit-discriminator"
type BgpPeer_UnicastIpv4Prefix_NextHopIpv4AddressPath ¶
type BgpPeer_UnicastIpv4Prefix_NextHopIpv4AddressPath struct { *ygnmi.NodePath // contains filtered or unexported fields }
BgpPeer_UnicastIpv4Prefix_NextHopIpv4AddressPath represents the /open-traffic-generator-bgp/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix/state/next-hop-ipv4-address YANG schema element.
func (*BgpPeer_UnicastIpv4Prefix_NextHopIpv4AddressPath) State ¶
func (n *BgpPeer_UnicastIpv4Prefix_NextHopIpv4AddressPath) State() ygnmi.SingletonQuery[string]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/next-hop-ipv4-address" Path from root: "/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix/state/next-hop-ipv4-address"
type BgpPeer_UnicastIpv4Prefix_NextHopIpv4AddressPathAny ¶
type BgpPeer_UnicastIpv4Prefix_NextHopIpv4AddressPathAny struct { *ygnmi.NodePath // contains filtered or unexported fields }
BgpPeer_UnicastIpv4Prefix_NextHopIpv4AddressPathAny represents the wildcard version of the /open-traffic-generator-bgp/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix/state/next-hop-ipv4-address YANG schema element.
func (*BgpPeer_UnicastIpv4Prefix_NextHopIpv4AddressPathAny) State ¶
func (n *BgpPeer_UnicastIpv4Prefix_NextHopIpv4AddressPathAny) State() ygnmi.WildcardQuery[string]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/next-hop-ipv4-address" Path from root: "/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix/state/next-hop-ipv4-address"
type BgpPeer_UnicastIpv4Prefix_NextHopIpv6AddressPath ¶
type BgpPeer_UnicastIpv4Prefix_NextHopIpv6AddressPath struct { *ygnmi.NodePath // contains filtered or unexported fields }
BgpPeer_UnicastIpv4Prefix_NextHopIpv6AddressPath represents the /open-traffic-generator-bgp/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix/state/next-hop-ipv6-address YANG schema element.
func (*BgpPeer_UnicastIpv4Prefix_NextHopIpv6AddressPath) State ¶
func (n *BgpPeer_UnicastIpv4Prefix_NextHopIpv6AddressPath) State() ygnmi.SingletonQuery[string]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/next-hop-ipv6-address" Path from root: "/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix/state/next-hop-ipv6-address"
type BgpPeer_UnicastIpv4Prefix_NextHopIpv6AddressPathAny ¶
type BgpPeer_UnicastIpv4Prefix_NextHopIpv6AddressPathAny struct { *ygnmi.NodePath // contains filtered or unexported fields }
BgpPeer_UnicastIpv4Prefix_NextHopIpv6AddressPathAny represents the wildcard version of the /open-traffic-generator-bgp/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix/state/next-hop-ipv6-address YANG schema element.
func (*BgpPeer_UnicastIpv4Prefix_NextHopIpv6AddressPathAny) State ¶
func (n *BgpPeer_UnicastIpv4Prefix_NextHopIpv6AddressPathAny) State() ygnmi.WildcardQuery[string]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/next-hop-ipv6-address" Path from root: "/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix/state/next-hop-ipv6-address"
type BgpPeer_UnicastIpv4Prefix_OriginPath ¶
type BgpPeer_UnicastIpv4Prefix_OriginPath struct { *ygnmi.NodePath // contains filtered or unexported fields }
BgpPeer_UnicastIpv4Prefix_OriginPath represents the /open-traffic-generator-bgp/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix/state/origin YANG schema element.
func (*BgpPeer_UnicastIpv4Prefix_OriginPath) Config ¶
func (n *BgpPeer_UnicastIpv4Prefix_OriginPath) Config() ygnmi.ConfigQuery[oc.E_UnicastIpv4Prefix_Origin]
Config returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "origin" Path from root: ""
func (*BgpPeer_UnicastIpv4Prefix_OriginPath) State ¶
func (n *BgpPeer_UnicastIpv4Prefix_OriginPath) State() ygnmi.SingletonQuery[oc.E_UnicastIpv4Prefix_Origin]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/origin" Path from root: "/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix/state/origin"
type BgpPeer_UnicastIpv4Prefix_OriginPathAny ¶
type BgpPeer_UnicastIpv4Prefix_OriginPathAny struct { *ygnmi.NodePath // contains filtered or unexported fields }
BgpPeer_UnicastIpv4Prefix_OriginPathAny represents the wildcard version of the /open-traffic-generator-bgp/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix/state/origin YANG schema element.
func (*BgpPeer_UnicastIpv4Prefix_OriginPathAny) Config ¶
func (n *BgpPeer_UnicastIpv4Prefix_OriginPathAny) Config() ygnmi.WildcardQuery[oc.E_UnicastIpv4Prefix_Origin]
Config returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "origin" Path from root: ""
func (*BgpPeer_UnicastIpv4Prefix_OriginPathAny) State ¶
func (n *BgpPeer_UnicastIpv4Prefix_OriginPathAny) State() ygnmi.WildcardQuery[oc.E_UnicastIpv4Prefix_Origin]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/origin" Path from root: "/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix/state/origin"
type BgpPeer_UnicastIpv4Prefix_PathIdPath ¶
type BgpPeer_UnicastIpv4Prefix_PathIdPath struct { *ygnmi.NodePath // contains filtered or unexported fields }
BgpPeer_UnicastIpv4Prefix_PathIdPath represents the /open-traffic-generator-bgp/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix/state/path-id YANG schema element.
func (*BgpPeer_UnicastIpv4Prefix_PathIdPath) Config ¶
func (n *BgpPeer_UnicastIpv4Prefix_PathIdPath) Config() ygnmi.ConfigQuery[uint32]
Config returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "path-id" Path from root: ""
func (*BgpPeer_UnicastIpv4Prefix_PathIdPath) State ¶
func (n *BgpPeer_UnicastIpv4Prefix_PathIdPath) State() ygnmi.SingletonQuery[uint32]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/path-id" Path from root: "/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix/state/path-id"
type BgpPeer_UnicastIpv4Prefix_PathIdPathAny ¶
type BgpPeer_UnicastIpv4Prefix_PathIdPathAny struct { *ygnmi.NodePath // contains filtered or unexported fields }
BgpPeer_UnicastIpv4Prefix_PathIdPathAny represents the wildcard version of the /open-traffic-generator-bgp/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix/state/path-id YANG schema element.
func (*BgpPeer_UnicastIpv4Prefix_PathIdPathAny) Config ¶
func (n *BgpPeer_UnicastIpv4Prefix_PathIdPathAny) Config() ygnmi.WildcardQuery[uint32]
Config returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "path-id" Path from root: ""
func (*BgpPeer_UnicastIpv4Prefix_PathIdPathAny) State ¶
func (n *BgpPeer_UnicastIpv4Prefix_PathIdPathAny) State() ygnmi.WildcardQuery[uint32]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/path-id" Path from root: "/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix/state/path-id"
type BgpPeer_UnicastIpv4Prefix_PrefixLengthPath ¶
type BgpPeer_UnicastIpv4Prefix_PrefixLengthPath struct { *ygnmi.NodePath // contains filtered or unexported fields }
BgpPeer_UnicastIpv4Prefix_PrefixLengthPath represents the /open-traffic-generator-bgp/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix/state/prefix-length YANG schema element.
func (*BgpPeer_UnicastIpv4Prefix_PrefixLengthPath) Config ¶
func (n *BgpPeer_UnicastIpv4Prefix_PrefixLengthPath) Config() ygnmi.ConfigQuery[uint32]
Config returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "prefix-length" Path from root: ""
func (*BgpPeer_UnicastIpv4Prefix_PrefixLengthPath) State ¶
func (n *BgpPeer_UnicastIpv4Prefix_PrefixLengthPath) State() ygnmi.SingletonQuery[uint32]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/prefix-length" Path from root: "/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix/state/prefix-length"
type BgpPeer_UnicastIpv4Prefix_PrefixLengthPathAny ¶
type BgpPeer_UnicastIpv4Prefix_PrefixLengthPathAny struct { *ygnmi.NodePath // contains filtered or unexported fields }
BgpPeer_UnicastIpv4Prefix_PrefixLengthPathAny represents the wildcard version of the /open-traffic-generator-bgp/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix/state/prefix-length YANG schema element.
func (*BgpPeer_UnicastIpv4Prefix_PrefixLengthPathAny) Config ¶
func (n *BgpPeer_UnicastIpv4Prefix_PrefixLengthPathAny) Config() ygnmi.WildcardQuery[uint32]
Config returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "prefix-length" Path from root: ""
func (*BgpPeer_UnicastIpv4Prefix_PrefixLengthPathAny) State ¶
func (n *BgpPeer_UnicastIpv4Prefix_PrefixLengthPathAny) State() ygnmi.WildcardQuery[uint32]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/prefix-length" Path from root: "/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix/state/prefix-length"
type BgpPeer_UnicastIpv6PrefixPath ¶
BgpPeer_UnicastIpv6PrefixPath represents the /open-traffic-generator-bgp/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix YANG schema element.
func (*BgpPeer_UnicastIpv6PrefixPath) Address ¶
func (n *BgpPeer_UnicastIpv6PrefixPath) Address() *BgpPeer_UnicastIpv6Prefix_AddressPath
Address (leaf): The IPv6 address.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "*/address" Path from root: "/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix/*/address"
func (*BgpPeer_UnicastIpv6PrefixPath) AsPathAny ¶
func (n *BgpPeer_UnicastIpv6PrefixPath) AsPathAny() *BgpPeer_UnicastIpv6Prefix_AsPathPathAny
AsPathAny (list): Unkeyed list of AS PATH segments This attribute identifies the autonomous systems through which routing information carried in this UPDATE message has passed.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/as-path" Path from root: "/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix/state/as-path"
func (*BgpPeer_UnicastIpv6PrefixPath) CommunityAny ¶
func (n *BgpPeer_UnicastIpv6PrefixPath) CommunityAny() *BgpPeer_UnicastIpv6Prefix_CommunityPathAny
CommunityAny (list): Unkeyed list of optional community attributes present in the UPDATE message.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/community" Path from root: "/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix/state/community"
func (*BgpPeer_UnicastIpv6PrefixPath) LocalPreference ¶ added in v0.2.2
func (n *BgpPeer_UnicastIpv6PrefixPath) LocalPreference() *BgpPeer_UnicastIpv6Prefix_LocalPreferencePath
LocalPreference (leaf): The local preference is a well-known attribute and the value is used for route selection. The route with the highest local preference value is preferred.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/local-preference" Path from root: "/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix/state/local-preference"
func (*BgpPeer_UnicastIpv6PrefixPath) MultiExitDiscriminator ¶ added in v0.2.2
func (n *BgpPeer_UnicastIpv6PrefixPath) MultiExitDiscriminator() *BgpPeer_UnicastIpv6Prefix_MultiExitDiscriminatorPath
MultiExitDiscriminator (leaf): The multi exit discriminator (MED) is an optional non-transitive attribute and the value is used for route selection. The route with the lowest MED value is preferred.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/multi-exit-discriminator" Path from root: "/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix/state/multi-exit-discriminator"
func (*BgpPeer_UnicastIpv6PrefixPath) NextHopIpv4Address ¶
func (n *BgpPeer_UnicastIpv6PrefixPath) NextHopIpv4Address() *BgpPeer_UnicastIpv6Prefix_NextHopIpv4AddressPath
NextHopIpv4Address (leaf): The IPv4 address of the egress interface.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/next-hop-ipv4-address" Path from root: "/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix/state/next-hop-ipv4-address"
func (*BgpPeer_UnicastIpv6PrefixPath) NextHopIpv6Address ¶
func (n *BgpPeer_UnicastIpv6PrefixPath) NextHopIpv6Address() *BgpPeer_UnicastIpv6Prefix_NextHopIpv6AddressPath
NextHopIpv6Address (leaf): The IPv6 address of the egress interface.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/next-hop-ipv6-address" Path from root: "/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix/state/next-hop-ipv6-address"
func (*BgpPeer_UnicastIpv6PrefixPath) Origin ¶
func (n *BgpPeer_UnicastIpv6PrefixPath) Origin() *BgpPeer_UnicastIpv6Prefix_OriginPath
Origin (leaf): The origin of the prefix.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "*/origin" Path from root: "/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix/*/origin"
func (*BgpPeer_UnicastIpv6PrefixPath) PathId ¶
func (n *BgpPeer_UnicastIpv6PrefixPath) PathId() *BgpPeer_UnicastIpv6Prefix_PathIdPath
PathId (leaf): If the route is learned from a neighbor, the path-id corresponds to the path-id for the route in the corresponding adj-rib-in-post table. If the route is injected from another protocol, or the neighbor does not support BGP add-paths, the path-id should be set to zero, also the default value.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "*/path-id" Path from root: "/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix/*/path-id"
func (*BgpPeer_UnicastIpv6PrefixPath) PrefixLength ¶
func (n *BgpPeer_UnicastIpv6PrefixPath) PrefixLength() *BgpPeer_UnicastIpv6Prefix_PrefixLengthPath
PrefixLength (leaf): The prefix length.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "*/prefix-length" Path from root: "/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix/*/prefix-length"
func (*BgpPeer_UnicastIpv6PrefixPath) State ¶
func (n *BgpPeer_UnicastIpv6PrefixPath) State() ygnmi.SingletonQuery[*oc.BgpPeer_UnicastIpv6Prefix]
State returns a Query that can be used in gNMI operations.
type BgpPeer_UnicastIpv6PrefixPathAny ¶
BgpPeer_UnicastIpv6PrefixPathAny represents the wildcard version of the /open-traffic-generator-bgp/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix YANG schema element.
func (*BgpPeer_UnicastIpv6PrefixPathAny) Address ¶
func (n *BgpPeer_UnicastIpv6PrefixPathAny) Address() *BgpPeer_UnicastIpv6Prefix_AddressPathAny
Address (leaf): The IPv6 address.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "*/address" Path from root: "/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix/*/address"
func (*BgpPeer_UnicastIpv6PrefixPathAny) AsPathAny ¶
func (n *BgpPeer_UnicastIpv6PrefixPathAny) AsPathAny() *BgpPeer_UnicastIpv6Prefix_AsPathPathAny
AsPathAny (list): Unkeyed list of AS PATH segments This attribute identifies the autonomous systems through which routing information carried in this UPDATE message has passed.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/as-path" Path from root: "/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix/state/as-path"
func (*BgpPeer_UnicastIpv6PrefixPathAny) CommunityAny ¶
func (n *BgpPeer_UnicastIpv6PrefixPathAny) CommunityAny() *BgpPeer_UnicastIpv6Prefix_CommunityPathAny
CommunityAny (list): Unkeyed list of optional community attributes present in the UPDATE message.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/community" Path from root: "/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix/state/community"
func (*BgpPeer_UnicastIpv6PrefixPathAny) LocalPreference ¶ added in v0.2.2
func (n *BgpPeer_UnicastIpv6PrefixPathAny) LocalPreference() *BgpPeer_UnicastIpv6Prefix_LocalPreferencePathAny
LocalPreference (leaf): The local preference is a well-known attribute and the value is used for route selection. The route with the highest local preference value is preferred.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/local-preference" Path from root: "/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix/state/local-preference"
func (*BgpPeer_UnicastIpv6PrefixPathAny) MultiExitDiscriminator ¶ added in v0.2.2
func (n *BgpPeer_UnicastIpv6PrefixPathAny) MultiExitDiscriminator() *BgpPeer_UnicastIpv6Prefix_MultiExitDiscriminatorPathAny
MultiExitDiscriminator (leaf): The multi exit discriminator (MED) is an optional non-transitive attribute and the value is used for route selection. The route with the lowest MED value is preferred.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/multi-exit-discriminator" Path from root: "/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix/state/multi-exit-discriminator"
func (*BgpPeer_UnicastIpv6PrefixPathAny) NextHopIpv4Address ¶
func (n *BgpPeer_UnicastIpv6PrefixPathAny) NextHopIpv4Address() *BgpPeer_UnicastIpv6Prefix_NextHopIpv4AddressPathAny
NextHopIpv4Address (leaf): The IPv4 address of the egress interface.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/next-hop-ipv4-address" Path from root: "/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix/state/next-hop-ipv4-address"
func (*BgpPeer_UnicastIpv6PrefixPathAny) NextHopIpv6Address ¶
func (n *BgpPeer_UnicastIpv6PrefixPathAny) NextHopIpv6Address() *BgpPeer_UnicastIpv6Prefix_NextHopIpv6AddressPathAny
NextHopIpv6Address (leaf): The IPv6 address of the egress interface.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/next-hop-ipv6-address" Path from root: "/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix/state/next-hop-ipv6-address"
func (*BgpPeer_UnicastIpv6PrefixPathAny) Origin ¶
func (n *BgpPeer_UnicastIpv6PrefixPathAny) Origin() *BgpPeer_UnicastIpv6Prefix_OriginPathAny
Origin (leaf): The origin of the prefix.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "*/origin" Path from root: "/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix/*/origin"
func (*BgpPeer_UnicastIpv6PrefixPathAny) PathId ¶
func (n *BgpPeer_UnicastIpv6PrefixPathAny) PathId() *BgpPeer_UnicastIpv6Prefix_PathIdPathAny
PathId (leaf): If the route is learned from a neighbor, the path-id corresponds to the path-id for the route in the corresponding adj-rib-in-post table. If the route is injected from another protocol, or the neighbor does not support BGP add-paths, the path-id should be set to zero, also the default value.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "*/path-id" Path from root: "/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix/*/path-id"
func (*BgpPeer_UnicastIpv6PrefixPathAny) PrefixLength ¶
func (n *BgpPeer_UnicastIpv6PrefixPathAny) PrefixLength() *BgpPeer_UnicastIpv6Prefix_PrefixLengthPathAny
PrefixLength (leaf): The prefix length.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "*/prefix-length" Path from root: "/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix/*/prefix-length"
func (*BgpPeer_UnicastIpv6PrefixPathAny) State ¶
func (n *BgpPeer_UnicastIpv6PrefixPathAny) State() ygnmi.WildcardQuery[*oc.BgpPeer_UnicastIpv6Prefix]
State returns a Query that can be used in gNMI operations.
func (*BgpPeer_UnicastIpv6PrefixPathAny) WithAddress ¶
func (n *BgpPeer_UnicastIpv6PrefixPathAny) WithAddress(Address string) *BgpPeer_UnicastIpv6PrefixPathAny
WithAddress sets BgpPeer_UnicastIpv6PrefixPathAny's key "address" to the specified value. Address: string
func (*BgpPeer_UnicastIpv6PrefixPathAny) WithOrigin ¶
func (n *BgpPeer_UnicastIpv6PrefixPathAny) WithOrigin(Origin oc.E_UnicastIpv6Prefix_Origin) *BgpPeer_UnicastIpv6PrefixPathAny
WithOrigin sets BgpPeer_UnicastIpv6PrefixPathAny's key "origin" to the specified value. Origin: oc.E_UnicastIpv6Prefix_Origin
func (*BgpPeer_UnicastIpv6PrefixPathAny) WithPathId ¶
func (n *BgpPeer_UnicastIpv6PrefixPathAny) WithPathId(PathId uint32) *BgpPeer_UnicastIpv6PrefixPathAny
WithPathId sets BgpPeer_UnicastIpv6PrefixPathAny's key "path-id" to the specified value. PathId: uint32
func (*BgpPeer_UnicastIpv6PrefixPathAny) WithPrefixLength ¶
func (n *BgpPeer_UnicastIpv6PrefixPathAny) WithPrefixLength(PrefixLength uint32) *BgpPeer_UnicastIpv6PrefixPathAny
WithPrefixLength sets BgpPeer_UnicastIpv6PrefixPathAny's key "prefix-length" to the specified value. PrefixLength: uint32
type BgpPeer_UnicastIpv6PrefixPathMap ¶ added in v0.1.24
BgpPeer_UnicastIpv6PrefixPathMap represents the /open-traffic-generator-bgp/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix YANG schema element.
type BgpPeer_UnicastIpv6PrefixPathMapAny ¶ added in v0.1.24
BgpPeer_UnicastIpv6PrefixPathMapAny represents the wildcard version of the /open-traffic-generator-bgp/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix YANG schema element.
type BgpPeer_UnicastIpv6Prefix_AddressPath ¶
type BgpPeer_UnicastIpv6Prefix_AddressPath struct { *ygnmi.NodePath // contains filtered or unexported fields }
BgpPeer_UnicastIpv6Prefix_AddressPath represents the /open-traffic-generator-bgp/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix/state/address YANG schema element.
func (*BgpPeer_UnicastIpv6Prefix_AddressPath) Config ¶
func (n *BgpPeer_UnicastIpv6Prefix_AddressPath) Config() ygnmi.ConfigQuery[string]
Config returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "address" Path from root: ""
func (*BgpPeer_UnicastIpv6Prefix_AddressPath) State ¶
func (n *BgpPeer_UnicastIpv6Prefix_AddressPath) State() ygnmi.SingletonQuery[string]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/address" Path from root: "/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix/state/address"
type BgpPeer_UnicastIpv6Prefix_AddressPathAny ¶
type BgpPeer_UnicastIpv6Prefix_AddressPathAny struct { *ygnmi.NodePath // contains filtered or unexported fields }
BgpPeer_UnicastIpv6Prefix_AddressPathAny represents the wildcard version of the /open-traffic-generator-bgp/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix/state/address YANG schema element.
func (*BgpPeer_UnicastIpv6Prefix_AddressPathAny) Config ¶
func (n *BgpPeer_UnicastIpv6Prefix_AddressPathAny) Config() ygnmi.WildcardQuery[string]
Config returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "address" Path from root: ""
func (*BgpPeer_UnicastIpv6Prefix_AddressPathAny) State ¶
func (n *BgpPeer_UnicastIpv6Prefix_AddressPathAny) State() ygnmi.WildcardQuery[string]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/address" Path from root: "/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix/state/address"
type BgpPeer_UnicastIpv6Prefix_AsPathPath ¶
BgpPeer_UnicastIpv6Prefix_AsPathPath represents the /open-traffic-generator-bgp/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix/state/as-path YANG schema element.
func (*BgpPeer_UnicastIpv6Prefix_AsPathPath) State ¶
func (n *BgpPeer_UnicastIpv6Prefix_AsPathPath) State() ygnmi.SingletonQuery[*oc.BgpPeer_UnicastIpv6Prefix_AsPath]
State returns a Query that can be used in gNMI operations.
type BgpPeer_UnicastIpv6Prefix_AsPathPathAny ¶
BgpPeer_UnicastIpv6Prefix_AsPathPathAny represents the wildcard version of the /open-traffic-generator-bgp/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix/state/as-path YANG schema element.
func (*BgpPeer_UnicastIpv6Prefix_AsPathPathAny) State ¶
func (n *BgpPeer_UnicastIpv6Prefix_AsPathPathAny) State() ygnmi.WildcardQuery[*oc.BgpPeer_UnicastIpv6Prefix_AsPath]
State returns a Query that can be used in gNMI operations.
type BgpPeer_UnicastIpv6Prefix_CommunityPath ¶
BgpPeer_UnicastIpv6Prefix_CommunityPath represents the /open-traffic-generator-bgp/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix/state/community YANG schema element.
func (*BgpPeer_UnicastIpv6Prefix_CommunityPath) State ¶
func (n *BgpPeer_UnicastIpv6Prefix_CommunityPath) State() ygnmi.SingletonQuery[*oc.BgpPeer_UnicastIpv6Prefix_Community]
State returns a Query that can be used in gNMI operations.
type BgpPeer_UnicastIpv6Prefix_CommunityPathAny ¶
BgpPeer_UnicastIpv6Prefix_CommunityPathAny represents the wildcard version of the /open-traffic-generator-bgp/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix/state/community YANG schema element.
func (*BgpPeer_UnicastIpv6Prefix_CommunityPathAny) State ¶
func (n *BgpPeer_UnicastIpv6Prefix_CommunityPathAny) State() ygnmi.WildcardQuery[*oc.BgpPeer_UnicastIpv6Prefix_Community]
State returns a Query that can be used in gNMI operations.
type BgpPeer_UnicastIpv6Prefix_LocalPreferencePath ¶ added in v0.2.2
type BgpPeer_UnicastIpv6Prefix_LocalPreferencePath struct { *ygnmi.NodePath // contains filtered or unexported fields }
BgpPeer_UnicastIpv6Prefix_LocalPreferencePath represents the /open-traffic-generator-bgp/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix/state/local-preference YANG schema element.
func (*BgpPeer_UnicastIpv6Prefix_LocalPreferencePath) State ¶ added in v0.2.2
func (n *BgpPeer_UnicastIpv6Prefix_LocalPreferencePath) State() ygnmi.SingletonQuery[uint32]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/local-preference" Path from root: "/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix/state/local-preference"
type BgpPeer_UnicastIpv6Prefix_LocalPreferencePathAny ¶ added in v0.2.2
type BgpPeer_UnicastIpv6Prefix_LocalPreferencePathAny struct { *ygnmi.NodePath // contains filtered or unexported fields }
BgpPeer_UnicastIpv6Prefix_LocalPreferencePathAny represents the wildcard version of the /open-traffic-generator-bgp/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix/state/local-preference YANG schema element.
func (*BgpPeer_UnicastIpv6Prefix_LocalPreferencePathAny) State ¶ added in v0.2.2
func (n *BgpPeer_UnicastIpv6Prefix_LocalPreferencePathAny) State() ygnmi.WildcardQuery[uint32]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/local-preference" Path from root: "/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix/state/local-preference"
type BgpPeer_UnicastIpv6Prefix_MultiExitDiscriminatorPath ¶ added in v0.2.2
type BgpPeer_UnicastIpv6Prefix_MultiExitDiscriminatorPath struct { *ygnmi.NodePath // contains filtered or unexported fields }
BgpPeer_UnicastIpv6Prefix_MultiExitDiscriminatorPath represents the /open-traffic-generator-bgp/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix/state/multi-exit-discriminator YANG schema element.
func (*BgpPeer_UnicastIpv6Prefix_MultiExitDiscriminatorPath) State ¶ added in v0.2.2
func (n *BgpPeer_UnicastIpv6Prefix_MultiExitDiscriminatorPath) State() ygnmi.SingletonQuery[uint32]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/multi-exit-discriminator" Path from root: "/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix/state/multi-exit-discriminator"
type BgpPeer_UnicastIpv6Prefix_MultiExitDiscriminatorPathAny ¶ added in v0.2.2
type BgpPeer_UnicastIpv6Prefix_MultiExitDiscriminatorPathAny struct { *ygnmi.NodePath // contains filtered or unexported fields }
BgpPeer_UnicastIpv6Prefix_MultiExitDiscriminatorPathAny represents the wildcard version of the /open-traffic-generator-bgp/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix/state/multi-exit-discriminator YANG schema element.
func (*BgpPeer_UnicastIpv6Prefix_MultiExitDiscriminatorPathAny) State ¶ added in v0.2.2
func (n *BgpPeer_UnicastIpv6Prefix_MultiExitDiscriminatorPathAny) State() ygnmi.WildcardQuery[uint32]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/multi-exit-discriminator" Path from root: "/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix/state/multi-exit-discriminator"
type BgpPeer_UnicastIpv6Prefix_NextHopIpv4AddressPath ¶
type BgpPeer_UnicastIpv6Prefix_NextHopIpv4AddressPath struct { *ygnmi.NodePath // contains filtered or unexported fields }
BgpPeer_UnicastIpv6Prefix_NextHopIpv4AddressPath represents the /open-traffic-generator-bgp/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix/state/next-hop-ipv4-address YANG schema element.
func (*BgpPeer_UnicastIpv6Prefix_NextHopIpv4AddressPath) State ¶
func (n *BgpPeer_UnicastIpv6Prefix_NextHopIpv4AddressPath) State() ygnmi.SingletonQuery[string]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/next-hop-ipv4-address" Path from root: "/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix/state/next-hop-ipv4-address"
type BgpPeer_UnicastIpv6Prefix_NextHopIpv4AddressPathAny ¶
type BgpPeer_UnicastIpv6Prefix_NextHopIpv4AddressPathAny struct { *ygnmi.NodePath // contains filtered or unexported fields }
BgpPeer_UnicastIpv6Prefix_NextHopIpv4AddressPathAny represents the wildcard version of the /open-traffic-generator-bgp/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix/state/next-hop-ipv4-address YANG schema element.
func (*BgpPeer_UnicastIpv6Prefix_NextHopIpv4AddressPathAny) State ¶
func (n *BgpPeer_UnicastIpv6Prefix_NextHopIpv4AddressPathAny) State() ygnmi.WildcardQuery[string]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/next-hop-ipv4-address" Path from root: "/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix/state/next-hop-ipv4-address"
type BgpPeer_UnicastIpv6Prefix_NextHopIpv6AddressPath ¶
type BgpPeer_UnicastIpv6Prefix_NextHopIpv6AddressPath struct { *ygnmi.NodePath // contains filtered or unexported fields }
BgpPeer_UnicastIpv6Prefix_NextHopIpv6AddressPath represents the /open-traffic-generator-bgp/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix/state/next-hop-ipv6-address YANG schema element.
func (*BgpPeer_UnicastIpv6Prefix_NextHopIpv6AddressPath) State ¶
func (n *BgpPeer_UnicastIpv6Prefix_NextHopIpv6AddressPath) State() ygnmi.SingletonQuery[string]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/next-hop-ipv6-address" Path from root: "/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix/state/next-hop-ipv6-address"
type BgpPeer_UnicastIpv6Prefix_NextHopIpv6AddressPathAny ¶
type BgpPeer_UnicastIpv6Prefix_NextHopIpv6AddressPathAny struct { *ygnmi.NodePath // contains filtered or unexported fields }
BgpPeer_UnicastIpv6Prefix_NextHopIpv6AddressPathAny represents the wildcard version of the /open-traffic-generator-bgp/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix/state/next-hop-ipv6-address YANG schema element.
func (*BgpPeer_UnicastIpv6Prefix_NextHopIpv6AddressPathAny) State ¶
func (n *BgpPeer_UnicastIpv6Prefix_NextHopIpv6AddressPathAny) State() ygnmi.WildcardQuery[string]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/next-hop-ipv6-address" Path from root: "/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix/state/next-hop-ipv6-address"
type BgpPeer_UnicastIpv6Prefix_OriginPath ¶
type BgpPeer_UnicastIpv6Prefix_OriginPath struct { *ygnmi.NodePath // contains filtered or unexported fields }
BgpPeer_UnicastIpv6Prefix_OriginPath represents the /open-traffic-generator-bgp/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix/state/origin YANG schema element.
func (*BgpPeer_UnicastIpv6Prefix_OriginPath) Config ¶
func (n *BgpPeer_UnicastIpv6Prefix_OriginPath) Config() ygnmi.ConfigQuery[oc.E_UnicastIpv6Prefix_Origin]
Config returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "origin" Path from root: ""
func (*BgpPeer_UnicastIpv6Prefix_OriginPath) State ¶
func (n *BgpPeer_UnicastIpv6Prefix_OriginPath) State() ygnmi.SingletonQuery[oc.E_UnicastIpv6Prefix_Origin]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/origin" Path from root: "/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix/state/origin"
type BgpPeer_UnicastIpv6Prefix_OriginPathAny ¶
type BgpPeer_UnicastIpv6Prefix_OriginPathAny struct { *ygnmi.NodePath // contains filtered or unexported fields }
BgpPeer_UnicastIpv6Prefix_OriginPathAny represents the wildcard version of the /open-traffic-generator-bgp/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix/state/origin YANG schema element.
func (*BgpPeer_UnicastIpv6Prefix_OriginPathAny) Config ¶
func (n *BgpPeer_UnicastIpv6Prefix_OriginPathAny) Config() ygnmi.WildcardQuery[oc.E_UnicastIpv6Prefix_Origin]
Config returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "origin" Path from root: ""
func (*BgpPeer_UnicastIpv6Prefix_OriginPathAny) State ¶
func (n *BgpPeer_UnicastIpv6Prefix_OriginPathAny) State() ygnmi.WildcardQuery[oc.E_UnicastIpv6Prefix_Origin]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/origin" Path from root: "/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix/state/origin"
type BgpPeer_UnicastIpv6Prefix_PathIdPath ¶
type BgpPeer_UnicastIpv6Prefix_PathIdPath struct { *ygnmi.NodePath // contains filtered or unexported fields }
BgpPeer_UnicastIpv6Prefix_PathIdPath represents the /open-traffic-generator-bgp/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix/state/path-id YANG schema element.
func (*BgpPeer_UnicastIpv6Prefix_PathIdPath) Config ¶
func (n *BgpPeer_UnicastIpv6Prefix_PathIdPath) Config() ygnmi.ConfigQuery[uint32]
Config returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "path-id" Path from root: ""
func (*BgpPeer_UnicastIpv6Prefix_PathIdPath) State ¶
func (n *BgpPeer_UnicastIpv6Prefix_PathIdPath) State() ygnmi.SingletonQuery[uint32]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/path-id" Path from root: "/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix/state/path-id"
type BgpPeer_UnicastIpv6Prefix_PathIdPathAny ¶
type BgpPeer_UnicastIpv6Prefix_PathIdPathAny struct { *ygnmi.NodePath // contains filtered or unexported fields }
BgpPeer_UnicastIpv6Prefix_PathIdPathAny represents the wildcard version of the /open-traffic-generator-bgp/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix/state/path-id YANG schema element.
func (*BgpPeer_UnicastIpv6Prefix_PathIdPathAny) Config ¶
func (n *BgpPeer_UnicastIpv6Prefix_PathIdPathAny) Config() ygnmi.WildcardQuery[uint32]
Config returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "path-id" Path from root: ""
func (*BgpPeer_UnicastIpv6Prefix_PathIdPathAny) State ¶
func (n *BgpPeer_UnicastIpv6Prefix_PathIdPathAny) State() ygnmi.WildcardQuery[uint32]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/path-id" Path from root: "/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix/state/path-id"
type BgpPeer_UnicastIpv6Prefix_PrefixLengthPath ¶
type BgpPeer_UnicastIpv6Prefix_PrefixLengthPath struct { *ygnmi.NodePath // contains filtered or unexported fields }
BgpPeer_UnicastIpv6Prefix_PrefixLengthPath represents the /open-traffic-generator-bgp/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix/state/prefix-length YANG schema element.
func (*BgpPeer_UnicastIpv6Prefix_PrefixLengthPath) Config ¶
func (n *BgpPeer_UnicastIpv6Prefix_PrefixLengthPath) Config() ygnmi.ConfigQuery[uint32]
Config returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "prefix-length" Path from root: ""
func (*BgpPeer_UnicastIpv6Prefix_PrefixLengthPath) State ¶
func (n *BgpPeer_UnicastIpv6Prefix_PrefixLengthPath) State() ygnmi.SingletonQuery[uint32]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/prefix-length" Path from root: "/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix/state/prefix-length"
type BgpPeer_UnicastIpv6Prefix_PrefixLengthPathAny ¶
type BgpPeer_UnicastIpv6Prefix_PrefixLengthPathAny struct { *ygnmi.NodePath // contains filtered or unexported fields }
BgpPeer_UnicastIpv6Prefix_PrefixLengthPathAny represents the wildcard version of the /open-traffic-generator-bgp/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix/state/prefix-length YANG schema element.
func (*BgpPeer_UnicastIpv6Prefix_PrefixLengthPathAny) Config ¶
func (n *BgpPeer_UnicastIpv6Prefix_PrefixLengthPathAny) Config() ygnmi.WildcardQuery[uint32]
Config returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "prefix-length" Path from root: ""
func (*BgpPeer_UnicastIpv6Prefix_PrefixLengthPathAny) State ¶
func (n *BgpPeer_UnicastIpv6Prefix_PrefixLengthPathAny) State() ygnmi.WildcardQuery[uint32]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-bgp" Instantiating module: "open-traffic-generator-bgp" Path from parent: "state/prefix-length" Path from root: "/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix/state/prefix-length"