Documentation
¶
Overview ¶
Package ocrt is a generated package which contains definitions of structs which represent a YANG schema. The generated schema can be compressed by a series of transformations (compression was true in this case).
This package was generated by /Users/robjs/go/pkg/mod/github.com/openconfig/ygot@v0.32.0/genutil/names.go using the following YANG input files:
- public/release/models/interfaces/openconfig-interfaces.yang
- public/release/models/interfaces/openconfig-if-ip.yang
- public/release/models/network-instance/openconfig-network-instance.yang
- yang/deviations.yang
Imported modules were sourced from:
- public/...
Index ¶
- Variables
- func Schema() (*ytypes.Schema, error)
- func Unmarshal(data []byte, destStruct ygot.GoStruct, opts ...ytypes.UnmarshalOpt) error
- func UnzipSchema() (map[string]*yang.Entry, error)
- type Bfd
- func (t *Bfd) AppendInterface(v *Bfd_Interface) error
- func (t *Bfd) DeleteInterface(Id string)
- func (t *Bfd) GetInterface(Id string) *Bfd_Interface
- func (t *Bfd) GetOrCreateInterface(Id string) *Bfd_Interface
- func (t *Bfd) GetOrCreateInterfaceMap() map[string]*Bfd_Interface
- func (*Bfd) IsYANGGoStruct()
- func (t *Bfd) NewInterface(Id string) (*Bfd_Interface, error)
- func (t *Bfd) Validate(opts ...ygot.ValidationOption) error
- func (*Bfd) ΛBelongingModule() string
- func (t *Bfd) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Bfd) ΛValidate(opts ...ygot.ValidationOption) error
- type Bfd_Interface
- func (t *Bfd_Interface) AppendMicroBfdSession(v *Bfd_Interface_MicroBfdSession) error
- func (t *Bfd_Interface) AppendPeer(v *Bfd_Interface_Peer) error
- func (t *Bfd_Interface) DeleteMicroBfdSession(MemberInterface string)
- func (t *Bfd_Interface) DeletePeer(LocalDiscriminator string)
- func (t *Bfd_Interface) GetDesiredMinimumTxInterval() uint32
- func (t *Bfd_Interface) GetDetectionMultiplier() uint8
- func (t *Bfd_Interface) GetEnablePerMemberLink() bool
- func (t *Bfd_Interface) GetEnabled() bool
- func (t *Bfd_Interface) GetId() string
- func (t *Bfd_Interface) GetInterfaceRef() *Bfd_Interface_InterfaceRef
- func (t *Bfd_Interface) GetLocalAddress() string
- func (t *Bfd_Interface) GetMicroBfdSession(MemberInterface string) *Bfd_Interface_MicroBfdSession
- func (t *Bfd_Interface) GetOrCreateInterfaceRef() *Bfd_Interface_InterfaceRef
- func (t *Bfd_Interface) GetOrCreateMicroBfdSession(MemberInterface string) *Bfd_Interface_MicroBfdSession
- func (t *Bfd_Interface) GetOrCreateMicroBfdSessionMap() map[string]*Bfd_Interface_MicroBfdSession
- func (t *Bfd_Interface) GetOrCreatePeer(LocalDiscriminator string) *Bfd_Interface_Peer
- func (t *Bfd_Interface) GetOrCreatePeerMap() map[string]*Bfd_Interface_Peer
- func (t *Bfd_Interface) GetPeer(LocalDiscriminator string) *Bfd_Interface_Peer
- func (t *Bfd_Interface) GetRequiredMinimumReceive() uint32
- func (*Bfd_Interface) IsYANGGoStruct()
- func (t *Bfd_Interface) NewMicroBfdSession(MemberInterface string) (*Bfd_Interface_MicroBfdSession, error)
- func (t *Bfd_Interface) NewPeer(LocalDiscriminator string) (*Bfd_Interface_Peer, error)
- func (t *Bfd_Interface) Validate(opts ...ygot.ValidationOption) error
- func (*Bfd_Interface) ΛBelongingModule() string
- func (t *Bfd_Interface) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Bfd_Interface) ΛListKeyMap() (map[string]interface{}, error)
- func (t *Bfd_Interface) ΛValidate(opts ...ygot.ValidationOption) error
- type Bfd_Interface_InterfaceRef
- func (t *Bfd_Interface_InterfaceRef) GetInterface() string
- func (t *Bfd_Interface_InterfaceRef) GetSubinterface() uint32
- func (*Bfd_Interface_InterfaceRef) IsYANGGoStruct()
- func (t *Bfd_Interface_InterfaceRef) Validate(opts ...ygot.ValidationOption) error
- func (*Bfd_Interface_InterfaceRef) ΛBelongingModule() string
- func (t *Bfd_Interface_InterfaceRef) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Bfd_Interface_InterfaceRef) ΛValidate(opts ...ygot.ValidationOption) error
- type Bfd_Interface_MicroBfdSession
- func (t *Bfd_Interface_MicroBfdSession) GetAsync() *Bfd_Interface_MicroBfdSession_Async
- func (t *Bfd_Interface_MicroBfdSession) GetDemandModeRequested() bool
- func (t *Bfd_Interface_MicroBfdSession) GetFailureTransitions() uint64
- func (t *Bfd_Interface_MicroBfdSession) GetLastFailureTime() uint64
- func (t *Bfd_Interface_MicroBfdSession) GetLocalAddress() string
- func (t *Bfd_Interface_MicroBfdSession) GetLocalDiagnosticCode() E_Bfd_BfdDiagnosticCode
- func (t *Bfd_Interface_MicroBfdSession) GetLocalDiscriminator() string
- func (t *Bfd_Interface_MicroBfdSession) GetMemberInterface() string
- func (t *Bfd_Interface_MicroBfdSession) GetOrCreateAsync() *Bfd_Interface_MicroBfdSession_Async
- func (t *Bfd_Interface_MicroBfdSession) GetRemoteAddress() string
- func (t *Bfd_Interface_MicroBfdSession) GetRemoteAuthenticationEnabled() bool
- func (t *Bfd_Interface_MicroBfdSession) GetRemoteControlPlaneIndependent() bool
- func (t *Bfd_Interface_MicroBfdSession) GetRemoteDiagnosticCode() E_Bfd_BfdDiagnosticCode
- func (t *Bfd_Interface_MicroBfdSession) GetRemoteDiscriminator() string
- func (t *Bfd_Interface_MicroBfdSession) GetRemoteMinimumReceiveInterval() uint32
- func (t *Bfd_Interface_MicroBfdSession) GetRemoteSessionState() E_Bfd_BfdSessionState
- func (t *Bfd_Interface_MicroBfdSession) GetSessionState() E_Bfd_BfdSessionState
- func (t *Bfd_Interface_MicroBfdSession) GetUpTransitions() uint64
- func (*Bfd_Interface_MicroBfdSession) IsYANGGoStruct()
- func (t *Bfd_Interface_MicroBfdSession) Validate(opts ...ygot.ValidationOption) error
- func (*Bfd_Interface_MicroBfdSession) ΛBelongingModule() string
- func (t *Bfd_Interface_MicroBfdSession) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Bfd_Interface_MicroBfdSession) ΛListKeyMap() (map[string]interface{}, error)
- func (t *Bfd_Interface_MicroBfdSession) ΛValidate(opts ...ygot.ValidationOption) error
- type Bfd_Interface_MicroBfdSession_Async
- func (t *Bfd_Interface_MicroBfdSession_Async) GetLastPacketReceived() uint64
- func (t *Bfd_Interface_MicroBfdSession_Async) GetLastPacketTransmitted() uint64
- func (t *Bfd_Interface_MicroBfdSession_Async) GetReceivedPackets() uint64
- func (t *Bfd_Interface_MicroBfdSession_Async) GetTransmittedPackets() uint64
- func (t *Bfd_Interface_MicroBfdSession_Async) GetUpTransitions() uint64
- func (*Bfd_Interface_MicroBfdSession_Async) IsYANGGoStruct()
- func (t *Bfd_Interface_MicroBfdSession_Async) Validate(opts ...ygot.ValidationOption) error
- func (*Bfd_Interface_MicroBfdSession_Async) ΛBelongingModule() string
- func (t *Bfd_Interface_MicroBfdSession_Async) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Bfd_Interface_MicroBfdSession_Async) ΛValidate(opts ...ygot.ValidationOption) error
- type Bfd_Interface_Peer
- func (t *Bfd_Interface_Peer) GetAsync() *Bfd_Interface_Peer_Async
- func (t *Bfd_Interface_Peer) GetDemandModeRequested() bool
- func (t *Bfd_Interface_Peer) GetEcho() *Bfd_Interface_Peer_Echo
- func (t *Bfd_Interface_Peer) GetFailureTransitions() uint64
- func (t *Bfd_Interface_Peer) GetLastFailureTime() uint64
- func (t *Bfd_Interface_Peer) GetLocalAddress() string
- func (t *Bfd_Interface_Peer) GetLocalDiagnosticCode() E_Bfd_BfdDiagnosticCode
- func (t *Bfd_Interface_Peer) GetLocalDiscriminator() string
- func (t *Bfd_Interface_Peer) GetOrCreateAsync() *Bfd_Interface_Peer_Async
- func (t *Bfd_Interface_Peer) GetOrCreateEcho() *Bfd_Interface_Peer_Echo
- func (t *Bfd_Interface_Peer) GetRemoteAddress() string
- func (t *Bfd_Interface_Peer) GetRemoteAuthenticationEnabled() bool
- func (t *Bfd_Interface_Peer) GetRemoteControlPlaneIndependent() bool
- func (t *Bfd_Interface_Peer) GetRemoteDiagnosticCode() E_Bfd_BfdDiagnosticCode
- func (t *Bfd_Interface_Peer) GetRemoteDiscriminator() string
- func (t *Bfd_Interface_Peer) GetRemoteMinimumReceiveInterval() uint32
- func (t *Bfd_Interface_Peer) GetRemoteSessionState() E_Bfd_BfdSessionState
- func (t *Bfd_Interface_Peer) GetSessionState() E_Bfd_BfdSessionState
- func (t *Bfd_Interface_Peer) GetSubscribedProtocols() []E_PolicyTypes_INSTALL_PROTOCOL_TYPE
- func (t *Bfd_Interface_Peer) GetUpTransitions() uint64
- func (*Bfd_Interface_Peer) IsYANGGoStruct()
- func (t *Bfd_Interface_Peer) Validate(opts ...ygot.ValidationOption) error
- func (*Bfd_Interface_Peer) ΛBelongingModule() string
- func (t *Bfd_Interface_Peer) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Bfd_Interface_Peer) ΛListKeyMap() (map[string]interface{}, error)
- func (t *Bfd_Interface_Peer) ΛValidate(opts ...ygot.ValidationOption) error
- type Bfd_Interface_Peer_Async
- func (t *Bfd_Interface_Peer_Async) GetLastPacketReceived() uint64
- func (t *Bfd_Interface_Peer_Async) GetLastPacketTransmitted() uint64
- func (t *Bfd_Interface_Peer_Async) GetReceivedPackets() uint64
- func (t *Bfd_Interface_Peer_Async) GetTransmittedPackets() uint64
- func (t *Bfd_Interface_Peer_Async) GetUpTransitions() uint64
- func (*Bfd_Interface_Peer_Async) IsYANGGoStruct()
- func (t *Bfd_Interface_Peer_Async) Validate(opts ...ygot.ValidationOption) error
- func (*Bfd_Interface_Peer_Async) ΛBelongingModule() string
- func (t *Bfd_Interface_Peer_Async) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Bfd_Interface_Peer_Async) ΛValidate(opts ...ygot.ValidationOption) error
- type Bfd_Interface_Peer_Echo
- func (t *Bfd_Interface_Peer_Echo) GetActive() bool
- func (t *Bfd_Interface_Peer_Echo) GetLastPacketReceived() uint64
- func (t *Bfd_Interface_Peer_Echo) GetLastPacketTransmitted() uint64
- func (t *Bfd_Interface_Peer_Echo) GetReceivedPackets() uint64
- func (t *Bfd_Interface_Peer_Echo) GetTransmittedPackets() uint64
- func (t *Bfd_Interface_Peer_Echo) GetUpTransitions() uint64
- func (*Bfd_Interface_Peer_Echo) IsYANGGoStruct()
- func (t *Bfd_Interface_Peer_Echo) Validate(opts ...ygot.ValidationOption) error
- func (*Bfd_Interface_Peer_Echo) ΛBelongingModule() string
- func (t *Bfd_Interface_Peer_Echo) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Bfd_Interface_Peer_Echo) ΛValidate(opts ...ygot.ValidationOption) error
- type Binary
- type DefinedSets
- func (t *DefinedSets) AppendIpv4PrefixSet(v *DefinedSets_Ipv4PrefixSet) error
- func (t *DefinedSets) AppendIpv6PrefixSet(v *DefinedSets_Ipv6PrefixSet) error
- func (t *DefinedSets) AppendPortSet(v *DefinedSets_PortSet) error
- func (t *DefinedSets) DeleteIpv4PrefixSet(Name string)
- func (t *DefinedSets) DeleteIpv6PrefixSet(Name string)
- func (t *DefinedSets) DeletePortSet(Name string)
- func (t *DefinedSets) GetIpv4PrefixSet(Name string) *DefinedSets_Ipv4PrefixSet
- func (t *DefinedSets) GetIpv6PrefixSet(Name string) *DefinedSets_Ipv6PrefixSet
- func (t *DefinedSets) GetOrCreateIpv4PrefixSet(Name string) *DefinedSets_Ipv4PrefixSet
- func (t *DefinedSets) GetOrCreateIpv4PrefixSetMap() map[string]*DefinedSets_Ipv4PrefixSet
- func (t *DefinedSets) GetOrCreateIpv6PrefixSet(Name string) *DefinedSets_Ipv6PrefixSet
- func (t *DefinedSets) GetOrCreateIpv6PrefixSetMap() map[string]*DefinedSets_Ipv6PrefixSet
- func (t *DefinedSets) GetOrCreatePortSet(Name string) *DefinedSets_PortSet
- func (t *DefinedSets) GetOrCreatePortSetMap() map[string]*DefinedSets_PortSet
- func (t *DefinedSets) GetPortSet(Name string) *DefinedSets_PortSet
- func (*DefinedSets) IsYANGGoStruct()
- func (t *DefinedSets) NewIpv4PrefixSet(Name string) (*DefinedSets_Ipv4PrefixSet, error)
- func (t *DefinedSets) NewIpv6PrefixSet(Name string) (*DefinedSets_Ipv6PrefixSet, error)
- func (t *DefinedSets) NewPortSet(Name string) (*DefinedSets_PortSet, error)
- func (t *DefinedSets) Validate(opts ...ygot.ValidationOption) error
- func (*DefinedSets) ΛBelongingModule() string
- func (t *DefinedSets) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *DefinedSets) ΛValidate(opts ...ygot.ValidationOption) error
- type DefinedSets_Ipv4PrefixSet
- func (t *DefinedSets_Ipv4PrefixSet) GetDescription() string
- func (t *DefinedSets_Ipv4PrefixSet) GetName() string
- func (t *DefinedSets_Ipv4PrefixSet) GetPrefix() []string
- func (*DefinedSets_Ipv4PrefixSet) IsYANGGoStruct()
- func (t *DefinedSets_Ipv4PrefixSet) Validate(opts ...ygot.ValidationOption) error
- func (*DefinedSets_Ipv4PrefixSet) ΛBelongingModule() string
- func (t *DefinedSets_Ipv4PrefixSet) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *DefinedSets_Ipv4PrefixSet) ΛListKeyMap() (map[string]interface{}, error)
- func (t *DefinedSets_Ipv4PrefixSet) ΛValidate(opts ...ygot.ValidationOption) error
- type DefinedSets_Ipv6PrefixSet
- func (t *DefinedSets_Ipv6PrefixSet) GetDescription() string
- func (t *DefinedSets_Ipv6PrefixSet) GetName() string
- func (t *DefinedSets_Ipv6PrefixSet) GetPrefix() []string
- func (*DefinedSets_Ipv6PrefixSet) IsYANGGoStruct()
- func (t *DefinedSets_Ipv6PrefixSet) Validate(opts ...ygot.ValidationOption) error
- func (*DefinedSets_Ipv6PrefixSet) ΛBelongingModule() string
- func (t *DefinedSets_Ipv6PrefixSet) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *DefinedSets_Ipv6PrefixSet) ΛListKeyMap() (map[string]interface{}, error)
- func (t *DefinedSets_Ipv6PrefixSet) ΛValidate(opts ...ygot.ValidationOption) error
- type DefinedSets_PortSet
- func (t *DefinedSets_PortSet) GetDescription() string
- func (t *DefinedSets_PortSet) GetName() string
- func (t *DefinedSets_PortSet) GetPort() []DefinedSets_PortSet_Port_Union
- func (*DefinedSets_PortSet) IsYANGGoStruct()
- func (t *DefinedSets_PortSet) To_DefinedSets_PortSet_Port_Union(i interface{}) (DefinedSets_PortSet_Port_Union, error)
- func (t *DefinedSets_PortSet) Validate(opts ...ygot.ValidationOption) error
- func (*DefinedSets_PortSet) ΛBelongingModule() string
- func (t *DefinedSets_PortSet) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *DefinedSets_PortSet) ΛListKeyMap() (map[string]interface{}, error)
- func (t *DefinedSets_PortSet) ΛValidate(opts ...ygot.ValidationOption) error
- type DefinedSets_PortSet_Port_Union
- type Device
- func (t *Device) AppendInterface(v *Interface) error
- func (t *Device) AppendKeychain(v *Keychain) error
- func (t *Device) AppendNetworkInstance(v *NetworkInstance) error
- func (t *Device) DeleteInterface(Name string)
- func (t *Device) DeleteKeychain(Name string)
- func (t *Device) DeleteNetworkInstance(Name string)
- func (t *Device) GetBfd() *Bfd
- func (t *Device) GetDefinedSets() *DefinedSets
- func (t *Device) GetInterface(Name string) *Interface
- func (t *Device) GetKeychain(Name string) *Keychain
- func (t *Device) GetNetworkInstance(Name string) *NetworkInstance
- func (t *Device) GetOrCreateBfd() *Bfd
- func (t *Device) GetOrCreateDefinedSets() *DefinedSets
- func (t *Device) GetOrCreateInterface(Name string) *Interface
- func (t *Device) GetOrCreateInterfaceMap() map[string]*Interface
- func (t *Device) GetOrCreateKeychain(Name string) *Keychain
- func (t *Device) GetOrCreateKeychainMap() map[string]*Keychain
- func (t *Device) GetOrCreateNetworkInstance(Name string) *NetworkInstance
- func (t *Device) GetOrCreateNetworkInstanceMap() map[string]*NetworkInstance
- func (*Device) IsYANGGoStruct()
- func (t *Device) NewInterface(Name string) (*Interface, error)
- func (t *Device) NewKeychain(Name string) (*Keychain, error)
- func (t *Device) NewNetworkInstance(Name string) (*NetworkInstance, error)
- func (t *Device) Validate(opts ...ygot.ValidationOption) error
- func (*Device) ΛBelongingModule() string
- func (t *Device) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Device) ΛValidate(opts ...ygot.ValidationOption) error
- type E_Address_Status
- type E_AftTypes_EncapsulationHeaderType
- type E_Bfd_BfdDiagnosticCode
- type E_Bfd_BfdSessionState
- type E_Ethernet_DuplexMode
- type E_Ethernet_NegotiatedDuplexMode
- type E_IETFInterfaces_InterfaceType
- type E_Icmpv4Types_CODE
- type E_Icmpv4Types_TYPE
- type E_Icmpv6Types_CODE
- type E_Icmpv6Types_TYPE
- type E_IfAggregate_AggregationType
- type E_IfEthernet_ETHERNET_SPEED
- type E_IfEthernet_INTERFACE_FEC
- type E_IfIp_IpAddressOrigin
- type E_IfIp_Ipv4AddressType
- type E_IfIp_NeighborOrigin
- type E_InetTypes_Ipv6AddressType
- type E_Interface_AdminStatus
- type E_Interface_IrbAnycastGateway
- type E_Interface_OperStatus
- type E_Ipv6_LearnUnsolicited
- type E_KeychainTypes_CRYPTO_TYPE
- type E_Keychain_Tolerance_Enum
- type E_LocalRouting_LOCAL_DEFINED_NEXT_HOP
- func (E_LocalRouting_LOCAL_DEFINED_NEXT_HOP) Documentation_for_NetworkInstance_Static_NextHop_NextHop_Union()
- func (E_LocalRouting_LOCAL_DEFINED_NEXT_HOP) IsYANGGoEnum()
- func (e E_LocalRouting_LOCAL_DEFINED_NEXT_HOP) String() string
- func (E_LocalRouting_LOCAL_DEFINED_NEXT_HOP) ΛMap() map[string]map[int64]ygot.EnumDefinition
- type E_Neighbor_NeighborState
- type E_NetworkInstanceTypes_NETWORK_INSTANCE_TYPE
- type E_PacketMatchTypes_ETHERTYPE
- func (E_PacketMatchTypes_ETHERTYPE) Documentation_for_NetworkInstance_PolicyForwarding_Policy_Rule_L2_Ethertype_Union()
- func (E_PacketMatchTypes_ETHERTYPE) IsYANGGoEnum()
- func (e E_PacketMatchTypes_ETHERTYPE) String() string
- func (E_PacketMatchTypes_ETHERTYPE) ΛMap() map[string]map[int64]ygot.EnumDefinition
- type E_PacketMatchTypes_IP_PROTOCOL
- func (E_PacketMatchTypes_IP_PROTOCOL) Documentation_for_NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4_Protocol_Union()
- func (E_PacketMatchTypes_IP_PROTOCOL) Documentation_for_NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6_Protocol_Union()
- func (E_PacketMatchTypes_IP_PROTOCOL) IsYANGGoEnum()
- func (e E_PacketMatchTypes_IP_PROTOCOL) String() string
- func (E_PacketMatchTypes_IP_PROTOCOL) ΛMap() map[string]map[int64]ygot.EnumDefinition
- type E_PacketMatchTypes_PortNumRange_Enum
- func (E_PacketMatchTypes_PortNumRange_Enum) Documentation_for_DefinedSets_PortSet_Port_Union()
- func (E_PacketMatchTypes_PortNumRange_Enum) Documentation_for_NetworkInstance_PolicyForwarding_Policy_Rule_Transport_DestinationPort_Union()
- func (E_PacketMatchTypes_PortNumRange_Enum) Documentation_for_NetworkInstance_PolicyForwarding_Policy_Rule_Transport_SourcePort_Union()
- func (E_PacketMatchTypes_PortNumRange_Enum) IsYANGGoEnum()
- func (e E_PacketMatchTypes_PortNumRange_Enum) String() string
- func (E_PacketMatchTypes_PortNumRange_Enum) ΛMap() map[string]map[int64]ygot.EnumDefinition
- type E_PacketMatchTypes_TCP_FLAGS
- type E_PolicyTypes_INSTALL_PROTOCOL_TYPE
- type E_Policy_Type
- type E_ProxyArp_Mode
- type E_RouterAdvertisement_Mode
- type E_TransportTypes_LoopbackModeType
- type E_Transport_BuiltinDetail
- type E_Transport_DetailMode
- type E_Transport_ExplicitDetailMatchMode
- type E_Types_ADDRESS_FAMILY
- type E_VlanTypes_TPID_TYPES
- type E_VlanTypes_VlanModeType
- type E_VlanTypes_VlanStackAction
- type Interface
- func (t *Interface) AppendSubinterface(v *Interface_Subinterface) error
- func (t *Interface) DeleteSubinterface(Index uint32)
- func (t *Interface) GetAdminStatus() E_Interface_AdminStatus
- func (t *Interface) GetAggregation() *Interface_Aggregation
- func (t *Interface) GetCounters() *Interface_Counters
- func (t *Interface) GetCpu() bool
- func (t *Interface) GetDescription() string
- func (t *Interface) GetEnabled() bool
- func (t *Interface) GetEthernet() *Interface_Ethernet
- func (t *Interface) GetHoldTime() *Interface_HoldTime
- func (t *Interface) GetIfindex() uint32
- func (t *Interface) GetLastChange() uint64
- func (t *Interface) GetLogical() bool
- func (t *Interface) GetLoopbackMode() E_TransportTypes_LoopbackModeType
- func (t *Interface) GetManagement() bool
- func (t *Interface) GetMtu() uint16
- func (t *Interface) GetName() string
- func (t *Interface) GetOperStatus() E_Interface_OperStatus
- func (t *Interface) GetOrCreateAggregation() *Interface_Aggregation
- func (t *Interface) GetOrCreateCounters() *Interface_Counters
- func (t *Interface) GetOrCreateEthernet() *Interface_Ethernet
- func (t *Interface) GetOrCreateHoldTime() *Interface_HoldTime
- func (t *Interface) GetOrCreatePenaltyBasedAied() *Interface_PenaltyBasedAied
- func (t *Interface) GetOrCreateRoutedVlan() *Interface_RoutedVlan
- func (t *Interface) GetOrCreateSubinterface(Index uint32) *Interface_Subinterface
- func (t *Interface) GetOrCreateSubinterfaceMap() map[uint32]*Interface_Subinterface
- func (t *Interface) GetPenaltyBasedAied() *Interface_PenaltyBasedAied
- func (t *Interface) GetRoutedVlan() *Interface_RoutedVlan
- func (t *Interface) GetSubinterface(Index uint32) *Interface_Subinterface
- func (t *Interface) GetTpid() E_VlanTypes_TPID_TYPES
- func (t *Interface) GetType() E_IETFInterfaces_InterfaceType
- func (*Interface) IsYANGGoStruct()
- func (t *Interface) NewSubinterface(Index uint32) (*Interface_Subinterface, error)
- func (t *Interface) Validate(opts ...ygot.ValidationOption) error
- func (*Interface) ΛBelongingModule() string
- func (t *Interface) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface) ΛListKeyMap() (map[string]interface{}, error)
- func (t *Interface) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_Aggregation
- func (t *Interface_Aggregation) GetLagSpeed() uint32
- func (t *Interface_Aggregation) GetLagType() E_IfAggregate_AggregationType
- func (t *Interface_Aggregation) GetMember() []string
- func (t *Interface_Aggregation) GetMinLinks() uint16
- func (t *Interface_Aggregation) GetOrCreateSwitchedVlan() *Interface_Aggregation_SwitchedVlan
- func (t *Interface_Aggregation) GetSwitchedVlan() *Interface_Aggregation_SwitchedVlan
- func (*Interface_Aggregation) IsYANGGoStruct()
- func (t *Interface_Aggregation) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_Aggregation) ΛBelongingModule() string
- func (t *Interface_Aggregation) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_Aggregation) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_Aggregation_SwitchedVlan
- func (t *Interface_Aggregation_SwitchedVlan) GetAccessVlan() uint16
- func (t *Interface_Aggregation_SwitchedVlan) GetInterfaceMode() E_VlanTypes_VlanModeType
- func (t *Interface_Aggregation_SwitchedVlan) GetNativeVlan() uint16
- func (t *Interface_Aggregation_SwitchedVlan) GetTrunkVlans() []Interface_Aggregation_SwitchedVlan_TrunkVlans_Union
- func (*Interface_Aggregation_SwitchedVlan) IsYANGGoStruct()
- func (t *Interface_Aggregation_SwitchedVlan) To_Interface_Aggregation_SwitchedVlan_TrunkVlans_Union(i interface{}) (Interface_Aggregation_SwitchedVlan_TrunkVlans_Union, error)
- func (t *Interface_Aggregation_SwitchedVlan) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_Aggregation_SwitchedVlan) ΛBelongingModule() string
- func (t *Interface_Aggregation_SwitchedVlan) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_Aggregation_SwitchedVlan) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_Aggregation_SwitchedVlan_TrunkVlans_Union
- type Interface_Counters
- func (t *Interface_Counters) GetCarrierTransitions() uint64
- func (t *Interface_Counters) GetInBroadcastPkts() uint64
- func (t *Interface_Counters) GetInDiscards() uint64
- func (t *Interface_Counters) GetInErrors() uint64
- func (t *Interface_Counters) GetInFcsErrors() uint64
- func (t *Interface_Counters) GetInMulticastPkts() uint64
- func (t *Interface_Counters) GetInOctets() uint64
- func (t *Interface_Counters) GetInPkts() uint64
- func (t *Interface_Counters) GetInUnicastPkts() uint64
- func (t *Interface_Counters) GetInUnknownProtos() uint64
- func (t *Interface_Counters) GetInterfaceTransitions() uint64
- func (t *Interface_Counters) GetLastClear() uint64
- func (t *Interface_Counters) GetLinkTransitions() uint64
- func (t *Interface_Counters) GetOutBroadcastPkts() uint64
- func (t *Interface_Counters) GetOutDiscards() uint64
- func (t *Interface_Counters) GetOutErrors() uint64
- func (t *Interface_Counters) GetOutMulticastPkts() uint64
- func (t *Interface_Counters) GetOutOctets() uint64
- func (t *Interface_Counters) GetOutPkts() uint64
- func (t *Interface_Counters) GetOutUnicastPkts() uint64
- func (t *Interface_Counters) GetResets() uint64
- func (*Interface_Counters) IsYANGGoStruct()
- func (t *Interface_Counters) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_Counters) ΛBelongingModule() string
- func (t *Interface_Counters) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_Counters) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_Ethernet
- func (t *Interface_Ethernet) GetAggregateId() string
- func (t *Interface_Ethernet) GetAutoNegotiate() bool
- func (t *Interface_Ethernet) GetCounters() *Interface_Ethernet_Counters
- func (t *Interface_Ethernet) GetDuplexMode() E_Ethernet_DuplexMode
- func (t *Interface_Ethernet) GetEnableFlowControl() bool
- func (t *Interface_Ethernet) GetFecMode() E_IfEthernet_INTERFACE_FEC
- func (t *Interface_Ethernet) GetHwMacAddress() string
- func (t *Interface_Ethernet) GetMacAddress() string
- func (t *Interface_Ethernet) GetNegotiatedDuplexMode() E_Ethernet_NegotiatedDuplexMode
- func (t *Interface_Ethernet) GetNegotiatedPortSpeed() E_IfEthernet_ETHERNET_SPEED
- func (t *Interface_Ethernet) GetOrCreateCounters() *Interface_Ethernet_Counters
- func (t *Interface_Ethernet) GetOrCreateSwitchedVlan() *Interface_Ethernet_SwitchedVlan
- func (t *Interface_Ethernet) GetPortSpeed() E_IfEthernet_ETHERNET_SPEED
- func (t *Interface_Ethernet) GetStandaloneLinkTraining() bool
- func (t *Interface_Ethernet) GetSwitchedVlan() *Interface_Ethernet_SwitchedVlan
- func (*Interface_Ethernet) IsYANGGoStruct()
- func (t *Interface_Ethernet) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_Ethernet) ΛBelongingModule() string
- func (t *Interface_Ethernet) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_Ethernet) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_Ethernet_Counters
- func (t *Interface_Ethernet_Counters) GetInBlockErrors() uint64
- func (t *Interface_Ethernet_Counters) GetInCarrierErrors() uint64
- func (t *Interface_Ethernet_Counters) GetInCrcErrors() uint64
- func (t *Interface_Ethernet_Counters) GetInFragmentFrames() uint64
- func (t *Interface_Ethernet_Counters) GetInInterruptedTx() uint64
- func (t *Interface_Ethernet_Counters) GetInJabberFrames() uint64
- func (t *Interface_Ethernet_Counters) GetInLateCollision() uint64
- func (t *Interface_Ethernet_Counters) GetInMacControlFrames() uint64
- func (t *Interface_Ethernet_Counters) GetInMacErrorsRx() uint64
- func (t *Interface_Ethernet_Counters) GetInMacPauseFrames() uint64
- func (t *Interface_Ethernet_Counters) GetInMaxsizeExceeded() uint64
- func (t *Interface_Ethernet_Counters) GetInOversizeFrames() uint64
- func (t *Interface_Ethernet_Counters) GetInSingleCollision() uint64
- func (t *Interface_Ethernet_Counters) GetInSymbolError() uint64
- func (t *Interface_Ethernet_Counters) GetInUndersizeFrames() uint64
- func (t *Interface_Ethernet_Counters) GetIn_8021QFrames() uint64
- func (t *Interface_Ethernet_Counters) GetOutMacControlFrames() uint64
- func (t *Interface_Ethernet_Counters) GetOutMacErrorsTx() uint64
- func (t *Interface_Ethernet_Counters) GetOutMacPauseFrames() uint64
- func (t *Interface_Ethernet_Counters) GetOut_8021QFrames() uint64
- func (*Interface_Ethernet_Counters) IsYANGGoStruct()
- func (t *Interface_Ethernet_Counters) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_Ethernet_Counters) ΛBelongingModule() string
- func (t *Interface_Ethernet_Counters) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_Ethernet_Counters) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_Ethernet_SwitchedVlan
- func (t *Interface_Ethernet_SwitchedVlan) GetAccessVlan() uint16
- func (t *Interface_Ethernet_SwitchedVlan) GetInterfaceMode() E_VlanTypes_VlanModeType
- func (t *Interface_Ethernet_SwitchedVlan) GetNativeVlan() uint16
- func (t *Interface_Ethernet_SwitchedVlan) GetTrunkVlans() []Interface_Ethernet_SwitchedVlan_TrunkVlans_Union
- func (*Interface_Ethernet_SwitchedVlan) IsYANGGoStruct()
- func (t *Interface_Ethernet_SwitchedVlan) To_Interface_Ethernet_SwitchedVlan_TrunkVlans_Union(i interface{}) (Interface_Ethernet_SwitchedVlan_TrunkVlans_Union, error)
- func (t *Interface_Ethernet_SwitchedVlan) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_Ethernet_SwitchedVlan) ΛBelongingModule() string
- func (t *Interface_Ethernet_SwitchedVlan) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_Ethernet_SwitchedVlan) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_Ethernet_SwitchedVlan_TrunkVlans_Union
- type Interface_HoldTime
- func (t *Interface_HoldTime) GetDown() uint32
- func (t *Interface_HoldTime) GetUp() uint32
- func (*Interface_HoldTime) IsYANGGoStruct()
- func (t *Interface_HoldTime) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_HoldTime) ΛBelongingModule() string
- func (t *Interface_HoldTime) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_HoldTime) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_PenaltyBasedAied
- func (t *Interface_PenaltyBasedAied) GetDecayHalfLife() uint32
- func (t *Interface_PenaltyBasedAied) GetFlapPenalty() uint32
- func (t *Interface_PenaltyBasedAied) GetMaxSuppressTime() uint32
- func (t *Interface_PenaltyBasedAied) GetReuseThreshold() uint32
- func (t *Interface_PenaltyBasedAied) GetSuppressThreshold() uint32
- func (*Interface_PenaltyBasedAied) IsYANGGoStruct()
- func (t *Interface_PenaltyBasedAied) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_PenaltyBasedAied) ΛBelongingModule() string
- func (t *Interface_PenaltyBasedAied) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_PenaltyBasedAied) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_RoutedVlan
- func (t *Interface_RoutedVlan) GetIpv4() *Interface_RoutedVlan_Ipv4
- func (t *Interface_RoutedVlan) GetIpv6() *Interface_RoutedVlan_Ipv6
- func (t *Interface_RoutedVlan) GetOrCreateIpv4() *Interface_RoutedVlan_Ipv4
- func (t *Interface_RoutedVlan) GetOrCreateIpv6() *Interface_RoutedVlan_Ipv6
- func (t *Interface_RoutedVlan) GetVlan() Interface_RoutedVlan_Vlan_Union
- func (*Interface_RoutedVlan) IsYANGGoStruct()
- func (t *Interface_RoutedVlan) To_Interface_RoutedVlan_Vlan_Union(i interface{}) (Interface_RoutedVlan_Vlan_Union, error)
- func (t *Interface_RoutedVlan) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_RoutedVlan) ΛBelongingModule() string
- func (t *Interface_RoutedVlan) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_RoutedVlan) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_RoutedVlan_Ipv4
- func (t *Interface_RoutedVlan_Ipv4) AppendAddress(v *Interface_RoutedVlan_Ipv4_Address) error
- func (t *Interface_RoutedVlan_Ipv4) AppendNeighbor(v *Interface_RoutedVlan_Ipv4_Neighbor) error
- func (t *Interface_RoutedVlan_Ipv4) DeleteAddress(Ip string)
- func (t *Interface_RoutedVlan_Ipv4) DeleteNeighbor(Ip string)
- func (t *Interface_RoutedVlan_Ipv4) GetAddress(Ip string) *Interface_RoutedVlan_Ipv4_Address
- func (t *Interface_RoutedVlan_Ipv4) GetCounters() *Interface_RoutedVlan_Ipv4_Counters
- func (t *Interface_RoutedVlan_Ipv4) GetDhcpClient() bool
- func (t *Interface_RoutedVlan_Ipv4) GetEnabled() bool
- func (t *Interface_RoutedVlan_Ipv4) GetGratuitousArpAccepted() bool
- func (t *Interface_RoutedVlan_Ipv4) GetMtu() uint16
- func (t *Interface_RoutedVlan_Ipv4) GetNeighbor(Ip string) *Interface_RoutedVlan_Ipv4_Neighbor
- func (t *Interface_RoutedVlan_Ipv4) GetOrCreateAddress(Ip string) *Interface_RoutedVlan_Ipv4_Address
- func (t *Interface_RoutedVlan_Ipv4) GetOrCreateAddressMap() map[string]*Interface_RoutedVlan_Ipv4_Address
- func (t *Interface_RoutedVlan_Ipv4) GetOrCreateCounters() *Interface_RoutedVlan_Ipv4_Counters
- func (t *Interface_RoutedVlan_Ipv4) GetOrCreateNeighbor(Ip string) *Interface_RoutedVlan_Ipv4_Neighbor
- func (t *Interface_RoutedVlan_Ipv4) GetOrCreateNeighborMap() map[string]*Interface_RoutedVlan_Ipv4_Neighbor
- func (t *Interface_RoutedVlan_Ipv4) GetOrCreateProxyArp() *Interface_RoutedVlan_Ipv4_ProxyArp
- func (t *Interface_RoutedVlan_Ipv4) GetOrCreateUnnumbered() *Interface_RoutedVlan_Ipv4_Unnumbered
- func (t *Interface_RoutedVlan_Ipv4) GetProxyArp() *Interface_RoutedVlan_Ipv4_ProxyArp
- func (t *Interface_RoutedVlan_Ipv4) GetUnnumbered() *Interface_RoutedVlan_Ipv4_Unnumbered
- func (*Interface_RoutedVlan_Ipv4) IsYANGGoStruct()
- func (t *Interface_RoutedVlan_Ipv4) NewAddress(Ip string) (*Interface_RoutedVlan_Ipv4_Address, error)
- func (t *Interface_RoutedVlan_Ipv4) NewNeighbor(Ip string) (*Interface_RoutedVlan_Ipv4_Neighbor, error)
- func (t *Interface_RoutedVlan_Ipv4) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_RoutedVlan_Ipv4) ΛBelongingModule() string
- func (t *Interface_RoutedVlan_Ipv4) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_RoutedVlan_Ipv4) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_RoutedVlan_Ipv4_Address
- func (t *Interface_RoutedVlan_Ipv4_Address) AppendVrrpGroup(v *Interface_RoutedVlan_Ipv4_Address_VrrpGroup) error
- func (t *Interface_RoutedVlan_Ipv4_Address) DeleteVrrpGroup(VirtualRouterId uint8)
- func (t *Interface_RoutedVlan_Ipv4_Address) GetIp() string
- func (t *Interface_RoutedVlan_Ipv4_Address) GetOrCreateVrrpGroup(VirtualRouterId uint8) *Interface_RoutedVlan_Ipv4_Address_VrrpGroup
- func (t *Interface_RoutedVlan_Ipv4_Address) GetOrCreateVrrpGroupMap() map[uint8]*Interface_RoutedVlan_Ipv4_Address_VrrpGroup
- func (t *Interface_RoutedVlan_Ipv4_Address) GetOrigin() E_IfIp_IpAddressOrigin
- func (t *Interface_RoutedVlan_Ipv4_Address) GetPrefixLength() uint8
- func (t *Interface_RoutedVlan_Ipv4_Address) GetType() E_IfIp_Ipv4AddressType
- func (t *Interface_RoutedVlan_Ipv4_Address) GetVrrpGroup(VirtualRouterId uint8) *Interface_RoutedVlan_Ipv4_Address_VrrpGroup
- func (*Interface_RoutedVlan_Ipv4_Address) IsYANGGoStruct()
- func (t *Interface_RoutedVlan_Ipv4_Address) NewVrrpGroup(VirtualRouterId uint8) (*Interface_RoutedVlan_Ipv4_Address_VrrpGroup, error)
- func (t *Interface_RoutedVlan_Ipv4_Address) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_RoutedVlan_Ipv4_Address) ΛBelongingModule() string
- func (t *Interface_RoutedVlan_Ipv4_Address) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_RoutedVlan_Ipv4_Address) ΛListKeyMap() (map[string]interface{}, error)
- func (t *Interface_RoutedVlan_Ipv4_Address) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_RoutedVlan_Ipv4_Address_VrrpGroup
- func (t *Interface_RoutedVlan_Ipv4_Address_VrrpGroup) GetAcceptMode() bool
- func (t *Interface_RoutedVlan_Ipv4_Address_VrrpGroup) GetAdvertisementInterval() uint16
- func (t *Interface_RoutedVlan_Ipv4_Address_VrrpGroup) GetCurrentPriority() uint8
- func (t *Interface_RoutedVlan_Ipv4_Address_VrrpGroup) GetInterfaceTracking() *Interface_RoutedVlan_Ipv4_Address_VrrpGroup_InterfaceTracking
- func (t *Interface_RoutedVlan_Ipv4_Address_VrrpGroup) GetOrCreateInterfaceTracking() *Interface_RoutedVlan_Ipv4_Address_VrrpGroup_InterfaceTracking
- func (t *Interface_RoutedVlan_Ipv4_Address_VrrpGroup) GetPreempt() bool
- func (t *Interface_RoutedVlan_Ipv4_Address_VrrpGroup) GetPreemptDelay() uint16
- func (t *Interface_RoutedVlan_Ipv4_Address_VrrpGroup) GetPriority() uint8
- func (t *Interface_RoutedVlan_Ipv4_Address_VrrpGroup) GetVirtualAddress() []string
- func (t *Interface_RoutedVlan_Ipv4_Address_VrrpGroup) GetVirtualRouterId() uint8
- func (*Interface_RoutedVlan_Ipv4_Address_VrrpGroup) IsYANGGoStruct()
- func (t *Interface_RoutedVlan_Ipv4_Address_VrrpGroup) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_RoutedVlan_Ipv4_Address_VrrpGroup) ΛBelongingModule() string
- func (t *Interface_RoutedVlan_Ipv4_Address_VrrpGroup) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_RoutedVlan_Ipv4_Address_VrrpGroup) ΛListKeyMap() (map[string]interface{}, error)
- func (t *Interface_RoutedVlan_Ipv4_Address_VrrpGroup) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_RoutedVlan_Ipv4_Address_VrrpGroup_InterfaceTracking
- func (t *Interface_RoutedVlan_Ipv4_Address_VrrpGroup_InterfaceTracking) GetPriorityDecrement() uint8
- func (t *Interface_RoutedVlan_Ipv4_Address_VrrpGroup_InterfaceTracking) GetTrackInterface() []string
- func (*Interface_RoutedVlan_Ipv4_Address_VrrpGroup_InterfaceTracking) IsYANGGoStruct()
- func (t *Interface_RoutedVlan_Ipv4_Address_VrrpGroup_InterfaceTracking) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_RoutedVlan_Ipv4_Address_VrrpGroup_InterfaceTracking) ΛBelongingModule() string
- func (t *Interface_RoutedVlan_Ipv4_Address_VrrpGroup_InterfaceTracking) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_RoutedVlan_Ipv4_Address_VrrpGroup_InterfaceTracking) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_RoutedVlan_Ipv4_Counters
- func (t *Interface_RoutedVlan_Ipv4_Counters) GetInDiscardedPkts() uint64
- func (t *Interface_RoutedVlan_Ipv4_Counters) GetInErrorPkts() uint64
- func (t *Interface_RoutedVlan_Ipv4_Counters) GetInForwardedOctets() uint64
- func (t *Interface_RoutedVlan_Ipv4_Counters) GetInForwardedPkts() uint64
- func (t *Interface_RoutedVlan_Ipv4_Counters) GetInMulticastOctets() uint64
- func (t *Interface_RoutedVlan_Ipv4_Counters) GetInMulticastPkts() uint64
- func (t *Interface_RoutedVlan_Ipv4_Counters) GetInOctets() uint64
- func (t *Interface_RoutedVlan_Ipv4_Counters) GetInPkts() uint64
- func (t *Interface_RoutedVlan_Ipv4_Counters) GetOutDiscardedPkts() uint64
- func (t *Interface_RoutedVlan_Ipv4_Counters) GetOutErrorPkts() uint64
- func (t *Interface_RoutedVlan_Ipv4_Counters) GetOutForwardedOctets() uint64
- func (t *Interface_RoutedVlan_Ipv4_Counters) GetOutForwardedPkts() uint64
- func (t *Interface_RoutedVlan_Ipv4_Counters) GetOutMulticastOctets() uint64
- func (t *Interface_RoutedVlan_Ipv4_Counters) GetOutMulticastPkts() uint64
- func (t *Interface_RoutedVlan_Ipv4_Counters) GetOutOctets() uint64
- func (t *Interface_RoutedVlan_Ipv4_Counters) GetOutPkts() uint64
- func (*Interface_RoutedVlan_Ipv4_Counters) IsYANGGoStruct()
- func (t *Interface_RoutedVlan_Ipv4_Counters) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_RoutedVlan_Ipv4_Counters) ΛBelongingModule() string
- func (t *Interface_RoutedVlan_Ipv4_Counters) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_RoutedVlan_Ipv4_Counters) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_RoutedVlan_Ipv4_Neighbor
- func (t *Interface_RoutedVlan_Ipv4_Neighbor) GetIp() string
- func (t *Interface_RoutedVlan_Ipv4_Neighbor) GetLinkLayerAddress() string
- func (t *Interface_RoutedVlan_Ipv4_Neighbor) GetOrigin() E_IfIp_NeighborOrigin
- func (*Interface_RoutedVlan_Ipv4_Neighbor) IsYANGGoStruct()
- func (t *Interface_RoutedVlan_Ipv4_Neighbor) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_RoutedVlan_Ipv4_Neighbor) ΛBelongingModule() string
- func (t *Interface_RoutedVlan_Ipv4_Neighbor) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_RoutedVlan_Ipv4_Neighbor) ΛListKeyMap() (map[string]interface{}, error)
- func (t *Interface_RoutedVlan_Ipv4_Neighbor) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_RoutedVlan_Ipv4_ProxyArp
- func (t *Interface_RoutedVlan_Ipv4_ProxyArp) GetMode() E_ProxyArp_Mode
- func (*Interface_RoutedVlan_Ipv4_ProxyArp) IsYANGGoStruct()
- func (t *Interface_RoutedVlan_Ipv4_ProxyArp) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_RoutedVlan_Ipv4_ProxyArp) ΛBelongingModule() string
- func (t *Interface_RoutedVlan_Ipv4_ProxyArp) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_RoutedVlan_Ipv4_ProxyArp) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_RoutedVlan_Ipv4_Unnumbered
- func (t *Interface_RoutedVlan_Ipv4_Unnumbered) GetEnabled() bool
- func (t *Interface_RoutedVlan_Ipv4_Unnumbered) GetInterfaceRef() *Interface_RoutedVlan_Ipv4_Unnumbered_InterfaceRef
- func (t *Interface_RoutedVlan_Ipv4_Unnumbered) GetOrCreateInterfaceRef() *Interface_RoutedVlan_Ipv4_Unnumbered_InterfaceRef
- func (*Interface_RoutedVlan_Ipv4_Unnumbered) IsYANGGoStruct()
- func (t *Interface_RoutedVlan_Ipv4_Unnumbered) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_RoutedVlan_Ipv4_Unnumbered) ΛBelongingModule() string
- func (t *Interface_RoutedVlan_Ipv4_Unnumbered) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_RoutedVlan_Ipv4_Unnumbered) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_RoutedVlan_Ipv4_Unnumbered_InterfaceRef
- func (t *Interface_RoutedVlan_Ipv4_Unnumbered_InterfaceRef) GetInterface() string
- func (t *Interface_RoutedVlan_Ipv4_Unnumbered_InterfaceRef) GetSubinterface() uint32
- func (*Interface_RoutedVlan_Ipv4_Unnumbered_InterfaceRef) IsYANGGoStruct()
- func (t *Interface_RoutedVlan_Ipv4_Unnumbered_InterfaceRef) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_RoutedVlan_Ipv4_Unnumbered_InterfaceRef) ΛBelongingModule() string
- func (t *Interface_RoutedVlan_Ipv4_Unnumbered_InterfaceRef) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_RoutedVlan_Ipv4_Unnumbered_InterfaceRef) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_RoutedVlan_Ipv6
- func (t *Interface_RoutedVlan_Ipv6) AppendAddress(v *Interface_RoutedVlan_Ipv6_Address) error
- func (t *Interface_RoutedVlan_Ipv6) AppendNeighbor(v *Interface_RoutedVlan_Ipv6_Neighbor) error
- func (t *Interface_RoutedVlan_Ipv6) DeleteAddress(Ip string)
- func (t *Interface_RoutedVlan_Ipv6) DeleteNeighbor(Ip string)
- func (t *Interface_RoutedVlan_Ipv6) GetAddress(Ip string) *Interface_RoutedVlan_Ipv6_Address
- func (t *Interface_RoutedVlan_Ipv6) GetCounters() *Interface_RoutedVlan_Ipv6_Counters
- func (t *Interface_RoutedVlan_Ipv6) GetDhcpClient() bool
- func (t *Interface_RoutedVlan_Ipv6) GetDupAddrDetectTransmits() uint32
- func (t *Interface_RoutedVlan_Ipv6) GetEnabled() bool
- func (t *Interface_RoutedVlan_Ipv6) GetLearnUnsolicited() E_Ipv6_LearnUnsolicited
- func (t *Interface_RoutedVlan_Ipv6) GetMtu() uint32
- func (t *Interface_RoutedVlan_Ipv6) GetNeighbor(Ip string) *Interface_RoutedVlan_Ipv6_Neighbor
- func (t *Interface_RoutedVlan_Ipv6) GetOrCreateAddress(Ip string) *Interface_RoutedVlan_Ipv6_Address
- func (t *Interface_RoutedVlan_Ipv6) GetOrCreateAddressMap() map[string]*Interface_RoutedVlan_Ipv6_Address
- func (t *Interface_RoutedVlan_Ipv6) GetOrCreateCounters() *Interface_RoutedVlan_Ipv6_Counters
- func (t *Interface_RoutedVlan_Ipv6) GetOrCreateNeighbor(Ip string) *Interface_RoutedVlan_Ipv6_Neighbor
- func (t *Interface_RoutedVlan_Ipv6) GetOrCreateNeighborMap() map[string]*Interface_RoutedVlan_Ipv6_Neighbor
- func (t *Interface_RoutedVlan_Ipv6) GetOrCreateRouterAdvertisement() *Interface_RoutedVlan_Ipv6_RouterAdvertisement
- func (t *Interface_RoutedVlan_Ipv6) GetOrCreateUnnumbered() *Interface_RoutedVlan_Ipv6_Unnumbered
- func (t *Interface_RoutedVlan_Ipv6) GetRouterAdvertisement() *Interface_RoutedVlan_Ipv6_RouterAdvertisement
- func (t *Interface_RoutedVlan_Ipv6) GetUnnumbered() *Interface_RoutedVlan_Ipv6_Unnumbered
- func (*Interface_RoutedVlan_Ipv6) IsYANGGoStruct()
- func (t *Interface_RoutedVlan_Ipv6) NewAddress(Ip string) (*Interface_RoutedVlan_Ipv6_Address, error)
- func (t *Interface_RoutedVlan_Ipv6) NewNeighbor(Ip string) (*Interface_RoutedVlan_Ipv6_Neighbor, error)
- func (t *Interface_RoutedVlan_Ipv6) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_RoutedVlan_Ipv6) ΛBelongingModule() string
- func (t *Interface_RoutedVlan_Ipv6) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_RoutedVlan_Ipv6) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_RoutedVlan_Ipv6_Address
- func (t *Interface_RoutedVlan_Ipv6_Address) AppendVrrpGroup(v *Interface_RoutedVlan_Ipv6_Address_VrrpGroup) error
- func (t *Interface_RoutedVlan_Ipv6_Address) DeleteVrrpGroup(VirtualRouterId uint8)
- func (t *Interface_RoutedVlan_Ipv6_Address) GetIp() string
- func (t *Interface_RoutedVlan_Ipv6_Address) GetOrCreateVrrpGroup(VirtualRouterId uint8) *Interface_RoutedVlan_Ipv6_Address_VrrpGroup
- func (t *Interface_RoutedVlan_Ipv6_Address) GetOrCreateVrrpGroupMap() map[uint8]*Interface_RoutedVlan_Ipv6_Address_VrrpGroup
- func (t *Interface_RoutedVlan_Ipv6_Address) GetOrigin() E_IfIp_IpAddressOrigin
- func (t *Interface_RoutedVlan_Ipv6_Address) GetPrefixLength() uint8
- func (t *Interface_RoutedVlan_Ipv6_Address) GetStatus() E_Address_Status
- func (t *Interface_RoutedVlan_Ipv6_Address) GetType() E_InetTypes_Ipv6AddressType
- func (t *Interface_RoutedVlan_Ipv6_Address) GetVrrpGroup(VirtualRouterId uint8) *Interface_RoutedVlan_Ipv6_Address_VrrpGroup
- func (*Interface_RoutedVlan_Ipv6_Address) IsYANGGoStruct()
- func (t *Interface_RoutedVlan_Ipv6_Address) NewVrrpGroup(VirtualRouterId uint8) (*Interface_RoutedVlan_Ipv6_Address_VrrpGroup, error)
- func (t *Interface_RoutedVlan_Ipv6_Address) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_RoutedVlan_Ipv6_Address) ΛBelongingModule() string
- func (t *Interface_RoutedVlan_Ipv6_Address) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_RoutedVlan_Ipv6_Address) ΛListKeyMap() (map[string]interface{}, error)
- func (t *Interface_RoutedVlan_Ipv6_Address) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_RoutedVlan_Ipv6_Address_VrrpGroup
- func (t *Interface_RoutedVlan_Ipv6_Address_VrrpGroup) GetAcceptMode() bool
- func (t *Interface_RoutedVlan_Ipv6_Address_VrrpGroup) GetAdvertisementInterval() uint16
- func (t *Interface_RoutedVlan_Ipv6_Address_VrrpGroup) GetCurrentPriority() uint8
- func (t *Interface_RoutedVlan_Ipv6_Address_VrrpGroup) GetInterfaceTracking() *Interface_RoutedVlan_Ipv6_Address_VrrpGroup_InterfaceTracking
- func (t *Interface_RoutedVlan_Ipv6_Address_VrrpGroup) GetOrCreateInterfaceTracking() *Interface_RoutedVlan_Ipv6_Address_VrrpGroup_InterfaceTracking
- func (t *Interface_RoutedVlan_Ipv6_Address_VrrpGroup) GetPreempt() bool
- func (t *Interface_RoutedVlan_Ipv6_Address_VrrpGroup) GetPreemptDelay() uint16
- func (t *Interface_RoutedVlan_Ipv6_Address_VrrpGroup) GetPriority() uint8
- func (t *Interface_RoutedVlan_Ipv6_Address_VrrpGroup) GetVirtualAddress() []string
- func (t *Interface_RoutedVlan_Ipv6_Address_VrrpGroup) GetVirtualLinkLocal() string
- func (t *Interface_RoutedVlan_Ipv6_Address_VrrpGroup) GetVirtualRouterId() uint8
- func (*Interface_RoutedVlan_Ipv6_Address_VrrpGroup) IsYANGGoStruct()
- func (t *Interface_RoutedVlan_Ipv6_Address_VrrpGroup) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_RoutedVlan_Ipv6_Address_VrrpGroup) ΛBelongingModule() string
- func (t *Interface_RoutedVlan_Ipv6_Address_VrrpGroup) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_RoutedVlan_Ipv6_Address_VrrpGroup) ΛListKeyMap() (map[string]interface{}, error)
- func (t *Interface_RoutedVlan_Ipv6_Address_VrrpGroup) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_RoutedVlan_Ipv6_Address_VrrpGroup_InterfaceTracking
- func (t *Interface_RoutedVlan_Ipv6_Address_VrrpGroup_InterfaceTracking) GetPriorityDecrement() uint8
- func (t *Interface_RoutedVlan_Ipv6_Address_VrrpGroup_InterfaceTracking) GetTrackInterface() []string
- func (*Interface_RoutedVlan_Ipv6_Address_VrrpGroup_InterfaceTracking) IsYANGGoStruct()
- func (t *Interface_RoutedVlan_Ipv6_Address_VrrpGroup_InterfaceTracking) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_RoutedVlan_Ipv6_Address_VrrpGroup_InterfaceTracking) ΛBelongingModule() string
- func (t *Interface_RoutedVlan_Ipv6_Address_VrrpGroup_InterfaceTracking) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_RoutedVlan_Ipv6_Address_VrrpGroup_InterfaceTracking) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_RoutedVlan_Ipv6_Counters
- func (t *Interface_RoutedVlan_Ipv6_Counters) GetInDiscardedPkts() uint64
- func (t *Interface_RoutedVlan_Ipv6_Counters) GetInErrorPkts() uint64
- func (t *Interface_RoutedVlan_Ipv6_Counters) GetInForwardedOctets() uint64
- func (t *Interface_RoutedVlan_Ipv6_Counters) GetInForwardedPkts() uint64
- func (t *Interface_RoutedVlan_Ipv6_Counters) GetInMulticastOctets() uint64
- func (t *Interface_RoutedVlan_Ipv6_Counters) GetInMulticastPkts() uint64
- func (t *Interface_RoutedVlan_Ipv6_Counters) GetInOctets() uint64
- func (t *Interface_RoutedVlan_Ipv6_Counters) GetInPkts() uint64
- func (t *Interface_RoutedVlan_Ipv6_Counters) GetOutDiscardedPkts() uint64
- func (t *Interface_RoutedVlan_Ipv6_Counters) GetOutErrorPkts() uint64
- func (t *Interface_RoutedVlan_Ipv6_Counters) GetOutForwardedOctets() uint64
- func (t *Interface_RoutedVlan_Ipv6_Counters) GetOutForwardedPkts() uint64
- func (t *Interface_RoutedVlan_Ipv6_Counters) GetOutMulticastOctets() uint64
- func (t *Interface_RoutedVlan_Ipv6_Counters) GetOutMulticastPkts() uint64
- func (t *Interface_RoutedVlan_Ipv6_Counters) GetOutOctets() uint64
- func (t *Interface_RoutedVlan_Ipv6_Counters) GetOutPkts() uint64
- func (*Interface_RoutedVlan_Ipv6_Counters) IsYANGGoStruct()
- func (t *Interface_RoutedVlan_Ipv6_Counters) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_RoutedVlan_Ipv6_Counters) ΛBelongingModule() string
- func (t *Interface_RoutedVlan_Ipv6_Counters) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_RoutedVlan_Ipv6_Counters) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_RoutedVlan_Ipv6_Neighbor
- func (t *Interface_RoutedVlan_Ipv6_Neighbor) GetIp() string
- func (t *Interface_RoutedVlan_Ipv6_Neighbor) GetIsRouter() bool
- func (t *Interface_RoutedVlan_Ipv6_Neighbor) GetLinkLayerAddress() string
- func (t *Interface_RoutedVlan_Ipv6_Neighbor) GetNeighborState() E_Neighbor_NeighborState
- func (t *Interface_RoutedVlan_Ipv6_Neighbor) GetOrigin() E_IfIp_NeighborOrigin
- func (*Interface_RoutedVlan_Ipv6_Neighbor) IsYANGGoStruct()
- func (t *Interface_RoutedVlan_Ipv6_Neighbor) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_RoutedVlan_Ipv6_Neighbor) ΛBelongingModule() string
- func (t *Interface_RoutedVlan_Ipv6_Neighbor) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_RoutedVlan_Ipv6_Neighbor) ΛListKeyMap() (map[string]interface{}, error)
- func (t *Interface_RoutedVlan_Ipv6_Neighbor) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_RoutedVlan_Ipv6_RouterAdvertisement
- func (t *Interface_RoutedVlan_Ipv6_RouterAdvertisement) AppendPrefix(v *Interface_RoutedVlan_Ipv6_RouterAdvertisement_Prefix) error
- func (t *Interface_RoutedVlan_Ipv6_RouterAdvertisement) DeletePrefix(Prefix string)
- func (t *Interface_RoutedVlan_Ipv6_RouterAdvertisement) GetEnable() bool
- func (t *Interface_RoutedVlan_Ipv6_RouterAdvertisement) GetInterval() uint32
- func (t *Interface_RoutedVlan_Ipv6_RouterAdvertisement) GetLifetime() uint32
- func (t *Interface_RoutedVlan_Ipv6_RouterAdvertisement) GetManaged() bool
- func (t *Interface_RoutedVlan_Ipv6_RouterAdvertisement) GetMode() E_RouterAdvertisement_Mode
- func (t *Interface_RoutedVlan_Ipv6_RouterAdvertisement) GetOrCreatePrefix(Prefix string) *Interface_RoutedVlan_Ipv6_RouterAdvertisement_Prefix
- func (t *Interface_RoutedVlan_Ipv6_RouterAdvertisement) GetOrCreatePrefixMap() map[string]*Interface_RoutedVlan_Ipv6_RouterAdvertisement_Prefix
- func (t *Interface_RoutedVlan_Ipv6_RouterAdvertisement) GetOtherConfig() bool
- func (t *Interface_RoutedVlan_Ipv6_RouterAdvertisement) GetPrefix(Prefix string) *Interface_RoutedVlan_Ipv6_RouterAdvertisement_Prefix
- func (t *Interface_RoutedVlan_Ipv6_RouterAdvertisement) GetSuppress() bool
- func (*Interface_RoutedVlan_Ipv6_RouterAdvertisement) IsYANGGoStruct()
- func (t *Interface_RoutedVlan_Ipv6_RouterAdvertisement) NewPrefix(Prefix string) (*Interface_RoutedVlan_Ipv6_RouterAdvertisement_Prefix, error)
- func (t *Interface_RoutedVlan_Ipv6_RouterAdvertisement) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_RoutedVlan_Ipv6_RouterAdvertisement) ΛBelongingModule() string
- func (t *Interface_RoutedVlan_Ipv6_RouterAdvertisement) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_RoutedVlan_Ipv6_RouterAdvertisement) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_RoutedVlan_Ipv6_RouterAdvertisement_Prefix
- func (t *Interface_RoutedVlan_Ipv6_RouterAdvertisement_Prefix) GetDisableAdvertisement() bool
- func (t *Interface_RoutedVlan_Ipv6_RouterAdvertisement_Prefix) GetDisableAutoconfiguration() bool
- func (t *Interface_RoutedVlan_Ipv6_RouterAdvertisement_Prefix) GetEnableOnlink() bool
- func (t *Interface_RoutedVlan_Ipv6_RouterAdvertisement_Prefix) GetPreferredLifetime() uint32
- func (t *Interface_RoutedVlan_Ipv6_RouterAdvertisement_Prefix) GetPrefix() string
- func (t *Interface_RoutedVlan_Ipv6_RouterAdvertisement_Prefix) GetValidLifetime() uint32
- func (*Interface_RoutedVlan_Ipv6_RouterAdvertisement_Prefix) IsYANGGoStruct()
- func (t *Interface_RoutedVlan_Ipv6_RouterAdvertisement_Prefix) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_RoutedVlan_Ipv6_RouterAdvertisement_Prefix) ΛBelongingModule() string
- func (t *Interface_RoutedVlan_Ipv6_RouterAdvertisement_Prefix) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_RoutedVlan_Ipv6_RouterAdvertisement_Prefix) ΛListKeyMap() (map[string]interface{}, error)
- func (t *Interface_RoutedVlan_Ipv6_RouterAdvertisement_Prefix) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_RoutedVlan_Ipv6_Unnumbered
- func (t *Interface_RoutedVlan_Ipv6_Unnumbered) GetEnabled() bool
- func (t *Interface_RoutedVlan_Ipv6_Unnumbered) GetInterfaceRef() *Interface_RoutedVlan_Ipv6_Unnumbered_InterfaceRef
- func (t *Interface_RoutedVlan_Ipv6_Unnumbered) GetOrCreateInterfaceRef() *Interface_RoutedVlan_Ipv6_Unnumbered_InterfaceRef
- func (*Interface_RoutedVlan_Ipv6_Unnumbered) IsYANGGoStruct()
- func (t *Interface_RoutedVlan_Ipv6_Unnumbered) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_RoutedVlan_Ipv6_Unnumbered) ΛBelongingModule() string
- func (t *Interface_RoutedVlan_Ipv6_Unnumbered) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_RoutedVlan_Ipv6_Unnumbered) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_RoutedVlan_Ipv6_Unnumbered_InterfaceRef
- func (t *Interface_RoutedVlan_Ipv6_Unnumbered_InterfaceRef) GetInterface() string
- func (t *Interface_RoutedVlan_Ipv6_Unnumbered_InterfaceRef) GetSubinterface() uint32
- func (*Interface_RoutedVlan_Ipv6_Unnumbered_InterfaceRef) IsYANGGoStruct()
- func (t *Interface_RoutedVlan_Ipv6_Unnumbered_InterfaceRef) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_RoutedVlan_Ipv6_Unnumbered_InterfaceRef) ΛBelongingModule() string
- func (t *Interface_RoutedVlan_Ipv6_Unnumbered_InterfaceRef) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_RoutedVlan_Ipv6_Unnumbered_InterfaceRef) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_RoutedVlan_Vlan_Union
- type Interface_Subinterface
- func (t *Interface_Subinterface) GetAdminStatus() E_Interface_AdminStatus
- func (t *Interface_Subinterface) GetCounters() *Interface_Subinterface_Counters
- func (t *Interface_Subinterface) GetCpu() bool
- func (t *Interface_Subinterface) GetDescription() string
- func (t *Interface_Subinterface) GetEnabled() bool
- func (t *Interface_Subinterface) GetIfindex() uint32
- func (t *Interface_Subinterface) GetIndex() uint32
- func (t *Interface_Subinterface) GetIpv4() *Interface_Subinterface_Ipv4
- func (t *Interface_Subinterface) GetIpv6() *Interface_Subinterface_Ipv6
- func (t *Interface_Subinterface) GetLastChange() uint64
- func (t *Interface_Subinterface) GetLogical() bool
- func (t *Interface_Subinterface) GetManagement() bool
- func (t *Interface_Subinterface) GetName() string
- func (t *Interface_Subinterface) GetOperStatus() E_Interface_OperStatus
- func (t *Interface_Subinterface) GetOrCreateCounters() *Interface_Subinterface_Counters
- func (t *Interface_Subinterface) GetOrCreateIpv4() *Interface_Subinterface_Ipv4
- func (t *Interface_Subinterface) GetOrCreateIpv6() *Interface_Subinterface_Ipv6
- func (t *Interface_Subinterface) GetOrCreateVlan() *Interface_Subinterface_Vlan
- func (t *Interface_Subinterface) GetVlan() *Interface_Subinterface_Vlan
- func (*Interface_Subinterface) IsYANGGoStruct()
- func (t *Interface_Subinterface) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_Subinterface) ΛBelongingModule() string
- func (t *Interface_Subinterface) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_Subinterface) ΛListKeyMap() (map[string]interface{}, error)
- func (t *Interface_Subinterface) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_Subinterface_Counters
- func (t *Interface_Subinterface_Counters) GetCarrierTransitions() uint64
- func (t *Interface_Subinterface_Counters) GetInBroadcastPkts() uint64
- func (t *Interface_Subinterface_Counters) GetInDiscards() uint64
- func (t *Interface_Subinterface_Counters) GetInErrors() uint64
- func (t *Interface_Subinterface_Counters) GetInFcsErrors() uint64
- func (t *Interface_Subinterface_Counters) GetInMulticastPkts() uint64
- func (t *Interface_Subinterface_Counters) GetInOctets() uint64
- func (t *Interface_Subinterface_Counters) GetInPkts() uint64
- func (t *Interface_Subinterface_Counters) GetInUnicastPkts() uint64
- func (t *Interface_Subinterface_Counters) GetInUnknownProtos() uint64
- func (t *Interface_Subinterface_Counters) GetLastClear() uint64
- func (t *Interface_Subinterface_Counters) GetOutBroadcastPkts() uint64
- func (t *Interface_Subinterface_Counters) GetOutDiscards() uint64
- func (t *Interface_Subinterface_Counters) GetOutErrors() uint64
- func (t *Interface_Subinterface_Counters) GetOutMulticastPkts() uint64
- func (t *Interface_Subinterface_Counters) GetOutOctets() uint64
- func (t *Interface_Subinterface_Counters) GetOutPkts() uint64
- func (t *Interface_Subinterface_Counters) GetOutUnicastPkts() uint64
- func (*Interface_Subinterface_Counters) IsYANGGoStruct()
- func (t *Interface_Subinterface_Counters) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_Subinterface_Counters) ΛBelongingModule() string
- func (t *Interface_Subinterface_Counters) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_Subinterface_Counters) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_Subinterface_Ipv4
- func (t *Interface_Subinterface_Ipv4) AppendAddress(v *Interface_Subinterface_Ipv4_Address) error
- func (t *Interface_Subinterface_Ipv4) AppendNeighbor(v *Interface_Subinterface_Ipv4_Neighbor) error
- func (t *Interface_Subinterface_Ipv4) DeleteAddress(Ip string)
- func (t *Interface_Subinterface_Ipv4) DeleteNeighbor(Ip string)
- func (t *Interface_Subinterface_Ipv4) GetAddress(Ip string) *Interface_Subinterface_Ipv4_Address
- func (t *Interface_Subinterface_Ipv4) GetCounters() *Interface_Subinterface_Ipv4_Counters
- func (t *Interface_Subinterface_Ipv4) GetDhcpClient() bool
- func (t *Interface_Subinterface_Ipv4) GetEnabled() bool
- func (t *Interface_Subinterface_Ipv4) GetGratuitousArpAccepted() bool
- func (t *Interface_Subinterface_Ipv4) GetMtu() uint16
- func (t *Interface_Subinterface_Ipv4) GetNeighbor(Ip string) *Interface_Subinterface_Ipv4_Neighbor
- func (t *Interface_Subinterface_Ipv4) GetOrCreateAddress(Ip string) *Interface_Subinterface_Ipv4_Address
- func (t *Interface_Subinterface_Ipv4) GetOrCreateAddressMap() map[string]*Interface_Subinterface_Ipv4_Address
- func (t *Interface_Subinterface_Ipv4) GetOrCreateCounters() *Interface_Subinterface_Ipv4_Counters
- func (t *Interface_Subinterface_Ipv4) GetOrCreateNeighbor(Ip string) *Interface_Subinterface_Ipv4_Neighbor
- func (t *Interface_Subinterface_Ipv4) GetOrCreateNeighborMap() map[string]*Interface_Subinterface_Ipv4_Neighbor
- func (t *Interface_Subinterface_Ipv4) GetOrCreateProxyArp() *Interface_Subinterface_Ipv4_ProxyArp
- func (t *Interface_Subinterface_Ipv4) GetOrCreateUnnumbered() *Interface_Subinterface_Ipv4_Unnumbered
- func (t *Interface_Subinterface_Ipv4) GetProxyArp() *Interface_Subinterface_Ipv4_ProxyArp
- func (t *Interface_Subinterface_Ipv4) GetUnnumbered() *Interface_Subinterface_Ipv4_Unnumbered
- func (*Interface_Subinterface_Ipv4) IsYANGGoStruct()
- func (t *Interface_Subinterface_Ipv4) NewAddress(Ip string) (*Interface_Subinterface_Ipv4_Address, error)
- func (t *Interface_Subinterface_Ipv4) NewNeighbor(Ip string) (*Interface_Subinterface_Ipv4_Neighbor, error)
- func (t *Interface_Subinterface_Ipv4) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_Subinterface_Ipv4) ΛBelongingModule() string
- func (t *Interface_Subinterface_Ipv4) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_Subinterface_Ipv4) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_Subinterface_Ipv4_Address
- func (t *Interface_Subinterface_Ipv4_Address) AppendVrrpGroup(v *Interface_Subinterface_Ipv4_Address_VrrpGroup) error
- func (t *Interface_Subinterface_Ipv4_Address) DeleteVrrpGroup(VirtualRouterId uint8)
- func (t *Interface_Subinterface_Ipv4_Address) GetIp() string
- func (t *Interface_Subinterface_Ipv4_Address) GetOrCreateVrrpGroup(VirtualRouterId uint8) *Interface_Subinterface_Ipv4_Address_VrrpGroup
- func (t *Interface_Subinterface_Ipv4_Address) GetOrCreateVrrpGroupMap() map[uint8]*Interface_Subinterface_Ipv4_Address_VrrpGroup
- func (t *Interface_Subinterface_Ipv4_Address) GetOrigin() E_IfIp_IpAddressOrigin
- func (t *Interface_Subinterface_Ipv4_Address) GetPrefixLength() uint8
- func (t *Interface_Subinterface_Ipv4_Address) GetType() E_IfIp_Ipv4AddressType
- func (t *Interface_Subinterface_Ipv4_Address) GetVrrpGroup(VirtualRouterId uint8) *Interface_Subinterface_Ipv4_Address_VrrpGroup
- func (*Interface_Subinterface_Ipv4_Address) IsYANGGoStruct()
- func (t *Interface_Subinterface_Ipv4_Address) NewVrrpGroup(VirtualRouterId uint8) (*Interface_Subinterface_Ipv4_Address_VrrpGroup, error)
- func (t *Interface_Subinterface_Ipv4_Address) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_Subinterface_Ipv4_Address) ΛBelongingModule() string
- func (t *Interface_Subinterface_Ipv4_Address) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_Subinterface_Ipv4_Address) ΛListKeyMap() (map[string]interface{}, error)
- func (t *Interface_Subinterface_Ipv4_Address) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_Subinterface_Ipv4_Address_VrrpGroup
- func (t *Interface_Subinterface_Ipv4_Address_VrrpGroup) GetAcceptMode() bool
- func (t *Interface_Subinterface_Ipv4_Address_VrrpGroup) GetAdvertisementInterval() uint16
- func (t *Interface_Subinterface_Ipv4_Address_VrrpGroup) GetCurrentPriority() uint8
- func (t *Interface_Subinterface_Ipv4_Address_VrrpGroup) GetInterfaceTracking() *Interface_Subinterface_Ipv4_Address_VrrpGroup_InterfaceTracking
- func (t *Interface_Subinterface_Ipv4_Address_VrrpGroup) GetOrCreateInterfaceTracking() *Interface_Subinterface_Ipv4_Address_VrrpGroup_InterfaceTracking
- func (t *Interface_Subinterface_Ipv4_Address_VrrpGroup) GetPreempt() bool
- func (t *Interface_Subinterface_Ipv4_Address_VrrpGroup) GetPreemptDelay() uint16
- func (t *Interface_Subinterface_Ipv4_Address_VrrpGroup) GetPriority() uint8
- func (t *Interface_Subinterface_Ipv4_Address_VrrpGroup) GetVirtualAddress() []string
- func (t *Interface_Subinterface_Ipv4_Address_VrrpGroup) GetVirtualRouterId() uint8
- func (*Interface_Subinterface_Ipv4_Address_VrrpGroup) IsYANGGoStruct()
- func (t *Interface_Subinterface_Ipv4_Address_VrrpGroup) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_Subinterface_Ipv4_Address_VrrpGroup) ΛBelongingModule() string
- func (t *Interface_Subinterface_Ipv4_Address_VrrpGroup) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_Subinterface_Ipv4_Address_VrrpGroup) ΛListKeyMap() (map[string]interface{}, error)
- func (t *Interface_Subinterface_Ipv4_Address_VrrpGroup) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_Subinterface_Ipv4_Address_VrrpGroup_InterfaceTracking
- func (t *Interface_Subinterface_Ipv4_Address_VrrpGroup_InterfaceTracking) GetPriorityDecrement() uint8
- func (t *Interface_Subinterface_Ipv4_Address_VrrpGroup_InterfaceTracking) GetTrackInterface() []string
- func (*Interface_Subinterface_Ipv4_Address_VrrpGroup_InterfaceTracking) IsYANGGoStruct()
- func (t *Interface_Subinterface_Ipv4_Address_VrrpGroup_InterfaceTracking) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_Subinterface_Ipv4_Address_VrrpGroup_InterfaceTracking) ΛBelongingModule() string
- func (t *Interface_Subinterface_Ipv4_Address_VrrpGroup_InterfaceTracking) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_Subinterface_Ipv4_Address_VrrpGroup_InterfaceTracking) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_Subinterface_Ipv4_Counters
- func (t *Interface_Subinterface_Ipv4_Counters) GetInDiscardedPkts() uint64
- func (t *Interface_Subinterface_Ipv4_Counters) GetInErrorPkts() uint64
- func (t *Interface_Subinterface_Ipv4_Counters) GetInForwardedOctets() uint64
- func (t *Interface_Subinterface_Ipv4_Counters) GetInForwardedPkts() uint64
- func (t *Interface_Subinterface_Ipv4_Counters) GetInMulticastOctets() uint64
- func (t *Interface_Subinterface_Ipv4_Counters) GetInMulticastPkts() uint64
- func (t *Interface_Subinterface_Ipv4_Counters) GetInOctets() uint64
- func (t *Interface_Subinterface_Ipv4_Counters) GetInPkts() uint64
- func (t *Interface_Subinterface_Ipv4_Counters) GetOutDiscardedPkts() uint64
- func (t *Interface_Subinterface_Ipv4_Counters) GetOutErrorPkts() uint64
- func (t *Interface_Subinterface_Ipv4_Counters) GetOutForwardedOctets() uint64
- func (t *Interface_Subinterface_Ipv4_Counters) GetOutForwardedPkts() uint64
- func (t *Interface_Subinterface_Ipv4_Counters) GetOutMulticastOctets() uint64
- func (t *Interface_Subinterface_Ipv4_Counters) GetOutMulticastPkts() uint64
- func (t *Interface_Subinterface_Ipv4_Counters) GetOutOctets() uint64
- func (t *Interface_Subinterface_Ipv4_Counters) GetOutPkts() uint64
- func (*Interface_Subinterface_Ipv4_Counters) IsYANGGoStruct()
- func (t *Interface_Subinterface_Ipv4_Counters) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_Subinterface_Ipv4_Counters) ΛBelongingModule() string
- func (t *Interface_Subinterface_Ipv4_Counters) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_Subinterface_Ipv4_Counters) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_Subinterface_Ipv4_Neighbor
- func (t *Interface_Subinterface_Ipv4_Neighbor) GetIp() string
- func (t *Interface_Subinterface_Ipv4_Neighbor) GetLinkLayerAddress() string
- func (t *Interface_Subinterface_Ipv4_Neighbor) GetOrigin() E_IfIp_NeighborOrigin
- func (*Interface_Subinterface_Ipv4_Neighbor) IsYANGGoStruct()
- func (t *Interface_Subinterface_Ipv4_Neighbor) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_Subinterface_Ipv4_Neighbor) ΛBelongingModule() string
- func (t *Interface_Subinterface_Ipv4_Neighbor) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_Subinterface_Ipv4_Neighbor) ΛListKeyMap() (map[string]interface{}, error)
- func (t *Interface_Subinterface_Ipv4_Neighbor) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_Subinterface_Ipv4_ProxyArp
- func (t *Interface_Subinterface_Ipv4_ProxyArp) GetMode() E_ProxyArp_Mode
- func (*Interface_Subinterface_Ipv4_ProxyArp) IsYANGGoStruct()
- func (t *Interface_Subinterface_Ipv4_ProxyArp) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_Subinterface_Ipv4_ProxyArp) ΛBelongingModule() string
- func (t *Interface_Subinterface_Ipv4_ProxyArp) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_Subinterface_Ipv4_ProxyArp) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_Subinterface_Ipv4_Unnumbered
- func (t *Interface_Subinterface_Ipv4_Unnumbered) GetEnabled() bool
- func (t *Interface_Subinterface_Ipv4_Unnumbered) GetInterfaceRef() *Interface_Subinterface_Ipv4_Unnumbered_InterfaceRef
- func (t *Interface_Subinterface_Ipv4_Unnumbered) GetOrCreateInterfaceRef() *Interface_Subinterface_Ipv4_Unnumbered_InterfaceRef
- func (*Interface_Subinterface_Ipv4_Unnumbered) IsYANGGoStruct()
- func (t *Interface_Subinterface_Ipv4_Unnumbered) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_Subinterface_Ipv4_Unnumbered) ΛBelongingModule() string
- func (t *Interface_Subinterface_Ipv4_Unnumbered) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_Subinterface_Ipv4_Unnumbered) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_Subinterface_Ipv4_Unnumbered_InterfaceRef
- func (t *Interface_Subinterface_Ipv4_Unnumbered_InterfaceRef) GetInterface() string
- func (t *Interface_Subinterface_Ipv4_Unnumbered_InterfaceRef) GetSubinterface() uint32
- func (*Interface_Subinterface_Ipv4_Unnumbered_InterfaceRef) IsYANGGoStruct()
- func (t *Interface_Subinterface_Ipv4_Unnumbered_InterfaceRef) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_Subinterface_Ipv4_Unnumbered_InterfaceRef) ΛBelongingModule() string
- func (t *Interface_Subinterface_Ipv4_Unnumbered_InterfaceRef) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_Subinterface_Ipv4_Unnumbered_InterfaceRef) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_Subinterface_Ipv6
- func (t *Interface_Subinterface_Ipv6) AppendAddress(v *Interface_Subinterface_Ipv6_Address) error
- func (t *Interface_Subinterface_Ipv6) AppendNeighbor(v *Interface_Subinterface_Ipv6_Neighbor) error
- func (t *Interface_Subinterface_Ipv6) DeleteAddress(Ip string)
- func (t *Interface_Subinterface_Ipv6) DeleteNeighbor(Ip string)
- func (t *Interface_Subinterface_Ipv6) GetAddress(Ip string) *Interface_Subinterface_Ipv6_Address
- func (t *Interface_Subinterface_Ipv6) GetCounters() *Interface_Subinterface_Ipv6_Counters
- func (t *Interface_Subinterface_Ipv6) GetDhcpClient() bool
- func (t *Interface_Subinterface_Ipv6) GetDupAddrDetectTransmits() uint32
- func (t *Interface_Subinterface_Ipv6) GetEnabled() bool
- func (t *Interface_Subinterface_Ipv6) GetLearnUnsolicited() E_Ipv6_LearnUnsolicited
- func (t *Interface_Subinterface_Ipv6) GetMtu() uint32
- func (t *Interface_Subinterface_Ipv6) GetNeighbor(Ip string) *Interface_Subinterface_Ipv6_Neighbor
- func (t *Interface_Subinterface_Ipv6) GetOrCreateAddress(Ip string) *Interface_Subinterface_Ipv6_Address
- func (t *Interface_Subinterface_Ipv6) GetOrCreateAddressMap() map[string]*Interface_Subinterface_Ipv6_Address
- func (t *Interface_Subinterface_Ipv6) GetOrCreateCounters() *Interface_Subinterface_Ipv6_Counters
- func (t *Interface_Subinterface_Ipv6) GetOrCreateNeighbor(Ip string) *Interface_Subinterface_Ipv6_Neighbor
- func (t *Interface_Subinterface_Ipv6) GetOrCreateNeighborMap() map[string]*Interface_Subinterface_Ipv6_Neighbor
- func (t *Interface_Subinterface_Ipv6) GetOrCreateRouterAdvertisement() *Interface_Subinterface_Ipv6_RouterAdvertisement
- func (t *Interface_Subinterface_Ipv6) GetOrCreateUnnumbered() *Interface_Subinterface_Ipv6_Unnumbered
- func (t *Interface_Subinterface_Ipv6) GetRouterAdvertisement() *Interface_Subinterface_Ipv6_RouterAdvertisement
- func (t *Interface_Subinterface_Ipv6) GetUnnumbered() *Interface_Subinterface_Ipv6_Unnumbered
- func (*Interface_Subinterface_Ipv6) IsYANGGoStruct()
- func (t *Interface_Subinterface_Ipv6) NewAddress(Ip string) (*Interface_Subinterface_Ipv6_Address, error)
- func (t *Interface_Subinterface_Ipv6) NewNeighbor(Ip string) (*Interface_Subinterface_Ipv6_Neighbor, error)
- func (t *Interface_Subinterface_Ipv6) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_Subinterface_Ipv6) ΛBelongingModule() string
- func (t *Interface_Subinterface_Ipv6) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_Subinterface_Ipv6) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_Subinterface_Ipv6_Address
- func (t *Interface_Subinterface_Ipv6_Address) AppendVrrpGroup(v *Interface_Subinterface_Ipv6_Address_VrrpGroup) error
- func (t *Interface_Subinterface_Ipv6_Address) DeleteVrrpGroup(VirtualRouterId uint8)
- func (t *Interface_Subinterface_Ipv6_Address) GetIp() string
- func (t *Interface_Subinterface_Ipv6_Address) GetOrCreateVrrpGroup(VirtualRouterId uint8) *Interface_Subinterface_Ipv6_Address_VrrpGroup
- func (t *Interface_Subinterface_Ipv6_Address) GetOrCreateVrrpGroupMap() map[uint8]*Interface_Subinterface_Ipv6_Address_VrrpGroup
- func (t *Interface_Subinterface_Ipv6_Address) GetOrigin() E_IfIp_IpAddressOrigin
- func (t *Interface_Subinterface_Ipv6_Address) GetPrefixLength() uint8
- func (t *Interface_Subinterface_Ipv6_Address) GetStatus() E_Address_Status
- func (t *Interface_Subinterface_Ipv6_Address) GetType() E_InetTypes_Ipv6AddressType
- func (t *Interface_Subinterface_Ipv6_Address) GetVrrpGroup(VirtualRouterId uint8) *Interface_Subinterface_Ipv6_Address_VrrpGroup
- func (*Interface_Subinterface_Ipv6_Address) IsYANGGoStruct()
- func (t *Interface_Subinterface_Ipv6_Address) NewVrrpGroup(VirtualRouterId uint8) (*Interface_Subinterface_Ipv6_Address_VrrpGroup, error)
- func (t *Interface_Subinterface_Ipv6_Address) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_Subinterface_Ipv6_Address) ΛBelongingModule() string
- func (t *Interface_Subinterface_Ipv6_Address) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_Subinterface_Ipv6_Address) ΛListKeyMap() (map[string]interface{}, error)
- func (t *Interface_Subinterface_Ipv6_Address) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_Subinterface_Ipv6_Address_VrrpGroup
- func (t *Interface_Subinterface_Ipv6_Address_VrrpGroup) GetAcceptMode() bool
- func (t *Interface_Subinterface_Ipv6_Address_VrrpGroup) GetAdvertisementInterval() uint16
- func (t *Interface_Subinterface_Ipv6_Address_VrrpGroup) GetCurrentPriority() uint8
- func (t *Interface_Subinterface_Ipv6_Address_VrrpGroup) GetInterfaceTracking() *Interface_Subinterface_Ipv6_Address_VrrpGroup_InterfaceTracking
- func (t *Interface_Subinterface_Ipv6_Address_VrrpGroup) GetOrCreateInterfaceTracking() *Interface_Subinterface_Ipv6_Address_VrrpGroup_InterfaceTracking
- func (t *Interface_Subinterface_Ipv6_Address_VrrpGroup) GetPreempt() bool
- func (t *Interface_Subinterface_Ipv6_Address_VrrpGroup) GetPreemptDelay() uint16
- func (t *Interface_Subinterface_Ipv6_Address_VrrpGroup) GetPriority() uint8
- func (t *Interface_Subinterface_Ipv6_Address_VrrpGroup) GetVirtualAddress() []string
- func (t *Interface_Subinterface_Ipv6_Address_VrrpGroup) GetVirtualLinkLocal() string
- func (t *Interface_Subinterface_Ipv6_Address_VrrpGroup) GetVirtualRouterId() uint8
- func (*Interface_Subinterface_Ipv6_Address_VrrpGroup) IsYANGGoStruct()
- func (t *Interface_Subinterface_Ipv6_Address_VrrpGroup) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_Subinterface_Ipv6_Address_VrrpGroup) ΛBelongingModule() string
- func (t *Interface_Subinterface_Ipv6_Address_VrrpGroup) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_Subinterface_Ipv6_Address_VrrpGroup) ΛListKeyMap() (map[string]interface{}, error)
- func (t *Interface_Subinterface_Ipv6_Address_VrrpGroup) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_Subinterface_Ipv6_Address_VrrpGroup_InterfaceTracking
- func (t *Interface_Subinterface_Ipv6_Address_VrrpGroup_InterfaceTracking) GetPriorityDecrement() uint8
- func (t *Interface_Subinterface_Ipv6_Address_VrrpGroup_InterfaceTracking) GetTrackInterface() []string
- func (*Interface_Subinterface_Ipv6_Address_VrrpGroup_InterfaceTracking) IsYANGGoStruct()
- func (t *Interface_Subinterface_Ipv6_Address_VrrpGroup_InterfaceTracking) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_Subinterface_Ipv6_Address_VrrpGroup_InterfaceTracking) ΛBelongingModule() string
- func (t *Interface_Subinterface_Ipv6_Address_VrrpGroup_InterfaceTracking) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_Subinterface_Ipv6_Address_VrrpGroup_InterfaceTracking) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_Subinterface_Ipv6_Counters
- func (t *Interface_Subinterface_Ipv6_Counters) GetInDiscardedPkts() uint64
- func (t *Interface_Subinterface_Ipv6_Counters) GetInErrorPkts() uint64
- func (t *Interface_Subinterface_Ipv6_Counters) GetInForwardedOctets() uint64
- func (t *Interface_Subinterface_Ipv6_Counters) GetInForwardedPkts() uint64
- func (t *Interface_Subinterface_Ipv6_Counters) GetInMulticastOctets() uint64
- func (t *Interface_Subinterface_Ipv6_Counters) GetInMulticastPkts() uint64
- func (t *Interface_Subinterface_Ipv6_Counters) GetInOctets() uint64
- func (t *Interface_Subinterface_Ipv6_Counters) GetInPkts() uint64
- func (t *Interface_Subinterface_Ipv6_Counters) GetOutDiscardedPkts() uint64
- func (t *Interface_Subinterface_Ipv6_Counters) GetOutErrorPkts() uint64
- func (t *Interface_Subinterface_Ipv6_Counters) GetOutForwardedOctets() uint64
- func (t *Interface_Subinterface_Ipv6_Counters) GetOutForwardedPkts() uint64
- func (t *Interface_Subinterface_Ipv6_Counters) GetOutMulticastOctets() uint64
- func (t *Interface_Subinterface_Ipv6_Counters) GetOutMulticastPkts() uint64
- func (t *Interface_Subinterface_Ipv6_Counters) GetOutOctets() uint64
- func (t *Interface_Subinterface_Ipv6_Counters) GetOutPkts() uint64
- func (*Interface_Subinterface_Ipv6_Counters) IsYANGGoStruct()
- func (t *Interface_Subinterface_Ipv6_Counters) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_Subinterface_Ipv6_Counters) ΛBelongingModule() string
- func (t *Interface_Subinterface_Ipv6_Counters) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_Subinterface_Ipv6_Counters) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_Subinterface_Ipv6_Neighbor
- func (t *Interface_Subinterface_Ipv6_Neighbor) GetIp() string
- func (t *Interface_Subinterface_Ipv6_Neighbor) GetIsRouter() bool
- func (t *Interface_Subinterface_Ipv6_Neighbor) GetLinkLayerAddress() string
- func (t *Interface_Subinterface_Ipv6_Neighbor) GetNeighborState() E_Neighbor_NeighborState
- func (t *Interface_Subinterface_Ipv6_Neighbor) GetOrigin() E_IfIp_NeighborOrigin
- func (*Interface_Subinterface_Ipv6_Neighbor) IsYANGGoStruct()
- func (t *Interface_Subinterface_Ipv6_Neighbor) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_Subinterface_Ipv6_Neighbor) ΛBelongingModule() string
- func (t *Interface_Subinterface_Ipv6_Neighbor) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_Subinterface_Ipv6_Neighbor) ΛListKeyMap() (map[string]interface{}, error)
- func (t *Interface_Subinterface_Ipv6_Neighbor) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_Subinterface_Ipv6_RouterAdvertisement
- func (t *Interface_Subinterface_Ipv6_RouterAdvertisement) AppendPrefix(v *Interface_Subinterface_Ipv6_RouterAdvertisement_Prefix) error
- func (t *Interface_Subinterface_Ipv6_RouterAdvertisement) DeletePrefix(Prefix string)
- func (t *Interface_Subinterface_Ipv6_RouterAdvertisement) GetEnable() bool
- func (t *Interface_Subinterface_Ipv6_RouterAdvertisement) GetInterval() uint32
- func (t *Interface_Subinterface_Ipv6_RouterAdvertisement) GetLifetime() uint32
- func (t *Interface_Subinterface_Ipv6_RouterAdvertisement) GetManaged() bool
- func (t *Interface_Subinterface_Ipv6_RouterAdvertisement) GetMode() E_RouterAdvertisement_Mode
- func (t *Interface_Subinterface_Ipv6_RouterAdvertisement) GetOrCreatePrefix(Prefix string) *Interface_Subinterface_Ipv6_RouterAdvertisement_Prefix
- func (t *Interface_Subinterface_Ipv6_RouterAdvertisement) GetOrCreatePrefixMap() map[string]*Interface_Subinterface_Ipv6_RouterAdvertisement_Prefix
- func (t *Interface_Subinterface_Ipv6_RouterAdvertisement) GetOtherConfig() bool
- func (t *Interface_Subinterface_Ipv6_RouterAdvertisement) GetPrefix(Prefix string) *Interface_Subinterface_Ipv6_RouterAdvertisement_Prefix
- func (t *Interface_Subinterface_Ipv6_RouterAdvertisement) GetSuppress() bool
- func (*Interface_Subinterface_Ipv6_RouterAdvertisement) IsYANGGoStruct()
- func (t *Interface_Subinterface_Ipv6_RouterAdvertisement) NewPrefix(Prefix string) (*Interface_Subinterface_Ipv6_RouterAdvertisement_Prefix, error)
- func (t *Interface_Subinterface_Ipv6_RouterAdvertisement) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_Subinterface_Ipv6_RouterAdvertisement) ΛBelongingModule() string
- func (t *Interface_Subinterface_Ipv6_RouterAdvertisement) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_Subinterface_Ipv6_RouterAdvertisement) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_Subinterface_Ipv6_RouterAdvertisement_Prefix
- func (t *Interface_Subinterface_Ipv6_RouterAdvertisement_Prefix) GetDisableAdvertisement() bool
- func (t *Interface_Subinterface_Ipv6_RouterAdvertisement_Prefix) GetDisableAutoconfiguration() bool
- func (t *Interface_Subinterface_Ipv6_RouterAdvertisement_Prefix) GetEnableOnlink() bool
- func (t *Interface_Subinterface_Ipv6_RouterAdvertisement_Prefix) GetPreferredLifetime() uint32
- func (t *Interface_Subinterface_Ipv6_RouterAdvertisement_Prefix) GetPrefix() string
- func (t *Interface_Subinterface_Ipv6_RouterAdvertisement_Prefix) GetValidLifetime() uint32
- func (*Interface_Subinterface_Ipv6_RouterAdvertisement_Prefix) IsYANGGoStruct()
- func (t *Interface_Subinterface_Ipv6_RouterAdvertisement_Prefix) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_Subinterface_Ipv6_RouterAdvertisement_Prefix) ΛBelongingModule() string
- func (t *Interface_Subinterface_Ipv6_RouterAdvertisement_Prefix) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_Subinterface_Ipv6_RouterAdvertisement_Prefix) ΛListKeyMap() (map[string]interface{}, error)
- func (t *Interface_Subinterface_Ipv6_RouterAdvertisement_Prefix) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_Subinterface_Ipv6_Unnumbered
- func (t *Interface_Subinterface_Ipv6_Unnumbered) GetEnabled() bool
- func (t *Interface_Subinterface_Ipv6_Unnumbered) GetInterfaceRef() *Interface_Subinterface_Ipv6_Unnumbered_InterfaceRef
- func (t *Interface_Subinterface_Ipv6_Unnumbered) GetOrCreateInterfaceRef() *Interface_Subinterface_Ipv6_Unnumbered_InterfaceRef
- func (*Interface_Subinterface_Ipv6_Unnumbered) IsYANGGoStruct()
- func (t *Interface_Subinterface_Ipv6_Unnumbered) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_Subinterface_Ipv6_Unnumbered) ΛBelongingModule() string
- func (t *Interface_Subinterface_Ipv6_Unnumbered) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_Subinterface_Ipv6_Unnumbered) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_Subinterface_Ipv6_Unnumbered_InterfaceRef
- func (t *Interface_Subinterface_Ipv6_Unnumbered_InterfaceRef) GetInterface() string
- func (t *Interface_Subinterface_Ipv6_Unnumbered_InterfaceRef) GetSubinterface() uint32
- func (*Interface_Subinterface_Ipv6_Unnumbered_InterfaceRef) IsYANGGoStruct()
- func (t *Interface_Subinterface_Ipv6_Unnumbered_InterfaceRef) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_Subinterface_Ipv6_Unnumbered_InterfaceRef) ΛBelongingModule() string
- func (t *Interface_Subinterface_Ipv6_Unnumbered_InterfaceRef) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_Subinterface_Ipv6_Unnumbered_InterfaceRef) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_Subinterface_Vlan
- func (t *Interface_Subinterface_Vlan) GetEgressMapping() *Interface_Subinterface_Vlan_EgressMapping
- func (t *Interface_Subinterface_Vlan) GetIngressMapping() *Interface_Subinterface_Vlan_IngressMapping
- func (t *Interface_Subinterface_Vlan) GetMatch() *Interface_Subinterface_Vlan_Match
- func (t *Interface_Subinterface_Vlan) GetOrCreateEgressMapping() *Interface_Subinterface_Vlan_EgressMapping
- func (t *Interface_Subinterface_Vlan) GetOrCreateIngressMapping() *Interface_Subinterface_Vlan_IngressMapping
- func (t *Interface_Subinterface_Vlan) GetOrCreateMatch() *Interface_Subinterface_Vlan_Match
- func (t *Interface_Subinterface_Vlan) GetVlanId() Interface_Subinterface_Vlan_VlanId_Union
- func (*Interface_Subinterface_Vlan) IsYANGGoStruct()
- func (t *Interface_Subinterface_Vlan) To_Interface_Subinterface_Vlan_VlanId_Union(i interface{}) (Interface_Subinterface_Vlan_VlanId_Union, error)
- func (t *Interface_Subinterface_Vlan) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_Subinterface_Vlan) ΛBelongingModule() string
- func (t *Interface_Subinterface_Vlan) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_Subinterface_Vlan) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_Subinterface_Vlan_EgressMapping
- func (t *Interface_Subinterface_Vlan_EgressMapping) GetTpid() E_VlanTypes_TPID_TYPES
- func (t *Interface_Subinterface_Vlan_EgressMapping) GetVlanId() uint16
- func (t *Interface_Subinterface_Vlan_EgressMapping) GetVlanStackAction() E_VlanTypes_VlanStackAction
- func (*Interface_Subinterface_Vlan_EgressMapping) IsYANGGoStruct()
- func (t *Interface_Subinterface_Vlan_EgressMapping) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_Subinterface_Vlan_EgressMapping) ΛBelongingModule() string
- func (t *Interface_Subinterface_Vlan_EgressMapping) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_Subinterface_Vlan_EgressMapping) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_Subinterface_Vlan_IngressMapping
- func (t *Interface_Subinterface_Vlan_IngressMapping) GetTpid() E_VlanTypes_TPID_TYPES
- func (t *Interface_Subinterface_Vlan_IngressMapping) GetVlanId() uint16
- func (t *Interface_Subinterface_Vlan_IngressMapping) GetVlanStackAction() E_VlanTypes_VlanStackAction
- func (*Interface_Subinterface_Vlan_IngressMapping) IsYANGGoStruct()
- func (t *Interface_Subinterface_Vlan_IngressMapping) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_Subinterface_Vlan_IngressMapping) ΛBelongingModule() string
- func (t *Interface_Subinterface_Vlan_IngressMapping) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_Subinterface_Vlan_IngressMapping) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_Subinterface_Vlan_Match
- func (t *Interface_Subinterface_Vlan_Match) GetDoubleTagged() *Interface_Subinterface_Vlan_Match_DoubleTagged
- func (t *Interface_Subinterface_Vlan_Match) GetDoubleTaggedInnerList() *Interface_Subinterface_Vlan_Match_DoubleTaggedInnerList
- func (t *Interface_Subinterface_Vlan_Match) GetDoubleTaggedInnerOuterRange() *Interface_Subinterface_Vlan_Match_DoubleTaggedInnerOuterRange
- func (t *Interface_Subinterface_Vlan_Match) GetDoubleTaggedInnerRange() *Interface_Subinterface_Vlan_Match_DoubleTaggedInnerRange
- func (t *Interface_Subinterface_Vlan_Match) GetDoubleTaggedOuterList() *Interface_Subinterface_Vlan_Match_DoubleTaggedOuterList
- func (t *Interface_Subinterface_Vlan_Match) GetDoubleTaggedOuterRange() *Interface_Subinterface_Vlan_Match_DoubleTaggedOuterRange
- func (t *Interface_Subinterface_Vlan_Match) GetOrCreateDoubleTagged() *Interface_Subinterface_Vlan_Match_DoubleTagged
- func (t *Interface_Subinterface_Vlan_Match) GetOrCreateDoubleTaggedInnerList() *Interface_Subinterface_Vlan_Match_DoubleTaggedInnerList
- func (t *Interface_Subinterface_Vlan_Match) GetOrCreateDoubleTaggedInnerOuterRange() *Interface_Subinterface_Vlan_Match_DoubleTaggedInnerOuterRange
- func (t *Interface_Subinterface_Vlan_Match) GetOrCreateDoubleTaggedInnerRange() *Interface_Subinterface_Vlan_Match_DoubleTaggedInnerRange
- func (t *Interface_Subinterface_Vlan_Match) GetOrCreateDoubleTaggedOuterList() *Interface_Subinterface_Vlan_Match_DoubleTaggedOuterList
- func (t *Interface_Subinterface_Vlan_Match) GetOrCreateDoubleTaggedOuterRange() *Interface_Subinterface_Vlan_Match_DoubleTaggedOuterRange
- func (t *Interface_Subinterface_Vlan_Match) GetOrCreateSingleTagged() *Interface_Subinterface_Vlan_Match_SingleTagged
- func (t *Interface_Subinterface_Vlan_Match) GetOrCreateSingleTaggedList() *Interface_Subinterface_Vlan_Match_SingleTaggedList
- func (t *Interface_Subinterface_Vlan_Match) GetOrCreateSingleTaggedRange() *Interface_Subinterface_Vlan_Match_SingleTaggedRange
- func (t *Interface_Subinterface_Vlan_Match) GetSingleTagged() *Interface_Subinterface_Vlan_Match_SingleTagged
- func (t *Interface_Subinterface_Vlan_Match) GetSingleTaggedList() *Interface_Subinterface_Vlan_Match_SingleTaggedList
- func (t *Interface_Subinterface_Vlan_Match) GetSingleTaggedRange() *Interface_Subinterface_Vlan_Match_SingleTaggedRange
- func (*Interface_Subinterface_Vlan_Match) IsYANGGoStruct()
- func (t *Interface_Subinterface_Vlan_Match) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_Subinterface_Vlan_Match) ΛBelongingModule() string
- func (t *Interface_Subinterface_Vlan_Match) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_Subinterface_Vlan_Match) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_Subinterface_Vlan_Match_DoubleTagged
- func (t *Interface_Subinterface_Vlan_Match_DoubleTagged) GetInnerVlanId() uint16
- func (t *Interface_Subinterface_Vlan_Match_DoubleTagged) GetOuterVlanId() uint16
- func (*Interface_Subinterface_Vlan_Match_DoubleTagged) IsYANGGoStruct()
- func (t *Interface_Subinterface_Vlan_Match_DoubleTagged) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_Subinterface_Vlan_Match_DoubleTagged) ΛBelongingModule() string
- func (t *Interface_Subinterface_Vlan_Match_DoubleTagged) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_Subinterface_Vlan_Match_DoubleTagged) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_Subinterface_Vlan_Match_DoubleTaggedInnerList
- func (t *Interface_Subinterface_Vlan_Match_DoubleTaggedInnerList) GetInnerVlanIds() []uint16
- func (t *Interface_Subinterface_Vlan_Match_DoubleTaggedInnerList) GetOuterVlanId() uint16
- func (*Interface_Subinterface_Vlan_Match_DoubleTaggedInnerList) IsYANGGoStruct()
- func (t *Interface_Subinterface_Vlan_Match_DoubleTaggedInnerList) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_Subinterface_Vlan_Match_DoubleTaggedInnerList) ΛBelongingModule() string
- func (t *Interface_Subinterface_Vlan_Match_DoubleTaggedInnerList) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_Subinterface_Vlan_Match_DoubleTaggedInnerList) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_Subinterface_Vlan_Match_DoubleTaggedInnerOuterRange
- func (t *Interface_Subinterface_Vlan_Match_DoubleTaggedInnerOuterRange) GetInnerHighVlanId() uint16
- func (t *Interface_Subinterface_Vlan_Match_DoubleTaggedInnerOuterRange) GetInnerLowVlanId() uint16
- func (t *Interface_Subinterface_Vlan_Match_DoubleTaggedInnerOuterRange) GetOuterHighVlanId() uint16
- func (t *Interface_Subinterface_Vlan_Match_DoubleTaggedInnerOuterRange) GetOuterLowVlanId() uint16
- func (*Interface_Subinterface_Vlan_Match_DoubleTaggedInnerOuterRange) IsYANGGoStruct()
- func (t *Interface_Subinterface_Vlan_Match_DoubleTaggedInnerOuterRange) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_Subinterface_Vlan_Match_DoubleTaggedInnerOuterRange) ΛBelongingModule() string
- func (t *Interface_Subinterface_Vlan_Match_DoubleTaggedInnerOuterRange) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_Subinterface_Vlan_Match_DoubleTaggedInnerOuterRange) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_Subinterface_Vlan_Match_DoubleTaggedInnerRange
- func (t *Interface_Subinterface_Vlan_Match_DoubleTaggedInnerRange) GetInnerHighVlanId() uint16
- func (t *Interface_Subinterface_Vlan_Match_DoubleTaggedInnerRange) GetInnerLowVlanId() uint16
- func (t *Interface_Subinterface_Vlan_Match_DoubleTaggedInnerRange) GetOuterVlanId() []uint16
- func (*Interface_Subinterface_Vlan_Match_DoubleTaggedInnerRange) IsYANGGoStruct()
- func (t *Interface_Subinterface_Vlan_Match_DoubleTaggedInnerRange) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_Subinterface_Vlan_Match_DoubleTaggedInnerRange) ΛBelongingModule() string
- func (t *Interface_Subinterface_Vlan_Match_DoubleTaggedInnerRange) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_Subinterface_Vlan_Match_DoubleTaggedInnerRange) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_Subinterface_Vlan_Match_DoubleTaggedOuterList
- func (t *Interface_Subinterface_Vlan_Match_DoubleTaggedOuterList) GetInnerVlanId() uint16
- func (t *Interface_Subinterface_Vlan_Match_DoubleTaggedOuterList) GetOuterVlanIds() []uint16
- func (*Interface_Subinterface_Vlan_Match_DoubleTaggedOuterList) IsYANGGoStruct()
- func (t *Interface_Subinterface_Vlan_Match_DoubleTaggedOuterList) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_Subinterface_Vlan_Match_DoubleTaggedOuterList) ΛBelongingModule() string
- func (t *Interface_Subinterface_Vlan_Match_DoubleTaggedOuterList) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_Subinterface_Vlan_Match_DoubleTaggedOuterList) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_Subinterface_Vlan_Match_DoubleTaggedOuterRange
- func (t *Interface_Subinterface_Vlan_Match_DoubleTaggedOuterRange) GetInnerVlanId() uint16
- func (t *Interface_Subinterface_Vlan_Match_DoubleTaggedOuterRange) GetOuterHighVlanId() uint16
- func (t *Interface_Subinterface_Vlan_Match_DoubleTaggedOuterRange) GetOuterLowVlanId() uint16
- func (*Interface_Subinterface_Vlan_Match_DoubleTaggedOuterRange) IsYANGGoStruct()
- func (t *Interface_Subinterface_Vlan_Match_DoubleTaggedOuterRange) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_Subinterface_Vlan_Match_DoubleTaggedOuterRange) ΛBelongingModule() string
- func (t *Interface_Subinterface_Vlan_Match_DoubleTaggedOuterRange) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_Subinterface_Vlan_Match_DoubleTaggedOuterRange) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_Subinterface_Vlan_Match_SingleTagged
- func (t *Interface_Subinterface_Vlan_Match_SingleTagged) GetVlanId() uint16
- func (*Interface_Subinterface_Vlan_Match_SingleTagged) IsYANGGoStruct()
- func (t *Interface_Subinterface_Vlan_Match_SingleTagged) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_Subinterface_Vlan_Match_SingleTagged) ΛBelongingModule() string
- func (t *Interface_Subinterface_Vlan_Match_SingleTagged) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_Subinterface_Vlan_Match_SingleTagged) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_Subinterface_Vlan_Match_SingleTaggedList
- func (t *Interface_Subinterface_Vlan_Match_SingleTaggedList) GetVlanIds() []uint16
- func (*Interface_Subinterface_Vlan_Match_SingleTaggedList) IsYANGGoStruct()
- func (t *Interface_Subinterface_Vlan_Match_SingleTaggedList) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_Subinterface_Vlan_Match_SingleTaggedList) ΛBelongingModule() string
- func (t *Interface_Subinterface_Vlan_Match_SingleTaggedList) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_Subinterface_Vlan_Match_SingleTaggedList) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_Subinterface_Vlan_Match_SingleTaggedRange
- func (t *Interface_Subinterface_Vlan_Match_SingleTaggedRange) GetHighVlanId() uint16
- func (t *Interface_Subinterface_Vlan_Match_SingleTaggedRange) GetLowVlanId() uint16
- func (*Interface_Subinterface_Vlan_Match_SingleTaggedRange) IsYANGGoStruct()
- func (t *Interface_Subinterface_Vlan_Match_SingleTaggedRange) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_Subinterface_Vlan_Match_SingleTaggedRange) ΛBelongingModule() string
- func (t *Interface_Subinterface_Vlan_Match_SingleTaggedRange) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_Subinterface_Vlan_Match_SingleTaggedRange) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_Subinterface_Vlan_VlanId_Union
- type Keychain
- func (t *Keychain) AppendKey(v *Keychain_Key) error
- func (t *Keychain) DeleteKey(KeyId Keychain_Key_KeyId_Union)
- func (t *Keychain) GetKey(KeyId Keychain_Key_KeyId_Union) *Keychain_Key
- func (t *Keychain) GetName() string
- func (t *Keychain) GetOrCreateKey(KeyId Keychain_Key_KeyId_Union) *Keychain_Key
- func (t *Keychain) GetOrCreateKeyMap() map[Keychain_Key_KeyId_Union]*Keychain_Key
- func (t *Keychain) GetTolerance() Keychain_Tolerance_Union
- func (*Keychain) IsYANGGoStruct()
- func (t *Keychain) NewKey(KeyId Keychain_Key_KeyId_Union) (*Keychain_Key, error)
- func (t *Keychain) To_Keychain_Tolerance_Union(i interface{}) (Keychain_Tolerance_Union, error)
- func (t *Keychain) Validate(opts ...ygot.ValidationOption) error
- func (*Keychain) ΛBelongingModule() string
- func (t *Keychain) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Keychain) ΛListKeyMap() (map[string]interface{}, error)
- func (t *Keychain) ΛValidate(opts ...ygot.ValidationOption) error
- type Keychain_Key
- func (t *Keychain_Key) GetCryptoAlgorithm() E_KeychainTypes_CRYPTO_TYPE
- func (t *Keychain_Key) GetKeyId() Keychain_Key_KeyId_Union
- func (t *Keychain_Key) GetOrCreateReceiveLifetime() *Keychain_Key_ReceiveLifetime
- func (t *Keychain_Key) GetOrCreateSendLifetime() *Keychain_Key_SendLifetime
- func (t *Keychain_Key) GetReceiveLifetime() *Keychain_Key_ReceiveLifetime
- func (t *Keychain_Key) GetSecretKey() string
- func (t *Keychain_Key) GetSendLifetime() *Keychain_Key_SendLifetime
- func (*Keychain_Key) IsYANGGoStruct()
- func (t *Keychain_Key) To_Keychain_Key_KeyId_Union(i interface{}) (Keychain_Key_KeyId_Union, error)
- func (t *Keychain_Key) Validate(opts ...ygot.ValidationOption) error
- func (*Keychain_Key) ΛBelongingModule() string
- func (t *Keychain_Key) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Keychain_Key) ΛListKeyMap() (map[string]interface{}, error)
- func (t *Keychain_Key) ΛValidate(opts ...ygot.ValidationOption) error
- type Keychain_Key_KeyId_Union
- type Keychain_Key_ReceiveLifetime
- func (t *Keychain_Key_ReceiveLifetime) GetEndTime() uint64
- func (t *Keychain_Key_ReceiveLifetime) GetStartTime() uint64
- func (*Keychain_Key_ReceiveLifetime) IsYANGGoStruct()
- func (t *Keychain_Key_ReceiveLifetime) Validate(opts ...ygot.ValidationOption) error
- func (*Keychain_Key_ReceiveLifetime) ΛBelongingModule() string
- func (t *Keychain_Key_ReceiveLifetime) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Keychain_Key_ReceiveLifetime) ΛValidate(opts ...ygot.ValidationOption) error
- type Keychain_Key_SendLifetime
- func (t *Keychain_Key_SendLifetime) GetEndTime() uint64
- func (t *Keychain_Key_SendLifetime) GetSendAndReceive() bool
- func (t *Keychain_Key_SendLifetime) GetStartTime() uint64
- func (*Keychain_Key_SendLifetime) IsYANGGoStruct()
- func (t *Keychain_Key_SendLifetime) Validate(opts ...ygot.ValidationOption) error
- func (*Keychain_Key_SendLifetime) ΛBelongingModule() string
- func (t *Keychain_Key_SendLifetime) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Keychain_Key_SendLifetime) ΛValidate(opts ...ygot.ValidationOption) error
- type Keychain_Tolerance_Union
- type NetworkInstance
- func (t *NetworkInstance) AppendInterface(v *NetworkInstance_Interface) error
- func (t *NetworkInstance) DeleteInterface(Id string)
- func (t *NetworkInstance) GetDescription() string
- func (t *NetworkInstance) GetFallbackNetworkInstance() string
- func (t *NetworkInstance) GetInterface(Id string) *NetworkInstance_Interface
- func (t *NetworkInstance) GetName() string
- func (t *NetworkInstance) GetOrCreateInterface(Id string) *NetworkInstance_Interface
- func (t *NetworkInstance) GetOrCreateInterfaceMap() map[string]*NetworkInstance_Interface
- func (t *NetworkInstance) GetOrCreatePolicyForwarding() *NetworkInstance_PolicyForwarding
- func (t *NetworkInstance) GetOrCreateStatic() *NetworkInstance_Static
- func (t *NetworkInstance) GetPolicyForwarding() *NetworkInstance_PolicyForwarding
- func (t *NetworkInstance) GetRouteDistinguisher() string
- func (t *NetworkInstance) GetRouterId() string
- func (t *NetworkInstance) GetStatic() *NetworkInstance_Static
- func (t *NetworkInstance) GetType() E_NetworkInstanceTypes_NETWORK_INSTANCE_TYPE
- func (*NetworkInstance) IsYANGGoStruct()
- func (t *NetworkInstance) NewInterface(Id string) (*NetworkInstance_Interface, error)
- func (t *NetworkInstance) Validate(opts ...ygot.ValidationOption) error
- func (*NetworkInstance) ΛBelongingModule() string
- func (t *NetworkInstance) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *NetworkInstance) ΛListKeyMap() (map[string]interface{}, error)
- func (t *NetworkInstance) ΛValidate(opts ...ygot.ValidationOption) error
- type NetworkInstance_Interface
- func (t *NetworkInstance_Interface) GetAssociatedAddressFamilies() []E_Types_ADDRESS_FAMILY
- func (t *NetworkInstance_Interface) GetId() string
- func (t *NetworkInstance_Interface) GetInterface() string
- func (t *NetworkInstance_Interface) GetIrbAnycastGateway() E_Interface_IrbAnycastGateway
- func (t *NetworkInstance_Interface) GetMacPinning() bool
- func (t *NetworkInstance_Interface) GetSubinterface() uint32
- func (*NetworkInstance_Interface) IsYANGGoStruct()
- func (t *NetworkInstance_Interface) Validate(opts ...ygot.ValidationOption) error
- func (*NetworkInstance_Interface) ΛBelongingModule() string
- func (t *NetworkInstance_Interface) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *NetworkInstance_Interface) ΛListKeyMap() (map[string]interface{}, error)
- func (t *NetworkInstance_Interface) ΛValidate(opts ...ygot.ValidationOption) error
- type NetworkInstance_PolicyForwarding
- func (t *NetworkInstance_PolicyForwarding) AppendInterface(v *NetworkInstance_PolicyForwarding_Interface) error
- func (t *NetworkInstance_PolicyForwarding) AppendPolicy(v *NetworkInstance_PolicyForwarding_Policy) error
- func (t *NetworkInstance_PolicyForwarding) DeleteInterface(InterfaceId string)
- func (t *NetworkInstance_PolicyForwarding) DeletePolicy(PolicyId string)
- func (t *NetworkInstance_PolicyForwarding) GetInterface(InterfaceId string) *NetworkInstance_PolicyForwarding_Interface
- func (t *NetworkInstance_PolicyForwarding) GetOrCreateInterface(InterfaceId string) *NetworkInstance_PolicyForwarding_Interface
- func (t *NetworkInstance_PolicyForwarding) GetOrCreateInterfaceMap() map[string]*NetworkInstance_PolicyForwarding_Interface
- func (t *NetworkInstance_PolicyForwarding) GetOrCreatePolicy(PolicyId string) *NetworkInstance_PolicyForwarding_Policy
- func (t *NetworkInstance_PolicyForwarding) GetOrCreatePolicyMap() map[string]*NetworkInstance_PolicyForwarding_Policy
- func (t *NetworkInstance_PolicyForwarding) GetPolicy(PolicyId string) *NetworkInstance_PolicyForwarding_Policy
- func (*NetworkInstance_PolicyForwarding) IsYANGGoStruct()
- func (t *NetworkInstance_PolicyForwarding) NewInterface(InterfaceId string) (*NetworkInstance_PolicyForwarding_Interface, error)
- func (t *NetworkInstance_PolicyForwarding) NewPolicy(PolicyId string) (*NetworkInstance_PolicyForwarding_Policy, error)
- func (t *NetworkInstance_PolicyForwarding) Validate(opts ...ygot.ValidationOption) error
- func (*NetworkInstance_PolicyForwarding) ΛBelongingModule() string
- func (t *NetworkInstance_PolicyForwarding) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *NetworkInstance_PolicyForwarding) ΛValidate(opts ...ygot.ValidationOption) error
- type NetworkInstance_PolicyForwarding_Interface
- func (t *NetworkInstance_PolicyForwarding_Interface) GetApplyForwardingPolicy() string
- func (t *NetworkInstance_PolicyForwarding_Interface) GetApplyVrfSelectionPolicy() string
- func (t *NetworkInstance_PolicyForwarding_Interface) GetInterfaceId() string
- func (t *NetworkInstance_PolicyForwarding_Interface) GetInterfaceRef() *NetworkInstance_PolicyForwarding_Interface_InterfaceRef
- func (t *NetworkInstance_PolicyForwarding_Interface) GetOrCreateInterfaceRef() *NetworkInstance_PolicyForwarding_Interface_InterfaceRef
- func (*NetworkInstance_PolicyForwarding_Interface) IsYANGGoStruct()
- func (t *NetworkInstance_PolicyForwarding_Interface) Validate(opts ...ygot.ValidationOption) error
- func (*NetworkInstance_PolicyForwarding_Interface) ΛBelongingModule() string
- func (t *NetworkInstance_PolicyForwarding_Interface) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *NetworkInstance_PolicyForwarding_Interface) ΛListKeyMap() (map[string]interface{}, error)
- func (t *NetworkInstance_PolicyForwarding_Interface) ΛValidate(opts ...ygot.ValidationOption) error
- type NetworkInstance_PolicyForwarding_Interface_InterfaceRef
- func (t *NetworkInstance_PolicyForwarding_Interface_InterfaceRef) GetInterface() string
- func (t *NetworkInstance_PolicyForwarding_Interface_InterfaceRef) GetSubinterface() uint32
- func (*NetworkInstance_PolicyForwarding_Interface_InterfaceRef) IsYANGGoStruct()
- func (t *NetworkInstance_PolicyForwarding_Interface_InterfaceRef) Validate(opts ...ygot.ValidationOption) error
- func (*NetworkInstance_PolicyForwarding_Interface_InterfaceRef) ΛBelongingModule() string
- func (t *NetworkInstance_PolicyForwarding_Interface_InterfaceRef) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *NetworkInstance_PolicyForwarding_Interface_InterfaceRef) ΛValidate(opts ...ygot.ValidationOption) error
- type NetworkInstance_PolicyForwarding_Policy
- func (t *NetworkInstance_PolicyForwarding_Policy) AppendRule(v *NetworkInstance_PolicyForwarding_Policy_Rule) error
- func (t *NetworkInstance_PolicyForwarding_Policy) DeleteRule(SequenceId uint32)
- func (t *NetworkInstance_PolicyForwarding_Policy) GetOrCreateRule(SequenceId uint32) *NetworkInstance_PolicyForwarding_Policy_Rule
- func (t *NetworkInstance_PolicyForwarding_Policy) GetOrCreateRuleMap() map[uint32]*NetworkInstance_PolicyForwarding_Policy_Rule
- func (t *NetworkInstance_PolicyForwarding_Policy) GetPolicyId() string
- func (t *NetworkInstance_PolicyForwarding_Policy) GetRule(SequenceId uint32) *NetworkInstance_PolicyForwarding_Policy_Rule
- func (t *NetworkInstance_PolicyForwarding_Policy) GetType() E_Policy_Type
- func (*NetworkInstance_PolicyForwarding_Policy) IsYANGGoStruct()
- func (t *NetworkInstance_PolicyForwarding_Policy) NewRule(SequenceId uint32) (*NetworkInstance_PolicyForwarding_Policy_Rule, error)
- func (t *NetworkInstance_PolicyForwarding_Policy) Validate(opts ...ygot.ValidationOption) error
- func (*NetworkInstance_PolicyForwarding_Policy) ΛBelongingModule() string
- func (t *NetworkInstance_PolicyForwarding_Policy) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *NetworkInstance_PolicyForwarding_Policy) ΛListKeyMap() (map[string]interface{}, error)
- func (t *NetworkInstance_PolicyForwarding_Policy) ΛValidate(opts ...ygot.ValidationOption) error
- type NetworkInstance_PolicyForwarding_Policy_Rule
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule) GetAction() *NetworkInstance_PolicyForwarding_Policy_Rule_Action
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule) GetIpv4() *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule) GetIpv6() *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule) GetL2() *NetworkInstance_PolicyForwarding_Policy_Rule_L2
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule) GetMatchedOctets() uint64
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule) GetMatchedPkts() uint64
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule) GetOrCreateAction() *NetworkInstance_PolicyForwarding_Policy_Rule_Action
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule) GetOrCreateIpv4() *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule) GetOrCreateIpv6() *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule) GetOrCreateL2() *NetworkInstance_PolicyForwarding_Policy_Rule_L2
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule) GetOrCreateTransport() *NetworkInstance_PolicyForwarding_Policy_Rule_Transport
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule) GetSequenceId() uint32
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule) GetTransport() *NetworkInstance_PolicyForwarding_Policy_Rule_Transport
- func (*NetworkInstance_PolicyForwarding_Policy_Rule) IsYANGGoStruct()
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule) Validate(opts ...ygot.ValidationOption) error
- func (*NetworkInstance_PolicyForwarding_Policy_Rule) ΛBelongingModule() string
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule) ΛListKeyMap() (map[string]interface{}, error)
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule) ΛValidate(opts ...ygot.ValidationOption) error
- type NetworkInstance_PolicyForwarding_Policy_Rule_Action
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Action) GetDecapFallbackNetworkInstance() string
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Action) GetDecapNetworkInstance() string
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Action) GetDecapsulateGre() bool
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Action) GetDecapsulateGue() bool
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Action) GetDecapsulateMplsInUdp() bool
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Action) GetDiscard() bool
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Action) GetEncapsulateGre() *NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Action) GetNetworkInstance() string
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Action) GetNextHop() string
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Action) GetOrCreateEncapsulateGre() *NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Action) GetPostDecapNetworkInstance() string
- func (*NetworkInstance_PolicyForwarding_Policy_Rule_Action) IsYANGGoStruct()
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Action) Validate(opts ...ygot.ValidationOption) error
- func (*NetworkInstance_PolicyForwarding_Policy_Rule_Action) ΛBelongingModule() string
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Action) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Action) ΛValidate(opts ...ygot.ValidationOption) error
- type NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre) AppendTarget(v *NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre_Target) error
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre) DeleteTarget(Id string)
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre) GetIdentifyingPrefix() string
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre) GetOrCreateTarget(Id string) *NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre_Target
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre) GetOrCreateTargetMap() ...
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre) GetTarget(Id string) *NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre_Target
- func (*NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre) IsYANGGoStruct()
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre) NewTarget(Id string) (*NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre_Target, ...)
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre) Validate(opts ...ygot.ValidationOption) error
- func (*NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre) ΛBelongingModule() string
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre) ΛValidate(opts ...ygot.ValidationOption) error
- type NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre_Target
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre_Target) GetDestination() string
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre_Target) GetId() string
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre_Target) GetIpTtl() uint8
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre_Target) GetSource() string
- func (*NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre_Target) IsYANGGoStruct()
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre_Target) Validate(opts ...ygot.ValidationOption) error
- func (*NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre_Target) ΛBelongingModule() string
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre_Target) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre_Target) ΛListKeyMap() (map[string]interface{}, error)
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre_Target) ΛValidate(opts ...ygot.ValidationOption) error
- type NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4) GetDestinationAddress() string
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4) GetDestinationAddressPrefixSet() string
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4) GetDscp() uint8
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4) GetDscpSet() []uint8
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4) GetHopLimit() uint8
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4) GetIcmpv4() *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4_Icmpv4
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4) GetLength() uint16
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4) GetOrCreateIcmpv4() *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4_Icmpv4
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4) GetProtocol() NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4_Protocol_Union
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4) GetSourceAddress() string
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4) GetSourceAddressPrefixSet() string
- func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4) IsYANGGoStruct()
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4) To_NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4_Protocol_Union(i interface{}) (NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4_Protocol_Union, error)
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4) Validate(opts ...ygot.ValidationOption) error
- func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4) ΛBelongingModule() string
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4) ΛValidate(opts ...ygot.ValidationOption) error
- type NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4_Icmpv4
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4_Icmpv4) GetCode() E_Icmpv4Types_CODE
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4_Icmpv4) GetType() E_Icmpv4Types_TYPE
- func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4_Icmpv4) IsYANGGoStruct()
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4_Icmpv4) Validate(opts ...ygot.ValidationOption) error
- func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4_Icmpv4) ΛBelongingModule() string
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4_Icmpv4) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4_Icmpv4) ΛValidate(opts ...ygot.ValidationOption) error
- type NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4_Protocol_Union
- type NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6) GetDestinationAddress() string
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6) GetDestinationAddressPrefixSet() string
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6) GetDestinationFlowLabel() uint32
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6) GetDscp() uint8
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6) GetDscpSet() []uint8
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6) GetHopLimit() uint8
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6) GetIcmpv6() *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6_Icmpv6
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6) GetLength() uint16
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6) GetOrCreateIcmpv6() *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6_Icmpv6
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6) GetProtocol() NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6_Protocol_Union
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6) GetSourceAddress() string
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6) GetSourceAddressPrefixSet() string
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6) GetSourceFlowLabel() uint32
- func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6) IsYANGGoStruct()
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6) To_NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6_Protocol_Union(i interface{}) (NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6_Protocol_Union, error)
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6) Validate(opts ...ygot.ValidationOption) error
- func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6) ΛBelongingModule() string
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6) ΛValidate(opts ...ygot.ValidationOption) error
- type NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6_Icmpv6
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6_Icmpv6) GetCode() E_Icmpv6Types_CODE
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6_Icmpv6) GetType() E_Icmpv6Types_TYPE
- func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6_Icmpv6) IsYANGGoStruct()
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6_Icmpv6) Validate(opts ...ygot.ValidationOption) error
- func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6_Icmpv6) ΛBelongingModule() string
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6_Icmpv6) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6_Icmpv6) ΛValidate(opts ...ygot.ValidationOption) error
- type NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6_Protocol_Union
- type NetworkInstance_PolicyForwarding_Policy_Rule_L2
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_L2) GetDestinationMac() string
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_L2) GetDestinationMacMask() string
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_L2) GetEthertype() NetworkInstance_PolicyForwarding_Policy_Rule_L2_Ethertype_Union
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_L2) GetSourceMac() string
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_L2) GetSourceMacMask() string
- func (*NetworkInstance_PolicyForwarding_Policy_Rule_L2) IsYANGGoStruct()
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_L2) To_NetworkInstance_PolicyForwarding_Policy_Rule_L2_Ethertype_Union(i interface{}) (NetworkInstance_PolicyForwarding_Policy_Rule_L2_Ethertype_Union, error)
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_L2) Validate(opts ...ygot.ValidationOption) error
- func (*NetworkInstance_PolicyForwarding_Policy_Rule_L2) ΛBelongingModule() string
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_L2) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_L2) ΛValidate(opts ...ygot.ValidationOption) error
- type NetworkInstance_PolicyForwarding_Policy_Rule_L2_Ethertype_Union
- type NetworkInstance_PolicyForwarding_Policy_Rule_Transport
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Transport) GetBuiltinDetail() E_Transport_BuiltinDetail
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Transport) GetDestinationPort() NetworkInstance_PolicyForwarding_Policy_Rule_Transport_DestinationPort_Union
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Transport) GetDestinationPortSet() string
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Transport) GetDetailMode() E_Transport_DetailMode
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Transport) GetExplicitDetailMatchMode() E_Transport_ExplicitDetailMatchMode
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Transport) GetExplicitTcpFlags() []E_PacketMatchTypes_TCP_FLAGS
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Transport) GetSourcePort() NetworkInstance_PolicyForwarding_Policy_Rule_Transport_SourcePort_Union
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Transport) GetSourcePortSet() string
- func (*NetworkInstance_PolicyForwarding_Policy_Rule_Transport) IsYANGGoStruct()
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Transport) To_NetworkInstance_PolicyForwarding_Policy_Rule_Transport_DestinationPort_Union(i interface{}) (NetworkInstance_PolicyForwarding_Policy_Rule_Transport_DestinationPort_Union, ...)
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Transport) To_NetworkInstance_PolicyForwarding_Policy_Rule_Transport_SourcePort_Union(i interface{}) (NetworkInstance_PolicyForwarding_Policy_Rule_Transport_SourcePort_Union, error)
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Transport) Validate(opts ...ygot.ValidationOption) error
- func (*NetworkInstance_PolicyForwarding_Policy_Rule_Transport) ΛBelongingModule() string
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Transport) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Transport) ΛValidate(opts ...ygot.ValidationOption) error
- type NetworkInstance_PolicyForwarding_Policy_Rule_Transport_DestinationPort_Union
- type NetworkInstance_PolicyForwarding_Policy_Rule_Transport_SourcePort_Union
- type NetworkInstance_Static
- func (t *NetworkInstance_Static) AppendNextHop(v *NetworkInstance_Static_NextHop) error
- func (t *NetworkInstance_Static) AppendNextHopGroup(v *NetworkInstance_Static_NextHopGroup) error
- func (t *NetworkInstance_Static) DeleteNextHop(Index string)
- func (t *NetworkInstance_Static) DeleteNextHopGroup(Name string)
- func (t *NetworkInstance_Static) GetNextHop(Index string) *NetworkInstance_Static_NextHop
- func (t *NetworkInstance_Static) GetNextHopGroup(Name string) *NetworkInstance_Static_NextHopGroup
- func (t *NetworkInstance_Static) GetOrCreateNextHop(Index string) *NetworkInstance_Static_NextHop
- func (t *NetworkInstance_Static) GetOrCreateNextHopGroup(Name string) *NetworkInstance_Static_NextHopGroup
- func (t *NetworkInstance_Static) GetOrCreateNextHopGroupMap() map[string]*NetworkInstance_Static_NextHopGroup
- func (t *NetworkInstance_Static) GetOrCreateNextHopMap() map[string]*NetworkInstance_Static_NextHop
- func (*NetworkInstance_Static) IsYANGGoStruct()
- func (t *NetworkInstance_Static) NewNextHop(Index string) (*NetworkInstance_Static_NextHop, error)
- func (t *NetworkInstance_Static) NewNextHopGroup(Name string) (*NetworkInstance_Static_NextHopGroup, error)
- func (t *NetworkInstance_Static) Validate(opts ...ygot.ValidationOption) error
- func (*NetworkInstance_Static) ΛBelongingModule() string
- func (t *NetworkInstance_Static) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *NetworkInstance_Static) ΛValidate(opts ...ygot.ValidationOption) error
- type NetworkInstance_Static_NextHop
- func (t *NetworkInstance_Static_NextHop) AppendEncapHeader(v *NetworkInstance_Static_NextHop_EncapHeader) error
- func (t *NetworkInstance_Static_NextHop) DeleteEncapHeader(Index uint8)
- func (t *NetworkInstance_Static_NextHop) GetEncapHeader(Index uint8) *NetworkInstance_Static_NextHop_EncapHeader
- func (t *NetworkInstance_Static_NextHop) GetIndex() string
- func (t *NetworkInstance_Static_NextHop) GetMetric() uint32
- func (t *NetworkInstance_Static_NextHop) GetNextHop() NetworkInstance_Static_NextHop_NextHop_Union
- func (t *NetworkInstance_Static_NextHop) GetNextNetworkInstance() string
- func (t *NetworkInstance_Static_NextHop) GetNhNetworkInstance() string
- func (t *NetworkInstance_Static_NextHop) GetOrCreateEncapHeader(Index uint8) *NetworkInstance_Static_NextHop_EncapHeader
- func (t *NetworkInstance_Static_NextHop) GetOrCreateEncapHeaderMap() map[uint8]*NetworkInstance_Static_NextHop_EncapHeader
- func (t *NetworkInstance_Static_NextHop) GetPreference() uint32
- func (t *NetworkInstance_Static_NextHop) GetRecurse() bool
- func (*NetworkInstance_Static_NextHop) IsYANGGoStruct()
- func (t *NetworkInstance_Static_NextHop) NewEncapHeader(Index uint8) (*NetworkInstance_Static_NextHop_EncapHeader, error)
- func (t *NetworkInstance_Static_NextHop) To_NetworkInstance_Static_NextHop_NextHop_Union(i interface{}) (NetworkInstance_Static_NextHop_NextHop_Union, error)
- func (t *NetworkInstance_Static_NextHop) Validate(opts ...ygot.ValidationOption) error
- func (*NetworkInstance_Static_NextHop) ΛBelongingModule() string
- func (t *NetworkInstance_Static_NextHop) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *NetworkInstance_Static_NextHop) ΛListKeyMap() (map[string]interface{}, error)
- func (t *NetworkInstance_Static_NextHop) ΛValidate(opts ...ygot.ValidationOption) error
- type NetworkInstance_Static_NextHopGroup
- func (t *NetworkInstance_Static_NextHopGroup) AppendNextHop(v *NetworkInstance_Static_NextHopGroup_NextHop) error
- func (t *NetworkInstance_Static_NextHopGroup) DeleteNextHop(Index string)
- func (t *NetworkInstance_Static_NextHopGroup) GetName() string
- func (t *NetworkInstance_Static_NextHopGroup) GetNextHop(Index string) *NetworkInstance_Static_NextHopGroup_NextHop
- func (t *NetworkInstance_Static_NextHopGroup) GetOrCreateNextHop(Index string) *NetworkInstance_Static_NextHopGroup_NextHop
- func (t *NetworkInstance_Static_NextHopGroup) GetOrCreateNextHopMap() map[string]*NetworkInstance_Static_NextHopGroup_NextHop
- func (*NetworkInstance_Static_NextHopGroup) IsYANGGoStruct()
- func (t *NetworkInstance_Static_NextHopGroup) NewNextHop(Index string) (*NetworkInstance_Static_NextHopGroup_NextHop, error)
- func (t *NetworkInstance_Static_NextHopGroup) Validate(opts ...ygot.ValidationOption) error
- func (*NetworkInstance_Static_NextHopGroup) ΛBelongingModule() string
- func (t *NetworkInstance_Static_NextHopGroup) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *NetworkInstance_Static_NextHopGroup) ΛListKeyMap() (map[string]interface{}, error)
- func (t *NetworkInstance_Static_NextHopGroup) ΛValidate(opts ...ygot.ValidationOption) error
- type NetworkInstance_Static_NextHopGroup_NextHop
- func (t *NetworkInstance_Static_NextHopGroup_NextHop) GetIndex() string
- func (*NetworkInstance_Static_NextHopGroup_NextHop) IsYANGGoStruct()
- func (t *NetworkInstance_Static_NextHopGroup_NextHop) Validate(opts ...ygot.ValidationOption) error
- func (*NetworkInstance_Static_NextHopGroup_NextHop) ΛBelongingModule() string
- func (t *NetworkInstance_Static_NextHopGroup_NextHop) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *NetworkInstance_Static_NextHopGroup_NextHop) ΛListKeyMap() (map[string]interface{}, error)
- func (t *NetworkInstance_Static_NextHopGroup_NextHop) ΛValidate(opts ...ygot.ValidationOption) error
- type NetworkInstance_Static_NextHop_EncapHeader
- func (t *NetworkInstance_Static_NextHop_EncapHeader) GetIndex() uint8
- func (t *NetworkInstance_Static_NextHop_EncapHeader) GetOrCreateUdpV4() *NetworkInstance_Static_NextHop_EncapHeader_UdpV4
- func (t *NetworkInstance_Static_NextHop_EncapHeader) GetType() E_AftTypes_EncapsulationHeaderType
- func (t *NetworkInstance_Static_NextHop_EncapHeader) GetUdpV4() *NetworkInstance_Static_NextHop_EncapHeader_UdpV4
- func (*NetworkInstance_Static_NextHop_EncapHeader) IsYANGGoStruct()
- func (t *NetworkInstance_Static_NextHop_EncapHeader) Validate(opts ...ygot.ValidationOption) error
- func (*NetworkInstance_Static_NextHop_EncapHeader) ΛBelongingModule() string
- func (t *NetworkInstance_Static_NextHop_EncapHeader) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *NetworkInstance_Static_NextHop_EncapHeader) ΛListKeyMap() (map[string]interface{}, error)
- func (t *NetworkInstance_Static_NextHop_EncapHeader) ΛValidate(opts ...ygot.ValidationOption) error
- type NetworkInstance_Static_NextHop_EncapHeader_UdpV4
- func (t *NetworkInstance_Static_NextHop_EncapHeader_UdpV4) GetDscp() uint8
- func (t *NetworkInstance_Static_NextHop_EncapHeader_UdpV4) GetDstIp() string
- func (t *NetworkInstance_Static_NextHop_EncapHeader_UdpV4) GetDstUdpPort() uint16
- func (t *NetworkInstance_Static_NextHop_EncapHeader_UdpV4) GetIpTtl() uint8
- func (t *NetworkInstance_Static_NextHop_EncapHeader_UdpV4) GetSrcIp() string
- func (t *NetworkInstance_Static_NextHop_EncapHeader_UdpV4) GetSrcUdpPort() uint16
- func (*NetworkInstance_Static_NextHop_EncapHeader_UdpV4) IsYANGGoStruct()
- func (t *NetworkInstance_Static_NextHop_EncapHeader_UdpV4) Validate(opts ...ygot.ValidationOption) error
- func (*NetworkInstance_Static_NextHop_EncapHeader_UdpV4) ΛBelongingModule() string
- func (t *NetworkInstance_Static_NextHop_EncapHeader_UdpV4) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *NetworkInstance_Static_NextHop_EncapHeader_UdpV4) ΛValidate(opts ...ygot.ValidationOption) error
- type NetworkInstance_Static_NextHop_NextHop_Union
- type UnionBool
- type UnionFloat64
- type UnionInt16
- type UnionInt32
- type UnionInt64
- type UnionInt8
- type UnionString
- func (UnionString) Documentation_for_DefinedSets_PortSet_Port_Union()
- func (UnionString) Documentation_for_Interface_Aggregation_SwitchedVlan_TrunkVlans_Union()
- func (UnionString) Documentation_for_Interface_Ethernet_SwitchedVlan_TrunkVlans_Union()
- func (UnionString) Documentation_for_Interface_RoutedVlan_Vlan_Union()
- func (UnionString) Documentation_for_Interface_Subinterface_Vlan_VlanId_Union()
- func (UnionString) Documentation_for_Keychain_Key_KeyId_Union()
- func (UnionString) Documentation_for_NetworkInstance_PolicyForwarding_Policy_Rule_Transport_DestinationPort_Union()
- func (UnionString) Documentation_for_NetworkInstance_PolicyForwarding_Policy_Rule_Transport_SourcePort_Union()
- func (UnionString) Documentation_for_NetworkInstance_Static_NextHop_NextHop_Union()
- type UnionUint16
- func (UnionUint16) Documentation_for_DefinedSets_PortSet_Port_Union()
- func (UnionUint16) Documentation_for_Interface_Aggregation_SwitchedVlan_TrunkVlans_Union()
- func (UnionUint16) Documentation_for_Interface_Ethernet_SwitchedVlan_TrunkVlans_Union()
- func (UnionUint16) Documentation_for_Interface_RoutedVlan_Vlan_Union()
- func (UnionUint16) Documentation_for_Interface_Subinterface_Vlan_VlanId_Union()
- func (UnionUint16) Documentation_for_NetworkInstance_PolicyForwarding_Policy_Rule_L2_Ethertype_Union()
- func (UnionUint16) Documentation_for_NetworkInstance_PolicyForwarding_Policy_Rule_Transport_DestinationPort_Union()
- func (UnionUint16) Documentation_for_NetworkInstance_PolicyForwarding_Policy_Rule_Transport_SourcePort_Union()
- type UnionUint32
- type UnionUint64
- type UnionUint8
- type UnionUnsupported
- type YANGEmpty
Constants ¶
This section is empty.
Variables ¶
var ΛEnum = map[string]map[int64]ygot.EnumDefinition{
"E_Address_Status": {
1: {Name: "PREFERRED"},
2: {Name: "DEPRECATED"},
3: {Name: "INVALID"},
4: {Name: "INACCESSIBLE"},
5: {Name: "UNKNOWN"},
6: {Name: "TENTATIVE"},
7: {Name: "DUPLICATE"},
8: {Name: "OPTIMISTIC"},
},
"E_AftTypes_EncapsulationHeaderType": {
1: {Name: "GRE"},
2: {Name: "IPV4"},
3: {Name: "IPV6"},
4: {Name: "MPLS"},
5: {Name: "VXLAN"},
6: {Name: "UDP"},
7: {Name: "UDPV4"},
8: {Name: "UDPV6"},
},
"E_Bfd_BfdDiagnosticCode": {
1: {Name: "NO_DIAGNOSTIC"},
2: {Name: "DETECTION_TIMEOUT"},
3: {Name: "ECHO_FAILED"},
4: {Name: "FORWARDING_RESET"},
5: {Name: "PATH_DOWN"},
6: {Name: "CONCATENATED_PATH_DOWN"},
7: {Name: "ADMIN_DOWN"},
8: {Name: "REVERSE_CONCATENATED_PATH_DOWN"},
9: {Name: "NEIGHBOR_DOWN"},
},
"E_Bfd_BfdSessionState": {
1: {Name: "UP"},
2: {Name: "DOWN"},
3: {Name: "ADMIN_DOWN"},
4: {Name: "INIT"},
},
"E_Ethernet_DuplexMode": {
1: {Name: "FULL"},
2: {Name: "HALF"},
},
"E_Ethernet_NegotiatedDuplexMode": {
1: {Name: "FULL"},
2: {Name: "HALF"},
},
"E_IETFInterfaces_InterfaceType": {
1: {Name: "a12MppSwitch", DefiningModule: "iana-if-type"},
2: {Name: "aal2", DefiningModule: "iana-if-type"},
3: {Name: "aal5", DefiningModule: "iana-if-type"},
4: {Name: "actelisMetaLOOP", DefiningModule: "iana-if-type"},
5: {Name: "adsl", DefiningModule: "iana-if-type"},
6: {Name: "adsl2", DefiningModule: "iana-if-type"},
7: {Name: "adsl2plus", DefiningModule: "iana-if-type"},
8: {Name: "aflane8023", DefiningModule: "iana-if-type"},
9: {Name: "aflane8025", DefiningModule: "iana-if-type"},
10: {Name: "aluELP", DefiningModule: "iana-if-type"},
11: {Name: "aluEpon", DefiningModule: "iana-if-type"},
12: {Name: "aluEponLogicalLink", DefiningModule: "iana-if-type"},
13: {Name: "aluEponOnu", DefiningModule: "iana-if-type"},
14: {Name: "aluEponPhysicalUni", DefiningModule: "iana-if-type"},
15: {Name: "aluGponOnu", DefiningModule: "iana-if-type"},
16: {Name: "aluGponPhysicalUni", DefiningModule: "iana-if-type"},
17: {Name: "arap", DefiningModule: "iana-if-type"},
18: {Name: "arcnet", DefiningModule: "iana-if-type"},
19: {Name: "arcnetPlus", DefiningModule: "iana-if-type"},
20: {Name: "async", DefiningModule: "iana-if-type"},
21: {Name: "atm", DefiningModule: "iana-if-type"},
22: {Name: "atmDxi", DefiningModule: "iana-if-type"},
23: {Name: "atmFuni", DefiningModule: "iana-if-type"},
24: {Name: "atmIma", DefiningModule: "iana-if-type"},
25: {Name: "atmLogical", DefiningModule: "iana-if-type"},
26: {Name: "atmRadio", DefiningModule: "iana-if-type"},
27: {Name: "atmSubInterface", DefiningModule: "iana-if-type"},
28: {Name: "atmVciEndPt", DefiningModule: "iana-if-type"},
29: {Name: "atmVirtual", DefiningModule: "iana-if-type"},
30: {Name: "atmbond", DefiningModule: "iana-if-type"},
31: {Name: "aviciOpticalEther", DefiningModule: "iana-if-type"},
32: {Name: "basicISDN", DefiningModule: "iana-if-type"},
33: {Name: "bgppolicyaccounting", DefiningModule: "iana-if-type"},
34: {Name: "bits", DefiningModule: "iana-if-type"},
35: {Name: "bridge", DefiningModule: "iana-if-type"},
36: {Name: "bsc", DefiningModule: "iana-if-type"},
37: {Name: "cableDownstreamRfPort", DefiningModule: "iana-if-type"},
38: {Name: "capwapDot11Bss", DefiningModule: "iana-if-type"},
39: {Name: "capwapDot11Profile", DefiningModule: "iana-if-type"},
40: {Name: "capwapWtpVirtualRadio", DefiningModule: "iana-if-type"},
41: {Name: "cblVectaStar", DefiningModule: "iana-if-type"},
42: {Name: "cctEmul", DefiningModule: "iana-if-type"},
43: {Name: "ces", DefiningModule: "iana-if-type"},
44: {Name: "channel", DefiningModule: "iana-if-type"},
45: {Name: "ciscoISLvlan", DefiningModule: "iana-if-type"},
46: {Name: "cnr", DefiningModule: "iana-if-type"},
47: {Name: "coffee", DefiningModule: "iana-if-type"},
48: {Name: "compositeLink", DefiningModule: "iana-if-type"},
49: {Name: "dcn", DefiningModule: "iana-if-type"},
50: {Name: "ddnX25", DefiningModule: "iana-if-type"},
51: {Name: "digitalPowerline", DefiningModule: "iana-if-type"},
52: {Name: "digitalWrapperOverheadChannel", DefiningModule: "iana-if-type"},
53: {Name: "dlsw", DefiningModule: "iana-if-type"},
54: {Name: "docsCableDownstream", DefiningModule: "iana-if-type"},
55: {Name: "docsCableMCmtsDownstream", DefiningModule: "iana-if-type"},
56: {Name: "docsCableMaclayer", DefiningModule: "iana-if-type"},
57: {Name: "docsCableNdf", DefiningModule: "iana-if-type"},
58: {Name: "docsCableNdr", DefiningModule: "iana-if-type"},
59: {Name: "docsCableScte55d1FwdOob", DefiningModule: "iana-if-type"},
60: {Name: "docsCableScte55d1RetOob", DefiningModule: "iana-if-type"},
61: {Name: "docsCableScte55d2DsOob", DefiningModule: "iana-if-type"},
62: {Name: "docsCableScte55d2UsOob", DefiningModule: "iana-if-type"},
63: {Name: "docsCableUpstream", DefiningModule: "iana-if-type"},
64: {Name: "docsCableUpstreamChannel", DefiningModule: "iana-if-type"},
65: {Name: "docsCableUpstreamRfPort", DefiningModule: "iana-if-type"},
66: {Name: "docsOfdmDownstream", DefiningModule: "iana-if-type"},
67: {Name: "docsOfdmaUpstream", DefiningModule: "iana-if-type"},
68: {Name: "ds0", DefiningModule: "iana-if-type"},
69: {Name: "ds0Bundle", DefiningModule: "iana-if-type"},
70: {Name: "ds1", DefiningModule: "iana-if-type"},
71: {Name: "ds1FDL", DefiningModule: "iana-if-type"},
72: {Name: "ds3", DefiningModule: "iana-if-type"},
73: {Name: "dtm", DefiningModule: "iana-if-type"},
74: {Name: "dvbAsiIn", DefiningModule: "iana-if-type"},
75: {Name: "dvbAsiOut", DefiningModule: "iana-if-type"},
76: {Name: "dvbRccDownstream", DefiningModule: "iana-if-type"},
77: {Name: "dvbRccMacLayer", DefiningModule: "iana-if-type"},
78: {Name: "dvbRccUpstream", DefiningModule: "iana-if-type"},
79: {Name: "dvbRcsMacLayer", DefiningModule: "iana-if-type"},
80: {Name: "dvbRcsTdma", DefiningModule: "iana-if-type"},
81: {Name: "dvbTdm", DefiningModule: "iana-if-type"},
82: {Name: "e1", DefiningModule: "iana-if-type"},
83: {Name: "econet", DefiningModule: "iana-if-type"},
84: {Name: "eon", DefiningModule: "iana-if-type"},
85: {Name: "eplrs", DefiningModule: "iana-if-type"},
86: {Name: "escon", DefiningModule: "iana-if-type"},
87: {Name: "ethernet3Mbit", DefiningModule: "iana-if-type"},
88: {Name: "ethernetCsmacd", DefiningModule: "iana-if-type"},
89: {Name: "fast", DefiningModule: "iana-if-type"},
90: {Name: "fastEther", DefiningModule: "iana-if-type"},
91: {Name: "fastEtherFX", DefiningModule: "iana-if-type"},
92: {Name: "fastdsl", DefiningModule: "iana-if-type"},
93: {Name: "fcipLink", DefiningModule: "iana-if-type"},
94: {Name: "fddi", DefiningModule: "iana-if-type"},
95: {Name: "fibreChannel", DefiningModule: "iana-if-type"},
96: {Name: "frDlciEndPt", DefiningModule: "iana-if-type"},
97: {Name: "frForward", DefiningModule: "iana-if-type"},
98: {Name: "frameRelay", DefiningModule: "iana-if-type"},
99: {Name: "frameRelayInterconnect", DefiningModule: "iana-if-type"},
100: {Name: "frameRelayMPI", DefiningModule: "iana-if-type"},
101: {Name: "frameRelayService", DefiningModule: "iana-if-type"},
102: {Name: "frf16MfrBundle", DefiningModule: "iana-if-type"},
103: {Name: "g703at2mb", DefiningModule: "iana-if-type"},
104: {Name: "g703at64k", DefiningModule: "iana-if-type"},
105: {Name: "g9981", DefiningModule: "iana-if-type"},
106: {Name: "g9982", DefiningModule: "iana-if-type"},
107: {Name: "g9983", DefiningModule: "iana-if-type"},
108: {Name: "gfast", DefiningModule: "iana-if-type"},
109: {Name: "gfp", DefiningModule: "iana-if-type"},
110: {Name: "gigabitEthernet", DefiningModule: "iana-if-type"},
111: {Name: "gpon", DefiningModule: "iana-if-type"},
112: {Name: "gr303IDT", DefiningModule: "iana-if-type"},
113: {Name: "gr303RDT", DefiningModule: "iana-if-type"},
114: {Name: "gtp", DefiningModule: "iana-if-type"},
115: {Name: "h323Gatekeeper", DefiningModule: "iana-if-type"},
116: {Name: "h323Proxy", DefiningModule: "iana-if-type"},
117: {Name: "hdh1822", DefiningModule: "iana-if-type"},
118: {Name: "hdlc", DefiningModule: "iana-if-type"},
119: {Name: "hdsl2", DefiningModule: "iana-if-type"},
120: {Name: "hiperlan2", DefiningModule: "iana-if-type"},
121: {Name: "hippi", DefiningModule: "iana-if-type"},
122: {Name: "hippiInterface", DefiningModule: "iana-if-type"},
123: {Name: "homepna", DefiningModule: "iana-if-type"},
124: {Name: "hostPad", DefiningModule: "iana-if-type"},
125: {Name: "hssi", DefiningModule: "iana-if-type"},
126: {Name: "hyperchannel", DefiningModule: "iana-if-type"},
127: {Name: "iana-interface-type", DefiningModule: "iana-if-type"},
128: {Name: "ibm370parChan", DefiningModule: "iana-if-type"},
129: {Name: "idsl", DefiningModule: "iana-if-type"},
130: {Name: "ieee1394", DefiningModule: "iana-if-type"},
131: {Name: "ieee80211", DefiningModule: "iana-if-type"},
132: {Name: "ieee80212", DefiningModule: "iana-if-type"},
133: {Name: "ieee802154", DefiningModule: "iana-if-type"},
134: {Name: "ieee80216WMAN", DefiningModule: "iana-if-type"},
135: {Name: "ieee8023adLag", DefiningModule: "iana-if-type"},
136: {Name: "if-gsn", DefiningModule: "iana-if-type"},
137: {Name: "ifPwType", DefiningModule: "iana-if-type"},
138: {Name: "ifVfiType", DefiningModule: "iana-if-type"},
139: {Name: "ilan", DefiningModule: "iana-if-type"},
140: {Name: "imt", DefiningModule: "iana-if-type"},
141: {Name: "infiniband", DefiningModule: "iana-if-type"},
142: {Name: "interleave", DefiningModule: "iana-if-type"},
143: {Name: "ip", DefiningModule: "iana-if-type"},
144: {Name: "ipForward", DefiningModule: "iana-if-type"},
145: {Name: "ipOverAtm", DefiningModule: "iana-if-type"},
146: {Name: "ipOverCdlc", DefiningModule: "iana-if-type"},
147: {Name: "ipOverClaw", DefiningModule: "iana-if-type"},
148: {Name: "ipSwitch", DefiningModule: "iana-if-type"},
149: {Name: "isdn", DefiningModule: "iana-if-type"},
150: {Name: "isdns", DefiningModule: "iana-if-type"},
151: {Name: "isdnu", DefiningModule: "iana-if-type"},
152: {Name: "iso88022llc", DefiningModule: "iana-if-type"},
153: {Name: "iso88023Csmacd", DefiningModule: "iana-if-type"},
154: {Name: "iso88024TokenBus", DefiningModule: "iana-if-type"},
155: {Name: "iso88025CRFPInt", DefiningModule: "iana-if-type"},
156: {Name: "iso88025Dtr", DefiningModule: "iana-if-type"},
157: {Name: "iso88025Fiber", DefiningModule: "iana-if-type"},
158: {Name: "iso88025TokenRing", DefiningModule: "iana-if-type"},
159: {Name: "iso88026Man", DefiningModule: "iana-if-type"},
160: {Name: "isup", DefiningModule: "iana-if-type"},
161: {Name: "l2vlan", DefiningModule: "iana-if-type"},
162: {Name: "l3ipvlan", DefiningModule: "iana-if-type"},
163: {Name: "l3ipxvlan", DefiningModule: "iana-if-type"},
164: {Name: "lapb", DefiningModule: "iana-if-type"},
165: {Name: "lapd", DefiningModule: "iana-if-type"},
166: {Name: "lapf", DefiningModule: "iana-if-type"},
167: {Name: "linegroup", DefiningModule: "iana-if-type"},
168: {Name: "lmp", DefiningModule: "iana-if-type"},
169: {Name: "localTalk", DefiningModule: "iana-if-type"},
170: {Name: "macSecControlledIF", DefiningModule: "iana-if-type"},
171: {Name: "macSecUncontrolledIF", DefiningModule: "iana-if-type"},
172: {Name: "mediaMailOverIp", DefiningModule: "iana-if-type"},
173: {Name: "mfSigLink", DefiningModule: "iana-if-type"},
174: {Name: "miox25", DefiningModule: "iana-if-type"},
175: {Name: "mocaVersion1", DefiningModule: "iana-if-type"},
176: {Name: "modem", DefiningModule: "iana-if-type"},
177: {Name: "mpc", DefiningModule: "iana-if-type"},
178: {Name: "mpegTransport", DefiningModule: "iana-if-type"},
179: {Name: "mpls", DefiningModule: "iana-if-type"},
180: {Name: "mplsTunnel", DefiningModule: "iana-if-type"},
181: {Name: "msdsl", DefiningModule: "iana-if-type"},
182: {Name: "mvl", DefiningModule: "iana-if-type"},
183: {Name: "myrinet", DefiningModule: "iana-if-type"},
184: {Name: "nfas", DefiningModule: "iana-if-type"},
185: {Name: "nsip", DefiningModule: "iana-if-type"},
186: {Name: "opticalChannel", DefiningModule: "iana-if-type"},
187: {Name: "opticalChannelGroup", DefiningModule: "iana-if-type"},
188: {Name: "opticalTransport", DefiningModule: "iana-if-type"},
189: {Name: "other", DefiningModule: "iana-if-type"},
190: {Name: "otnOdu", DefiningModule: "iana-if-type"},
191: {Name: "otnOtu", DefiningModule: "iana-if-type"},
192: {Name: "para", DefiningModule: "iana-if-type"},
193: {Name: "pdnEtherLoop1", DefiningModule: "iana-if-type"},
194: {Name: "pdnEtherLoop2", DefiningModule: "iana-if-type"},
195: {Name: "pip", DefiningModule: "iana-if-type"},
196: {Name: "plc", DefiningModule: "iana-if-type"},
197: {Name: "pon155", DefiningModule: "iana-if-type"},
198: {Name: "pon622", DefiningModule: "iana-if-type"},
199: {Name: "pos", DefiningModule: "iana-if-type"},
200: {Name: "ppp", DefiningModule: "iana-if-type"},
201: {Name: "pppMultilinkBundle", DefiningModule: "iana-if-type"},
202: {Name: "primaryISDN", DefiningModule: "iana-if-type"},
203: {Name: "propAtm", DefiningModule: "iana-if-type"},
204: {Name: "propBWAp2Mp", DefiningModule: "iana-if-type"},
205: {Name: "propCnls", DefiningModule: "iana-if-type"},
206: {Name: "propDocsWirelessDownstream", DefiningModule: "iana-if-type"},
207: {Name: "propDocsWirelessMaclayer", DefiningModule: "iana-if-type"},
208: {Name: "propDocsWirelessUpstream", DefiningModule: "iana-if-type"},
209: {Name: "propMultiplexor", DefiningModule: "iana-if-type"},
210: {Name: "propPointToPointSerial", DefiningModule: "iana-if-type"},
211: {Name: "propVirtual", DefiningModule: "iana-if-type"},
212: {Name: "propWirelessP2P", DefiningModule: "iana-if-type"},
213: {Name: "proteon10Mbit", DefiningModule: "iana-if-type"},
214: {Name: "proteon80Mbit", DefiningModule: "iana-if-type"},
215: {Name: "ptm", DefiningModule: "iana-if-type"},
216: {Name: "q2931", DefiningModule: "iana-if-type"},
217: {Name: "qam", DefiningModule: "iana-if-type"},
218: {Name: "qllc", DefiningModule: "iana-if-type"},
219: {Name: "radioMAC", DefiningModule: "iana-if-type"},
220: {Name: "radsl", DefiningModule: "iana-if-type"},
221: {Name: "reachDSL", DefiningModule: "iana-if-type"},
222: {Name: "regular1822", DefiningModule: "iana-if-type"},
223: {Name: "rfc1483", DefiningModule: "iana-if-type"},
224: {Name: "rfc877x25", DefiningModule: "iana-if-type"},
225: {Name: "rpr", DefiningModule: "iana-if-type"},
226: {Name: "rs232", DefiningModule: "iana-if-type"},
227: {Name: "rsrb", DefiningModule: "iana-if-type"},
228: {Name: "sdci", DefiningModule: "iana-if-type"},
229: {Name: "sdlc", DefiningModule: "iana-if-type"},
230: {Name: "sdsl", DefiningModule: "iana-if-type"},
231: {Name: "shdsl", DefiningModule: "iana-if-type"},
232: {Name: "sip", DefiningModule: "iana-if-type"},
233: {Name: "sipSig", DefiningModule: "iana-if-type"},
234: {Name: "sipTg", DefiningModule: "iana-if-type"},
235: {Name: "sixToFour", DefiningModule: "iana-if-type"},
236: {Name: "slip", DefiningModule: "iana-if-type"},
237: {Name: "smdsDxi", DefiningModule: "iana-if-type"},
238: {Name: "smdsIcip", DefiningModule: "iana-if-type"},
239: {Name: "softwareLoopback", DefiningModule: "iana-if-type"},
240: {Name: "sonet", DefiningModule: "iana-if-type"},
241: {Name: "sonetOverheadChannel", DefiningModule: "iana-if-type"},
242: {Name: "sonetPath", DefiningModule: "iana-if-type"},
243: {Name: "sonetVT", DefiningModule: "iana-if-type"},
244: {Name: "srp", DefiningModule: "iana-if-type"},
245: {Name: "ss7SigLink", DefiningModule: "iana-if-type"},
246: {Name: "stackToStack", DefiningModule: "iana-if-type"},
247: {Name: "starLan", DefiningModule: "iana-if-type"},
248: {Name: "tdlc", DefiningModule: "iana-if-type"},
249: {Name: "teLink", DefiningModule: "iana-if-type"},
250: {Name: "termPad", DefiningModule: "iana-if-type"},
251: {Name: "tr008", DefiningModule: "iana-if-type"},
252: {Name: "transpHdlc", DefiningModule: "iana-if-type"},
253: {Name: "tunnel", DefiningModule: "iana-if-type"},
254: {Name: "ultra", DefiningModule: "iana-if-type"},
255: {Name: "usb", DefiningModule: "iana-if-type"},
256: {Name: "v11", DefiningModule: "iana-if-type"},
257: {Name: "v35", DefiningModule: "iana-if-type"},
258: {Name: "v36", DefiningModule: "iana-if-type"},
259: {Name: "v37", DefiningModule: "iana-if-type"},
260: {Name: "vdsl", DefiningModule: "iana-if-type"},
261: {Name: "vdsl2", DefiningModule: "iana-if-type"},
262: {Name: "virtualIpAddress", DefiningModule: "iana-if-type"},
263: {Name: "virtualTg", DefiningModule: "iana-if-type"},
264: {Name: "vmwareNicTeam", DefiningModule: "iana-if-type"},
265: {Name: "vmwareVirtualNic", DefiningModule: "iana-if-type"},
266: {Name: "voiceDID", DefiningModule: "iana-if-type"},
267: {Name: "voiceEBS", DefiningModule: "iana-if-type"},
268: {Name: "voiceEM", DefiningModule: "iana-if-type"},
269: {Name: "voiceEMFGD", DefiningModule: "iana-if-type"},
270: {Name: "voiceEncap", DefiningModule: "iana-if-type"},
271: {Name: "voiceFGDEANA", DefiningModule: "iana-if-type"},
272: {Name: "voiceFGDOS", DefiningModule: "iana-if-type"},
273: {Name: "voiceFXO", DefiningModule: "iana-if-type"},
274: {Name: "voiceFXS", DefiningModule: "iana-if-type"},
275: {Name: "voiceOverAtm", DefiningModule: "iana-if-type"},
276: {Name: "voiceOverCable", DefiningModule: "iana-if-type"},
277: {Name: "voiceOverFrameRelay", DefiningModule: "iana-if-type"},
278: {Name: "voiceOverIp", DefiningModule: "iana-if-type"},
279: {Name: "wwanPP", DefiningModule: "iana-if-type"},
280: {Name: "wwanPP2", DefiningModule: "iana-if-type"},
281: {Name: "x213", DefiningModule: "iana-if-type"},
282: {Name: "x25huntGroup", DefiningModule: "iana-if-type"},
283: {Name: "x25mlp", DefiningModule: "iana-if-type"},
284: {Name: "x25ple", DefiningModule: "iana-if-type"},
285: {Name: "x86Laps", DefiningModule: "iana-if-type"},
286: {Name: "xboxWireless", DefiningModule: "iana-if-type"},
},
"E_Icmpv4Types_CODE": {
1: {Name: "DST_UNREACHABLE_ADMIN_PROHIBITED", DefiningModule: "openconfig-icmpv4-types"},
2: {Name: "DST_UNREACHABLE_CANNOT_FRAGMENT", DefiningModule: "openconfig-icmpv4-types"},
3: {Name: "DST_UNREACHABLE_CODE", DefiningModule: "openconfig-icmpv4-types"},
4: {Name: "DST_UNREACHABLE_DST_HOST_ADMIN_PROHIBITED", DefiningModule: "openconfig-icmpv4-types"},
5: {Name: "DST_UNREACHABLE_DST_HOST_UNKNOWN", DefiningModule: "openconfig-icmpv4-types"},
6: {Name: "DST_UNREACHABLE_DST_NET_ADMIN_PROHIBITED", DefiningModule: "openconfig-icmpv4-types"},
7: {Name: "DST_UNREACHABLE_DST_NET_UNKNOWN", DefiningModule: "openconfig-icmpv4-types"},
8: {Name: "DST_UNREACHABLE_HOST", DefiningModule: "openconfig-icmpv4-types"},
9: {Name: "DST_UNREACHABLE_HOST_PRECEDENCE_VIOLATION", DefiningModule: "openconfig-icmpv4-types"},
10: {Name: "DST_UNREACHABLE_HOST_UNREACHABLE_FOR_TOS", DefiningModule: "openconfig-icmpv4-types"},
11: {Name: "DST_UNREACHABLE_NET", DefiningModule: "openconfig-icmpv4-types"},
12: {Name: "DST_UNREACHABLE_NET_UNREACHABLE_FOR_TOS", DefiningModule: "openconfig-icmpv4-types"},
13: {Name: "DST_UNREACHABLE_PORT", DefiningModule: "openconfig-icmpv4-types"},
14: {Name: "DST_UNREACHABLE_PRECEDENCE_CUTOFF", DefiningModule: "openconfig-icmpv4-types"},
15: {Name: "DST_UNREACHABLE_PROTOCOL", DefiningModule: "openconfig-icmpv4-types"},
16: {Name: "DST_UNREACHABLE_SRC_HOST_ISOLATED", DefiningModule: "openconfig-icmpv4-types"},
17: {Name: "DST_UNREACHABLE_SRC_ROUTE_FAILED", DefiningModule: "openconfig-icmpv4-types"},
18: {Name: "ECHO_CODE", DefiningModule: "openconfig-icmpv4-types"},
19: {Name: "ECHO_NO_CODE", DefiningModule: "openconfig-icmpv4-types"},
20: {Name: "ECHO_REPLY_CODE", DefiningModule: "openconfig-icmpv4-types"},
21: {Name: "ECHO_REPLY_NONE", DefiningModule: "openconfig-icmpv4-types"},
22: {Name: "EXT_ECHO_REPLY_CODE", DefiningModule: "openconfig-icmpv4-types"},
23: {Name: "EXT_ECHO_REPLY_MALFORMED_QUERY", DefiningModule: "openconfig-icmpv4-types"},
24: {Name: "EXT_ECHO_REPLY_MULTIPLE_INTF_SATISFY_QUERY", DefiningModule: "openconfig-icmpv4-types"},
25: {Name: "EXT_ECHO_REPLY_NO_ERROR", DefiningModule: "openconfig-icmpv4-types"},
26: {Name: "EXT_ECHO_REPLY_NO_SUB_TABLE_ENTRY", DefiningModule: "openconfig-icmpv4-types"},
27: {Name: "EXT_ECHO_REPLY_NO_SUCH_INTF", DefiningModule: "openconfig-icmpv4-types"},
28: {Name: "EXT_ECHO_REQUEST_CODE", DefiningModule: "openconfig-icmpv4-types"},
29: {Name: "EXT_ECHO_REQUEST_NO_ERROR", DefiningModule: "openconfig-icmpv4-types"},
30: {Name: "PARAM_PROBLEM_BAD_LENGTH", DefiningModule: "openconfig-icmpv4-types"},
31: {Name: "PARAM_PROBLEM_CODE", DefiningModule: "openconfig-icmpv4-types"},
32: {Name: "PARAM_PROBLEM_MISSING_REQ_OPTION", DefiningModule: "openconfig-icmpv4-types"},
33: {Name: "PARAM_PROBLEM_POINTER_INDICATES_ERR", DefiningModule: "openconfig-icmpv4-types"},
34: {Name: "PHOTURIS_AUTH_FAILED", DefiningModule: "openconfig-icmpv4-types"},
35: {Name: "PHOTURIS_BAD_SPI", DefiningModule: "openconfig-icmpv4-types"},
36: {Name: "PHOTURIS_CODE", DefiningModule: "openconfig-icmpv4-types"},
37: {Name: "PHOTURIS_DECOMPRESS_FAILED", DefiningModule: "openconfig-icmpv4-types"},
38: {Name: "PHOTURIS_DECRYPTION_FAILED", DefiningModule: "openconfig-icmpv4-types"},
39: {Name: "PHOTURIS_NEED_AUTHENTICATION", DefiningModule: "openconfig-icmpv4-types"},
40: {Name: "PHOTURIS_NEED_AUTHORIZATION", DefiningModule: "openconfig-icmpv4-types"},
41: {Name: "REDIRECT_CODE", DefiningModule: "openconfig-icmpv4-types"},
42: {Name: "REDIRECT_HOST", DefiningModule: "openconfig-icmpv4-types"},
43: {Name: "REDIRECT_NETWORK", DefiningModule: "openconfig-icmpv4-types"},
44: {Name: "REDIRECT_TOS_HOST", DefiningModule: "openconfig-icmpv4-types"},
45: {Name: "REDIRECT_TOS_NETWORK", DefiningModule: "openconfig-icmpv4-types"},
46: {Name: "ROUTER_ADVERTISEMENT_CODE", DefiningModule: "openconfig-icmpv4-types"},
47: {Name: "ROUTER_ADVERTISEMENT_DOES_NOT_ROUTE_COMMON", DefiningModule: "openconfig-icmpv4-types"},
48: {Name: "ROUTER_ADVERTISEMENT_NORMAL", DefiningModule: "openconfig-icmpv4-types"},
49: {Name: "ROUTER_SELECTION_CODE", DefiningModule: "openconfig-icmpv4-types"},
50: {Name: "ROUTER_SELECTION_NO_CODE", DefiningModule: "openconfig-icmpv4-types"},
51: {Name: "TIMESTAMP_CODE", DefiningModule: "openconfig-icmpv4-types"},
52: {Name: "TIMESTAMP_NO_CODE", DefiningModule: "openconfig-icmpv4-types"},
53: {Name: "TIMESTAMP_REPLY_CODE", DefiningModule: "openconfig-icmpv4-types"},
54: {Name: "TIMESTAMP_REPLY_NO_CODE", DefiningModule: "openconfig-icmpv4-types"},
55: {Name: "TIME_EXCEEDED_CODE", DefiningModule: "openconfig-icmpv4-types"},
56: {Name: "TIME_EXCEEDED_FRAGMENT_REASSEMBLY_IN_TRANSIT", DefiningModule: "openconfig-icmpv4-types"},
57: {Name: "TIME_EXCEEDED_IN_TRANSIT", DefiningModule: "openconfig-icmpv4-types"},
},
"E_Icmpv4Types_TYPE": {
1: {Name: "DST_UNREACHABLE", DefiningModule: "openconfig-icmpv4-types"},
2: {Name: "ECHO", DefiningModule: "openconfig-icmpv4-types"},
3: {Name: "ECHO_REPLY", DefiningModule: "openconfig-icmpv4-types"},
4: {Name: "EXT_ECHO_REPLY", DefiningModule: "openconfig-icmpv4-types"},
5: {Name: "EXT_ECHO_REQUEST", DefiningModule: "openconfig-icmpv4-types"},
6: {Name: "PARAM_PROBLEM", DefiningModule: "openconfig-icmpv4-types"},
7: {Name: "PHOTURIS", DefiningModule: "openconfig-icmpv4-types"},
8: {Name: "REDIRECT", DefiningModule: "openconfig-icmpv4-types"},
9: {Name: "ROUTER_ADVERTISEMENT", DefiningModule: "openconfig-icmpv4-types"},
10: {Name: "ROUTER_SOLICITATION", DefiningModule: "openconfig-icmpv4-types"},
11: {Name: "TIMESTAMP", DefiningModule: "openconfig-icmpv4-types"},
12: {Name: "TIMESTAMP_REPLY", DefiningModule: "openconfig-icmpv4-types"},
13: {Name: "TIME_EXCEEDED", DefiningModule: "openconfig-icmpv4-types"},
14: {Name: "TRACEROUTE", DefiningModule: "openconfig-icmpv4-types"},
},
"E_Icmpv6Types_CODE": {
1: {Name: "DST_UNREACHABLE_ADDR", DefiningModule: "openconfig-icmpv6-types"},
2: {Name: "DST_UNREACHABLE_BEYOND_SCOPE_OF_SRC", DefiningModule: "openconfig-icmpv6-types"},
3: {Name: "DST_UNREACHABLE_CODE", DefiningModule: "openconfig-icmpv6-types"},
4: {Name: "DST_UNREACHABLE_DST_ADMIN_PROHIBITED", DefiningModule: "openconfig-icmpv6-types"},
5: {Name: "DST_UNREACHABLE_ERR_IN_SRC_ROUTING_HDR", DefiningModule: "openconfig-icmpv6-types"},
6: {Name: "DST_UNREACHABLE_HDRS_TOO_LONG", DefiningModule: "openconfig-icmpv6-types"},
7: {Name: "DST_UNREACHABLE_NO_ROUTE_TO_DST", DefiningModule: "openconfig-icmpv6-types"},
8: {Name: "DST_UNREACHABLE_PORT", DefiningModule: "openconfig-icmpv6-types"},
9: {Name: "DST_UNREACHABLE_REJECT_ROUTE_TO_DST", DefiningModule: "openconfig-icmpv6-types"},
10: {Name: "DST_UNREACHABLE_SRC_ADDR_FAILED_POLICY", DefiningModule: "openconfig-icmpv6-types"},
11: {Name: "DUPLICATE_ADDRESS_REPLY_CODE", DefiningModule: "openconfig-icmpv6-types"},
12: {Name: "DUPLICATE_ADDRESS_REPLY_DAC", DefiningModule: "openconfig-icmpv6-types"},
13: {Name: "DUPLICATE_ADDRESS_REPLY_EDAC_ROVR128", DefiningModule: "openconfig-icmpv6-types"},
14: {Name: "DUPLICATE_ADDRESS_REPLY_EDAC_ROVR192", DefiningModule: "openconfig-icmpv6-types"},
15: {Name: "DUPLICATE_ADDRESS_REPLY_EDAC_ROVR256", DefiningModule: "openconfig-icmpv6-types"},
16: {Name: "DUPLICATE_ADDRESS_REPLY_EDAC_ROVR64", DefiningModule: "openconfig-icmpv6-types"},
17: {Name: "DUPLICATE_ADDRESS_REQUEST_CODE", DefiningModule: "openconfig-icmpv6-types"},
18: {Name: "DUPLICATE_ADDRESS_REQUEST_DAR", DefiningModule: "openconfig-icmpv6-types"},
19: {Name: "DUPLICATE_ADDRESS_REQUEST_EDAR_ROVR128", DefiningModule: "openconfig-icmpv6-types"},
20: {Name: "DUPLICATE_ADDRESS_REQUEST_EDAR_ROVR192", DefiningModule: "openconfig-icmpv6-types"},
21: {Name: "DUPLICATE_ADDRESS_REQUEST_EDAR_ROVR256", DefiningModule: "openconfig-icmpv6-types"},
22: {Name: "DUPLICATE_ADDRESS_REQUEST_EDAR_ROVR64", DefiningModule: "openconfig-icmpv6-types"},
23: {Name: "ECHO_REPLY_CODE", DefiningModule: "openconfig-icmpv6-types"},
24: {Name: "ECHO_REPLY_NO_CODE", DefiningModule: "openconfig-icmpv6-types"},
25: {Name: "ECHO_REQUEST_CODE", DefiningModule: "openconfig-icmpv6-types"},
26: {Name: "ECHO_REQUEST_NO_CODE", DefiningModule: "openconfig-icmpv6-types"},
27: {Name: "EXT_ECHO_REPLY_CODE", DefiningModule: "openconfig-icmpv6-types"},
28: {Name: "EXT_ECHO_REPLY_MALFORMED_QUERY", DefiningModule: "openconfig-icmpv6-types"},
29: {Name: "EXT_ECHO_REPLY_MULTIPLE_INTF_SATISFY_QUERY", DefiningModule: "openconfig-icmpv6-types"},
30: {Name: "EXT_ECHO_REPLY_NO_ERROR", DefiningModule: "openconfig-icmpv6-types"},
31: {Name: "EXT_ECHO_REPLY_NO_SUCH_INTERFACE", DefiningModule: "openconfig-icmpv6-types"},
32: {Name: "EXT_ECHO_REPLY_NO_SUCH_TABLE_ENTRY", DefiningModule: "openconfig-icmpv6-types"},
33: {Name: "EXT_ECHO_REQUEST_CODE", DefiningModule: "openconfig-icmpv6-types"},
34: {Name: "EXT_ECHO_REQUEST_NO_ERROR", DefiningModule: "openconfig-icmpv6-types"},
35: {Name: "HOME_AGENT_ADDRESS_DISCOVERY_REPLY_CODE", DefiningModule: "openconfig-icmpv6-types"},
36: {Name: "HOME_AGENT_ADDRESS_DISCOVERY_REPLY_NO_CODE", DefiningModule: "openconfig-icmpv6-types"},
37: {Name: "HOME_AGENT_ADDRESS_DISCOVERY_REQUEST_CODE", DefiningModule: "openconfig-icmpv6-types"},
38: {Name: "HOME_AGENT_ADDRESS_DISCOVERY_REQUEST_NO_CODE", DefiningModule: "openconfig-icmpv6-types"},
39: {Name: "INVERSE_NEIGHBOR_ADVERTISEMENT_CODE", DefiningModule: "openconfig-icmpv6-types"},
40: {Name: "INVERSE_NEIGHBOR_ADVERTISEMENT_NO_CODE", DefiningModule: "openconfig-icmpv6-types"},
41: {Name: "INVERSE_NEIGHBOR_SOLICITATION_CODE", DefiningModule: "openconfig-icmpv6-types"},
42: {Name: "INVERSE_NEIGHBOR_SOLICITATION_NO_CODE", DefiningModule: "openconfig-icmpv6-types"},
43: {Name: "MOBILE_PREFIX_ADVERTISEMENT_CODE", DefiningModule: "openconfig-icmpv6-types"},
44: {Name: "MOBILE_PREFIX_ADVERTISEMENT_NO_CODE", DefiningModule: "openconfig-icmpv6-types"},
45: {Name: "MOBILE_PREFIX_SOLICITATION_CODE", DefiningModule: "openconfig-icmpv6-types"},
46: {Name: "MOBILE_PREFIX_SOLICITATION_NO_CODE", DefiningModule: "openconfig-icmpv6-types"},
47: {Name: "MULTICAST_LISTENER_DONE_CODE", DefiningModule: "openconfig-icmpv6-types"},
48: {Name: "MULTICAST_LISTENER_DONE_NO_CODE", DefiningModule: "openconfig-icmpv6-types"},
49: {Name: "MULTICAST_LISTENER_QUERY_CODE", DefiningModule: "openconfig-icmpv6-types"},
50: {Name: "MULTICAST_LISTENER_QUERY_NO_CODE", DefiningModule: "openconfig-icmpv6-types"},
51: {Name: "MULTICAST_LISTENER_REPORT_CODE", DefiningModule: "openconfig-icmpv6-types"},
52: {Name: "MULTICAST_LISTENER_REPORT_NO_CODE", DefiningModule: "openconfig-icmpv6-types"},
53: {Name: "NDDE_INFORMATION_RESPONSE_CODE", DefiningModule: "openconfig-icmpv6-types"},
54: {Name: "NEIGHBOR_ADVERTISEMENT_CODE", DefiningModule: "openconfig-icmpv6-types"},
55: {Name: "NEIGHBOR_ADVERTISEMENT_NO_CODE", DefiningModule: "openconfig-icmpv6-types"},
56: {Name: "NEIGHBOR_SOLICITATION_CODE", DefiningModule: "openconfig-icmpv6-types"},
57: {Name: "NEIGHBOR_SOLICITATION_NO_CODE", DefiningModule: "openconfig-icmpv6-types"},
58: {Name: "NODE_INFORMATION_QUERY_CODE", DefiningModule: "openconfig-icmpv6-types"},
59: {Name: "NODE_INFORMATION_QUERY_IPV4_ADDR", DefiningModule: "openconfig-icmpv6-types"},
60: {Name: "NODE_INFORMATION_QUERY_IPV6_ADDR", DefiningModule: "openconfig-icmpv6-types"},
61: {Name: "NODE_INFORMATION_QUERY_NAME", DefiningModule: "openconfig-icmpv6-types"},
62: {Name: "NODE_INFORMATION_RESPONSE_REFUSED", DefiningModule: "openconfig-icmpv6-types"},
63: {Name: "NODE_INFORMATION_RESPONSE_SUCCESS", DefiningModule: "openconfig-icmpv6-types"},
64: {Name: "NODE_INFORMATION_RESPONSE_UNKNOWN", DefiningModule: "openconfig-icmpv6-types"},
65: {Name: "PACKET_TOO_BIG_CODE", DefiningModule: "openconfig-icmpv6-types"},
66: {Name: "PACKET_TOO_BIG_NO_CODE", DefiningModule: "openconfig-icmpv6-types"},
67: {Name: "PARAM_PROBLEM_CODE", DefiningModule: "openconfig-icmpv6-types"},
68: {Name: "PARAM_PROBLEM_ERR_HDR_FIELD", DefiningModule: "openconfig-icmpv6-types"},
69: {Name: "PARAM_PROBLEM_EXT_HDR_CHAIN_TOO_LONG", DefiningModule: "openconfig-icmpv6-types"},
70: {Name: "PARAM_PROBLEM_EXT_HDR_TOO_BIG", DefiningModule: "openconfig-icmpv6-types"},
71: {Name: "PARAM_PROBLEM_INCOMPLETE_HDR_CHAIN", DefiningModule: "openconfig-icmpv6-types"},
72: {Name: "PARAM_PROBLEM_OPT_TOO_BIG", DefiningModule: "openconfig-icmpv6-types"},
73: {Name: "PARAM_PROBLEM_SR_UPPER_HDR_ERR", DefiningModule: "openconfig-icmpv6-types"},
74: {Name: "PARAM_PROBLEM_TOO_MANY_EXT_HDRS", DefiningModule: "openconfig-icmpv6-types"},
75: {Name: "PARAM_PROBLEM_TOO_MANY_OPTS", DefiningModule: "openconfig-icmpv6-types"},
76: {Name: "PARAM_PROBLEM_UNRECOGNIZED_IPV6_OPT", DefiningModule: "openconfig-icmpv6-types"},
77: {Name: "PARAM_PROBLEM_UNRECOGNIZED_NET_HDR_TYPE", DefiningModule: "openconfig-icmpv6-types"},
78: {Name: "PARAM_PROBLEM_UNRECOGNIZED_NEXT_HDR_TYPE", DefiningModule: "openconfig-icmpv6-types"},
79: {Name: "REDIRECT_CODE", DefiningModule: "openconfig-icmpv6-types"},
80: {Name: "REDIRECT_NO_CODE", DefiningModule: "openconfig-icmpv6-types"},
81: {Name: "RENUMBERING_CODE", DefiningModule: "openconfig-icmpv6-types"},
82: {Name: "RENUMBERING_COMMAND", DefiningModule: "openconfig-icmpv6-types"},
83: {Name: "RENUNBERING_RESULT", DefiningModule: "openconfig-icmpv6-types"},
84: {Name: "RENUNBERING_SEQ_NUM_RESET", DefiningModule: "openconfig-icmpv6-types"},
85: {Name: "ROUTER_ADVERTISEMENT_CODE", DefiningModule: "openconfig-icmpv6-types"},
86: {Name: "ROUTER_ADVERTISEMENT_NO_CODE", DefiningModule: "openconfig-icmpv6-types"},
87: {Name: "ROUTER_SOLICITATION_CODE", DefiningModule: "openconfig-icmpv6-types"},
88: {Name: "ROUTER_SOLICITATION_NO_CODE", DefiningModule: "openconfig-icmpv6-types"},
89: {Name: "TIME_EXCEEDED_CODE", DefiningModule: "openconfig-icmpv6-types"},
90: {Name: "TIME_EXCEEDED_FRAGMENT_REASSEMBLY", DefiningModule: "openconfig-icmpv6-types"},
91: {Name: "TIME_EXCEEDED_HOP_LIMIT", DefiningModule: "openconfig-icmpv6-types"},
},
"E_Icmpv6Types_TYPE": {
1: {Name: "CERTIFICATION_PATH_ADVERTISEMENT", DefiningModule: "openconfig-icmpv6-types"},
2: {Name: "CERTIFICATION_PATH_SOLICITATION", DefiningModule: "openconfig-icmpv6-types"},
3: {Name: "DESTINATION_UNREACHABLE", DefiningModule: "openconfig-icmpv6-types"},
4: {Name: "DUPLICATE_ADDRESS_CONFIRMATION", DefiningModule: "openconfig-icmpv6-types"},
5: {Name: "DUPLICATE_ADDRESS_REQUEST", DefiningModule: "openconfig-icmpv6-types"},
6: {Name: "ECHO_REPLY", DefiningModule: "openconfig-icmpv6-types"},
7: {Name: "ECHO_REQUEST", DefiningModule: "openconfig-icmpv6-types"},
8: {Name: "EXT_ECHO_REPLY", DefiningModule: "openconfig-icmpv6-types"},
9: {Name: "EXT_ECHO_REQUEST", DefiningModule: "openconfig-icmpv6-types"},
10: {Name: "FMIPV6", DefiningModule: "openconfig-icmpv6-types"},
11: {Name: "HOME_AGENT_ADDRESS_DISCOVERY_REPLY", DefiningModule: "openconfig-icmpv6-types"},
12: {Name: "HOME_AGENT_ADDRESS_DISCOVERY_REQUEST", DefiningModule: "openconfig-icmpv6-types"},
13: {Name: "ILNPV6_LOCATOR_UPDATE", DefiningModule: "openconfig-icmpv6-types"},
14: {Name: "INVERSE_NEIGHBOR_ADVERTISEMENT", DefiningModule: "openconfig-icmpv6-types"},
15: {Name: "INVERSE_NEIGHBOR_SOLICITATION", DefiningModule: "openconfig-icmpv6-types"},
16: {Name: "MOBILE_PREFIX_ADVERTISEMENT", DefiningModule: "openconfig-icmpv6-types"},
17: {Name: "MOBILE_PREFIX_SOLICITATION", DefiningModule: "openconfig-icmpv6-types"},
18: {Name: "MPL_CONTROL", DefiningModule: "openconfig-icmpv6-types"},
19: {Name: "MULTICAST_LISTENER_DONE", DefiningModule: "openconfig-icmpv6-types"},
20: {Name: "MULTICAST_LISTENER_QUERY", DefiningModule: "openconfig-icmpv6-types"},
21: {Name: "MULTICAST_LISTENER_REPORT", DefiningModule: "openconfig-icmpv6-types"},
22: {Name: "MULTICAST_ROUTER_ADVERTISEMENT", DefiningModule: "openconfig-icmpv6-types"},
23: {Name: "MULTICAST_ROUTER_SOLICITATION", DefiningModule: "openconfig-icmpv6-types"},
24: {Name: "MULTICAST_ROUTER_TERMINATION", DefiningModule: "openconfig-icmpv6-types"},
25: {Name: "NEIGHBOR_ADVERTISEMENT", DefiningModule: "openconfig-icmpv6-types"},
26: {Name: "NEIGHBOR_SOLICITATION", DefiningModule: "openconfig-icmpv6-types"},
27: {Name: "NODE_INFORMATION_QUERY", DefiningModule: "openconfig-icmpv6-types"},
28: {Name: "NODE_INFORMATION_RESPONSE", DefiningModule: "openconfig-icmpv6-types"},
29: {Name: "PACKET_TOO_BIG", DefiningModule: "openconfig-icmpv6-types"},
30: {Name: "PARAMETER_PROBLEM", DefiningModule: "openconfig-icmpv6-types"},
31: {Name: "REDIRECT", DefiningModule: "openconfig-icmpv6-types"},
32: {Name: "RENUNBERING", DefiningModule: "openconfig-icmpv6-types"},
33: {Name: "ROUTER_ADVERTISEMENT", DefiningModule: "openconfig-icmpv6-types"},
34: {Name: "ROUTER_SOLICITATION", DefiningModule: "openconfig-icmpv6-types"},
35: {Name: "RPL_CONTROL", DefiningModule: "openconfig-icmpv6-types"},
36: {Name: "TIME_EXCEEDED", DefiningModule: "openconfig-icmpv6-types"},
37: {Name: "VERSION2_MULTICAST_LISTENER", DefiningModule: "openconfig-icmpv6-types"},
},
"E_IfAggregate_AggregationType": {
1: {Name: "LACP"},
2: {Name: "STATIC"},
},
"E_IfEthernet_ETHERNET_SPEED": {
1: {Name: "SPEED_100GB", DefiningModule: "openconfig-if-ethernet"},
2: {Name: "SPEED_100MB", DefiningModule: "openconfig-if-ethernet"},
3: {Name: "SPEED_10GB", DefiningModule: "openconfig-if-ethernet"},
4: {Name: "SPEED_10MB", DefiningModule: "openconfig-if-ethernet"},
5: {Name: "SPEED_1GB", DefiningModule: "openconfig-if-ethernet"},
6: {Name: "SPEED_200GB", DefiningModule: "openconfig-if-ethernet"},
7: {Name: "SPEED_2500MB", DefiningModule: "openconfig-if-ethernet"},
8: {Name: "SPEED_25GB", DefiningModule: "openconfig-if-ethernet"},
9: {Name: "SPEED_400GB", DefiningModule: "openconfig-if-ethernet"},
10: {Name: "SPEED_40GB", DefiningModule: "openconfig-if-ethernet"},
11: {Name: "SPEED_50GB", DefiningModule: "openconfig-if-ethernet"},
12: {Name: "SPEED_5GB", DefiningModule: "openconfig-if-ethernet"},
13: {Name: "SPEED_600GB", DefiningModule: "openconfig-if-ethernet"},
14: {Name: "SPEED_800GB", DefiningModule: "openconfig-if-ethernet"},
15: {Name: "SPEED_UNKNOWN", DefiningModule: "openconfig-if-ethernet"},
},
"E_IfEthernet_INTERFACE_FEC": {
1: {Name: "FEC_DISABLED", DefiningModule: "openconfig-if-ethernet"},
2: {Name: "FEC_FC", DefiningModule: "openconfig-if-ethernet"},
3: {Name: "FEC_RS528", DefiningModule: "openconfig-if-ethernet"},
4: {Name: "FEC_RS544", DefiningModule: "openconfig-if-ethernet"},
5: {Name: "FEC_RS544_2X_INTERLEAVE", DefiningModule: "openconfig-if-ethernet"},
},
"E_IfIp_IpAddressOrigin": {
1: {Name: "OTHER"},
2: {Name: "STATIC"},
3: {Name: "DHCP"},
4: {Name: "LINK_LAYER"},
5: {Name: "RANDOM"},
},
"E_IfIp_Ipv4AddressType": {
1: {Name: "PRIMARY"},
2: {Name: "SECONDARY"},
},
"E_IfIp_NeighborOrigin": {
1: {Name: "OTHER"},
2: {Name: "STATIC"},
3: {Name: "DYNAMIC"},
},
"E_InetTypes_Ipv6AddressType": {
1: {Name: "GLOBAL_UNICAST"},
2: {Name: "LINK_LOCAL_UNICAST"},
},
"E_Interface_AdminStatus": {
1: {Name: "UP"},
2: {Name: "DOWN"},
3: {Name: "TESTING"},
},
"E_Interface_IrbAnycastGateway": {
1: {Name: "DISTRIBUTED_SYMETRIC"},
2: {Name: "DISTRIBUTED_ASYMETRIC"},
3: {Name: "HYBRID"},
4: {Name: "CENTRALIZED"},
},
"E_Interface_OperStatus": {
2: {Name: "UP"},
3: {Name: "DOWN"},
4: {Name: "TESTING"},
5: {Name: "UNKNOWN"},
6: {Name: "DORMANT"},
7: {Name: "NOT_PRESENT"},
8: {Name: "LOWER_LAYER_DOWN"},
},
"E_Ipv6_LearnUnsolicited": {
1: {Name: "NONE"},
2: {Name: "GLOBAL"},
3: {Name: "LINK_LOCAL"},
4: {Name: "BOTH"},
},
"E_KeychainTypes_CRYPTO_TYPE": {
1: {Name: "AES_128_CMAC", DefiningModule: "openconfig-keychain-types"},
2: {Name: "AES_128_CMAC_96", DefiningModule: "openconfig-keychain-types"},
3: {Name: "AES_256_CMAC", DefiningModule: "openconfig-keychain-types"},
4: {Name: "CRYPTO_NONE", DefiningModule: "openconfig-keychain-types"},
5: {Name: "HMAC_MD5", DefiningModule: "openconfig-keychain-types"},
6: {Name: "HMAC_SHA_1", DefiningModule: "openconfig-keychain-types"},
7: {Name: "HMAC_SHA_1_12", DefiningModule: "openconfig-keychain-types"},
8: {Name: "HMAC_SHA_1_20", DefiningModule: "openconfig-keychain-types"},
9: {Name: "HMAC_SHA_1_96", DefiningModule: "openconfig-keychain-types"},
10: {Name: "HMAC_SHA_256", DefiningModule: "openconfig-keychain-types"},
11: {Name: "MD5", DefiningModule: "openconfig-keychain-types"},
12: {Name: "SHA_1", DefiningModule: "openconfig-keychain-types"},
},
"E_Keychain_Tolerance_Enum": {
1: {Name: "FOREVER"},
},
"E_LocalRouting_LOCAL_DEFINED_NEXT_HOP": {
1: {Name: "DROP", DefiningModule: "openconfig-local-routing"},
2: {Name: "LOCAL_LINK", DefiningModule: "openconfig-local-routing"},
},
"E_Neighbor_NeighborState": {
1: {Name: "INCOMPLETE"},
2: {Name: "REACHABLE"},
3: {Name: "STALE"},
4: {Name: "DELAY"},
5: {Name: "PROBE"},
},
"E_NetworkInstanceTypes_NETWORK_INSTANCE_TYPE": {
1: {Name: "DEFAULT_INSTANCE", DefiningModule: "openconfig-network-instance-types"},
2: {Name: "L2L3", DefiningModule: "openconfig-network-instance-types"},
3: {Name: "L2P2P", DefiningModule: "openconfig-network-instance-types"},
4: {Name: "L2VSI", DefiningModule: "openconfig-network-instance-types"},
5: {Name: "L3VRF", DefiningModule: "openconfig-network-instance-types"},
},
"E_PacketMatchTypes_ETHERTYPE": {
1: {Name: "ETHERTYPE_ARP", DefiningModule: "openconfig-packet-match-types"},
2: {Name: "ETHERTYPE_IPV4", DefiningModule: "openconfig-packet-match-types"},
3: {Name: "ETHERTYPE_IPV6", DefiningModule: "openconfig-packet-match-types"},
4: {Name: "ETHERTYPE_LLDP", DefiningModule: "openconfig-packet-match-types"},
5: {Name: "ETHERTYPE_MPLS", DefiningModule: "openconfig-packet-match-types"},
6: {Name: "ETHERTYPE_ROCE", DefiningModule: "openconfig-packet-match-types"},
7: {Name: "ETHERTYPE_VLAN", DefiningModule: "openconfig-packet-match-types"},
},
"E_PacketMatchTypes_IP_PROTOCOL": {
1: {Name: "IP_AUTH", DefiningModule: "openconfig-packet-match-types"},
2: {Name: "IP_GRE", DefiningModule: "openconfig-packet-match-types"},
3: {Name: "IP_ICMP", DefiningModule: "openconfig-packet-match-types"},
4: {Name: "IP_IGMP", DefiningModule: "openconfig-packet-match-types"},
5: {Name: "IP_IN_IP", DefiningModule: "openconfig-packet-match-types"},
6: {Name: "IP_L2TP", DefiningModule: "openconfig-packet-match-types"},
7: {Name: "IP_PIM", DefiningModule: "openconfig-packet-match-types"},
8: {Name: "IP_RSVP", DefiningModule: "openconfig-packet-match-types"},
9: {Name: "IP_TCP", DefiningModule: "openconfig-packet-match-types"},
10: {Name: "IP_UDP", DefiningModule: "openconfig-packet-match-types"},
},
"E_PacketMatchTypes_PortNumRange_Enum": {
1: {Name: "ANY"},
},
"E_PacketMatchTypes_TCP_FLAGS": {
1: {Name: "TCP_ACK", DefiningModule: "openconfig-packet-match-types"},
2: {Name: "TCP_CWR", DefiningModule: "openconfig-packet-match-types"},
3: {Name: "TCP_ECE", DefiningModule: "openconfig-packet-match-types"},
4: {Name: "TCP_FIN", DefiningModule: "openconfig-packet-match-types"},
5: {Name: "TCP_PSH", DefiningModule: "openconfig-packet-match-types"},
6: {Name: "TCP_RST", DefiningModule: "openconfig-packet-match-types"},
7: {Name: "TCP_SYN", DefiningModule: "openconfig-packet-match-types"},
8: {Name: "TCP_URG", DefiningModule: "openconfig-packet-match-types"},
},
"E_PolicyTypes_INSTALL_PROTOCOL_TYPE": {
1: {Name: "BGP", DefiningModule: "openconfig-policy-types"},
2: {Name: "DIRECTLY_CONNECTED", DefiningModule: "openconfig-policy-types"},
3: {Name: "GRIBI", DefiningModule: "openconfig-policy-types"},
4: {Name: "IGMP", DefiningModule: "openconfig-policy-types"},
5: {Name: "ISIS", DefiningModule: "openconfig-policy-types"},
6: {Name: "LOCAL", DefiningModule: "openconfig-policy-types"},
7: {Name: "LOCAL_AGGREGATE", DefiningModule: "openconfig-policy-types"},
8: {Name: "OSPF", DefiningModule: "openconfig-policy-types"},
9: {Name: "OSPF3", DefiningModule: "openconfig-policy-types"},
10: {Name: "PCEP", DefiningModule: "openconfig-policy-types"},
11: {Name: "PIM", DefiningModule: "openconfig-policy-types"},
12: {Name: "STATIC", DefiningModule: "openconfig-policy-types"},
},
"E_Policy_Type": {
1: {Name: "PBR_POLICY"},
2: {Name: "VRF_SELECTION_POLICY"},
},
"E_ProxyArp_Mode": {
1: {Name: "DISABLE"},
2: {Name: "REMOTE_ONLY"},
3: {Name: "ALL"},
},
"E_RouterAdvertisement_Mode": {
1: {Name: "ALL"},
2: {Name: "DISABLE_UNSOLICITED_RA"},
},
"E_TransportTypes_LoopbackModeType": {
1: {Name: "NONE"},
2: {Name: "FACILITY"},
3: {Name: "TERMINAL"},
4: {Name: "ASIC_PHY_LOCAL"},
5: {Name: "ASIC_PHY_REMOTE"},
6: {Name: "ASIC_MAC_LOCAL"},
7: {Name: "ASIC_MAC_REMOTE"},
},
"E_Transport_BuiltinDetail": {
1: {Name: "TCP_INITIAL"},
2: {Name: "TCP_ESTABLISHED"},
3: {Name: "FRAGMENT"},
},
"E_Transport_DetailMode": {
1: {Name: "EXPLICIT"},
2: {Name: "BUILTIN"},
},
"E_Transport_ExplicitDetailMatchMode": {
1: {Name: "ANY"},
2: {Name: "ALL"},
},
"E_Types_ADDRESS_FAMILY": {
1: {Name: "IPV4", DefiningModule: "openconfig-types"},
2: {Name: "IPV6", DefiningModule: "openconfig-types"},
3: {Name: "L2_ETHERNET", DefiningModule: "openconfig-types"},
4: {Name: "MPLS", DefiningModule: "openconfig-types"},
},
"E_VlanTypes_TPID_TYPES": {
1: {Name: "TPID_0X8100", DefiningModule: "openconfig-vlan-types"},
2: {Name: "TPID_0X88A8", DefiningModule: "openconfig-vlan-types"},
3: {Name: "TPID_0X9100", DefiningModule: "openconfig-vlan-types"},
4: {Name: "TPID_0X9200", DefiningModule: "openconfig-vlan-types"},
5: {Name: "TPID_ANY", DefiningModule: "openconfig-vlan-types"},
},
"E_VlanTypes_VlanModeType": {
1: {Name: "ACCESS"},
2: {Name: "TRUNK"},
},
"E_VlanTypes_VlanStackAction": {
1: {Name: "PUSH"},
2: {Name: "POP"},
3: {Name: "SWAP"},
},
}
ΛEnum is a map, keyed by the name of the type defined for each enum in the generated Go code, which provides a mapping between the constant int64 value of each value of the enumeration, and the string that is used to represent it in the YANG schema. The map is named ΛEnum in order to avoid clash with any valid YANG identifier.
Functions ¶
func Unmarshal ¶
Unmarshal unmarshals data, which must be RFC7951 JSON format, into destStruct, which must be non-nil and the correct GoStruct type. It returns an error if the destStruct is not found in the schema or the data cannot be unmarshaled. The supplied options (opts) are used to control the behaviour of the unmarshal function - for example, determining whether errors are thrown for unknown fields in the input JSON.
Types ¶
type Bfd ¶
type Bfd struct {
Interface map[string]*Bfd_Interface `path:"interfaces/interface" module:"openconfig-bfd/openconfig-bfd"`
}
Bfd represents the /openconfig-bfd/bfd YANG schema element.
func (*Bfd) AppendInterface ¶
func (t *Bfd) AppendInterface(v *Bfd_Interface) error
AppendInterface appends the supplied Bfd_Interface struct to the list Interface of Bfd. If the key value(s) specified in the supplied Bfd_Interface already exist in the list, an error is returned.
func (*Bfd) DeleteInterface ¶
DeleteInterface deletes the value with the specified keys from the receiver Bfd. If there is no such element, the function is a no-op.
func (*Bfd) GetInterface ¶
func (t *Bfd) GetInterface(Id string) *Bfd_Interface
GetInterface retrieves the value with the specified key from the Interface map field of Bfd. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.
func (*Bfd) GetOrCreateInterface ¶
func (t *Bfd) GetOrCreateInterface(Id string) *Bfd_Interface
GetOrCreateInterface retrieves the value with the specified keys from the receiver Bfd. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*Bfd) GetOrCreateInterfaceMap ¶
func (t *Bfd) GetOrCreateInterfaceMap() map[string]*Bfd_Interface
GetOrCreateInterfaceMap returns the list (map) from Bfd.
It initializes the field if not already initialized.
func (*Bfd) IsYANGGoStruct ¶
func (*Bfd) IsYANGGoStruct()
IsYANGGoStruct ensures that Bfd implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Bfd) NewInterface ¶
func (t *Bfd) NewInterface(Id string) (*Bfd_Interface, error)
NewInterface creates a new entry in the Interface list of the Bfd struct. The keys of the list are populated from the input arguments.
func (*Bfd) Validate ¶
func (t *Bfd) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Bfd) ΛBelongingModule ¶
ΛBelongingModule returns the name of the module that defines the namespace of Bfd.
func (*Bfd) ΛEnumTypeMap ¶
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
type Bfd_Interface ¶
type Bfd_Interface struct {
DesiredMinimumTxInterval *uint32 `path:"state/desired-minimum-tx-interval" module:"openconfig-bfd/openconfig-bfd"`
DetectionMultiplier *uint8 `path:"state/detection-multiplier" module:"openconfig-bfd/openconfig-bfd"`
EnablePerMemberLink *bool `path:"state/enable-per-member-link" module:"openconfig-bfd/openconfig-bfd"`
Enabled *bool `path:"state/enabled" module:"openconfig-bfd/openconfig-bfd"`
Id *string `path:"state/id|id" module:"openconfig-bfd/openconfig-bfd|openconfig-bfd"`
InterfaceRef *Bfd_Interface_InterfaceRef `path:"interface-ref" module:"openconfig-bfd"`
LocalAddress *string `path:"state/local-address" module:"openconfig-bfd/openconfig-bfd"`
MicroBfdSession map[string]*Bfd_Interface_MicroBfdSession `path:"micro-bfd-sessions/micro-bfd-session" module:"openconfig-bfd/openconfig-bfd"`
Peer map[string]*Bfd_Interface_Peer `path:"peers/peer" module:"openconfig-bfd/openconfig-bfd"`
RequiredMinimumReceive *uint32 `path:"state/required-minimum-receive" module:"openconfig-bfd/openconfig-bfd"`
}
Bfd_Interface represents the /openconfig-bfd/bfd/interfaces/interface YANG schema element.
func (*Bfd_Interface) AppendMicroBfdSession ¶
func (t *Bfd_Interface) AppendMicroBfdSession(v *Bfd_Interface_MicroBfdSession) error
AppendMicroBfdSession appends the supplied Bfd_Interface_MicroBfdSession struct to the list MicroBfdSession of Bfd_Interface. If the key value(s) specified in the supplied Bfd_Interface_MicroBfdSession already exist in the list, an error is returned.
func (*Bfd_Interface) AppendPeer ¶
func (t *Bfd_Interface) AppendPeer(v *Bfd_Interface_Peer) error
AppendPeer appends the supplied Bfd_Interface_Peer struct to the list Peer of Bfd_Interface. If the key value(s) specified in the supplied Bfd_Interface_Peer already exist in the list, an error is returned.
func (*Bfd_Interface) DeleteMicroBfdSession ¶
func (t *Bfd_Interface) DeleteMicroBfdSession(MemberInterface string)
DeleteMicroBfdSession deletes the value with the specified keys from the receiver Bfd_Interface. If there is no such element, the function is a no-op.
func (*Bfd_Interface) DeletePeer ¶
func (t *Bfd_Interface) DeletePeer(LocalDiscriminator string)
DeletePeer deletes the value with the specified keys from the receiver Bfd_Interface. If there is no such element, the function is a no-op.
func (*Bfd_Interface) GetDesiredMinimumTxInterval ¶
func (t *Bfd_Interface) GetDesiredMinimumTxInterval() uint32
GetDesiredMinimumTxInterval retrieves the value of the leaf DesiredMinimumTxInterval from the Bfd_Interface struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if DesiredMinimumTxInterval is set, it can safely use t.GetDesiredMinimumTxInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.DesiredMinimumTxInterval == nil' before retrieving the leaf's value.
func (*Bfd_Interface) GetDetectionMultiplier ¶
func (t *Bfd_Interface) GetDetectionMultiplier() uint8
GetDetectionMultiplier retrieves the value of the leaf DetectionMultiplier from the Bfd_Interface struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if DetectionMultiplier is set, it can safely use t.GetDetectionMultiplier() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.DetectionMultiplier == nil' before retrieving the leaf's value.
func (*Bfd_Interface) GetEnablePerMemberLink ¶
func (t *Bfd_Interface) GetEnablePerMemberLink() bool
GetEnablePerMemberLink retrieves the value of the leaf EnablePerMemberLink from the Bfd_Interface struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if EnablePerMemberLink is set, it can safely use t.GetEnablePerMemberLink() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.EnablePerMemberLink == nil' before retrieving the leaf's value.
func (*Bfd_Interface) GetEnabled ¶
func (t *Bfd_Interface) GetEnabled() bool
GetEnabled retrieves the value of the leaf Enabled from the Bfd_Interface struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Enabled is set, it can safely use t.GetEnabled() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Enabled == nil' before retrieving the leaf's value.
func (*Bfd_Interface) GetId ¶
func (t *Bfd_Interface) GetId() string
GetId retrieves the value of the leaf Id from the Bfd_Interface struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Id is set, it can safely use t.GetId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Id == nil' before retrieving the leaf's value.
func (*Bfd_Interface) GetInterfaceRef ¶
func (t *Bfd_Interface) GetInterfaceRef() *Bfd_Interface_InterfaceRef
GetInterfaceRef returns the value of the InterfaceRef struct pointer from Bfd_Interface. If the receiver or the field InterfaceRef is nil, nil is returned such that the Get* methods can be safely chained.
func (*Bfd_Interface) GetLocalAddress ¶
func (t *Bfd_Interface) GetLocalAddress() string
GetLocalAddress retrieves the value of the leaf LocalAddress from the Bfd_Interface struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LocalAddress is set, it can safely use t.GetLocalAddress() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LocalAddress == nil' before retrieving the leaf's value.
func (*Bfd_Interface) GetMicroBfdSession ¶
func (t *Bfd_Interface) GetMicroBfdSession(MemberInterface string) *Bfd_Interface_MicroBfdSession
GetMicroBfdSession retrieves the value with the specified key from the MicroBfdSession map field of Bfd_Interface. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.
func (*Bfd_Interface) GetOrCreateInterfaceRef ¶
func (t *Bfd_Interface) GetOrCreateInterfaceRef() *Bfd_Interface_InterfaceRef
GetOrCreateInterfaceRef retrieves the value of the InterfaceRef field or returns the existing field if it already exists.
func (*Bfd_Interface) GetOrCreateMicroBfdSession ¶
func (t *Bfd_Interface) GetOrCreateMicroBfdSession(MemberInterface string) *Bfd_Interface_MicroBfdSession
GetOrCreateMicroBfdSession retrieves the value with the specified keys from the receiver Bfd_Interface. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*Bfd_Interface) GetOrCreateMicroBfdSessionMap ¶
func (t *Bfd_Interface) GetOrCreateMicroBfdSessionMap() map[string]*Bfd_Interface_MicroBfdSession
GetOrCreateMicroBfdSessionMap returns the list (map) from Bfd_Interface.
It initializes the field if not already initialized.
func (*Bfd_Interface) GetOrCreatePeer ¶
func (t *Bfd_Interface) GetOrCreatePeer(LocalDiscriminator string) *Bfd_Interface_Peer
GetOrCreatePeer retrieves the value with the specified keys from the receiver Bfd_Interface. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*Bfd_Interface) GetOrCreatePeerMap ¶
func (t *Bfd_Interface) GetOrCreatePeerMap() map[string]*Bfd_Interface_Peer
GetOrCreatePeerMap returns the list (map) from Bfd_Interface.
It initializes the field if not already initialized.
func (*Bfd_Interface) GetPeer ¶
func (t *Bfd_Interface) GetPeer(LocalDiscriminator string) *Bfd_Interface_Peer
GetPeer retrieves the value with the specified key from the Peer map field of Bfd_Interface. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.
func (*Bfd_Interface) GetRequiredMinimumReceive ¶
func (t *Bfd_Interface) GetRequiredMinimumReceive() uint32
GetRequiredMinimumReceive retrieves the value of the leaf RequiredMinimumReceive from the Bfd_Interface struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if RequiredMinimumReceive is set, it can safely use t.GetRequiredMinimumReceive() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.RequiredMinimumReceive == nil' before retrieving the leaf's value.
func (*Bfd_Interface) IsYANGGoStruct ¶
func (*Bfd_Interface) IsYANGGoStruct()
IsYANGGoStruct ensures that Bfd_Interface implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Bfd_Interface) NewMicroBfdSession ¶
func (t *Bfd_Interface) NewMicroBfdSession(MemberInterface string) (*Bfd_Interface_MicroBfdSession, error)
NewMicroBfdSession creates a new entry in the MicroBfdSession list of the Bfd_Interface struct. The keys of the list are populated from the input arguments.
func (*Bfd_Interface) NewPeer ¶
func (t *Bfd_Interface) NewPeer(LocalDiscriminator string) (*Bfd_Interface_Peer, error)
NewPeer creates a new entry in the Peer list of the Bfd_Interface struct. The keys of the list are populated from the input arguments.
func (*Bfd_Interface) Validate ¶
func (t *Bfd_Interface) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Bfd_Interface) ΛBelongingModule ¶
func (*Bfd_Interface) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Bfd_Interface.
func (*Bfd_Interface) ΛEnumTypeMap ¶
func (t *Bfd_Interface) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Bfd_Interface) ΛListKeyMap ¶
func (t *Bfd_Interface) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the Bfd_Interface struct, which is a YANG list entry.
func (*Bfd_Interface) ΛValidate ¶
func (t *Bfd_Interface) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Bfd_Interface_InterfaceRef ¶
type Bfd_Interface_InterfaceRef struct {
Interface *string `path:"state/interface" module:"openconfig-bfd/openconfig-bfd"`
Subinterface *uint32 `path:"state/subinterface" module:"openconfig-bfd/openconfig-bfd"`
}
Bfd_Interface_InterfaceRef represents the /openconfig-bfd/bfd/interfaces/interface/interface-ref YANG schema element.
func (*Bfd_Interface_InterfaceRef) GetInterface ¶
func (t *Bfd_Interface_InterfaceRef) GetInterface() string
GetInterface retrieves the value of the leaf Interface from the Bfd_Interface_InterfaceRef struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interface is set, it can safely use t.GetInterface() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interface == nil' before retrieving the leaf's value.
func (*Bfd_Interface_InterfaceRef) GetSubinterface ¶
func (t *Bfd_Interface_InterfaceRef) GetSubinterface() uint32
GetSubinterface retrieves the value of the leaf Subinterface from the Bfd_Interface_InterfaceRef struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Subinterface is set, it can safely use t.GetSubinterface() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Subinterface == nil' before retrieving the leaf's value.
func (*Bfd_Interface_InterfaceRef) IsYANGGoStruct ¶
func (*Bfd_Interface_InterfaceRef) IsYANGGoStruct()
IsYANGGoStruct ensures that Bfd_Interface_InterfaceRef implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Bfd_Interface_InterfaceRef) Validate ¶
func (t *Bfd_Interface_InterfaceRef) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Bfd_Interface_InterfaceRef) ΛBelongingModule ¶
func (*Bfd_Interface_InterfaceRef) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Bfd_Interface_InterfaceRef.
func (*Bfd_Interface_InterfaceRef) ΛEnumTypeMap ¶
func (t *Bfd_Interface_InterfaceRef) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Bfd_Interface_InterfaceRef) ΛValidate ¶
func (t *Bfd_Interface_InterfaceRef) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Bfd_Interface_MicroBfdSession ¶
type Bfd_Interface_MicroBfdSession struct {
Async *Bfd_Interface_MicroBfdSession_Async `path:"state/async" module:"openconfig-bfd/openconfig-bfd"`
DemandModeRequested *bool `path:"state/demand-mode-requested" module:"openconfig-bfd/openconfig-bfd"`
FailureTransitions *uint64 `path:"state/failure-transitions" module:"openconfig-bfd/openconfig-bfd"`
LastFailureTime *uint64 `path:"state/last-failure-time" module:"openconfig-bfd/openconfig-bfd"`
LocalAddress *string `path:"state/local-address" module:"openconfig-bfd/openconfig-bfd"`
LocalDiagnosticCode E_Bfd_BfdDiagnosticCode `path:"state/local-diagnostic-code" module:"openconfig-bfd/openconfig-bfd"`
LocalDiscriminator *string `path:"state/local-discriminator" module:"openconfig-bfd/openconfig-bfd"`
MemberInterface *string `path:"state/member-interface|member-interface" module:"openconfig-bfd/openconfig-bfd|openconfig-bfd"`
RemoteAddress *string `path:"state/remote-address" module:"openconfig-bfd/openconfig-bfd"`
RemoteAuthenticationEnabled *bool `path:"state/remote-authentication-enabled" module:"openconfig-bfd/openconfig-bfd"`
RemoteControlPlaneIndependent *bool `path:"state/remote-control-plane-independent" module:"openconfig-bfd/openconfig-bfd"`
RemoteDiagnosticCode E_Bfd_BfdDiagnosticCode `path:"state/remote-diagnostic-code" module:"openconfig-bfd/openconfig-bfd"`
RemoteDiscriminator *string `path:"state/remote-discriminator" module:"openconfig-bfd/openconfig-bfd"`
RemoteMinimumReceiveInterval *uint32 `path:"state/remote-minimum-receive-interval" module:"openconfig-bfd/openconfig-bfd"`
RemoteSessionState E_Bfd_BfdSessionState `path:"state/remote-session-state" module:"openconfig-bfd/openconfig-bfd"`
SessionState E_Bfd_BfdSessionState `path:"state/session-state" module:"openconfig-bfd/openconfig-bfd"`
UpTransitions *uint64 `path:"state/up-transitions" module:"openconfig-bfd/openconfig-bfd"`
}
Bfd_Interface_MicroBfdSession represents the /openconfig-bfd/bfd/interfaces/interface/micro-bfd-sessions/micro-bfd-session YANG schema element.
func (*Bfd_Interface_MicroBfdSession) GetAsync ¶
func (t *Bfd_Interface_MicroBfdSession) GetAsync() *Bfd_Interface_MicroBfdSession_Async
GetAsync returns the value of the Async struct pointer from Bfd_Interface_MicroBfdSession. If the receiver or the field Async is nil, nil is returned such that the Get* methods can be safely chained.
func (*Bfd_Interface_MicroBfdSession) GetDemandModeRequested ¶
func (t *Bfd_Interface_MicroBfdSession) GetDemandModeRequested() bool
GetDemandModeRequested retrieves the value of the leaf DemandModeRequested from the Bfd_Interface_MicroBfdSession struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if DemandModeRequested is set, it can safely use t.GetDemandModeRequested() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.DemandModeRequested == nil' before retrieving the leaf's value.
func (*Bfd_Interface_MicroBfdSession) GetFailureTransitions ¶
func (t *Bfd_Interface_MicroBfdSession) GetFailureTransitions() uint64
GetFailureTransitions retrieves the value of the leaf FailureTransitions from the Bfd_Interface_MicroBfdSession struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if FailureTransitions is set, it can safely use t.GetFailureTransitions() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.FailureTransitions == nil' before retrieving the leaf's value.
func (*Bfd_Interface_MicroBfdSession) GetLastFailureTime ¶
func (t *Bfd_Interface_MicroBfdSession) GetLastFailureTime() uint64
GetLastFailureTime retrieves the value of the leaf LastFailureTime from the Bfd_Interface_MicroBfdSession struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LastFailureTime is set, it can safely use t.GetLastFailureTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LastFailureTime == nil' before retrieving the leaf's value.
func (*Bfd_Interface_MicroBfdSession) GetLocalAddress ¶
func (t *Bfd_Interface_MicroBfdSession) GetLocalAddress() string
GetLocalAddress retrieves the value of the leaf LocalAddress from the Bfd_Interface_MicroBfdSession struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LocalAddress is set, it can safely use t.GetLocalAddress() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LocalAddress == nil' before retrieving the leaf's value.
func (*Bfd_Interface_MicroBfdSession) GetLocalDiagnosticCode ¶
func (t *Bfd_Interface_MicroBfdSession) GetLocalDiagnosticCode() E_Bfd_BfdDiagnosticCode
GetLocalDiagnosticCode retrieves the value of the leaf LocalDiagnosticCode from the Bfd_Interface_MicroBfdSession struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LocalDiagnosticCode is set, it can safely use t.GetLocalDiagnosticCode() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LocalDiagnosticCode == nil' before retrieving the leaf's value.
func (*Bfd_Interface_MicroBfdSession) GetLocalDiscriminator ¶
func (t *Bfd_Interface_MicroBfdSession) GetLocalDiscriminator() string
GetLocalDiscriminator retrieves the value of the leaf LocalDiscriminator from the Bfd_Interface_MicroBfdSession struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LocalDiscriminator is set, it can safely use t.GetLocalDiscriminator() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LocalDiscriminator == nil' before retrieving the leaf's value.
func (*Bfd_Interface_MicroBfdSession) GetMemberInterface ¶
func (t *Bfd_Interface_MicroBfdSession) GetMemberInterface() string
GetMemberInterface retrieves the value of the leaf MemberInterface from the Bfd_Interface_MicroBfdSession struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MemberInterface is set, it can safely use t.GetMemberInterface() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MemberInterface == nil' before retrieving the leaf's value.
func (*Bfd_Interface_MicroBfdSession) GetOrCreateAsync ¶
func (t *Bfd_Interface_MicroBfdSession) GetOrCreateAsync() *Bfd_Interface_MicroBfdSession_Async
GetOrCreateAsync retrieves the value of the Async field or returns the existing field if it already exists.
func (*Bfd_Interface_MicroBfdSession) GetRemoteAddress ¶
func (t *Bfd_Interface_MicroBfdSession) GetRemoteAddress() string
GetRemoteAddress retrieves the value of the leaf RemoteAddress from the Bfd_Interface_MicroBfdSession struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if RemoteAddress is set, it can safely use t.GetRemoteAddress() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.RemoteAddress == nil' before retrieving the leaf's value.
func (*Bfd_Interface_MicroBfdSession) GetRemoteAuthenticationEnabled ¶
func (t *Bfd_Interface_MicroBfdSession) GetRemoteAuthenticationEnabled() bool
GetRemoteAuthenticationEnabled retrieves the value of the leaf RemoteAuthenticationEnabled from the Bfd_Interface_MicroBfdSession struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if RemoteAuthenticationEnabled is set, it can safely use t.GetRemoteAuthenticationEnabled() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.RemoteAuthenticationEnabled == nil' before retrieving the leaf's value.
func (*Bfd_Interface_MicroBfdSession) GetRemoteControlPlaneIndependent ¶
func (t *Bfd_Interface_MicroBfdSession) GetRemoteControlPlaneIndependent() bool
GetRemoteControlPlaneIndependent retrieves the value of the leaf RemoteControlPlaneIndependent from the Bfd_Interface_MicroBfdSession struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if RemoteControlPlaneIndependent is set, it can safely use t.GetRemoteControlPlaneIndependent() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.RemoteControlPlaneIndependent == nil' before retrieving the leaf's value.
func (*Bfd_Interface_MicroBfdSession) GetRemoteDiagnosticCode ¶
func (t *Bfd_Interface_MicroBfdSession) GetRemoteDiagnosticCode() E_Bfd_BfdDiagnosticCode
GetRemoteDiagnosticCode retrieves the value of the leaf RemoteDiagnosticCode from the Bfd_Interface_MicroBfdSession struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if RemoteDiagnosticCode is set, it can safely use t.GetRemoteDiagnosticCode() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.RemoteDiagnosticCode == nil' before retrieving the leaf's value.
func (*Bfd_Interface_MicroBfdSession) GetRemoteDiscriminator ¶
func (t *Bfd_Interface_MicroBfdSession) GetRemoteDiscriminator() string
GetRemoteDiscriminator retrieves the value of the leaf RemoteDiscriminator from the Bfd_Interface_MicroBfdSession struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if RemoteDiscriminator is set, it can safely use t.GetRemoteDiscriminator() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.RemoteDiscriminator == nil' before retrieving the leaf's value.
func (*Bfd_Interface_MicroBfdSession) GetRemoteMinimumReceiveInterval ¶
func (t *Bfd_Interface_MicroBfdSession) GetRemoteMinimumReceiveInterval() uint32
GetRemoteMinimumReceiveInterval retrieves the value of the leaf RemoteMinimumReceiveInterval from the Bfd_Interface_MicroBfdSession struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if RemoteMinimumReceiveInterval is set, it can safely use t.GetRemoteMinimumReceiveInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.RemoteMinimumReceiveInterval == nil' before retrieving the leaf's value.
func (*Bfd_Interface_MicroBfdSession) GetRemoteSessionState ¶
func (t *Bfd_Interface_MicroBfdSession) GetRemoteSessionState() E_Bfd_BfdSessionState
GetRemoteSessionState retrieves the value of the leaf RemoteSessionState from the Bfd_Interface_MicroBfdSession struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if RemoteSessionState is set, it can safely use t.GetRemoteSessionState() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.RemoteSessionState == nil' before retrieving the leaf's value.
func (*Bfd_Interface_MicroBfdSession) GetSessionState ¶
func (t *Bfd_Interface_MicroBfdSession) GetSessionState() E_Bfd_BfdSessionState
GetSessionState retrieves the value of the leaf SessionState from the Bfd_Interface_MicroBfdSession struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SessionState is set, it can safely use t.GetSessionState() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SessionState == nil' before retrieving the leaf's value.
func (*Bfd_Interface_MicroBfdSession) GetUpTransitions ¶
func (t *Bfd_Interface_MicroBfdSession) GetUpTransitions() uint64
GetUpTransitions retrieves the value of the leaf UpTransitions from the Bfd_Interface_MicroBfdSession struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if UpTransitions is set, it can safely use t.GetUpTransitions() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.UpTransitions == nil' before retrieving the leaf's value.
func (*Bfd_Interface_MicroBfdSession) IsYANGGoStruct ¶
func (*Bfd_Interface_MicroBfdSession) IsYANGGoStruct()
IsYANGGoStruct ensures that Bfd_Interface_MicroBfdSession implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Bfd_Interface_MicroBfdSession) Validate ¶
func (t *Bfd_Interface_MicroBfdSession) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Bfd_Interface_MicroBfdSession) ΛBelongingModule ¶
func (*Bfd_Interface_MicroBfdSession) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Bfd_Interface_MicroBfdSession.
func (*Bfd_Interface_MicroBfdSession) ΛEnumTypeMap ¶
func (t *Bfd_Interface_MicroBfdSession) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Bfd_Interface_MicroBfdSession) ΛListKeyMap ¶
func (t *Bfd_Interface_MicroBfdSession) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the Bfd_Interface_MicroBfdSession struct, which is a YANG list entry.
func (*Bfd_Interface_MicroBfdSession) ΛValidate ¶
func (t *Bfd_Interface_MicroBfdSession) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Bfd_Interface_MicroBfdSession_Async ¶
type Bfd_Interface_MicroBfdSession_Async struct {
LastPacketReceived *uint64 `path:"last-packet-received" module:"openconfig-bfd"`
LastPacketTransmitted *uint64 `path:"last-packet-transmitted" module:"openconfig-bfd"`
ReceivedPackets *uint64 `path:"received-packets" module:"openconfig-bfd"`
TransmittedPackets *uint64 `path:"transmitted-packets" module:"openconfig-bfd"`
UpTransitions *uint64 `path:"up-transitions" module:"openconfig-bfd"`
}
Bfd_Interface_MicroBfdSession_Async represents the /openconfig-bfd/bfd/interfaces/interface/micro-bfd-sessions/micro-bfd-session/state/async YANG schema element.
func (*Bfd_Interface_MicroBfdSession_Async) GetLastPacketReceived ¶
func (t *Bfd_Interface_MicroBfdSession_Async) GetLastPacketReceived() uint64
GetLastPacketReceived retrieves the value of the leaf LastPacketReceived from the Bfd_Interface_MicroBfdSession_Async struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LastPacketReceived is set, it can safely use t.GetLastPacketReceived() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LastPacketReceived == nil' before retrieving the leaf's value.
func (*Bfd_Interface_MicroBfdSession_Async) GetLastPacketTransmitted ¶
func (t *Bfd_Interface_MicroBfdSession_Async) GetLastPacketTransmitted() uint64
GetLastPacketTransmitted retrieves the value of the leaf LastPacketTransmitted from the Bfd_Interface_MicroBfdSession_Async struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LastPacketTransmitted is set, it can safely use t.GetLastPacketTransmitted() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LastPacketTransmitted == nil' before retrieving the leaf's value.
func (*Bfd_Interface_MicroBfdSession_Async) GetReceivedPackets ¶
func (t *Bfd_Interface_MicroBfdSession_Async) GetReceivedPackets() uint64
GetReceivedPackets retrieves the value of the leaf ReceivedPackets from the Bfd_Interface_MicroBfdSession_Async struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ReceivedPackets is set, it can safely use t.GetReceivedPackets() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ReceivedPackets == nil' before retrieving the leaf's value.
func (*Bfd_Interface_MicroBfdSession_Async) GetTransmittedPackets ¶
func (t *Bfd_Interface_MicroBfdSession_Async) GetTransmittedPackets() uint64
GetTransmittedPackets retrieves the value of the leaf TransmittedPackets from the Bfd_Interface_MicroBfdSession_Async struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TransmittedPackets is set, it can safely use t.GetTransmittedPackets() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TransmittedPackets == nil' before retrieving the leaf's value.
func (*Bfd_Interface_MicroBfdSession_Async) GetUpTransitions ¶
func (t *Bfd_Interface_MicroBfdSession_Async) GetUpTransitions() uint64
GetUpTransitions retrieves the value of the leaf UpTransitions from the Bfd_Interface_MicroBfdSession_Async struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if UpTransitions is set, it can safely use t.GetUpTransitions() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.UpTransitions == nil' before retrieving the leaf's value.
func (*Bfd_Interface_MicroBfdSession_Async) IsYANGGoStruct ¶
func (*Bfd_Interface_MicroBfdSession_Async) IsYANGGoStruct()
IsYANGGoStruct ensures that Bfd_Interface_MicroBfdSession_Async implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Bfd_Interface_MicroBfdSession_Async) Validate ¶
func (t *Bfd_Interface_MicroBfdSession_Async) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Bfd_Interface_MicroBfdSession_Async) ΛBelongingModule ¶
func (*Bfd_Interface_MicroBfdSession_Async) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Bfd_Interface_MicroBfdSession_Async.
func (*Bfd_Interface_MicroBfdSession_Async) ΛEnumTypeMap ¶
func (t *Bfd_Interface_MicroBfdSession_Async) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Bfd_Interface_MicroBfdSession_Async) ΛValidate ¶
func (t *Bfd_Interface_MicroBfdSession_Async) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Bfd_Interface_Peer ¶
type Bfd_Interface_Peer struct {
Async *Bfd_Interface_Peer_Async `path:"state/async" module:"openconfig-bfd/openconfig-bfd"`
DemandModeRequested *bool `path:"state/demand-mode-requested" module:"openconfig-bfd/openconfig-bfd"`
Echo *Bfd_Interface_Peer_Echo `path:"state/echo" module:"openconfig-bfd/openconfig-bfd"`
FailureTransitions *uint64 `path:"state/failure-transitions" module:"openconfig-bfd/openconfig-bfd"`
LastFailureTime *uint64 `path:"state/last-failure-time" module:"openconfig-bfd/openconfig-bfd"`
LocalAddress *string `path:"state/local-address" module:"openconfig-bfd/openconfig-bfd"`
LocalDiagnosticCode E_Bfd_BfdDiagnosticCode `path:"state/local-diagnostic-code" module:"openconfig-bfd/openconfig-bfd"`
LocalDiscriminator *string `path:"state/local-discriminator|local-discriminator" module:"openconfig-bfd/openconfig-bfd|openconfig-bfd"`
RemoteAddress *string `path:"state/remote-address" module:"openconfig-bfd/openconfig-bfd"`
RemoteAuthenticationEnabled *bool `path:"state/remote-authentication-enabled" module:"openconfig-bfd/openconfig-bfd"`
RemoteControlPlaneIndependent *bool `path:"state/remote-control-plane-independent" module:"openconfig-bfd/openconfig-bfd"`
RemoteDiagnosticCode E_Bfd_BfdDiagnosticCode `path:"state/remote-diagnostic-code" module:"openconfig-bfd/openconfig-bfd"`
RemoteDiscriminator *string `path:"state/remote-discriminator" module:"openconfig-bfd/openconfig-bfd"`
RemoteMinimumReceiveInterval *uint32 `path:"state/remote-minimum-receive-interval" module:"openconfig-bfd/openconfig-bfd"`
RemoteSessionState E_Bfd_BfdSessionState `path:"state/remote-session-state" module:"openconfig-bfd/openconfig-bfd"`
SessionState E_Bfd_BfdSessionState `path:"state/session-state" module:"openconfig-bfd/openconfig-bfd"`
SubscribedProtocols []E_PolicyTypes_INSTALL_PROTOCOL_TYPE `path:"state/subscribed-protocols" module:"openconfig-bfd/openconfig-bfd"`
UpTransitions *uint64 `path:"state/up-transitions" module:"openconfig-bfd/openconfig-bfd"`
}
Bfd_Interface_Peer represents the /openconfig-bfd/bfd/interfaces/interface/peers/peer YANG schema element.
func (*Bfd_Interface_Peer) GetAsync ¶
func (t *Bfd_Interface_Peer) GetAsync() *Bfd_Interface_Peer_Async
GetAsync returns the value of the Async struct pointer from Bfd_Interface_Peer. If the receiver or the field Async is nil, nil is returned such that the Get* methods can be safely chained.
func (*Bfd_Interface_Peer) GetDemandModeRequested ¶
func (t *Bfd_Interface_Peer) GetDemandModeRequested() bool
GetDemandModeRequested retrieves the value of the leaf DemandModeRequested from the Bfd_Interface_Peer struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if DemandModeRequested is set, it can safely use t.GetDemandModeRequested() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.DemandModeRequested == nil' before retrieving the leaf's value.
func (*Bfd_Interface_Peer) GetEcho ¶
func (t *Bfd_Interface_Peer) GetEcho() *Bfd_Interface_Peer_Echo
GetEcho returns the value of the Echo struct pointer from Bfd_Interface_Peer. If the receiver or the field Echo is nil, nil is returned such that the Get* methods can be safely chained.
func (*Bfd_Interface_Peer) GetFailureTransitions ¶
func (t *Bfd_Interface_Peer) GetFailureTransitions() uint64
GetFailureTransitions retrieves the value of the leaf FailureTransitions from the Bfd_Interface_Peer struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if FailureTransitions is set, it can safely use t.GetFailureTransitions() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.FailureTransitions == nil' before retrieving the leaf's value.
func (*Bfd_Interface_Peer) GetLastFailureTime ¶
func (t *Bfd_Interface_Peer) GetLastFailureTime() uint64
GetLastFailureTime retrieves the value of the leaf LastFailureTime from the Bfd_Interface_Peer struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LastFailureTime is set, it can safely use t.GetLastFailureTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LastFailureTime == nil' before retrieving the leaf's value.
func (*Bfd_Interface_Peer) GetLocalAddress ¶
func (t *Bfd_Interface_Peer) GetLocalAddress() string
GetLocalAddress retrieves the value of the leaf LocalAddress from the Bfd_Interface_Peer struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LocalAddress is set, it can safely use t.GetLocalAddress() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LocalAddress == nil' before retrieving the leaf's value.
func (*Bfd_Interface_Peer) GetLocalDiagnosticCode ¶
func (t *Bfd_Interface_Peer) GetLocalDiagnosticCode() E_Bfd_BfdDiagnosticCode
GetLocalDiagnosticCode retrieves the value of the leaf LocalDiagnosticCode from the Bfd_Interface_Peer struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LocalDiagnosticCode is set, it can safely use t.GetLocalDiagnosticCode() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LocalDiagnosticCode == nil' before retrieving the leaf's value.
func (*Bfd_Interface_Peer) GetLocalDiscriminator ¶
func (t *Bfd_Interface_Peer) GetLocalDiscriminator() string
GetLocalDiscriminator retrieves the value of the leaf LocalDiscriminator from the Bfd_Interface_Peer struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LocalDiscriminator is set, it can safely use t.GetLocalDiscriminator() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LocalDiscriminator == nil' before retrieving the leaf's value.
func (*Bfd_Interface_Peer) GetOrCreateAsync ¶
func (t *Bfd_Interface_Peer) GetOrCreateAsync() *Bfd_Interface_Peer_Async
GetOrCreateAsync retrieves the value of the Async field or returns the existing field if it already exists.
func (*Bfd_Interface_Peer) GetOrCreateEcho ¶
func (t *Bfd_Interface_Peer) GetOrCreateEcho() *Bfd_Interface_Peer_Echo
GetOrCreateEcho retrieves the value of the Echo field or returns the existing field if it already exists.
func (*Bfd_Interface_Peer) GetRemoteAddress ¶
func (t *Bfd_Interface_Peer) GetRemoteAddress() string
GetRemoteAddress retrieves the value of the leaf RemoteAddress from the Bfd_Interface_Peer struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if RemoteAddress is set, it can safely use t.GetRemoteAddress() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.RemoteAddress == nil' before retrieving the leaf's value.
func (*Bfd_Interface_Peer) GetRemoteAuthenticationEnabled ¶
func (t *Bfd_Interface_Peer) GetRemoteAuthenticationEnabled() bool
GetRemoteAuthenticationEnabled retrieves the value of the leaf RemoteAuthenticationEnabled from the Bfd_Interface_Peer struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if RemoteAuthenticationEnabled is set, it can safely use t.GetRemoteAuthenticationEnabled() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.RemoteAuthenticationEnabled == nil' before retrieving the leaf's value.
func (*Bfd_Interface_Peer) GetRemoteControlPlaneIndependent ¶
func (t *Bfd_Interface_Peer) GetRemoteControlPlaneIndependent() bool
GetRemoteControlPlaneIndependent retrieves the value of the leaf RemoteControlPlaneIndependent from the Bfd_Interface_Peer struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if RemoteControlPlaneIndependent is set, it can safely use t.GetRemoteControlPlaneIndependent() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.RemoteControlPlaneIndependent == nil' before retrieving the leaf's value.
func (*Bfd_Interface_Peer) GetRemoteDiagnosticCode ¶
func (t *Bfd_Interface_Peer) GetRemoteDiagnosticCode() E_Bfd_BfdDiagnosticCode
GetRemoteDiagnosticCode retrieves the value of the leaf RemoteDiagnosticCode from the Bfd_Interface_Peer struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if RemoteDiagnosticCode is set, it can safely use t.GetRemoteDiagnosticCode() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.RemoteDiagnosticCode == nil' before retrieving the leaf's value.
func (*Bfd_Interface_Peer) GetRemoteDiscriminator ¶
func (t *Bfd_Interface_Peer) GetRemoteDiscriminator() string
GetRemoteDiscriminator retrieves the value of the leaf RemoteDiscriminator from the Bfd_Interface_Peer struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if RemoteDiscriminator is set, it can safely use t.GetRemoteDiscriminator() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.RemoteDiscriminator == nil' before retrieving the leaf's value.
func (*Bfd_Interface_Peer) GetRemoteMinimumReceiveInterval ¶
func (t *Bfd_Interface_Peer) GetRemoteMinimumReceiveInterval() uint32
GetRemoteMinimumReceiveInterval retrieves the value of the leaf RemoteMinimumReceiveInterval from the Bfd_Interface_Peer struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if RemoteMinimumReceiveInterval is set, it can safely use t.GetRemoteMinimumReceiveInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.RemoteMinimumReceiveInterval == nil' before retrieving the leaf's value.
func (*Bfd_Interface_Peer) GetRemoteSessionState ¶
func (t *Bfd_Interface_Peer) GetRemoteSessionState() E_Bfd_BfdSessionState
GetRemoteSessionState retrieves the value of the leaf RemoteSessionState from the Bfd_Interface_Peer struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if RemoteSessionState is set, it can safely use t.GetRemoteSessionState() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.RemoteSessionState == nil' before retrieving the leaf's value.
func (*Bfd_Interface_Peer) GetSessionState ¶
func (t *Bfd_Interface_Peer) GetSessionState() E_Bfd_BfdSessionState
GetSessionState retrieves the value of the leaf SessionState from the Bfd_Interface_Peer struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SessionState is set, it can safely use t.GetSessionState() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SessionState == nil' before retrieving the leaf's value.
func (*Bfd_Interface_Peer) GetSubscribedProtocols ¶
func (t *Bfd_Interface_Peer) GetSubscribedProtocols() []E_PolicyTypes_INSTALL_PROTOCOL_TYPE
GetSubscribedProtocols retrieves the value of the leaf SubscribedProtocols from the Bfd_Interface_Peer struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SubscribedProtocols is set, it can safely use t.GetSubscribedProtocols() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SubscribedProtocols == nil' before retrieving the leaf's value.
func (*Bfd_Interface_Peer) GetUpTransitions ¶
func (t *Bfd_Interface_Peer) GetUpTransitions() uint64
GetUpTransitions retrieves the value of the leaf UpTransitions from the Bfd_Interface_Peer struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if UpTransitions is set, it can safely use t.GetUpTransitions() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.UpTransitions == nil' before retrieving the leaf's value.
func (*Bfd_Interface_Peer) IsYANGGoStruct ¶
func (*Bfd_Interface_Peer) IsYANGGoStruct()
IsYANGGoStruct ensures that Bfd_Interface_Peer implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Bfd_Interface_Peer) Validate ¶
func (t *Bfd_Interface_Peer) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Bfd_Interface_Peer) ΛBelongingModule ¶
func (*Bfd_Interface_Peer) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Bfd_Interface_Peer.
func (*Bfd_Interface_Peer) ΛEnumTypeMap ¶
func (t *Bfd_Interface_Peer) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Bfd_Interface_Peer) ΛListKeyMap ¶
func (t *Bfd_Interface_Peer) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the Bfd_Interface_Peer struct, which is a YANG list entry.
func (*Bfd_Interface_Peer) ΛValidate ¶
func (t *Bfd_Interface_Peer) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Bfd_Interface_Peer_Async ¶
type Bfd_Interface_Peer_Async struct {
LastPacketReceived *uint64 `path:"last-packet-received" module:"openconfig-bfd"`
LastPacketTransmitted *uint64 `path:"last-packet-transmitted" module:"openconfig-bfd"`
ReceivedPackets *uint64 `path:"received-packets" module:"openconfig-bfd"`
TransmittedPackets *uint64 `path:"transmitted-packets" module:"openconfig-bfd"`
UpTransitions *uint64 `path:"up-transitions" module:"openconfig-bfd"`
}
Bfd_Interface_Peer_Async represents the /openconfig-bfd/bfd/interfaces/interface/peers/peer/state/async YANG schema element.
func (*Bfd_Interface_Peer_Async) GetLastPacketReceived ¶
func (t *Bfd_Interface_Peer_Async) GetLastPacketReceived() uint64
GetLastPacketReceived retrieves the value of the leaf LastPacketReceived from the Bfd_Interface_Peer_Async struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LastPacketReceived is set, it can safely use t.GetLastPacketReceived() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LastPacketReceived == nil' before retrieving the leaf's value.
func (*Bfd_Interface_Peer_Async) GetLastPacketTransmitted ¶
func (t *Bfd_Interface_Peer_Async) GetLastPacketTransmitted() uint64
GetLastPacketTransmitted retrieves the value of the leaf LastPacketTransmitted from the Bfd_Interface_Peer_Async struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LastPacketTransmitted is set, it can safely use t.GetLastPacketTransmitted() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LastPacketTransmitted == nil' before retrieving the leaf's value.
func (*Bfd_Interface_Peer_Async) GetReceivedPackets ¶
func (t *Bfd_Interface_Peer_Async) GetReceivedPackets() uint64
GetReceivedPackets retrieves the value of the leaf ReceivedPackets from the Bfd_Interface_Peer_Async struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ReceivedPackets is set, it can safely use t.GetReceivedPackets() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ReceivedPackets == nil' before retrieving the leaf's value.
func (*Bfd_Interface_Peer_Async) GetTransmittedPackets ¶
func (t *Bfd_Interface_Peer_Async) GetTransmittedPackets() uint64
GetTransmittedPackets retrieves the value of the leaf TransmittedPackets from the Bfd_Interface_Peer_Async struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TransmittedPackets is set, it can safely use t.GetTransmittedPackets() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TransmittedPackets == nil' before retrieving the leaf's value.
func (*Bfd_Interface_Peer_Async) GetUpTransitions ¶
func (t *Bfd_Interface_Peer_Async) GetUpTransitions() uint64
GetUpTransitions retrieves the value of the leaf UpTransitions from the Bfd_Interface_Peer_Async struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if UpTransitions is set, it can safely use t.GetUpTransitions() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.UpTransitions == nil' before retrieving the leaf's value.
func (*Bfd_Interface_Peer_Async) IsYANGGoStruct ¶
func (*Bfd_Interface_Peer_Async) IsYANGGoStruct()
IsYANGGoStruct ensures that Bfd_Interface_Peer_Async implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Bfd_Interface_Peer_Async) Validate ¶
func (t *Bfd_Interface_Peer_Async) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Bfd_Interface_Peer_Async) ΛBelongingModule ¶
func (*Bfd_Interface_Peer_Async) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Bfd_Interface_Peer_Async.
func (*Bfd_Interface_Peer_Async) ΛEnumTypeMap ¶
func (t *Bfd_Interface_Peer_Async) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Bfd_Interface_Peer_Async) ΛValidate ¶
func (t *Bfd_Interface_Peer_Async) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Bfd_Interface_Peer_Echo ¶
type Bfd_Interface_Peer_Echo struct {
Active *bool `path:"active" module:"openconfig-bfd"`
LastPacketReceived *uint64 `path:"last-packet-received" module:"openconfig-bfd"`
LastPacketTransmitted *uint64 `path:"last-packet-transmitted" module:"openconfig-bfd"`
ReceivedPackets *uint64 `path:"received-packets" module:"openconfig-bfd"`
TransmittedPackets *uint64 `path:"transmitted-packets" module:"openconfig-bfd"`
UpTransitions *uint64 `path:"up-transitions" module:"openconfig-bfd"`
}
Bfd_Interface_Peer_Echo represents the /openconfig-bfd/bfd/interfaces/interface/peers/peer/state/echo YANG schema element.
func (*Bfd_Interface_Peer_Echo) GetActive ¶
func (t *Bfd_Interface_Peer_Echo) GetActive() bool
GetActive retrieves the value of the leaf Active from the Bfd_Interface_Peer_Echo struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Active is set, it can safely use t.GetActive() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Active == nil' before retrieving the leaf's value.
func (*Bfd_Interface_Peer_Echo) GetLastPacketReceived ¶
func (t *Bfd_Interface_Peer_Echo) GetLastPacketReceived() uint64
GetLastPacketReceived retrieves the value of the leaf LastPacketReceived from the Bfd_Interface_Peer_Echo struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LastPacketReceived is set, it can safely use t.GetLastPacketReceived() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LastPacketReceived == nil' before retrieving the leaf's value.
func (*Bfd_Interface_Peer_Echo) GetLastPacketTransmitted ¶
func (t *Bfd_Interface_Peer_Echo) GetLastPacketTransmitted() uint64
GetLastPacketTransmitted retrieves the value of the leaf LastPacketTransmitted from the Bfd_Interface_Peer_Echo struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LastPacketTransmitted is set, it can safely use t.GetLastPacketTransmitted() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LastPacketTransmitted == nil' before retrieving the leaf's value.
func (*Bfd_Interface_Peer_Echo) GetReceivedPackets ¶
func (t *Bfd_Interface_Peer_Echo) GetReceivedPackets() uint64
GetReceivedPackets retrieves the value of the leaf ReceivedPackets from the Bfd_Interface_Peer_Echo struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ReceivedPackets is set, it can safely use t.GetReceivedPackets() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ReceivedPackets == nil' before retrieving the leaf's value.
func (*Bfd_Interface_Peer_Echo) GetTransmittedPackets ¶
func (t *Bfd_Interface_Peer_Echo) GetTransmittedPackets() uint64
GetTransmittedPackets retrieves the value of the leaf TransmittedPackets from the Bfd_Interface_Peer_Echo struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TransmittedPackets is set, it can safely use t.GetTransmittedPackets() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TransmittedPackets == nil' before retrieving the leaf's value.
func (*Bfd_Interface_Peer_Echo) GetUpTransitions ¶
func (t *Bfd_Interface_Peer_Echo) GetUpTransitions() uint64
GetUpTransitions retrieves the value of the leaf UpTransitions from the Bfd_Interface_Peer_Echo struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if UpTransitions is set, it can safely use t.GetUpTransitions() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.UpTransitions == nil' before retrieving the leaf's value.
func (*Bfd_Interface_Peer_Echo) IsYANGGoStruct ¶
func (*Bfd_Interface_Peer_Echo) IsYANGGoStruct()
IsYANGGoStruct ensures that Bfd_Interface_Peer_Echo implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Bfd_Interface_Peer_Echo) Validate ¶
func (t *Bfd_Interface_Peer_Echo) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Bfd_Interface_Peer_Echo) ΛBelongingModule ¶
func (*Bfd_Interface_Peer_Echo) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Bfd_Interface_Peer_Echo.
func (*Bfd_Interface_Peer_Echo) ΛEnumTypeMap ¶
func (t *Bfd_Interface_Peer_Echo) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Bfd_Interface_Peer_Echo) ΛValidate ¶
func (t *Bfd_Interface_Peer_Echo) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Binary ¶
type Binary []byte
Binary is a type that is used for fields that have a YANG type of binary. It is used such that binary fields can be distinguished from leaf-lists of uint8s (which are mapped to []uint8, equivalent to []byte in reflection).
type DefinedSets ¶
type DefinedSets struct {
Ipv4PrefixSet map[string]*DefinedSets_Ipv4PrefixSet `path:"ipv4-prefix-sets/ipv4-prefix-set" module:"openconfig-defined-sets/openconfig-defined-sets"`
Ipv6PrefixSet map[string]*DefinedSets_Ipv6PrefixSet `path:"ipv6-prefix-sets/ipv6-prefix-set" module:"openconfig-defined-sets/openconfig-defined-sets"`
PortSet map[string]*DefinedSets_PortSet `path:"port-sets/port-set" module:"openconfig-defined-sets/openconfig-defined-sets"`
}
DefinedSets represents the /openconfig-defined-sets/defined-sets YANG schema element.
func (*DefinedSets) AppendIpv4PrefixSet ¶
func (t *DefinedSets) AppendIpv4PrefixSet(v *DefinedSets_Ipv4PrefixSet) error
AppendIpv4PrefixSet appends the supplied DefinedSets_Ipv4PrefixSet struct to the list Ipv4PrefixSet of DefinedSets. If the key value(s) specified in the supplied DefinedSets_Ipv4PrefixSet already exist in the list, an error is returned.
func (*DefinedSets) AppendIpv6PrefixSet ¶
func (t *DefinedSets) AppendIpv6PrefixSet(v *DefinedSets_Ipv6PrefixSet) error
AppendIpv6PrefixSet appends the supplied DefinedSets_Ipv6PrefixSet struct to the list Ipv6PrefixSet of DefinedSets. If the key value(s) specified in the supplied DefinedSets_Ipv6PrefixSet already exist in the list, an error is returned.
func (*DefinedSets) AppendPortSet ¶
func (t *DefinedSets) AppendPortSet(v *DefinedSets_PortSet) error
AppendPortSet appends the supplied DefinedSets_PortSet struct to the list PortSet of DefinedSets. If the key value(s) specified in the supplied DefinedSets_PortSet already exist in the list, an error is returned.
func (*DefinedSets) DeleteIpv4PrefixSet ¶
func (t *DefinedSets) DeleteIpv4PrefixSet(Name string)
DeleteIpv4PrefixSet deletes the value with the specified keys from the receiver DefinedSets. If there is no such element, the function is a no-op.
func (*DefinedSets) DeleteIpv6PrefixSet ¶
func (t *DefinedSets) DeleteIpv6PrefixSet(Name string)
DeleteIpv6PrefixSet deletes the value with the specified keys from the receiver DefinedSets. If there is no such element, the function is a no-op.
func (*DefinedSets) DeletePortSet ¶
func (t *DefinedSets) DeletePortSet(Name string)
DeletePortSet deletes the value with the specified keys from the receiver DefinedSets. If there is no such element, the function is a no-op.
func (*DefinedSets) GetIpv4PrefixSet ¶
func (t *DefinedSets) GetIpv4PrefixSet(Name string) *DefinedSets_Ipv4PrefixSet
GetIpv4PrefixSet retrieves the value with the specified key from the Ipv4PrefixSet map field of DefinedSets. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.
func (*DefinedSets) GetIpv6PrefixSet ¶
func (t *DefinedSets) GetIpv6PrefixSet(Name string) *DefinedSets_Ipv6PrefixSet
GetIpv6PrefixSet retrieves the value with the specified key from the Ipv6PrefixSet map field of DefinedSets. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.
func (*DefinedSets) GetOrCreateIpv4PrefixSet ¶
func (t *DefinedSets) GetOrCreateIpv4PrefixSet(Name string) *DefinedSets_Ipv4PrefixSet
GetOrCreateIpv4PrefixSet retrieves the value with the specified keys from the receiver DefinedSets. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*DefinedSets) GetOrCreateIpv4PrefixSetMap ¶
func (t *DefinedSets) GetOrCreateIpv4PrefixSetMap() map[string]*DefinedSets_Ipv4PrefixSet
GetOrCreateIpv4PrefixSetMap returns the list (map) from DefinedSets.
It initializes the field if not already initialized.
func (*DefinedSets) GetOrCreateIpv6PrefixSet ¶
func (t *DefinedSets) GetOrCreateIpv6PrefixSet(Name string) *DefinedSets_Ipv6PrefixSet
GetOrCreateIpv6PrefixSet retrieves the value with the specified keys from the receiver DefinedSets. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*DefinedSets) GetOrCreateIpv6PrefixSetMap ¶
func (t *DefinedSets) GetOrCreateIpv6PrefixSetMap() map[string]*DefinedSets_Ipv6PrefixSet
GetOrCreateIpv6PrefixSetMap returns the list (map) from DefinedSets.
It initializes the field if not already initialized.
func (*DefinedSets) GetOrCreatePortSet ¶
func (t *DefinedSets) GetOrCreatePortSet(Name string) *DefinedSets_PortSet
GetOrCreatePortSet retrieves the value with the specified keys from the receiver DefinedSets. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*DefinedSets) GetOrCreatePortSetMap ¶
func (t *DefinedSets) GetOrCreatePortSetMap() map[string]*DefinedSets_PortSet
GetOrCreatePortSetMap returns the list (map) from DefinedSets.
It initializes the field if not already initialized.
func (*DefinedSets) GetPortSet ¶
func (t *DefinedSets) GetPortSet(Name string) *DefinedSets_PortSet
GetPortSet retrieves the value with the specified key from the PortSet map field of DefinedSets. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.
func (*DefinedSets) IsYANGGoStruct ¶
func (*DefinedSets) IsYANGGoStruct()
IsYANGGoStruct ensures that DefinedSets implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*DefinedSets) NewIpv4PrefixSet ¶
func (t *DefinedSets) NewIpv4PrefixSet(Name string) (*DefinedSets_Ipv4PrefixSet, error)
NewIpv4PrefixSet creates a new entry in the Ipv4PrefixSet list of the DefinedSets struct. The keys of the list are populated from the input arguments.
func (*DefinedSets) NewIpv6PrefixSet ¶
func (t *DefinedSets) NewIpv6PrefixSet(Name string) (*DefinedSets_Ipv6PrefixSet, error)
NewIpv6PrefixSet creates a new entry in the Ipv6PrefixSet list of the DefinedSets struct. The keys of the list are populated from the input arguments.
func (*DefinedSets) NewPortSet ¶
func (t *DefinedSets) NewPortSet(Name string) (*DefinedSets_PortSet, error)
NewPortSet creates a new entry in the PortSet list of the DefinedSets struct. The keys of the list are populated from the input arguments.
func (*DefinedSets) Validate ¶
func (t *DefinedSets) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*DefinedSets) ΛBelongingModule ¶
func (*DefinedSets) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of DefinedSets.
func (*DefinedSets) ΛEnumTypeMap ¶
func (t *DefinedSets) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*DefinedSets) ΛValidate ¶
func (t *DefinedSets) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type DefinedSets_Ipv4PrefixSet ¶
type DefinedSets_Ipv4PrefixSet struct {
Description *string `path:"state/description" module:"openconfig-defined-sets/openconfig-defined-sets"`
Name *string `path:"state/name|name" module:"openconfig-defined-sets/openconfig-defined-sets|openconfig-defined-sets"`
Prefix []string `path:"state/prefix" module:"openconfig-defined-sets/openconfig-defined-sets"`
}
DefinedSets_Ipv4PrefixSet represents the /openconfig-defined-sets/defined-sets/ipv4-prefix-sets/ipv4-prefix-set YANG schema element.
func (*DefinedSets_Ipv4PrefixSet) GetDescription ¶
func (t *DefinedSets_Ipv4PrefixSet) GetDescription() string
GetDescription retrieves the value of the leaf Description from the DefinedSets_Ipv4PrefixSet struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Description is set, it can safely use t.GetDescription() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Description == nil' before retrieving the leaf's value.
func (*DefinedSets_Ipv4PrefixSet) GetName ¶
func (t *DefinedSets_Ipv4PrefixSet) GetName() string
GetName retrieves the value of the leaf Name from the DefinedSets_Ipv4PrefixSet struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Name is set, it can safely use t.GetName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Name == nil' before retrieving the leaf's value.
func (*DefinedSets_Ipv4PrefixSet) GetPrefix ¶
func (t *DefinedSets_Ipv4PrefixSet) GetPrefix() []string
GetPrefix retrieves the value of the leaf Prefix from the DefinedSets_Ipv4PrefixSet struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Prefix is set, it can safely use t.GetPrefix() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Prefix == nil' before retrieving the leaf's value.
func (*DefinedSets_Ipv4PrefixSet) IsYANGGoStruct ¶
func (*DefinedSets_Ipv4PrefixSet) IsYANGGoStruct()
IsYANGGoStruct ensures that DefinedSets_Ipv4PrefixSet implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*DefinedSets_Ipv4PrefixSet) Validate ¶
func (t *DefinedSets_Ipv4PrefixSet) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*DefinedSets_Ipv4PrefixSet) ΛBelongingModule ¶
func (*DefinedSets_Ipv4PrefixSet) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of DefinedSets_Ipv4PrefixSet.
func (*DefinedSets_Ipv4PrefixSet) ΛEnumTypeMap ¶
func (t *DefinedSets_Ipv4PrefixSet) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*DefinedSets_Ipv4PrefixSet) ΛListKeyMap ¶
func (t *DefinedSets_Ipv4PrefixSet) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the DefinedSets_Ipv4PrefixSet struct, which is a YANG list entry.
func (*DefinedSets_Ipv4PrefixSet) ΛValidate ¶
func (t *DefinedSets_Ipv4PrefixSet) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type DefinedSets_Ipv6PrefixSet ¶
type DefinedSets_Ipv6PrefixSet struct {
Description *string `path:"state/description" module:"openconfig-defined-sets/openconfig-defined-sets"`
Name *string `path:"state/name|name" module:"openconfig-defined-sets/openconfig-defined-sets|openconfig-defined-sets"`
Prefix []string `path:"state/prefix" module:"openconfig-defined-sets/openconfig-defined-sets"`
}
DefinedSets_Ipv6PrefixSet represents the /openconfig-defined-sets/defined-sets/ipv6-prefix-sets/ipv6-prefix-set YANG schema element.
func (*DefinedSets_Ipv6PrefixSet) GetDescription ¶
func (t *DefinedSets_Ipv6PrefixSet) GetDescription() string
GetDescription retrieves the value of the leaf Description from the DefinedSets_Ipv6PrefixSet struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Description is set, it can safely use t.GetDescription() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Description == nil' before retrieving the leaf's value.
func (*DefinedSets_Ipv6PrefixSet) GetName ¶
func (t *DefinedSets_Ipv6PrefixSet) GetName() string
GetName retrieves the value of the leaf Name from the DefinedSets_Ipv6PrefixSet struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Name is set, it can safely use t.GetName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Name == nil' before retrieving the leaf's value.
func (*DefinedSets_Ipv6PrefixSet) GetPrefix ¶
func (t *DefinedSets_Ipv6PrefixSet) GetPrefix() []string
GetPrefix retrieves the value of the leaf Prefix from the DefinedSets_Ipv6PrefixSet struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Prefix is set, it can safely use t.GetPrefix() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Prefix == nil' before retrieving the leaf's value.
func (*DefinedSets_Ipv6PrefixSet) IsYANGGoStruct ¶
func (*DefinedSets_Ipv6PrefixSet) IsYANGGoStruct()
IsYANGGoStruct ensures that DefinedSets_Ipv6PrefixSet implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*DefinedSets_Ipv6PrefixSet) Validate ¶
func (t *DefinedSets_Ipv6PrefixSet) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*DefinedSets_Ipv6PrefixSet) ΛBelongingModule ¶
func (*DefinedSets_Ipv6PrefixSet) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of DefinedSets_Ipv6PrefixSet.
func (*DefinedSets_Ipv6PrefixSet) ΛEnumTypeMap ¶
func (t *DefinedSets_Ipv6PrefixSet) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*DefinedSets_Ipv6PrefixSet) ΛListKeyMap ¶
func (t *DefinedSets_Ipv6PrefixSet) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the DefinedSets_Ipv6PrefixSet struct, which is a YANG list entry.
func (*DefinedSets_Ipv6PrefixSet) ΛValidate ¶
func (t *DefinedSets_Ipv6PrefixSet) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type DefinedSets_PortSet ¶
type DefinedSets_PortSet struct {
Description *string `path:"state/description" module:"openconfig-defined-sets/openconfig-defined-sets"`
Name *string `path:"state/name|name" module:"openconfig-defined-sets/openconfig-defined-sets|openconfig-defined-sets"`
Port []DefinedSets_PortSet_Port_Union `path:"state/port" module:"openconfig-defined-sets/openconfig-defined-sets"`
}
DefinedSets_PortSet represents the /openconfig-defined-sets/defined-sets/port-sets/port-set YANG schema element.
func (*DefinedSets_PortSet) GetDescription ¶
func (t *DefinedSets_PortSet) GetDescription() string
GetDescription retrieves the value of the leaf Description from the DefinedSets_PortSet struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Description is set, it can safely use t.GetDescription() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Description == nil' before retrieving the leaf's value.
func (*DefinedSets_PortSet) GetName ¶
func (t *DefinedSets_PortSet) GetName() string
GetName retrieves the value of the leaf Name from the DefinedSets_PortSet struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Name is set, it can safely use t.GetName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Name == nil' before retrieving the leaf's value.
func (*DefinedSets_PortSet) GetPort ¶
func (t *DefinedSets_PortSet) GetPort() []DefinedSets_PortSet_Port_Union
GetPort retrieves the value of the leaf Port from the DefinedSets_PortSet struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Port is set, it can safely use t.GetPort() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Port == nil' before retrieving the leaf's value.
func (*DefinedSets_PortSet) IsYANGGoStruct ¶
func (*DefinedSets_PortSet) IsYANGGoStruct()
IsYANGGoStruct ensures that DefinedSets_PortSet implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*DefinedSets_PortSet) To_DefinedSets_PortSet_Port_Union ¶
func (t *DefinedSets_PortSet) To_DefinedSets_PortSet_Port_Union(i interface{}) (DefinedSets_PortSet_Port_Union, error)
To_DefinedSets_PortSet_Port_Union takes an input interface{} and attempts to convert it to a struct which implements the DefinedSets_PortSet_Port_Union union. It returns an error if the interface{} supplied cannot be converted to a type within the union.
func (*DefinedSets_PortSet) Validate ¶
func (t *DefinedSets_PortSet) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*DefinedSets_PortSet) ΛBelongingModule ¶
func (*DefinedSets_PortSet) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of DefinedSets_PortSet.
func (*DefinedSets_PortSet) ΛEnumTypeMap ¶
func (t *DefinedSets_PortSet) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*DefinedSets_PortSet) ΛListKeyMap ¶
func (t *DefinedSets_PortSet) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the DefinedSets_PortSet struct, which is a YANG list entry.
func (*DefinedSets_PortSet) ΛValidate ¶
func (t *DefinedSets_PortSet) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type DefinedSets_PortSet_Port_Union ¶
type DefinedSets_PortSet_Port_Union interface {
// Union type can be one of [E_PacketMatchTypes_PortNumRange_Enum, UnionString, UnionUint16]
Documentation_for_DefinedSets_PortSet_Port_Union()
}
DefinedSets_PortSet_Port_Union is an interface that is implemented by valid types for the union for the leaf /openconfig-defined-sets/defined-sets/port-sets/port-set/state/port within the YANG schema. Union type can be one of [E_PacketMatchTypes_PortNumRange_Enum, UnionString, UnionUint16].
type Device ¶
type Device struct {
Bfd *Bfd `path:"bfd" module:"openconfig-bfd"`
DefinedSets *DefinedSets `path:"defined-sets" module:"openconfig-defined-sets"`
Interface map[string]*Interface `path:"interfaces/interface" module:"openconfig-interfaces/openconfig-interfaces"`
Keychain map[string]*Keychain `path:"keychains/keychain" module:"openconfig-keychain/openconfig-keychain"`
NetworkInstance map[string]*NetworkInstance `path:"network-instances/network-instance" module:"openconfig-network-instance/openconfig-network-instance"`
}
Device represents the /device YANG schema element.
func (*Device) AppendInterface ¶
AppendInterface appends the supplied Interface struct to the list Interface of Device. If the key value(s) specified in the supplied Interface already exist in the list, an error is returned.
func (*Device) AppendKeychain ¶
AppendKeychain appends the supplied Keychain struct to the list Keychain of Device. If the key value(s) specified in the supplied Keychain already exist in the list, an error is returned.
func (*Device) AppendNetworkInstance ¶
func (t *Device) AppendNetworkInstance(v *NetworkInstance) error
AppendNetworkInstance appends the supplied NetworkInstance struct to the list NetworkInstance of Device. If the key value(s) specified in the supplied NetworkInstance already exist in the list, an error is returned.
func (*Device) DeleteInterface ¶
DeleteInterface deletes the value with the specified keys from the receiver Device. If there is no such element, the function is a no-op.
func (*Device) DeleteKeychain ¶
DeleteKeychain deletes the value with the specified keys from the receiver Device. If there is no such element, the function is a no-op.
func (*Device) DeleteNetworkInstance ¶
DeleteNetworkInstance deletes the value with the specified keys from the receiver Device. If there is no such element, the function is a no-op.
func (*Device) GetBfd ¶
GetBfd returns the value of the Bfd struct pointer from Device. If the receiver or the field Bfd is nil, nil is returned such that the Get* methods can be safely chained.
func (*Device) GetDefinedSets ¶
func (t *Device) GetDefinedSets() *DefinedSets
GetDefinedSets returns the value of the DefinedSets struct pointer from Device. If the receiver or the field DefinedSets is nil, nil is returned such that the Get* methods can be safely chained.
func (*Device) GetInterface ¶
GetInterface retrieves the value with the specified key from the Interface map field of Device. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.
func (*Device) GetKeychain ¶
GetKeychain retrieves the value with the specified key from the Keychain map field of Device. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.
func (*Device) GetNetworkInstance ¶
func (t *Device) GetNetworkInstance(Name string) *NetworkInstance
GetNetworkInstance retrieves the value with the specified key from the NetworkInstance map field of Device. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.
func (*Device) GetOrCreateBfd ¶
GetOrCreateBfd retrieves the value of the Bfd field or returns the existing field if it already exists.
func (*Device) GetOrCreateDefinedSets ¶
func (t *Device) GetOrCreateDefinedSets() *DefinedSets
GetOrCreateDefinedSets retrieves the value of the DefinedSets field or returns the existing field if it already exists.
func (*Device) GetOrCreateInterface ¶
GetOrCreateInterface retrieves the value with the specified keys from the receiver Device. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*Device) GetOrCreateInterfaceMap ¶
GetOrCreateInterfaceMap returns the list (map) from Device.
It initializes the field if not already initialized.
func (*Device) GetOrCreateKeychain ¶
GetOrCreateKeychain retrieves the value with the specified keys from the receiver Device. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*Device) GetOrCreateKeychainMap ¶
GetOrCreateKeychainMap returns the list (map) from Device.
It initializes the field if not already initialized.
func (*Device) GetOrCreateNetworkInstance ¶
func (t *Device) GetOrCreateNetworkInstance(Name string) *NetworkInstance
GetOrCreateNetworkInstance retrieves the value with the specified keys from the receiver Device. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*Device) GetOrCreateNetworkInstanceMap ¶
func (t *Device) GetOrCreateNetworkInstanceMap() map[string]*NetworkInstance
GetOrCreateNetworkInstanceMap returns the list (map) from Device.
It initializes the field if not already initialized.
func (*Device) IsYANGGoStruct ¶
func (*Device) IsYANGGoStruct()
IsYANGGoStruct ensures that Device implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Device) NewInterface ¶
NewInterface creates a new entry in the Interface list of the Device struct. The keys of the list are populated from the input arguments.
func (*Device) NewKeychain ¶
NewKeychain creates a new entry in the Keychain list of the Device struct. The keys of the list are populated from the input arguments.
func (*Device) NewNetworkInstance ¶
func (t *Device) NewNetworkInstance(Name string) (*NetworkInstance, error)
NewNetworkInstance creates a new entry in the NetworkInstance list of the Device struct. The keys of the list are populated from the input arguments.
func (*Device) Validate ¶
func (t *Device) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Device) ΛBelongingModule ¶
ΛBelongingModule returns the name of the module that defines the namespace of Device.
func (*Device) ΛEnumTypeMap ¶
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
type E_Address_Status ¶
type E_Address_Status int64
E_Address_Status is a derived int64 type which is used to represent the enumerated node Address_Status. An additional value named Address_Status_UNSET is added to the enumeration which is used as the nil value, indicating that the enumeration was not explicitly set by the program importing the generated structures.
const ( // Address_Status_UNSET corresponds to the value UNSET of Address_Status Address_Status_UNSET E_Address_Status = 0 // Address_Status_PREFERRED corresponds to the value PREFERRED of Address_Status Address_Status_PREFERRED E_Address_Status = 1 // Address_Status_DEPRECATED corresponds to the value DEPRECATED of Address_Status Address_Status_DEPRECATED E_Address_Status = 2 // Address_Status_INVALID corresponds to the value INVALID of Address_Status Address_Status_INVALID E_Address_Status = 3 // Address_Status_INACCESSIBLE corresponds to the value INACCESSIBLE of Address_Status Address_Status_INACCESSIBLE E_Address_Status = 4 // Address_Status_UNKNOWN corresponds to the value UNKNOWN of Address_Status Address_Status_UNKNOWN E_Address_Status = 5 // Address_Status_TENTATIVE corresponds to the value TENTATIVE of Address_Status Address_Status_TENTATIVE E_Address_Status = 6 // Address_Status_DUPLICATE corresponds to the value DUPLICATE of Address_Status Address_Status_DUPLICATE E_Address_Status = 7 // Address_Status_OPTIMISTIC corresponds to the value OPTIMISTIC of Address_Status Address_Status_OPTIMISTIC E_Address_Status = 8 )
func (E_Address_Status) IsYANGGoEnum ¶
func (E_Address_Status) IsYANGGoEnum()
IsYANGGoEnum ensures that Address_Status implements the yang.GoEnum interface. This ensures that Address_Status can be identified as a mapped type for a YANG enumeration.
func (E_Address_Status) String ¶
func (e E_Address_Status) String() string
String returns a logging-friendly string for E_Address_Status.
func (E_Address_Status) ΛMap ¶
func (E_Address_Status) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with Address_Status.
type E_AftTypes_EncapsulationHeaderType ¶
type E_AftTypes_EncapsulationHeaderType int64
E_AftTypes_EncapsulationHeaderType is a derived int64 type which is used to represent the enumerated node AftTypes_EncapsulationHeaderType. An additional value named AftTypes_EncapsulationHeaderType_UNSET is added to the enumeration which is used as the nil value, indicating that the enumeration was not explicitly set by the program importing the generated structures.
const ( // AftTypes_EncapsulationHeaderType_UNSET corresponds to the value UNSET of AftTypes_EncapsulationHeaderType AftTypes_EncapsulationHeaderType_UNSET E_AftTypes_EncapsulationHeaderType = 0 // AftTypes_EncapsulationHeaderType_GRE corresponds to the value GRE of AftTypes_EncapsulationHeaderType AftTypes_EncapsulationHeaderType_GRE E_AftTypes_EncapsulationHeaderType = 1 // AftTypes_EncapsulationHeaderType_IPV4 corresponds to the value IPV4 of AftTypes_EncapsulationHeaderType AftTypes_EncapsulationHeaderType_IPV4 E_AftTypes_EncapsulationHeaderType = 2 // AftTypes_EncapsulationHeaderType_IPV6 corresponds to the value IPV6 of AftTypes_EncapsulationHeaderType AftTypes_EncapsulationHeaderType_IPV6 E_AftTypes_EncapsulationHeaderType = 3 // AftTypes_EncapsulationHeaderType_MPLS corresponds to the value MPLS of AftTypes_EncapsulationHeaderType AftTypes_EncapsulationHeaderType_MPLS E_AftTypes_EncapsulationHeaderType = 4 // AftTypes_EncapsulationHeaderType_VXLAN corresponds to the value VXLAN of AftTypes_EncapsulationHeaderType AftTypes_EncapsulationHeaderType_VXLAN E_AftTypes_EncapsulationHeaderType = 5 // AftTypes_EncapsulationHeaderType_UDP corresponds to the value UDP of AftTypes_EncapsulationHeaderType AftTypes_EncapsulationHeaderType_UDP E_AftTypes_EncapsulationHeaderType = 6 // AftTypes_EncapsulationHeaderType_UDPV4 corresponds to the value UDPV4 of AftTypes_EncapsulationHeaderType AftTypes_EncapsulationHeaderType_UDPV4 E_AftTypes_EncapsulationHeaderType = 7 // AftTypes_EncapsulationHeaderType_UDPV6 corresponds to the value UDPV6 of AftTypes_EncapsulationHeaderType AftTypes_EncapsulationHeaderType_UDPV6 E_AftTypes_EncapsulationHeaderType = 8 )
func (E_AftTypes_EncapsulationHeaderType) IsYANGGoEnum ¶
func (E_AftTypes_EncapsulationHeaderType) IsYANGGoEnum()
IsYANGGoEnum ensures that AftTypes_EncapsulationHeaderType implements the yang.GoEnum interface. This ensures that AftTypes_EncapsulationHeaderType can be identified as a mapped type for a YANG enumeration.
func (E_AftTypes_EncapsulationHeaderType) String ¶
func (e E_AftTypes_EncapsulationHeaderType) String() string
String returns a logging-friendly string for E_AftTypes_EncapsulationHeaderType.
func (E_AftTypes_EncapsulationHeaderType) ΛMap ¶
func (E_AftTypes_EncapsulationHeaderType) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with AftTypes_EncapsulationHeaderType.
type E_Bfd_BfdDiagnosticCode ¶
type E_Bfd_BfdDiagnosticCode int64
E_Bfd_BfdDiagnosticCode is a derived int64 type which is used to represent the enumerated node Bfd_BfdDiagnosticCode. An additional value named Bfd_BfdDiagnosticCode_UNSET is added to the enumeration which is used as the nil value, indicating that the enumeration was not explicitly set by the program importing the generated structures.
const ( // Bfd_BfdDiagnosticCode_UNSET corresponds to the value UNSET of Bfd_BfdDiagnosticCode Bfd_BfdDiagnosticCode_UNSET E_Bfd_BfdDiagnosticCode = 0 // Bfd_BfdDiagnosticCode_NO_DIAGNOSTIC corresponds to the value NO_DIAGNOSTIC of Bfd_BfdDiagnosticCode Bfd_BfdDiagnosticCode_NO_DIAGNOSTIC E_Bfd_BfdDiagnosticCode = 1 // Bfd_BfdDiagnosticCode_DETECTION_TIMEOUT corresponds to the value DETECTION_TIMEOUT of Bfd_BfdDiagnosticCode Bfd_BfdDiagnosticCode_DETECTION_TIMEOUT E_Bfd_BfdDiagnosticCode = 2 // Bfd_BfdDiagnosticCode_ECHO_FAILED corresponds to the value ECHO_FAILED of Bfd_BfdDiagnosticCode Bfd_BfdDiagnosticCode_ECHO_FAILED E_Bfd_BfdDiagnosticCode = 3 // Bfd_BfdDiagnosticCode_FORWARDING_RESET corresponds to the value FORWARDING_RESET of Bfd_BfdDiagnosticCode Bfd_BfdDiagnosticCode_FORWARDING_RESET E_Bfd_BfdDiagnosticCode = 4 // Bfd_BfdDiagnosticCode_PATH_DOWN corresponds to the value PATH_DOWN of Bfd_BfdDiagnosticCode Bfd_BfdDiagnosticCode_PATH_DOWN E_Bfd_BfdDiagnosticCode = 5 // Bfd_BfdDiagnosticCode_CONCATENATED_PATH_DOWN corresponds to the value CONCATENATED_PATH_DOWN of Bfd_BfdDiagnosticCode Bfd_BfdDiagnosticCode_CONCATENATED_PATH_DOWN E_Bfd_BfdDiagnosticCode = 6 // Bfd_BfdDiagnosticCode_ADMIN_DOWN corresponds to the value ADMIN_DOWN of Bfd_BfdDiagnosticCode Bfd_BfdDiagnosticCode_ADMIN_DOWN E_Bfd_BfdDiagnosticCode = 7 // Bfd_BfdDiagnosticCode_REVERSE_CONCATENATED_PATH_DOWN corresponds to the value REVERSE_CONCATENATED_PATH_DOWN of Bfd_BfdDiagnosticCode Bfd_BfdDiagnosticCode_REVERSE_CONCATENATED_PATH_DOWN E_Bfd_BfdDiagnosticCode = 8 // Bfd_BfdDiagnosticCode_NEIGHBOR_DOWN corresponds to the value NEIGHBOR_DOWN of Bfd_BfdDiagnosticCode Bfd_BfdDiagnosticCode_NEIGHBOR_DOWN E_Bfd_BfdDiagnosticCode = 9 )
func (E_Bfd_BfdDiagnosticCode) IsYANGGoEnum ¶
func (E_Bfd_BfdDiagnosticCode) IsYANGGoEnum()
IsYANGGoEnum ensures that Bfd_BfdDiagnosticCode implements the yang.GoEnum interface. This ensures that Bfd_BfdDiagnosticCode can be identified as a mapped type for a YANG enumeration.
func (E_Bfd_BfdDiagnosticCode) String ¶
func (e E_Bfd_BfdDiagnosticCode) String() string
String returns a logging-friendly string for E_Bfd_BfdDiagnosticCode.
func (E_Bfd_BfdDiagnosticCode) ΛMap ¶
func (E_Bfd_BfdDiagnosticCode) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with Bfd_BfdDiagnosticCode.
type E_Bfd_BfdSessionState ¶
type E_Bfd_BfdSessionState int64
E_Bfd_BfdSessionState is a derived int64 type which is used to represent the enumerated node Bfd_BfdSessionState. An additional value named Bfd_BfdSessionState_UNSET is added to the enumeration which is used as the nil value, indicating that the enumeration was not explicitly set by the program importing the generated structures.
const ( // Bfd_BfdSessionState_UNSET corresponds to the value UNSET of Bfd_BfdSessionState Bfd_BfdSessionState_UNSET E_Bfd_BfdSessionState = 0 // Bfd_BfdSessionState_UP corresponds to the value UP of Bfd_BfdSessionState Bfd_BfdSessionState_UP E_Bfd_BfdSessionState = 1 // Bfd_BfdSessionState_DOWN corresponds to the value DOWN of Bfd_BfdSessionState Bfd_BfdSessionState_DOWN E_Bfd_BfdSessionState = 2 // Bfd_BfdSessionState_ADMIN_DOWN corresponds to the value ADMIN_DOWN of Bfd_BfdSessionState Bfd_BfdSessionState_ADMIN_DOWN E_Bfd_BfdSessionState = 3 // Bfd_BfdSessionState_INIT corresponds to the value INIT of Bfd_BfdSessionState Bfd_BfdSessionState_INIT E_Bfd_BfdSessionState = 4 )
func (E_Bfd_BfdSessionState) IsYANGGoEnum ¶
func (E_Bfd_BfdSessionState) IsYANGGoEnum()
IsYANGGoEnum ensures that Bfd_BfdSessionState implements the yang.GoEnum interface. This ensures that Bfd_BfdSessionState can be identified as a mapped type for a YANG enumeration.
func (E_Bfd_BfdSessionState) String ¶
func (e E_Bfd_BfdSessionState) String() string
String returns a logging-friendly string for E_Bfd_BfdSessionState.
func (E_Bfd_BfdSessionState) ΛMap ¶
func (E_Bfd_BfdSessionState) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with Bfd_BfdSessionState.
type E_Ethernet_DuplexMode ¶
type E_Ethernet_DuplexMode int64
E_Ethernet_DuplexMode is a derived int64 type which is used to represent the enumerated node Ethernet_DuplexMode. An additional value named Ethernet_DuplexMode_UNSET is added to the enumeration which is used as the nil value, indicating that the enumeration was not explicitly set by the program importing the generated structures.
const ( // Ethernet_DuplexMode_UNSET corresponds to the value UNSET of Ethernet_DuplexMode Ethernet_DuplexMode_UNSET E_Ethernet_DuplexMode = 0 // Ethernet_DuplexMode_FULL corresponds to the value FULL of Ethernet_DuplexMode Ethernet_DuplexMode_FULL E_Ethernet_DuplexMode = 1 // Ethernet_DuplexMode_HALF corresponds to the value HALF of Ethernet_DuplexMode Ethernet_DuplexMode_HALF E_Ethernet_DuplexMode = 2 )
func (E_Ethernet_DuplexMode) IsYANGGoEnum ¶
func (E_Ethernet_DuplexMode) IsYANGGoEnum()
IsYANGGoEnum ensures that Ethernet_DuplexMode implements the yang.GoEnum interface. This ensures that Ethernet_DuplexMode can be identified as a mapped type for a YANG enumeration.
func (E_Ethernet_DuplexMode) String ¶
func (e E_Ethernet_DuplexMode) String() string
String returns a logging-friendly string for E_Ethernet_DuplexMode.
func (E_Ethernet_DuplexMode) ΛMap ¶
func (E_Ethernet_DuplexMode) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with Ethernet_DuplexMode.
type E_Ethernet_NegotiatedDuplexMode ¶
type E_Ethernet_NegotiatedDuplexMode int64
E_Ethernet_NegotiatedDuplexMode is a derived int64 type which is used to represent the enumerated node Ethernet_NegotiatedDuplexMode. An additional value named Ethernet_NegotiatedDuplexMode_UNSET is added to the enumeration which is used as the nil value, indicating that the enumeration was not explicitly set by the program importing the generated structures.
const ( // Ethernet_NegotiatedDuplexMode_UNSET corresponds to the value UNSET of Ethernet_NegotiatedDuplexMode Ethernet_NegotiatedDuplexMode_UNSET E_Ethernet_NegotiatedDuplexMode = 0 // Ethernet_NegotiatedDuplexMode_FULL corresponds to the value FULL of Ethernet_NegotiatedDuplexMode Ethernet_NegotiatedDuplexMode_FULL E_Ethernet_NegotiatedDuplexMode = 1 // Ethernet_NegotiatedDuplexMode_HALF corresponds to the value HALF of Ethernet_NegotiatedDuplexMode Ethernet_NegotiatedDuplexMode_HALF E_Ethernet_NegotiatedDuplexMode = 2 )
func (E_Ethernet_NegotiatedDuplexMode) IsYANGGoEnum ¶
func (E_Ethernet_NegotiatedDuplexMode) IsYANGGoEnum()
IsYANGGoEnum ensures that Ethernet_NegotiatedDuplexMode implements the yang.GoEnum interface. This ensures that Ethernet_NegotiatedDuplexMode can be identified as a mapped type for a YANG enumeration.
func (E_Ethernet_NegotiatedDuplexMode) String ¶
func (e E_Ethernet_NegotiatedDuplexMode) String() string
String returns a logging-friendly string for E_Ethernet_NegotiatedDuplexMode.
func (E_Ethernet_NegotiatedDuplexMode) ΛMap ¶
func (E_Ethernet_NegotiatedDuplexMode) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with Ethernet_NegotiatedDuplexMode.
type E_IETFInterfaces_InterfaceType ¶
type E_IETFInterfaces_InterfaceType int64
E_IETFInterfaces_InterfaceType is a derived int64 type which is used to represent the enumerated node IETFInterfaces_InterfaceType. An additional value named IETFInterfaces_InterfaceType_UNSET is added to the enumeration which is used as the nil value, indicating that the enumeration was not explicitly set by the program importing the generated structures.
const ( // IETFInterfaces_InterfaceType_UNSET corresponds to the value UNSET of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_UNSET E_IETFInterfaces_InterfaceType = 0 // IETFInterfaces_InterfaceType_a12MppSwitch corresponds to the value a12MppSwitch of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_a12MppSwitch E_IETFInterfaces_InterfaceType = 1 // IETFInterfaces_InterfaceType_aal2 corresponds to the value aal2 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_aal2 E_IETFInterfaces_InterfaceType = 2 // IETFInterfaces_InterfaceType_aal5 corresponds to the value aal5 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_aal5 E_IETFInterfaces_InterfaceType = 3 // IETFInterfaces_InterfaceType_actelisMetaLOOP corresponds to the value actelisMetaLOOP of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_actelisMetaLOOP E_IETFInterfaces_InterfaceType = 4 // IETFInterfaces_InterfaceType_adsl corresponds to the value adsl of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_adsl E_IETFInterfaces_InterfaceType = 5 // IETFInterfaces_InterfaceType_adsl2 corresponds to the value adsl2 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_adsl2 E_IETFInterfaces_InterfaceType = 6 // IETFInterfaces_InterfaceType_adsl2plus corresponds to the value adsl2plus of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_adsl2plus E_IETFInterfaces_InterfaceType = 7 // IETFInterfaces_InterfaceType_aflane8023 corresponds to the value aflane8023 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_aflane8023 E_IETFInterfaces_InterfaceType = 8 // IETFInterfaces_InterfaceType_aflane8025 corresponds to the value aflane8025 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_aflane8025 E_IETFInterfaces_InterfaceType = 9 // IETFInterfaces_InterfaceType_aluELP corresponds to the value aluELP of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_aluELP E_IETFInterfaces_InterfaceType = 10 // IETFInterfaces_InterfaceType_aluEpon corresponds to the value aluEpon of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_aluEpon E_IETFInterfaces_InterfaceType = 11 // IETFInterfaces_InterfaceType_aluEponLogicalLink corresponds to the value aluEponLogicalLink of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_aluEponLogicalLink E_IETFInterfaces_InterfaceType = 12 // IETFInterfaces_InterfaceType_aluEponOnu corresponds to the value aluEponOnu of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_aluEponOnu E_IETFInterfaces_InterfaceType = 13 // IETFInterfaces_InterfaceType_aluEponPhysicalUni corresponds to the value aluEponPhysicalUni of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_aluEponPhysicalUni E_IETFInterfaces_InterfaceType = 14 // IETFInterfaces_InterfaceType_aluGponOnu corresponds to the value aluGponOnu of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_aluGponOnu E_IETFInterfaces_InterfaceType = 15 // IETFInterfaces_InterfaceType_aluGponPhysicalUni corresponds to the value aluGponPhysicalUni of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_aluGponPhysicalUni E_IETFInterfaces_InterfaceType = 16 // IETFInterfaces_InterfaceType_arap corresponds to the value arap of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_arap E_IETFInterfaces_InterfaceType = 17 // IETFInterfaces_InterfaceType_arcnet corresponds to the value arcnet of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_arcnet E_IETFInterfaces_InterfaceType = 18 // IETFInterfaces_InterfaceType_arcnetPlus corresponds to the value arcnetPlus of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_arcnetPlus E_IETFInterfaces_InterfaceType = 19 // IETFInterfaces_InterfaceType_async corresponds to the value async of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_async E_IETFInterfaces_InterfaceType = 20 // IETFInterfaces_InterfaceType_atm corresponds to the value atm of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_atm E_IETFInterfaces_InterfaceType = 21 // IETFInterfaces_InterfaceType_atmDxi corresponds to the value atmDxi of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_atmDxi E_IETFInterfaces_InterfaceType = 22 // IETFInterfaces_InterfaceType_atmFuni corresponds to the value atmFuni of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_atmFuni E_IETFInterfaces_InterfaceType = 23 // IETFInterfaces_InterfaceType_atmIma corresponds to the value atmIma of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_atmIma E_IETFInterfaces_InterfaceType = 24 // IETFInterfaces_InterfaceType_atmLogical corresponds to the value atmLogical of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_atmLogical E_IETFInterfaces_InterfaceType = 25 // IETFInterfaces_InterfaceType_atmRadio corresponds to the value atmRadio of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_atmRadio E_IETFInterfaces_InterfaceType = 26 // IETFInterfaces_InterfaceType_atmSubInterface corresponds to the value atmSubInterface of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_atmSubInterface E_IETFInterfaces_InterfaceType = 27 // IETFInterfaces_InterfaceType_atmVciEndPt corresponds to the value atmVciEndPt of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_atmVciEndPt E_IETFInterfaces_InterfaceType = 28 // IETFInterfaces_InterfaceType_atmVirtual corresponds to the value atmVirtual of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_atmVirtual E_IETFInterfaces_InterfaceType = 29 // IETFInterfaces_InterfaceType_atmbond corresponds to the value atmbond of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_atmbond E_IETFInterfaces_InterfaceType = 30 // IETFInterfaces_InterfaceType_aviciOpticalEther corresponds to the value aviciOpticalEther of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_aviciOpticalEther E_IETFInterfaces_InterfaceType = 31 // IETFInterfaces_InterfaceType_basicISDN corresponds to the value basicISDN of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_basicISDN E_IETFInterfaces_InterfaceType = 32 // IETFInterfaces_InterfaceType_bgppolicyaccounting corresponds to the value bgppolicyaccounting of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_bgppolicyaccounting E_IETFInterfaces_InterfaceType = 33 // IETFInterfaces_InterfaceType_bits corresponds to the value bits of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_bits E_IETFInterfaces_InterfaceType = 34 // IETFInterfaces_InterfaceType_bridge corresponds to the value bridge of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_bridge E_IETFInterfaces_InterfaceType = 35 // IETFInterfaces_InterfaceType_bsc corresponds to the value bsc of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_bsc E_IETFInterfaces_InterfaceType = 36 // IETFInterfaces_InterfaceType_cableDownstreamRfPort corresponds to the value cableDownstreamRfPort of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_cableDownstreamRfPort E_IETFInterfaces_InterfaceType = 37 // IETFInterfaces_InterfaceType_capwapDot11Bss corresponds to the value capwapDot11Bss of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_capwapDot11Bss E_IETFInterfaces_InterfaceType = 38 // IETFInterfaces_InterfaceType_capwapDot11Profile corresponds to the value capwapDot11Profile of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_capwapDot11Profile E_IETFInterfaces_InterfaceType = 39 // IETFInterfaces_InterfaceType_capwapWtpVirtualRadio corresponds to the value capwapWtpVirtualRadio of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_capwapWtpVirtualRadio E_IETFInterfaces_InterfaceType = 40 // IETFInterfaces_InterfaceType_cblVectaStar corresponds to the value cblVectaStar of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_cblVectaStar E_IETFInterfaces_InterfaceType = 41 // IETFInterfaces_InterfaceType_cctEmul corresponds to the value cctEmul of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_cctEmul E_IETFInterfaces_InterfaceType = 42 // IETFInterfaces_InterfaceType_ces corresponds to the value ces of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_ces E_IETFInterfaces_InterfaceType = 43 // IETFInterfaces_InterfaceType_channel corresponds to the value channel of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_channel E_IETFInterfaces_InterfaceType = 44 // IETFInterfaces_InterfaceType_ciscoISLvlan corresponds to the value ciscoISLvlan of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_ciscoISLvlan E_IETFInterfaces_InterfaceType = 45 // IETFInterfaces_InterfaceType_cnr corresponds to the value cnr of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_cnr E_IETFInterfaces_InterfaceType = 46 // IETFInterfaces_InterfaceType_coffee corresponds to the value coffee of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_coffee E_IETFInterfaces_InterfaceType = 47 // IETFInterfaces_InterfaceType_compositeLink corresponds to the value compositeLink of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_compositeLink E_IETFInterfaces_InterfaceType = 48 // IETFInterfaces_InterfaceType_dcn corresponds to the value dcn of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_dcn E_IETFInterfaces_InterfaceType = 49 // IETFInterfaces_InterfaceType_ddnX25 corresponds to the value ddnX25 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_ddnX25 E_IETFInterfaces_InterfaceType = 50 // IETFInterfaces_InterfaceType_digitalPowerline corresponds to the value digitalPowerline of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_digitalPowerline E_IETFInterfaces_InterfaceType = 51 // IETFInterfaces_InterfaceType_digitalWrapperOverheadChannel corresponds to the value digitalWrapperOverheadChannel of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_digitalWrapperOverheadChannel E_IETFInterfaces_InterfaceType = 52 // IETFInterfaces_InterfaceType_dlsw corresponds to the value dlsw of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_dlsw E_IETFInterfaces_InterfaceType = 53 // IETFInterfaces_InterfaceType_docsCableDownstream corresponds to the value docsCableDownstream of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_docsCableDownstream E_IETFInterfaces_InterfaceType = 54 // IETFInterfaces_InterfaceType_docsCableMCmtsDownstream corresponds to the value docsCableMCmtsDownstream of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_docsCableMCmtsDownstream E_IETFInterfaces_InterfaceType = 55 // IETFInterfaces_InterfaceType_docsCableMaclayer corresponds to the value docsCableMaclayer of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_docsCableMaclayer E_IETFInterfaces_InterfaceType = 56 // IETFInterfaces_InterfaceType_docsCableNdf corresponds to the value docsCableNdf of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_docsCableNdf E_IETFInterfaces_InterfaceType = 57 // IETFInterfaces_InterfaceType_docsCableNdr corresponds to the value docsCableNdr of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_docsCableNdr E_IETFInterfaces_InterfaceType = 58 // IETFInterfaces_InterfaceType_docsCableScte55d1FwdOob corresponds to the value docsCableScte55d1FwdOob of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_docsCableScte55d1FwdOob E_IETFInterfaces_InterfaceType = 59 // IETFInterfaces_InterfaceType_docsCableScte55d1RetOob corresponds to the value docsCableScte55d1RetOob of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_docsCableScte55d1RetOob E_IETFInterfaces_InterfaceType = 60 // IETFInterfaces_InterfaceType_docsCableScte55d2DsOob corresponds to the value docsCableScte55d2DsOob of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_docsCableScte55d2DsOob E_IETFInterfaces_InterfaceType = 61 // IETFInterfaces_InterfaceType_docsCableScte55d2UsOob corresponds to the value docsCableScte55d2UsOob of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_docsCableScte55d2UsOob E_IETFInterfaces_InterfaceType = 62 // IETFInterfaces_InterfaceType_docsCableUpstream corresponds to the value docsCableUpstream of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_docsCableUpstream E_IETFInterfaces_InterfaceType = 63 // IETFInterfaces_InterfaceType_docsCableUpstreamChannel corresponds to the value docsCableUpstreamChannel of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_docsCableUpstreamChannel E_IETFInterfaces_InterfaceType = 64 // IETFInterfaces_InterfaceType_docsCableUpstreamRfPort corresponds to the value docsCableUpstreamRfPort of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_docsCableUpstreamRfPort E_IETFInterfaces_InterfaceType = 65 // IETFInterfaces_InterfaceType_docsOfdmDownstream corresponds to the value docsOfdmDownstream of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_docsOfdmDownstream E_IETFInterfaces_InterfaceType = 66 // IETFInterfaces_InterfaceType_docsOfdmaUpstream corresponds to the value docsOfdmaUpstream of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_docsOfdmaUpstream E_IETFInterfaces_InterfaceType = 67 // IETFInterfaces_InterfaceType_ds0 corresponds to the value ds0 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_ds0 E_IETFInterfaces_InterfaceType = 68 // IETFInterfaces_InterfaceType_ds0Bundle corresponds to the value ds0Bundle of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_ds0Bundle E_IETFInterfaces_InterfaceType = 69 // IETFInterfaces_InterfaceType_ds1 corresponds to the value ds1 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_ds1 E_IETFInterfaces_InterfaceType = 70 // IETFInterfaces_InterfaceType_ds1FDL corresponds to the value ds1FDL of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_ds1FDL E_IETFInterfaces_InterfaceType = 71 // IETFInterfaces_InterfaceType_ds3 corresponds to the value ds3 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_ds3 E_IETFInterfaces_InterfaceType = 72 // IETFInterfaces_InterfaceType_dtm corresponds to the value dtm of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_dtm E_IETFInterfaces_InterfaceType = 73 // IETFInterfaces_InterfaceType_dvbAsiIn corresponds to the value dvbAsiIn of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_dvbAsiIn E_IETFInterfaces_InterfaceType = 74 // IETFInterfaces_InterfaceType_dvbAsiOut corresponds to the value dvbAsiOut of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_dvbAsiOut E_IETFInterfaces_InterfaceType = 75 // IETFInterfaces_InterfaceType_dvbRccDownstream corresponds to the value dvbRccDownstream of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_dvbRccDownstream E_IETFInterfaces_InterfaceType = 76 // IETFInterfaces_InterfaceType_dvbRccMacLayer corresponds to the value dvbRccMacLayer of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_dvbRccMacLayer E_IETFInterfaces_InterfaceType = 77 // IETFInterfaces_InterfaceType_dvbRccUpstream corresponds to the value dvbRccUpstream of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_dvbRccUpstream E_IETFInterfaces_InterfaceType = 78 // IETFInterfaces_InterfaceType_dvbRcsMacLayer corresponds to the value dvbRcsMacLayer of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_dvbRcsMacLayer E_IETFInterfaces_InterfaceType = 79 // IETFInterfaces_InterfaceType_dvbRcsTdma corresponds to the value dvbRcsTdma of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_dvbRcsTdma E_IETFInterfaces_InterfaceType = 80 // IETFInterfaces_InterfaceType_dvbTdm corresponds to the value dvbTdm of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_dvbTdm E_IETFInterfaces_InterfaceType = 81 // IETFInterfaces_InterfaceType_e1 corresponds to the value e1 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_e1 E_IETFInterfaces_InterfaceType = 82 // IETFInterfaces_InterfaceType_econet corresponds to the value econet of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_econet E_IETFInterfaces_InterfaceType = 83 // IETFInterfaces_InterfaceType_eon corresponds to the value eon of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_eon E_IETFInterfaces_InterfaceType = 84 // IETFInterfaces_InterfaceType_eplrs corresponds to the value eplrs of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_eplrs E_IETFInterfaces_InterfaceType = 85 // IETFInterfaces_InterfaceType_escon corresponds to the value escon of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_escon E_IETFInterfaces_InterfaceType = 86 // IETFInterfaces_InterfaceType_ethernet3Mbit corresponds to the value ethernet3Mbit of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_ethernet3Mbit E_IETFInterfaces_InterfaceType = 87 // IETFInterfaces_InterfaceType_ethernetCsmacd corresponds to the value ethernetCsmacd of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_ethernetCsmacd E_IETFInterfaces_InterfaceType = 88 // IETFInterfaces_InterfaceType_fast corresponds to the value fast of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_fast E_IETFInterfaces_InterfaceType = 89 // IETFInterfaces_InterfaceType_fastEther corresponds to the value fastEther of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_fastEther E_IETFInterfaces_InterfaceType = 90 // IETFInterfaces_InterfaceType_fastEtherFX corresponds to the value fastEtherFX of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_fastEtherFX E_IETFInterfaces_InterfaceType = 91 // IETFInterfaces_InterfaceType_fastdsl corresponds to the value fastdsl of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_fastdsl E_IETFInterfaces_InterfaceType = 92 // IETFInterfaces_InterfaceType_fcipLink corresponds to the value fcipLink of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_fcipLink E_IETFInterfaces_InterfaceType = 93 // IETFInterfaces_InterfaceType_fddi corresponds to the value fddi of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_fddi E_IETFInterfaces_InterfaceType = 94 // IETFInterfaces_InterfaceType_fibreChannel corresponds to the value fibreChannel of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_fibreChannel E_IETFInterfaces_InterfaceType = 95 // IETFInterfaces_InterfaceType_frDlciEndPt corresponds to the value frDlciEndPt of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_frDlciEndPt E_IETFInterfaces_InterfaceType = 96 // IETFInterfaces_InterfaceType_frForward corresponds to the value frForward of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_frForward E_IETFInterfaces_InterfaceType = 97 // IETFInterfaces_InterfaceType_frameRelay corresponds to the value frameRelay of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_frameRelay E_IETFInterfaces_InterfaceType = 98 // IETFInterfaces_InterfaceType_frameRelayInterconnect corresponds to the value frameRelayInterconnect of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_frameRelayInterconnect E_IETFInterfaces_InterfaceType = 99 // IETFInterfaces_InterfaceType_frameRelayMPI corresponds to the value frameRelayMPI of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_frameRelayMPI E_IETFInterfaces_InterfaceType = 100 // IETFInterfaces_InterfaceType_frameRelayService corresponds to the value frameRelayService of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_frameRelayService E_IETFInterfaces_InterfaceType = 101 // IETFInterfaces_InterfaceType_frf16MfrBundle corresponds to the value frf16MfrBundle of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_frf16MfrBundle E_IETFInterfaces_InterfaceType = 102 // IETFInterfaces_InterfaceType_g703at2mb corresponds to the value g703at2mb of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_g703at2mb E_IETFInterfaces_InterfaceType = 103 // IETFInterfaces_InterfaceType_g703at64k corresponds to the value g703at64k of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_g703at64k E_IETFInterfaces_InterfaceType = 104 // IETFInterfaces_InterfaceType_g9981 corresponds to the value g9981 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_g9981 E_IETFInterfaces_InterfaceType = 105 // IETFInterfaces_InterfaceType_g9982 corresponds to the value g9982 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_g9982 E_IETFInterfaces_InterfaceType = 106 // IETFInterfaces_InterfaceType_g9983 corresponds to the value g9983 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_g9983 E_IETFInterfaces_InterfaceType = 107 // IETFInterfaces_InterfaceType_gfast corresponds to the value gfast of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_gfast E_IETFInterfaces_InterfaceType = 108 // IETFInterfaces_InterfaceType_gfp corresponds to the value gfp of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_gfp E_IETFInterfaces_InterfaceType = 109 // IETFInterfaces_InterfaceType_gigabitEthernet corresponds to the value gigabitEthernet of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_gigabitEthernet E_IETFInterfaces_InterfaceType = 110 // IETFInterfaces_InterfaceType_gpon corresponds to the value gpon of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_gpon E_IETFInterfaces_InterfaceType = 111 // IETFInterfaces_InterfaceType_gr303IDT corresponds to the value gr303IDT of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_gr303IDT E_IETFInterfaces_InterfaceType = 112 // IETFInterfaces_InterfaceType_gr303RDT corresponds to the value gr303RDT of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_gr303RDT E_IETFInterfaces_InterfaceType = 113 // IETFInterfaces_InterfaceType_gtp corresponds to the value gtp of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_gtp E_IETFInterfaces_InterfaceType = 114 // IETFInterfaces_InterfaceType_h323Gatekeeper corresponds to the value h323Gatekeeper of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_h323Gatekeeper E_IETFInterfaces_InterfaceType = 115 // IETFInterfaces_InterfaceType_h323Proxy corresponds to the value h323Proxy of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_h323Proxy E_IETFInterfaces_InterfaceType = 116 // IETFInterfaces_InterfaceType_hdh1822 corresponds to the value hdh1822 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_hdh1822 E_IETFInterfaces_InterfaceType = 117 // IETFInterfaces_InterfaceType_hdlc corresponds to the value hdlc of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_hdlc E_IETFInterfaces_InterfaceType = 118 // IETFInterfaces_InterfaceType_hdsl2 corresponds to the value hdsl2 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_hdsl2 E_IETFInterfaces_InterfaceType = 119 // IETFInterfaces_InterfaceType_hiperlan2 corresponds to the value hiperlan2 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_hiperlan2 E_IETFInterfaces_InterfaceType = 120 // IETFInterfaces_InterfaceType_hippi corresponds to the value hippi of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_hippi E_IETFInterfaces_InterfaceType = 121 // IETFInterfaces_InterfaceType_hippiInterface corresponds to the value hippiInterface of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_hippiInterface E_IETFInterfaces_InterfaceType = 122 // IETFInterfaces_InterfaceType_homepna corresponds to the value homepna of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_homepna E_IETFInterfaces_InterfaceType = 123 // IETFInterfaces_InterfaceType_hostPad corresponds to the value hostPad of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_hostPad E_IETFInterfaces_InterfaceType = 124 // IETFInterfaces_InterfaceType_hssi corresponds to the value hssi of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_hssi E_IETFInterfaces_InterfaceType = 125 // IETFInterfaces_InterfaceType_hyperchannel corresponds to the value hyperchannel of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_hyperchannel E_IETFInterfaces_InterfaceType = 126 // IETFInterfaces_InterfaceType_iana_interface_type corresponds to the value iana_interface_type of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_iana_interface_type E_IETFInterfaces_InterfaceType = 127 // IETFInterfaces_InterfaceType_ibm370parChan corresponds to the value ibm370parChan of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_ibm370parChan E_IETFInterfaces_InterfaceType = 128 // IETFInterfaces_InterfaceType_idsl corresponds to the value idsl of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_idsl E_IETFInterfaces_InterfaceType = 129 // IETFInterfaces_InterfaceType_ieee1394 corresponds to the value ieee1394 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_ieee1394 E_IETFInterfaces_InterfaceType = 130 // IETFInterfaces_InterfaceType_ieee80211 corresponds to the value ieee80211 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_ieee80211 E_IETFInterfaces_InterfaceType = 131 // IETFInterfaces_InterfaceType_ieee80212 corresponds to the value ieee80212 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_ieee80212 E_IETFInterfaces_InterfaceType = 132 // IETFInterfaces_InterfaceType_ieee802154 corresponds to the value ieee802154 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_ieee802154 E_IETFInterfaces_InterfaceType = 133 // IETFInterfaces_InterfaceType_ieee80216WMAN corresponds to the value ieee80216WMAN of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_ieee80216WMAN E_IETFInterfaces_InterfaceType = 134 // IETFInterfaces_InterfaceType_ieee8023adLag corresponds to the value ieee8023adLag of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_ieee8023adLag E_IETFInterfaces_InterfaceType = 135 // IETFInterfaces_InterfaceType_if_gsn corresponds to the value if_gsn of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_if_gsn E_IETFInterfaces_InterfaceType = 136 // IETFInterfaces_InterfaceType_ifPwType corresponds to the value ifPwType of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_ifPwType E_IETFInterfaces_InterfaceType = 137 // IETFInterfaces_InterfaceType_ifVfiType corresponds to the value ifVfiType of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_ifVfiType E_IETFInterfaces_InterfaceType = 138 // IETFInterfaces_InterfaceType_ilan corresponds to the value ilan of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_ilan E_IETFInterfaces_InterfaceType = 139 // IETFInterfaces_InterfaceType_imt corresponds to the value imt of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_imt E_IETFInterfaces_InterfaceType = 140 // IETFInterfaces_InterfaceType_infiniband corresponds to the value infiniband of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_infiniband E_IETFInterfaces_InterfaceType = 141 // IETFInterfaces_InterfaceType_interleave corresponds to the value interleave of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_interleave E_IETFInterfaces_InterfaceType = 142 // IETFInterfaces_InterfaceType_ip corresponds to the value ip of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_ip E_IETFInterfaces_InterfaceType = 143 // IETFInterfaces_InterfaceType_ipForward corresponds to the value ipForward of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_ipForward E_IETFInterfaces_InterfaceType = 144 // IETFInterfaces_InterfaceType_ipOverAtm corresponds to the value ipOverAtm of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_ipOverAtm E_IETFInterfaces_InterfaceType = 145 // IETFInterfaces_InterfaceType_ipOverCdlc corresponds to the value ipOverCdlc of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_ipOverCdlc E_IETFInterfaces_InterfaceType = 146 // IETFInterfaces_InterfaceType_ipOverClaw corresponds to the value ipOverClaw of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_ipOverClaw E_IETFInterfaces_InterfaceType = 147 // IETFInterfaces_InterfaceType_ipSwitch corresponds to the value ipSwitch of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_ipSwitch E_IETFInterfaces_InterfaceType = 148 // IETFInterfaces_InterfaceType_isdn corresponds to the value isdn of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_isdn E_IETFInterfaces_InterfaceType = 149 // IETFInterfaces_InterfaceType_isdns corresponds to the value isdns of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_isdns E_IETFInterfaces_InterfaceType = 150 // IETFInterfaces_InterfaceType_isdnu corresponds to the value isdnu of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_isdnu E_IETFInterfaces_InterfaceType = 151 // IETFInterfaces_InterfaceType_iso88022llc corresponds to the value iso88022llc of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_iso88022llc E_IETFInterfaces_InterfaceType = 152 // IETFInterfaces_InterfaceType_iso88023Csmacd corresponds to the value iso88023Csmacd of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_iso88023Csmacd E_IETFInterfaces_InterfaceType = 153 // IETFInterfaces_InterfaceType_iso88024TokenBus corresponds to the value iso88024TokenBus of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_iso88024TokenBus E_IETFInterfaces_InterfaceType = 154 // IETFInterfaces_InterfaceType_iso88025CRFPInt corresponds to the value iso88025CRFPInt of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_iso88025CRFPInt E_IETFInterfaces_InterfaceType = 155 // IETFInterfaces_InterfaceType_iso88025Dtr corresponds to the value iso88025Dtr of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_iso88025Dtr E_IETFInterfaces_InterfaceType = 156 // IETFInterfaces_InterfaceType_iso88025Fiber corresponds to the value iso88025Fiber of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_iso88025Fiber E_IETFInterfaces_InterfaceType = 157 // IETFInterfaces_InterfaceType_iso88025TokenRing corresponds to the value iso88025TokenRing of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_iso88025TokenRing E_IETFInterfaces_InterfaceType = 158 // IETFInterfaces_InterfaceType_iso88026Man corresponds to the value iso88026Man of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_iso88026Man E_IETFInterfaces_InterfaceType = 159 // IETFInterfaces_InterfaceType_isup corresponds to the value isup of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_isup E_IETFInterfaces_InterfaceType = 160 // IETFInterfaces_InterfaceType_l2vlan corresponds to the value l2vlan of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_l2vlan E_IETFInterfaces_InterfaceType = 161 // IETFInterfaces_InterfaceType_l3ipvlan corresponds to the value l3ipvlan of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_l3ipvlan E_IETFInterfaces_InterfaceType = 162 // IETFInterfaces_InterfaceType_l3ipxvlan corresponds to the value l3ipxvlan of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_l3ipxvlan E_IETFInterfaces_InterfaceType = 163 // IETFInterfaces_InterfaceType_lapb corresponds to the value lapb of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_lapb E_IETFInterfaces_InterfaceType = 164 // IETFInterfaces_InterfaceType_lapd corresponds to the value lapd of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_lapd E_IETFInterfaces_InterfaceType = 165 // IETFInterfaces_InterfaceType_lapf corresponds to the value lapf of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_lapf E_IETFInterfaces_InterfaceType = 166 // IETFInterfaces_InterfaceType_linegroup corresponds to the value linegroup of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_linegroup E_IETFInterfaces_InterfaceType = 167 // IETFInterfaces_InterfaceType_lmp corresponds to the value lmp of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_lmp E_IETFInterfaces_InterfaceType = 168 // IETFInterfaces_InterfaceType_localTalk corresponds to the value localTalk of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_localTalk E_IETFInterfaces_InterfaceType = 169 // IETFInterfaces_InterfaceType_macSecControlledIF corresponds to the value macSecControlledIF of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_macSecControlledIF E_IETFInterfaces_InterfaceType = 170 // IETFInterfaces_InterfaceType_macSecUncontrolledIF corresponds to the value macSecUncontrolledIF of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_macSecUncontrolledIF E_IETFInterfaces_InterfaceType = 171 // IETFInterfaces_InterfaceType_mediaMailOverIp corresponds to the value mediaMailOverIp of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_mediaMailOverIp E_IETFInterfaces_InterfaceType = 172 // IETFInterfaces_InterfaceType_mfSigLink corresponds to the value mfSigLink of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_mfSigLink E_IETFInterfaces_InterfaceType = 173 // IETFInterfaces_InterfaceType_miox25 corresponds to the value miox25 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_miox25 E_IETFInterfaces_InterfaceType = 174 // IETFInterfaces_InterfaceType_mocaVersion1 corresponds to the value mocaVersion1 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_mocaVersion1 E_IETFInterfaces_InterfaceType = 175 // IETFInterfaces_InterfaceType_modem corresponds to the value modem of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_modem E_IETFInterfaces_InterfaceType = 176 // IETFInterfaces_InterfaceType_mpc corresponds to the value mpc of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_mpc E_IETFInterfaces_InterfaceType = 177 // IETFInterfaces_InterfaceType_mpegTransport corresponds to the value mpegTransport of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_mpegTransport E_IETFInterfaces_InterfaceType = 178 // IETFInterfaces_InterfaceType_mpls corresponds to the value mpls of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_mpls E_IETFInterfaces_InterfaceType = 179 // IETFInterfaces_InterfaceType_mplsTunnel corresponds to the value mplsTunnel of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_mplsTunnel E_IETFInterfaces_InterfaceType = 180 // IETFInterfaces_InterfaceType_msdsl corresponds to the value msdsl of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_msdsl E_IETFInterfaces_InterfaceType = 181 // IETFInterfaces_InterfaceType_mvl corresponds to the value mvl of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_mvl E_IETFInterfaces_InterfaceType = 182 // IETFInterfaces_InterfaceType_myrinet corresponds to the value myrinet of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_myrinet E_IETFInterfaces_InterfaceType = 183 // IETFInterfaces_InterfaceType_nfas corresponds to the value nfas of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_nfas E_IETFInterfaces_InterfaceType = 184 // IETFInterfaces_InterfaceType_nsip corresponds to the value nsip of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_nsip E_IETFInterfaces_InterfaceType = 185 // IETFInterfaces_InterfaceType_opticalChannel corresponds to the value opticalChannel of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_opticalChannel E_IETFInterfaces_InterfaceType = 186 // IETFInterfaces_InterfaceType_opticalChannelGroup corresponds to the value opticalChannelGroup of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_opticalChannelGroup E_IETFInterfaces_InterfaceType = 187 // IETFInterfaces_InterfaceType_opticalTransport corresponds to the value opticalTransport of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_opticalTransport E_IETFInterfaces_InterfaceType = 188 // IETFInterfaces_InterfaceType_other corresponds to the value other of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_other E_IETFInterfaces_InterfaceType = 189 // IETFInterfaces_InterfaceType_otnOdu corresponds to the value otnOdu of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_otnOdu E_IETFInterfaces_InterfaceType = 190 // IETFInterfaces_InterfaceType_otnOtu corresponds to the value otnOtu of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_otnOtu E_IETFInterfaces_InterfaceType = 191 // IETFInterfaces_InterfaceType_para corresponds to the value para of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_para E_IETFInterfaces_InterfaceType = 192 // IETFInterfaces_InterfaceType_pdnEtherLoop1 corresponds to the value pdnEtherLoop1 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_pdnEtherLoop1 E_IETFInterfaces_InterfaceType = 193 // IETFInterfaces_InterfaceType_pdnEtherLoop2 corresponds to the value pdnEtherLoop2 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_pdnEtherLoop2 E_IETFInterfaces_InterfaceType = 194 // IETFInterfaces_InterfaceType_pip corresponds to the value pip of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_pip E_IETFInterfaces_InterfaceType = 195 // IETFInterfaces_InterfaceType_plc corresponds to the value plc of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_plc E_IETFInterfaces_InterfaceType = 196 // IETFInterfaces_InterfaceType_pon155 corresponds to the value pon155 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_pon155 E_IETFInterfaces_InterfaceType = 197 // IETFInterfaces_InterfaceType_pon622 corresponds to the value pon622 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_pon622 E_IETFInterfaces_InterfaceType = 198 // IETFInterfaces_InterfaceType_pos corresponds to the value pos of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_pos E_IETFInterfaces_InterfaceType = 199 // IETFInterfaces_InterfaceType_ppp corresponds to the value ppp of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_ppp E_IETFInterfaces_InterfaceType = 200 // IETFInterfaces_InterfaceType_pppMultilinkBundle corresponds to the value pppMultilinkBundle of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_pppMultilinkBundle E_IETFInterfaces_InterfaceType = 201 // IETFInterfaces_InterfaceType_primaryISDN corresponds to the value primaryISDN of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_primaryISDN E_IETFInterfaces_InterfaceType = 202 // IETFInterfaces_InterfaceType_propAtm corresponds to the value propAtm of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_propAtm E_IETFInterfaces_InterfaceType = 203 // IETFInterfaces_InterfaceType_propBWAp2Mp corresponds to the value propBWAp2Mp of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_propBWAp2Mp E_IETFInterfaces_InterfaceType = 204 // IETFInterfaces_InterfaceType_propCnls corresponds to the value propCnls of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_propCnls E_IETFInterfaces_InterfaceType = 205 // IETFInterfaces_InterfaceType_propDocsWirelessDownstream corresponds to the value propDocsWirelessDownstream of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_propDocsWirelessDownstream E_IETFInterfaces_InterfaceType = 206 // IETFInterfaces_InterfaceType_propDocsWirelessMaclayer corresponds to the value propDocsWirelessMaclayer of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_propDocsWirelessMaclayer E_IETFInterfaces_InterfaceType = 207 // IETFInterfaces_InterfaceType_propDocsWirelessUpstream corresponds to the value propDocsWirelessUpstream of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_propDocsWirelessUpstream E_IETFInterfaces_InterfaceType = 208 // IETFInterfaces_InterfaceType_propMultiplexor corresponds to the value propMultiplexor of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_propMultiplexor E_IETFInterfaces_InterfaceType = 209 // IETFInterfaces_InterfaceType_propPointToPointSerial corresponds to the value propPointToPointSerial of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_propPointToPointSerial E_IETFInterfaces_InterfaceType = 210 // IETFInterfaces_InterfaceType_propVirtual corresponds to the value propVirtual of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_propVirtual E_IETFInterfaces_InterfaceType = 211 // IETFInterfaces_InterfaceType_propWirelessP2P corresponds to the value propWirelessP2P of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_propWirelessP2P E_IETFInterfaces_InterfaceType = 212 // IETFInterfaces_InterfaceType_proteon10Mbit corresponds to the value proteon10Mbit of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_proteon10Mbit E_IETFInterfaces_InterfaceType = 213 // IETFInterfaces_InterfaceType_proteon80Mbit corresponds to the value proteon80Mbit of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_proteon80Mbit E_IETFInterfaces_InterfaceType = 214 // IETFInterfaces_InterfaceType_ptm corresponds to the value ptm of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_ptm E_IETFInterfaces_InterfaceType = 215 // IETFInterfaces_InterfaceType_q2931 corresponds to the value q2931 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_q2931 E_IETFInterfaces_InterfaceType = 216 // IETFInterfaces_InterfaceType_qam corresponds to the value qam of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_qam E_IETFInterfaces_InterfaceType = 217 // IETFInterfaces_InterfaceType_qllc corresponds to the value qllc of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_qllc E_IETFInterfaces_InterfaceType = 218 // IETFInterfaces_InterfaceType_radioMAC corresponds to the value radioMAC of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_radioMAC E_IETFInterfaces_InterfaceType = 219 // IETFInterfaces_InterfaceType_radsl corresponds to the value radsl of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_radsl E_IETFInterfaces_InterfaceType = 220 // IETFInterfaces_InterfaceType_reachDSL corresponds to the value reachDSL of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_reachDSL E_IETFInterfaces_InterfaceType = 221 // IETFInterfaces_InterfaceType_regular1822 corresponds to the value regular1822 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_regular1822 E_IETFInterfaces_InterfaceType = 222 // IETFInterfaces_InterfaceType_rfc1483 corresponds to the value rfc1483 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_rfc1483 E_IETFInterfaces_InterfaceType = 223 // IETFInterfaces_InterfaceType_rfc877x25 corresponds to the value rfc877x25 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_rfc877x25 E_IETFInterfaces_InterfaceType = 224 // IETFInterfaces_InterfaceType_rpr corresponds to the value rpr of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_rpr E_IETFInterfaces_InterfaceType = 225 // IETFInterfaces_InterfaceType_rs232 corresponds to the value rs232 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_rs232 E_IETFInterfaces_InterfaceType = 226 // IETFInterfaces_InterfaceType_rsrb corresponds to the value rsrb of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_rsrb E_IETFInterfaces_InterfaceType = 227 // IETFInterfaces_InterfaceType_sdci corresponds to the value sdci of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_sdci E_IETFInterfaces_InterfaceType = 228 // IETFInterfaces_InterfaceType_sdlc corresponds to the value sdlc of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_sdlc E_IETFInterfaces_InterfaceType = 229 // IETFInterfaces_InterfaceType_sdsl corresponds to the value sdsl of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_sdsl E_IETFInterfaces_InterfaceType = 230 // IETFInterfaces_InterfaceType_shdsl corresponds to the value shdsl of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_shdsl E_IETFInterfaces_InterfaceType = 231 // IETFInterfaces_InterfaceType_sip corresponds to the value sip of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_sip E_IETFInterfaces_InterfaceType = 232 // IETFInterfaces_InterfaceType_sipSig corresponds to the value sipSig of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_sipSig E_IETFInterfaces_InterfaceType = 233 // IETFInterfaces_InterfaceType_sipTg corresponds to the value sipTg of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_sipTg E_IETFInterfaces_InterfaceType = 234 // IETFInterfaces_InterfaceType_sixToFour corresponds to the value sixToFour of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_sixToFour E_IETFInterfaces_InterfaceType = 235 // IETFInterfaces_InterfaceType_slip corresponds to the value slip of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_slip E_IETFInterfaces_InterfaceType = 236 // IETFInterfaces_InterfaceType_smdsDxi corresponds to the value smdsDxi of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_smdsDxi E_IETFInterfaces_InterfaceType = 237 // IETFInterfaces_InterfaceType_smdsIcip corresponds to the value smdsIcip of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_smdsIcip E_IETFInterfaces_InterfaceType = 238 // IETFInterfaces_InterfaceType_softwareLoopback corresponds to the value softwareLoopback of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_softwareLoopback E_IETFInterfaces_InterfaceType = 239 // IETFInterfaces_InterfaceType_sonet corresponds to the value sonet of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_sonet E_IETFInterfaces_InterfaceType = 240 // IETFInterfaces_InterfaceType_sonetOverheadChannel corresponds to the value sonetOverheadChannel of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_sonetOverheadChannel E_IETFInterfaces_InterfaceType = 241 // IETFInterfaces_InterfaceType_sonetPath corresponds to the value sonetPath of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_sonetPath E_IETFInterfaces_InterfaceType = 242 // IETFInterfaces_InterfaceType_sonetVT corresponds to the value sonetVT of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_sonetVT E_IETFInterfaces_InterfaceType = 243 // IETFInterfaces_InterfaceType_srp corresponds to the value srp of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_srp E_IETFInterfaces_InterfaceType = 244 // IETFInterfaces_InterfaceType_ss7SigLink corresponds to the value ss7SigLink of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_ss7SigLink E_IETFInterfaces_InterfaceType = 245 // IETFInterfaces_InterfaceType_stackToStack corresponds to the value stackToStack of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_stackToStack E_IETFInterfaces_InterfaceType = 246 // IETFInterfaces_InterfaceType_starLan corresponds to the value starLan of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_starLan E_IETFInterfaces_InterfaceType = 247 // IETFInterfaces_InterfaceType_tdlc corresponds to the value tdlc of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_tdlc E_IETFInterfaces_InterfaceType = 248 // IETFInterfaces_InterfaceType_teLink corresponds to the value teLink of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_teLink E_IETFInterfaces_InterfaceType = 249 // IETFInterfaces_InterfaceType_termPad corresponds to the value termPad of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_termPad E_IETFInterfaces_InterfaceType = 250 // IETFInterfaces_InterfaceType_tr008 corresponds to the value tr008 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_tr008 E_IETFInterfaces_InterfaceType = 251 // IETFInterfaces_InterfaceType_transpHdlc corresponds to the value transpHdlc of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_transpHdlc E_IETFInterfaces_InterfaceType = 252 // IETFInterfaces_InterfaceType_tunnel corresponds to the value tunnel of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_tunnel E_IETFInterfaces_InterfaceType = 253 // IETFInterfaces_InterfaceType_ultra corresponds to the value ultra of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_ultra E_IETFInterfaces_InterfaceType = 254 // IETFInterfaces_InterfaceType_usb corresponds to the value usb of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_usb E_IETFInterfaces_InterfaceType = 255 // IETFInterfaces_InterfaceType_v11 corresponds to the value v11 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_v11 E_IETFInterfaces_InterfaceType = 256 // IETFInterfaces_InterfaceType_v35 corresponds to the value v35 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_v35 E_IETFInterfaces_InterfaceType = 257 // IETFInterfaces_InterfaceType_v36 corresponds to the value v36 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_v36 E_IETFInterfaces_InterfaceType = 258 // IETFInterfaces_InterfaceType_v37 corresponds to the value v37 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_v37 E_IETFInterfaces_InterfaceType = 259 // IETFInterfaces_InterfaceType_vdsl corresponds to the value vdsl of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_vdsl E_IETFInterfaces_InterfaceType = 260 // IETFInterfaces_InterfaceType_vdsl2 corresponds to the value vdsl2 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_vdsl2 E_IETFInterfaces_InterfaceType = 261 // IETFInterfaces_InterfaceType_virtualIpAddress corresponds to the value virtualIpAddress of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_virtualIpAddress E_IETFInterfaces_InterfaceType = 262 // IETFInterfaces_InterfaceType_virtualTg corresponds to the value virtualTg of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_virtualTg E_IETFInterfaces_InterfaceType = 263 // IETFInterfaces_InterfaceType_vmwareNicTeam corresponds to the value vmwareNicTeam of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_vmwareNicTeam E_IETFInterfaces_InterfaceType = 264 // IETFInterfaces_InterfaceType_vmwareVirtualNic corresponds to the value vmwareVirtualNic of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_vmwareVirtualNic E_IETFInterfaces_InterfaceType = 265 // IETFInterfaces_InterfaceType_voiceDID corresponds to the value voiceDID of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_voiceDID E_IETFInterfaces_InterfaceType = 266 // IETFInterfaces_InterfaceType_voiceEBS corresponds to the value voiceEBS of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_voiceEBS E_IETFInterfaces_InterfaceType = 267 // IETFInterfaces_InterfaceType_voiceEM corresponds to the value voiceEM of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_voiceEM E_IETFInterfaces_InterfaceType = 268 // IETFInterfaces_InterfaceType_voiceEMFGD corresponds to the value voiceEMFGD of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_voiceEMFGD E_IETFInterfaces_InterfaceType = 269 // IETFInterfaces_InterfaceType_voiceEncap corresponds to the value voiceEncap of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_voiceEncap E_IETFInterfaces_InterfaceType = 270 // IETFInterfaces_InterfaceType_voiceFGDEANA corresponds to the value voiceFGDEANA of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_voiceFGDEANA E_IETFInterfaces_InterfaceType = 271 // IETFInterfaces_InterfaceType_voiceFGDOS corresponds to the value voiceFGDOS of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_voiceFGDOS E_IETFInterfaces_InterfaceType = 272 // IETFInterfaces_InterfaceType_voiceFXO corresponds to the value voiceFXO of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_voiceFXO E_IETFInterfaces_InterfaceType = 273 // IETFInterfaces_InterfaceType_voiceFXS corresponds to the value voiceFXS of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_voiceFXS E_IETFInterfaces_InterfaceType = 274 // IETFInterfaces_InterfaceType_voiceOverAtm corresponds to the value voiceOverAtm of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_voiceOverAtm E_IETFInterfaces_InterfaceType = 275 // IETFInterfaces_InterfaceType_voiceOverCable corresponds to the value voiceOverCable of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_voiceOverCable E_IETFInterfaces_InterfaceType = 276 // IETFInterfaces_InterfaceType_voiceOverFrameRelay corresponds to the value voiceOverFrameRelay of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_voiceOverFrameRelay E_IETFInterfaces_InterfaceType = 277 // IETFInterfaces_InterfaceType_voiceOverIp corresponds to the value voiceOverIp of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_voiceOverIp E_IETFInterfaces_InterfaceType = 278 // IETFInterfaces_InterfaceType_wwanPP corresponds to the value wwanPP of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_wwanPP E_IETFInterfaces_InterfaceType = 279 // IETFInterfaces_InterfaceType_wwanPP2 corresponds to the value wwanPP2 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_wwanPP2 E_IETFInterfaces_InterfaceType = 280 // IETFInterfaces_InterfaceType_x213 corresponds to the value x213 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_x213 E_IETFInterfaces_InterfaceType = 281 // IETFInterfaces_InterfaceType_x25huntGroup corresponds to the value x25huntGroup of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_x25huntGroup E_IETFInterfaces_InterfaceType = 282 // IETFInterfaces_InterfaceType_x25mlp corresponds to the value x25mlp of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_x25mlp E_IETFInterfaces_InterfaceType = 283 // IETFInterfaces_InterfaceType_x25ple corresponds to the value x25ple of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_x25ple E_IETFInterfaces_InterfaceType = 284 // IETFInterfaces_InterfaceType_x86Laps corresponds to the value x86Laps of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_x86Laps E_IETFInterfaces_InterfaceType = 285 // IETFInterfaces_InterfaceType_xboxWireless corresponds to the value xboxWireless of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_xboxWireless E_IETFInterfaces_InterfaceType = 286 )
func (E_IETFInterfaces_InterfaceType) IsYANGGoEnum ¶
func (E_IETFInterfaces_InterfaceType) IsYANGGoEnum()
IsYANGGoEnum ensures that IETFInterfaces_InterfaceType implements the yang.GoEnum interface. This ensures that IETFInterfaces_InterfaceType can be identified as a mapped type for a YANG enumeration.
func (E_IETFInterfaces_InterfaceType) String ¶
func (e E_IETFInterfaces_InterfaceType) String() string
String returns a logging-friendly string for E_IETFInterfaces_InterfaceType.
func (E_IETFInterfaces_InterfaceType) ΛMap ¶
func (E_IETFInterfaces_InterfaceType) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with IETFInterfaces_InterfaceType.
type E_Icmpv4Types_CODE ¶
type E_Icmpv4Types_CODE int64
E_Icmpv4Types_CODE is a derived int64 type which is used to represent the enumerated node Icmpv4Types_CODE. An additional value named Icmpv4Types_CODE_UNSET is added to the enumeration which is used as the nil value, indicating that the enumeration was not explicitly set by the program importing the generated structures.
const ( // Icmpv4Types_CODE_UNSET corresponds to the value UNSET of Icmpv4Types_CODE Icmpv4Types_CODE_UNSET E_Icmpv4Types_CODE = 0 // Icmpv4Types_CODE_DST_UNREACHABLE_ADMIN_PROHIBITED corresponds to the value DST_UNREACHABLE_ADMIN_PROHIBITED of Icmpv4Types_CODE Icmpv4Types_CODE_DST_UNREACHABLE_ADMIN_PROHIBITED E_Icmpv4Types_CODE = 1 // Icmpv4Types_CODE_DST_UNREACHABLE_CANNOT_FRAGMENT corresponds to the value DST_UNREACHABLE_CANNOT_FRAGMENT of Icmpv4Types_CODE Icmpv4Types_CODE_DST_UNREACHABLE_CANNOT_FRAGMENT E_Icmpv4Types_CODE = 2 // Icmpv4Types_CODE_DST_UNREACHABLE_CODE corresponds to the value DST_UNREACHABLE_CODE of Icmpv4Types_CODE Icmpv4Types_CODE_DST_UNREACHABLE_CODE E_Icmpv4Types_CODE = 3 // Icmpv4Types_CODE_DST_UNREACHABLE_DST_HOST_ADMIN_PROHIBITED corresponds to the value DST_UNREACHABLE_DST_HOST_ADMIN_PROHIBITED of Icmpv4Types_CODE Icmpv4Types_CODE_DST_UNREACHABLE_DST_HOST_ADMIN_PROHIBITED E_Icmpv4Types_CODE = 4 // Icmpv4Types_CODE_DST_UNREACHABLE_DST_HOST_UNKNOWN corresponds to the value DST_UNREACHABLE_DST_HOST_UNKNOWN of Icmpv4Types_CODE Icmpv4Types_CODE_DST_UNREACHABLE_DST_HOST_UNKNOWN E_Icmpv4Types_CODE = 5 // Icmpv4Types_CODE_DST_UNREACHABLE_DST_NET_ADMIN_PROHIBITED corresponds to the value DST_UNREACHABLE_DST_NET_ADMIN_PROHIBITED of Icmpv4Types_CODE Icmpv4Types_CODE_DST_UNREACHABLE_DST_NET_ADMIN_PROHIBITED E_Icmpv4Types_CODE = 6 // Icmpv4Types_CODE_DST_UNREACHABLE_DST_NET_UNKNOWN corresponds to the value DST_UNREACHABLE_DST_NET_UNKNOWN of Icmpv4Types_CODE Icmpv4Types_CODE_DST_UNREACHABLE_DST_NET_UNKNOWN E_Icmpv4Types_CODE = 7 // Icmpv4Types_CODE_DST_UNREACHABLE_HOST corresponds to the value DST_UNREACHABLE_HOST of Icmpv4Types_CODE Icmpv4Types_CODE_DST_UNREACHABLE_HOST E_Icmpv4Types_CODE = 8 // Icmpv4Types_CODE_DST_UNREACHABLE_HOST_PRECEDENCE_VIOLATION corresponds to the value DST_UNREACHABLE_HOST_PRECEDENCE_VIOLATION of Icmpv4Types_CODE Icmpv4Types_CODE_DST_UNREACHABLE_HOST_PRECEDENCE_VIOLATION E_Icmpv4Types_CODE = 9 // Icmpv4Types_CODE_DST_UNREACHABLE_HOST_UNREACHABLE_FOR_TOS corresponds to the value DST_UNREACHABLE_HOST_UNREACHABLE_FOR_TOS of Icmpv4Types_CODE Icmpv4Types_CODE_DST_UNREACHABLE_HOST_UNREACHABLE_FOR_TOS E_Icmpv4Types_CODE = 10 // Icmpv4Types_CODE_DST_UNREACHABLE_NET corresponds to the value DST_UNREACHABLE_NET of Icmpv4Types_CODE Icmpv4Types_CODE_DST_UNREACHABLE_NET E_Icmpv4Types_CODE = 11 // Icmpv4Types_CODE_DST_UNREACHABLE_NET_UNREACHABLE_FOR_TOS corresponds to the value DST_UNREACHABLE_NET_UNREACHABLE_FOR_TOS of Icmpv4Types_CODE Icmpv4Types_CODE_DST_UNREACHABLE_NET_UNREACHABLE_FOR_TOS E_Icmpv4Types_CODE = 12 // Icmpv4Types_CODE_DST_UNREACHABLE_PORT corresponds to the value DST_UNREACHABLE_PORT of Icmpv4Types_CODE Icmpv4Types_CODE_DST_UNREACHABLE_PORT E_Icmpv4Types_CODE = 13 // Icmpv4Types_CODE_DST_UNREACHABLE_PRECEDENCE_CUTOFF corresponds to the value DST_UNREACHABLE_PRECEDENCE_CUTOFF of Icmpv4Types_CODE Icmpv4Types_CODE_DST_UNREACHABLE_PRECEDENCE_CUTOFF E_Icmpv4Types_CODE = 14 // Icmpv4Types_CODE_DST_UNREACHABLE_PROTOCOL corresponds to the value DST_UNREACHABLE_PROTOCOL of Icmpv4Types_CODE Icmpv4Types_CODE_DST_UNREACHABLE_PROTOCOL E_Icmpv4Types_CODE = 15 // Icmpv4Types_CODE_DST_UNREACHABLE_SRC_HOST_ISOLATED corresponds to the value DST_UNREACHABLE_SRC_HOST_ISOLATED of Icmpv4Types_CODE Icmpv4Types_CODE_DST_UNREACHABLE_SRC_HOST_ISOLATED E_Icmpv4Types_CODE = 16 // Icmpv4Types_CODE_DST_UNREACHABLE_SRC_ROUTE_FAILED corresponds to the value DST_UNREACHABLE_SRC_ROUTE_FAILED of Icmpv4Types_CODE Icmpv4Types_CODE_DST_UNREACHABLE_SRC_ROUTE_FAILED E_Icmpv4Types_CODE = 17 // Icmpv4Types_CODE_ECHO_CODE corresponds to the value ECHO_CODE of Icmpv4Types_CODE Icmpv4Types_CODE_ECHO_CODE E_Icmpv4Types_CODE = 18 // Icmpv4Types_CODE_ECHO_NO_CODE corresponds to the value ECHO_NO_CODE of Icmpv4Types_CODE Icmpv4Types_CODE_ECHO_NO_CODE E_Icmpv4Types_CODE = 19 // Icmpv4Types_CODE_ECHO_REPLY_CODE corresponds to the value ECHO_REPLY_CODE of Icmpv4Types_CODE Icmpv4Types_CODE_ECHO_REPLY_CODE E_Icmpv4Types_CODE = 20 // Icmpv4Types_CODE_ECHO_REPLY_NONE corresponds to the value ECHO_REPLY_NONE of Icmpv4Types_CODE Icmpv4Types_CODE_ECHO_REPLY_NONE E_Icmpv4Types_CODE = 21 // Icmpv4Types_CODE_EXT_ECHO_REPLY_CODE corresponds to the value EXT_ECHO_REPLY_CODE of Icmpv4Types_CODE Icmpv4Types_CODE_EXT_ECHO_REPLY_CODE E_Icmpv4Types_CODE = 22 // Icmpv4Types_CODE_EXT_ECHO_REPLY_MALFORMED_QUERY corresponds to the value EXT_ECHO_REPLY_MALFORMED_QUERY of Icmpv4Types_CODE Icmpv4Types_CODE_EXT_ECHO_REPLY_MALFORMED_QUERY E_Icmpv4Types_CODE = 23 // Icmpv4Types_CODE_EXT_ECHO_REPLY_MULTIPLE_INTF_SATISFY_QUERY corresponds to the value EXT_ECHO_REPLY_MULTIPLE_INTF_SATISFY_QUERY of Icmpv4Types_CODE Icmpv4Types_CODE_EXT_ECHO_REPLY_MULTIPLE_INTF_SATISFY_QUERY E_Icmpv4Types_CODE = 24 // Icmpv4Types_CODE_EXT_ECHO_REPLY_NO_ERROR corresponds to the value EXT_ECHO_REPLY_NO_ERROR of Icmpv4Types_CODE Icmpv4Types_CODE_EXT_ECHO_REPLY_NO_ERROR E_Icmpv4Types_CODE = 25 // Icmpv4Types_CODE_EXT_ECHO_REPLY_NO_SUB_TABLE_ENTRY corresponds to the value EXT_ECHO_REPLY_NO_SUB_TABLE_ENTRY of Icmpv4Types_CODE Icmpv4Types_CODE_EXT_ECHO_REPLY_NO_SUB_TABLE_ENTRY E_Icmpv4Types_CODE = 26 // Icmpv4Types_CODE_EXT_ECHO_REPLY_NO_SUCH_INTF corresponds to the value EXT_ECHO_REPLY_NO_SUCH_INTF of Icmpv4Types_CODE Icmpv4Types_CODE_EXT_ECHO_REPLY_NO_SUCH_INTF E_Icmpv4Types_CODE = 27 // Icmpv4Types_CODE_EXT_ECHO_REQUEST_CODE corresponds to the value EXT_ECHO_REQUEST_CODE of Icmpv4Types_CODE Icmpv4Types_CODE_EXT_ECHO_REQUEST_CODE E_Icmpv4Types_CODE = 28 // Icmpv4Types_CODE_EXT_ECHO_REQUEST_NO_ERROR corresponds to the value EXT_ECHO_REQUEST_NO_ERROR of Icmpv4Types_CODE Icmpv4Types_CODE_EXT_ECHO_REQUEST_NO_ERROR E_Icmpv4Types_CODE = 29 // Icmpv4Types_CODE_PARAM_PROBLEM_BAD_LENGTH corresponds to the value PARAM_PROBLEM_BAD_LENGTH of Icmpv4Types_CODE Icmpv4Types_CODE_PARAM_PROBLEM_BAD_LENGTH E_Icmpv4Types_CODE = 30 // Icmpv4Types_CODE_PARAM_PROBLEM_CODE corresponds to the value PARAM_PROBLEM_CODE of Icmpv4Types_CODE Icmpv4Types_CODE_PARAM_PROBLEM_CODE E_Icmpv4Types_CODE = 31 // Icmpv4Types_CODE_PARAM_PROBLEM_MISSING_REQ_OPTION corresponds to the value PARAM_PROBLEM_MISSING_REQ_OPTION of Icmpv4Types_CODE Icmpv4Types_CODE_PARAM_PROBLEM_MISSING_REQ_OPTION E_Icmpv4Types_CODE = 32 // Icmpv4Types_CODE_PARAM_PROBLEM_POINTER_INDICATES_ERR corresponds to the value PARAM_PROBLEM_POINTER_INDICATES_ERR of Icmpv4Types_CODE Icmpv4Types_CODE_PARAM_PROBLEM_POINTER_INDICATES_ERR E_Icmpv4Types_CODE = 33 // Icmpv4Types_CODE_PHOTURIS_AUTH_FAILED corresponds to the value PHOTURIS_AUTH_FAILED of Icmpv4Types_CODE Icmpv4Types_CODE_PHOTURIS_AUTH_FAILED E_Icmpv4Types_CODE = 34 // Icmpv4Types_CODE_PHOTURIS_BAD_SPI corresponds to the value PHOTURIS_BAD_SPI of Icmpv4Types_CODE Icmpv4Types_CODE_PHOTURIS_BAD_SPI E_Icmpv4Types_CODE = 35 // Icmpv4Types_CODE_PHOTURIS_CODE corresponds to the value PHOTURIS_CODE of Icmpv4Types_CODE Icmpv4Types_CODE_PHOTURIS_CODE E_Icmpv4Types_CODE = 36 // Icmpv4Types_CODE_PHOTURIS_DECOMPRESS_FAILED corresponds to the value PHOTURIS_DECOMPRESS_FAILED of Icmpv4Types_CODE Icmpv4Types_CODE_PHOTURIS_DECOMPRESS_FAILED E_Icmpv4Types_CODE = 37 // Icmpv4Types_CODE_PHOTURIS_DECRYPTION_FAILED corresponds to the value PHOTURIS_DECRYPTION_FAILED of Icmpv4Types_CODE Icmpv4Types_CODE_PHOTURIS_DECRYPTION_FAILED E_Icmpv4Types_CODE = 38 // Icmpv4Types_CODE_PHOTURIS_NEED_AUTHENTICATION corresponds to the value PHOTURIS_NEED_AUTHENTICATION of Icmpv4Types_CODE Icmpv4Types_CODE_PHOTURIS_NEED_AUTHENTICATION E_Icmpv4Types_CODE = 39 // Icmpv4Types_CODE_PHOTURIS_NEED_AUTHORIZATION corresponds to the value PHOTURIS_NEED_AUTHORIZATION of Icmpv4Types_CODE Icmpv4Types_CODE_PHOTURIS_NEED_AUTHORIZATION E_Icmpv4Types_CODE = 40 // Icmpv4Types_CODE_REDIRECT_CODE corresponds to the value REDIRECT_CODE of Icmpv4Types_CODE Icmpv4Types_CODE_REDIRECT_CODE E_Icmpv4Types_CODE = 41 // Icmpv4Types_CODE_REDIRECT_HOST corresponds to the value REDIRECT_HOST of Icmpv4Types_CODE Icmpv4Types_CODE_REDIRECT_HOST E_Icmpv4Types_CODE = 42 // Icmpv4Types_CODE_REDIRECT_NETWORK corresponds to the value REDIRECT_NETWORK of Icmpv4Types_CODE Icmpv4Types_CODE_REDIRECT_NETWORK E_Icmpv4Types_CODE = 43 // Icmpv4Types_CODE_REDIRECT_TOS_HOST corresponds to the value REDIRECT_TOS_HOST of Icmpv4Types_CODE Icmpv4Types_CODE_REDIRECT_TOS_HOST E_Icmpv4Types_CODE = 44 // Icmpv4Types_CODE_REDIRECT_TOS_NETWORK corresponds to the value REDIRECT_TOS_NETWORK of Icmpv4Types_CODE Icmpv4Types_CODE_REDIRECT_TOS_NETWORK E_Icmpv4Types_CODE = 45 // Icmpv4Types_CODE_ROUTER_ADVERTISEMENT_CODE corresponds to the value ROUTER_ADVERTISEMENT_CODE of Icmpv4Types_CODE Icmpv4Types_CODE_ROUTER_ADVERTISEMENT_CODE E_Icmpv4Types_CODE = 46 // Icmpv4Types_CODE_ROUTER_ADVERTISEMENT_DOES_NOT_ROUTE_COMMON corresponds to the value ROUTER_ADVERTISEMENT_DOES_NOT_ROUTE_COMMON of Icmpv4Types_CODE Icmpv4Types_CODE_ROUTER_ADVERTISEMENT_DOES_NOT_ROUTE_COMMON E_Icmpv4Types_CODE = 47 // Icmpv4Types_CODE_ROUTER_ADVERTISEMENT_NORMAL corresponds to the value ROUTER_ADVERTISEMENT_NORMAL of Icmpv4Types_CODE Icmpv4Types_CODE_ROUTER_ADVERTISEMENT_NORMAL E_Icmpv4Types_CODE = 48 // Icmpv4Types_CODE_ROUTER_SELECTION_CODE corresponds to the value ROUTER_SELECTION_CODE of Icmpv4Types_CODE Icmpv4Types_CODE_ROUTER_SELECTION_CODE E_Icmpv4Types_CODE = 49 // Icmpv4Types_CODE_ROUTER_SELECTION_NO_CODE corresponds to the value ROUTER_SELECTION_NO_CODE of Icmpv4Types_CODE Icmpv4Types_CODE_ROUTER_SELECTION_NO_CODE E_Icmpv4Types_CODE = 50 // Icmpv4Types_CODE_TIMESTAMP_CODE corresponds to the value TIMESTAMP_CODE of Icmpv4Types_CODE Icmpv4Types_CODE_TIMESTAMP_CODE E_Icmpv4Types_CODE = 51 // Icmpv4Types_CODE_TIMESTAMP_NO_CODE corresponds to the value TIMESTAMP_NO_CODE of Icmpv4Types_CODE Icmpv4Types_CODE_TIMESTAMP_NO_CODE E_Icmpv4Types_CODE = 52 // Icmpv4Types_CODE_TIMESTAMP_REPLY_CODE corresponds to the value TIMESTAMP_REPLY_CODE of Icmpv4Types_CODE Icmpv4Types_CODE_TIMESTAMP_REPLY_CODE E_Icmpv4Types_CODE = 53 // Icmpv4Types_CODE_TIMESTAMP_REPLY_NO_CODE corresponds to the value TIMESTAMP_REPLY_NO_CODE of Icmpv4Types_CODE Icmpv4Types_CODE_TIMESTAMP_REPLY_NO_CODE E_Icmpv4Types_CODE = 54 // Icmpv4Types_CODE_TIME_EXCEEDED_CODE corresponds to the value TIME_EXCEEDED_CODE of Icmpv4Types_CODE Icmpv4Types_CODE_TIME_EXCEEDED_CODE E_Icmpv4Types_CODE = 55 // Icmpv4Types_CODE_TIME_EXCEEDED_FRAGMENT_REASSEMBLY_IN_TRANSIT corresponds to the value TIME_EXCEEDED_FRAGMENT_REASSEMBLY_IN_TRANSIT of Icmpv4Types_CODE Icmpv4Types_CODE_TIME_EXCEEDED_FRAGMENT_REASSEMBLY_IN_TRANSIT E_Icmpv4Types_CODE = 56 // Icmpv4Types_CODE_TIME_EXCEEDED_IN_TRANSIT corresponds to the value TIME_EXCEEDED_IN_TRANSIT of Icmpv4Types_CODE Icmpv4Types_CODE_TIME_EXCEEDED_IN_TRANSIT E_Icmpv4Types_CODE = 57 )
func (E_Icmpv4Types_CODE) IsYANGGoEnum ¶
func (E_Icmpv4Types_CODE) IsYANGGoEnum()
IsYANGGoEnum ensures that Icmpv4Types_CODE implements the yang.GoEnum interface. This ensures that Icmpv4Types_CODE can be identified as a mapped type for a YANG enumeration.
func (E_Icmpv4Types_CODE) String ¶
func (e E_Icmpv4Types_CODE) String() string
String returns a logging-friendly string for E_Icmpv4Types_CODE.
func (E_Icmpv4Types_CODE) ΛMap ¶
func (E_Icmpv4Types_CODE) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with Icmpv4Types_CODE.
type E_Icmpv4Types_TYPE ¶
type E_Icmpv4Types_TYPE int64
E_Icmpv4Types_TYPE is a derived int64 type which is used to represent the enumerated node Icmpv4Types_TYPE. An additional value named Icmpv4Types_TYPE_UNSET is added to the enumeration which is used as the nil value, indicating that the enumeration was not explicitly set by the program importing the generated structures.
const ( // Icmpv4Types_TYPE_UNSET corresponds to the value UNSET of Icmpv4Types_TYPE Icmpv4Types_TYPE_UNSET E_Icmpv4Types_TYPE = 0 // Icmpv4Types_TYPE_DST_UNREACHABLE corresponds to the value DST_UNREACHABLE of Icmpv4Types_TYPE Icmpv4Types_TYPE_DST_UNREACHABLE E_Icmpv4Types_TYPE = 1 // Icmpv4Types_TYPE_ECHO corresponds to the value ECHO of Icmpv4Types_TYPE Icmpv4Types_TYPE_ECHO E_Icmpv4Types_TYPE = 2 // Icmpv4Types_TYPE_ECHO_REPLY corresponds to the value ECHO_REPLY of Icmpv4Types_TYPE Icmpv4Types_TYPE_ECHO_REPLY E_Icmpv4Types_TYPE = 3 // Icmpv4Types_TYPE_EXT_ECHO_REPLY corresponds to the value EXT_ECHO_REPLY of Icmpv4Types_TYPE Icmpv4Types_TYPE_EXT_ECHO_REPLY E_Icmpv4Types_TYPE = 4 // Icmpv4Types_TYPE_EXT_ECHO_REQUEST corresponds to the value EXT_ECHO_REQUEST of Icmpv4Types_TYPE Icmpv4Types_TYPE_EXT_ECHO_REQUEST E_Icmpv4Types_TYPE = 5 // Icmpv4Types_TYPE_PARAM_PROBLEM corresponds to the value PARAM_PROBLEM of Icmpv4Types_TYPE Icmpv4Types_TYPE_PARAM_PROBLEM E_Icmpv4Types_TYPE = 6 // Icmpv4Types_TYPE_PHOTURIS corresponds to the value PHOTURIS of Icmpv4Types_TYPE Icmpv4Types_TYPE_PHOTURIS E_Icmpv4Types_TYPE = 7 // Icmpv4Types_TYPE_REDIRECT corresponds to the value REDIRECT of Icmpv4Types_TYPE Icmpv4Types_TYPE_REDIRECT E_Icmpv4Types_TYPE = 8 // Icmpv4Types_TYPE_ROUTER_ADVERTISEMENT corresponds to the value ROUTER_ADVERTISEMENT of Icmpv4Types_TYPE Icmpv4Types_TYPE_ROUTER_ADVERTISEMENT E_Icmpv4Types_TYPE = 9 // Icmpv4Types_TYPE_ROUTER_SOLICITATION corresponds to the value ROUTER_SOLICITATION of Icmpv4Types_TYPE Icmpv4Types_TYPE_ROUTER_SOLICITATION E_Icmpv4Types_TYPE = 10 // Icmpv4Types_TYPE_TIMESTAMP corresponds to the value TIMESTAMP of Icmpv4Types_TYPE Icmpv4Types_TYPE_TIMESTAMP E_Icmpv4Types_TYPE = 11 // Icmpv4Types_TYPE_TIMESTAMP_REPLY corresponds to the value TIMESTAMP_REPLY of Icmpv4Types_TYPE Icmpv4Types_TYPE_TIMESTAMP_REPLY E_Icmpv4Types_TYPE = 12 // Icmpv4Types_TYPE_TIME_EXCEEDED corresponds to the value TIME_EXCEEDED of Icmpv4Types_TYPE Icmpv4Types_TYPE_TIME_EXCEEDED E_Icmpv4Types_TYPE = 13 // Icmpv4Types_TYPE_TRACEROUTE corresponds to the value TRACEROUTE of Icmpv4Types_TYPE Icmpv4Types_TYPE_TRACEROUTE E_Icmpv4Types_TYPE = 14 )
func (E_Icmpv4Types_TYPE) IsYANGGoEnum ¶
func (E_Icmpv4Types_TYPE) IsYANGGoEnum()
IsYANGGoEnum ensures that Icmpv4Types_TYPE implements the yang.GoEnum interface. This ensures that Icmpv4Types_TYPE can be identified as a mapped type for a YANG enumeration.
func (E_Icmpv4Types_TYPE) String ¶
func (e E_Icmpv4Types_TYPE) String() string
String returns a logging-friendly string for E_Icmpv4Types_TYPE.
func (E_Icmpv4Types_TYPE) ΛMap ¶
func (E_Icmpv4Types_TYPE) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with Icmpv4Types_TYPE.
type E_Icmpv6Types_CODE ¶
type E_Icmpv6Types_CODE int64
E_Icmpv6Types_CODE is a derived int64 type which is used to represent the enumerated node Icmpv6Types_CODE. An additional value named Icmpv6Types_CODE_UNSET is added to the enumeration which is used as the nil value, indicating that the enumeration was not explicitly set by the program importing the generated structures.
const ( // Icmpv6Types_CODE_UNSET corresponds to the value UNSET of Icmpv6Types_CODE Icmpv6Types_CODE_UNSET E_Icmpv6Types_CODE = 0 // Icmpv6Types_CODE_DST_UNREACHABLE_ADDR corresponds to the value DST_UNREACHABLE_ADDR of Icmpv6Types_CODE Icmpv6Types_CODE_DST_UNREACHABLE_ADDR E_Icmpv6Types_CODE = 1 // Icmpv6Types_CODE_DST_UNREACHABLE_BEYOND_SCOPE_OF_SRC corresponds to the value DST_UNREACHABLE_BEYOND_SCOPE_OF_SRC of Icmpv6Types_CODE Icmpv6Types_CODE_DST_UNREACHABLE_BEYOND_SCOPE_OF_SRC E_Icmpv6Types_CODE = 2 // Icmpv6Types_CODE_DST_UNREACHABLE_CODE corresponds to the value DST_UNREACHABLE_CODE of Icmpv6Types_CODE Icmpv6Types_CODE_DST_UNREACHABLE_CODE E_Icmpv6Types_CODE = 3 // Icmpv6Types_CODE_DST_UNREACHABLE_DST_ADMIN_PROHIBITED corresponds to the value DST_UNREACHABLE_DST_ADMIN_PROHIBITED of Icmpv6Types_CODE Icmpv6Types_CODE_DST_UNREACHABLE_DST_ADMIN_PROHIBITED E_Icmpv6Types_CODE = 4 // Icmpv6Types_CODE_DST_UNREACHABLE_ERR_IN_SRC_ROUTING_HDR corresponds to the value DST_UNREACHABLE_ERR_IN_SRC_ROUTING_HDR of Icmpv6Types_CODE Icmpv6Types_CODE_DST_UNREACHABLE_ERR_IN_SRC_ROUTING_HDR E_Icmpv6Types_CODE = 5 // Icmpv6Types_CODE_DST_UNREACHABLE_HDRS_TOO_LONG corresponds to the value DST_UNREACHABLE_HDRS_TOO_LONG of Icmpv6Types_CODE Icmpv6Types_CODE_DST_UNREACHABLE_HDRS_TOO_LONG E_Icmpv6Types_CODE = 6 // Icmpv6Types_CODE_DST_UNREACHABLE_NO_ROUTE_TO_DST corresponds to the value DST_UNREACHABLE_NO_ROUTE_TO_DST of Icmpv6Types_CODE Icmpv6Types_CODE_DST_UNREACHABLE_NO_ROUTE_TO_DST E_Icmpv6Types_CODE = 7 // Icmpv6Types_CODE_DST_UNREACHABLE_PORT corresponds to the value DST_UNREACHABLE_PORT of Icmpv6Types_CODE Icmpv6Types_CODE_DST_UNREACHABLE_PORT E_Icmpv6Types_CODE = 8 // Icmpv6Types_CODE_DST_UNREACHABLE_REJECT_ROUTE_TO_DST corresponds to the value DST_UNREACHABLE_REJECT_ROUTE_TO_DST of Icmpv6Types_CODE Icmpv6Types_CODE_DST_UNREACHABLE_REJECT_ROUTE_TO_DST E_Icmpv6Types_CODE = 9 // Icmpv6Types_CODE_DST_UNREACHABLE_SRC_ADDR_FAILED_POLICY corresponds to the value DST_UNREACHABLE_SRC_ADDR_FAILED_POLICY of Icmpv6Types_CODE Icmpv6Types_CODE_DST_UNREACHABLE_SRC_ADDR_FAILED_POLICY E_Icmpv6Types_CODE = 10 // Icmpv6Types_CODE_DUPLICATE_ADDRESS_REPLY_CODE corresponds to the value DUPLICATE_ADDRESS_REPLY_CODE of Icmpv6Types_CODE Icmpv6Types_CODE_DUPLICATE_ADDRESS_REPLY_CODE E_Icmpv6Types_CODE = 11 // Icmpv6Types_CODE_DUPLICATE_ADDRESS_REPLY_DAC corresponds to the value DUPLICATE_ADDRESS_REPLY_DAC of Icmpv6Types_CODE Icmpv6Types_CODE_DUPLICATE_ADDRESS_REPLY_DAC E_Icmpv6Types_CODE = 12 // Icmpv6Types_CODE_DUPLICATE_ADDRESS_REPLY_EDAC_ROVR128 corresponds to the value DUPLICATE_ADDRESS_REPLY_EDAC_ROVR128 of Icmpv6Types_CODE Icmpv6Types_CODE_DUPLICATE_ADDRESS_REPLY_EDAC_ROVR128 E_Icmpv6Types_CODE = 13 // Icmpv6Types_CODE_DUPLICATE_ADDRESS_REPLY_EDAC_ROVR192 corresponds to the value DUPLICATE_ADDRESS_REPLY_EDAC_ROVR192 of Icmpv6Types_CODE Icmpv6Types_CODE_DUPLICATE_ADDRESS_REPLY_EDAC_ROVR192 E_Icmpv6Types_CODE = 14 // Icmpv6Types_CODE_DUPLICATE_ADDRESS_REPLY_EDAC_ROVR256 corresponds to the value DUPLICATE_ADDRESS_REPLY_EDAC_ROVR256 of Icmpv6Types_CODE Icmpv6Types_CODE_DUPLICATE_ADDRESS_REPLY_EDAC_ROVR256 E_Icmpv6Types_CODE = 15 // Icmpv6Types_CODE_DUPLICATE_ADDRESS_REPLY_EDAC_ROVR64 corresponds to the value DUPLICATE_ADDRESS_REPLY_EDAC_ROVR64 of Icmpv6Types_CODE Icmpv6Types_CODE_DUPLICATE_ADDRESS_REPLY_EDAC_ROVR64 E_Icmpv6Types_CODE = 16 // Icmpv6Types_CODE_DUPLICATE_ADDRESS_REQUEST_CODE corresponds to the value DUPLICATE_ADDRESS_REQUEST_CODE of Icmpv6Types_CODE Icmpv6Types_CODE_DUPLICATE_ADDRESS_REQUEST_CODE E_Icmpv6Types_CODE = 17 // Icmpv6Types_CODE_DUPLICATE_ADDRESS_REQUEST_DAR corresponds to the value DUPLICATE_ADDRESS_REQUEST_DAR of Icmpv6Types_CODE Icmpv6Types_CODE_DUPLICATE_ADDRESS_REQUEST_DAR E_Icmpv6Types_CODE = 18 // Icmpv6Types_CODE_DUPLICATE_ADDRESS_REQUEST_EDAR_ROVR128 corresponds to the value DUPLICATE_ADDRESS_REQUEST_EDAR_ROVR128 of Icmpv6Types_CODE Icmpv6Types_CODE_DUPLICATE_ADDRESS_REQUEST_EDAR_ROVR128 E_Icmpv6Types_CODE = 19 // Icmpv6Types_CODE_DUPLICATE_ADDRESS_REQUEST_EDAR_ROVR192 corresponds to the value DUPLICATE_ADDRESS_REQUEST_EDAR_ROVR192 of Icmpv6Types_CODE Icmpv6Types_CODE_DUPLICATE_ADDRESS_REQUEST_EDAR_ROVR192 E_Icmpv6Types_CODE = 20 // Icmpv6Types_CODE_DUPLICATE_ADDRESS_REQUEST_EDAR_ROVR256 corresponds to the value DUPLICATE_ADDRESS_REQUEST_EDAR_ROVR256 of Icmpv6Types_CODE Icmpv6Types_CODE_DUPLICATE_ADDRESS_REQUEST_EDAR_ROVR256 E_Icmpv6Types_CODE = 21 // Icmpv6Types_CODE_DUPLICATE_ADDRESS_REQUEST_EDAR_ROVR64 corresponds to the value DUPLICATE_ADDRESS_REQUEST_EDAR_ROVR64 of Icmpv6Types_CODE Icmpv6Types_CODE_DUPLICATE_ADDRESS_REQUEST_EDAR_ROVR64 E_Icmpv6Types_CODE = 22 // Icmpv6Types_CODE_ECHO_REPLY_CODE corresponds to the value ECHO_REPLY_CODE of Icmpv6Types_CODE Icmpv6Types_CODE_ECHO_REPLY_CODE E_Icmpv6Types_CODE = 23 // Icmpv6Types_CODE_ECHO_REPLY_NO_CODE corresponds to the value ECHO_REPLY_NO_CODE of Icmpv6Types_CODE Icmpv6Types_CODE_ECHO_REPLY_NO_CODE E_Icmpv6Types_CODE = 24 // Icmpv6Types_CODE_ECHO_REQUEST_CODE corresponds to the value ECHO_REQUEST_CODE of Icmpv6Types_CODE Icmpv6Types_CODE_ECHO_REQUEST_CODE E_Icmpv6Types_CODE = 25 // Icmpv6Types_CODE_ECHO_REQUEST_NO_CODE corresponds to the value ECHO_REQUEST_NO_CODE of Icmpv6Types_CODE Icmpv6Types_CODE_ECHO_REQUEST_NO_CODE E_Icmpv6Types_CODE = 26 // Icmpv6Types_CODE_EXT_ECHO_REPLY_CODE corresponds to the value EXT_ECHO_REPLY_CODE of Icmpv6Types_CODE Icmpv6Types_CODE_EXT_ECHO_REPLY_CODE E_Icmpv6Types_CODE = 27 // Icmpv6Types_CODE_EXT_ECHO_REPLY_MALFORMED_QUERY corresponds to the value EXT_ECHO_REPLY_MALFORMED_QUERY of Icmpv6Types_CODE Icmpv6Types_CODE_EXT_ECHO_REPLY_MALFORMED_QUERY E_Icmpv6Types_CODE = 28 // Icmpv6Types_CODE_EXT_ECHO_REPLY_MULTIPLE_INTF_SATISFY_QUERY corresponds to the value EXT_ECHO_REPLY_MULTIPLE_INTF_SATISFY_QUERY of Icmpv6Types_CODE Icmpv6Types_CODE_EXT_ECHO_REPLY_MULTIPLE_INTF_SATISFY_QUERY E_Icmpv6Types_CODE = 29 // Icmpv6Types_CODE_EXT_ECHO_REPLY_NO_ERROR corresponds to the value EXT_ECHO_REPLY_NO_ERROR of Icmpv6Types_CODE Icmpv6Types_CODE_EXT_ECHO_REPLY_NO_ERROR E_Icmpv6Types_CODE = 30 // Icmpv6Types_CODE_EXT_ECHO_REPLY_NO_SUCH_INTERFACE corresponds to the value EXT_ECHO_REPLY_NO_SUCH_INTERFACE of Icmpv6Types_CODE Icmpv6Types_CODE_EXT_ECHO_REPLY_NO_SUCH_INTERFACE E_Icmpv6Types_CODE = 31 // Icmpv6Types_CODE_EXT_ECHO_REPLY_NO_SUCH_TABLE_ENTRY corresponds to the value EXT_ECHO_REPLY_NO_SUCH_TABLE_ENTRY of Icmpv6Types_CODE Icmpv6Types_CODE_EXT_ECHO_REPLY_NO_SUCH_TABLE_ENTRY E_Icmpv6Types_CODE = 32 // Icmpv6Types_CODE_EXT_ECHO_REQUEST_CODE corresponds to the value EXT_ECHO_REQUEST_CODE of Icmpv6Types_CODE Icmpv6Types_CODE_EXT_ECHO_REQUEST_CODE E_Icmpv6Types_CODE = 33 // Icmpv6Types_CODE_EXT_ECHO_REQUEST_NO_ERROR corresponds to the value EXT_ECHO_REQUEST_NO_ERROR of Icmpv6Types_CODE Icmpv6Types_CODE_EXT_ECHO_REQUEST_NO_ERROR E_Icmpv6Types_CODE = 34 // Icmpv6Types_CODE_HOME_AGENT_ADDRESS_DISCOVERY_REPLY_CODE corresponds to the value HOME_AGENT_ADDRESS_DISCOVERY_REPLY_CODE of Icmpv6Types_CODE Icmpv6Types_CODE_HOME_AGENT_ADDRESS_DISCOVERY_REPLY_CODE E_Icmpv6Types_CODE = 35 // Icmpv6Types_CODE_HOME_AGENT_ADDRESS_DISCOVERY_REPLY_NO_CODE corresponds to the value HOME_AGENT_ADDRESS_DISCOVERY_REPLY_NO_CODE of Icmpv6Types_CODE Icmpv6Types_CODE_HOME_AGENT_ADDRESS_DISCOVERY_REPLY_NO_CODE E_Icmpv6Types_CODE = 36 // Icmpv6Types_CODE_HOME_AGENT_ADDRESS_DISCOVERY_REQUEST_CODE corresponds to the value HOME_AGENT_ADDRESS_DISCOVERY_REQUEST_CODE of Icmpv6Types_CODE Icmpv6Types_CODE_HOME_AGENT_ADDRESS_DISCOVERY_REQUEST_CODE E_Icmpv6Types_CODE = 37 // Icmpv6Types_CODE_HOME_AGENT_ADDRESS_DISCOVERY_REQUEST_NO_CODE corresponds to the value HOME_AGENT_ADDRESS_DISCOVERY_REQUEST_NO_CODE of Icmpv6Types_CODE Icmpv6Types_CODE_HOME_AGENT_ADDRESS_DISCOVERY_REQUEST_NO_CODE E_Icmpv6Types_CODE = 38 // Icmpv6Types_CODE_INVERSE_NEIGHBOR_ADVERTISEMENT_CODE corresponds to the value INVERSE_NEIGHBOR_ADVERTISEMENT_CODE of Icmpv6Types_CODE Icmpv6Types_CODE_INVERSE_NEIGHBOR_ADVERTISEMENT_CODE E_Icmpv6Types_CODE = 39 // Icmpv6Types_CODE_INVERSE_NEIGHBOR_ADVERTISEMENT_NO_CODE corresponds to the value INVERSE_NEIGHBOR_ADVERTISEMENT_NO_CODE of Icmpv6Types_CODE Icmpv6Types_CODE_INVERSE_NEIGHBOR_ADVERTISEMENT_NO_CODE E_Icmpv6Types_CODE = 40 // Icmpv6Types_CODE_INVERSE_NEIGHBOR_SOLICITATION_CODE corresponds to the value INVERSE_NEIGHBOR_SOLICITATION_CODE of Icmpv6Types_CODE Icmpv6Types_CODE_INVERSE_NEIGHBOR_SOLICITATION_CODE E_Icmpv6Types_CODE = 41 // Icmpv6Types_CODE_INVERSE_NEIGHBOR_SOLICITATION_NO_CODE corresponds to the value INVERSE_NEIGHBOR_SOLICITATION_NO_CODE of Icmpv6Types_CODE Icmpv6Types_CODE_INVERSE_NEIGHBOR_SOLICITATION_NO_CODE E_Icmpv6Types_CODE = 42 // Icmpv6Types_CODE_MOBILE_PREFIX_ADVERTISEMENT_CODE corresponds to the value MOBILE_PREFIX_ADVERTISEMENT_CODE of Icmpv6Types_CODE Icmpv6Types_CODE_MOBILE_PREFIX_ADVERTISEMENT_CODE E_Icmpv6Types_CODE = 43 // Icmpv6Types_CODE_MOBILE_PREFIX_ADVERTISEMENT_NO_CODE corresponds to the value MOBILE_PREFIX_ADVERTISEMENT_NO_CODE of Icmpv6Types_CODE Icmpv6Types_CODE_MOBILE_PREFIX_ADVERTISEMENT_NO_CODE E_Icmpv6Types_CODE = 44 // Icmpv6Types_CODE_MOBILE_PREFIX_SOLICITATION_CODE corresponds to the value MOBILE_PREFIX_SOLICITATION_CODE of Icmpv6Types_CODE Icmpv6Types_CODE_MOBILE_PREFIX_SOLICITATION_CODE E_Icmpv6Types_CODE = 45 // Icmpv6Types_CODE_MOBILE_PREFIX_SOLICITATION_NO_CODE corresponds to the value MOBILE_PREFIX_SOLICITATION_NO_CODE of Icmpv6Types_CODE Icmpv6Types_CODE_MOBILE_PREFIX_SOLICITATION_NO_CODE E_Icmpv6Types_CODE = 46 // Icmpv6Types_CODE_MULTICAST_LISTENER_DONE_CODE corresponds to the value MULTICAST_LISTENER_DONE_CODE of Icmpv6Types_CODE Icmpv6Types_CODE_MULTICAST_LISTENER_DONE_CODE E_Icmpv6Types_CODE = 47 // Icmpv6Types_CODE_MULTICAST_LISTENER_DONE_NO_CODE corresponds to the value MULTICAST_LISTENER_DONE_NO_CODE of Icmpv6Types_CODE Icmpv6Types_CODE_MULTICAST_LISTENER_DONE_NO_CODE E_Icmpv6Types_CODE = 48 // Icmpv6Types_CODE_MULTICAST_LISTENER_QUERY_CODE corresponds to the value MULTICAST_LISTENER_QUERY_CODE of Icmpv6Types_CODE Icmpv6Types_CODE_MULTICAST_LISTENER_QUERY_CODE E_Icmpv6Types_CODE = 49 // Icmpv6Types_CODE_MULTICAST_LISTENER_QUERY_NO_CODE corresponds to the value MULTICAST_LISTENER_QUERY_NO_CODE of Icmpv6Types_CODE Icmpv6Types_CODE_MULTICAST_LISTENER_QUERY_NO_CODE E_Icmpv6Types_CODE = 50 // Icmpv6Types_CODE_MULTICAST_LISTENER_REPORT_CODE corresponds to the value MULTICAST_LISTENER_REPORT_CODE of Icmpv6Types_CODE Icmpv6Types_CODE_MULTICAST_LISTENER_REPORT_CODE E_Icmpv6Types_CODE = 51 // Icmpv6Types_CODE_MULTICAST_LISTENER_REPORT_NO_CODE corresponds to the value MULTICAST_LISTENER_REPORT_NO_CODE of Icmpv6Types_CODE Icmpv6Types_CODE_MULTICAST_LISTENER_REPORT_NO_CODE E_Icmpv6Types_CODE = 52 // Icmpv6Types_CODE_NDDE_INFORMATION_RESPONSE_CODE corresponds to the value NDDE_INFORMATION_RESPONSE_CODE of Icmpv6Types_CODE Icmpv6Types_CODE_NDDE_INFORMATION_RESPONSE_CODE E_Icmpv6Types_CODE = 53 // Icmpv6Types_CODE_NEIGHBOR_ADVERTISEMENT_CODE corresponds to the value NEIGHBOR_ADVERTISEMENT_CODE of Icmpv6Types_CODE Icmpv6Types_CODE_NEIGHBOR_ADVERTISEMENT_CODE E_Icmpv6Types_CODE = 54 // Icmpv6Types_CODE_NEIGHBOR_ADVERTISEMENT_NO_CODE corresponds to the value NEIGHBOR_ADVERTISEMENT_NO_CODE of Icmpv6Types_CODE Icmpv6Types_CODE_NEIGHBOR_ADVERTISEMENT_NO_CODE E_Icmpv6Types_CODE = 55 // Icmpv6Types_CODE_NEIGHBOR_SOLICITATION_CODE corresponds to the value NEIGHBOR_SOLICITATION_CODE of Icmpv6Types_CODE Icmpv6Types_CODE_NEIGHBOR_SOLICITATION_CODE E_Icmpv6Types_CODE = 56 // Icmpv6Types_CODE_NEIGHBOR_SOLICITATION_NO_CODE corresponds to the value NEIGHBOR_SOLICITATION_NO_CODE of Icmpv6Types_CODE Icmpv6Types_CODE_NEIGHBOR_SOLICITATION_NO_CODE E_Icmpv6Types_CODE = 57 // Icmpv6Types_CODE_NODE_INFORMATION_QUERY_CODE corresponds to the value NODE_INFORMATION_QUERY_CODE of Icmpv6Types_CODE Icmpv6Types_CODE_NODE_INFORMATION_QUERY_CODE E_Icmpv6Types_CODE = 58 // Icmpv6Types_CODE_NODE_INFORMATION_QUERY_IPV4_ADDR corresponds to the value NODE_INFORMATION_QUERY_IPV4_ADDR of Icmpv6Types_CODE Icmpv6Types_CODE_NODE_INFORMATION_QUERY_IPV4_ADDR E_Icmpv6Types_CODE = 59 // Icmpv6Types_CODE_NODE_INFORMATION_QUERY_IPV6_ADDR corresponds to the value NODE_INFORMATION_QUERY_IPV6_ADDR of Icmpv6Types_CODE Icmpv6Types_CODE_NODE_INFORMATION_QUERY_IPV6_ADDR E_Icmpv6Types_CODE = 60 // Icmpv6Types_CODE_NODE_INFORMATION_QUERY_NAME corresponds to the value NODE_INFORMATION_QUERY_NAME of Icmpv6Types_CODE Icmpv6Types_CODE_NODE_INFORMATION_QUERY_NAME E_Icmpv6Types_CODE = 61 // Icmpv6Types_CODE_NODE_INFORMATION_RESPONSE_REFUSED corresponds to the value NODE_INFORMATION_RESPONSE_REFUSED of Icmpv6Types_CODE Icmpv6Types_CODE_NODE_INFORMATION_RESPONSE_REFUSED E_Icmpv6Types_CODE = 62 // Icmpv6Types_CODE_NODE_INFORMATION_RESPONSE_SUCCESS corresponds to the value NODE_INFORMATION_RESPONSE_SUCCESS of Icmpv6Types_CODE Icmpv6Types_CODE_NODE_INFORMATION_RESPONSE_SUCCESS E_Icmpv6Types_CODE = 63 // Icmpv6Types_CODE_NODE_INFORMATION_RESPONSE_UNKNOWN corresponds to the value NODE_INFORMATION_RESPONSE_UNKNOWN of Icmpv6Types_CODE Icmpv6Types_CODE_NODE_INFORMATION_RESPONSE_UNKNOWN E_Icmpv6Types_CODE = 64 // Icmpv6Types_CODE_PACKET_TOO_BIG_CODE corresponds to the value PACKET_TOO_BIG_CODE of Icmpv6Types_CODE Icmpv6Types_CODE_PACKET_TOO_BIG_CODE E_Icmpv6Types_CODE = 65 // Icmpv6Types_CODE_PACKET_TOO_BIG_NO_CODE corresponds to the value PACKET_TOO_BIG_NO_CODE of Icmpv6Types_CODE Icmpv6Types_CODE_PACKET_TOO_BIG_NO_CODE E_Icmpv6Types_CODE = 66 // Icmpv6Types_CODE_PARAM_PROBLEM_CODE corresponds to the value PARAM_PROBLEM_CODE of Icmpv6Types_CODE Icmpv6Types_CODE_PARAM_PROBLEM_CODE E_Icmpv6Types_CODE = 67 // Icmpv6Types_CODE_PARAM_PROBLEM_ERR_HDR_FIELD corresponds to the value PARAM_PROBLEM_ERR_HDR_FIELD of Icmpv6Types_CODE Icmpv6Types_CODE_PARAM_PROBLEM_ERR_HDR_FIELD E_Icmpv6Types_CODE = 68 // Icmpv6Types_CODE_PARAM_PROBLEM_EXT_HDR_CHAIN_TOO_LONG corresponds to the value PARAM_PROBLEM_EXT_HDR_CHAIN_TOO_LONG of Icmpv6Types_CODE Icmpv6Types_CODE_PARAM_PROBLEM_EXT_HDR_CHAIN_TOO_LONG E_Icmpv6Types_CODE = 69 // Icmpv6Types_CODE_PARAM_PROBLEM_EXT_HDR_TOO_BIG corresponds to the value PARAM_PROBLEM_EXT_HDR_TOO_BIG of Icmpv6Types_CODE Icmpv6Types_CODE_PARAM_PROBLEM_EXT_HDR_TOO_BIG E_Icmpv6Types_CODE = 70 // Icmpv6Types_CODE_PARAM_PROBLEM_INCOMPLETE_HDR_CHAIN corresponds to the value PARAM_PROBLEM_INCOMPLETE_HDR_CHAIN of Icmpv6Types_CODE Icmpv6Types_CODE_PARAM_PROBLEM_INCOMPLETE_HDR_CHAIN E_Icmpv6Types_CODE = 71 // Icmpv6Types_CODE_PARAM_PROBLEM_OPT_TOO_BIG corresponds to the value PARAM_PROBLEM_OPT_TOO_BIG of Icmpv6Types_CODE Icmpv6Types_CODE_PARAM_PROBLEM_OPT_TOO_BIG E_Icmpv6Types_CODE = 72 // Icmpv6Types_CODE_PARAM_PROBLEM_SR_UPPER_HDR_ERR corresponds to the value PARAM_PROBLEM_SR_UPPER_HDR_ERR of Icmpv6Types_CODE Icmpv6Types_CODE_PARAM_PROBLEM_SR_UPPER_HDR_ERR E_Icmpv6Types_CODE = 73 // Icmpv6Types_CODE_PARAM_PROBLEM_TOO_MANY_EXT_HDRS corresponds to the value PARAM_PROBLEM_TOO_MANY_EXT_HDRS of Icmpv6Types_CODE Icmpv6Types_CODE_PARAM_PROBLEM_TOO_MANY_EXT_HDRS E_Icmpv6Types_CODE = 74 // Icmpv6Types_CODE_PARAM_PROBLEM_TOO_MANY_OPTS corresponds to the value PARAM_PROBLEM_TOO_MANY_OPTS of Icmpv6Types_CODE Icmpv6Types_CODE_PARAM_PROBLEM_TOO_MANY_OPTS E_Icmpv6Types_CODE = 75 // Icmpv6Types_CODE_PARAM_PROBLEM_UNRECOGNIZED_IPV6_OPT corresponds to the value PARAM_PROBLEM_UNRECOGNIZED_IPV6_OPT of Icmpv6Types_CODE Icmpv6Types_CODE_PARAM_PROBLEM_UNRECOGNIZED_IPV6_OPT E_Icmpv6Types_CODE = 76 // Icmpv6Types_CODE_PARAM_PROBLEM_UNRECOGNIZED_NET_HDR_TYPE corresponds to the value PARAM_PROBLEM_UNRECOGNIZED_NET_HDR_TYPE of Icmpv6Types_CODE Icmpv6Types_CODE_PARAM_PROBLEM_UNRECOGNIZED_NET_HDR_TYPE E_Icmpv6Types_CODE = 77 // Icmpv6Types_CODE_PARAM_PROBLEM_UNRECOGNIZED_NEXT_HDR_TYPE corresponds to the value PARAM_PROBLEM_UNRECOGNIZED_NEXT_HDR_TYPE of Icmpv6Types_CODE Icmpv6Types_CODE_PARAM_PROBLEM_UNRECOGNIZED_NEXT_HDR_TYPE E_Icmpv6Types_CODE = 78 // Icmpv6Types_CODE_REDIRECT_CODE corresponds to the value REDIRECT_CODE of Icmpv6Types_CODE Icmpv6Types_CODE_REDIRECT_CODE E_Icmpv6Types_CODE = 79 // Icmpv6Types_CODE_REDIRECT_NO_CODE corresponds to the value REDIRECT_NO_CODE of Icmpv6Types_CODE Icmpv6Types_CODE_REDIRECT_NO_CODE E_Icmpv6Types_CODE = 80 // Icmpv6Types_CODE_RENUMBERING_CODE corresponds to the value RENUMBERING_CODE of Icmpv6Types_CODE Icmpv6Types_CODE_RENUMBERING_CODE E_Icmpv6Types_CODE = 81 // Icmpv6Types_CODE_RENUMBERING_COMMAND corresponds to the value RENUMBERING_COMMAND of Icmpv6Types_CODE Icmpv6Types_CODE_RENUMBERING_COMMAND E_Icmpv6Types_CODE = 82 // Icmpv6Types_CODE_RENUNBERING_RESULT corresponds to the value RENUNBERING_RESULT of Icmpv6Types_CODE Icmpv6Types_CODE_RENUNBERING_RESULT E_Icmpv6Types_CODE = 83 // Icmpv6Types_CODE_RENUNBERING_SEQ_NUM_RESET corresponds to the value RENUNBERING_SEQ_NUM_RESET of Icmpv6Types_CODE Icmpv6Types_CODE_RENUNBERING_SEQ_NUM_RESET E_Icmpv6Types_CODE = 84 // Icmpv6Types_CODE_ROUTER_ADVERTISEMENT_CODE corresponds to the value ROUTER_ADVERTISEMENT_CODE of Icmpv6Types_CODE Icmpv6Types_CODE_ROUTER_ADVERTISEMENT_CODE E_Icmpv6Types_CODE = 85 // Icmpv6Types_CODE_ROUTER_ADVERTISEMENT_NO_CODE corresponds to the value ROUTER_ADVERTISEMENT_NO_CODE of Icmpv6Types_CODE Icmpv6Types_CODE_ROUTER_ADVERTISEMENT_NO_CODE E_Icmpv6Types_CODE = 86 // Icmpv6Types_CODE_ROUTER_SOLICITATION_CODE corresponds to the value ROUTER_SOLICITATION_CODE of Icmpv6Types_CODE Icmpv6Types_CODE_ROUTER_SOLICITATION_CODE E_Icmpv6Types_CODE = 87 // Icmpv6Types_CODE_ROUTER_SOLICITATION_NO_CODE corresponds to the value ROUTER_SOLICITATION_NO_CODE of Icmpv6Types_CODE Icmpv6Types_CODE_ROUTER_SOLICITATION_NO_CODE E_Icmpv6Types_CODE = 88 // Icmpv6Types_CODE_TIME_EXCEEDED_CODE corresponds to the value TIME_EXCEEDED_CODE of Icmpv6Types_CODE Icmpv6Types_CODE_TIME_EXCEEDED_CODE E_Icmpv6Types_CODE = 89 // Icmpv6Types_CODE_TIME_EXCEEDED_FRAGMENT_REASSEMBLY corresponds to the value TIME_EXCEEDED_FRAGMENT_REASSEMBLY of Icmpv6Types_CODE Icmpv6Types_CODE_TIME_EXCEEDED_FRAGMENT_REASSEMBLY E_Icmpv6Types_CODE = 90 // Icmpv6Types_CODE_TIME_EXCEEDED_HOP_LIMIT corresponds to the value TIME_EXCEEDED_HOP_LIMIT of Icmpv6Types_CODE Icmpv6Types_CODE_TIME_EXCEEDED_HOP_LIMIT E_Icmpv6Types_CODE = 91 )
func (E_Icmpv6Types_CODE) IsYANGGoEnum ¶
func (E_Icmpv6Types_CODE) IsYANGGoEnum()
IsYANGGoEnum ensures that Icmpv6Types_CODE implements the yang.GoEnum interface. This ensures that Icmpv6Types_CODE can be identified as a mapped type for a YANG enumeration.
func (E_Icmpv6Types_CODE) String ¶
func (e E_Icmpv6Types_CODE) String() string
String returns a logging-friendly string for E_Icmpv6Types_CODE.
func (E_Icmpv6Types_CODE) ΛMap ¶
func (E_Icmpv6Types_CODE) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with Icmpv6Types_CODE.
type E_Icmpv6Types_TYPE ¶
type E_Icmpv6Types_TYPE int64
E_Icmpv6Types_TYPE is a derived int64 type which is used to represent the enumerated node Icmpv6Types_TYPE. An additional value named Icmpv6Types_TYPE_UNSET is added to the enumeration which is used as the nil value, indicating that the enumeration was not explicitly set by the program importing the generated structures.
const ( // Icmpv6Types_TYPE_UNSET corresponds to the value UNSET of Icmpv6Types_TYPE Icmpv6Types_TYPE_UNSET E_Icmpv6Types_TYPE = 0 // Icmpv6Types_TYPE_CERTIFICATION_PATH_ADVERTISEMENT corresponds to the value CERTIFICATION_PATH_ADVERTISEMENT of Icmpv6Types_TYPE Icmpv6Types_TYPE_CERTIFICATION_PATH_ADVERTISEMENT E_Icmpv6Types_TYPE = 1 // Icmpv6Types_TYPE_CERTIFICATION_PATH_SOLICITATION corresponds to the value CERTIFICATION_PATH_SOLICITATION of Icmpv6Types_TYPE Icmpv6Types_TYPE_CERTIFICATION_PATH_SOLICITATION E_Icmpv6Types_TYPE = 2 // Icmpv6Types_TYPE_DESTINATION_UNREACHABLE corresponds to the value DESTINATION_UNREACHABLE of Icmpv6Types_TYPE Icmpv6Types_TYPE_DESTINATION_UNREACHABLE E_Icmpv6Types_TYPE = 3 // Icmpv6Types_TYPE_DUPLICATE_ADDRESS_CONFIRMATION corresponds to the value DUPLICATE_ADDRESS_CONFIRMATION of Icmpv6Types_TYPE Icmpv6Types_TYPE_DUPLICATE_ADDRESS_CONFIRMATION E_Icmpv6Types_TYPE = 4 // Icmpv6Types_TYPE_DUPLICATE_ADDRESS_REQUEST corresponds to the value DUPLICATE_ADDRESS_REQUEST of Icmpv6Types_TYPE Icmpv6Types_TYPE_DUPLICATE_ADDRESS_REQUEST E_Icmpv6Types_TYPE = 5 // Icmpv6Types_TYPE_ECHO_REPLY corresponds to the value ECHO_REPLY of Icmpv6Types_TYPE Icmpv6Types_TYPE_ECHO_REPLY E_Icmpv6Types_TYPE = 6 // Icmpv6Types_TYPE_ECHO_REQUEST corresponds to the value ECHO_REQUEST of Icmpv6Types_TYPE Icmpv6Types_TYPE_ECHO_REQUEST E_Icmpv6Types_TYPE = 7 // Icmpv6Types_TYPE_EXT_ECHO_REPLY corresponds to the value EXT_ECHO_REPLY of Icmpv6Types_TYPE Icmpv6Types_TYPE_EXT_ECHO_REPLY E_Icmpv6Types_TYPE = 8 // Icmpv6Types_TYPE_EXT_ECHO_REQUEST corresponds to the value EXT_ECHO_REQUEST of Icmpv6Types_TYPE Icmpv6Types_TYPE_EXT_ECHO_REQUEST E_Icmpv6Types_TYPE = 9 // Icmpv6Types_TYPE_FMIPV6 corresponds to the value FMIPV6 of Icmpv6Types_TYPE Icmpv6Types_TYPE_FMIPV6 E_Icmpv6Types_TYPE = 10 // Icmpv6Types_TYPE_HOME_AGENT_ADDRESS_DISCOVERY_REPLY corresponds to the value HOME_AGENT_ADDRESS_DISCOVERY_REPLY of Icmpv6Types_TYPE Icmpv6Types_TYPE_HOME_AGENT_ADDRESS_DISCOVERY_REPLY E_Icmpv6Types_TYPE = 11 // Icmpv6Types_TYPE_HOME_AGENT_ADDRESS_DISCOVERY_REQUEST corresponds to the value HOME_AGENT_ADDRESS_DISCOVERY_REQUEST of Icmpv6Types_TYPE Icmpv6Types_TYPE_HOME_AGENT_ADDRESS_DISCOVERY_REQUEST E_Icmpv6Types_TYPE = 12 // Icmpv6Types_TYPE_ILNPV6_LOCATOR_UPDATE corresponds to the value ILNPV6_LOCATOR_UPDATE of Icmpv6Types_TYPE Icmpv6Types_TYPE_ILNPV6_LOCATOR_UPDATE E_Icmpv6Types_TYPE = 13 // Icmpv6Types_TYPE_INVERSE_NEIGHBOR_ADVERTISEMENT corresponds to the value INVERSE_NEIGHBOR_ADVERTISEMENT of Icmpv6Types_TYPE Icmpv6Types_TYPE_INVERSE_NEIGHBOR_ADVERTISEMENT E_Icmpv6Types_TYPE = 14 // Icmpv6Types_TYPE_INVERSE_NEIGHBOR_SOLICITATION corresponds to the value INVERSE_NEIGHBOR_SOLICITATION of Icmpv6Types_TYPE Icmpv6Types_TYPE_INVERSE_NEIGHBOR_SOLICITATION E_Icmpv6Types_TYPE = 15 // Icmpv6Types_TYPE_MOBILE_PREFIX_ADVERTISEMENT corresponds to the value MOBILE_PREFIX_ADVERTISEMENT of Icmpv6Types_TYPE Icmpv6Types_TYPE_MOBILE_PREFIX_ADVERTISEMENT E_Icmpv6Types_TYPE = 16 // Icmpv6Types_TYPE_MOBILE_PREFIX_SOLICITATION corresponds to the value MOBILE_PREFIX_SOLICITATION of Icmpv6Types_TYPE Icmpv6Types_TYPE_MOBILE_PREFIX_SOLICITATION E_Icmpv6Types_TYPE = 17 // Icmpv6Types_TYPE_MPL_CONTROL corresponds to the value MPL_CONTROL of Icmpv6Types_TYPE Icmpv6Types_TYPE_MPL_CONTROL E_Icmpv6Types_TYPE = 18 // Icmpv6Types_TYPE_MULTICAST_LISTENER_DONE corresponds to the value MULTICAST_LISTENER_DONE of Icmpv6Types_TYPE Icmpv6Types_TYPE_MULTICAST_LISTENER_DONE E_Icmpv6Types_TYPE = 19 // Icmpv6Types_TYPE_MULTICAST_LISTENER_QUERY corresponds to the value MULTICAST_LISTENER_QUERY of Icmpv6Types_TYPE Icmpv6Types_TYPE_MULTICAST_LISTENER_QUERY E_Icmpv6Types_TYPE = 20 // Icmpv6Types_TYPE_MULTICAST_LISTENER_REPORT corresponds to the value MULTICAST_LISTENER_REPORT of Icmpv6Types_TYPE Icmpv6Types_TYPE_MULTICAST_LISTENER_REPORT E_Icmpv6Types_TYPE = 21 // Icmpv6Types_TYPE_MULTICAST_ROUTER_ADVERTISEMENT corresponds to the value MULTICAST_ROUTER_ADVERTISEMENT of Icmpv6Types_TYPE Icmpv6Types_TYPE_MULTICAST_ROUTER_ADVERTISEMENT E_Icmpv6Types_TYPE = 22 // Icmpv6Types_TYPE_MULTICAST_ROUTER_SOLICITATION corresponds to the value MULTICAST_ROUTER_SOLICITATION of Icmpv6Types_TYPE Icmpv6Types_TYPE_MULTICAST_ROUTER_SOLICITATION E_Icmpv6Types_TYPE = 23 // Icmpv6Types_TYPE_MULTICAST_ROUTER_TERMINATION corresponds to the value MULTICAST_ROUTER_TERMINATION of Icmpv6Types_TYPE Icmpv6Types_TYPE_MULTICAST_ROUTER_TERMINATION E_Icmpv6Types_TYPE = 24 // Icmpv6Types_TYPE_NEIGHBOR_ADVERTISEMENT corresponds to the value NEIGHBOR_ADVERTISEMENT of Icmpv6Types_TYPE Icmpv6Types_TYPE_NEIGHBOR_ADVERTISEMENT E_Icmpv6Types_TYPE = 25 // Icmpv6Types_TYPE_NEIGHBOR_SOLICITATION corresponds to the value NEIGHBOR_SOLICITATION of Icmpv6Types_TYPE Icmpv6Types_TYPE_NEIGHBOR_SOLICITATION E_Icmpv6Types_TYPE = 26 // Icmpv6Types_TYPE_NODE_INFORMATION_QUERY corresponds to the value NODE_INFORMATION_QUERY of Icmpv6Types_TYPE Icmpv6Types_TYPE_NODE_INFORMATION_QUERY E_Icmpv6Types_TYPE = 27 // Icmpv6Types_TYPE_NODE_INFORMATION_RESPONSE corresponds to the value NODE_INFORMATION_RESPONSE of Icmpv6Types_TYPE Icmpv6Types_TYPE_NODE_INFORMATION_RESPONSE E_Icmpv6Types_TYPE = 28 // Icmpv6Types_TYPE_PACKET_TOO_BIG corresponds to the value PACKET_TOO_BIG of Icmpv6Types_TYPE Icmpv6Types_TYPE_PACKET_TOO_BIG E_Icmpv6Types_TYPE = 29 // Icmpv6Types_TYPE_PARAMETER_PROBLEM corresponds to the value PARAMETER_PROBLEM of Icmpv6Types_TYPE Icmpv6Types_TYPE_PARAMETER_PROBLEM E_Icmpv6Types_TYPE = 30 // Icmpv6Types_TYPE_REDIRECT corresponds to the value REDIRECT of Icmpv6Types_TYPE Icmpv6Types_TYPE_REDIRECT E_Icmpv6Types_TYPE = 31 // Icmpv6Types_TYPE_RENUNBERING corresponds to the value RENUNBERING of Icmpv6Types_TYPE Icmpv6Types_TYPE_RENUNBERING E_Icmpv6Types_TYPE = 32 // Icmpv6Types_TYPE_ROUTER_ADVERTISEMENT corresponds to the value ROUTER_ADVERTISEMENT of Icmpv6Types_TYPE Icmpv6Types_TYPE_ROUTER_ADVERTISEMENT E_Icmpv6Types_TYPE = 33 // Icmpv6Types_TYPE_ROUTER_SOLICITATION corresponds to the value ROUTER_SOLICITATION of Icmpv6Types_TYPE Icmpv6Types_TYPE_ROUTER_SOLICITATION E_Icmpv6Types_TYPE = 34 // Icmpv6Types_TYPE_RPL_CONTROL corresponds to the value RPL_CONTROL of Icmpv6Types_TYPE Icmpv6Types_TYPE_RPL_CONTROL E_Icmpv6Types_TYPE = 35 // Icmpv6Types_TYPE_TIME_EXCEEDED corresponds to the value TIME_EXCEEDED of Icmpv6Types_TYPE Icmpv6Types_TYPE_TIME_EXCEEDED E_Icmpv6Types_TYPE = 36 // Icmpv6Types_TYPE_VERSION2_MULTICAST_LISTENER corresponds to the value VERSION2_MULTICAST_LISTENER of Icmpv6Types_TYPE Icmpv6Types_TYPE_VERSION2_MULTICAST_LISTENER E_Icmpv6Types_TYPE = 37 )
func (E_Icmpv6Types_TYPE) IsYANGGoEnum ¶
func (E_Icmpv6Types_TYPE) IsYANGGoEnum()
IsYANGGoEnum ensures that Icmpv6Types_TYPE implements the yang.GoEnum interface. This ensures that Icmpv6Types_TYPE can be identified as a mapped type for a YANG enumeration.
func (E_Icmpv6Types_TYPE) String ¶
func (e E_Icmpv6Types_TYPE) String() string
String returns a logging-friendly string for E_Icmpv6Types_TYPE.
func (E_Icmpv6Types_TYPE) ΛMap ¶
func (E_Icmpv6Types_TYPE) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with Icmpv6Types_TYPE.
type E_IfAggregate_AggregationType ¶
type E_IfAggregate_AggregationType int64
E_IfAggregate_AggregationType is a derived int64 type which is used to represent the enumerated node IfAggregate_AggregationType. An additional value named IfAggregate_AggregationType_UNSET is added to the enumeration which is used as the nil value, indicating that the enumeration was not explicitly set by the program importing the generated structures.
const ( // IfAggregate_AggregationType_UNSET corresponds to the value UNSET of IfAggregate_AggregationType IfAggregate_AggregationType_UNSET E_IfAggregate_AggregationType = 0 // IfAggregate_AggregationType_LACP corresponds to the value LACP of IfAggregate_AggregationType IfAggregate_AggregationType_LACP E_IfAggregate_AggregationType = 1 // IfAggregate_AggregationType_STATIC corresponds to the value STATIC of IfAggregate_AggregationType IfAggregate_AggregationType_STATIC E_IfAggregate_AggregationType = 2 )
func (E_IfAggregate_AggregationType) IsYANGGoEnum ¶
func (E_IfAggregate_AggregationType) IsYANGGoEnum()
IsYANGGoEnum ensures that IfAggregate_AggregationType implements the yang.GoEnum interface. This ensures that IfAggregate_AggregationType can be identified as a mapped type for a YANG enumeration.
func (E_IfAggregate_AggregationType) String ¶
func (e E_IfAggregate_AggregationType) String() string
String returns a logging-friendly string for E_IfAggregate_AggregationType.
func (E_IfAggregate_AggregationType) ΛMap ¶
func (E_IfAggregate_AggregationType) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with IfAggregate_AggregationType.
type E_IfEthernet_ETHERNET_SPEED ¶
type E_IfEthernet_ETHERNET_SPEED int64
E_IfEthernet_ETHERNET_SPEED is a derived int64 type which is used to represent the enumerated node IfEthernet_ETHERNET_SPEED. An additional value named IfEthernet_ETHERNET_SPEED_UNSET is added to the enumeration which is used as the nil value, indicating that the enumeration was not explicitly set by the program importing the generated structures.
const ( // IfEthernet_ETHERNET_SPEED_UNSET corresponds to the value UNSET of IfEthernet_ETHERNET_SPEED IfEthernet_ETHERNET_SPEED_UNSET E_IfEthernet_ETHERNET_SPEED = 0 // IfEthernet_ETHERNET_SPEED_SPEED_100GB corresponds to the value SPEED_100GB of IfEthernet_ETHERNET_SPEED IfEthernet_ETHERNET_SPEED_SPEED_100GB E_IfEthernet_ETHERNET_SPEED = 1 // IfEthernet_ETHERNET_SPEED_SPEED_100MB corresponds to the value SPEED_100MB of IfEthernet_ETHERNET_SPEED IfEthernet_ETHERNET_SPEED_SPEED_100MB E_IfEthernet_ETHERNET_SPEED = 2 // IfEthernet_ETHERNET_SPEED_SPEED_10GB corresponds to the value SPEED_10GB of IfEthernet_ETHERNET_SPEED IfEthernet_ETHERNET_SPEED_SPEED_10GB E_IfEthernet_ETHERNET_SPEED = 3 // IfEthernet_ETHERNET_SPEED_SPEED_10MB corresponds to the value SPEED_10MB of IfEthernet_ETHERNET_SPEED IfEthernet_ETHERNET_SPEED_SPEED_10MB E_IfEthernet_ETHERNET_SPEED = 4 // IfEthernet_ETHERNET_SPEED_SPEED_1GB corresponds to the value SPEED_1GB of IfEthernet_ETHERNET_SPEED IfEthernet_ETHERNET_SPEED_SPEED_1GB E_IfEthernet_ETHERNET_SPEED = 5 // IfEthernet_ETHERNET_SPEED_SPEED_200GB corresponds to the value SPEED_200GB of IfEthernet_ETHERNET_SPEED IfEthernet_ETHERNET_SPEED_SPEED_200GB E_IfEthernet_ETHERNET_SPEED = 6 // IfEthernet_ETHERNET_SPEED_SPEED_2500MB corresponds to the value SPEED_2500MB of IfEthernet_ETHERNET_SPEED IfEthernet_ETHERNET_SPEED_SPEED_2500MB E_IfEthernet_ETHERNET_SPEED = 7 // IfEthernet_ETHERNET_SPEED_SPEED_25GB corresponds to the value SPEED_25GB of IfEthernet_ETHERNET_SPEED IfEthernet_ETHERNET_SPEED_SPEED_25GB E_IfEthernet_ETHERNET_SPEED = 8 // IfEthernet_ETHERNET_SPEED_SPEED_400GB corresponds to the value SPEED_400GB of IfEthernet_ETHERNET_SPEED IfEthernet_ETHERNET_SPEED_SPEED_400GB E_IfEthernet_ETHERNET_SPEED = 9 // IfEthernet_ETHERNET_SPEED_SPEED_40GB corresponds to the value SPEED_40GB of IfEthernet_ETHERNET_SPEED IfEthernet_ETHERNET_SPEED_SPEED_40GB E_IfEthernet_ETHERNET_SPEED = 10 // IfEthernet_ETHERNET_SPEED_SPEED_50GB corresponds to the value SPEED_50GB of IfEthernet_ETHERNET_SPEED IfEthernet_ETHERNET_SPEED_SPEED_50GB E_IfEthernet_ETHERNET_SPEED = 11 // IfEthernet_ETHERNET_SPEED_SPEED_5GB corresponds to the value SPEED_5GB of IfEthernet_ETHERNET_SPEED IfEthernet_ETHERNET_SPEED_SPEED_5GB E_IfEthernet_ETHERNET_SPEED = 12 // IfEthernet_ETHERNET_SPEED_SPEED_600GB corresponds to the value SPEED_600GB of IfEthernet_ETHERNET_SPEED IfEthernet_ETHERNET_SPEED_SPEED_600GB E_IfEthernet_ETHERNET_SPEED = 13 // IfEthernet_ETHERNET_SPEED_SPEED_800GB corresponds to the value SPEED_800GB of IfEthernet_ETHERNET_SPEED IfEthernet_ETHERNET_SPEED_SPEED_800GB E_IfEthernet_ETHERNET_SPEED = 14 // IfEthernet_ETHERNET_SPEED_SPEED_UNKNOWN corresponds to the value SPEED_UNKNOWN of IfEthernet_ETHERNET_SPEED IfEthernet_ETHERNET_SPEED_SPEED_UNKNOWN E_IfEthernet_ETHERNET_SPEED = 15 )
func (E_IfEthernet_ETHERNET_SPEED) IsYANGGoEnum ¶
func (E_IfEthernet_ETHERNET_SPEED) IsYANGGoEnum()
IsYANGGoEnum ensures that IfEthernet_ETHERNET_SPEED implements the yang.GoEnum interface. This ensures that IfEthernet_ETHERNET_SPEED can be identified as a mapped type for a YANG enumeration.
func (E_IfEthernet_ETHERNET_SPEED) String ¶
func (e E_IfEthernet_ETHERNET_SPEED) String() string
String returns a logging-friendly string for E_IfEthernet_ETHERNET_SPEED.
func (E_IfEthernet_ETHERNET_SPEED) ΛMap ¶
func (E_IfEthernet_ETHERNET_SPEED) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with IfEthernet_ETHERNET_SPEED.
type E_IfEthernet_INTERFACE_FEC ¶
type E_IfEthernet_INTERFACE_FEC int64
E_IfEthernet_INTERFACE_FEC is a derived int64 type which is used to represent the enumerated node IfEthernet_INTERFACE_FEC. An additional value named IfEthernet_INTERFACE_FEC_UNSET is added to the enumeration which is used as the nil value, indicating that the enumeration was not explicitly set by the program importing the generated structures.
const ( // IfEthernet_INTERFACE_FEC_UNSET corresponds to the value UNSET of IfEthernet_INTERFACE_FEC IfEthernet_INTERFACE_FEC_UNSET E_IfEthernet_INTERFACE_FEC = 0 // IfEthernet_INTERFACE_FEC_FEC_DISABLED corresponds to the value FEC_DISABLED of IfEthernet_INTERFACE_FEC IfEthernet_INTERFACE_FEC_FEC_DISABLED E_IfEthernet_INTERFACE_FEC = 1 // IfEthernet_INTERFACE_FEC_FEC_FC corresponds to the value FEC_FC of IfEthernet_INTERFACE_FEC IfEthernet_INTERFACE_FEC_FEC_FC E_IfEthernet_INTERFACE_FEC = 2 // IfEthernet_INTERFACE_FEC_FEC_RS528 corresponds to the value FEC_RS528 of IfEthernet_INTERFACE_FEC IfEthernet_INTERFACE_FEC_FEC_RS528 E_IfEthernet_INTERFACE_FEC = 3 // IfEthernet_INTERFACE_FEC_FEC_RS544 corresponds to the value FEC_RS544 of IfEthernet_INTERFACE_FEC IfEthernet_INTERFACE_FEC_FEC_RS544 E_IfEthernet_INTERFACE_FEC = 4 // IfEthernet_INTERFACE_FEC_FEC_RS544_2X_INTERLEAVE corresponds to the value FEC_RS544_2X_INTERLEAVE of IfEthernet_INTERFACE_FEC IfEthernet_INTERFACE_FEC_FEC_RS544_2X_INTERLEAVE E_IfEthernet_INTERFACE_FEC = 5 )
func (E_IfEthernet_INTERFACE_FEC) IsYANGGoEnum ¶
func (E_IfEthernet_INTERFACE_FEC) IsYANGGoEnum()
IsYANGGoEnum ensures that IfEthernet_INTERFACE_FEC implements the yang.GoEnum interface. This ensures that IfEthernet_INTERFACE_FEC can be identified as a mapped type for a YANG enumeration.
func (E_IfEthernet_INTERFACE_FEC) String ¶
func (e E_IfEthernet_INTERFACE_FEC) String() string
String returns a logging-friendly string for E_IfEthernet_INTERFACE_FEC.
func (E_IfEthernet_INTERFACE_FEC) ΛMap ¶
func (E_IfEthernet_INTERFACE_FEC) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with IfEthernet_INTERFACE_FEC.
type E_IfIp_IpAddressOrigin ¶
type E_IfIp_IpAddressOrigin int64
E_IfIp_IpAddressOrigin is a derived int64 type which is used to represent the enumerated node IfIp_IpAddressOrigin. An additional value named IfIp_IpAddressOrigin_UNSET is added to the enumeration which is used as the nil value, indicating that the enumeration was not explicitly set by the program importing the generated structures.
const ( // IfIp_IpAddressOrigin_UNSET corresponds to the value UNSET of IfIp_IpAddressOrigin IfIp_IpAddressOrigin_UNSET E_IfIp_IpAddressOrigin = 0 // IfIp_IpAddressOrigin_OTHER corresponds to the value OTHER of IfIp_IpAddressOrigin IfIp_IpAddressOrigin_OTHER E_IfIp_IpAddressOrigin = 1 // IfIp_IpAddressOrigin_STATIC corresponds to the value STATIC of IfIp_IpAddressOrigin IfIp_IpAddressOrigin_STATIC E_IfIp_IpAddressOrigin = 2 // IfIp_IpAddressOrigin_DHCP corresponds to the value DHCP of IfIp_IpAddressOrigin IfIp_IpAddressOrigin_DHCP E_IfIp_IpAddressOrigin = 3 // IfIp_IpAddressOrigin_LINK_LAYER corresponds to the value LINK_LAYER of IfIp_IpAddressOrigin IfIp_IpAddressOrigin_LINK_LAYER E_IfIp_IpAddressOrigin = 4 // IfIp_IpAddressOrigin_RANDOM corresponds to the value RANDOM of IfIp_IpAddressOrigin IfIp_IpAddressOrigin_RANDOM E_IfIp_IpAddressOrigin = 5 )
func (E_IfIp_IpAddressOrigin) IsYANGGoEnum ¶
func (E_IfIp_IpAddressOrigin) IsYANGGoEnum()
IsYANGGoEnum ensures that IfIp_IpAddressOrigin implements the yang.GoEnum interface. This ensures that IfIp_IpAddressOrigin can be identified as a mapped type for a YANG enumeration.
func (E_IfIp_IpAddressOrigin) String ¶
func (e E_IfIp_IpAddressOrigin) String() string
String returns a logging-friendly string for E_IfIp_IpAddressOrigin.
func (E_IfIp_IpAddressOrigin) ΛMap ¶
func (E_IfIp_IpAddressOrigin) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with IfIp_IpAddressOrigin.
type E_IfIp_Ipv4AddressType ¶
type E_IfIp_Ipv4AddressType int64
E_IfIp_Ipv4AddressType is a derived int64 type which is used to represent the enumerated node IfIp_Ipv4AddressType. An additional value named IfIp_Ipv4AddressType_UNSET is added to the enumeration which is used as the nil value, indicating that the enumeration was not explicitly set by the program importing the generated structures.
const ( // IfIp_Ipv4AddressType_UNSET corresponds to the value UNSET of IfIp_Ipv4AddressType IfIp_Ipv4AddressType_UNSET E_IfIp_Ipv4AddressType = 0 // IfIp_Ipv4AddressType_PRIMARY corresponds to the value PRIMARY of IfIp_Ipv4AddressType IfIp_Ipv4AddressType_PRIMARY E_IfIp_Ipv4AddressType = 1 // IfIp_Ipv4AddressType_SECONDARY corresponds to the value SECONDARY of IfIp_Ipv4AddressType IfIp_Ipv4AddressType_SECONDARY E_IfIp_Ipv4AddressType = 2 )
func (E_IfIp_Ipv4AddressType) IsYANGGoEnum ¶
func (E_IfIp_Ipv4AddressType) IsYANGGoEnum()
IsYANGGoEnum ensures that IfIp_Ipv4AddressType implements the yang.GoEnum interface. This ensures that IfIp_Ipv4AddressType can be identified as a mapped type for a YANG enumeration.
func (E_IfIp_Ipv4AddressType) String ¶
func (e E_IfIp_Ipv4AddressType) String() string
String returns a logging-friendly string for E_IfIp_Ipv4AddressType.
func (E_IfIp_Ipv4AddressType) ΛMap ¶
func (E_IfIp_Ipv4AddressType) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with IfIp_Ipv4AddressType.
type E_IfIp_NeighborOrigin ¶
type E_IfIp_NeighborOrigin int64
E_IfIp_NeighborOrigin is a derived int64 type which is used to represent the enumerated node IfIp_NeighborOrigin. An additional value named IfIp_NeighborOrigin_UNSET is added to the enumeration which is used as the nil value, indicating that the enumeration was not explicitly set by the program importing the generated structures.
const ( // IfIp_NeighborOrigin_UNSET corresponds to the value UNSET of IfIp_NeighborOrigin IfIp_NeighborOrigin_UNSET E_IfIp_NeighborOrigin = 0 // IfIp_NeighborOrigin_OTHER corresponds to the value OTHER of IfIp_NeighborOrigin IfIp_NeighborOrigin_OTHER E_IfIp_NeighborOrigin = 1 // IfIp_NeighborOrigin_STATIC corresponds to the value STATIC of IfIp_NeighborOrigin IfIp_NeighborOrigin_STATIC E_IfIp_NeighborOrigin = 2 // IfIp_NeighborOrigin_DYNAMIC corresponds to the value DYNAMIC of IfIp_NeighborOrigin IfIp_NeighborOrigin_DYNAMIC E_IfIp_NeighborOrigin = 3 )
func (E_IfIp_NeighborOrigin) IsYANGGoEnum ¶
func (E_IfIp_NeighborOrigin) IsYANGGoEnum()
IsYANGGoEnum ensures that IfIp_NeighborOrigin implements the yang.GoEnum interface. This ensures that IfIp_NeighborOrigin can be identified as a mapped type for a YANG enumeration.
func (E_IfIp_NeighborOrigin) String ¶
func (e E_IfIp_NeighborOrigin) String() string
String returns a logging-friendly string for E_IfIp_NeighborOrigin.
func (E_IfIp_NeighborOrigin) ΛMap ¶
func (E_IfIp_NeighborOrigin) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with IfIp_NeighborOrigin.
type E_InetTypes_Ipv6AddressType ¶
type E_InetTypes_Ipv6AddressType int64
E_InetTypes_Ipv6AddressType is a derived int64 type which is used to represent the enumerated node InetTypes_Ipv6AddressType. An additional value named InetTypes_Ipv6AddressType_UNSET is added to the enumeration which is used as the nil value, indicating that the enumeration was not explicitly set by the program importing the generated structures.
const ( // InetTypes_Ipv6AddressType_UNSET corresponds to the value UNSET of InetTypes_Ipv6AddressType InetTypes_Ipv6AddressType_UNSET E_InetTypes_Ipv6AddressType = 0 // InetTypes_Ipv6AddressType_GLOBAL_UNICAST corresponds to the value GLOBAL_UNICAST of InetTypes_Ipv6AddressType InetTypes_Ipv6AddressType_GLOBAL_UNICAST E_InetTypes_Ipv6AddressType = 1 // InetTypes_Ipv6AddressType_LINK_LOCAL_UNICAST corresponds to the value LINK_LOCAL_UNICAST of InetTypes_Ipv6AddressType InetTypes_Ipv6AddressType_LINK_LOCAL_UNICAST E_InetTypes_Ipv6AddressType = 2 )
func (E_InetTypes_Ipv6AddressType) IsYANGGoEnum ¶
func (E_InetTypes_Ipv6AddressType) IsYANGGoEnum()
IsYANGGoEnum ensures that InetTypes_Ipv6AddressType implements the yang.GoEnum interface. This ensures that InetTypes_Ipv6AddressType can be identified as a mapped type for a YANG enumeration.
func (E_InetTypes_Ipv6AddressType) String ¶
func (e E_InetTypes_Ipv6AddressType) String() string
String returns a logging-friendly string for E_InetTypes_Ipv6AddressType.
func (E_InetTypes_Ipv6AddressType) ΛMap ¶
func (E_InetTypes_Ipv6AddressType) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with InetTypes_Ipv6AddressType.
type E_Interface_AdminStatus ¶
type E_Interface_AdminStatus int64
E_Interface_AdminStatus is a derived int64 type which is used to represent the enumerated node Interface_AdminStatus. An additional value named Interface_AdminStatus_UNSET is added to the enumeration which is used as the nil value, indicating that the enumeration was not explicitly set by the program importing the generated structures.
const ( // Interface_AdminStatus_UNSET corresponds to the value UNSET of Interface_AdminStatus Interface_AdminStatus_UNSET E_Interface_AdminStatus = 0 // Interface_AdminStatus_UP corresponds to the value UP of Interface_AdminStatus Interface_AdminStatus_UP E_Interface_AdminStatus = 1 // Interface_AdminStatus_DOWN corresponds to the value DOWN of Interface_AdminStatus Interface_AdminStatus_DOWN E_Interface_AdminStatus = 2 // Interface_AdminStatus_TESTING corresponds to the value TESTING of Interface_AdminStatus Interface_AdminStatus_TESTING E_Interface_AdminStatus = 3 )
func (E_Interface_AdminStatus) IsYANGGoEnum ¶
func (E_Interface_AdminStatus) IsYANGGoEnum()
IsYANGGoEnum ensures that Interface_AdminStatus implements the yang.GoEnum interface. This ensures that Interface_AdminStatus can be identified as a mapped type for a YANG enumeration.
func (E_Interface_AdminStatus) String ¶
func (e E_Interface_AdminStatus) String() string
String returns a logging-friendly string for E_Interface_AdminStatus.
func (E_Interface_AdminStatus) ΛMap ¶
func (E_Interface_AdminStatus) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with Interface_AdminStatus.
type E_Interface_IrbAnycastGateway ¶
type E_Interface_IrbAnycastGateway int64
E_Interface_IrbAnycastGateway is a derived int64 type which is used to represent the enumerated node Interface_IrbAnycastGateway. An additional value named Interface_IrbAnycastGateway_UNSET is added to the enumeration which is used as the nil value, indicating that the enumeration was not explicitly set by the program importing the generated structures.
const ( // Interface_IrbAnycastGateway_UNSET corresponds to the value UNSET of Interface_IrbAnycastGateway Interface_IrbAnycastGateway_UNSET E_Interface_IrbAnycastGateway = 0 // Interface_IrbAnycastGateway_DISTRIBUTED_SYMETRIC corresponds to the value DISTRIBUTED_SYMETRIC of Interface_IrbAnycastGateway Interface_IrbAnycastGateway_DISTRIBUTED_SYMETRIC E_Interface_IrbAnycastGateway = 1 // Interface_IrbAnycastGateway_DISTRIBUTED_ASYMETRIC corresponds to the value DISTRIBUTED_ASYMETRIC of Interface_IrbAnycastGateway Interface_IrbAnycastGateway_DISTRIBUTED_ASYMETRIC E_Interface_IrbAnycastGateway = 2 // Interface_IrbAnycastGateway_HYBRID corresponds to the value HYBRID of Interface_IrbAnycastGateway Interface_IrbAnycastGateway_HYBRID E_Interface_IrbAnycastGateway = 3 // Interface_IrbAnycastGateway_CENTRALIZED corresponds to the value CENTRALIZED of Interface_IrbAnycastGateway Interface_IrbAnycastGateway_CENTRALIZED E_Interface_IrbAnycastGateway = 4 )
func (E_Interface_IrbAnycastGateway) IsYANGGoEnum ¶
func (E_Interface_IrbAnycastGateway) IsYANGGoEnum()
IsYANGGoEnum ensures that Interface_IrbAnycastGateway implements the yang.GoEnum interface. This ensures that Interface_IrbAnycastGateway can be identified as a mapped type for a YANG enumeration.
func (E_Interface_IrbAnycastGateway) String ¶
func (e E_Interface_IrbAnycastGateway) String() string
String returns a logging-friendly string for E_Interface_IrbAnycastGateway.
func (E_Interface_IrbAnycastGateway) ΛMap ¶
func (E_Interface_IrbAnycastGateway) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with Interface_IrbAnycastGateway.
type E_Interface_OperStatus ¶
type E_Interface_OperStatus int64
E_Interface_OperStatus is a derived int64 type which is used to represent the enumerated node Interface_OperStatus. An additional value named Interface_OperStatus_UNSET is added to the enumeration which is used as the nil value, indicating that the enumeration was not explicitly set by the program importing the generated structures.
const ( // Interface_OperStatus_UNSET corresponds to the value UNSET of Interface_OperStatus Interface_OperStatus_UNSET E_Interface_OperStatus = 0 // Interface_OperStatus_UP corresponds to the value UP of Interface_OperStatus Interface_OperStatus_UP E_Interface_OperStatus = 2 // Interface_OperStatus_DOWN corresponds to the value DOWN of Interface_OperStatus Interface_OperStatus_DOWN E_Interface_OperStatus = 3 // Interface_OperStatus_TESTING corresponds to the value TESTING of Interface_OperStatus Interface_OperStatus_TESTING E_Interface_OperStatus = 4 // Interface_OperStatus_UNKNOWN corresponds to the value UNKNOWN of Interface_OperStatus Interface_OperStatus_UNKNOWN E_Interface_OperStatus = 5 // Interface_OperStatus_DORMANT corresponds to the value DORMANT of Interface_OperStatus Interface_OperStatus_DORMANT E_Interface_OperStatus = 6 // Interface_OperStatus_NOT_PRESENT corresponds to the value NOT_PRESENT of Interface_OperStatus Interface_OperStatus_NOT_PRESENT E_Interface_OperStatus = 7 // Interface_OperStatus_LOWER_LAYER_DOWN corresponds to the value LOWER_LAYER_DOWN of Interface_OperStatus Interface_OperStatus_LOWER_LAYER_DOWN E_Interface_OperStatus = 8 )
func (E_Interface_OperStatus) IsYANGGoEnum ¶
func (E_Interface_OperStatus) IsYANGGoEnum()
IsYANGGoEnum ensures that Interface_OperStatus implements the yang.GoEnum interface. This ensures that Interface_OperStatus can be identified as a mapped type for a YANG enumeration.
func (E_Interface_OperStatus) String ¶
func (e E_Interface_OperStatus) String() string
String returns a logging-friendly string for E_Interface_OperStatus.
func (E_Interface_OperStatus) ΛMap ¶
func (E_Interface_OperStatus) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with Interface_OperStatus.
type E_Ipv6_LearnUnsolicited ¶
type E_Ipv6_LearnUnsolicited int64
E_Ipv6_LearnUnsolicited is a derived int64 type which is used to represent the enumerated node Ipv6_LearnUnsolicited. An additional value named Ipv6_LearnUnsolicited_UNSET is added to the enumeration which is used as the nil value, indicating that the enumeration was not explicitly set by the program importing the generated structures.
const ( // Ipv6_LearnUnsolicited_UNSET corresponds to the value UNSET of Ipv6_LearnUnsolicited Ipv6_LearnUnsolicited_UNSET E_Ipv6_LearnUnsolicited = 0 // Ipv6_LearnUnsolicited_NONE corresponds to the value NONE of Ipv6_LearnUnsolicited Ipv6_LearnUnsolicited_NONE E_Ipv6_LearnUnsolicited = 1 // Ipv6_LearnUnsolicited_GLOBAL corresponds to the value GLOBAL of Ipv6_LearnUnsolicited Ipv6_LearnUnsolicited_GLOBAL E_Ipv6_LearnUnsolicited = 2 // Ipv6_LearnUnsolicited_LINK_LOCAL corresponds to the value LINK_LOCAL of Ipv6_LearnUnsolicited Ipv6_LearnUnsolicited_LINK_LOCAL E_Ipv6_LearnUnsolicited = 3 // Ipv6_LearnUnsolicited_BOTH corresponds to the value BOTH of Ipv6_LearnUnsolicited Ipv6_LearnUnsolicited_BOTH E_Ipv6_LearnUnsolicited = 4 )
func (E_Ipv6_LearnUnsolicited) IsYANGGoEnum ¶
func (E_Ipv6_LearnUnsolicited) IsYANGGoEnum()
IsYANGGoEnum ensures that Ipv6_LearnUnsolicited implements the yang.GoEnum interface. This ensures that Ipv6_LearnUnsolicited can be identified as a mapped type for a YANG enumeration.
func (E_Ipv6_LearnUnsolicited) String ¶
func (e E_Ipv6_LearnUnsolicited) String() string
String returns a logging-friendly string for E_Ipv6_LearnUnsolicited.
func (E_Ipv6_LearnUnsolicited) ΛMap ¶
func (E_Ipv6_LearnUnsolicited) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with Ipv6_LearnUnsolicited.
type E_KeychainTypes_CRYPTO_TYPE ¶
type E_KeychainTypes_CRYPTO_TYPE int64
E_KeychainTypes_CRYPTO_TYPE is a derived int64 type which is used to represent the enumerated node KeychainTypes_CRYPTO_TYPE. An additional value named KeychainTypes_CRYPTO_TYPE_UNSET is added to the enumeration which is used as the nil value, indicating that the enumeration was not explicitly set by the program importing the generated structures.
const ( // KeychainTypes_CRYPTO_TYPE_UNSET corresponds to the value UNSET of KeychainTypes_CRYPTO_TYPE KeychainTypes_CRYPTO_TYPE_UNSET E_KeychainTypes_CRYPTO_TYPE = 0 // KeychainTypes_CRYPTO_TYPE_AES_128_CMAC corresponds to the value AES_128_CMAC of KeychainTypes_CRYPTO_TYPE KeychainTypes_CRYPTO_TYPE_AES_128_CMAC E_KeychainTypes_CRYPTO_TYPE = 1 // KeychainTypes_CRYPTO_TYPE_AES_128_CMAC_96 corresponds to the value AES_128_CMAC_96 of KeychainTypes_CRYPTO_TYPE KeychainTypes_CRYPTO_TYPE_AES_128_CMAC_96 E_KeychainTypes_CRYPTO_TYPE = 2 // KeychainTypes_CRYPTO_TYPE_AES_256_CMAC corresponds to the value AES_256_CMAC of KeychainTypes_CRYPTO_TYPE KeychainTypes_CRYPTO_TYPE_AES_256_CMAC E_KeychainTypes_CRYPTO_TYPE = 3 // KeychainTypes_CRYPTO_TYPE_CRYPTO_NONE corresponds to the value CRYPTO_NONE of KeychainTypes_CRYPTO_TYPE KeychainTypes_CRYPTO_TYPE_CRYPTO_NONE E_KeychainTypes_CRYPTO_TYPE = 4 // KeychainTypes_CRYPTO_TYPE_HMAC_MD5 corresponds to the value HMAC_MD5 of KeychainTypes_CRYPTO_TYPE KeychainTypes_CRYPTO_TYPE_HMAC_MD5 E_KeychainTypes_CRYPTO_TYPE = 5 // KeychainTypes_CRYPTO_TYPE_HMAC_SHA_1 corresponds to the value HMAC_SHA_1 of KeychainTypes_CRYPTO_TYPE KeychainTypes_CRYPTO_TYPE_HMAC_SHA_1 E_KeychainTypes_CRYPTO_TYPE = 6 // KeychainTypes_CRYPTO_TYPE_HMAC_SHA_1_12 corresponds to the value HMAC_SHA_1_12 of KeychainTypes_CRYPTO_TYPE KeychainTypes_CRYPTO_TYPE_HMAC_SHA_1_12 E_KeychainTypes_CRYPTO_TYPE = 7 // KeychainTypes_CRYPTO_TYPE_HMAC_SHA_1_20 corresponds to the value HMAC_SHA_1_20 of KeychainTypes_CRYPTO_TYPE KeychainTypes_CRYPTO_TYPE_HMAC_SHA_1_20 E_KeychainTypes_CRYPTO_TYPE = 8 // KeychainTypes_CRYPTO_TYPE_HMAC_SHA_1_96 corresponds to the value HMAC_SHA_1_96 of KeychainTypes_CRYPTO_TYPE KeychainTypes_CRYPTO_TYPE_HMAC_SHA_1_96 E_KeychainTypes_CRYPTO_TYPE = 9 // KeychainTypes_CRYPTO_TYPE_HMAC_SHA_256 corresponds to the value HMAC_SHA_256 of KeychainTypes_CRYPTO_TYPE KeychainTypes_CRYPTO_TYPE_HMAC_SHA_256 E_KeychainTypes_CRYPTO_TYPE = 10 // KeychainTypes_CRYPTO_TYPE_MD5 corresponds to the value MD5 of KeychainTypes_CRYPTO_TYPE KeychainTypes_CRYPTO_TYPE_MD5 E_KeychainTypes_CRYPTO_TYPE = 11 // KeychainTypes_CRYPTO_TYPE_SHA_1 corresponds to the value SHA_1 of KeychainTypes_CRYPTO_TYPE KeychainTypes_CRYPTO_TYPE_SHA_1 E_KeychainTypes_CRYPTO_TYPE = 12 )
func (E_KeychainTypes_CRYPTO_TYPE) IsYANGGoEnum ¶
func (E_KeychainTypes_CRYPTO_TYPE) IsYANGGoEnum()
IsYANGGoEnum ensures that KeychainTypes_CRYPTO_TYPE implements the yang.GoEnum interface. This ensures that KeychainTypes_CRYPTO_TYPE can be identified as a mapped type for a YANG enumeration.
func (E_KeychainTypes_CRYPTO_TYPE) String ¶
func (e E_KeychainTypes_CRYPTO_TYPE) String() string
String returns a logging-friendly string for E_KeychainTypes_CRYPTO_TYPE.
func (E_KeychainTypes_CRYPTO_TYPE) ΛMap ¶
func (E_KeychainTypes_CRYPTO_TYPE) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with KeychainTypes_CRYPTO_TYPE.
type E_Keychain_Tolerance_Enum ¶
type E_Keychain_Tolerance_Enum int64
E_Keychain_Tolerance_Enum is a derived int64 type which is used to represent the enumerated node Keychain_Tolerance_Enum. An additional value named Keychain_Tolerance_Enum_UNSET is added to the enumeration which is used as the nil value, indicating that the enumeration was not explicitly set by the program importing the generated structures.
const ( // Keychain_Tolerance_Enum_UNSET corresponds to the value UNSET of Keychain_Tolerance_Enum Keychain_Tolerance_Enum_UNSET E_Keychain_Tolerance_Enum = 0 // Keychain_Tolerance_Enum_FOREVER corresponds to the value FOREVER of Keychain_Tolerance_Enum Keychain_Tolerance_Enum_FOREVER E_Keychain_Tolerance_Enum = 1 )
func (E_Keychain_Tolerance_Enum) Documentation_for_Keychain_Tolerance_Union ¶
func (E_Keychain_Tolerance_Enum) Documentation_for_Keychain_Tolerance_Union()
Documentation_for_Keychain_Tolerance_Union ensures that E_Keychain_Tolerance_Enum implements the Keychain_Tolerance_Union interface.
func (E_Keychain_Tolerance_Enum) IsYANGGoEnum ¶
func (E_Keychain_Tolerance_Enum) IsYANGGoEnum()
IsYANGGoEnum ensures that Keychain_Tolerance_Enum implements the yang.GoEnum interface. This ensures that Keychain_Tolerance_Enum can be identified as a mapped type for a YANG enumeration.
func (E_Keychain_Tolerance_Enum) String ¶
func (e E_Keychain_Tolerance_Enum) String() string
String returns a logging-friendly string for E_Keychain_Tolerance_Enum.
func (E_Keychain_Tolerance_Enum) ΛMap ¶
func (E_Keychain_Tolerance_Enum) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with Keychain_Tolerance_Enum.
type E_LocalRouting_LOCAL_DEFINED_NEXT_HOP ¶
type E_LocalRouting_LOCAL_DEFINED_NEXT_HOP int64
E_LocalRouting_LOCAL_DEFINED_NEXT_HOP is a derived int64 type which is used to represent the enumerated node LocalRouting_LOCAL_DEFINED_NEXT_HOP. An additional value named LocalRouting_LOCAL_DEFINED_NEXT_HOP_UNSET is added to the enumeration which is used as the nil value, indicating that the enumeration was not explicitly set by the program importing the generated structures.
const ( // LocalRouting_LOCAL_DEFINED_NEXT_HOP_UNSET corresponds to the value UNSET of LocalRouting_LOCAL_DEFINED_NEXT_HOP LocalRouting_LOCAL_DEFINED_NEXT_HOP_UNSET E_LocalRouting_LOCAL_DEFINED_NEXT_HOP = 0 // LocalRouting_LOCAL_DEFINED_NEXT_HOP_DROP corresponds to the value DROP of LocalRouting_LOCAL_DEFINED_NEXT_HOP LocalRouting_LOCAL_DEFINED_NEXT_HOP_DROP E_LocalRouting_LOCAL_DEFINED_NEXT_HOP = 1 // LocalRouting_LOCAL_DEFINED_NEXT_HOP_LOCAL_LINK corresponds to the value LOCAL_LINK of LocalRouting_LOCAL_DEFINED_NEXT_HOP LocalRouting_LOCAL_DEFINED_NEXT_HOP_LOCAL_LINK E_LocalRouting_LOCAL_DEFINED_NEXT_HOP = 2 )
func (E_LocalRouting_LOCAL_DEFINED_NEXT_HOP) Documentation_for_NetworkInstance_Static_NextHop_NextHop_Union ¶
func (E_LocalRouting_LOCAL_DEFINED_NEXT_HOP) Documentation_for_NetworkInstance_Static_NextHop_NextHop_Union()
Documentation_for_NetworkInstance_Static_NextHop_NextHop_Union ensures that E_LocalRouting_LOCAL_DEFINED_NEXT_HOP implements the NetworkInstance_Static_NextHop_NextHop_Union interface.
func (E_LocalRouting_LOCAL_DEFINED_NEXT_HOP) IsYANGGoEnum ¶
func (E_LocalRouting_LOCAL_DEFINED_NEXT_HOP) IsYANGGoEnum()
IsYANGGoEnum ensures that LocalRouting_LOCAL_DEFINED_NEXT_HOP implements the yang.GoEnum interface. This ensures that LocalRouting_LOCAL_DEFINED_NEXT_HOP can be identified as a mapped type for a YANG enumeration.
func (E_LocalRouting_LOCAL_DEFINED_NEXT_HOP) String ¶
func (e E_LocalRouting_LOCAL_DEFINED_NEXT_HOP) String() string
String returns a logging-friendly string for E_LocalRouting_LOCAL_DEFINED_NEXT_HOP.
func (E_LocalRouting_LOCAL_DEFINED_NEXT_HOP) ΛMap ¶
func (E_LocalRouting_LOCAL_DEFINED_NEXT_HOP) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with LocalRouting_LOCAL_DEFINED_NEXT_HOP.
type E_Neighbor_NeighborState ¶
type E_Neighbor_NeighborState int64
E_Neighbor_NeighborState is a derived int64 type which is used to represent the enumerated node Neighbor_NeighborState. An additional value named Neighbor_NeighborState_UNSET is added to the enumeration which is used as the nil value, indicating that the enumeration was not explicitly set by the program importing the generated structures.
const ( // Neighbor_NeighborState_UNSET corresponds to the value UNSET of Neighbor_NeighborState Neighbor_NeighborState_UNSET E_Neighbor_NeighborState = 0 // Neighbor_NeighborState_INCOMPLETE corresponds to the value INCOMPLETE of Neighbor_NeighborState Neighbor_NeighborState_INCOMPLETE E_Neighbor_NeighborState = 1 // Neighbor_NeighborState_REACHABLE corresponds to the value REACHABLE of Neighbor_NeighborState Neighbor_NeighborState_REACHABLE E_Neighbor_NeighborState = 2 // Neighbor_NeighborState_STALE corresponds to the value STALE of Neighbor_NeighborState Neighbor_NeighborState_STALE E_Neighbor_NeighborState = 3 // Neighbor_NeighborState_DELAY corresponds to the value DELAY of Neighbor_NeighborState Neighbor_NeighborState_DELAY E_Neighbor_NeighborState = 4 // Neighbor_NeighborState_PROBE corresponds to the value PROBE of Neighbor_NeighborState Neighbor_NeighborState_PROBE E_Neighbor_NeighborState = 5 )
func (E_Neighbor_NeighborState) IsYANGGoEnum ¶
func (E_Neighbor_NeighborState) IsYANGGoEnum()
IsYANGGoEnum ensures that Neighbor_NeighborState implements the yang.GoEnum interface. This ensures that Neighbor_NeighborState can be identified as a mapped type for a YANG enumeration.
func (E_Neighbor_NeighborState) String ¶
func (e E_Neighbor_NeighborState) String() string
String returns a logging-friendly string for E_Neighbor_NeighborState.
func (E_Neighbor_NeighborState) ΛMap ¶
func (E_Neighbor_NeighborState) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with Neighbor_NeighborState.
type E_NetworkInstanceTypes_NETWORK_INSTANCE_TYPE ¶
type E_NetworkInstanceTypes_NETWORK_INSTANCE_TYPE int64
E_NetworkInstanceTypes_NETWORK_INSTANCE_TYPE is a derived int64 type which is used to represent the enumerated node NetworkInstanceTypes_NETWORK_INSTANCE_TYPE. An additional value named NetworkInstanceTypes_NETWORK_INSTANCE_TYPE_UNSET is added to the enumeration which is used as the nil value, indicating that the enumeration was not explicitly set by the program importing the generated structures.
const ( // NetworkInstanceTypes_NETWORK_INSTANCE_TYPE_UNSET corresponds to the value UNSET of NetworkInstanceTypes_NETWORK_INSTANCE_TYPE NetworkInstanceTypes_NETWORK_INSTANCE_TYPE_UNSET E_NetworkInstanceTypes_NETWORK_INSTANCE_TYPE = 0 // NetworkInstanceTypes_NETWORK_INSTANCE_TYPE_DEFAULT_INSTANCE corresponds to the value DEFAULT_INSTANCE of NetworkInstanceTypes_NETWORK_INSTANCE_TYPE NetworkInstanceTypes_NETWORK_INSTANCE_TYPE_DEFAULT_INSTANCE E_NetworkInstanceTypes_NETWORK_INSTANCE_TYPE = 1 // NetworkInstanceTypes_NETWORK_INSTANCE_TYPE_L2L3 corresponds to the value L2L3 of NetworkInstanceTypes_NETWORK_INSTANCE_TYPE NetworkInstanceTypes_NETWORK_INSTANCE_TYPE_L2L3 E_NetworkInstanceTypes_NETWORK_INSTANCE_TYPE = 2 // NetworkInstanceTypes_NETWORK_INSTANCE_TYPE_L2P2P corresponds to the value L2P2P of NetworkInstanceTypes_NETWORK_INSTANCE_TYPE NetworkInstanceTypes_NETWORK_INSTANCE_TYPE_L2P2P E_NetworkInstanceTypes_NETWORK_INSTANCE_TYPE = 3 // NetworkInstanceTypes_NETWORK_INSTANCE_TYPE_L2VSI corresponds to the value L2VSI of NetworkInstanceTypes_NETWORK_INSTANCE_TYPE NetworkInstanceTypes_NETWORK_INSTANCE_TYPE_L2VSI E_NetworkInstanceTypes_NETWORK_INSTANCE_TYPE = 4 // NetworkInstanceTypes_NETWORK_INSTANCE_TYPE_L3VRF corresponds to the value L3VRF of NetworkInstanceTypes_NETWORK_INSTANCE_TYPE NetworkInstanceTypes_NETWORK_INSTANCE_TYPE_L3VRF E_NetworkInstanceTypes_NETWORK_INSTANCE_TYPE = 5 )
func (E_NetworkInstanceTypes_NETWORK_INSTANCE_TYPE) IsYANGGoEnum ¶
func (E_NetworkInstanceTypes_NETWORK_INSTANCE_TYPE) IsYANGGoEnum()
IsYANGGoEnum ensures that NetworkInstanceTypes_NETWORK_INSTANCE_TYPE implements the yang.GoEnum interface. This ensures that NetworkInstanceTypes_NETWORK_INSTANCE_TYPE can be identified as a mapped type for a YANG enumeration.
func (E_NetworkInstanceTypes_NETWORK_INSTANCE_TYPE) String ¶
func (e E_NetworkInstanceTypes_NETWORK_INSTANCE_TYPE) String() string
String returns a logging-friendly string for E_NetworkInstanceTypes_NETWORK_INSTANCE_TYPE.
func (E_NetworkInstanceTypes_NETWORK_INSTANCE_TYPE) ΛMap ¶
func (E_NetworkInstanceTypes_NETWORK_INSTANCE_TYPE) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with NetworkInstanceTypes_NETWORK_INSTANCE_TYPE.
type E_PacketMatchTypes_ETHERTYPE ¶
type E_PacketMatchTypes_ETHERTYPE int64
E_PacketMatchTypes_ETHERTYPE is a derived int64 type which is used to represent the enumerated node PacketMatchTypes_ETHERTYPE. An additional value named PacketMatchTypes_ETHERTYPE_UNSET is added to the enumeration which is used as the nil value, indicating that the enumeration was not explicitly set by the program importing the generated structures.
const ( // PacketMatchTypes_ETHERTYPE_UNSET corresponds to the value UNSET of PacketMatchTypes_ETHERTYPE PacketMatchTypes_ETHERTYPE_UNSET E_PacketMatchTypes_ETHERTYPE = 0 // PacketMatchTypes_ETHERTYPE_ETHERTYPE_ARP corresponds to the value ETHERTYPE_ARP of PacketMatchTypes_ETHERTYPE PacketMatchTypes_ETHERTYPE_ETHERTYPE_ARP E_PacketMatchTypes_ETHERTYPE = 1 // PacketMatchTypes_ETHERTYPE_ETHERTYPE_IPV4 corresponds to the value ETHERTYPE_IPV4 of PacketMatchTypes_ETHERTYPE PacketMatchTypes_ETHERTYPE_ETHERTYPE_IPV4 E_PacketMatchTypes_ETHERTYPE = 2 // PacketMatchTypes_ETHERTYPE_ETHERTYPE_IPV6 corresponds to the value ETHERTYPE_IPV6 of PacketMatchTypes_ETHERTYPE PacketMatchTypes_ETHERTYPE_ETHERTYPE_IPV6 E_PacketMatchTypes_ETHERTYPE = 3 // PacketMatchTypes_ETHERTYPE_ETHERTYPE_LLDP corresponds to the value ETHERTYPE_LLDP of PacketMatchTypes_ETHERTYPE PacketMatchTypes_ETHERTYPE_ETHERTYPE_LLDP E_PacketMatchTypes_ETHERTYPE = 4 // PacketMatchTypes_ETHERTYPE_ETHERTYPE_MPLS corresponds to the value ETHERTYPE_MPLS of PacketMatchTypes_ETHERTYPE PacketMatchTypes_ETHERTYPE_ETHERTYPE_MPLS E_PacketMatchTypes_ETHERTYPE = 5 // PacketMatchTypes_ETHERTYPE_ETHERTYPE_ROCE corresponds to the value ETHERTYPE_ROCE of PacketMatchTypes_ETHERTYPE PacketMatchTypes_ETHERTYPE_ETHERTYPE_ROCE E_PacketMatchTypes_ETHERTYPE = 6 // PacketMatchTypes_ETHERTYPE_ETHERTYPE_VLAN corresponds to the value ETHERTYPE_VLAN of PacketMatchTypes_ETHERTYPE PacketMatchTypes_ETHERTYPE_ETHERTYPE_VLAN E_PacketMatchTypes_ETHERTYPE = 7 )
func (E_PacketMatchTypes_ETHERTYPE) Documentation_for_NetworkInstance_PolicyForwarding_Policy_Rule_L2_Ethertype_Union ¶
func (E_PacketMatchTypes_ETHERTYPE) Documentation_for_NetworkInstance_PolicyForwarding_Policy_Rule_L2_Ethertype_Union()
Documentation_for_NetworkInstance_PolicyForwarding_Policy_Rule_L2_Ethertype_Union ensures that E_PacketMatchTypes_ETHERTYPE implements the NetworkInstance_PolicyForwarding_Policy_Rule_L2_Ethertype_Union interface.
func (E_PacketMatchTypes_ETHERTYPE) IsYANGGoEnum ¶
func (E_PacketMatchTypes_ETHERTYPE) IsYANGGoEnum()
IsYANGGoEnum ensures that PacketMatchTypes_ETHERTYPE implements the yang.GoEnum interface. This ensures that PacketMatchTypes_ETHERTYPE can be identified as a mapped type for a YANG enumeration.
func (E_PacketMatchTypes_ETHERTYPE) String ¶
func (e E_PacketMatchTypes_ETHERTYPE) String() string
String returns a logging-friendly string for E_PacketMatchTypes_ETHERTYPE.
func (E_PacketMatchTypes_ETHERTYPE) ΛMap ¶
func (E_PacketMatchTypes_ETHERTYPE) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with PacketMatchTypes_ETHERTYPE.
type E_PacketMatchTypes_IP_PROTOCOL ¶
type E_PacketMatchTypes_IP_PROTOCOL int64
E_PacketMatchTypes_IP_PROTOCOL is a derived int64 type which is used to represent the enumerated node PacketMatchTypes_IP_PROTOCOL. An additional value named PacketMatchTypes_IP_PROTOCOL_UNSET is added to the enumeration which is used as the nil value, indicating that the enumeration was not explicitly set by the program importing the generated structures.
const ( // PacketMatchTypes_IP_PROTOCOL_UNSET corresponds to the value UNSET of PacketMatchTypes_IP_PROTOCOL PacketMatchTypes_IP_PROTOCOL_UNSET E_PacketMatchTypes_IP_PROTOCOL = 0 // PacketMatchTypes_IP_PROTOCOL_IP_AUTH corresponds to the value IP_AUTH of PacketMatchTypes_IP_PROTOCOL PacketMatchTypes_IP_PROTOCOL_IP_AUTH E_PacketMatchTypes_IP_PROTOCOL = 1 // PacketMatchTypes_IP_PROTOCOL_IP_GRE corresponds to the value IP_GRE of PacketMatchTypes_IP_PROTOCOL PacketMatchTypes_IP_PROTOCOL_IP_GRE E_PacketMatchTypes_IP_PROTOCOL = 2 // PacketMatchTypes_IP_PROTOCOL_IP_ICMP corresponds to the value IP_ICMP of PacketMatchTypes_IP_PROTOCOL PacketMatchTypes_IP_PROTOCOL_IP_ICMP E_PacketMatchTypes_IP_PROTOCOL = 3 // PacketMatchTypes_IP_PROTOCOL_IP_IGMP corresponds to the value IP_IGMP of PacketMatchTypes_IP_PROTOCOL PacketMatchTypes_IP_PROTOCOL_IP_IGMP E_PacketMatchTypes_IP_PROTOCOL = 4 // PacketMatchTypes_IP_PROTOCOL_IP_IN_IP corresponds to the value IP_IN_IP of PacketMatchTypes_IP_PROTOCOL PacketMatchTypes_IP_PROTOCOL_IP_IN_IP E_PacketMatchTypes_IP_PROTOCOL = 5 // PacketMatchTypes_IP_PROTOCOL_IP_L2TP corresponds to the value IP_L2TP of PacketMatchTypes_IP_PROTOCOL PacketMatchTypes_IP_PROTOCOL_IP_L2TP E_PacketMatchTypes_IP_PROTOCOL = 6 // PacketMatchTypes_IP_PROTOCOL_IP_PIM corresponds to the value IP_PIM of PacketMatchTypes_IP_PROTOCOL PacketMatchTypes_IP_PROTOCOL_IP_PIM E_PacketMatchTypes_IP_PROTOCOL = 7 // PacketMatchTypes_IP_PROTOCOL_IP_RSVP corresponds to the value IP_RSVP of PacketMatchTypes_IP_PROTOCOL PacketMatchTypes_IP_PROTOCOL_IP_RSVP E_PacketMatchTypes_IP_PROTOCOL = 8 // PacketMatchTypes_IP_PROTOCOL_IP_TCP corresponds to the value IP_TCP of PacketMatchTypes_IP_PROTOCOL PacketMatchTypes_IP_PROTOCOL_IP_TCP E_PacketMatchTypes_IP_PROTOCOL = 9 // PacketMatchTypes_IP_PROTOCOL_IP_UDP corresponds to the value IP_UDP of PacketMatchTypes_IP_PROTOCOL PacketMatchTypes_IP_PROTOCOL_IP_UDP E_PacketMatchTypes_IP_PROTOCOL = 10 )
func (E_PacketMatchTypes_IP_PROTOCOL) Documentation_for_NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4_Protocol_Union ¶
func (E_PacketMatchTypes_IP_PROTOCOL) Documentation_for_NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4_Protocol_Union()
Documentation_for_NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4_Protocol_Union ensures that E_PacketMatchTypes_IP_PROTOCOL implements the NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4_Protocol_Union interface.
func (E_PacketMatchTypes_IP_PROTOCOL) Documentation_for_NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6_Protocol_Union ¶
func (E_PacketMatchTypes_IP_PROTOCOL) Documentation_for_NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6_Protocol_Union()
Documentation_for_NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6_Protocol_Union ensures that E_PacketMatchTypes_IP_PROTOCOL implements the NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6_Protocol_Union interface.
func (E_PacketMatchTypes_IP_PROTOCOL) IsYANGGoEnum ¶
func (E_PacketMatchTypes_IP_PROTOCOL) IsYANGGoEnum()
IsYANGGoEnum ensures that PacketMatchTypes_IP_PROTOCOL implements the yang.GoEnum interface. This ensures that PacketMatchTypes_IP_PROTOCOL can be identified as a mapped type for a YANG enumeration.
func (E_PacketMatchTypes_IP_PROTOCOL) String ¶
func (e E_PacketMatchTypes_IP_PROTOCOL) String() string
String returns a logging-friendly string for E_PacketMatchTypes_IP_PROTOCOL.
func (E_PacketMatchTypes_IP_PROTOCOL) ΛMap ¶
func (E_PacketMatchTypes_IP_PROTOCOL) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with PacketMatchTypes_IP_PROTOCOL.
type E_PacketMatchTypes_PortNumRange_Enum ¶
type E_PacketMatchTypes_PortNumRange_Enum int64
E_PacketMatchTypes_PortNumRange_Enum is a derived int64 type which is used to represent the enumerated node PacketMatchTypes_PortNumRange_Enum. An additional value named PacketMatchTypes_PortNumRange_Enum_UNSET is added to the enumeration which is used as the nil value, indicating that the enumeration was not explicitly set by the program importing the generated structures.
const ( // PacketMatchTypes_PortNumRange_Enum_UNSET corresponds to the value UNSET of PacketMatchTypes_PortNumRange_Enum PacketMatchTypes_PortNumRange_Enum_UNSET E_PacketMatchTypes_PortNumRange_Enum = 0 // PacketMatchTypes_PortNumRange_Enum_ANY corresponds to the value ANY of PacketMatchTypes_PortNumRange_Enum PacketMatchTypes_PortNumRange_Enum_ANY E_PacketMatchTypes_PortNumRange_Enum = 1 )
func (E_PacketMatchTypes_PortNumRange_Enum) Documentation_for_DefinedSets_PortSet_Port_Union ¶
func (E_PacketMatchTypes_PortNumRange_Enum) Documentation_for_DefinedSets_PortSet_Port_Union()
Documentation_for_DefinedSets_PortSet_Port_Union ensures that E_PacketMatchTypes_PortNumRange_Enum implements the DefinedSets_PortSet_Port_Union interface.
func (E_PacketMatchTypes_PortNumRange_Enum) Documentation_for_NetworkInstance_PolicyForwarding_Policy_Rule_Transport_DestinationPort_Union ¶
func (E_PacketMatchTypes_PortNumRange_Enum) Documentation_for_NetworkInstance_PolicyForwarding_Policy_Rule_Transport_DestinationPort_Union()
Documentation_for_NetworkInstance_PolicyForwarding_Policy_Rule_Transport_DestinationPort_Union ensures that E_PacketMatchTypes_PortNumRange_Enum implements the NetworkInstance_PolicyForwarding_Policy_Rule_Transport_DestinationPort_Union interface.
func (E_PacketMatchTypes_PortNumRange_Enum) Documentation_for_NetworkInstance_PolicyForwarding_Policy_Rule_Transport_SourcePort_Union ¶
func (E_PacketMatchTypes_PortNumRange_Enum) Documentation_for_NetworkInstance_PolicyForwarding_Policy_Rule_Transport_SourcePort_Union()
Documentation_for_NetworkInstance_PolicyForwarding_Policy_Rule_Transport_SourcePort_Union ensures that E_PacketMatchTypes_PortNumRange_Enum implements the NetworkInstance_PolicyForwarding_Policy_Rule_Transport_SourcePort_Union interface.
func (E_PacketMatchTypes_PortNumRange_Enum) IsYANGGoEnum ¶
func (E_PacketMatchTypes_PortNumRange_Enum) IsYANGGoEnum()
IsYANGGoEnum ensures that PacketMatchTypes_PortNumRange_Enum implements the yang.GoEnum interface. This ensures that PacketMatchTypes_PortNumRange_Enum can be identified as a mapped type for a YANG enumeration.
func (E_PacketMatchTypes_PortNumRange_Enum) String ¶
func (e E_PacketMatchTypes_PortNumRange_Enum) String() string
String returns a logging-friendly string for E_PacketMatchTypes_PortNumRange_Enum.
func (E_PacketMatchTypes_PortNumRange_Enum) ΛMap ¶
func (E_PacketMatchTypes_PortNumRange_Enum) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with PacketMatchTypes_PortNumRange_Enum.
type E_PacketMatchTypes_TCP_FLAGS ¶
type E_PacketMatchTypes_TCP_FLAGS int64
E_PacketMatchTypes_TCP_FLAGS is a derived int64 type which is used to represent the enumerated node PacketMatchTypes_TCP_FLAGS. An additional value named PacketMatchTypes_TCP_FLAGS_UNSET is added to the enumeration which is used as the nil value, indicating that the enumeration was not explicitly set by the program importing the generated structures.
const ( // PacketMatchTypes_TCP_FLAGS_UNSET corresponds to the value UNSET of PacketMatchTypes_TCP_FLAGS PacketMatchTypes_TCP_FLAGS_UNSET E_PacketMatchTypes_TCP_FLAGS = 0 // PacketMatchTypes_TCP_FLAGS_TCP_ACK corresponds to the value TCP_ACK of PacketMatchTypes_TCP_FLAGS PacketMatchTypes_TCP_FLAGS_TCP_ACK E_PacketMatchTypes_TCP_FLAGS = 1 // PacketMatchTypes_TCP_FLAGS_TCP_CWR corresponds to the value TCP_CWR of PacketMatchTypes_TCP_FLAGS PacketMatchTypes_TCP_FLAGS_TCP_CWR E_PacketMatchTypes_TCP_FLAGS = 2 // PacketMatchTypes_TCP_FLAGS_TCP_ECE corresponds to the value TCP_ECE of PacketMatchTypes_TCP_FLAGS PacketMatchTypes_TCP_FLAGS_TCP_ECE E_PacketMatchTypes_TCP_FLAGS = 3 // PacketMatchTypes_TCP_FLAGS_TCP_FIN corresponds to the value TCP_FIN of PacketMatchTypes_TCP_FLAGS PacketMatchTypes_TCP_FLAGS_TCP_FIN E_PacketMatchTypes_TCP_FLAGS = 4 // PacketMatchTypes_TCP_FLAGS_TCP_PSH corresponds to the value TCP_PSH of PacketMatchTypes_TCP_FLAGS PacketMatchTypes_TCP_FLAGS_TCP_PSH E_PacketMatchTypes_TCP_FLAGS = 5 // PacketMatchTypes_TCP_FLAGS_TCP_RST corresponds to the value TCP_RST of PacketMatchTypes_TCP_FLAGS PacketMatchTypes_TCP_FLAGS_TCP_RST E_PacketMatchTypes_TCP_FLAGS = 6 // PacketMatchTypes_TCP_FLAGS_TCP_SYN corresponds to the value TCP_SYN of PacketMatchTypes_TCP_FLAGS PacketMatchTypes_TCP_FLAGS_TCP_SYN E_PacketMatchTypes_TCP_FLAGS = 7 // PacketMatchTypes_TCP_FLAGS_TCP_URG corresponds to the value TCP_URG of PacketMatchTypes_TCP_FLAGS PacketMatchTypes_TCP_FLAGS_TCP_URG E_PacketMatchTypes_TCP_FLAGS = 8 )
func (E_PacketMatchTypes_TCP_FLAGS) IsYANGGoEnum ¶
func (E_PacketMatchTypes_TCP_FLAGS) IsYANGGoEnum()
IsYANGGoEnum ensures that PacketMatchTypes_TCP_FLAGS implements the yang.GoEnum interface. This ensures that PacketMatchTypes_TCP_FLAGS can be identified as a mapped type for a YANG enumeration.
func (E_PacketMatchTypes_TCP_FLAGS) String ¶
func (e E_PacketMatchTypes_TCP_FLAGS) String() string
String returns a logging-friendly string for E_PacketMatchTypes_TCP_FLAGS.
func (E_PacketMatchTypes_TCP_FLAGS) ΛMap ¶
func (E_PacketMatchTypes_TCP_FLAGS) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with PacketMatchTypes_TCP_FLAGS.
type E_PolicyTypes_INSTALL_PROTOCOL_TYPE ¶
type E_PolicyTypes_INSTALL_PROTOCOL_TYPE int64
E_PolicyTypes_INSTALL_PROTOCOL_TYPE is a derived int64 type which is used to represent the enumerated node PolicyTypes_INSTALL_PROTOCOL_TYPE. An additional value named PolicyTypes_INSTALL_PROTOCOL_TYPE_UNSET is added to the enumeration which is used as the nil value, indicating that the enumeration was not explicitly set by the program importing the generated structures.
const ( // PolicyTypes_INSTALL_PROTOCOL_TYPE_UNSET corresponds to the value UNSET of PolicyTypes_INSTALL_PROTOCOL_TYPE PolicyTypes_INSTALL_PROTOCOL_TYPE_UNSET E_PolicyTypes_INSTALL_PROTOCOL_TYPE = 0 // PolicyTypes_INSTALL_PROTOCOL_TYPE_BGP corresponds to the value BGP of PolicyTypes_INSTALL_PROTOCOL_TYPE PolicyTypes_INSTALL_PROTOCOL_TYPE_BGP E_PolicyTypes_INSTALL_PROTOCOL_TYPE = 1 // PolicyTypes_INSTALL_PROTOCOL_TYPE_DIRECTLY_CONNECTED corresponds to the value DIRECTLY_CONNECTED of PolicyTypes_INSTALL_PROTOCOL_TYPE PolicyTypes_INSTALL_PROTOCOL_TYPE_DIRECTLY_CONNECTED E_PolicyTypes_INSTALL_PROTOCOL_TYPE = 2 // PolicyTypes_INSTALL_PROTOCOL_TYPE_GRIBI corresponds to the value GRIBI of PolicyTypes_INSTALL_PROTOCOL_TYPE PolicyTypes_INSTALL_PROTOCOL_TYPE_GRIBI E_PolicyTypes_INSTALL_PROTOCOL_TYPE = 3 // PolicyTypes_INSTALL_PROTOCOL_TYPE_IGMP corresponds to the value IGMP of PolicyTypes_INSTALL_PROTOCOL_TYPE PolicyTypes_INSTALL_PROTOCOL_TYPE_IGMP E_PolicyTypes_INSTALL_PROTOCOL_TYPE = 4 // PolicyTypes_INSTALL_PROTOCOL_TYPE_ISIS corresponds to the value ISIS of PolicyTypes_INSTALL_PROTOCOL_TYPE PolicyTypes_INSTALL_PROTOCOL_TYPE_ISIS E_PolicyTypes_INSTALL_PROTOCOL_TYPE = 5 // PolicyTypes_INSTALL_PROTOCOL_TYPE_LOCAL corresponds to the value LOCAL of PolicyTypes_INSTALL_PROTOCOL_TYPE PolicyTypes_INSTALL_PROTOCOL_TYPE_LOCAL E_PolicyTypes_INSTALL_PROTOCOL_TYPE = 6 // PolicyTypes_INSTALL_PROTOCOL_TYPE_LOCAL_AGGREGATE corresponds to the value LOCAL_AGGREGATE of PolicyTypes_INSTALL_PROTOCOL_TYPE PolicyTypes_INSTALL_PROTOCOL_TYPE_LOCAL_AGGREGATE E_PolicyTypes_INSTALL_PROTOCOL_TYPE = 7 // PolicyTypes_INSTALL_PROTOCOL_TYPE_OSPF corresponds to the value OSPF of PolicyTypes_INSTALL_PROTOCOL_TYPE PolicyTypes_INSTALL_PROTOCOL_TYPE_OSPF E_PolicyTypes_INSTALL_PROTOCOL_TYPE = 8 // PolicyTypes_INSTALL_PROTOCOL_TYPE_OSPF3 corresponds to the value OSPF3 of PolicyTypes_INSTALL_PROTOCOL_TYPE PolicyTypes_INSTALL_PROTOCOL_TYPE_OSPF3 E_PolicyTypes_INSTALL_PROTOCOL_TYPE = 9 // PolicyTypes_INSTALL_PROTOCOL_TYPE_PCEP corresponds to the value PCEP of PolicyTypes_INSTALL_PROTOCOL_TYPE PolicyTypes_INSTALL_PROTOCOL_TYPE_PCEP E_PolicyTypes_INSTALL_PROTOCOL_TYPE = 10 // PolicyTypes_INSTALL_PROTOCOL_TYPE_PIM corresponds to the value PIM of PolicyTypes_INSTALL_PROTOCOL_TYPE PolicyTypes_INSTALL_PROTOCOL_TYPE_PIM E_PolicyTypes_INSTALL_PROTOCOL_TYPE = 11 // PolicyTypes_INSTALL_PROTOCOL_TYPE_STATIC corresponds to the value STATIC of PolicyTypes_INSTALL_PROTOCOL_TYPE PolicyTypes_INSTALL_PROTOCOL_TYPE_STATIC E_PolicyTypes_INSTALL_PROTOCOL_TYPE = 12 )
func (E_PolicyTypes_INSTALL_PROTOCOL_TYPE) IsYANGGoEnum ¶
func (E_PolicyTypes_INSTALL_PROTOCOL_TYPE) IsYANGGoEnum()
IsYANGGoEnum ensures that PolicyTypes_INSTALL_PROTOCOL_TYPE implements the yang.GoEnum interface. This ensures that PolicyTypes_INSTALL_PROTOCOL_TYPE can be identified as a mapped type for a YANG enumeration.
func (E_PolicyTypes_INSTALL_PROTOCOL_TYPE) String ¶
func (e E_PolicyTypes_INSTALL_PROTOCOL_TYPE) String() string
String returns a logging-friendly string for E_PolicyTypes_INSTALL_PROTOCOL_TYPE.
func (E_PolicyTypes_INSTALL_PROTOCOL_TYPE) ΛMap ¶
func (E_PolicyTypes_INSTALL_PROTOCOL_TYPE) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with PolicyTypes_INSTALL_PROTOCOL_TYPE.
type E_Policy_Type ¶
type E_Policy_Type int64
E_Policy_Type is a derived int64 type which is used to represent the enumerated node Policy_Type. An additional value named Policy_Type_UNSET is added to the enumeration which is used as the nil value, indicating that the enumeration was not explicitly set by the program importing the generated structures.
const ( // Policy_Type_UNSET corresponds to the value UNSET of Policy_Type Policy_Type_UNSET E_Policy_Type = 0 // Policy_Type_PBR_POLICY corresponds to the value PBR_POLICY of Policy_Type Policy_Type_PBR_POLICY E_Policy_Type = 1 // Policy_Type_VRF_SELECTION_POLICY corresponds to the value VRF_SELECTION_POLICY of Policy_Type Policy_Type_VRF_SELECTION_POLICY E_Policy_Type = 2 )
func (E_Policy_Type) IsYANGGoEnum ¶
func (E_Policy_Type) IsYANGGoEnum()
IsYANGGoEnum ensures that Policy_Type implements the yang.GoEnum interface. This ensures that Policy_Type can be identified as a mapped type for a YANG enumeration.
func (E_Policy_Type) String ¶
func (e E_Policy_Type) String() string
String returns a logging-friendly string for E_Policy_Type.
func (E_Policy_Type) ΛMap ¶
func (E_Policy_Type) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with Policy_Type.
type E_ProxyArp_Mode ¶
type E_ProxyArp_Mode int64
E_ProxyArp_Mode is a derived int64 type which is used to represent the enumerated node ProxyArp_Mode. An additional value named ProxyArp_Mode_UNSET is added to the enumeration which is used as the nil value, indicating that the enumeration was not explicitly set by the program importing the generated structures.
const ( // ProxyArp_Mode_UNSET corresponds to the value UNSET of ProxyArp_Mode ProxyArp_Mode_UNSET E_ProxyArp_Mode = 0 // ProxyArp_Mode_DISABLE corresponds to the value DISABLE of ProxyArp_Mode ProxyArp_Mode_DISABLE E_ProxyArp_Mode = 1 // ProxyArp_Mode_REMOTE_ONLY corresponds to the value REMOTE_ONLY of ProxyArp_Mode ProxyArp_Mode_REMOTE_ONLY E_ProxyArp_Mode = 2 // ProxyArp_Mode_ALL corresponds to the value ALL of ProxyArp_Mode ProxyArp_Mode_ALL E_ProxyArp_Mode = 3 )
func (E_ProxyArp_Mode) IsYANGGoEnum ¶
func (E_ProxyArp_Mode) IsYANGGoEnum()
IsYANGGoEnum ensures that ProxyArp_Mode implements the yang.GoEnum interface. This ensures that ProxyArp_Mode can be identified as a mapped type for a YANG enumeration.
func (E_ProxyArp_Mode) String ¶
func (e E_ProxyArp_Mode) String() string
String returns a logging-friendly string for E_ProxyArp_Mode.
func (E_ProxyArp_Mode) ΛMap ¶
func (E_ProxyArp_Mode) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with ProxyArp_Mode.
type E_RouterAdvertisement_Mode ¶
type E_RouterAdvertisement_Mode int64
E_RouterAdvertisement_Mode is a derived int64 type which is used to represent the enumerated node RouterAdvertisement_Mode. An additional value named RouterAdvertisement_Mode_UNSET is added to the enumeration which is used as the nil value, indicating that the enumeration was not explicitly set by the program importing the generated structures.
const ( // RouterAdvertisement_Mode_UNSET corresponds to the value UNSET of RouterAdvertisement_Mode RouterAdvertisement_Mode_UNSET E_RouterAdvertisement_Mode = 0 // RouterAdvertisement_Mode_ALL corresponds to the value ALL of RouterAdvertisement_Mode RouterAdvertisement_Mode_ALL E_RouterAdvertisement_Mode = 1 // RouterAdvertisement_Mode_DISABLE_UNSOLICITED_RA corresponds to the value DISABLE_UNSOLICITED_RA of RouterAdvertisement_Mode RouterAdvertisement_Mode_DISABLE_UNSOLICITED_RA E_RouterAdvertisement_Mode = 2 )
func (E_RouterAdvertisement_Mode) IsYANGGoEnum ¶
func (E_RouterAdvertisement_Mode) IsYANGGoEnum()
IsYANGGoEnum ensures that RouterAdvertisement_Mode implements the yang.GoEnum interface. This ensures that RouterAdvertisement_Mode can be identified as a mapped type for a YANG enumeration.
func (E_RouterAdvertisement_Mode) String ¶
func (e E_RouterAdvertisement_Mode) String() string
String returns a logging-friendly string for E_RouterAdvertisement_Mode.
func (E_RouterAdvertisement_Mode) ΛMap ¶
func (E_RouterAdvertisement_Mode) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with RouterAdvertisement_Mode.
type E_TransportTypes_LoopbackModeType ¶
type E_TransportTypes_LoopbackModeType int64
E_TransportTypes_LoopbackModeType is a derived int64 type which is used to represent the enumerated node TransportTypes_LoopbackModeType. An additional value named TransportTypes_LoopbackModeType_UNSET is added to the enumeration which is used as the nil value, indicating that the enumeration was not explicitly set by the program importing the generated structures.
const ( // TransportTypes_LoopbackModeType_UNSET corresponds to the value UNSET of TransportTypes_LoopbackModeType TransportTypes_LoopbackModeType_UNSET E_TransportTypes_LoopbackModeType = 0 // TransportTypes_LoopbackModeType_NONE corresponds to the value NONE of TransportTypes_LoopbackModeType TransportTypes_LoopbackModeType_NONE E_TransportTypes_LoopbackModeType = 1 // TransportTypes_LoopbackModeType_FACILITY corresponds to the value FACILITY of TransportTypes_LoopbackModeType TransportTypes_LoopbackModeType_FACILITY E_TransportTypes_LoopbackModeType = 2 // TransportTypes_LoopbackModeType_TERMINAL corresponds to the value TERMINAL of TransportTypes_LoopbackModeType TransportTypes_LoopbackModeType_TERMINAL E_TransportTypes_LoopbackModeType = 3 // TransportTypes_LoopbackModeType_ASIC_PHY_LOCAL corresponds to the value ASIC_PHY_LOCAL of TransportTypes_LoopbackModeType TransportTypes_LoopbackModeType_ASIC_PHY_LOCAL E_TransportTypes_LoopbackModeType = 4 // TransportTypes_LoopbackModeType_ASIC_PHY_REMOTE corresponds to the value ASIC_PHY_REMOTE of TransportTypes_LoopbackModeType TransportTypes_LoopbackModeType_ASIC_PHY_REMOTE E_TransportTypes_LoopbackModeType = 5 // TransportTypes_LoopbackModeType_ASIC_MAC_LOCAL corresponds to the value ASIC_MAC_LOCAL of TransportTypes_LoopbackModeType TransportTypes_LoopbackModeType_ASIC_MAC_LOCAL E_TransportTypes_LoopbackModeType = 6 // TransportTypes_LoopbackModeType_ASIC_MAC_REMOTE corresponds to the value ASIC_MAC_REMOTE of TransportTypes_LoopbackModeType TransportTypes_LoopbackModeType_ASIC_MAC_REMOTE E_TransportTypes_LoopbackModeType = 7 )
func (E_TransportTypes_LoopbackModeType) IsYANGGoEnum ¶
func (E_TransportTypes_LoopbackModeType) IsYANGGoEnum()
IsYANGGoEnum ensures that TransportTypes_LoopbackModeType implements the yang.GoEnum interface. This ensures that TransportTypes_LoopbackModeType can be identified as a mapped type for a YANG enumeration.
func (E_TransportTypes_LoopbackModeType) String ¶
func (e E_TransportTypes_LoopbackModeType) String() string
String returns a logging-friendly string for E_TransportTypes_LoopbackModeType.
func (E_TransportTypes_LoopbackModeType) ΛMap ¶
func (E_TransportTypes_LoopbackModeType) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with TransportTypes_LoopbackModeType.
type E_Transport_BuiltinDetail ¶
type E_Transport_BuiltinDetail int64
E_Transport_BuiltinDetail is a derived int64 type which is used to represent the enumerated node Transport_BuiltinDetail. An additional value named Transport_BuiltinDetail_UNSET is added to the enumeration which is used as the nil value, indicating that the enumeration was not explicitly set by the program importing the generated structures.
const ( // Transport_BuiltinDetail_UNSET corresponds to the value UNSET of Transport_BuiltinDetail Transport_BuiltinDetail_UNSET E_Transport_BuiltinDetail = 0 // Transport_BuiltinDetail_TCP_INITIAL corresponds to the value TCP_INITIAL of Transport_BuiltinDetail Transport_BuiltinDetail_TCP_INITIAL E_Transport_BuiltinDetail = 1 // Transport_BuiltinDetail_TCP_ESTABLISHED corresponds to the value TCP_ESTABLISHED of Transport_BuiltinDetail Transport_BuiltinDetail_TCP_ESTABLISHED E_Transport_BuiltinDetail = 2 // Transport_BuiltinDetail_FRAGMENT corresponds to the value FRAGMENT of Transport_BuiltinDetail Transport_BuiltinDetail_FRAGMENT E_Transport_BuiltinDetail = 3 )
func (E_Transport_BuiltinDetail) IsYANGGoEnum ¶
func (E_Transport_BuiltinDetail) IsYANGGoEnum()
IsYANGGoEnum ensures that Transport_BuiltinDetail implements the yang.GoEnum interface. This ensures that Transport_BuiltinDetail can be identified as a mapped type for a YANG enumeration.
func (E_Transport_BuiltinDetail) String ¶
func (e E_Transport_BuiltinDetail) String() string
String returns a logging-friendly string for E_Transport_BuiltinDetail.
func (E_Transport_BuiltinDetail) ΛMap ¶
func (E_Transport_BuiltinDetail) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with Transport_BuiltinDetail.
type E_Transport_DetailMode ¶
type E_Transport_DetailMode int64
E_Transport_DetailMode is a derived int64 type which is used to represent the enumerated node Transport_DetailMode. An additional value named Transport_DetailMode_UNSET is added to the enumeration which is used as the nil value, indicating that the enumeration was not explicitly set by the program importing the generated structures.
const ( // Transport_DetailMode_UNSET corresponds to the value UNSET of Transport_DetailMode Transport_DetailMode_UNSET E_Transport_DetailMode = 0 // Transport_DetailMode_EXPLICIT corresponds to the value EXPLICIT of Transport_DetailMode Transport_DetailMode_EXPLICIT E_Transport_DetailMode = 1 // Transport_DetailMode_BUILTIN corresponds to the value BUILTIN of Transport_DetailMode Transport_DetailMode_BUILTIN E_Transport_DetailMode = 2 )
func (E_Transport_DetailMode) IsYANGGoEnum ¶
func (E_Transport_DetailMode) IsYANGGoEnum()
IsYANGGoEnum ensures that Transport_DetailMode implements the yang.GoEnum interface. This ensures that Transport_DetailMode can be identified as a mapped type for a YANG enumeration.
func (E_Transport_DetailMode) String ¶
func (e E_Transport_DetailMode) String() string
String returns a logging-friendly string for E_Transport_DetailMode.
func (E_Transport_DetailMode) ΛMap ¶
func (E_Transport_DetailMode) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with Transport_DetailMode.
type E_Transport_ExplicitDetailMatchMode ¶
type E_Transport_ExplicitDetailMatchMode int64
E_Transport_ExplicitDetailMatchMode is a derived int64 type which is used to represent the enumerated node Transport_ExplicitDetailMatchMode. An additional value named Transport_ExplicitDetailMatchMode_UNSET is added to the enumeration which is used as the nil value, indicating that the enumeration was not explicitly set by the program importing the generated structures.
const ( // Transport_ExplicitDetailMatchMode_UNSET corresponds to the value UNSET of Transport_ExplicitDetailMatchMode Transport_ExplicitDetailMatchMode_UNSET E_Transport_ExplicitDetailMatchMode = 0 // Transport_ExplicitDetailMatchMode_ANY corresponds to the value ANY of Transport_ExplicitDetailMatchMode Transport_ExplicitDetailMatchMode_ANY E_Transport_ExplicitDetailMatchMode = 1 // Transport_ExplicitDetailMatchMode_ALL corresponds to the value ALL of Transport_ExplicitDetailMatchMode Transport_ExplicitDetailMatchMode_ALL E_Transport_ExplicitDetailMatchMode = 2 )
func (E_Transport_ExplicitDetailMatchMode) IsYANGGoEnum ¶
func (E_Transport_ExplicitDetailMatchMode) IsYANGGoEnum()
IsYANGGoEnum ensures that Transport_ExplicitDetailMatchMode implements the yang.GoEnum interface. This ensures that Transport_ExplicitDetailMatchMode can be identified as a mapped type for a YANG enumeration.
func (E_Transport_ExplicitDetailMatchMode) String ¶
func (e E_Transport_ExplicitDetailMatchMode) String() string
String returns a logging-friendly string for E_Transport_ExplicitDetailMatchMode.
func (E_Transport_ExplicitDetailMatchMode) ΛMap ¶
func (E_Transport_ExplicitDetailMatchMode) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with Transport_ExplicitDetailMatchMode.
type E_Types_ADDRESS_FAMILY ¶
type E_Types_ADDRESS_FAMILY int64
E_Types_ADDRESS_FAMILY is a derived int64 type which is used to represent the enumerated node Types_ADDRESS_FAMILY. An additional value named Types_ADDRESS_FAMILY_UNSET is added to the enumeration which is used as the nil value, indicating that the enumeration was not explicitly set by the program importing the generated structures.
const ( // Types_ADDRESS_FAMILY_UNSET corresponds to the value UNSET of Types_ADDRESS_FAMILY Types_ADDRESS_FAMILY_UNSET E_Types_ADDRESS_FAMILY = 0 // Types_ADDRESS_FAMILY_IPV4 corresponds to the value IPV4 of Types_ADDRESS_FAMILY Types_ADDRESS_FAMILY_IPV4 E_Types_ADDRESS_FAMILY = 1 // Types_ADDRESS_FAMILY_IPV6 corresponds to the value IPV6 of Types_ADDRESS_FAMILY Types_ADDRESS_FAMILY_IPV6 E_Types_ADDRESS_FAMILY = 2 // Types_ADDRESS_FAMILY_L2_ETHERNET corresponds to the value L2_ETHERNET of Types_ADDRESS_FAMILY Types_ADDRESS_FAMILY_L2_ETHERNET E_Types_ADDRESS_FAMILY = 3 // Types_ADDRESS_FAMILY_MPLS corresponds to the value MPLS of Types_ADDRESS_FAMILY Types_ADDRESS_FAMILY_MPLS E_Types_ADDRESS_FAMILY = 4 )
func (E_Types_ADDRESS_FAMILY) IsYANGGoEnum ¶
func (E_Types_ADDRESS_FAMILY) IsYANGGoEnum()
IsYANGGoEnum ensures that Types_ADDRESS_FAMILY implements the yang.GoEnum interface. This ensures that Types_ADDRESS_FAMILY can be identified as a mapped type for a YANG enumeration.
func (E_Types_ADDRESS_FAMILY) String ¶
func (e E_Types_ADDRESS_FAMILY) String() string
String returns a logging-friendly string for E_Types_ADDRESS_FAMILY.
func (E_Types_ADDRESS_FAMILY) ΛMap ¶
func (E_Types_ADDRESS_FAMILY) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with Types_ADDRESS_FAMILY.
type E_VlanTypes_TPID_TYPES ¶
type E_VlanTypes_TPID_TYPES int64
E_VlanTypes_TPID_TYPES is a derived int64 type which is used to represent the enumerated node VlanTypes_TPID_TYPES. An additional value named VlanTypes_TPID_TYPES_UNSET is added to the enumeration which is used as the nil value, indicating that the enumeration was not explicitly set by the program importing the generated structures.
const ( // VlanTypes_TPID_TYPES_UNSET corresponds to the value UNSET of VlanTypes_TPID_TYPES VlanTypes_TPID_TYPES_UNSET E_VlanTypes_TPID_TYPES = 0 // VlanTypes_TPID_TYPES_TPID_0X8100 corresponds to the value TPID_0X8100 of VlanTypes_TPID_TYPES VlanTypes_TPID_TYPES_TPID_0X8100 E_VlanTypes_TPID_TYPES = 1 // VlanTypes_TPID_TYPES_TPID_0X88A8 corresponds to the value TPID_0X88A8 of VlanTypes_TPID_TYPES VlanTypes_TPID_TYPES_TPID_0X88A8 E_VlanTypes_TPID_TYPES = 2 // VlanTypes_TPID_TYPES_TPID_0X9100 corresponds to the value TPID_0X9100 of VlanTypes_TPID_TYPES VlanTypes_TPID_TYPES_TPID_0X9100 E_VlanTypes_TPID_TYPES = 3 // VlanTypes_TPID_TYPES_TPID_0X9200 corresponds to the value TPID_0X9200 of VlanTypes_TPID_TYPES VlanTypes_TPID_TYPES_TPID_0X9200 E_VlanTypes_TPID_TYPES = 4 // VlanTypes_TPID_TYPES_TPID_ANY corresponds to the value TPID_ANY of VlanTypes_TPID_TYPES VlanTypes_TPID_TYPES_TPID_ANY E_VlanTypes_TPID_TYPES = 5 )
func (E_VlanTypes_TPID_TYPES) IsYANGGoEnum ¶
func (E_VlanTypes_TPID_TYPES) IsYANGGoEnum()
IsYANGGoEnum ensures that VlanTypes_TPID_TYPES implements the yang.GoEnum interface. This ensures that VlanTypes_TPID_TYPES can be identified as a mapped type for a YANG enumeration.
func (E_VlanTypes_TPID_TYPES) String ¶
func (e E_VlanTypes_TPID_TYPES) String() string
String returns a logging-friendly string for E_VlanTypes_TPID_TYPES.
func (E_VlanTypes_TPID_TYPES) ΛMap ¶
func (E_VlanTypes_TPID_TYPES) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with VlanTypes_TPID_TYPES.
type E_VlanTypes_VlanModeType ¶
type E_VlanTypes_VlanModeType int64
E_VlanTypes_VlanModeType is a derived int64 type which is used to represent the enumerated node VlanTypes_VlanModeType. An additional value named VlanTypes_VlanModeType_UNSET is added to the enumeration which is used as the nil value, indicating that the enumeration was not explicitly set by the program importing the generated structures.
const ( // VlanTypes_VlanModeType_UNSET corresponds to the value UNSET of VlanTypes_VlanModeType VlanTypes_VlanModeType_UNSET E_VlanTypes_VlanModeType = 0 // VlanTypes_VlanModeType_ACCESS corresponds to the value ACCESS of VlanTypes_VlanModeType VlanTypes_VlanModeType_ACCESS E_VlanTypes_VlanModeType = 1 // VlanTypes_VlanModeType_TRUNK corresponds to the value TRUNK of VlanTypes_VlanModeType VlanTypes_VlanModeType_TRUNK E_VlanTypes_VlanModeType = 2 )
func (E_VlanTypes_VlanModeType) IsYANGGoEnum ¶
func (E_VlanTypes_VlanModeType) IsYANGGoEnum()
IsYANGGoEnum ensures that VlanTypes_VlanModeType implements the yang.GoEnum interface. This ensures that VlanTypes_VlanModeType can be identified as a mapped type for a YANG enumeration.
func (E_VlanTypes_VlanModeType) String ¶
func (e E_VlanTypes_VlanModeType) String() string
String returns a logging-friendly string for E_VlanTypes_VlanModeType.
func (E_VlanTypes_VlanModeType) ΛMap ¶
func (E_VlanTypes_VlanModeType) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with VlanTypes_VlanModeType.
type E_VlanTypes_VlanStackAction ¶
type E_VlanTypes_VlanStackAction int64
E_VlanTypes_VlanStackAction is a derived int64 type which is used to represent the enumerated node VlanTypes_VlanStackAction. An additional value named VlanTypes_VlanStackAction_UNSET is added to the enumeration which is used as the nil value, indicating that the enumeration was not explicitly set by the program importing the generated structures.
const ( // VlanTypes_VlanStackAction_UNSET corresponds to the value UNSET of VlanTypes_VlanStackAction VlanTypes_VlanStackAction_UNSET E_VlanTypes_VlanStackAction = 0 // VlanTypes_VlanStackAction_PUSH corresponds to the value PUSH of VlanTypes_VlanStackAction VlanTypes_VlanStackAction_PUSH E_VlanTypes_VlanStackAction = 1 // VlanTypes_VlanStackAction_POP corresponds to the value POP of VlanTypes_VlanStackAction VlanTypes_VlanStackAction_POP E_VlanTypes_VlanStackAction = 2 // VlanTypes_VlanStackAction_SWAP corresponds to the value SWAP of VlanTypes_VlanStackAction VlanTypes_VlanStackAction_SWAP E_VlanTypes_VlanStackAction = 3 )
func (E_VlanTypes_VlanStackAction) IsYANGGoEnum ¶
func (E_VlanTypes_VlanStackAction) IsYANGGoEnum()
IsYANGGoEnum ensures that VlanTypes_VlanStackAction implements the yang.GoEnum interface. This ensures that VlanTypes_VlanStackAction can be identified as a mapped type for a YANG enumeration.
func (E_VlanTypes_VlanStackAction) String ¶
func (e E_VlanTypes_VlanStackAction) String() string
String returns a logging-friendly string for E_VlanTypes_VlanStackAction.
func (E_VlanTypes_VlanStackAction) ΛMap ¶
func (E_VlanTypes_VlanStackAction) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with VlanTypes_VlanStackAction.
type Interface ¶
type Interface struct {
AdminStatus E_Interface_AdminStatus `path:"state/admin-status" module:"openconfig-interfaces/openconfig-interfaces"`
Aggregation *Interface_Aggregation `path:"aggregation" module:"openconfig-if-aggregate"`
Counters *Interface_Counters `path:"state/counters" module:"openconfig-interfaces/openconfig-interfaces"`
Cpu *bool `path:"state/cpu" module:"openconfig-interfaces/openconfig-interfaces"`
Description *string `path:"state/description" module:"openconfig-interfaces/openconfig-interfaces"`
Enabled *bool `path:"state/enabled" module:"openconfig-interfaces/openconfig-interfaces"`
Ethernet *Interface_Ethernet `path:"ethernet" module:"openconfig-if-ethernet"`
HoldTime *Interface_HoldTime `path:"hold-time" module:"openconfig-interfaces"`
Ifindex *uint32 `path:"state/ifindex" module:"openconfig-interfaces/openconfig-interfaces"`
LastChange *uint64 `path:"state/last-change" module:"openconfig-interfaces/openconfig-interfaces"`
Logical *bool `path:"state/logical" module:"openconfig-interfaces/openconfig-interfaces"`
LoopbackMode E_TransportTypes_LoopbackModeType `path:"state/loopback-mode" module:"openconfig-interfaces/openconfig-interfaces"`
Management *bool `path:"state/management" module:"openconfig-interfaces/openconfig-interfaces"`
Mtu *uint16 `path:"state/mtu" module:"openconfig-interfaces/openconfig-interfaces"`
Name *string `path:"state/name|name" module:"openconfig-interfaces/openconfig-interfaces|openconfig-interfaces"`
OperStatus E_Interface_OperStatus `path:"state/oper-status" module:"openconfig-interfaces/openconfig-interfaces"`
PenaltyBasedAied *Interface_PenaltyBasedAied `path:"penalty-based-aied" module:"openconfig-interfaces"`
RoutedVlan *Interface_RoutedVlan `path:"routed-vlan" module:"openconfig-vlan"`
Subinterface map[uint32]*Interface_Subinterface `path:"subinterfaces/subinterface" module:"openconfig-interfaces/openconfig-interfaces"`
Tpid E_VlanTypes_TPID_TYPES `path:"state/tpid" module:"openconfig-interfaces/openconfig-vlan"`
Type E_IETFInterfaces_InterfaceType `path:"state/type" module:"openconfig-interfaces/openconfig-interfaces"`
}
Interface represents the /openconfig-interfaces/interfaces/interface YANG schema element.
func (*Interface) AppendSubinterface ¶
func (t *Interface) AppendSubinterface(v *Interface_Subinterface) error
AppendSubinterface appends the supplied Interface_Subinterface struct to the list Subinterface of Interface. If the key value(s) specified in the supplied Interface_Subinterface already exist in the list, an error is returned.
func (*Interface) DeleteSubinterface ¶
DeleteSubinterface deletes the value with the specified keys from the receiver Interface. If there is no such element, the function is a no-op.
func (*Interface) GetAdminStatus ¶
func (t *Interface) GetAdminStatus() E_Interface_AdminStatus
GetAdminStatus retrieves the value of the leaf AdminStatus from the Interface struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AdminStatus is set, it can safely use t.GetAdminStatus() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AdminStatus == nil' before retrieving the leaf's value.
func (*Interface) GetAggregation ¶
func (t *Interface) GetAggregation() *Interface_Aggregation
GetAggregation returns the value of the Aggregation struct pointer from Interface. If the receiver or the field Aggregation is nil, nil is returned such that the Get* methods can be safely chained.
func (*Interface) GetCounters ¶
func (t *Interface) GetCounters() *Interface_Counters
GetCounters returns the value of the Counters struct pointer from Interface. If the receiver or the field Counters is nil, nil is returned such that the Get* methods can be safely chained.
func (*Interface) GetCpu ¶
GetCpu retrieves the value of the leaf Cpu from the Interface struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Cpu is set, it can safely use t.GetCpu() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Cpu == nil' before retrieving the leaf's value.
func (*Interface) GetDescription ¶
GetDescription retrieves the value of the leaf Description from the Interface struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Description is set, it can safely use t.GetDescription() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Description == nil' before retrieving the leaf's value.
func (*Interface) GetEnabled ¶
GetEnabled retrieves the value of the leaf Enabled from the Interface struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Enabled is set, it can safely use t.GetEnabled() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Enabled == nil' before retrieving the leaf's value.
func (*Interface) GetEthernet ¶
func (t *Interface) GetEthernet() *Interface_Ethernet
GetEthernet returns the value of the Ethernet struct pointer from Interface. If the receiver or the field Ethernet is nil, nil is returned such that the Get* methods can be safely chained.
func (*Interface) GetHoldTime ¶
func (t *Interface) GetHoldTime() *Interface_HoldTime
GetHoldTime returns the value of the HoldTime struct pointer from Interface. If the receiver or the field HoldTime is nil, nil is returned such that the Get* methods can be safely chained.
func (*Interface) GetIfindex ¶
GetIfindex retrieves the value of the leaf Ifindex from the Interface struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Ifindex is set, it can safely use t.GetIfindex() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Ifindex == nil' before retrieving the leaf's value.
func (*Interface) GetLastChange ¶
GetLastChange retrieves the value of the leaf LastChange from the Interface struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LastChange is set, it can safely use t.GetLastChange() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LastChange == nil' before retrieving the leaf's value.
func (*Interface) GetLogical ¶
GetLogical retrieves the value of the leaf Logical from the Interface struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Logical is set, it can safely use t.GetLogical() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Logical == nil' before retrieving the leaf's value.
func (*Interface) GetLoopbackMode ¶
func (t *Interface) GetLoopbackMode() E_TransportTypes_LoopbackModeType
GetLoopbackMode retrieves the value of the leaf LoopbackMode from the Interface struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LoopbackMode is set, it can safely use t.GetLoopbackMode() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LoopbackMode == nil' before retrieving the leaf's value.
func (*Interface) GetManagement ¶
GetManagement retrieves the value of the leaf Management from the Interface struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Management is set, it can safely use t.GetManagement() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Management == nil' before retrieving the leaf's value.
func (*Interface) GetMtu ¶
GetMtu retrieves the value of the leaf Mtu from the Interface struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Mtu is set, it can safely use t.GetMtu() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Mtu == nil' before retrieving the leaf's value.
func (*Interface) GetName ¶
GetName retrieves the value of the leaf Name from the Interface struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Name is set, it can safely use t.GetName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Name == nil' before retrieving the leaf's value.
func (*Interface) GetOperStatus ¶
func (t *Interface) GetOperStatus() E_Interface_OperStatus
GetOperStatus retrieves the value of the leaf OperStatus from the Interface struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OperStatus is set, it can safely use t.GetOperStatus() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OperStatus == nil' before retrieving the leaf's value.
func (*Interface) GetOrCreateAggregation ¶
func (t *Interface) GetOrCreateAggregation() *Interface_Aggregation
GetOrCreateAggregation retrieves the value of the Aggregation field or returns the existing field if it already exists.
func (*Interface) GetOrCreateCounters ¶
func (t *Interface) GetOrCreateCounters() *Interface_Counters
GetOrCreateCounters retrieves the value of the Counters field or returns the existing field if it already exists.
func (*Interface) GetOrCreateEthernet ¶
func (t *Interface) GetOrCreateEthernet() *Interface_Ethernet
GetOrCreateEthernet retrieves the value of the Ethernet field or returns the existing field if it already exists.
func (*Interface) GetOrCreateHoldTime ¶
func (t *Interface) GetOrCreateHoldTime() *Interface_HoldTime
GetOrCreateHoldTime retrieves the value of the HoldTime field or returns the existing field if it already exists.
func (*Interface) GetOrCreatePenaltyBasedAied ¶
func (t *Interface) GetOrCreatePenaltyBasedAied() *Interface_PenaltyBasedAied
GetOrCreatePenaltyBasedAied retrieves the value of the PenaltyBasedAied field or returns the existing field if it already exists.
func (*Interface) GetOrCreateRoutedVlan ¶
func (t *Interface) GetOrCreateRoutedVlan() *Interface_RoutedVlan
GetOrCreateRoutedVlan retrieves the value of the RoutedVlan field or returns the existing field if it already exists.
func (*Interface) GetOrCreateSubinterface ¶
func (t *Interface) GetOrCreateSubinterface(Index uint32) *Interface_Subinterface
GetOrCreateSubinterface retrieves the value with the specified keys from the receiver Interface. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*Interface) GetOrCreateSubinterfaceMap ¶
func (t *Interface) GetOrCreateSubinterfaceMap() map[uint32]*Interface_Subinterface
GetOrCreateSubinterfaceMap returns the list (map) from Interface.
It initializes the field if not already initialized.
func (*Interface) GetPenaltyBasedAied ¶
func (t *Interface) GetPenaltyBasedAied() *Interface_PenaltyBasedAied
GetPenaltyBasedAied returns the value of the PenaltyBasedAied struct pointer from Interface. If the receiver or the field PenaltyBasedAied is nil, nil is returned such that the Get* methods can be safely chained.
func (*Interface) GetRoutedVlan ¶
func (t *Interface) GetRoutedVlan() *Interface_RoutedVlan
GetRoutedVlan returns the value of the RoutedVlan struct pointer from Interface. If the receiver or the field RoutedVlan is nil, nil is returned such that the Get* methods can be safely chained.
func (*Interface) GetSubinterface ¶
func (t *Interface) GetSubinterface(Index uint32) *Interface_Subinterface
GetSubinterface retrieves the value with the specified key from the Subinterface map field of Interface. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.
func (*Interface) GetTpid ¶
func (t *Interface) GetTpid() E_VlanTypes_TPID_TYPES
GetTpid retrieves the value of the leaf Tpid from the Interface struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Tpid is set, it can safely use t.GetTpid() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Tpid == nil' before retrieving the leaf's value.
func (*Interface) GetType ¶
func (t *Interface) GetType() E_IETFInterfaces_InterfaceType
GetType retrieves the value of the leaf Type from the Interface struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Type is set, it can safely use t.GetType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Type == nil' before retrieving the leaf's value.
func (*Interface) IsYANGGoStruct ¶
func (*Interface) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface) NewSubinterface ¶
func (t *Interface) NewSubinterface(Index uint32) (*Interface_Subinterface, error)
NewSubinterface creates a new entry in the Subinterface list of the Interface struct. The keys of the list are populated from the input arguments.
func (*Interface) Validate ¶
func (t *Interface) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface) ΛBelongingModule ¶
ΛBelongingModule returns the name of the module that defines the namespace of Interface.
func (*Interface) ΛEnumTypeMap ¶
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Interface) ΛListKeyMap ¶
ΛListKeyMap returns the keys of the Interface struct, which is a YANG list entry.
type Interface_Aggregation ¶
type Interface_Aggregation struct {
LagSpeed *uint32 `path:"state/lag-speed" module:"openconfig-if-aggregate/openconfig-if-aggregate"`
LagType E_IfAggregate_AggregationType `path:"state/lag-type" module:"openconfig-if-aggregate/openconfig-if-aggregate"`
Member []string `path:"state/member" module:"openconfig-if-aggregate/openconfig-if-aggregate"`
MinLinks *uint16 `path:"state/min-links" module:"openconfig-if-aggregate/openconfig-if-aggregate"`
SwitchedVlan *Interface_Aggregation_SwitchedVlan `path:"switched-vlan" module:"openconfig-vlan"`
}
Interface_Aggregation represents the /openconfig-interfaces/interfaces/interface/aggregation YANG schema element.
func (*Interface_Aggregation) GetLagSpeed ¶
func (t *Interface_Aggregation) GetLagSpeed() uint32
GetLagSpeed retrieves the value of the leaf LagSpeed from the Interface_Aggregation struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LagSpeed is set, it can safely use t.GetLagSpeed() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LagSpeed == nil' before retrieving the leaf's value.
func (*Interface_Aggregation) GetLagType ¶
func (t *Interface_Aggregation) GetLagType() E_IfAggregate_AggregationType
GetLagType retrieves the value of the leaf LagType from the Interface_Aggregation struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LagType is set, it can safely use t.GetLagType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LagType == nil' before retrieving the leaf's value.
func (*Interface_Aggregation) GetMember ¶
func (t *Interface_Aggregation) GetMember() []string
GetMember retrieves the value of the leaf Member from the Interface_Aggregation struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Member is set, it can safely use t.GetMember() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Member == nil' before retrieving the leaf's value.
func (*Interface_Aggregation) GetMinLinks ¶
func (t *Interface_Aggregation) GetMinLinks() uint16
GetMinLinks retrieves the value of the leaf MinLinks from the Interface_Aggregation struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MinLinks is set, it can safely use t.GetMinLinks() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MinLinks == nil' before retrieving the leaf's value.
func (*Interface_Aggregation) GetOrCreateSwitchedVlan ¶
func (t *Interface_Aggregation) GetOrCreateSwitchedVlan() *Interface_Aggregation_SwitchedVlan
GetOrCreateSwitchedVlan retrieves the value of the SwitchedVlan field or returns the existing field if it already exists.
func (*Interface_Aggregation) GetSwitchedVlan ¶
func (t *Interface_Aggregation) GetSwitchedVlan() *Interface_Aggregation_SwitchedVlan
GetSwitchedVlan returns the value of the SwitchedVlan struct pointer from Interface_Aggregation. If the receiver or the field SwitchedVlan is nil, nil is returned such that the Get* methods can be safely chained.
func (*Interface_Aggregation) IsYANGGoStruct ¶
func (*Interface_Aggregation) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_Aggregation implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_Aggregation) Validate ¶
func (t *Interface_Aggregation) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_Aggregation) ΛBelongingModule ¶
func (*Interface_Aggregation) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_Aggregation.
func (*Interface_Aggregation) ΛEnumTypeMap ¶
func (t *Interface_Aggregation) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Interface_Aggregation) ΛValidate ¶
func (t *Interface_Aggregation) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface_Aggregation_SwitchedVlan ¶
type Interface_Aggregation_SwitchedVlan struct {
AccessVlan *uint16 `path:"state/access-vlan" module:"openconfig-vlan/openconfig-vlan"`
InterfaceMode E_VlanTypes_VlanModeType `path:"state/interface-mode" module:"openconfig-vlan/openconfig-vlan"`
NativeVlan *uint16 `path:"state/native-vlan" module:"openconfig-vlan/openconfig-vlan"`
TrunkVlans []Interface_Aggregation_SwitchedVlan_TrunkVlans_Union `path:"state/trunk-vlans" module:"openconfig-vlan/openconfig-vlan"`
}
Interface_Aggregation_SwitchedVlan represents the /openconfig-interfaces/interfaces/interface/aggregation/switched-vlan YANG schema element.
func (*Interface_Aggregation_SwitchedVlan) GetAccessVlan ¶
func (t *Interface_Aggregation_SwitchedVlan) GetAccessVlan() uint16
GetAccessVlan retrieves the value of the leaf AccessVlan from the Interface_Aggregation_SwitchedVlan struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AccessVlan is set, it can safely use t.GetAccessVlan() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AccessVlan == nil' before retrieving the leaf's value.
func (*Interface_Aggregation_SwitchedVlan) GetInterfaceMode ¶
func (t *Interface_Aggregation_SwitchedVlan) GetInterfaceMode() E_VlanTypes_VlanModeType
GetInterfaceMode retrieves the value of the leaf InterfaceMode from the Interface_Aggregation_SwitchedVlan struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InterfaceMode is set, it can safely use t.GetInterfaceMode() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InterfaceMode == nil' before retrieving the leaf's value.
func (*Interface_Aggregation_SwitchedVlan) GetNativeVlan ¶
func (t *Interface_Aggregation_SwitchedVlan) GetNativeVlan() uint16
GetNativeVlan retrieves the value of the leaf NativeVlan from the Interface_Aggregation_SwitchedVlan struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if NativeVlan is set, it can safely use t.GetNativeVlan() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.NativeVlan == nil' before retrieving the leaf's value.
func (*Interface_Aggregation_SwitchedVlan) GetTrunkVlans ¶
func (t *Interface_Aggregation_SwitchedVlan) GetTrunkVlans() []Interface_Aggregation_SwitchedVlan_TrunkVlans_Union
GetTrunkVlans retrieves the value of the leaf TrunkVlans from the Interface_Aggregation_SwitchedVlan struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TrunkVlans is set, it can safely use t.GetTrunkVlans() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TrunkVlans == nil' before retrieving the leaf's value.
func (*Interface_Aggregation_SwitchedVlan) IsYANGGoStruct ¶
func (*Interface_Aggregation_SwitchedVlan) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_Aggregation_SwitchedVlan implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_Aggregation_SwitchedVlan) To_Interface_Aggregation_SwitchedVlan_TrunkVlans_Union ¶
func (t *Interface_Aggregation_SwitchedVlan) To_Interface_Aggregation_SwitchedVlan_TrunkVlans_Union(i interface{}) (Interface_Aggregation_SwitchedVlan_TrunkVlans_Union, error)
To_Interface_Aggregation_SwitchedVlan_TrunkVlans_Union takes an input interface{} and attempts to convert it to a struct which implements the Interface_Aggregation_SwitchedVlan_TrunkVlans_Union union. It returns an error if the interface{} supplied cannot be converted to a type within the union.
func (*Interface_Aggregation_SwitchedVlan) Validate ¶
func (t *Interface_Aggregation_SwitchedVlan) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_Aggregation_SwitchedVlan) ΛBelongingModule ¶
func (*Interface_Aggregation_SwitchedVlan) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_Aggregation_SwitchedVlan.
func (*Interface_Aggregation_SwitchedVlan) ΛEnumTypeMap ¶
func (t *Interface_Aggregation_SwitchedVlan) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Interface_Aggregation_SwitchedVlan) ΛValidate ¶
func (t *Interface_Aggregation_SwitchedVlan) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface_Aggregation_SwitchedVlan_TrunkVlans_Union ¶
type Interface_Aggregation_SwitchedVlan_TrunkVlans_Union interface {
// Union type can be one of [UnionString, UnionUint16]
Documentation_for_Interface_Aggregation_SwitchedVlan_TrunkVlans_Union()
}
Interface_Aggregation_SwitchedVlan_TrunkVlans_Union is an interface that is implemented by valid types for the union for the leaf /openconfig-interfaces/interfaces/interface/aggregation/switched-vlan/state/trunk-vlans within the YANG schema. Union type can be one of [UnionString, UnionUint16].
type Interface_Counters ¶
type Interface_Counters struct {
CarrierTransitions *uint64 `path:"carrier-transitions" module:"openconfig-interfaces"`
InBroadcastPkts *uint64 `path:"in-broadcast-pkts" module:"openconfig-interfaces"`
InDiscards *uint64 `path:"in-discards" module:"openconfig-interfaces"`
InErrors *uint64 `path:"in-errors" module:"openconfig-interfaces"`
InFcsErrors *uint64 `path:"in-fcs-errors" module:"openconfig-interfaces"`
InMulticastPkts *uint64 `path:"in-multicast-pkts" module:"openconfig-interfaces"`
InOctets *uint64 `path:"in-octets" module:"openconfig-interfaces"`
InPkts *uint64 `path:"in-pkts" module:"openconfig-interfaces"`
InUnicastPkts *uint64 `path:"in-unicast-pkts" module:"openconfig-interfaces"`
InUnknownProtos *uint64 `path:"in-unknown-protos" module:"openconfig-interfaces"`
InterfaceTransitions *uint64 `path:"interface-transitions" module:"openconfig-interfaces"`
LastClear *uint64 `path:"last-clear" module:"openconfig-interfaces"`
LinkTransitions *uint64 `path:"link-transitions" module:"openconfig-interfaces"`
OutBroadcastPkts *uint64 `path:"out-broadcast-pkts" module:"openconfig-interfaces"`
OutDiscards *uint64 `path:"out-discards" module:"openconfig-interfaces"`
OutErrors *uint64 `path:"out-errors" module:"openconfig-interfaces"`
OutMulticastPkts *uint64 `path:"out-multicast-pkts" module:"openconfig-interfaces"`
OutOctets *uint64 `path:"out-octets" module:"openconfig-interfaces"`
OutPkts *uint64 `path:"out-pkts" module:"openconfig-interfaces"`
OutUnicastPkts *uint64 `path:"out-unicast-pkts" module:"openconfig-interfaces"`
Resets *uint64 `path:"resets" module:"openconfig-interfaces"`
}
Interface_Counters represents the /openconfig-interfaces/interfaces/interface/state/counters YANG schema element.
func (*Interface_Counters) GetCarrierTransitions ¶
func (t *Interface_Counters) GetCarrierTransitions() uint64
GetCarrierTransitions retrieves the value of the leaf CarrierTransitions from the Interface_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if CarrierTransitions is set, it can safely use t.GetCarrierTransitions() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.CarrierTransitions == nil' before retrieving the leaf's value.
func (*Interface_Counters) GetInBroadcastPkts ¶
func (t *Interface_Counters) GetInBroadcastPkts() uint64
GetInBroadcastPkts retrieves the value of the leaf InBroadcastPkts from the Interface_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InBroadcastPkts is set, it can safely use t.GetInBroadcastPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InBroadcastPkts == nil' before retrieving the leaf's value.
func (*Interface_Counters) GetInDiscards ¶
func (t *Interface_Counters) GetInDiscards() uint64
GetInDiscards retrieves the value of the leaf InDiscards from the Interface_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InDiscards is set, it can safely use t.GetInDiscards() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InDiscards == nil' before retrieving the leaf's value.
func (*Interface_Counters) GetInErrors ¶
func (t *Interface_Counters) GetInErrors() uint64
GetInErrors retrieves the value of the leaf InErrors from the Interface_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InErrors is set, it can safely use t.GetInErrors() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InErrors == nil' before retrieving the leaf's value.
func (*Interface_Counters) GetInFcsErrors ¶
func (t *Interface_Counters) GetInFcsErrors() uint64
GetInFcsErrors retrieves the value of the leaf InFcsErrors from the Interface_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InFcsErrors is set, it can safely use t.GetInFcsErrors() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InFcsErrors == nil' before retrieving the leaf's value.
func (*Interface_Counters) GetInMulticastPkts ¶
func (t *Interface_Counters) GetInMulticastPkts() uint64
GetInMulticastPkts retrieves the value of the leaf InMulticastPkts from the Interface_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InMulticastPkts is set, it can safely use t.GetInMulticastPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InMulticastPkts == nil' before retrieving the leaf's value.
func (*Interface_Counters) GetInOctets ¶
func (t *Interface_Counters) GetInOctets() uint64
GetInOctets retrieves the value of the leaf InOctets from the Interface_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InOctets is set, it can safely use t.GetInOctets() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InOctets == nil' before retrieving the leaf's value.
func (*Interface_Counters) GetInPkts ¶
func (t *Interface_Counters) GetInPkts() uint64
GetInPkts retrieves the value of the leaf InPkts from the Interface_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InPkts is set, it can safely use t.GetInPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InPkts == nil' before retrieving the leaf's value.
func (*Interface_Counters) GetInUnicastPkts ¶
func (t *Interface_Counters) GetInUnicastPkts() uint64
GetInUnicastPkts retrieves the value of the leaf InUnicastPkts from the Interface_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InUnicastPkts is set, it can safely use t.GetInUnicastPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InUnicastPkts == nil' before retrieving the leaf's value.
func (*Interface_Counters) GetInUnknownProtos ¶
func (t *Interface_Counters) GetInUnknownProtos() uint64
GetInUnknownProtos retrieves the value of the leaf InUnknownProtos from the Interface_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InUnknownProtos is set, it can safely use t.GetInUnknownProtos() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InUnknownProtos == nil' before retrieving the leaf's value.
func (*Interface_Counters) GetInterfaceTransitions ¶
func (t *Interface_Counters) GetInterfaceTransitions() uint64
GetInterfaceTransitions retrieves the value of the leaf InterfaceTransitions from the Interface_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InterfaceTransitions is set, it can safely use t.GetInterfaceTransitions() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InterfaceTransitions == nil' before retrieving the leaf's value.
func (*Interface_Counters) GetLastClear ¶
func (t *Interface_Counters) GetLastClear() uint64
GetLastClear retrieves the value of the leaf LastClear from the Interface_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LastClear is set, it can safely use t.GetLastClear() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LastClear == nil' before retrieving the leaf's value.
func (*Interface_Counters) GetLinkTransitions ¶
func (t *Interface_Counters) GetLinkTransitions() uint64
GetLinkTransitions retrieves the value of the leaf LinkTransitions from the Interface_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LinkTransitions is set, it can safely use t.GetLinkTransitions() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LinkTransitions == nil' before retrieving the leaf's value.
func (*Interface_Counters) GetOutBroadcastPkts ¶
func (t *Interface_Counters) GetOutBroadcastPkts() uint64
GetOutBroadcastPkts retrieves the value of the leaf OutBroadcastPkts from the Interface_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutBroadcastPkts is set, it can safely use t.GetOutBroadcastPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutBroadcastPkts == nil' before retrieving the leaf's value.
func (*Interface_Counters) GetOutDiscards ¶
func (t *Interface_Counters) GetOutDiscards() uint64
GetOutDiscards retrieves the value of the leaf OutDiscards from the Interface_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutDiscards is set, it can safely use t.GetOutDiscards() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutDiscards == nil' before retrieving the leaf's value.
func (*Interface_Counters) GetOutErrors ¶
func (t *Interface_Counters) GetOutErrors() uint64
GetOutErrors retrieves the value of the leaf OutErrors from the Interface_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutErrors is set, it can safely use t.GetOutErrors() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutErrors == nil' before retrieving the leaf's value.
func (*Interface_Counters) GetOutMulticastPkts ¶
func (t *Interface_Counters) GetOutMulticastPkts() uint64
GetOutMulticastPkts retrieves the value of the leaf OutMulticastPkts from the Interface_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutMulticastPkts is set, it can safely use t.GetOutMulticastPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutMulticastPkts == nil' before retrieving the leaf's value.
func (*Interface_Counters) GetOutOctets ¶
func (t *Interface_Counters) GetOutOctets() uint64
GetOutOctets retrieves the value of the leaf OutOctets from the Interface_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutOctets is set, it can safely use t.GetOutOctets() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutOctets == nil' before retrieving the leaf's value.
func (*Interface_Counters) GetOutPkts ¶
func (t *Interface_Counters) GetOutPkts() uint64
GetOutPkts retrieves the value of the leaf OutPkts from the Interface_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutPkts is set, it can safely use t.GetOutPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutPkts == nil' before retrieving the leaf's value.
func (*Interface_Counters) GetOutUnicastPkts ¶
func (t *Interface_Counters) GetOutUnicastPkts() uint64
GetOutUnicastPkts retrieves the value of the leaf OutUnicastPkts from the Interface_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutUnicastPkts is set, it can safely use t.GetOutUnicastPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutUnicastPkts == nil' before retrieving the leaf's value.
func (*Interface_Counters) GetResets ¶
func (t *Interface_Counters) GetResets() uint64
GetResets retrieves the value of the leaf Resets from the Interface_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Resets is set, it can safely use t.GetResets() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Resets == nil' before retrieving the leaf's value.
func (*Interface_Counters) IsYANGGoStruct ¶
func (*Interface_Counters) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_Counters implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_Counters) Validate ¶
func (t *Interface_Counters) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_Counters) ΛBelongingModule ¶
func (*Interface_Counters) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_Counters.
func (*Interface_Counters) ΛEnumTypeMap ¶
func (t *Interface_Counters) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Interface_Counters) ΛValidate ¶
func (t *Interface_Counters) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface_Ethernet ¶
type Interface_Ethernet struct {
AggregateId *string `path:"state/aggregate-id" module:"openconfig-if-ethernet/openconfig-if-aggregate"`
AutoNegotiate *bool `path:"state/auto-negotiate" module:"openconfig-if-ethernet/openconfig-if-ethernet"`
Counters *Interface_Ethernet_Counters `path:"state/counters" module:"openconfig-if-ethernet/openconfig-if-ethernet"`
DuplexMode E_Ethernet_DuplexMode `path:"state/duplex-mode" module:"openconfig-if-ethernet/openconfig-if-ethernet"`
EnableFlowControl *bool `path:"state/enable-flow-control" module:"openconfig-if-ethernet/openconfig-if-ethernet"`
FecMode E_IfEthernet_INTERFACE_FEC `path:"state/fec-mode" module:"openconfig-if-ethernet/openconfig-if-ethernet"`
HwMacAddress *string `path:"state/hw-mac-address" module:"openconfig-if-ethernet/openconfig-if-ethernet"`
MacAddress *string `path:"state/mac-address" module:"openconfig-if-ethernet/openconfig-if-ethernet"`
NegotiatedDuplexMode E_Ethernet_NegotiatedDuplexMode `path:"state/negotiated-duplex-mode" module:"openconfig-if-ethernet/openconfig-if-ethernet"`
NegotiatedPortSpeed E_IfEthernet_ETHERNET_SPEED `path:"state/negotiated-port-speed" module:"openconfig-if-ethernet/openconfig-if-ethernet"`
PortSpeed E_IfEthernet_ETHERNET_SPEED `path:"state/port-speed" module:"openconfig-if-ethernet/openconfig-if-ethernet"`
StandaloneLinkTraining *bool `path:"state/standalone-link-training" module:"openconfig-if-ethernet/openconfig-if-ethernet"`
SwitchedVlan *Interface_Ethernet_SwitchedVlan `path:"switched-vlan" module:"openconfig-vlan"`
}
Interface_Ethernet represents the /openconfig-interfaces/interfaces/interface/ethernet YANG schema element.
func (*Interface_Ethernet) GetAggregateId ¶
func (t *Interface_Ethernet) GetAggregateId() string
GetAggregateId retrieves the value of the leaf AggregateId from the Interface_Ethernet struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AggregateId is set, it can safely use t.GetAggregateId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AggregateId == nil' before retrieving the leaf's value.
func (*Interface_Ethernet) GetAutoNegotiate ¶
func (t *Interface_Ethernet) GetAutoNegotiate() bool
GetAutoNegotiate retrieves the value of the leaf AutoNegotiate from the Interface_Ethernet struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AutoNegotiate is set, it can safely use t.GetAutoNegotiate() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AutoNegotiate == nil' before retrieving the leaf's value.
func (*Interface_Ethernet) GetCounters ¶
func (t *Interface_Ethernet) GetCounters() *Interface_Ethernet_Counters
GetCounters returns the value of the Counters struct pointer from Interface_Ethernet. If the receiver or the field Counters is nil, nil is returned such that the Get* methods can be safely chained.
func (*Interface_Ethernet) GetDuplexMode ¶
func (t *Interface_Ethernet) GetDuplexMode() E_Ethernet_DuplexMode
GetDuplexMode retrieves the value of the leaf DuplexMode from the Interface_Ethernet struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if DuplexMode is set, it can safely use t.GetDuplexMode() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.DuplexMode == nil' before retrieving the leaf's value.
func (*Interface_Ethernet) GetEnableFlowControl ¶
func (t *Interface_Ethernet) GetEnableFlowControl() bool
GetEnableFlowControl retrieves the value of the leaf EnableFlowControl from the Interface_Ethernet struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if EnableFlowControl is set, it can safely use t.GetEnableFlowControl() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.EnableFlowControl == nil' before retrieving the leaf's value.
func (*Interface_Ethernet) GetFecMode ¶
func (t *Interface_Ethernet) GetFecMode() E_IfEthernet_INTERFACE_FEC
GetFecMode retrieves the value of the leaf FecMode from the Interface_Ethernet struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if FecMode is set, it can safely use t.GetFecMode() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.FecMode == nil' before retrieving the leaf's value.
func (*Interface_Ethernet) GetHwMacAddress ¶
func (t *Interface_Ethernet) GetHwMacAddress() string
GetHwMacAddress retrieves the value of the leaf HwMacAddress from the Interface_Ethernet struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if HwMacAddress is set, it can safely use t.GetHwMacAddress() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.HwMacAddress == nil' before retrieving the leaf's value.
func (*Interface_Ethernet) GetMacAddress ¶
func (t *Interface_Ethernet) GetMacAddress() string
GetMacAddress retrieves the value of the leaf MacAddress from the Interface_Ethernet struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MacAddress is set, it can safely use t.GetMacAddress() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MacAddress == nil' before retrieving the leaf's value.
func (*Interface_Ethernet) GetNegotiatedDuplexMode ¶
func (t *Interface_Ethernet) GetNegotiatedDuplexMode() E_Ethernet_NegotiatedDuplexMode
GetNegotiatedDuplexMode retrieves the value of the leaf NegotiatedDuplexMode from the Interface_Ethernet struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if NegotiatedDuplexMode is set, it can safely use t.GetNegotiatedDuplexMode() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.NegotiatedDuplexMode == nil' before retrieving the leaf's value.
func (*Interface_Ethernet) GetNegotiatedPortSpeed ¶
func (t *Interface_Ethernet) GetNegotiatedPortSpeed() E_IfEthernet_ETHERNET_SPEED
GetNegotiatedPortSpeed retrieves the value of the leaf NegotiatedPortSpeed from the Interface_Ethernet struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if NegotiatedPortSpeed is set, it can safely use t.GetNegotiatedPortSpeed() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.NegotiatedPortSpeed == nil' before retrieving the leaf's value.
func (*Interface_Ethernet) GetOrCreateCounters ¶
func (t *Interface_Ethernet) GetOrCreateCounters() *Interface_Ethernet_Counters
GetOrCreateCounters retrieves the value of the Counters field or returns the existing field if it already exists.
func (*Interface_Ethernet) GetOrCreateSwitchedVlan ¶
func (t *Interface_Ethernet) GetOrCreateSwitchedVlan() *Interface_Ethernet_SwitchedVlan
GetOrCreateSwitchedVlan retrieves the value of the SwitchedVlan field or returns the existing field if it already exists.
func (*Interface_Ethernet) GetPortSpeed ¶
func (t *Interface_Ethernet) GetPortSpeed() E_IfEthernet_ETHERNET_SPEED
GetPortSpeed retrieves the value of the leaf PortSpeed from the Interface_Ethernet struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if PortSpeed is set, it can safely use t.GetPortSpeed() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.PortSpeed == nil' before retrieving the leaf's value.
func (*Interface_Ethernet) GetStandaloneLinkTraining ¶
func (t *Interface_Ethernet) GetStandaloneLinkTraining() bool
GetStandaloneLinkTraining retrieves the value of the leaf StandaloneLinkTraining from the Interface_Ethernet struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if StandaloneLinkTraining is set, it can safely use t.GetStandaloneLinkTraining() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.StandaloneLinkTraining == nil' before retrieving the leaf's value.
func (*Interface_Ethernet) GetSwitchedVlan ¶
func (t *Interface_Ethernet) GetSwitchedVlan() *Interface_Ethernet_SwitchedVlan
GetSwitchedVlan returns the value of the SwitchedVlan struct pointer from Interface_Ethernet. If the receiver or the field SwitchedVlan is nil, nil is returned such that the Get* methods can be safely chained.
func (*Interface_Ethernet) IsYANGGoStruct ¶
func (*Interface_Ethernet) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_Ethernet implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_Ethernet) Validate ¶
func (t *Interface_Ethernet) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_Ethernet) ΛBelongingModule ¶
func (*Interface_Ethernet) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_Ethernet.
func (*Interface_Ethernet) ΛEnumTypeMap ¶
func (t *Interface_Ethernet) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Interface_Ethernet) ΛValidate ¶
func (t *Interface_Ethernet) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface_Ethernet_Counters ¶
type Interface_Ethernet_Counters struct {
In_8021QFrames *uint64 `path:"in-8021q-frames" module:"openconfig-if-ethernet"`
InBlockErrors *uint64 `path:"in-block-errors" module:"openconfig-if-ethernet"`
InCarrierErrors *uint64 `path:"in-carrier-errors" module:"openconfig-if-ethernet"`
InCrcErrors *uint64 `path:"in-crc-errors" module:"openconfig-if-ethernet"`
InFragmentFrames *uint64 `path:"in-fragment-frames" module:"openconfig-if-ethernet"`
InInterruptedTx *uint64 `path:"in-interrupted-tx" module:"openconfig-if-ethernet"`
InJabberFrames *uint64 `path:"in-jabber-frames" module:"openconfig-if-ethernet"`
InLateCollision *uint64 `path:"in-late-collision" module:"openconfig-if-ethernet"`
InMacControlFrames *uint64 `path:"in-mac-control-frames" module:"openconfig-if-ethernet"`
InMacErrorsRx *uint64 `path:"in-mac-errors-rx" module:"openconfig-if-ethernet"`
InMacPauseFrames *uint64 `path:"in-mac-pause-frames" module:"openconfig-if-ethernet"`
InMaxsizeExceeded *uint64 `path:"in-maxsize-exceeded" module:"openconfig-if-ethernet"`
InOversizeFrames *uint64 `path:"in-oversize-frames" module:"openconfig-if-ethernet"`
InSingleCollision *uint64 `path:"in-single-collision" module:"openconfig-if-ethernet"`
InSymbolError *uint64 `path:"in-symbol-error" module:"openconfig-if-ethernet"`
InUndersizeFrames *uint64 `path:"in-undersize-frames" module:"openconfig-if-ethernet"`
Out_8021QFrames *uint64 `path:"out-8021q-frames" module:"openconfig-if-ethernet"`
OutMacControlFrames *uint64 `path:"out-mac-control-frames" module:"openconfig-if-ethernet"`
OutMacErrorsTx *uint64 `path:"out-mac-errors-tx" module:"openconfig-if-ethernet"`
OutMacPauseFrames *uint64 `path:"out-mac-pause-frames" module:"openconfig-if-ethernet"`
}
Interface_Ethernet_Counters represents the /openconfig-interfaces/interfaces/interface/ethernet/state/counters YANG schema element.
func (*Interface_Ethernet_Counters) GetInBlockErrors ¶
func (t *Interface_Ethernet_Counters) GetInBlockErrors() uint64
GetInBlockErrors retrieves the value of the leaf InBlockErrors from the Interface_Ethernet_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InBlockErrors is set, it can safely use t.GetInBlockErrors() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InBlockErrors == nil' before retrieving the leaf's value.
func (*Interface_Ethernet_Counters) GetInCarrierErrors ¶
func (t *Interface_Ethernet_Counters) GetInCarrierErrors() uint64
GetInCarrierErrors retrieves the value of the leaf InCarrierErrors from the Interface_Ethernet_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InCarrierErrors is set, it can safely use t.GetInCarrierErrors() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InCarrierErrors == nil' before retrieving the leaf's value.
func (*Interface_Ethernet_Counters) GetInCrcErrors ¶
func (t *Interface_Ethernet_Counters) GetInCrcErrors() uint64
GetInCrcErrors retrieves the value of the leaf InCrcErrors from the Interface_Ethernet_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InCrcErrors is set, it can safely use t.GetInCrcErrors() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InCrcErrors == nil' before retrieving the leaf's value.
func (*Interface_Ethernet_Counters) GetInFragmentFrames ¶
func (t *Interface_Ethernet_Counters) GetInFragmentFrames() uint64
GetInFragmentFrames retrieves the value of the leaf InFragmentFrames from the Interface_Ethernet_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InFragmentFrames is set, it can safely use t.GetInFragmentFrames() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InFragmentFrames == nil' before retrieving the leaf's value.
func (*Interface_Ethernet_Counters) GetInInterruptedTx ¶
func (t *Interface_Ethernet_Counters) GetInInterruptedTx() uint64
GetInInterruptedTx retrieves the value of the leaf InInterruptedTx from the Interface_Ethernet_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InInterruptedTx is set, it can safely use t.GetInInterruptedTx() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InInterruptedTx == nil' before retrieving the leaf's value.
func (*Interface_Ethernet_Counters) GetInJabberFrames ¶
func (t *Interface_Ethernet_Counters) GetInJabberFrames() uint64
GetInJabberFrames retrieves the value of the leaf InJabberFrames from the Interface_Ethernet_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InJabberFrames is set, it can safely use t.GetInJabberFrames() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InJabberFrames == nil' before retrieving the leaf's value.
func (*Interface_Ethernet_Counters) GetInLateCollision ¶
func (t *Interface_Ethernet_Counters) GetInLateCollision() uint64
GetInLateCollision retrieves the value of the leaf InLateCollision from the Interface_Ethernet_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InLateCollision is set, it can safely use t.GetInLateCollision() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InLateCollision == nil' before retrieving the leaf's value.
func (*Interface_Ethernet_Counters) GetInMacControlFrames ¶
func (t *Interface_Ethernet_Counters) GetInMacControlFrames() uint64
GetInMacControlFrames retrieves the value of the leaf InMacControlFrames from the Interface_Ethernet_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InMacControlFrames is set, it can safely use t.GetInMacControlFrames() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InMacControlFrames == nil' before retrieving the leaf's value.
func (*Interface_Ethernet_Counters) GetInMacErrorsRx ¶
func (t *Interface_Ethernet_Counters) GetInMacErrorsRx() uint64
GetInMacErrorsRx retrieves the value of the leaf InMacErrorsRx from the Interface_Ethernet_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InMacErrorsRx is set, it can safely use t.GetInMacErrorsRx() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InMacErrorsRx == nil' before retrieving the leaf's value.
func (*Interface_Ethernet_Counters) GetInMacPauseFrames ¶
func (t *Interface_Ethernet_Counters) GetInMacPauseFrames() uint64
GetInMacPauseFrames retrieves the value of the leaf InMacPauseFrames from the Interface_Ethernet_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InMacPauseFrames is set, it can safely use t.GetInMacPauseFrames() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InMacPauseFrames == nil' before retrieving the leaf's value.
func (*Interface_Ethernet_Counters) GetInMaxsizeExceeded ¶
func (t *Interface_Ethernet_Counters) GetInMaxsizeExceeded() uint64
GetInMaxsizeExceeded retrieves the value of the leaf InMaxsizeExceeded from the Interface_Ethernet_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InMaxsizeExceeded is set, it can safely use t.GetInMaxsizeExceeded() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InMaxsizeExceeded == nil' before retrieving the leaf's value.
func (*Interface_Ethernet_Counters) GetInOversizeFrames ¶
func (t *Interface_Ethernet_Counters) GetInOversizeFrames() uint64
GetInOversizeFrames retrieves the value of the leaf InOversizeFrames from the Interface_Ethernet_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InOversizeFrames is set, it can safely use t.GetInOversizeFrames() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InOversizeFrames == nil' before retrieving the leaf's value.
func (*Interface_Ethernet_Counters) GetInSingleCollision ¶
func (t *Interface_Ethernet_Counters) GetInSingleCollision() uint64
GetInSingleCollision retrieves the value of the leaf InSingleCollision from the Interface_Ethernet_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InSingleCollision is set, it can safely use t.GetInSingleCollision() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InSingleCollision == nil' before retrieving the leaf's value.
func (*Interface_Ethernet_Counters) GetInSymbolError ¶
func (t *Interface_Ethernet_Counters) GetInSymbolError() uint64
GetInSymbolError retrieves the value of the leaf InSymbolError from the Interface_Ethernet_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InSymbolError is set, it can safely use t.GetInSymbolError() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InSymbolError == nil' before retrieving the leaf's value.
func (*Interface_Ethernet_Counters) GetInUndersizeFrames ¶
func (t *Interface_Ethernet_Counters) GetInUndersizeFrames() uint64
GetInUndersizeFrames retrieves the value of the leaf InUndersizeFrames from the Interface_Ethernet_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InUndersizeFrames is set, it can safely use t.GetInUndersizeFrames() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InUndersizeFrames == nil' before retrieving the leaf's value.
func (*Interface_Ethernet_Counters) GetIn_8021QFrames ¶
func (t *Interface_Ethernet_Counters) GetIn_8021QFrames() uint64
GetIn_8021QFrames retrieves the value of the leaf In_8021QFrames from the Interface_Ethernet_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if In_8021QFrames is set, it can safely use t.GetIn_8021QFrames() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.In_8021QFrames == nil' before retrieving the leaf's value.
func (*Interface_Ethernet_Counters) GetOutMacControlFrames ¶
func (t *Interface_Ethernet_Counters) GetOutMacControlFrames() uint64
GetOutMacControlFrames retrieves the value of the leaf OutMacControlFrames from the Interface_Ethernet_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutMacControlFrames is set, it can safely use t.GetOutMacControlFrames() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutMacControlFrames == nil' before retrieving the leaf's value.
func (*Interface_Ethernet_Counters) GetOutMacErrorsTx ¶
func (t *Interface_Ethernet_Counters) GetOutMacErrorsTx() uint64
GetOutMacErrorsTx retrieves the value of the leaf OutMacErrorsTx from the Interface_Ethernet_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutMacErrorsTx is set, it can safely use t.GetOutMacErrorsTx() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutMacErrorsTx == nil' before retrieving the leaf's value.
func (*Interface_Ethernet_Counters) GetOutMacPauseFrames ¶
func (t *Interface_Ethernet_Counters) GetOutMacPauseFrames() uint64
GetOutMacPauseFrames retrieves the value of the leaf OutMacPauseFrames from the Interface_Ethernet_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutMacPauseFrames is set, it can safely use t.GetOutMacPauseFrames() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutMacPauseFrames == nil' before retrieving the leaf's value.
func (*Interface_Ethernet_Counters) GetOut_8021QFrames ¶
func (t *Interface_Ethernet_Counters) GetOut_8021QFrames() uint64
GetOut_8021QFrames retrieves the value of the leaf Out_8021QFrames from the Interface_Ethernet_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Out_8021QFrames is set, it can safely use t.GetOut_8021QFrames() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Out_8021QFrames == nil' before retrieving the leaf's value.
func (*Interface_Ethernet_Counters) IsYANGGoStruct ¶
func (*Interface_Ethernet_Counters) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_Ethernet_Counters implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_Ethernet_Counters) Validate ¶
func (t *Interface_Ethernet_Counters) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_Ethernet_Counters) ΛBelongingModule ¶
func (*Interface_Ethernet_Counters) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_Ethernet_Counters.
func (*Interface_Ethernet_Counters) ΛEnumTypeMap ¶
func (t *Interface_Ethernet_Counters) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Interface_Ethernet_Counters) ΛValidate ¶
func (t *Interface_Ethernet_Counters) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface_Ethernet_SwitchedVlan ¶
type Interface_Ethernet_SwitchedVlan struct {
AccessVlan *uint16 `path:"state/access-vlan" module:"openconfig-vlan/openconfig-vlan"`
InterfaceMode E_VlanTypes_VlanModeType `path:"state/interface-mode" module:"openconfig-vlan/openconfig-vlan"`
NativeVlan *uint16 `path:"state/native-vlan" module:"openconfig-vlan/openconfig-vlan"`
TrunkVlans []Interface_Ethernet_SwitchedVlan_TrunkVlans_Union `path:"state/trunk-vlans" module:"openconfig-vlan/openconfig-vlan"`
}
Interface_Ethernet_SwitchedVlan represents the /openconfig-interfaces/interfaces/interface/ethernet/switched-vlan YANG schema element.
func (*Interface_Ethernet_SwitchedVlan) GetAccessVlan ¶
func (t *Interface_Ethernet_SwitchedVlan) GetAccessVlan() uint16
GetAccessVlan retrieves the value of the leaf AccessVlan from the Interface_Ethernet_SwitchedVlan struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AccessVlan is set, it can safely use t.GetAccessVlan() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AccessVlan == nil' before retrieving the leaf's value.
func (*Interface_Ethernet_SwitchedVlan) GetInterfaceMode ¶
func (t *Interface_Ethernet_SwitchedVlan) GetInterfaceMode() E_VlanTypes_VlanModeType
GetInterfaceMode retrieves the value of the leaf InterfaceMode from the Interface_Ethernet_SwitchedVlan struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InterfaceMode is set, it can safely use t.GetInterfaceMode() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InterfaceMode == nil' before retrieving the leaf's value.
func (*Interface_Ethernet_SwitchedVlan) GetNativeVlan ¶
func (t *Interface_Ethernet_SwitchedVlan) GetNativeVlan() uint16
GetNativeVlan retrieves the value of the leaf NativeVlan from the Interface_Ethernet_SwitchedVlan struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if NativeVlan is set, it can safely use t.GetNativeVlan() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.NativeVlan == nil' before retrieving the leaf's value.
func (*Interface_Ethernet_SwitchedVlan) GetTrunkVlans ¶
func (t *Interface_Ethernet_SwitchedVlan) GetTrunkVlans() []Interface_Ethernet_SwitchedVlan_TrunkVlans_Union
GetTrunkVlans retrieves the value of the leaf TrunkVlans from the Interface_Ethernet_SwitchedVlan struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TrunkVlans is set, it can safely use t.GetTrunkVlans() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TrunkVlans == nil' before retrieving the leaf's value.
func (*Interface_Ethernet_SwitchedVlan) IsYANGGoStruct ¶
func (*Interface_Ethernet_SwitchedVlan) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_Ethernet_SwitchedVlan implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_Ethernet_SwitchedVlan) To_Interface_Ethernet_SwitchedVlan_TrunkVlans_Union ¶
func (t *Interface_Ethernet_SwitchedVlan) To_Interface_Ethernet_SwitchedVlan_TrunkVlans_Union(i interface{}) (Interface_Ethernet_SwitchedVlan_TrunkVlans_Union, error)
To_Interface_Ethernet_SwitchedVlan_TrunkVlans_Union takes an input interface{} and attempts to convert it to a struct which implements the Interface_Ethernet_SwitchedVlan_TrunkVlans_Union union. It returns an error if the interface{} supplied cannot be converted to a type within the union.
func (*Interface_Ethernet_SwitchedVlan) Validate ¶
func (t *Interface_Ethernet_SwitchedVlan) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_Ethernet_SwitchedVlan) ΛBelongingModule ¶
func (*Interface_Ethernet_SwitchedVlan) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_Ethernet_SwitchedVlan.
func (*Interface_Ethernet_SwitchedVlan) ΛEnumTypeMap ¶
func (t *Interface_Ethernet_SwitchedVlan) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Interface_Ethernet_SwitchedVlan) ΛValidate ¶
func (t *Interface_Ethernet_SwitchedVlan) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface_Ethernet_SwitchedVlan_TrunkVlans_Union ¶
type Interface_Ethernet_SwitchedVlan_TrunkVlans_Union interface {
// Union type can be one of [UnionString, UnionUint16]
Documentation_for_Interface_Ethernet_SwitchedVlan_TrunkVlans_Union()
}
Interface_Ethernet_SwitchedVlan_TrunkVlans_Union is an interface that is implemented by valid types for the union for the leaf /openconfig-interfaces/interfaces/interface/ethernet/switched-vlan/state/trunk-vlans within the YANG schema. Union type can be one of [UnionString, UnionUint16].
type Interface_HoldTime ¶
type Interface_HoldTime struct {
Down *uint32 `path:"state/down" module:"openconfig-interfaces/openconfig-interfaces"`
Up *uint32 `path:"state/up" module:"openconfig-interfaces/openconfig-interfaces"`
}
Interface_HoldTime represents the /openconfig-interfaces/interfaces/interface/hold-time YANG schema element.
func (*Interface_HoldTime) GetDown ¶
func (t *Interface_HoldTime) GetDown() uint32
GetDown retrieves the value of the leaf Down from the Interface_HoldTime struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Down is set, it can safely use t.GetDown() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Down == nil' before retrieving the leaf's value.
func (*Interface_HoldTime) GetUp ¶
func (t *Interface_HoldTime) GetUp() uint32
GetUp retrieves the value of the leaf Up from the Interface_HoldTime struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Up is set, it can safely use t.GetUp() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Up == nil' before retrieving the leaf's value.
func (*Interface_HoldTime) IsYANGGoStruct ¶
func (*Interface_HoldTime) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_HoldTime implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_HoldTime) Validate ¶
func (t *Interface_HoldTime) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_HoldTime) ΛBelongingModule ¶
func (*Interface_HoldTime) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_HoldTime.
func (*Interface_HoldTime) ΛEnumTypeMap ¶
func (t *Interface_HoldTime) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Interface_HoldTime) ΛValidate ¶
func (t *Interface_HoldTime) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface_PenaltyBasedAied ¶
type Interface_PenaltyBasedAied struct {
DecayHalfLife *uint32 `path:"state/decay-half-life" module:"openconfig-interfaces/openconfig-interfaces"`
FlapPenalty *uint32 `path:"state/flap-penalty" module:"openconfig-interfaces/openconfig-interfaces"`
MaxSuppressTime *uint32 `path:"state/max-suppress-time" module:"openconfig-interfaces/openconfig-interfaces"`
ReuseThreshold *uint32 `path:"state/reuse-threshold" module:"openconfig-interfaces/openconfig-interfaces"`
SuppressThreshold *uint32 `path:"state/suppress-threshold" module:"openconfig-interfaces/openconfig-interfaces"`
}
Interface_PenaltyBasedAied represents the /openconfig-interfaces/interfaces/interface/penalty-based-aied YANG schema element.
func (*Interface_PenaltyBasedAied) GetDecayHalfLife ¶
func (t *Interface_PenaltyBasedAied) GetDecayHalfLife() uint32
GetDecayHalfLife retrieves the value of the leaf DecayHalfLife from the Interface_PenaltyBasedAied struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if DecayHalfLife is set, it can safely use t.GetDecayHalfLife() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.DecayHalfLife == nil' before retrieving the leaf's value.
func (*Interface_PenaltyBasedAied) GetFlapPenalty ¶
func (t *Interface_PenaltyBasedAied) GetFlapPenalty() uint32
GetFlapPenalty retrieves the value of the leaf FlapPenalty from the Interface_PenaltyBasedAied struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if FlapPenalty is set, it can safely use t.GetFlapPenalty() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.FlapPenalty == nil' before retrieving the leaf's value.
func (*Interface_PenaltyBasedAied) GetMaxSuppressTime ¶
func (t *Interface_PenaltyBasedAied) GetMaxSuppressTime() uint32
GetMaxSuppressTime retrieves the value of the leaf MaxSuppressTime from the Interface_PenaltyBasedAied struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MaxSuppressTime is set, it can safely use t.GetMaxSuppressTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MaxSuppressTime == nil' before retrieving the leaf's value.
func (*Interface_PenaltyBasedAied) GetReuseThreshold ¶
func (t *Interface_PenaltyBasedAied) GetReuseThreshold() uint32
GetReuseThreshold retrieves the value of the leaf ReuseThreshold from the Interface_PenaltyBasedAied struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ReuseThreshold is set, it can safely use t.GetReuseThreshold() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ReuseThreshold == nil' before retrieving the leaf's value.
func (*Interface_PenaltyBasedAied) GetSuppressThreshold ¶
func (t *Interface_PenaltyBasedAied) GetSuppressThreshold() uint32
GetSuppressThreshold retrieves the value of the leaf SuppressThreshold from the Interface_PenaltyBasedAied struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SuppressThreshold is set, it can safely use t.GetSuppressThreshold() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SuppressThreshold == nil' before retrieving the leaf's value.
func (*Interface_PenaltyBasedAied) IsYANGGoStruct ¶
func (*Interface_PenaltyBasedAied) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_PenaltyBasedAied implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_PenaltyBasedAied) Validate ¶
func (t *Interface_PenaltyBasedAied) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_PenaltyBasedAied) ΛBelongingModule ¶
func (*Interface_PenaltyBasedAied) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_PenaltyBasedAied.
func (*Interface_PenaltyBasedAied) ΛEnumTypeMap ¶
func (t *Interface_PenaltyBasedAied) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Interface_PenaltyBasedAied) ΛValidate ¶
func (t *Interface_PenaltyBasedAied) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface_RoutedVlan ¶
type Interface_RoutedVlan struct {
Ipv4 *Interface_RoutedVlan_Ipv4 `path:"ipv4" module:"openconfig-if-ip"`
Ipv6 *Interface_RoutedVlan_Ipv6 `path:"ipv6" module:"openconfig-if-ip"`
Vlan Interface_RoutedVlan_Vlan_Union `path:"state/vlan" module:"openconfig-vlan/openconfig-vlan"`
}
Interface_RoutedVlan represents the /openconfig-interfaces/interfaces/interface/routed-vlan YANG schema element.
func (*Interface_RoutedVlan) GetIpv4 ¶
func (t *Interface_RoutedVlan) GetIpv4() *Interface_RoutedVlan_Ipv4
GetIpv4 returns the value of the Ipv4 struct pointer from Interface_RoutedVlan. If the receiver or the field Ipv4 is nil, nil is returned such that the Get* methods can be safely chained.
func (*Interface_RoutedVlan) GetIpv6 ¶
func (t *Interface_RoutedVlan) GetIpv6() *Interface_RoutedVlan_Ipv6
GetIpv6 returns the value of the Ipv6 struct pointer from Interface_RoutedVlan. If the receiver or the field Ipv6 is nil, nil is returned such that the Get* methods can be safely chained.
func (*Interface_RoutedVlan) GetOrCreateIpv4 ¶
func (t *Interface_RoutedVlan) GetOrCreateIpv4() *Interface_RoutedVlan_Ipv4
GetOrCreateIpv4 retrieves the value of the Ipv4 field or returns the existing field if it already exists.
func (*Interface_RoutedVlan) GetOrCreateIpv6 ¶
func (t *Interface_RoutedVlan) GetOrCreateIpv6() *Interface_RoutedVlan_Ipv6
GetOrCreateIpv6 retrieves the value of the Ipv6 field or returns the existing field if it already exists.
func (*Interface_RoutedVlan) GetVlan ¶
func (t *Interface_RoutedVlan) GetVlan() Interface_RoutedVlan_Vlan_Union
GetVlan retrieves the value of the leaf Vlan from the Interface_RoutedVlan struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Vlan is set, it can safely use t.GetVlan() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Vlan == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan) IsYANGGoStruct ¶
func (*Interface_RoutedVlan) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_RoutedVlan implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_RoutedVlan) To_Interface_RoutedVlan_Vlan_Union ¶
func (t *Interface_RoutedVlan) To_Interface_RoutedVlan_Vlan_Union(i interface{}) (Interface_RoutedVlan_Vlan_Union, error)
To_Interface_RoutedVlan_Vlan_Union takes an input interface{} and attempts to convert it to a struct which implements the Interface_RoutedVlan_Vlan_Union union. It returns an error if the interface{} supplied cannot be converted to a type within the union.
func (*Interface_RoutedVlan) Validate ¶
func (t *Interface_RoutedVlan) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_RoutedVlan) ΛBelongingModule ¶
func (*Interface_RoutedVlan) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_RoutedVlan.
func (*Interface_RoutedVlan) ΛEnumTypeMap ¶
func (t *Interface_RoutedVlan) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Interface_RoutedVlan) ΛValidate ¶
func (t *Interface_RoutedVlan) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface_RoutedVlan_Ipv4 ¶
type Interface_RoutedVlan_Ipv4 struct {
Address map[string]*Interface_RoutedVlan_Ipv4_Address `path:"addresses/address" module:"openconfig-if-ip/openconfig-if-ip"`
Counters *Interface_RoutedVlan_Ipv4_Counters `path:"state/counters" module:"openconfig-if-ip/openconfig-if-ip"`
DhcpClient *bool `path:"state/dhcp-client" module:"openconfig-if-ip/openconfig-if-ip"`
Enabled *bool `path:"state/enabled" module:"openconfig-if-ip/openconfig-if-ip"`
GratuitousArpAccepted *bool `path:"state/gratuitous-arp-accepted" module:"openconfig-if-ip/openconfig-if-ip"`
Mtu *uint16 `path:"state/mtu" module:"openconfig-if-ip/openconfig-if-ip"`
Neighbor map[string]*Interface_RoutedVlan_Ipv4_Neighbor `path:"neighbors/neighbor" module:"openconfig-if-ip/openconfig-if-ip"`
ProxyArp *Interface_RoutedVlan_Ipv4_ProxyArp `path:"proxy-arp" module:"openconfig-if-ip"`
Unnumbered *Interface_RoutedVlan_Ipv4_Unnumbered `path:"unnumbered" module:"openconfig-if-ip"`
}
Interface_RoutedVlan_Ipv4 represents the /openconfig-interfaces/interfaces/interface/routed-vlan/ipv4 YANG schema element.
func (*Interface_RoutedVlan_Ipv4) AppendAddress ¶
func (t *Interface_RoutedVlan_Ipv4) AppendAddress(v *Interface_RoutedVlan_Ipv4_Address) error
AppendAddress appends the supplied Interface_RoutedVlan_Ipv4_Address struct to the list Address of Interface_RoutedVlan_Ipv4. If the key value(s) specified in the supplied Interface_RoutedVlan_Ipv4_Address already exist in the list, an error is returned.
func (*Interface_RoutedVlan_Ipv4) AppendNeighbor ¶
func (t *Interface_RoutedVlan_Ipv4) AppendNeighbor(v *Interface_RoutedVlan_Ipv4_Neighbor) error
AppendNeighbor appends the supplied Interface_RoutedVlan_Ipv4_Neighbor struct to the list Neighbor of Interface_RoutedVlan_Ipv4. If the key value(s) specified in the supplied Interface_RoutedVlan_Ipv4_Neighbor already exist in the list, an error is returned.
func (*Interface_RoutedVlan_Ipv4) DeleteAddress ¶
func (t *Interface_RoutedVlan_Ipv4) DeleteAddress(Ip string)
DeleteAddress deletes the value with the specified keys from the receiver Interface_RoutedVlan_Ipv4. If there is no such element, the function is a no-op.
func (*Interface_RoutedVlan_Ipv4) DeleteNeighbor ¶
func (t *Interface_RoutedVlan_Ipv4) DeleteNeighbor(Ip string)
DeleteNeighbor deletes the value with the specified keys from the receiver Interface_RoutedVlan_Ipv4. If there is no such element, the function is a no-op.
func (*Interface_RoutedVlan_Ipv4) GetAddress ¶
func (t *Interface_RoutedVlan_Ipv4) GetAddress(Ip string) *Interface_RoutedVlan_Ipv4_Address
GetAddress retrieves the value with the specified key from the Address map field of Interface_RoutedVlan_Ipv4. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.
func (*Interface_RoutedVlan_Ipv4) GetCounters ¶
func (t *Interface_RoutedVlan_Ipv4) GetCounters() *Interface_RoutedVlan_Ipv4_Counters
GetCounters returns the value of the Counters struct pointer from Interface_RoutedVlan_Ipv4. If the receiver or the field Counters is nil, nil is returned such that the Get* methods can be safely chained.
func (*Interface_RoutedVlan_Ipv4) GetDhcpClient ¶
func (t *Interface_RoutedVlan_Ipv4) GetDhcpClient() bool
GetDhcpClient retrieves the value of the leaf DhcpClient from the Interface_RoutedVlan_Ipv4 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if DhcpClient is set, it can safely use t.GetDhcpClient() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.DhcpClient == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv4) GetEnabled ¶
func (t *Interface_RoutedVlan_Ipv4) GetEnabled() bool
GetEnabled retrieves the value of the leaf Enabled from the Interface_RoutedVlan_Ipv4 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Enabled is set, it can safely use t.GetEnabled() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Enabled == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv4) GetGratuitousArpAccepted ¶
func (t *Interface_RoutedVlan_Ipv4) GetGratuitousArpAccepted() bool
GetGratuitousArpAccepted retrieves the value of the leaf GratuitousArpAccepted from the Interface_RoutedVlan_Ipv4 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if GratuitousArpAccepted is set, it can safely use t.GetGratuitousArpAccepted() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.GratuitousArpAccepted == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv4) GetMtu ¶
func (t *Interface_RoutedVlan_Ipv4) GetMtu() uint16
GetMtu retrieves the value of the leaf Mtu from the Interface_RoutedVlan_Ipv4 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Mtu is set, it can safely use t.GetMtu() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Mtu == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv4) GetNeighbor ¶
func (t *Interface_RoutedVlan_Ipv4) GetNeighbor(Ip string) *Interface_RoutedVlan_Ipv4_Neighbor
GetNeighbor retrieves the value with the specified key from the Neighbor map field of Interface_RoutedVlan_Ipv4. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.
func (*Interface_RoutedVlan_Ipv4) GetOrCreateAddress ¶
func (t *Interface_RoutedVlan_Ipv4) GetOrCreateAddress(Ip string) *Interface_RoutedVlan_Ipv4_Address
GetOrCreateAddress retrieves the value with the specified keys from the receiver Interface_RoutedVlan_Ipv4. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*Interface_RoutedVlan_Ipv4) GetOrCreateAddressMap ¶
func (t *Interface_RoutedVlan_Ipv4) GetOrCreateAddressMap() map[string]*Interface_RoutedVlan_Ipv4_Address
GetOrCreateAddressMap returns the list (map) from Interface_RoutedVlan_Ipv4.
It initializes the field if not already initialized.
func (*Interface_RoutedVlan_Ipv4) GetOrCreateCounters ¶
func (t *Interface_RoutedVlan_Ipv4) GetOrCreateCounters() *Interface_RoutedVlan_Ipv4_Counters
GetOrCreateCounters retrieves the value of the Counters field or returns the existing field if it already exists.
func (*Interface_RoutedVlan_Ipv4) GetOrCreateNeighbor ¶
func (t *Interface_RoutedVlan_Ipv4) GetOrCreateNeighbor(Ip string) *Interface_RoutedVlan_Ipv4_Neighbor
GetOrCreateNeighbor retrieves the value with the specified keys from the receiver Interface_RoutedVlan_Ipv4. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*Interface_RoutedVlan_Ipv4) GetOrCreateNeighborMap ¶
func (t *Interface_RoutedVlan_Ipv4) GetOrCreateNeighborMap() map[string]*Interface_RoutedVlan_Ipv4_Neighbor
GetOrCreateNeighborMap returns the list (map) from Interface_RoutedVlan_Ipv4.
It initializes the field if not already initialized.
func (*Interface_RoutedVlan_Ipv4) GetOrCreateProxyArp ¶
func (t *Interface_RoutedVlan_Ipv4) GetOrCreateProxyArp() *Interface_RoutedVlan_Ipv4_ProxyArp
GetOrCreateProxyArp retrieves the value of the ProxyArp field or returns the existing field if it already exists.
func (*Interface_RoutedVlan_Ipv4) GetOrCreateUnnumbered ¶
func (t *Interface_RoutedVlan_Ipv4) GetOrCreateUnnumbered() *Interface_RoutedVlan_Ipv4_Unnumbered
GetOrCreateUnnumbered retrieves the value of the Unnumbered field or returns the existing field if it already exists.
func (*Interface_RoutedVlan_Ipv4) GetProxyArp ¶
func (t *Interface_RoutedVlan_Ipv4) GetProxyArp() *Interface_RoutedVlan_Ipv4_ProxyArp
GetProxyArp returns the value of the ProxyArp struct pointer from Interface_RoutedVlan_Ipv4. If the receiver or the field ProxyArp is nil, nil is returned such that the Get* methods can be safely chained.
func (*Interface_RoutedVlan_Ipv4) GetUnnumbered ¶
func (t *Interface_RoutedVlan_Ipv4) GetUnnumbered() *Interface_RoutedVlan_Ipv4_Unnumbered
GetUnnumbered returns the value of the Unnumbered struct pointer from Interface_RoutedVlan_Ipv4. If the receiver or the field Unnumbered is nil, nil is returned such that the Get* methods can be safely chained.
func (*Interface_RoutedVlan_Ipv4) IsYANGGoStruct ¶
func (*Interface_RoutedVlan_Ipv4) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_RoutedVlan_Ipv4 implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_RoutedVlan_Ipv4) NewAddress ¶
func (t *Interface_RoutedVlan_Ipv4) NewAddress(Ip string) (*Interface_RoutedVlan_Ipv4_Address, error)
NewAddress creates a new entry in the Address list of the Interface_RoutedVlan_Ipv4 struct. The keys of the list are populated from the input arguments.
func (*Interface_RoutedVlan_Ipv4) NewNeighbor ¶
func (t *Interface_RoutedVlan_Ipv4) NewNeighbor(Ip string) (*Interface_RoutedVlan_Ipv4_Neighbor, error)
NewNeighbor creates a new entry in the Neighbor list of the Interface_RoutedVlan_Ipv4 struct. The keys of the list are populated from the input arguments.
func (*Interface_RoutedVlan_Ipv4) Validate ¶
func (t *Interface_RoutedVlan_Ipv4) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_RoutedVlan_Ipv4) ΛBelongingModule ¶
func (*Interface_RoutedVlan_Ipv4) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_RoutedVlan_Ipv4.
func (*Interface_RoutedVlan_Ipv4) ΛEnumTypeMap ¶
func (t *Interface_RoutedVlan_Ipv4) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Interface_RoutedVlan_Ipv4) ΛValidate ¶
func (t *Interface_RoutedVlan_Ipv4) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface_RoutedVlan_Ipv4_Address ¶
type Interface_RoutedVlan_Ipv4_Address struct {
Ip *string `path:"state/ip|ip" module:"openconfig-if-ip/openconfig-if-ip|openconfig-if-ip"`
Origin E_IfIp_IpAddressOrigin `path:"state/origin" module:"openconfig-if-ip/openconfig-if-ip"`
PrefixLength *uint8 `path:"state/prefix-length" module:"openconfig-if-ip/openconfig-if-ip"`
Type E_IfIp_Ipv4AddressType `path:"state/type" module:"openconfig-if-ip/openconfig-if-ip"`
VrrpGroup map[uint8]*Interface_RoutedVlan_Ipv4_Address_VrrpGroup `path:"vrrp/vrrp-group" module:"openconfig-if-ip/openconfig-if-ip"`
}
Interface_RoutedVlan_Ipv4_Address represents the /openconfig-interfaces/interfaces/interface/routed-vlan/ipv4/addresses/address YANG schema element.
func (*Interface_RoutedVlan_Ipv4_Address) AppendVrrpGroup ¶
func (t *Interface_RoutedVlan_Ipv4_Address) AppendVrrpGroup(v *Interface_RoutedVlan_Ipv4_Address_VrrpGroup) error
AppendVrrpGroup appends the supplied Interface_RoutedVlan_Ipv4_Address_VrrpGroup struct to the list VrrpGroup of Interface_RoutedVlan_Ipv4_Address. If the key value(s) specified in the supplied Interface_RoutedVlan_Ipv4_Address_VrrpGroup already exist in the list, an error is returned.
func (*Interface_RoutedVlan_Ipv4_Address) DeleteVrrpGroup ¶
func (t *Interface_RoutedVlan_Ipv4_Address) DeleteVrrpGroup(VirtualRouterId uint8)
DeleteVrrpGroup deletes the value with the specified keys from the receiver Interface_RoutedVlan_Ipv4_Address. If there is no such element, the function is a no-op.
func (*Interface_RoutedVlan_Ipv4_Address) GetIp ¶
func (t *Interface_RoutedVlan_Ipv4_Address) GetIp() string
GetIp retrieves the value of the leaf Ip from the Interface_RoutedVlan_Ipv4_Address struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Ip is set, it can safely use t.GetIp() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Ip == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv4_Address) GetOrCreateVrrpGroup ¶
func (t *Interface_RoutedVlan_Ipv4_Address) GetOrCreateVrrpGroup(VirtualRouterId uint8) *Interface_RoutedVlan_Ipv4_Address_VrrpGroup
GetOrCreateVrrpGroup retrieves the value with the specified keys from the receiver Interface_RoutedVlan_Ipv4_Address. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*Interface_RoutedVlan_Ipv4_Address) GetOrCreateVrrpGroupMap ¶
func (t *Interface_RoutedVlan_Ipv4_Address) GetOrCreateVrrpGroupMap() map[uint8]*Interface_RoutedVlan_Ipv4_Address_VrrpGroup
GetOrCreateVrrpGroupMap returns the list (map) from Interface_RoutedVlan_Ipv4_Address.
It initializes the field if not already initialized.
func (*Interface_RoutedVlan_Ipv4_Address) GetOrigin ¶
func (t *Interface_RoutedVlan_Ipv4_Address) GetOrigin() E_IfIp_IpAddressOrigin
GetOrigin retrieves the value of the leaf Origin from the Interface_RoutedVlan_Ipv4_Address struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Origin is set, it can safely use t.GetOrigin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Origin == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv4_Address) GetPrefixLength ¶
func (t *Interface_RoutedVlan_Ipv4_Address) GetPrefixLength() uint8
GetPrefixLength retrieves the value of the leaf PrefixLength from the Interface_RoutedVlan_Ipv4_Address struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if PrefixLength is set, it can safely use t.GetPrefixLength() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.PrefixLength == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv4_Address) GetType ¶
func (t *Interface_RoutedVlan_Ipv4_Address) GetType() E_IfIp_Ipv4AddressType
GetType retrieves the value of the leaf Type from the Interface_RoutedVlan_Ipv4_Address struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Type is set, it can safely use t.GetType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Type == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv4_Address) GetVrrpGroup ¶
func (t *Interface_RoutedVlan_Ipv4_Address) GetVrrpGroup(VirtualRouterId uint8) *Interface_RoutedVlan_Ipv4_Address_VrrpGroup
GetVrrpGroup retrieves the value with the specified key from the VrrpGroup map field of Interface_RoutedVlan_Ipv4_Address. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.
func (*Interface_RoutedVlan_Ipv4_Address) IsYANGGoStruct ¶
func (*Interface_RoutedVlan_Ipv4_Address) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_RoutedVlan_Ipv4_Address implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_RoutedVlan_Ipv4_Address) NewVrrpGroup ¶
func (t *Interface_RoutedVlan_Ipv4_Address) NewVrrpGroup(VirtualRouterId uint8) (*Interface_RoutedVlan_Ipv4_Address_VrrpGroup, error)
NewVrrpGroup creates a new entry in the VrrpGroup list of the Interface_RoutedVlan_Ipv4_Address struct. The keys of the list are populated from the input arguments.
func (*Interface_RoutedVlan_Ipv4_Address) Validate ¶
func (t *Interface_RoutedVlan_Ipv4_Address) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_RoutedVlan_Ipv4_Address) ΛBelongingModule ¶
func (*Interface_RoutedVlan_Ipv4_Address) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_RoutedVlan_Ipv4_Address.
func (*Interface_RoutedVlan_Ipv4_Address) ΛEnumTypeMap ¶
func (t *Interface_RoutedVlan_Ipv4_Address) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Interface_RoutedVlan_Ipv4_Address) ΛListKeyMap ¶
func (t *Interface_RoutedVlan_Ipv4_Address) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the Interface_RoutedVlan_Ipv4_Address struct, which is a YANG list entry.
func (*Interface_RoutedVlan_Ipv4_Address) ΛValidate ¶
func (t *Interface_RoutedVlan_Ipv4_Address) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface_RoutedVlan_Ipv4_Address_VrrpGroup ¶
type Interface_RoutedVlan_Ipv4_Address_VrrpGroup struct {
AcceptMode *bool `path:"state/accept-mode" module:"openconfig-if-ip/openconfig-if-ip"`
AdvertisementInterval *uint16 `path:"state/advertisement-interval" module:"openconfig-if-ip/openconfig-if-ip"`
CurrentPriority *uint8 `path:"state/current-priority" module:"openconfig-if-ip/openconfig-if-ip"`
InterfaceTracking *Interface_RoutedVlan_Ipv4_Address_VrrpGroup_InterfaceTracking `path:"interface-tracking" module:"openconfig-if-ip"`
Preempt *bool `path:"state/preempt" module:"openconfig-if-ip/openconfig-if-ip"`
PreemptDelay *uint16 `path:"state/preempt-delay" module:"openconfig-if-ip/openconfig-if-ip"`
Priority *uint8 `path:"state/priority" module:"openconfig-if-ip/openconfig-if-ip"`
VirtualAddress []string `path:"state/virtual-address" module:"openconfig-if-ip/openconfig-if-ip"`
VirtualRouterId *uint8 `path:"state/virtual-router-id|virtual-router-id" module:"openconfig-if-ip/openconfig-if-ip|openconfig-if-ip"`
}
Interface_RoutedVlan_Ipv4_Address_VrrpGroup represents the /openconfig-interfaces/interfaces/interface/routed-vlan/ipv4/addresses/address/vrrp/vrrp-group YANG schema element.
func (*Interface_RoutedVlan_Ipv4_Address_VrrpGroup) GetAcceptMode ¶
func (t *Interface_RoutedVlan_Ipv4_Address_VrrpGroup) GetAcceptMode() bool
GetAcceptMode retrieves the value of the leaf AcceptMode from the Interface_RoutedVlan_Ipv4_Address_VrrpGroup struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AcceptMode is set, it can safely use t.GetAcceptMode() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AcceptMode == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv4_Address_VrrpGroup) GetAdvertisementInterval ¶
func (t *Interface_RoutedVlan_Ipv4_Address_VrrpGroup) GetAdvertisementInterval() uint16
GetAdvertisementInterval retrieves the value of the leaf AdvertisementInterval from the Interface_RoutedVlan_Ipv4_Address_VrrpGroup struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AdvertisementInterval is set, it can safely use t.GetAdvertisementInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AdvertisementInterval == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv4_Address_VrrpGroup) GetCurrentPriority ¶
func (t *Interface_RoutedVlan_Ipv4_Address_VrrpGroup) GetCurrentPriority() uint8
GetCurrentPriority retrieves the value of the leaf CurrentPriority from the Interface_RoutedVlan_Ipv4_Address_VrrpGroup struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if CurrentPriority is set, it can safely use t.GetCurrentPriority() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.CurrentPriority == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv4_Address_VrrpGroup) GetInterfaceTracking ¶
func (t *Interface_RoutedVlan_Ipv4_Address_VrrpGroup) GetInterfaceTracking() *Interface_RoutedVlan_Ipv4_Address_VrrpGroup_InterfaceTracking
GetInterfaceTracking returns the value of the InterfaceTracking struct pointer from Interface_RoutedVlan_Ipv4_Address_VrrpGroup. If the receiver or the field InterfaceTracking is nil, nil is returned such that the Get* methods can be safely chained.
func (*Interface_RoutedVlan_Ipv4_Address_VrrpGroup) GetOrCreateInterfaceTracking ¶
func (t *Interface_RoutedVlan_Ipv4_Address_VrrpGroup) GetOrCreateInterfaceTracking() *Interface_RoutedVlan_Ipv4_Address_VrrpGroup_InterfaceTracking
GetOrCreateInterfaceTracking retrieves the value of the InterfaceTracking field or returns the existing field if it already exists.
func (*Interface_RoutedVlan_Ipv4_Address_VrrpGroup) GetPreempt ¶
func (t *Interface_RoutedVlan_Ipv4_Address_VrrpGroup) GetPreempt() bool
GetPreempt retrieves the value of the leaf Preempt from the Interface_RoutedVlan_Ipv4_Address_VrrpGroup struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Preempt is set, it can safely use t.GetPreempt() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Preempt == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv4_Address_VrrpGroup) GetPreemptDelay ¶
func (t *Interface_RoutedVlan_Ipv4_Address_VrrpGroup) GetPreemptDelay() uint16
GetPreemptDelay retrieves the value of the leaf PreemptDelay from the Interface_RoutedVlan_Ipv4_Address_VrrpGroup struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if PreemptDelay is set, it can safely use t.GetPreemptDelay() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.PreemptDelay == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv4_Address_VrrpGroup) GetPriority ¶
func (t *Interface_RoutedVlan_Ipv4_Address_VrrpGroup) GetPriority() uint8
GetPriority retrieves the value of the leaf Priority from the Interface_RoutedVlan_Ipv4_Address_VrrpGroup struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Priority is set, it can safely use t.GetPriority() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Priority == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv4_Address_VrrpGroup) GetVirtualAddress ¶
func (t *Interface_RoutedVlan_Ipv4_Address_VrrpGroup) GetVirtualAddress() []string
GetVirtualAddress retrieves the value of the leaf VirtualAddress from the Interface_RoutedVlan_Ipv4_Address_VrrpGroup struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if VirtualAddress is set, it can safely use t.GetVirtualAddress() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.VirtualAddress == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv4_Address_VrrpGroup) GetVirtualRouterId ¶
func (t *Interface_RoutedVlan_Ipv4_Address_VrrpGroup) GetVirtualRouterId() uint8
GetVirtualRouterId retrieves the value of the leaf VirtualRouterId from the Interface_RoutedVlan_Ipv4_Address_VrrpGroup struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if VirtualRouterId is set, it can safely use t.GetVirtualRouterId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.VirtualRouterId == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv4_Address_VrrpGroup) IsYANGGoStruct ¶
func (*Interface_RoutedVlan_Ipv4_Address_VrrpGroup) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_RoutedVlan_Ipv4_Address_VrrpGroup implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_RoutedVlan_Ipv4_Address_VrrpGroup) Validate ¶
func (t *Interface_RoutedVlan_Ipv4_Address_VrrpGroup) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_RoutedVlan_Ipv4_Address_VrrpGroup) ΛBelongingModule ¶
func (*Interface_RoutedVlan_Ipv4_Address_VrrpGroup) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_RoutedVlan_Ipv4_Address_VrrpGroup.
func (*Interface_RoutedVlan_Ipv4_Address_VrrpGroup) ΛEnumTypeMap ¶
func (t *Interface_RoutedVlan_Ipv4_Address_VrrpGroup) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Interface_RoutedVlan_Ipv4_Address_VrrpGroup) ΛListKeyMap ¶
func (t *Interface_RoutedVlan_Ipv4_Address_VrrpGroup) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the Interface_RoutedVlan_Ipv4_Address_VrrpGroup struct, which is a YANG list entry.
func (*Interface_RoutedVlan_Ipv4_Address_VrrpGroup) ΛValidate ¶
func (t *Interface_RoutedVlan_Ipv4_Address_VrrpGroup) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface_RoutedVlan_Ipv4_Address_VrrpGroup_InterfaceTracking ¶
type Interface_RoutedVlan_Ipv4_Address_VrrpGroup_InterfaceTracking struct {
PriorityDecrement *uint8 `path:"state/priority-decrement" module:"openconfig-if-ip/openconfig-if-ip"`
TrackInterface []string `path:"state/track-interface" module:"openconfig-if-ip/openconfig-if-ip"`
}
Interface_RoutedVlan_Ipv4_Address_VrrpGroup_InterfaceTracking represents the /openconfig-interfaces/interfaces/interface/routed-vlan/ipv4/addresses/address/vrrp/vrrp-group/interface-tracking YANG schema element.
func (*Interface_RoutedVlan_Ipv4_Address_VrrpGroup_InterfaceTracking) GetPriorityDecrement ¶
func (t *Interface_RoutedVlan_Ipv4_Address_VrrpGroup_InterfaceTracking) GetPriorityDecrement() uint8
GetPriorityDecrement retrieves the value of the leaf PriorityDecrement from the Interface_RoutedVlan_Ipv4_Address_VrrpGroup_InterfaceTracking struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if PriorityDecrement is set, it can safely use t.GetPriorityDecrement() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.PriorityDecrement == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv4_Address_VrrpGroup_InterfaceTracking) GetTrackInterface ¶
func (t *Interface_RoutedVlan_Ipv4_Address_VrrpGroup_InterfaceTracking) GetTrackInterface() []string
GetTrackInterface retrieves the value of the leaf TrackInterface from the Interface_RoutedVlan_Ipv4_Address_VrrpGroup_InterfaceTracking struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TrackInterface is set, it can safely use t.GetTrackInterface() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TrackInterface == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv4_Address_VrrpGroup_InterfaceTracking) IsYANGGoStruct ¶
func (*Interface_RoutedVlan_Ipv4_Address_VrrpGroup_InterfaceTracking) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_RoutedVlan_Ipv4_Address_VrrpGroup_InterfaceTracking implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_RoutedVlan_Ipv4_Address_VrrpGroup_InterfaceTracking) Validate ¶
func (t *Interface_RoutedVlan_Ipv4_Address_VrrpGroup_InterfaceTracking) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_RoutedVlan_Ipv4_Address_VrrpGroup_InterfaceTracking) ΛBelongingModule ¶
func (*Interface_RoutedVlan_Ipv4_Address_VrrpGroup_InterfaceTracking) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_RoutedVlan_Ipv4_Address_VrrpGroup_InterfaceTracking.
func (*Interface_RoutedVlan_Ipv4_Address_VrrpGroup_InterfaceTracking) ΛEnumTypeMap ¶
func (t *Interface_RoutedVlan_Ipv4_Address_VrrpGroup_InterfaceTracking) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Interface_RoutedVlan_Ipv4_Address_VrrpGroup_InterfaceTracking) ΛValidate ¶
func (t *Interface_RoutedVlan_Ipv4_Address_VrrpGroup_InterfaceTracking) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface_RoutedVlan_Ipv4_Counters ¶
type Interface_RoutedVlan_Ipv4_Counters struct {
InDiscardedPkts *uint64 `path:"in-discarded-pkts" module:"openconfig-if-ip"`
InErrorPkts *uint64 `path:"in-error-pkts" module:"openconfig-if-ip"`
InForwardedOctets *uint64 `path:"in-forwarded-octets" module:"openconfig-if-ip"`
InForwardedPkts *uint64 `path:"in-forwarded-pkts" module:"openconfig-if-ip"`
InMulticastOctets *uint64 `path:"in-multicast-octets" module:"openconfig-if-ip"`
InMulticastPkts *uint64 `path:"in-multicast-pkts" module:"openconfig-if-ip"`
InOctets *uint64 `path:"in-octets" module:"openconfig-if-ip"`
InPkts *uint64 `path:"in-pkts" module:"openconfig-if-ip"`
OutDiscardedPkts *uint64 `path:"out-discarded-pkts" module:"openconfig-if-ip"`
OutErrorPkts *uint64 `path:"out-error-pkts" module:"openconfig-if-ip"`
OutForwardedOctets *uint64 `path:"out-forwarded-octets" module:"openconfig-if-ip"`
OutForwardedPkts *uint64 `path:"out-forwarded-pkts" module:"openconfig-if-ip"`
OutMulticastOctets *uint64 `path:"out-multicast-octets" module:"openconfig-if-ip"`
OutMulticastPkts *uint64 `path:"out-multicast-pkts" module:"openconfig-if-ip"`
OutOctets *uint64 `path:"out-octets" module:"openconfig-if-ip"`
OutPkts *uint64 `path:"out-pkts" module:"openconfig-if-ip"`
}
Interface_RoutedVlan_Ipv4_Counters represents the /openconfig-interfaces/interfaces/interface/routed-vlan/ipv4/state/counters YANG schema element.
func (*Interface_RoutedVlan_Ipv4_Counters) GetInDiscardedPkts ¶
func (t *Interface_RoutedVlan_Ipv4_Counters) GetInDiscardedPkts() uint64
GetInDiscardedPkts retrieves the value of the leaf InDiscardedPkts from the Interface_RoutedVlan_Ipv4_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InDiscardedPkts is set, it can safely use t.GetInDiscardedPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InDiscardedPkts == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv4_Counters) GetInErrorPkts ¶
func (t *Interface_RoutedVlan_Ipv4_Counters) GetInErrorPkts() uint64
GetInErrorPkts retrieves the value of the leaf InErrorPkts from the Interface_RoutedVlan_Ipv4_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InErrorPkts is set, it can safely use t.GetInErrorPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InErrorPkts == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv4_Counters) GetInForwardedOctets ¶
func (t *Interface_RoutedVlan_Ipv4_Counters) GetInForwardedOctets() uint64
GetInForwardedOctets retrieves the value of the leaf InForwardedOctets from the Interface_RoutedVlan_Ipv4_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InForwardedOctets is set, it can safely use t.GetInForwardedOctets() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InForwardedOctets == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv4_Counters) GetInForwardedPkts ¶
func (t *Interface_RoutedVlan_Ipv4_Counters) GetInForwardedPkts() uint64
GetInForwardedPkts retrieves the value of the leaf InForwardedPkts from the Interface_RoutedVlan_Ipv4_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InForwardedPkts is set, it can safely use t.GetInForwardedPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InForwardedPkts == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv4_Counters) GetInMulticastOctets ¶
func (t *Interface_RoutedVlan_Ipv4_Counters) GetInMulticastOctets() uint64
GetInMulticastOctets retrieves the value of the leaf InMulticastOctets from the Interface_RoutedVlan_Ipv4_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InMulticastOctets is set, it can safely use t.GetInMulticastOctets() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InMulticastOctets == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv4_Counters) GetInMulticastPkts ¶
func (t *Interface_RoutedVlan_Ipv4_Counters) GetInMulticastPkts() uint64
GetInMulticastPkts retrieves the value of the leaf InMulticastPkts from the Interface_RoutedVlan_Ipv4_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InMulticastPkts is set, it can safely use t.GetInMulticastPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InMulticastPkts == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv4_Counters) GetInOctets ¶
func (t *Interface_RoutedVlan_Ipv4_Counters) GetInOctets() uint64
GetInOctets retrieves the value of the leaf InOctets from the Interface_RoutedVlan_Ipv4_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InOctets is set, it can safely use t.GetInOctets() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InOctets == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv4_Counters) GetInPkts ¶
func (t *Interface_RoutedVlan_Ipv4_Counters) GetInPkts() uint64
GetInPkts retrieves the value of the leaf InPkts from the Interface_RoutedVlan_Ipv4_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InPkts is set, it can safely use t.GetInPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InPkts == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv4_Counters) GetOutDiscardedPkts ¶
func (t *Interface_RoutedVlan_Ipv4_Counters) GetOutDiscardedPkts() uint64
GetOutDiscardedPkts retrieves the value of the leaf OutDiscardedPkts from the Interface_RoutedVlan_Ipv4_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutDiscardedPkts is set, it can safely use t.GetOutDiscardedPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutDiscardedPkts == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv4_Counters) GetOutErrorPkts ¶
func (t *Interface_RoutedVlan_Ipv4_Counters) GetOutErrorPkts() uint64
GetOutErrorPkts retrieves the value of the leaf OutErrorPkts from the Interface_RoutedVlan_Ipv4_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutErrorPkts is set, it can safely use t.GetOutErrorPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutErrorPkts == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv4_Counters) GetOutForwardedOctets ¶
func (t *Interface_RoutedVlan_Ipv4_Counters) GetOutForwardedOctets() uint64
GetOutForwardedOctets retrieves the value of the leaf OutForwardedOctets from the Interface_RoutedVlan_Ipv4_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutForwardedOctets is set, it can safely use t.GetOutForwardedOctets() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutForwardedOctets == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv4_Counters) GetOutForwardedPkts ¶
func (t *Interface_RoutedVlan_Ipv4_Counters) GetOutForwardedPkts() uint64
GetOutForwardedPkts retrieves the value of the leaf OutForwardedPkts from the Interface_RoutedVlan_Ipv4_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutForwardedPkts is set, it can safely use t.GetOutForwardedPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutForwardedPkts == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv4_Counters) GetOutMulticastOctets ¶
func (t *Interface_RoutedVlan_Ipv4_Counters) GetOutMulticastOctets() uint64
GetOutMulticastOctets retrieves the value of the leaf OutMulticastOctets from the Interface_RoutedVlan_Ipv4_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutMulticastOctets is set, it can safely use t.GetOutMulticastOctets() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutMulticastOctets == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv4_Counters) GetOutMulticastPkts ¶
func (t *Interface_RoutedVlan_Ipv4_Counters) GetOutMulticastPkts() uint64
GetOutMulticastPkts retrieves the value of the leaf OutMulticastPkts from the Interface_RoutedVlan_Ipv4_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutMulticastPkts is set, it can safely use t.GetOutMulticastPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutMulticastPkts == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv4_Counters) GetOutOctets ¶
func (t *Interface_RoutedVlan_Ipv4_Counters) GetOutOctets() uint64
GetOutOctets retrieves the value of the leaf OutOctets from the Interface_RoutedVlan_Ipv4_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutOctets is set, it can safely use t.GetOutOctets() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutOctets == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv4_Counters) GetOutPkts ¶
func (t *Interface_RoutedVlan_Ipv4_Counters) GetOutPkts() uint64
GetOutPkts retrieves the value of the leaf OutPkts from the Interface_RoutedVlan_Ipv4_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutPkts is set, it can safely use t.GetOutPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutPkts == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv4_Counters) IsYANGGoStruct ¶
func (*Interface_RoutedVlan_Ipv4_Counters) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_RoutedVlan_Ipv4_Counters implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_RoutedVlan_Ipv4_Counters) Validate ¶
func (t *Interface_RoutedVlan_Ipv4_Counters) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_RoutedVlan_Ipv4_Counters) ΛBelongingModule ¶
func (*Interface_RoutedVlan_Ipv4_Counters) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_RoutedVlan_Ipv4_Counters.
func (*Interface_RoutedVlan_Ipv4_Counters) ΛEnumTypeMap ¶
func (t *Interface_RoutedVlan_Ipv4_Counters) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Interface_RoutedVlan_Ipv4_Counters) ΛValidate ¶
func (t *Interface_RoutedVlan_Ipv4_Counters) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface_RoutedVlan_Ipv4_Neighbor ¶
type Interface_RoutedVlan_Ipv4_Neighbor struct {
Ip *string `path:"state/ip|ip" module:"openconfig-if-ip/openconfig-if-ip|openconfig-if-ip"`
LinkLayerAddress *string `path:"state/link-layer-address" module:"openconfig-if-ip/openconfig-if-ip"`
Origin E_IfIp_NeighborOrigin `path:"state/origin" module:"openconfig-if-ip/openconfig-if-ip"`
}
Interface_RoutedVlan_Ipv4_Neighbor represents the /openconfig-interfaces/interfaces/interface/routed-vlan/ipv4/neighbors/neighbor YANG schema element.
func (*Interface_RoutedVlan_Ipv4_Neighbor) GetIp ¶
func (t *Interface_RoutedVlan_Ipv4_Neighbor) GetIp() string
GetIp retrieves the value of the leaf Ip from the Interface_RoutedVlan_Ipv4_Neighbor struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Ip is set, it can safely use t.GetIp() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Ip == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv4_Neighbor) GetLinkLayerAddress ¶
func (t *Interface_RoutedVlan_Ipv4_Neighbor) GetLinkLayerAddress() string
GetLinkLayerAddress retrieves the value of the leaf LinkLayerAddress from the Interface_RoutedVlan_Ipv4_Neighbor struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LinkLayerAddress is set, it can safely use t.GetLinkLayerAddress() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LinkLayerAddress == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv4_Neighbor) GetOrigin ¶
func (t *Interface_RoutedVlan_Ipv4_Neighbor) GetOrigin() E_IfIp_NeighborOrigin
GetOrigin retrieves the value of the leaf Origin from the Interface_RoutedVlan_Ipv4_Neighbor struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Origin is set, it can safely use t.GetOrigin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Origin == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv4_Neighbor) IsYANGGoStruct ¶
func (*Interface_RoutedVlan_Ipv4_Neighbor) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_RoutedVlan_Ipv4_Neighbor implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_RoutedVlan_Ipv4_Neighbor) Validate ¶
func (t *Interface_RoutedVlan_Ipv4_Neighbor) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_RoutedVlan_Ipv4_Neighbor) ΛBelongingModule ¶
func (*Interface_RoutedVlan_Ipv4_Neighbor) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_RoutedVlan_Ipv4_Neighbor.
func (*Interface_RoutedVlan_Ipv4_Neighbor) ΛEnumTypeMap ¶
func (t *Interface_RoutedVlan_Ipv4_Neighbor) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Interface_RoutedVlan_Ipv4_Neighbor) ΛListKeyMap ¶
func (t *Interface_RoutedVlan_Ipv4_Neighbor) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the Interface_RoutedVlan_Ipv4_Neighbor struct, which is a YANG list entry.
func (*Interface_RoutedVlan_Ipv4_Neighbor) ΛValidate ¶
func (t *Interface_RoutedVlan_Ipv4_Neighbor) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface_RoutedVlan_Ipv4_ProxyArp ¶
type Interface_RoutedVlan_Ipv4_ProxyArp struct {
Mode E_ProxyArp_Mode `path:"state/mode" module:"openconfig-if-ip/openconfig-if-ip"`
}
Interface_RoutedVlan_Ipv4_ProxyArp represents the /openconfig-interfaces/interfaces/interface/routed-vlan/ipv4/proxy-arp YANG schema element.
func (*Interface_RoutedVlan_Ipv4_ProxyArp) GetMode ¶
func (t *Interface_RoutedVlan_Ipv4_ProxyArp) GetMode() E_ProxyArp_Mode
GetMode retrieves the value of the leaf Mode from the Interface_RoutedVlan_Ipv4_ProxyArp struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Mode is set, it can safely use t.GetMode() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Mode == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv4_ProxyArp) IsYANGGoStruct ¶
func (*Interface_RoutedVlan_Ipv4_ProxyArp) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_RoutedVlan_Ipv4_ProxyArp implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_RoutedVlan_Ipv4_ProxyArp) Validate ¶
func (t *Interface_RoutedVlan_Ipv4_ProxyArp) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_RoutedVlan_Ipv4_ProxyArp) ΛBelongingModule ¶
func (*Interface_RoutedVlan_Ipv4_ProxyArp) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_RoutedVlan_Ipv4_ProxyArp.
func (*Interface_RoutedVlan_Ipv4_ProxyArp) ΛEnumTypeMap ¶
func (t *Interface_RoutedVlan_Ipv4_ProxyArp) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Interface_RoutedVlan_Ipv4_ProxyArp) ΛValidate ¶
func (t *Interface_RoutedVlan_Ipv4_ProxyArp) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface_RoutedVlan_Ipv4_Unnumbered ¶
type Interface_RoutedVlan_Ipv4_Unnumbered struct {
Enabled *bool `path:"state/enabled" module:"openconfig-if-ip/openconfig-if-ip"`
InterfaceRef *Interface_RoutedVlan_Ipv4_Unnumbered_InterfaceRef `path:"interface-ref" module:"openconfig-if-ip"`
}
Interface_RoutedVlan_Ipv4_Unnumbered represents the /openconfig-interfaces/interfaces/interface/routed-vlan/ipv4/unnumbered YANG schema element.
func (*Interface_RoutedVlan_Ipv4_Unnumbered) GetEnabled ¶
func (t *Interface_RoutedVlan_Ipv4_Unnumbered) GetEnabled() bool
GetEnabled retrieves the value of the leaf Enabled from the Interface_RoutedVlan_Ipv4_Unnumbered struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Enabled is set, it can safely use t.GetEnabled() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Enabled == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv4_Unnumbered) GetInterfaceRef ¶
func (t *Interface_RoutedVlan_Ipv4_Unnumbered) GetInterfaceRef() *Interface_RoutedVlan_Ipv4_Unnumbered_InterfaceRef
GetInterfaceRef returns the value of the InterfaceRef struct pointer from Interface_RoutedVlan_Ipv4_Unnumbered. If the receiver or the field InterfaceRef is nil, nil is returned such that the Get* methods can be safely chained.
func (*Interface_RoutedVlan_Ipv4_Unnumbered) GetOrCreateInterfaceRef ¶
func (t *Interface_RoutedVlan_Ipv4_Unnumbered) GetOrCreateInterfaceRef() *Interface_RoutedVlan_Ipv4_Unnumbered_InterfaceRef
GetOrCreateInterfaceRef retrieves the value of the InterfaceRef field or returns the existing field if it already exists.
func (*Interface_RoutedVlan_Ipv4_Unnumbered) IsYANGGoStruct ¶
func (*Interface_RoutedVlan_Ipv4_Unnumbered) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_RoutedVlan_Ipv4_Unnumbered implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_RoutedVlan_Ipv4_Unnumbered) Validate ¶
func (t *Interface_RoutedVlan_Ipv4_Unnumbered) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_RoutedVlan_Ipv4_Unnumbered) ΛBelongingModule ¶
func (*Interface_RoutedVlan_Ipv4_Unnumbered) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_RoutedVlan_Ipv4_Unnumbered.
func (*Interface_RoutedVlan_Ipv4_Unnumbered) ΛEnumTypeMap ¶
func (t *Interface_RoutedVlan_Ipv4_Unnumbered) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Interface_RoutedVlan_Ipv4_Unnumbered) ΛValidate ¶
func (t *Interface_RoutedVlan_Ipv4_Unnumbered) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface_RoutedVlan_Ipv4_Unnumbered_InterfaceRef ¶
type Interface_RoutedVlan_Ipv4_Unnumbered_InterfaceRef struct {
Interface *string `path:"state/interface" module:"openconfig-if-ip/openconfig-if-ip"`
Subinterface *uint32 `path:"state/subinterface" module:"openconfig-if-ip/openconfig-if-ip"`
}
Interface_RoutedVlan_Ipv4_Unnumbered_InterfaceRef represents the /openconfig-interfaces/interfaces/interface/routed-vlan/ipv4/unnumbered/interface-ref YANG schema element.
func (*Interface_RoutedVlan_Ipv4_Unnumbered_InterfaceRef) GetInterface ¶
func (t *Interface_RoutedVlan_Ipv4_Unnumbered_InterfaceRef) GetInterface() string
GetInterface retrieves the value of the leaf Interface from the Interface_RoutedVlan_Ipv4_Unnumbered_InterfaceRef struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interface is set, it can safely use t.GetInterface() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interface == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv4_Unnumbered_InterfaceRef) GetSubinterface ¶
func (t *Interface_RoutedVlan_Ipv4_Unnumbered_InterfaceRef) GetSubinterface() uint32
GetSubinterface retrieves the value of the leaf Subinterface from the Interface_RoutedVlan_Ipv4_Unnumbered_InterfaceRef struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Subinterface is set, it can safely use t.GetSubinterface() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Subinterface == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv4_Unnumbered_InterfaceRef) IsYANGGoStruct ¶
func (*Interface_RoutedVlan_Ipv4_Unnumbered_InterfaceRef) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_RoutedVlan_Ipv4_Unnumbered_InterfaceRef implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_RoutedVlan_Ipv4_Unnumbered_InterfaceRef) Validate ¶
func (t *Interface_RoutedVlan_Ipv4_Unnumbered_InterfaceRef) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_RoutedVlan_Ipv4_Unnumbered_InterfaceRef) ΛBelongingModule ¶
func (*Interface_RoutedVlan_Ipv4_Unnumbered_InterfaceRef) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_RoutedVlan_Ipv4_Unnumbered_InterfaceRef.
func (*Interface_RoutedVlan_Ipv4_Unnumbered_InterfaceRef) ΛEnumTypeMap ¶
func (t *Interface_RoutedVlan_Ipv4_Unnumbered_InterfaceRef) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Interface_RoutedVlan_Ipv4_Unnumbered_InterfaceRef) ΛValidate ¶
func (t *Interface_RoutedVlan_Ipv4_Unnumbered_InterfaceRef) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface_RoutedVlan_Ipv6 ¶
type Interface_RoutedVlan_Ipv6 struct {
Address map[string]*Interface_RoutedVlan_Ipv6_Address `path:"addresses/address" module:"openconfig-if-ip/openconfig-if-ip"`
Counters *Interface_RoutedVlan_Ipv6_Counters `path:"state/counters" module:"openconfig-if-ip/openconfig-if-ip"`
DhcpClient *bool `path:"state/dhcp-client" module:"openconfig-if-ip/openconfig-if-ip"`
DupAddrDetectTransmits *uint32 `path:"state/dup-addr-detect-transmits" module:"openconfig-if-ip/openconfig-if-ip"`
Enabled *bool `path:"state/enabled" module:"openconfig-if-ip/openconfig-if-ip"`
LearnUnsolicited E_Ipv6_LearnUnsolicited `path:"state/learn-unsolicited" module:"openconfig-if-ip/openconfig-if-ip"`
Mtu *uint32 `path:"state/mtu" module:"openconfig-if-ip/openconfig-if-ip"`
Neighbor map[string]*Interface_RoutedVlan_Ipv6_Neighbor `path:"neighbors/neighbor" module:"openconfig-if-ip/openconfig-if-ip"`
RouterAdvertisement *Interface_RoutedVlan_Ipv6_RouterAdvertisement `path:"router-advertisement" module:"openconfig-if-ip"`
Unnumbered *Interface_RoutedVlan_Ipv6_Unnumbered `path:"unnumbered" module:"openconfig-if-ip"`
}
Interface_RoutedVlan_Ipv6 represents the /openconfig-interfaces/interfaces/interface/routed-vlan/ipv6 YANG schema element.
func (*Interface_RoutedVlan_Ipv6) AppendAddress ¶
func (t *Interface_RoutedVlan_Ipv6) AppendAddress(v *Interface_RoutedVlan_Ipv6_Address) error
AppendAddress appends the supplied Interface_RoutedVlan_Ipv6_Address struct to the list Address of Interface_RoutedVlan_Ipv6. If the key value(s) specified in the supplied Interface_RoutedVlan_Ipv6_Address already exist in the list, an error is returned.
func (*Interface_RoutedVlan_Ipv6) AppendNeighbor ¶
func (t *Interface_RoutedVlan_Ipv6) AppendNeighbor(v *Interface_RoutedVlan_Ipv6_Neighbor) error
AppendNeighbor appends the supplied Interface_RoutedVlan_Ipv6_Neighbor struct to the list Neighbor of Interface_RoutedVlan_Ipv6. If the key value(s) specified in the supplied Interface_RoutedVlan_Ipv6_Neighbor already exist in the list, an error is returned.
func (*Interface_RoutedVlan_Ipv6) DeleteAddress ¶
func (t *Interface_RoutedVlan_Ipv6) DeleteAddress(Ip string)
DeleteAddress deletes the value with the specified keys from the receiver Interface_RoutedVlan_Ipv6. If there is no such element, the function is a no-op.
func (*Interface_RoutedVlan_Ipv6) DeleteNeighbor ¶
func (t *Interface_RoutedVlan_Ipv6) DeleteNeighbor(Ip string)
DeleteNeighbor deletes the value with the specified keys from the receiver Interface_RoutedVlan_Ipv6. If there is no such element, the function is a no-op.
func (*Interface_RoutedVlan_Ipv6) GetAddress ¶
func (t *Interface_RoutedVlan_Ipv6) GetAddress(Ip string) *Interface_RoutedVlan_Ipv6_Address
GetAddress retrieves the value with the specified key from the Address map field of Interface_RoutedVlan_Ipv6. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.
func (*Interface_RoutedVlan_Ipv6) GetCounters ¶
func (t *Interface_RoutedVlan_Ipv6) GetCounters() *Interface_RoutedVlan_Ipv6_Counters
GetCounters returns the value of the Counters struct pointer from Interface_RoutedVlan_Ipv6. If the receiver or the field Counters is nil, nil is returned such that the Get* methods can be safely chained.
func (*Interface_RoutedVlan_Ipv6) GetDhcpClient ¶
func (t *Interface_RoutedVlan_Ipv6) GetDhcpClient() bool
GetDhcpClient retrieves the value of the leaf DhcpClient from the Interface_RoutedVlan_Ipv6 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if DhcpClient is set, it can safely use t.GetDhcpClient() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.DhcpClient == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv6) GetDupAddrDetectTransmits ¶
func (t *Interface_RoutedVlan_Ipv6) GetDupAddrDetectTransmits() uint32
GetDupAddrDetectTransmits retrieves the value of the leaf DupAddrDetectTransmits from the Interface_RoutedVlan_Ipv6 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if DupAddrDetectTransmits is set, it can safely use t.GetDupAddrDetectTransmits() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.DupAddrDetectTransmits == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv6) GetEnabled ¶
func (t *Interface_RoutedVlan_Ipv6) GetEnabled() bool
GetEnabled retrieves the value of the leaf Enabled from the Interface_RoutedVlan_Ipv6 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Enabled is set, it can safely use t.GetEnabled() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Enabled == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv6) GetLearnUnsolicited ¶
func (t *Interface_RoutedVlan_Ipv6) GetLearnUnsolicited() E_Ipv6_LearnUnsolicited
GetLearnUnsolicited retrieves the value of the leaf LearnUnsolicited from the Interface_RoutedVlan_Ipv6 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LearnUnsolicited is set, it can safely use t.GetLearnUnsolicited() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LearnUnsolicited == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv6) GetMtu ¶
func (t *Interface_RoutedVlan_Ipv6) GetMtu() uint32
GetMtu retrieves the value of the leaf Mtu from the Interface_RoutedVlan_Ipv6 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Mtu is set, it can safely use t.GetMtu() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Mtu == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv6) GetNeighbor ¶
func (t *Interface_RoutedVlan_Ipv6) GetNeighbor(Ip string) *Interface_RoutedVlan_Ipv6_Neighbor
GetNeighbor retrieves the value with the specified key from the Neighbor map field of Interface_RoutedVlan_Ipv6. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.
func (*Interface_RoutedVlan_Ipv6) GetOrCreateAddress ¶
func (t *Interface_RoutedVlan_Ipv6) GetOrCreateAddress(Ip string) *Interface_RoutedVlan_Ipv6_Address
GetOrCreateAddress retrieves the value with the specified keys from the receiver Interface_RoutedVlan_Ipv6. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*Interface_RoutedVlan_Ipv6) GetOrCreateAddressMap ¶
func (t *Interface_RoutedVlan_Ipv6) GetOrCreateAddressMap() map[string]*Interface_RoutedVlan_Ipv6_Address
GetOrCreateAddressMap returns the list (map) from Interface_RoutedVlan_Ipv6.
It initializes the field if not already initialized.
func (*Interface_RoutedVlan_Ipv6) GetOrCreateCounters ¶
func (t *Interface_RoutedVlan_Ipv6) GetOrCreateCounters() *Interface_RoutedVlan_Ipv6_Counters
GetOrCreateCounters retrieves the value of the Counters field or returns the existing field if it already exists.
func (*Interface_RoutedVlan_Ipv6) GetOrCreateNeighbor ¶
func (t *Interface_RoutedVlan_Ipv6) GetOrCreateNeighbor(Ip string) *Interface_RoutedVlan_Ipv6_Neighbor
GetOrCreateNeighbor retrieves the value with the specified keys from the receiver Interface_RoutedVlan_Ipv6. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*Interface_RoutedVlan_Ipv6) GetOrCreateNeighborMap ¶
func (t *Interface_RoutedVlan_Ipv6) GetOrCreateNeighborMap() map[string]*Interface_RoutedVlan_Ipv6_Neighbor
GetOrCreateNeighborMap returns the list (map) from Interface_RoutedVlan_Ipv6.
It initializes the field if not already initialized.
func (*Interface_RoutedVlan_Ipv6) GetOrCreateRouterAdvertisement ¶
func (t *Interface_RoutedVlan_Ipv6) GetOrCreateRouterAdvertisement() *Interface_RoutedVlan_Ipv6_RouterAdvertisement
GetOrCreateRouterAdvertisement retrieves the value of the RouterAdvertisement field or returns the existing field if it already exists.
func (*Interface_RoutedVlan_Ipv6) GetOrCreateUnnumbered ¶
func (t *Interface_RoutedVlan_Ipv6) GetOrCreateUnnumbered() *Interface_RoutedVlan_Ipv6_Unnumbered
GetOrCreateUnnumbered retrieves the value of the Unnumbered field or returns the existing field if it already exists.
func (*Interface_RoutedVlan_Ipv6) GetRouterAdvertisement ¶
func (t *Interface_RoutedVlan_Ipv6) GetRouterAdvertisement() *Interface_RoutedVlan_Ipv6_RouterAdvertisement
GetRouterAdvertisement returns the value of the RouterAdvertisement struct pointer from Interface_RoutedVlan_Ipv6. If the receiver or the field RouterAdvertisement is nil, nil is returned such that the Get* methods can be safely chained.
func (*Interface_RoutedVlan_Ipv6) GetUnnumbered ¶
func (t *Interface_RoutedVlan_Ipv6) GetUnnumbered() *Interface_RoutedVlan_Ipv6_Unnumbered
GetUnnumbered returns the value of the Unnumbered struct pointer from Interface_RoutedVlan_Ipv6. If the receiver or the field Unnumbered is nil, nil is returned such that the Get* methods can be safely chained.
func (*Interface_RoutedVlan_Ipv6) IsYANGGoStruct ¶
func (*Interface_RoutedVlan_Ipv6) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_RoutedVlan_Ipv6 implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_RoutedVlan_Ipv6) NewAddress ¶
func (t *Interface_RoutedVlan_Ipv6) NewAddress(Ip string) (*Interface_RoutedVlan_Ipv6_Address, error)
NewAddress creates a new entry in the Address list of the Interface_RoutedVlan_Ipv6 struct. The keys of the list are populated from the input arguments.
func (*Interface_RoutedVlan_Ipv6) NewNeighbor ¶
func (t *Interface_RoutedVlan_Ipv6) NewNeighbor(Ip string) (*Interface_RoutedVlan_Ipv6_Neighbor, error)
NewNeighbor creates a new entry in the Neighbor list of the Interface_RoutedVlan_Ipv6 struct. The keys of the list are populated from the input arguments.
func (*Interface_RoutedVlan_Ipv6) Validate ¶
func (t *Interface_RoutedVlan_Ipv6) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_RoutedVlan_Ipv6) ΛBelongingModule ¶
func (*Interface_RoutedVlan_Ipv6) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_RoutedVlan_Ipv6.
func (*Interface_RoutedVlan_Ipv6) ΛEnumTypeMap ¶
func (t *Interface_RoutedVlan_Ipv6) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Interface_RoutedVlan_Ipv6) ΛValidate ¶
func (t *Interface_RoutedVlan_Ipv6) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface_RoutedVlan_Ipv6_Address ¶
type Interface_RoutedVlan_Ipv6_Address struct {
Ip *string `path:"state/ip|ip" module:"openconfig-if-ip/openconfig-if-ip|openconfig-if-ip"`
Origin E_IfIp_IpAddressOrigin `path:"state/origin" module:"openconfig-if-ip/openconfig-if-ip"`
PrefixLength *uint8 `path:"state/prefix-length" module:"openconfig-if-ip/openconfig-if-ip"`
Status E_Address_Status `path:"state/status" module:"openconfig-if-ip/openconfig-if-ip"`
Type E_InetTypes_Ipv6AddressType `path:"state/type" module:"openconfig-if-ip/openconfig-if-ip"`
VrrpGroup map[uint8]*Interface_RoutedVlan_Ipv6_Address_VrrpGroup `path:"vrrp/vrrp-group" module:"openconfig-if-ip/openconfig-if-ip"`
}
Interface_RoutedVlan_Ipv6_Address represents the /openconfig-interfaces/interfaces/interface/routed-vlan/ipv6/addresses/address YANG schema element.
func (*Interface_RoutedVlan_Ipv6_Address) AppendVrrpGroup ¶
func (t *Interface_RoutedVlan_Ipv6_Address) AppendVrrpGroup(v *Interface_RoutedVlan_Ipv6_Address_VrrpGroup) error
AppendVrrpGroup appends the supplied Interface_RoutedVlan_Ipv6_Address_VrrpGroup struct to the list VrrpGroup of Interface_RoutedVlan_Ipv6_Address. If the key value(s) specified in the supplied Interface_RoutedVlan_Ipv6_Address_VrrpGroup already exist in the list, an error is returned.
func (*Interface_RoutedVlan_Ipv6_Address) DeleteVrrpGroup ¶
func (t *Interface_RoutedVlan_Ipv6_Address) DeleteVrrpGroup(VirtualRouterId uint8)
DeleteVrrpGroup deletes the value with the specified keys from the receiver Interface_RoutedVlan_Ipv6_Address. If there is no such element, the function is a no-op.
func (*Interface_RoutedVlan_Ipv6_Address) GetIp ¶
func (t *Interface_RoutedVlan_Ipv6_Address) GetIp() string
GetIp retrieves the value of the leaf Ip from the Interface_RoutedVlan_Ipv6_Address struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Ip is set, it can safely use t.GetIp() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Ip == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv6_Address) GetOrCreateVrrpGroup ¶
func (t *Interface_RoutedVlan_Ipv6_Address) GetOrCreateVrrpGroup(VirtualRouterId uint8) *Interface_RoutedVlan_Ipv6_Address_VrrpGroup
GetOrCreateVrrpGroup retrieves the value with the specified keys from the receiver Interface_RoutedVlan_Ipv6_Address. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*Interface_RoutedVlan_Ipv6_Address) GetOrCreateVrrpGroupMap ¶
func (t *Interface_RoutedVlan_Ipv6_Address) GetOrCreateVrrpGroupMap() map[uint8]*Interface_RoutedVlan_Ipv6_Address_VrrpGroup
GetOrCreateVrrpGroupMap returns the list (map) from Interface_RoutedVlan_Ipv6_Address.
It initializes the field if not already initialized.
func (*Interface_RoutedVlan_Ipv6_Address) GetOrigin ¶
func (t *Interface_RoutedVlan_Ipv6_Address) GetOrigin() E_IfIp_IpAddressOrigin
GetOrigin retrieves the value of the leaf Origin from the Interface_RoutedVlan_Ipv6_Address struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Origin is set, it can safely use t.GetOrigin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Origin == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv6_Address) GetPrefixLength ¶
func (t *Interface_RoutedVlan_Ipv6_Address) GetPrefixLength() uint8
GetPrefixLength retrieves the value of the leaf PrefixLength from the Interface_RoutedVlan_Ipv6_Address struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if PrefixLength is set, it can safely use t.GetPrefixLength() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.PrefixLength == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv6_Address) GetStatus ¶
func (t *Interface_RoutedVlan_Ipv6_Address) GetStatus() E_Address_Status
GetStatus retrieves the value of the leaf Status from the Interface_RoutedVlan_Ipv6_Address struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Status is set, it can safely use t.GetStatus() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Status == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv6_Address) GetType ¶
func (t *Interface_RoutedVlan_Ipv6_Address) GetType() E_InetTypes_Ipv6AddressType
GetType retrieves the value of the leaf Type from the Interface_RoutedVlan_Ipv6_Address struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Type is set, it can safely use t.GetType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Type == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv6_Address) GetVrrpGroup ¶
func (t *Interface_RoutedVlan_Ipv6_Address) GetVrrpGroup(VirtualRouterId uint8) *Interface_RoutedVlan_Ipv6_Address_VrrpGroup
GetVrrpGroup retrieves the value with the specified key from the VrrpGroup map field of Interface_RoutedVlan_Ipv6_Address. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.
func (*Interface_RoutedVlan_Ipv6_Address) IsYANGGoStruct ¶
func (*Interface_RoutedVlan_Ipv6_Address) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_RoutedVlan_Ipv6_Address implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_RoutedVlan_Ipv6_Address) NewVrrpGroup ¶
func (t *Interface_RoutedVlan_Ipv6_Address) NewVrrpGroup(VirtualRouterId uint8) (*Interface_RoutedVlan_Ipv6_Address_VrrpGroup, error)
NewVrrpGroup creates a new entry in the VrrpGroup list of the Interface_RoutedVlan_Ipv6_Address struct. The keys of the list are populated from the input arguments.
func (*Interface_RoutedVlan_Ipv6_Address) Validate ¶
func (t *Interface_RoutedVlan_Ipv6_Address) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_RoutedVlan_Ipv6_Address) ΛBelongingModule ¶
func (*Interface_RoutedVlan_Ipv6_Address) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_RoutedVlan_Ipv6_Address.
func (*Interface_RoutedVlan_Ipv6_Address) ΛEnumTypeMap ¶
func (t *Interface_RoutedVlan_Ipv6_Address) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Interface_RoutedVlan_Ipv6_Address) ΛListKeyMap ¶
func (t *Interface_RoutedVlan_Ipv6_Address) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the Interface_RoutedVlan_Ipv6_Address struct, which is a YANG list entry.
func (*Interface_RoutedVlan_Ipv6_Address) ΛValidate ¶
func (t *Interface_RoutedVlan_Ipv6_Address) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface_RoutedVlan_Ipv6_Address_VrrpGroup ¶
type Interface_RoutedVlan_Ipv6_Address_VrrpGroup struct {
AcceptMode *bool `path:"state/accept-mode" module:"openconfig-if-ip/openconfig-if-ip"`
AdvertisementInterval *uint16 `path:"state/advertisement-interval" module:"openconfig-if-ip/openconfig-if-ip"`
CurrentPriority *uint8 `path:"state/current-priority" module:"openconfig-if-ip/openconfig-if-ip"`
InterfaceTracking *Interface_RoutedVlan_Ipv6_Address_VrrpGroup_InterfaceTracking `path:"interface-tracking" module:"openconfig-if-ip"`
Preempt *bool `path:"state/preempt" module:"openconfig-if-ip/openconfig-if-ip"`
PreemptDelay *uint16 `path:"state/preempt-delay" module:"openconfig-if-ip/openconfig-if-ip"`
Priority *uint8 `path:"state/priority" module:"openconfig-if-ip/openconfig-if-ip"`
VirtualAddress []string `path:"state/virtual-address" module:"openconfig-if-ip/openconfig-if-ip"`
VirtualLinkLocal *string `path:"state/virtual-link-local" module:"openconfig-if-ip/openconfig-if-ip"`
VirtualRouterId *uint8 `path:"state/virtual-router-id|virtual-router-id" module:"openconfig-if-ip/openconfig-if-ip|openconfig-if-ip"`
}
Interface_RoutedVlan_Ipv6_Address_VrrpGroup represents the /openconfig-interfaces/interfaces/interface/routed-vlan/ipv6/addresses/address/vrrp/vrrp-group YANG schema element.
func (*Interface_RoutedVlan_Ipv6_Address_VrrpGroup) GetAcceptMode ¶
func (t *Interface_RoutedVlan_Ipv6_Address_VrrpGroup) GetAcceptMode() bool
GetAcceptMode retrieves the value of the leaf AcceptMode from the Interface_RoutedVlan_Ipv6_Address_VrrpGroup struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AcceptMode is set, it can safely use t.GetAcceptMode() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AcceptMode == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv6_Address_VrrpGroup) GetAdvertisementInterval ¶
func (t *Interface_RoutedVlan_Ipv6_Address_VrrpGroup) GetAdvertisementInterval() uint16
GetAdvertisementInterval retrieves the value of the leaf AdvertisementInterval from the Interface_RoutedVlan_Ipv6_Address_VrrpGroup struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AdvertisementInterval is set, it can safely use t.GetAdvertisementInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AdvertisementInterval == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv6_Address_VrrpGroup) GetCurrentPriority ¶
func (t *Interface_RoutedVlan_Ipv6_Address_VrrpGroup) GetCurrentPriority() uint8
GetCurrentPriority retrieves the value of the leaf CurrentPriority from the Interface_RoutedVlan_Ipv6_Address_VrrpGroup struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if CurrentPriority is set, it can safely use t.GetCurrentPriority() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.CurrentPriority == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv6_Address_VrrpGroup) GetInterfaceTracking ¶
func (t *Interface_RoutedVlan_Ipv6_Address_VrrpGroup) GetInterfaceTracking() *Interface_RoutedVlan_Ipv6_Address_VrrpGroup_InterfaceTracking
GetInterfaceTracking returns the value of the InterfaceTracking struct pointer from Interface_RoutedVlan_Ipv6_Address_VrrpGroup. If the receiver or the field InterfaceTracking is nil, nil is returned such that the Get* methods can be safely chained.
func (*Interface_RoutedVlan_Ipv6_Address_VrrpGroup) GetOrCreateInterfaceTracking ¶
func (t *Interface_RoutedVlan_Ipv6_Address_VrrpGroup) GetOrCreateInterfaceTracking() *Interface_RoutedVlan_Ipv6_Address_VrrpGroup_InterfaceTracking
GetOrCreateInterfaceTracking retrieves the value of the InterfaceTracking field or returns the existing field if it already exists.
func (*Interface_RoutedVlan_Ipv6_Address_VrrpGroup) GetPreempt ¶
func (t *Interface_RoutedVlan_Ipv6_Address_VrrpGroup) GetPreempt() bool
GetPreempt retrieves the value of the leaf Preempt from the Interface_RoutedVlan_Ipv6_Address_VrrpGroup struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Preempt is set, it can safely use t.GetPreempt() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Preempt == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv6_Address_VrrpGroup) GetPreemptDelay ¶
func (t *Interface_RoutedVlan_Ipv6_Address_VrrpGroup) GetPreemptDelay() uint16
GetPreemptDelay retrieves the value of the leaf PreemptDelay from the Interface_RoutedVlan_Ipv6_Address_VrrpGroup struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if PreemptDelay is set, it can safely use t.GetPreemptDelay() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.PreemptDelay == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv6_Address_VrrpGroup) GetPriority ¶
func (t *Interface_RoutedVlan_Ipv6_Address_VrrpGroup) GetPriority() uint8
GetPriority retrieves the value of the leaf Priority from the Interface_RoutedVlan_Ipv6_Address_VrrpGroup struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Priority is set, it can safely use t.GetPriority() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Priority == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv6_Address_VrrpGroup) GetVirtualAddress ¶
func (t *Interface_RoutedVlan_Ipv6_Address_VrrpGroup) GetVirtualAddress() []string
GetVirtualAddress retrieves the value of the leaf VirtualAddress from the Interface_RoutedVlan_Ipv6_Address_VrrpGroup struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if VirtualAddress is set, it can safely use t.GetVirtualAddress() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.VirtualAddress == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv6_Address_VrrpGroup) GetVirtualLinkLocal ¶
func (t *Interface_RoutedVlan_Ipv6_Address_VrrpGroup) GetVirtualLinkLocal() string
GetVirtualLinkLocal retrieves the value of the leaf VirtualLinkLocal from the Interface_RoutedVlan_Ipv6_Address_VrrpGroup struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if VirtualLinkLocal is set, it can safely use t.GetVirtualLinkLocal() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.VirtualLinkLocal == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv6_Address_VrrpGroup) GetVirtualRouterId ¶
func (t *Interface_RoutedVlan_Ipv6_Address_VrrpGroup) GetVirtualRouterId() uint8
GetVirtualRouterId retrieves the value of the leaf VirtualRouterId from the Interface_RoutedVlan_Ipv6_Address_VrrpGroup struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if VirtualRouterId is set, it can safely use t.GetVirtualRouterId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.VirtualRouterId == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv6_Address_VrrpGroup) IsYANGGoStruct ¶
func (*Interface_RoutedVlan_Ipv6_Address_VrrpGroup) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_RoutedVlan_Ipv6_Address_VrrpGroup implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_RoutedVlan_Ipv6_Address_VrrpGroup) Validate ¶
func (t *Interface_RoutedVlan_Ipv6_Address_VrrpGroup) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_RoutedVlan_Ipv6_Address_VrrpGroup) ΛBelongingModule ¶
func (*Interface_RoutedVlan_Ipv6_Address_VrrpGroup) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_RoutedVlan_Ipv6_Address_VrrpGroup.
func (*Interface_RoutedVlan_Ipv6_Address_VrrpGroup) ΛEnumTypeMap ¶
func (t *Interface_RoutedVlan_Ipv6_Address_VrrpGroup) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Interface_RoutedVlan_Ipv6_Address_VrrpGroup) ΛListKeyMap ¶
func (t *Interface_RoutedVlan_Ipv6_Address_VrrpGroup) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the Interface_RoutedVlan_Ipv6_Address_VrrpGroup struct, which is a YANG list entry.
func (*Interface_RoutedVlan_Ipv6_Address_VrrpGroup) ΛValidate ¶
func (t *Interface_RoutedVlan_Ipv6_Address_VrrpGroup) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface_RoutedVlan_Ipv6_Address_VrrpGroup_InterfaceTracking ¶
type Interface_RoutedVlan_Ipv6_Address_VrrpGroup_InterfaceTracking struct {
PriorityDecrement *uint8 `path:"state/priority-decrement" module:"openconfig-if-ip/openconfig-if-ip"`
TrackInterface []string `path:"state/track-interface" module:"openconfig-if-ip/openconfig-if-ip"`
}
Interface_RoutedVlan_Ipv6_Address_VrrpGroup_InterfaceTracking represents the /openconfig-interfaces/interfaces/interface/routed-vlan/ipv6/addresses/address/vrrp/vrrp-group/interface-tracking YANG schema element.
func (*Interface_RoutedVlan_Ipv6_Address_VrrpGroup_InterfaceTracking) GetPriorityDecrement ¶
func (t *Interface_RoutedVlan_Ipv6_Address_VrrpGroup_InterfaceTracking) GetPriorityDecrement() uint8
GetPriorityDecrement retrieves the value of the leaf PriorityDecrement from the Interface_RoutedVlan_Ipv6_Address_VrrpGroup_InterfaceTracking struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if PriorityDecrement is set, it can safely use t.GetPriorityDecrement() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.PriorityDecrement == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv6_Address_VrrpGroup_InterfaceTracking) GetTrackInterface ¶
func (t *Interface_RoutedVlan_Ipv6_Address_VrrpGroup_InterfaceTracking) GetTrackInterface() []string
GetTrackInterface retrieves the value of the leaf TrackInterface from the Interface_RoutedVlan_Ipv6_Address_VrrpGroup_InterfaceTracking struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TrackInterface is set, it can safely use t.GetTrackInterface() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TrackInterface == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv6_Address_VrrpGroup_InterfaceTracking) IsYANGGoStruct ¶
func (*Interface_RoutedVlan_Ipv6_Address_VrrpGroup_InterfaceTracking) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_RoutedVlan_Ipv6_Address_VrrpGroup_InterfaceTracking implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_RoutedVlan_Ipv6_Address_VrrpGroup_InterfaceTracking) Validate ¶
func (t *Interface_RoutedVlan_Ipv6_Address_VrrpGroup_InterfaceTracking) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_RoutedVlan_Ipv6_Address_VrrpGroup_InterfaceTracking) ΛBelongingModule ¶
func (*Interface_RoutedVlan_Ipv6_Address_VrrpGroup_InterfaceTracking) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_RoutedVlan_Ipv6_Address_VrrpGroup_InterfaceTracking.
func (*Interface_RoutedVlan_Ipv6_Address_VrrpGroup_InterfaceTracking) ΛEnumTypeMap ¶
func (t *Interface_RoutedVlan_Ipv6_Address_VrrpGroup_InterfaceTracking) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Interface_RoutedVlan_Ipv6_Address_VrrpGroup_InterfaceTracking) ΛValidate ¶
func (t *Interface_RoutedVlan_Ipv6_Address_VrrpGroup_InterfaceTracking) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface_RoutedVlan_Ipv6_Counters ¶
type Interface_RoutedVlan_Ipv6_Counters struct {
InDiscardedPkts *uint64 `path:"in-discarded-pkts" module:"openconfig-if-ip"`
InErrorPkts *uint64 `path:"in-error-pkts" module:"openconfig-if-ip"`
InForwardedOctets *uint64 `path:"in-forwarded-octets" module:"openconfig-if-ip"`
InForwardedPkts *uint64 `path:"in-forwarded-pkts" module:"openconfig-if-ip"`
InMulticastOctets *uint64 `path:"in-multicast-octets" module:"openconfig-if-ip"`
InMulticastPkts *uint64 `path:"in-multicast-pkts" module:"openconfig-if-ip"`
InOctets *uint64 `path:"in-octets" module:"openconfig-if-ip"`
InPkts *uint64 `path:"in-pkts" module:"openconfig-if-ip"`
OutDiscardedPkts *uint64 `path:"out-discarded-pkts" module:"openconfig-if-ip"`
OutErrorPkts *uint64 `path:"out-error-pkts" module:"openconfig-if-ip"`
OutForwardedOctets *uint64 `path:"out-forwarded-octets" module:"openconfig-if-ip"`
OutForwardedPkts *uint64 `path:"out-forwarded-pkts" module:"openconfig-if-ip"`
OutMulticastOctets *uint64 `path:"out-multicast-octets" module:"openconfig-if-ip"`
OutMulticastPkts *uint64 `path:"out-multicast-pkts" module:"openconfig-if-ip"`
OutOctets *uint64 `path:"out-octets" module:"openconfig-if-ip"`
OutPkts *uint64 `path:"out-pkts" module:"openconfig-if-ip"`
}
Interface_RoutedVlan_Ipv6_Counters represents the /openconfig-interfaces/interfaces/interface/routed-vlan/ipv6/state/counters YANG schema element.
func (*Interface_RoutedVlan_Ipv6_Counters) GetInDiscardedPkts ¶
func (t *Interface_RoutedVlan_Ipv6_Counters) GetInDiscardedPkts() uint64
GetInDiscardedPkts retrieves the value of the leaf InDiscardedPkts from the Interface_RoutedVlan_Ipv6_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InDiscardedPkts is set, it can safely use t.GetInDiscardedPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InDiscardedPkts == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv6_Counters) GetInErrorPkts ¶
func (t *Interface_RoutedVlan_Ipv6_Counters) GetInErrorPkts() uint64
GetInErrorPkts retrieves the value of the leaf InErrorPkts from the Interface_RoutedVlan_Ipv6_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InErrorPkts is set, it can safely use t.GetInErrorPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InErrorPkts == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv6_Counters) GetInForwardedOctets ¶
func (t *Interface_RoutedVlan_Ipv6_Counters) GetInForwardedOctets() uint64
GetInForwardedOctets retrieves the value of the leaf InForwardedOctets from the Interface_RoutedVlan_Ipv6_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InForwardedOctets is set, it can safely use t.GetInForwardedOctets() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InForwardedOctets == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv6_Counters) GetInForwardedPkts ¶
func (t *Interface_RoutedVlan_Ipv6_Counters) GetInForwardedPkts() uint64
GetInForwardedPkts retrieves the value of the leaf InForwardedPkts from the Interface_RoutedVlan_Ipv6_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InForwardedPkts is set, it can safely use t.GetInForwardedPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InForwardedPkts == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv6_Counters) GetInMulticastOctets ¶
func (t *Interface_RoutedVlan_Ipv6_Counters) GetInMulticastOctets() uint64
GetInMulticastOctets retrieves the value of the leaf InMulticastOctets from the Interface_RoutedVlan_Ipv6_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InMulticastOctets is set, it can safely use t.GetInMulticastOctets() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InMulticastOctets == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv6_Counters) GetInMulticastPkts ¶
func (t *Interface_RoutedVlan_Ipv6_Counters) GetInMulticastPkts() uint64
GetInMulticastPkts retrieves the value of the leaf InMulticastPkts from the Interface_RoutedVlan_Ipv6_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InMulticastPkts is set, it can safely use t.GetInMulticastPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InMulticastPkts == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv6_Counters) GetInOctets ¶
func (t *Interface_RoutedVlan_Ipv6_Counters) GetInOctets() uint64
GetInOctets retrieves the value of the leaf InOctets from the Interface_RoutedVlan_Ipv6_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InOctets is set, it can safely use t.GetInOctets() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InOctets == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv6_Counters) GetInPkts ¶
func (t *Interface_RoutedVlan_Ipv6_Counters) GetInPkts() uint64
GetInPkts retrieves the value of the leaf InPkts from the Interface_RoutedVlan_Ipv6_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InPkts is set, it can safely use t.GetInPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InPkts == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv6_Counters) GetOutDiscardedPkts ¶
func (t *Interface_RoutedVlan_Ipv6_Counters) GetOutDiscardedPkts() uint64
GetOutDiscardedPkts retrieves the value of the leaf OutDiscardedPkts from the Interface_RoutedVlan_Ipv6_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutDiscardedPkts is set, it can safely use t.GetOutDiscardedPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutDiscardedPkts == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv6_Counters) GetOutErrorPkts ¶
func (t *Interface_RoutedVlan_Ipv6_Counters) GetOutErrorPkts() uint64
GetOutErrorPkts retrieves the value of the leaf OutErrorPkts from the Interface_RoutedVlan_Ipv6_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutErrorPkts is set, it can safely use t.GetOutErrorPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutErrorPkts == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv6_Counters) GetOutForwardedOctets ¶
func (t *Interface_RoutedVlan_Ipv6_Counters) GetOutForwardedOctets() uint64
GetOutForwardedOctets retrieves the value of the leaf OutForwardedOctets from the Interface_RoutedVlan_Ipv6_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutForwardedOctets is set, it can safely use t.GetOutForwardedOctets() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutForwardedOctets == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv6_Counters) GetOutForwardedPkts ¶
func (t *Interface_RoutedVlan_Ipv6_Counters) GetOutForwardedPkts() uint64
GetOutForwardedPkts retrieves the value of the leaf OutForwardedPkts from the Interface_RoutedVlan_Ipv6_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutForwardedPkts is set, it can safely use t.GetOutForwardedPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutForwardedPkts == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv6_Counters) GetOutMulticastOctets ¶
func (t *Interface_RoutedVlan_Ipv6_Counters) GetOutMulticastOctets() uint64
GetOutMulticastOctets retrieves the value of the leaf OutMulticastOctets from the Interface_RoutedVlan_Ipv6_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutMulticastOctets is set, it can safely use t.GetOutMulticastOctets() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutMulticastOctets == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv6_Counters) GetOutMulticastPkts ¶
func (t *Interface_RoutedVlan_Ipv6_Counters) GetOutMulticastPkts() uint64
GetOutMulticastPkts retrieves the value of the leaf OutMulticastPkts from the Interface_RoutedVlan_Ipv6_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutMulticastPkts is set, it can safely use t.GetOutMulticastPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutMulticastPkts == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv6_Counters) GetOutOctets ¶
func (t *Interface_RoutedVlan_Ipv6_Counters) GetOutOctets() uint64
GetOutOctets retrieves the value of the leaf OutOctets from the Interface_RoutedVlan_Ipv6_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutOctets is set, it can safely use t.GetOutOctets() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutOctets == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv6_Counters) GetOutPkts ¶
func (t *Interface_RoutedVlan_Ipv6_Counters) GetOutPkts() uint64
GetOutPkts retrieves the value of the leaf OutPkts from the Interface_RoutedVlan_Ipv6_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutPkts is set, it can safely use t.GetOutPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutPkts == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv6_Counters) IsYANGGoStruct ¶
func (*Interface_RoutedVlan_Ipv6_Counters) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_RoutedVlan_Ipv6_Counters implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_RoutedVlan_Ipv6_Counters) Validate ¶
func (t *Interface_RoutedVlan_Ipv6_Counters) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_RoutedVlan_Ipv6_Counters) ΛBelongingModule ¶
func (*Interface_RoutedVlan_Ipv6_Counters) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_RoutedVlan_Ipv6_Counters.
func (*Interface_RoutedVlan_Ipv6_Counters) ΛEnumTypeMap ¶
func (t *Interface_RoutedVlan_Ipv6_Counters) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Interface_RoutedVlan_Ipv6_Counters) ΛValidate ¶
func (t *Interface_RoutedVlan_Ipv6_Counters) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface_RoutedVlan_Ipv6_Neighbor ¶
type Interface_RoutedVlan_Ipv6_Neighbor struct {
Ip *string `path:"state/ip|ip" module:"openconfig-if-ip/openconfig-if-ip|openconfig-if-ip"`
IsRouter *bool `path:"state/is-router" module:"openconfig-if-ip/openconfig-if-ip"`
LinkLayerAddress *string `path:"state/link-layer-address" module:"openconfig-if-ip/openconfig-if-ip"`
NeighborState E_Neighbor_NeighborState `path:"state/neighbor-state" module:"openconfig-if-ip/openconfig-if-ip"`
Origin E_IfIp_NeighborOrigin `path:"state/origin" module:"openconfig-if-ip/openconfig-if-ip"`
}
Interface_RoutedVlan_Ipv6_Neighbor represents the /openconfig-interfaces/interfaces/interface/routed-vlan/ipv6/neighbors/neighbor YANG schema element.
func (*Interface_RoutedVlan_Ipv6_Neighbor) GetIp ¶
func (t *Interface_RoutedVlan_Ipv6_Neighbor) GetIp() string
GetIp retrieves the value of the leaf Ip from the Interface_RoutedVlan_Ipv6_Neighbor struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Ip is set, it can safely use t.GetIp() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Ip == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv6_Neighbor) GetIsRouter ¶
func (t *Interface_RoutedVlan_Ipv6_Neighbor) GetIsRouter() bool
GetIsRouter retrieves the value of the leaf IsRouter from the Interface_RoutedVlan_Ipv6_Neighbor struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if IsRouter is set, it can safely use t.GetIsRouter() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.IsRouter == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv6_Neighbor) GetLinkLayerAddress ¶
func (t *Interface_RoutedVlan_Ipv6_Neighbor) GetLinkLayerAddress() string
GetLinkLayerAddress retrieves the value of the leaf LinkLayerAddress from the Interface_RoutedVlan_Ipv6_Neighbor struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LinkLayerAddress is set, it can safely use t.GetLinkLayerAddress() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LinkLayerAddress == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv6_Neighbor) GetNeighborState ¶
func (t *Interface_RoutedVlan_Ipv6_Neighbor) GetNeighborState() E_Neighbor_NeighborState
GetNeighborState retrieves the value of the leaf NeighborState from the Interface_RoutedVlan_Ipv6_Neighbor struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if NeighborState is set, it can safely use t.GetNeighborState() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.NeighborState == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv6_Neighbor) GetOrigin ¶
func (t *Interface_RoutedVlan_Ipv6_Neighbor) GetOrigin() E_IfIp_NeighborOrigin
GetOrigin retrieves the value of the leaf Origin from the Interface_RoutedVlan_Ipv6_Neighbor struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Origin is set, it can safely use t.GetOrigin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Origin == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv6_Neighbor) IsYANGGoStruct ¶
func (*Interface_RoutedVlan_Ipv6_Neighbor) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_RoutedVlan_Ipv6_Neighbor implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_RoutedVlan_Ipv6_Neighbor) Validate ¶
func (t *Interface_RoutedVlan_Ipv6_Neighbor) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_RoutedVlan_Ipv6_Neighbor) ΛBelongingModule ¶
func (*Interface_RoutedVlan_Ipv6_Neighbor) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_RoutedVlan_Ipv6_Neighbor.
func (*Interface_RoutedVlan_Ipv6_Neighbor) ΛEnumTypeMap ¶
func (t *Interface_RoutedVlan_Ipv6_Neighbor) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Interface_RoutedVlan_Ipv6_Neighbor) ΛListKeyMap ¶
func (t *Interface_RoutedVlan_Ipv6_Neighbor) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the Interface_RoutedVlan_Ipv6_Neighbor struct, which is a YANG list entry.
func (*Interface_RoutedVlan_Ipv6_Neighbor) ΛValidate ¶
func (t *Interface_RoutedVlan_Ipv6_Neighbor) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface_RoutedVlan_Ipv6_RouterAdvertisement ¶
type Interface_RoutedVlan_Ipv6_RouterAdvertisement struct {
Enable *bool `path:"state/enable" module:"openconfig-if-ip/openconfig-if-ip"`
Interval *uint32 `path:"state/interval" module:"openconfig-if-ip/openconfig-if-ip"`
Lifetime *uint32 `path:"state/lifetime" module:"openconfig-if-ip/openconfig-if-ip"`
Managed *bool `path:"state/managed" module:"openconfig-if-ip/openconfig-if-ip"`
Mode E_RouterAdvertisement_Mode `path:"state/mode" module:"openconfig-if-ip/openconfig-if-ip"`
OtherConfig *bool `path:"state/other-config" module:"openconfig-if-ip/openconfig-if-ip"`
Prefix map[string]*Interface_RoutedVlan_Ipv6_RouterAdvertisement_Prefix `path:"prefixes/prefix" module:"openconfig-if-ip/openconfig-if-ip"`
Suppress *bool `path:"state/suppress" module:"openconfig-if-ip/openconfig-if-ip"`
}
Interface_RoutedVlan_Ipv6_RouterAdvertisement represents the /openconfig-interfaces/interfaces/interface/routed-vlan/ipv6/router-advertisement YANG schema element.
func (*Interface_RoutedVlan_Ipv6_RouterAdvertisement) AppendPrefix ¶
func (t *Interface_RoutedVlan_Ipv6_RouterAdvertisement) AppendPrefix(v *Interface_RoutedVlan_Ipv6_RouterAdvertisement_Prefix) error
AppendPrefix appends the supplied Interface_RoutedVlan_Ipv6_RouterAdvertisement_Prefix struct to the list Prefix of Interface_RoutedVlan_Ipv6_RouterAdvertisement. If the key value(s) specified in the supplied Interface_RoutedVlan_Ipv6_RouterAdvertisement_Prefix already exist in the list, an error is returned.
func (*Interface_RoutedVlan_Ipv6_RouterAdvertisement) DeletePrefix ¶
func (t *Interface_RoutedVlan_Ipv6_RouterAdvertisement) DeletePrefix(Prefix string)
DeletePrefix deletes the value with the specified keys from the receiver Interface_RoutedVlan_Ipv6_RouterAdvertisement. If there is no such element, the function is a no-op.
func (*Interface_RoutedVlan_Ipv6_RouterAdvertisement) GetEnable ¶
func (t *Interface_RoutedVlan_Ipv6_RouterAdvertisement) GetEnable() bool
GetEnable retrieves the value of the leaf Enable from the Interface_RoutedVlan_Ipv6_RouterAdvertisement struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Enable is set, it can safely use t.GetEnable() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Enable == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv6_RouterAdvertisement) GetInterval ¶
func (t *Interface_RoutedVlan_Ipv6_RouterAdvertisement) GetInterval() uint32
GetInterval retrieves the value of the leaf Interval from the Interface_RoutedVlan_Ipv6_RouterAdvertisement struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interval is set, it can safely use t.GetInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interval == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv6_RouterAdvertisement) GetLifetime ¶
func (t *Interface_RoutedVlan_Ipv6_RouterAdvertisement) GetLifetime() uint32
GetLifetime retrieves the value of the leaf Lifetime from the Interface_RoutedVlan_Ipv6_RouterAdvertisement struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Lifetime is set, it can safely use t.GetLifetime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Lifetime == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv6_RouterAdvertisement) GetManaged ¶
func (t *Interface_RoutedVlan_Ipv6_RouterAdvertisement) GetManaged() bool
GetManaged retrieves the value of the leaf Managed from the Interface_RoutedVlan_Ipv6_RouterAdvertisement struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Managed is set, it can safely use t.GetManaged() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Managed == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv6_RouterAdvertisement) GetMode ¶
func (t *Interface_RoutedVlan_Ipv6_RouterAdvertisement) GetMode() E_RouterAdvertisement_Mode
GetMode retrieves the value of the leaf Mode from the Interface_RoutedVlan_Ipv6_RouterAdvertisement struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Mode is set, it can safely use t.GetMode() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Mode == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv6_RouterAdvertisement) GetOrCreatePrefix ¶
func (t *Interface_RoutedVlan_Ipv6_RouterAdvertisement) GetOrCreatePrefix(Prefix string) *Interface_RoutedVlan_Ipv6_RouterAdvertisement_Prefix
GetOrCreatePrefix retrieves the value with the specified keys from the receiver Interface_RoutedVlan_Ipv6_RouterAdvertisement. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*Interface_RoutedVlan_Ipv6_RouterAdvertisement) GetOrCreatePrefixMap ¶
func (t *Interface_RoutedVlan_Ipv6_RouterAdvertisement) GetOrCreatePrefixMap() map[string]*Interface_RoutedVlan_Ipv6_RouterAdvertisement_Prefix
GetOrCreatePrefixMap returns the list (map) from Interface_RoutedVlan_Ipv6_RouterAdvertisement.
It initializes the field if not already initialized.
func (*Interface_RoutedVlan_Ipv6_RouterAdvertisement) GetOtherConfig ¶
func (t *Interface_RoutedVlan_Ipv6_RouterAdvertisement) GetOtherConfig() bool
GetOtherConfig retrieves the value of the leaf OtherConfig from the Interface_RoutedVlan_Ipv6_RouterAdvertisement struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OtherConfig is set, it can safely use t.GetOtherConfig() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OtherConfig == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv6_RouterAdvertisement) GetPrefix ¶
func (t *Interface_RoutedVlan_Ipv6_RouterAdvertisement) GetPrefix(Prefix string) *Interface_RoutedVlan_Ipv6_RouterAdvertisement_Prefix
GetPrefix retrieves the value with the specified key from the Prefix map field of Interface_RoutedVlan_Ipv6_RouterAdvertisement. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.
func (*Interface_RoutedVlan_Ipv6_RouterAdvertisement) GetSuppress ¶
func (t *Interface_RoutedVlan_Ipv6_RouterAdvertisement) GetSuppress() bool
GetSuppress retrieves the value of the leaf Suppress from the Interface_RoutedVlan_Ipv6_RouterAdvertisement struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Suppress is set, it can safely use t.GetSuppress() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Suppress == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv6_RouterAdvertisement) IsYANGGoStruct ¶
func (*Interface_RoutedVlan_Ipv6_RouterAdvertisement) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_RoutedVlan_Ipv6_RouterAdvertisement implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_RoutedVlan_Ipv6_RouterAdvertisement) NewPrefix ¶
func (t *Interface_RoutedVlan_Ipv6_RouterAdvertisement) NewPrefix(Prefix string) (*Interface_RoutedVlan_Ipv6_RouterAdvertisement_Prefix, error)
NewPrefix creates a new entry in the Prefix list of the Interface_RoutedVlan_Ipv6_RouterAdvertisement struct. The keys of the list are populated from the input arguments.
func (*Interface_RoutedVlan_Ipv6_RouterAdvertisement) Validate ¶
func (t *Interface_RoutedVlan_Ipv6_RouterAdvertisement) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_RoutedVlan_Ipv6_RouterAdvertisement) ΛBelongingModule ¶
func (*Interface_RoutedVlan_Ipv6_RouterAdvertisement) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_RoutedVlan_Ipv6_RouterAdvertisement.
func (*Interface_RoutedVlan_Ipv6_RouterAdvertisement) ΛEnumTypeMap ¶
func (t *Interface_RoutedVlan_Ipv6_RouterAdvertisement) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Interface_RoutedVlan_Ipv6_RouterAdvertisement) ΛValidate ¶
func (t *Interface_RoutedVlan_Ipv6_RouterAdvertisement) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface_RoutedVlan_Ipv6_RouterAdvertisement_Prefix ¶
type Interface_RoutedVlan_Ipv6_RouterAdvertisement_Prefix struct {
DisableAdvertisement *bool `path:"state/disable-advertisement" module:"openconfig-if-ip/openconfig-if-ip"`
DisableAutoconfiguration *bool `path:"state/disable-autoconfiguration" module:"openconfig-if-ip/openconfig-if-ip"`
EnableOnlink *bool `path:"state/enable-onlink" module:"openconfig-if-ip/openconfig-if-ip"`
PreferredLifetime *uint32 `path:"state/preferred-lifetime" module:"openconfig-if-ip/openconfig-if-ip"`
Prefix *string `path:"state/prefix|prefix" module:"openconfig-if-ip/openconfig-if-ip|openconfig-if-ip"`
ValidLifetime *uint32 `path:"state/valid-lifetime" module:"openconfig-if-ip/openconfig-if-ip"`
}
Interface_RoutedVlan_Ipv6_RouterAdvertisement_Prefix represents the /openconfig-interfaces/interfaces/interface/routed-vlan/ipv6/router-advertisement/prefixes/prefix YANG schema element.
func (*Interface_RoutedVlan_Ipv6_RouterAdvertisement_Prefix) GetDisableAdvertisement ¶
func (t *Interface_RoutedVlan_Ipv6_RouterAdvertisement_Prefix) GetDisableAdvertisement() bool
GetDisableAdvertisement retrieves the value of the leaf DisableAdvertisement from the Interface_RoutedVlan_Ipv6_RouterAdvertisement_Prefix struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if DisableAdvertisement is set, it can safely use t.GetDisableAdvertisement() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.DisableAdvertisement == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv6_RouterAdvertisement_Prefix) GetDisableAutoconfiguration ¶
func (t *Interface_RoutedVlan_Ipv6_RouterAdvertisement_Prefix) GetDisableAutoconfiguration() bool
GetDisableAutoconfiguration retrieves the value of the leaf DisableAutoconfiguration from the Interface_RoutedVlan_Ipv6_RouterAdvertisement_Prefix struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if DisableAutoconfiguration is set, it can safely use t.GetDisableAutoconfiguration() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.DisableAutoconfiguration == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv6_RouterAdvertisement_Prefix) GetEnableOnlink ¶
func (t *Interface_RoutedVlan_Ipv6_RouterAdvertisement_Prefix) GetEnableOnlink() bool
GetEnableOnlink retrieves the value of the leaf EnableOnlink from the Interface_RoutedVlan_Ipv6_RouterAdvertisement_Prefix struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if EnableOnlink is set, it can safely use t.GetEnableOnlink() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.EnableOnlink == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv6_RouterAdvertisement_Prefix) GetPreferredLifetime ¶
func (t *Interface_RoutedVlan_Ipv6_RouterAdvertisement_Prefix) GetPreferredLifetime() uint32
GetPreferredLifetime retrieves the value of the leaf PreferredLifetime from the Interface_RoutedVlan_Ipv6_RouterAdvertisement_Prefix struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if PreferredLifetime is set, it can safely use t.GetPreferredLifetime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.PreferredLifetime == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv6_RouterAdvertisement_Prefix) GetPrefix ¶
func (t *Interface_RoutedVlan_Ipv6_RouterAdvertisement_Prefix) GetPrefix() string
GetPrefix retrieves the value of the leaf Prefix from the Interface_RoutedVlan_Ipv6_RouterAdvertisement_Prefix struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Prefix is set, it can safely use t.GetPrefix() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Prefix == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv6_RouterAdvertisement_Prefix) GetValidLifetime ¶
func (t *Interface_RoutedVlan_Ipv6_RouterAdvertisement_Prefix) GetValidLifetime() uint32
GetValidLifetime retrieves the value of the leaf ValidLifetime from the Interface_RoutedVlan_Ipv6_RouterAdvertisement_Prefix struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ValidLifetime is set, it can safely use t.GetValidLifetime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ValidLifetime == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv6_RouterAdvertisement_Prefix) IsYANGGoStruct ¶
func (*Interface_RoutedVlan_Ipv6_RouterAdvertisement_Prefix) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_RoutedVlan_Ipv6_RouterAdvertisement_Prefix implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_RoutedVlan_Ipv6_RouterAdvertisement_Prefix) Validate ¶
func (t *Interface_RoutedVlan_Ipv6_RouterAdvertisement_Prefix) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_RoutedVlan_Ipv6_RouterAdvertisement_Prefix) ΛBelongingModule ¶
func (*Interface_RoutedVlan_Ipv6_RouterAdvertisement_Prefix) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_RoutedVlan_Ipv6_RouterAdvertisement_Prefix.
func (*Interface_RoutedVlan_Ipv6_RouterAdvertisement_Prefix) ΛEnumTypeMap ¶
func (t *Interface_RoutedVlan_Ipv6_RouterAdvertisement_Prefix) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Interface_RoutedVlan_Ipv6_RouterAdvertisement_Prefix) ΛListKeyMap ¶
func (t *Interface_RoutedVlan_Ipv6_RouterAdvertisement_Prefix) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the Interface_RoutedVlan_Ipv6_RouterAdvertisement_Prefix struct, which is a YANG list entry.
func (*Interface_RoutedVlan_Ipv6_RouterAdvertisement_Prefix) ΛValidate ¶
func (t *Interface_RoutedVlan_Ipv6_RouterAdvertisement_Prefix) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface_RoutedVlan_Ipv6_Unnumbered ¶
type Interface_RoutedVlan_Ipv6_Unnumbered struct {
Enabled *bool `path:"state/enabled" module:"openconfig-if-ip/openconfig-if-ip"`
InterfaceRef *Interface_RoutedVlan_Ipv6_Unnumbered_InterfaceRef `path:"interface-ref" module:"openconfig-if-ip"`
}
Interface_RoutedVlan_Ipv6_Unnumbered represents the /openconfig-interfaces/interfaces/interface/routed-vlan/ipv6/unnumbered YANG schema element.
func (*Interface_RoutedVlan_Ipv6_Unnumbered) GetEnabled ¶
func (t *Interface_RoutedVlan_Ipv6_Unnumbered) GetEnabled() bool
GetEnabled retrieves the value of the leaf Enabled from the Interface_RoutedVlan_Ipv6_Unnumbered struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Enabled is set, it can safely use t.GetEnabled() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Enabled == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv6_Unnumbered) GetInterfaceRef ¶
func (t *Interface_RoutedVlan_Ipv6_Unnumbered) GetInterfaceRef() *Interface_RoutedVlan_Ipv6_Unnumbered_InterfaceRef
GetInterfaceRef returns the value of the InterfaceRef struct pointer from Interface_RoutedVlan_Ipv6_Unnumbered. If the receiver or the field InterfaceRef is nil, nil is returned such that the Get* methods can be safely chained.
func (*Interface_RoutedVlan_Ipv6_Unnumbered) GetOrCreateInterfaceRef ¶
func (t *Interface_RoutedVlan_Ipv6_Unnumbered) GetOrCreateInterfaceRef() *Interface_RoutedVlan_Ipv6_Unnumbered_InterfaceRef
GetOrCreateInterfaceRef retrieves the value of the InterfaceRef field or returns the existing field if it already exists.
func (*Interface_RoutedVlan_Ipv6_Unnumbered) IsYANGGoStruct ¶
func (*Interface_RoutedVlan_Ipv6_Unnumbered) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_RoutedVlan_Ipv6_Unnumbered implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_RoutedVlan_Ipv6_Unnumbered) Validate ¶
func (t *Interface_RoutedVlan_Ipv6_Unnumbered) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_RoutedVlan_Ipv6_Unnumbered) ΛBelongingModule ¶
func (*Interface_RoutedVlan_Ipv6_Unnumbered) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_RoutedVlan_Ipv6_Unnumbered.
func (*Interface_RoutedVlan_Ipv6_Unnumbered) ΛEnumTypeMap ¶
func (t *Interface_RoutedVlan_Ipv6_Unnumbered) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Interface_RoutedVlan_Ipv6_Unnumbered) ΛValidate ¶
func (t *Interface_RoutedVlan_Ipv6_Unnumbered) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface_RoutedVlan_Ipv6_Unnumbered_InterfaceRef ¶
type Interface_RoutedVlan_Ipv6_Unnumbered_InterfaceRef struct {
Interface *string `path:"state/interface" module:"openconfig-if-ip/openconfig-if-ip"`
Subinterface *uint32 `path:"state/subinterface" module:"openconfig-if-ip/openconfig-if-ip"`
}
Interface_RoutedVlan_Ipv6_Unnumbered_InterfaceRef represents the /openconfig-interfaces/interfaces/interface/routed-vlan/ipv6/unnumbered/interface-ref YANG schema element.
func (*Interface_RoutedVlan_Ipv6_Unnumbered_InterfaceRef) GetInterface ¶
func (t *Interface_RoutedVlan_Ipv6_Unnumbered_InterfaceRef) GetInterface() string
GetInterface retrieves the value of the leaf Interface from the Interface_RoutedVlan_Ipv6_Unnumbered_InterfaceRef struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interface is set, it can safely use t.GetInterface() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interface == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv6_Unnumbered_InterfaceRef) GetSubinterface ¶
func (t *Interface_RoutedVlan_Ipv6_Unnumbered_InterfaceRef) GetSubinterface() uint32
GetSubinterface retrieves the value of the leaf Subinterface from the Interface_RoutedVlan_Ipv6_Unnumbered_InterfaceRef struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Subinterface is set, it can safely use t.GetSubinterface() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Subinterface == nil' before retrieving the leaf's value.
func (*Interface_RoutedVlan_Ipv6_Unnumbered_InterfaceRef) IsYANGGoStruct ¶
func (*Interface_RoutedVlan_Ipv6_Unnumbered_InterfaceRef) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_RoutedVlan_Ipv6_Unnumbered_InterfaceRef implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_RoutedVlan_Ipv6_Unnumbered_InterfaceRef) Validate ¶
func (t *Interface_RoutedVlan_Ipv6_Unnumbered_InterfaceRef) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_RoutedVlan_Ipv6_Unnumbered_InterfaceRef) ΛBelongingModule ¶
func (*Interface_RoutedVlan_Ipv6_Unnumbered_InterfaceRef) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_RoutedVlan_Ipv6_Unnumbered_InterfaceRef.
func (*Interface_RoutedVlan_Ipv6_Unnumbered_InterfaceRef) ΛEnumTypeMap ¶
func (t *Interface_RoutedVlan_Ipv6_Unnumbered_InterfaceRef) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Interface_RoutedVlan_Ipv6_Unnumbered_InterfaceRef) ΛValidate ¶
func (t *Interface_RoutedVlan_Ipv6_Unnumbered_InterfaceRef) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface_RoutedVlan_Vlan_Union ¶
type Interface_RoutedVlan_Vlan_Union interface {
// Union type can be one of [UnionString, UnionUint16]
Documentation_for_Interface_RoutedVlan_Vlan_Union()
}
Interface_RoutedVlan_Vlan_Union is an interface that is implemented by valid types for the union for the leaf /openconfig-interfaces/interfaces/interface/routed-vlan/state/vlan within the YANG schema. Union type can be one of [UnionString, UnionUint16].
type Interface_Subinterface ¶
type Interface_Subinterface struct {
AdminStatus E_Interface_AdminStatus `path:"state/admin-status" module:"openconfig-interfaces/openconfig-interfaces"`
Counters *Interface_Subinterface_Counters `path:"state/counters" module:"openconfig-interfaces/openconfig-interfaces"`
Cpu *bool `path:"state/cpu" module:"openconfig-interfaces/openconfig-interfaces"`
Description *string `path:"state/description" module:"openconfig-interfaces/openconfig-interfaces"`
Enabled *bool `path:"state/enabled" module:"openconfig-interfaces/openconfig-interfaces"`
Ifindex *uint32 `path:"state/ifindex" module:"openconfig-interfaces/openconfig-interfaces"`
Index *uint32 `path:"state/index|index" module:"openconfig-interfaces/openconfig-interfaces|openconfig-interfaces"`
Ipv4 *Interface_Subinterface_Ipv4 `path:"ipv4" module:"openconfig-if-ip"`
Ipv6 *Interface_Subinterface_Ipv6 `path:"ipv6" module:"openconfig-if-ip"`
LastChange *uint64 `path:"state/last-change" module:"openconfig-interfaces/openconfig-interfaces"`
Logical *bool `path:"state/logical" module:"openconfig-interfaces/openconfig-interfaces"`
Management *bool `path:"state/management" module:"openconfig-interfaces/openconfig-interfaces"`
Name *string `path:"state/name" module:"openconfig-interfaces/openconfig-interfaces"`
OperStatus E_Interface_OperStatus `path:"state/oper-status" module:"openconfig-interfaces/openconfig-interfaces"`
Vlan *Interface_Subinterface_Vlan `path:"vlan" module:"openconfig-vlan"`
}
Interface_Subinterface represents the /openconfig-interfaces/interfaces/interface/subinterfaces/subinterface YANG schema element.
func (*Interface_Subinterface) GetAdminStatus ¶
func (t *Interface_Subinterface) GetAdminStatus() E_Interface_AdminStatus
GetAdminStatus retrieves the value of the leaf AdminStatus from the Interface_Subinterface struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AdminStatus is set, it can safely use t.GetAdminStatus() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AdminStatus == nil' before retrieving the leaf's value.
func (*Interface_Subinterface) GetCounters ¶
func (t *Interface_Subinterface) GetCounters() *Interface_Subinterface_Counters
GetCounters returns the value of the Counters struct pointer from Interface_Subinterface. If the receiver or the field Counters is nil, nil is returned such that the Get* methods can be safely chained.
func (*Interface_Subinterface) GetCpu ¶
func (t *Interface_Subinterface) GetCpu() bool
GetCpu retrieves the value of the leaf Cpu from the Interface_Subinterface struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Cpu is set, it can safely use t.GetCpu() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Cpu == nil' before retrieving the leaf's value.
func (*Interface_Subinterface) GetDescription ¶
func (t *Interface_Subinterface) GetDescription() string
GetDescription retrieves the value of the leaf Description from the Interface_Subinterface struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Description is set, it can safely use t.GetDescription() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Description == nil' before retrieving the leaf's value.
func (*Interface_Subinterface) GetEnabled ¶
func (t *Interface_Subinterface) GetEnabled() bool
GetEnabled retrieves the value of the leaf Enabled from the Interface_Subinterface struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Enabled is set, it can safely use t.GetEnabled() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Enabled == nil' before retrieving the leaf's value.
func (*Interface_Subinterface) GetIfindex ¶
func (t *Interface_Subinterface) GetIfindex() uint32
GetIfindex retrieves the value of the leaf Ifindex from the Interface_Subinterface struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Ifindex is set, it can safely use t.GetIfindex() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Ifindex == nil' before retrieving the leaf's value.
func (*Interface_Subinterface) GetIndex ¶
func (t *Interface_Subinterface) GetIndex() uint32
GetIndex retrieves the value of the leaf Index from the Interface_Subinterface struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Index is set, it can safely use t.GetIndex() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Index == nil' before retrieving the leaf's value.
func (*Interface_Subinterface) GetIpv4 ¶
func (t *Interface_Subinterface) GetIpv4() *Interface_Subinterface_Ipv4
GetIpv4 returns the value of the Ipv4 struct pointer from Interface_Subinterface. If the receiver or the field Ipv4 is nil, nil is returned such that the Get* methods can be safely chained.
func (*Interface_Subinterface) GetIpv6 ¶
func (t *Interface_Subinterface) GetIpv6() *Interface_Subinterface_Ipv6
GetIpv6 returns the value of the Ipv6 struct pointer from Interface_Subinterface. If the receiver or the field Ipv6 is nil, nil is returned such that the Get* methods can be safely chained.
func (*Interface_Subinterface) GetLastChange ¶
func (t *Interface_Subinterface) GetLastChange() uint64
GetLastChange retrieves the value of the leaf LastChange from the Interface_Subinterface struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LastChange is set, it can safely use t.GetLastChange() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LastChange == nil' before retrieving the leaf's value.
func (*Interface_Subinterface) GetLogical ¶
func (t *Interface_Subinterface) GetLogical() bool
GetLogical retrieves the value of the leaf Logical from the Interface_Subinterface struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Logical is set, it can safely use t.GetLogical() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Logical == nil' before retrieving the leaf's value.
func (*Interface_Subinterface) GetManagement ¶
func (t *Interface_Subinterface) GetManagement() bool
GetManagement retrieves the value of the leaf Management from the Interface_Subinterface struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Management is set, it can safely use t.GetManagement() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Management == nil' before retrieving the leaf's value.
func (*Interface_Subinterface) GetName ¶
func (t *Interface_Subinterface) GetName() string
GetName retrieves the value of the leaf Name from the Interface_Subinterface struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Name is set, it can safely use t.GetName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Name == nil' before retrieving the leaf's value.
func (*Interface_Subinterface) GetOperStatus ¶
func (t *Interface_Subinterface) GetOperStatus() E_Interface_OperStatus
GetOperStatus retrieves the value of the leaf OperStatus from the Interface_Subinterface struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OperStatus is set, it can safely use t.GetOperStatus() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OperStatus == nil' before retrieving the leaf's value.
func (*Interface_Subinterface) GetOrCreateCounters ¶
func (t *Interface_Subinterface) GetOrCreateCounters() *Interface_Subinterface_Counters
GetOrCreateCounters retrieves the value of the Counters field or returns the existing field if it already exists.
func (*Interface_Subinterface) GetOrCreateIpv4 ¶
func (t *Interface_Subinterface) GetOrCreateIpv4() *Interface_Subinterface_Ipv4
GetOrCreateIpv4 retrieves the value of the Ipv4 field or returns the existing field if it already exists.
func (*Interface_Subinterface) GetOrCreateIpv6 ¶
func (t *Interface_Subinterface) GetOrCreateIpv6() *Interface_Subinterface_Ipv6
GetOrCreateIpv6 retrieves the value of the Ipv6 field or returns the existing field if it already exists.
func (*Interface_Subinterface) GetOrCreateVlan ¶
func (t *Interface_Subinterface) GetOrCreateVlan() *Interface_Subinterface_Vlan
GetOrCreateVlan retrieves the value of the Vlan field or returns the existing field if it already exists.
func (*Interface_Subinterface) GetVlan ¶
func (t *Interface_Subinterface) GetVlan() *Interface_Subinterface_Vlan
GetVlan returns the value of the Vlan struct pointer from Interface_Subinterface. If the receiver or the field Vlan is nil, nil is returned such that the Get* methods can be safely chained.
func (*Interface_Subinterface) IsYANGGoStruct ¶
func (*Interface_Subinterface) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_Subinterface implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_Subinterface) Validate ¶
func (t *Interface_Subinterface) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_Subinterface) ΛBelongingModule ¶
func (*Interface_Subinterface) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_Subinterface.
func (*Interface_Subinterface) ΛEnumTypeMap ¶
func (t *Interface_Subinterface) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Interface_Subinterface) ΛListKeyMap ¶
func (t *Interface_Subinterface) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the Interface_Subinterface struct, which is a YANG list entry.
func (*Interface_Subinterface) ΛValidate ¶
func (t *Interface_Subinterface) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface_Subinterface_Counters ¶
type Interface_Subinterface_Counters struct {
CarrierTransitions *uint64 `path:"carrier-transitions" module:"openconfig-interfaces"`
InBroadcastPkts *uint64 `path:"in-broadcast-pkts" module:"openconfig-interfaces"`
InDiscards *uint64 `path:"in-discards" module:"openconfig-interfaces"`
InErrors *uint64 `path:"in-errors" module:"openconfig-interfaces"`
InFcsErrors *uint64 `path:"in-fcs-errors" module:"openconfig-interfaces"`
InMulticastPkts *uint64 `path:"in-multicast-pkts" module:"openconfig-interfaces"`
InOctets *uint64 `path:"in-octets" module:"openconfig-interfaces"`
InPkts *uint64 `path:"in-pkts" module:"openconfig-interfaces"`
InUnicastPkts *uint64 `path:"in-unicast-pkts" module:"openconfig-interfaces"`
InUnknownProtos *uint64 `path:"in-unknown-protos" module:"openconfig-interfaces"`
LastClear *uint64 `path:"last-clear" module:"openconfig-interfaces"`
OutBroadcastPkts *uint64 `path:"out-broadcast-pkts" module:"openconfig-interfaces"`
OutDiscards *uint64 `path:"out-discards" module:"openconfig-interfaces"`
OutErrors *uint64 `path:"out-errors" module:"openconfig-interfaces"`
OutMulticastPkts *uint64 `path:"out-multicast-pkts" module:"openconfig-interfaces"`
OutOctets *uint64 `path:"out-octets" module:"openconfig-interfaces"`
OutPkts *uint64 `path:"out-pkts" module:"openconfig-interfaces"`
OutUnicastPkts *uint64 `path:"out-unicast-pkts" module:"openconfig-interfaces"`
}
Interface_Subinterface_Counters represents the /openconfig-interfaces/interfaces/interface/subinterfaces/subinterface/state/counters YANG schema element.
func (*Interface_Subinterface_Counters) GetCarrierTransitions ¶
func (t *Interface_Subinterface_Counters) GetCarrierTransitions() uint64
GetCarrierTransitions retrieves the value of the leaf CarrierTransitions from the Interface_Subinterface_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if CarrierTransitions is set, it can safely use t.GetCarrierTransitions() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.CarrierTransitions == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Counters) GetInBroadcastPkts ¶
func (t *Interface_Subinterface_Counters) GetInBroadcastPkts() uint64
GetInBroadcastPkts retrieves the value of the leaf InBroadcastPkts from the Interface_Subinterface_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InBroadcastPkts is set, it can safely use t.GetInBroadcastPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InBroadcastPkts == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Counters) GetInDiscards ¶
func (t *Interface_Subinterface_Counters) GetInDiscards() uint64
GetInDiscards retrieves the value of the leaf InDiscards from the Interface_Subinterface_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InDiscards is set, it can safely use t.GetInDiscards() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InDiscards == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Counters) GetInErrors ¶
func (t *Interface_Subinterface_Counters) GetInErrors() uint64
GetInErrors retrieves the value of the leaf InErrors from the Interface_Subinterface_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InErrors is set, it can safely use t.GetInErrors() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InErrors == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Counters) GetInFcsErrors ¶
func (t *Interface_Subinterface_Counters) GetInFcsErrors() uint64
GetInFcsErrors retrieves the value of the leaf InFcsErrors from the Interface_Subinterface_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InFcsErrors is set, it can safely use t.GetInFcsErrors() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InFcsErrors == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Counters) GetInMulticastPkts ¶
func (t *Interface_Subinterface_Counters) GetInMulticastPkts() uint64
GetInMulticastPkts retrieves the value of the leaf InMulticastPkts from the Interface_Subinterface_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InMulticastPkts is set, it can safely use t.GetInMulticastPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InMulticastPkts == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Counters) GetInOctets ¶
func (t *Interface_Subinterface_Counters) GetInOctets() uint64
GetInOctets retrieves the value of the leaf InOctets from the Interface_Subinterface_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InOctets is set, it can safely use t.GetInOctets() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InOctets == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Counters) GetInPkts ¶
func (t *Interface_Subinterface_Counters) GetInPkts() uint64
GetInPkts retrieves the value of the leaf InPkts from the Interface_Subinterface_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InPkts is set, it can safely use t.GetInPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InPkts == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Counters) GetInUnicastPkts ¶
func (t *Interface_Subinterface_Counters) GetInUnicastPkts() uint64
GetInUnicastPkts retrieves the value of the leaf InUnicastPkts from the Interface_Subinterface_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InUnicastPkts is set, it can safely use t.GetInUnicastPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InUnicastPkts == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Counters) GetInUnknownProtos ¶
func (t *Interface_Subinterface_Counters) GetInUnknownProtos() uint64
GetInUnknownProtos retrieves the value of the leaf InUnknownProtos from the Interface_Subinterface_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InUnknownProtos is set, it can safely use t.GetInUnknownProtos() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InUnknownProtos == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Counters) GetLastClear ¶
func (t *Interface_Subinterface_Counters) GetLastClear() uint64
GetLastClear retrieves the value of the leaf LastClear from the Interface_Subinterface_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LastClear is set, it can safely use t.GetLastClear() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LastClear == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Counters) GetOutBroadcastPkts ¶
func (t *Interface_Subinterface_Counters) GetOutBroadcastPkts() uint64
GetOutBroadcastPkts retrieves the value of the leaf OutBroadcastPkts from the Interface_Subinterface_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutBroadcastPkts is set, it can safely use t.GetOutBroadcastPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutBroadcastPkts == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Counters) GetOutDiscards ¶
func (t *Interface_Subinterface_Counters) GetOutDiscards() uint64
GetOutDiscards retrieves the value of the leaf OutDiscards from the Interface_Subinterface_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutDiscards is set, it can safely use t.GetOutDiscards() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutDiscards == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Counters) GetOutErrors ¶
func (t *Interface_Subinterface_Counters) GetOutErrors() uint64
GetOutErrors retrieves the value of the leaf OutErrors from the Interface_Subinterface_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutErrors is set, it can safely use t.GetOutErrors() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutErrors == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Counters) GetOutMulticastPkts ¶
func (t *Interface_Subinterface_Counters) GetOutMulticastPkts() uint64
GetOutMulticastPkts retrieves the value of the leaf OutMulticastPkts from the Interface_Subinterface_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutMulticastPkts is set, it can safely use t.GetOutMulticastPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutMulticastPkts == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Counters) GetOutOctets ¶
func (t *Interface_Subinterface_Counters) GetOutOctets() uint64
GetOutOctets retrieves the value of the leaf OutOctets from the Interface_Subinterface_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutOctets is set, it can safely use t.GetOutOctets() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutOctets == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Counters) GetOutPkts ¶
func (t *Interface_Subinterface_Counters) GetOutPkts() uint64
GetOutPkts retrieves the value of the leaf OutPkts from the Interface_Subinterface_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutPkts is set, it can safely use t.GetOutPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutPkts == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Counters) GetOutUnicastPkts ¶
func (t *Interface_Subinterface_Counters) GetOutUnicastPkts() uint64
GetOutUnicastPkts retrieves the value of the leaf OutUnicastPkts from the Interface_Subinterface_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutUnicastPkts is set, it can safely use t.GetOutUnicastPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutUnicastPkts == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Counters) IsYANGGoStruct ¶
func (*Interface_Subinterface_Counters) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_Subinterface_Counters implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_Subinterface_Counters) Validate ¶
func (t *Interface_Subinterface_Counters) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_Subinterface_Counters) ΛBelongingModule ¶
func (*Interface_Subinterface_Counters) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_Subinterface_Counters.
func (*Interface_Subinterface_Counters) ΛEnumTypeMap ¶
func (t *Interface_Subinterface_Counters) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Interface_Subinterface_Counters) ΛValidate ¶
func (t *Interface_Subinterface_Counters) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface_Subinterface_Ipv4 ¶
type Interface_Subinterface_Ipv4 struct {
Address map[string]*Interface_Subinterface_Ipv4_Address `path:"addresses/address" module:"openconfig-if-ip/openconfig-if-ip"`
Counters *Interface_Subinterface_Ipv4_Counters `path:"state/counters" module:"openconfig-if-ip/openconfig-if-ip"`
DhcpClient *bool `path:"state/dhcp-client" module:"openconfig-if-ip/openconfig-if-ip"`
Enabled *bool `path:"state/enabled" module:"openconfig-if-ip/openconfig-if-ip"`
GratuitousArpAccepted *bool `path:"state/gratuitous-arp-accepted" module:"openconfig-if-ip/openconfig-if-ip"`
Mtu *uint16 `path:"state/mtu" module:"openconfig-if-ip/openconfig-if-ip"`
Neighbor map[string]*Interface_Subinterface_Ipv4_Neighbor `path:"neighbors/neighbor" module:"openconfig-if-ip/openconfig-if-ip"`
ProxyArp *Interface_Subinterface_Ipv4_ProxyArp `path:"proxy-arp" module:"openconfig-if-ip"`
Unnumbered *Interface_Subinterface_Ipv4_Unnumbered `path:"unnumbered" module:"openconfig-if-ip"`
}
Interface_Subinterface_Ipv4 represents the /openconfig-interfaces/interfaces/interface/subinterfaces/subinterface/ipv4 YANG schema element.
func (*Interface_Subinterface_Ipv4) AppendAddress ¶
func (t *Interface_Subinterface_Ipv4) AppendAddress(v *Interface_Subinterface_Ipv4_Address) error
AppendAddress appends the supplied Interface_Subinterface_Ipv4_Address struct to the list Address of Interface_Subinterface_Ipv4. If the key value(s) specified in the supplied Interface_Subinterface_Ipv4_Address already exist in the list, an error is returned.
func (*Interface_Subinterface_Ipv4) AppendNeighbor ¶
func (t *Interface_Subinterface_Ipv4) AppendNeighbor(v *Interface_Subinterface_Ipv4_Neighbor) error
AppendNeighbor appends the supplied Interface_Subinterface_Ipv4_Neighbor struct to the list Neighbor of Interface_Subinterface_Ipv4. If the key value(s) specified in the supplied Interface_Subinterface_Ipv4_Neighbor already exist in the list, an error is returned.
func (*Interface_Subinterface_Ipv4) DeleteAddress ¶
func (t *Interface_Subinterface_Ipv4) DeleteAddress(Ip string)
DeleteAddress deletes the value with the specified keys from the receiver Interface_Subinterface_Ipv4. If there is no such element, the function is a no-op.
func (*Interface_Subinterface_Ipv4) DeleteNeighbor ¶
func (t *Interface_Subinterface_Ipv4) DeleteNeighbor(Ip string)
DeleteNeighbor deletes the value with the specified keys from the receiver Interface_Subinterface_Ipv4. If there is no such element, the function is a no-op.
func (*Interface_Subinterface_Ipv4) GetAddress ¶
func (t *Interface_Subinterface_Ipv4) GetAddress(Ip string) *Interface_Subinterface_Ipv4_Address
GetAddress retrieves the value with the specified key from the Address map field of Interface_Subinterface_Ipv4. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.
func (*Interface_Subinterface_Ipv4) GetCounters ¶
func (t *Interface_Subinterface_Ipv4) GetCounters() *Interface_Subinterface_Ipv4_Counters
GetCounters returns the value of the Counters struct pointer from Interface_Subinterface_Ipv4. If the receiver or the field Counters is nil, nil is returned such that the Get* methods can be safely chained.
func (*Interface_Subinterface_Ipv4) GetDhcpClient ¶
func (t *Interface_Subinterface_Ipv4) GetDhcpClient() bool
GetDhcpClient retrieves the value of the leaf DhcpClient from the Interface_Subinterface_Ipv4 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if DhcpClient is set, it can safely use t.GetDhcpClient() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.DhcpClient == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv4) GetEnabled ¶
func (t *Interface_Subinterface_Ipv4) GetEnabled() bool
GetEnabled retrieves the value of the leaf Enabled from the Interface_Subinterface_Ipv4 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Enabled is set, it can safely use t.GetEnabled() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Enabled == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv4) GetGratuitousArpAccepted ¶
func (t *Interface_Subinterface_Ipv4) GetGratuitousArpAccepted() bool
GetGratuitousArpAccepted retrieves the value of the leaf GratuitousArpAccepted from the Interface_Subinterface_Ipv4 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if GratuitousArpAccepted is set, it can safely use t.GetGratuitousArpAccepted() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.GratuitousArpAccepted == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv4) GetMtu ¶
func (t *Interface_Subinterface_Ipv4) GetMtu() uint16
GetMtu retrieves the value of the leaf Mtu from the Interface_Subinterface_Ipv4 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Mtu is set, it can safely use t.GetMtu() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Mtu == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv4) GetNeighbor ¶
func (t *Interface_Subinterface_Ipv4) GetNeighbor(Ip string) *Interface_Subinterface_Ipv4_Neighbor
GetNeighbor retrieves the value with the specified key from the Neighbor map field of Interface_Subinterface_Ipv4. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.
func (*Interface_Subinterface_Ipv4) GetOrCreateAddress ¶
func (t *Interface_Subinterface_Ipv4) GetOrCreateAddress(Ip string) *Interface_Subinterface_Ipv4_Address
GetOrCreateAddress retrieves the value with the specified keys from the receiver Interface_Subinterface_Ipv4. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*Interface_Subinterface_Ipv4) GetOrCreateAddressMap ¶
func (t *Interface_Subinterface_Ipv4) GetOrCreateAddressMap() map[string]*Interface_Subinterface_Ipv4_Address
GetOrCreateAddressMap returns the list (map) from Interface_Subinterface_Ipv4.
It initializes the field if not already initialized.
func (*Interface_Subinterface_Ipv4) GetOrCreateCounters ¶
func (t *Interface_Subinterface_Ipv4) GetOrCreateCounters() *Interface_Subinterface_Ipv4_Counters
GetOrCreateCounters retrieves the value of the Counters field or returns the existing field if it already exists.
func (*Interface_Subinterface_Ipv4) GetOrCreateNeighbor ¶
func (t *Interface_Subinterface_Ipv4) GetOrCreateNeighbor(Ip string) *Interface_Subinterface_Ipv4_Neighbor
GetOrCreateNeighbor retrieves the value with the specified keys from the receiver Interface_Subinterface_Ipv4. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*Interface_Subinterface_Ipv4) GetOrCreateNeighborMap ¶
func (t *Interface_Subinterface_Ipv4) GetOrCreateNeighborMap() map[string]*Interface_Subinterface_Ipv4_Neighbor
GetOrCreateNeighborMap returns the list (map) from Interface_Subinterface_Ipv4.
It initializes the field if not already initialized.
func (*Interface_Subinterface_Ipv4) GetOrCreateProxyArp ¶
func (t *Interface_Subinterface_Ipv4) GetOrCreateProxyArp() *Interface_Subinterface_Ipv4_ProxyArp
GetOrCreateProxyArp retrieves the value of the ProxyArp field or returns the existing field if it already exists.
func (*Interface_Subinterface_Ipv4) GetOrCreateUnnumbered ¶
func (t *Interface_Subinterface_Ipv4) GetOrCreateUnnumbered() *Interface_Subinterface_Ipv4_Unnumbered
GetOrCreateUnnumbered retrieves the value of the Unnumbered field or returns the existing field if it already exists.
func (*Interface_Subinterface_Ipv4) GetProxyArp ¶
func (t *Interface_Subinterface_Ipv4) GetProxyArp() *Interface_Subinterface_Ipv4_ProxyArp
GetProxyArp returns the value of the ProxyArp struct pointer from Interface_Subinterface_Ipv4. If the receiver or the field ProxyArp is nil, nil is returned such that the Get* methods can be safely chained.
func (*Interface_Subinterface_Ipv4) GetUnnumbered ¶
func (t *Interface_Subinterface_Ipv4) GetUnnumbered() *Interface_Subinterface_Ipv4_Unnumbered
GetUnnumbered returns the value of the Unnumbered struct pointer from Interface_Subinterface_Ipv4. If the receiver or the field Unnumbered is nil, nil is returned such that the Get* methods can be safely chained.
func (*Interface_Subinterface_Ipv4) IsYANGGoStruct ¶
func (*Interface_Subinterface_Ipv4) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_Subinterface_Ipv4 implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_Subinterface_Ipv4) NewAddress ¶
func (t *Interface_Subinterface_Ipv4) NewAddress(Ip string) (*Interface_Subinterface_Ipv4_Address, error)
NewAddress creates a new entry in the Address list of the Interface_Subinterface_Ipv4 struct. The keys of the list are populated from the input arguments.
func (*Interface_Subinterface_Ipv4) NewNeighbor ¶
func (t *Interface_Subinterface_Ipv4) NewNeighbor(Ip string) (*Interface_Subinterface_Ipv4_Neighbor, error)
NewNeighbor creates a new entry in the Neighbor list of the Interface_Subinterface_Ipv4 struct. The keys of the list are populated from the input arguments.
func (*Interface_Subinterface_Ipv4) Validate ¶
func (t *Interface_Subinterface_Ipv4) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_Subinterface_Ipv4) ΛBelongingModule ¶
func (*Interface_Subinterface_Ipv4) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_Subinterface_Ipv4.
func (*Interface_Subinterface_Ipv4) ΛEnumTypeMap ¶
func (t *Interface_Subinterface_Ipv4) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Interface_Subinterface_Ipv4) ΛValidate ¶
func (t *Interface_Subinterface_Ipv4) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface_Subinterface_Ipv4_Address ¶
type Interface_Subinterface_Ipv4_Address struct {
Ip *string `path:"state/ip|ip" module:"openconfig-if-ip/openconfig-if-ip|openconfig-if-ip"`
Origin E_IfIp_IpAddressOrigin `path:"state/origin" module:"openconfig-if-ip/openconfig-if-ip"`
PrefixLength *uint8 `path:"state/prefix-length" module:"openconfig-if-ip/openconfig-if-ip"`
Type E_IfIp_Ipv4AddressType `path:"state/type" module:"openconfig-if-ip/openconfig-if-ip"`
VrrpGroup map[uint8]*Interface_Subinterface_Ipv4_Address_VrrpGroup `path:"vrrp/vrrp-group" module:"openconfig-if-ip/openconfig-if-ip"`
}
Interface_Subinterface_Ipv4_Address represents the /openconfig-interfaces/interfaces/interface/subinterfaces/subinterface/ipv4/addresses/address YANG schema element.
func (*Interface_Subinterface_Ipv4_Address) AppendVrrpGroup ¶
func (t *Interface_Subinterface_Ipv4_Address) AppendVrrpGroup(v *Interface_Subinterface_Ipv4_Address_VrrpGroup) error
AppendVrrpGroup appends the supplied Interface_Subinterface_Ipv4_Address_VrrpGroup struct to the list VrrpGroup of Interface_Subinterface_Ipv4_Address. If the key value(s) specified in the supplied Interface_Subinterface_Ipv4_Address_VrrpGroup already exist in the list, an error is returned.
func (*Interface_Subinterface_Ipv4_Address) DeleteVrrpGroup ¶
func (t *Interface_Subinterface_Ipv4_Address) DeleteVrrpGroup(VirtualRouterId uint8)
DeleteVrrpGroup deletes the value with the specified keys from the receiver Interface_Subinterface_Ipv4_Address. If there is no such element, the function is a no-op.
func (*Interface_Subinterface_Ipv4_Address) GetIp ¶
func (t *Interface_Subinterface_Ipv4_Address) GetIp() string
GetIp retrieves the value of the leaf Ip from the Interface_Subinterface_Ipv4_Address struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Ip is set, it can safely use t.GetIp() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Ip == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv4_Address) GetOrCreateVrrpGroup ¶
func (t *Interface_Subinterface_Ipv4_Address) GetOrCreateVrrpGroup(VirtualRouterId uint8) *Interface_Subinterface_Ipv4_Address_VrrpGroup
GetOrCreateVrrpGroup retrieves the value with the specified keys from the receiver Interface_Subinterface_Ipv4_Address. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*Interface_Subinterface_Ipv4_Address) GetOrCreateVrrpGroupMap ¶
func (t *Interface_Subinterface_Ipv4_Address) GetOrCreateVrrpGroupMap() map[uint8]*Interface_Subinterface_Ipv4_Address_VrrpGroup
GetOrCreateVrrpGroupMap returns the list (map) from Interface_Subinterface_Ipv4_Address.
It initializes the field if not already initialized.
func (*Interface_Subinterface_Ipv4_Address) GetOrigin ¶
func (t *Interface_Subinterface_Ipv4_Address) GetOrigin() E_IfIp_IpAddressOrigin
GetOrigin retrieves the value of the leaf Origin from the Interface_Subinterface_Ipv4_Address struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Origin is set, it can safely use t.GetOrigin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Origin == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv4_Address) GetPrefixLength ¶
func (t *Interface_Subinterface_Ipv4_Address) GetPrefixLength() uint8
GetPrefixLength retrieves the value of the leaf PrefixLength from the Interface_Subinterface_Ipv4_Address struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if PrefixLength is set, it can safely use t.GetPrefixLength() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.PrefixLength == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv4_Address) GetType ¶
func (t *Interface_Subinterface_Ipv4_Address) GetType() E_IfIp_Ipv4AddressType
GetType retrieves the value of the leaf Type from the Interface_Subinterface_Ipv4_Address struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Type is set, it can safely use t.GetType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Type == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv4_Address) GetVrrpGroup ¶
func (t *Interface_Subinterface_Ipv4_Address) GetVrrpGroup(VirtualRouterId uint8) *Interface_Subinterface_Ipv4_Address_VrrpGroup
GetVrrpGroup retrieves the value with the specified key from the VrrpGroup map field of Interface_Subinterface_Ipv4_Address. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.
func (*Interface_Subinterface_Ipv4_Address) IsYANGGoStruct ¶
func (*Interface_Subinterface_Ipv4_Address) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_Subinterface_Ipv4_Address implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_Subinterface_Ipv4_Address) NewVrrpGroup ¶
func (t *Interface_Subinterface_Ipv4_Address) NewVrrpGroup(VirtualRouterId uint8) (*Interface_Subinterface_Ipv4_Address_VrrpGroup, error)
NewVrrpGroup creates a new entry in the VrrpGroup list of the Interface_Subinterface_Ipv4_Address struct. The keys of the list are populated from the input arguments.
func (*Interface_Subinterface_Ipv4_Address) Validate ¶
func (t *Interface_Subinterface_Ipv4_Address) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_Subinterface_Ipv4_Address) ΛBelongingModule ¶
func (*Interface_Subinterface_Ipv4_Address) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_Subinterface_Ipv4_Address.
func (*Interface_Subinterface_Ipv4_Address) ΛEnumTypeMap ¶
func (t *Interface_Subinterface_Ipv4_Address) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Interface_Subinterface_Ipv4_Address) ΛListKeyMap ¶
func (t *Interface_Subinterface_Ipv4_Address) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the Interface_Subinterface_Ipv4_Address struct, which is a YANG list entry.
func (*Interface_Subinterface_Ipv4_Address) ΛValidate ¶
func (t *Interface_Subinterface_Ipv4_Address) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface_Subinterface_Ipv4_Address_VrrpGroup ¶
type Interface_Subinterface_Ipv4_Address_VrrpGroup struct {
AcceptMode *bool `path:"state/accept-mode" module:"openconfig-if-ip/openconfig-if-ip"`
AdvertisementInterval *uint16 `path:"state/advertisement-interval" module:"openconfig-if-ip/openconfig-if-ip"`
CurrentPriority *uint8 `path:"state/current-priority" module:"openconfig-if-ip/openconfig-if-ip"`
InterfaceTracking *Interface_Subinterface_Ipv4_Address_VrrpGroup_InterfaceTracking `path:"interface-tracking" module:"openconfig-if-ip"`
Preempt *bool `path:"state/preempt" module:"openconfig-if-ip/openconfig-if-ip"`
PreemptDelay *uint16 `path:"state/preempt-delay" module:"openconfig-if-ip/openconfig-if-ip"`
Priority *uint8 `path:"state/priority" module:"openconfig-if-ip/openconfig-if-ip"`
VirtualAddress []string `path:"state/virtual-address" module:"openconfig-if-ip/openconfig-if-ip"`
VirtualRouterId *uint8 `path:"state/virtual-router-id|virtual-router-id" module:"openconfig-if-ip/openconfig-if-ip|openconfig-if-ip"`
}
Interface_Subinterface_Ipv4_Address_VrrpGroup represents the /openconfig-interfaces/interfaces/interface/subinterfaces/subinterface/ipv4/addresses/address/vrrp/vrrp-group YANG schema element.
func (*Interface_Subinterface_Ipv4_Address_VrrpGroup) GetAcceptMode ¶
func (t *Interface_Subinterface_Ipv4_Address_VrrpGroup) GetAcceptMode() bool
GetAcceptMode retrieves the value of the leaf AcceptMode from the Interface_Subinterface_Ipv4_Address_VrrpGroup struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AcceptMode is set, it can safely use t.GetAcceptMode() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AcceptMode == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv4_Address_VrrpGroup) GetAdvertisementInterval ¶
func (t *Interface_Subinterface_Ipv4_Address_VrrpGroup) GetAdvertisementInterval() uint16
GetAdvertisementInterval retrieves the value of the leaf AdvertisementInterval from the Interface_Subinterface_Ipv4_Address_VrrpGroup struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AdvertisementInterval is set, it can safely use t.GetAdvertisementInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AdvertisementInterval == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv4_Address_VrrpGroup) GetCurrentPriority ¶
func (t *Interface_Subinterface_Ipv4_Address_VrrpGroup) GetCurrentPriority() uint8
GetCurrentPriority retrieves the value of the leaf CurrentPriority from the Interface_Subinterface_Ipv4_Address_VrrpGroup struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if CurrentPriority is set, it can safely use t.GetCurrentPriority() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.CurrentPriority == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv4_Address_VrrpGroup) GetInterfaceTracking ¶
func (t *Interface_Subinterface_Ipv4_Address_VrrpGroup) GetInterfaceTracking() *Interface_Subinterface_Ipv4_Address_VrrpGroup_InterfaceTracking
GetInterfaceTracking returns the value of the InterfaceTracking struct pointer from Interface_Subinterface_Ipv4_Address_VrrpGroup. If the receiver or the field InterfaceTracking is nil, nil is returned such that the Get* methods can be safely chained.
func (*Interface_Subinterface_Ipv4_Address_VrrpGroup) GetOrCreateInterfaceTracking ¶
func (t *Interface_Subinterface_Ipv4_Address_VrrpGroup) GetOrCreateInterfaceTracking() *Interface_Subinterface_Ipv4_Address_VrrpGroup_InterfaceTracking
GetOrCreateInterfaceTracking retrieves the value of the InterfaceTracking field or returns the existing field if it already exists.
func (*Interface_Subinterface_Ipv4_Address_VrrpGroup) GetPreempt ¶
func (t *Interface_Subinterface_Ipv4_Address_VrrpGroup) GetPreempt() bool
GetPreempt retrieves the value of the leaf Preempt from the Interface_Subinterface_Ipv4_Address_VrrpGroup struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Preempt is set, it can safely use t.GetPreempt() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Preempt == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv4_Address_VrrpGroup) GetPreemptDelay ¶
func (t *Interface_Subinterface_Ipv4_Address_VrrpGroup) GetPreemptDelay() uint16
GetPreemptDelay retrieves the value of the leaf PreemptDelay from the Interface_Subinterface_Ipv4_Address_VrrpGroup struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if PreemptDelay is set, it can safely use t.GetPreemptDelay() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.PreemptDelay == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv4_Address_VrrpGroup) GetPriority ¶
func (t *Interface_Subinterface_Ipv4_Address_VrrpGroup) GetPriority() uint8
GetPriority retrieves the value of the leaf Priority from the Interface_Subinterface_Ipv4_Address_VrrpGroup struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Priority is set, it can safely use t.GetPriority() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Priority == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv4_Address_VrrpGroup) GetVirtualAddress ¶
func (t *Interface_Subinterface_Ipv4_Address_VrrpGroup) GetVirtualAddress() []string
GetVirtualAddress retrieves the value of the leaf VirtualAddress from the Interface_Subinterface_Ipv4_Address_VrrpGroup struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if VirtualAddress is set, it can safely use t.GetVirtualAddress() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.VirtualAddress == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv4_Address_VrrpGroup) GetVirtualRouterId ¶
func (t *Interface_Subinterface_Ipv4_Address_VrrpGroup) GetVirtualRouterId() uint8
GetVirtualRouterId retrieves the value of the leaf VirtualRouterId from the Interface_Subinterface_Ipv4_Address_VrrpGroup struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if VirtualRouterId is set, it can safely use t.GetVirtualRouterId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.VirtualRouterId == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv4_Address_VrrpGroup) IsYANGGoStruct ¶
func (*Interface_Subinterface_Ipv4_Address_VrrpGroup) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_Subinterface_Ipv4_Address_VrrpGroup implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_Subinterface_Ipv4_Address_VrrpGroup) Validate ¶
func (t *Interface_Subinterface_Ipv4_Address_VrrpGroup) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_Subinterface_Ipv4_Address_VrrpGroup) ΛBelongingModule ¶
func (*Interface_Subinterface_Ipv4_Address_VrrpGroup) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_Subinterface_Ipv4_Address_VrrpGroup.
func (*Interface_Subinterface_Ipv4_Address_VrrpGroup) ΛEnumTypeMap ¶
func (t *Interface_Subinterface_Ipv4_Address_VrrpGroup) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Interface_Subinterface_Ipv4_Address_VrrpGroup) ΛListKeyMap ¶
func (t *Interface_Subinterface_Ipv4_Address_VrrpGroup) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the Interface_Subinterface_Ipv4_Address_VrrpGroup struct, which is a YANG list entry.
func (*Interface_Subinterface_Ipv4_Address_VrrpGroup) ΛValidate ¶
func (t *Interface_Subinterface_Ipv4_Address_VrrpGroup) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface_Subinterface_Ipv4_Address_VrrpGroup_InterfaceTracking ¶
type Interface_Subinterface_Ipv4_Address_VrrpGroup_InterfaceTracking struct {
PriorityDecrement *uint8 `path:"state/priority-decrement" module:"openconfig-if-ip/openconfig-if-ip"`
TrackInterface []string `path:"state/track-interface" module:"openconfig-if-ip/openconfig-if-ip"`
}
Interface_Subinterface_Ipv4_Address_VrrpGroup_InterfaceTracking represents the /openconfig-interfaces/interfaces/interface/subinterfaces/subinterface/ipv4/addresses/address/vrrp/vrrp-group/interface-tracking YANG schema element.
func (*Interface_Subinterface_Ipv4_Address_VrrpGroup_InterfaceTracking) GetPriorityDecrement ¶
func (t *Interface_Subinterface_Ipv4_Address_VrrpGroup_InterfaceTracking) GetPriorityDecrement() uint8
GetPriorityDecrement retrieves the value of the leaf PriorityDecrement from the Interface_Subinterface_Ipv4_Address_VrrpGroup_InterfaceTracking struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if PriorityDecrement is set, it can safely use t.GetPriorityDecrement() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.PriorityDecrement == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv4_Address_VrrpGroup_InterfaceTracking) GetTrackInterface ¶
func (t *Interface_Subinterface_Ipv4_Address_VrrpGroup_InterfaceTracking) GetTrackInterface() []string
GetTrackInterface retrieves the value of the leaf TrackInterface from the Interface_Subinterface_Ipv4_Address_VrrpGroup_InterfaceTracking struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TrackInterface is set, it can safely use t.GetTrackInterface() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TrackInterface == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv4_Address_VrrpGroup_InterfaceTracking) IsYANGGoStruct ¶
func (*Interface_Subinterface_Ipv4_Address_VrrpGroup_InterfaceTracking) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_Subinterface_Ipv4_Address_VrrpGroup_InterfaceTracking implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_Subinterface_Ipv4_Address_VrrpGroup_InterfaceTracking) Validate ¶
func (t *Interface_Subinterface_Ipv4_Address_VrrpGroup_InterfaceTracking) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_Subinterface_Ipv4_Address_VrrpGroup_InterfaceTracking) ΛBelongingModule ¶
func (*Interface_Subinterface_Ipv4_Address_VrrpGroup_InterfaceTracking) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_Subinterface_Ipv4_Address_VrrpGroup_InterfaceTracking.
func (*Interface_Subinterface_Ipv4_Address_VrrpGroup_InterfaceTracking) ΛEnumTypeMap ¶
func (t *Interface_Subinterface_Ipv4_Address_VrrpGroup_InterfaceTracking) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Interface_Subinterface_Ipv4_Address_VrrpGroup_InterfaceTracking) ΛValidate ¶
func (t *Interface_Subinterface_Ipv4_Address_VrrpGroup_InterfaceTracking) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface_Subinterface_Ipv4_Counters ¶
type Interface_Subinterface_Ipv4_Counters struct {
InDiscardedPkts *uint64 `path:"in-discarded-pkts" module:"openconfig-if-ip"`
InErrorPkts *uint64 `path:"in-error-pkts" module:"openconfig-if-ip"`
InForwardedOctets *uint64 `path:"in-forwarded-octets" module:"openconfig-if-ip"`
InForwardedPkts *uint64 `path:"in-forwarded-pkts" module:"openconfig-if-ip"`
InMulticastOctets *uint64 `path:"in-multicast-octets" module:"openconfig-if-ip"`
InMulticastPkts *uint64 `path:"in-multicast-pkts" module:"openconfig-if-ip"`
InOctets *uint64 `path:"in-octets" module:"openconfig-if-ip"`
InPkts *uint64 `path:"in-pkts" module:"openconfig-if-ip"`
OutDiscardedPkts *uint64 `path:"out-discarded-pkts" module:"openconfig-if-ip"`
OutErrorPkts *uint64 `path:"out-error-pkts" module:"openconfig-if-ip"`
OutForwardedOctets *uint64 `path:"out-forwarded-octets" module:"openconfig-if-ip"`
OutForwardedPkts *uint64 `path:"out-forwarded-pkts" module:"openconfig-if-ip"`
OutMulticastOctets *uint64 `path:"out-multicast-octets" module:"openconfig-if-ip"`
OutMulticastPkts *uint64 `path:"out-multicast-pkts" module:"openconfig-if-ip"`
OutOctets *uint64 `path:"out-octets" module:"openconfig-if-ip"`
OutPkts *uint64 `path:"out-pkts" module:"openconfig-if-ip"`
}
Interface_Subinterface_Ipv4_Counters represents the /openconfig-interfaces/interfaces/interface/subinterfaces/subinterface/ipv4/state/counters YANG schema element.
func (*Interface_Subinterface_Ipv4_Counters) GetInDiscardedPkts ¶
func (t *Interface_Subinterface_Ipv4_Counters) GetInDiscardedPkts() uint64
GetInDiscardedPkts retrieves the value of the leaf InDiscardedPkts from the Interface_Subinterface_Ipv4_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InDiscardedPkts is set, it can safely use t.GetInDiscardedPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InDiscardedPkts == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv4_Counters) GetInErrorPkts ¶
func (t *Interface_Subinterface_Ipv4_Counters) GetInErrorPkts() uint64
GetInErrorPkts retrieves the value of the leaf InErrorPkts from the Interface_Subinterface_Ipv4_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InErrorPkts is set, it can safely use t.GetInErrorPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InErrorPkts == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv4_Counters) GetInForwardedOctets ¶
func (t *Interface_Subinterface_Ipv4_Counters) GetInForwardedOctets() uint64
GetInForwardedOctets retrieves the value of the leaf InForwardedOctets from the Interface_Subinterface_Ipv4_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InForwardedOctets is set, it can safely use t.GetInForwardedOctets() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InForwardedOctets == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv4_Counters) GetInForwardedPkts ¶
func (t *Interface_Subinterface_Ipv4_Counters) GetInForwardedPkts() uint64
GetInForwardedPkts retrieves the value of the leaf InForwardedPkts from the Interface_Subinterface_Ipv4_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InForwardedPkts is set, it can safely use t.GetInForwardedPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InForwardedPkts == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv4_Counters) GetInMulticastOctets ¶
func (t *Interface_Subinterface_Ipv4_Counters) GetInMulticastOctets() uint64
GetInMulticastOctets retrieves the value of the leaf InMulticastOctets from the Interface_Subinterface_Ipv4_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InMulticastOctets is set, it can safely use t.GetInMulticastOctets() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InMulticastOctets == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv4_Counters) GetInMulticastPkts ¶
func (t *Interface_Subinterface_Ipv4_Counters) GetInMulticastPkts() uint64
GetInMulticastPkts retrieves the value of the leaf InMulticastPkts from the Interface_Subinterface_Ipv4_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InMulticastPkts is set, it can safely use t.GetInMulticastPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InMulticastPkts == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv4_Counters) GetInOctets ¶
func (t *Interface_Subinterface_Ipv4_Counters) GetInOctets() uint64
GetInOctets retrieves the value of the leaf InOctets from the Interface_Subinterface_Ipv4_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InOctets is set, it can safely use t.GetInOctets() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InOctets == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv4_Counters) GetInPkts ¶
func (t *Interface_Subinterface_Ipv4_Counters) GetInPkts() uint64
GetInPkts retrieves the value of the leaf InPkts from the Interface_Subinterface_Ipv4_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InPkts is set, it can safely use t.GetInPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InPkts == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv4_Counters) GetOutDiscardedPkts ¶
func (t *Interface_Subinterface_Ipv4_Counters) GetOutDiscardedPkts() uint64
GetOutDiscardedPkts retrieves the value of the leaf OutDiscardedPkts from the Interface_Subinterface_Ipv4_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutDiscardedPkts is set, it can safely use t.GetOutDiscardedPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutDiscardedPkts == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv4_Counters) GetOutErrorPkts ¶
func (t *Interface_Subinterface_Ipv4_Counters) GetOutErrorPkts() uint64
GetOutErrorPkts retrieves the value of the leaf OutErrorPkts from the Interface_Subinterface_Ipv4_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutErrorPkts is set, it can safely use t.GetOutErrorPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutErrorPkts == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv4_Counters) GetOutForwardedOctets ¶
func (t *Interface_Subinterface_Ipv4_Counters) GetOutForwardedOctets() uint64
GetOutForwardedOctets retrieves the value of the leaf OutForwardedOctets from the Interface_Subinterface_Ipv4_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutForwardedOctets is set, it can safely use t.GetOutForwardedOctets() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutForwardedOctets == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv4_Counters) GetOutForwardedPkts ¶
func (t *Interface_Subinterface_Ipv4_Counters) GetOutForwardedPkts() uint64
GetOutForwardedPkts retrieves the value of the leaf OutForwardedPkts from the Interface_Subinterface_Ipv4_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutForwardedPkts is set, it can safely use t.GetOutForwardedPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutForwardedPkts == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv4_Counters) GetOutMulticastOctets ¶
func (t *Interface_Subinterface_Ipv4_Counters) GetOutMulticastOctets() uint64
GetOutMulticastOctets retrieves the value of the leaf OutMulticastOctets from the Interface_Subinterface_Ipv4_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutMulticastOctets is set, it can safely use t.GetOutMulticastOctets() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutMulticastOctets == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv4_Counters) GetOutMulticastPkts ¶
func (t *Interface_Subinterface_Ipv4_Counters) GetOutMulticastPkts() uint64
GetOutMulticastPkts retrieves the value of the leaf OutMulticastPkts from the Interface_Subinterface_Ipv4_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutMulticastPkts is set, it can safely use t.GetOutMulticastPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutMulticastPkts == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv4_Counters) GetOutOctets ¶
func (t *Interface_Subinterface_Ipv4_Counters) GetOutOctets() uint64
GetOutOctets retrieves the value of the leaf OutOctets from the Interface_Subinterface_Ipv4_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutOctets is set, it can safely use t.GetOutOctets() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutOctets == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv4_Counters) GetOutPkts ¶
func (t *Interface_Subinterface_Ipv4_Counters) GetOutPkts() uint64
GetOutPkts retrieves the value of the leaf OutPkts from the Interface_Subinterface_Ipv4_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutPkts is set, it can safely use t.GetOutPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutPkts == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv4_Counters) IsYANGGoStruct ¶
func (*Interface_Subinterface_Ipv4_Counters) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_Subinterface_Ipv4_Counters implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_Subinterface_Ipv4_Counters) Validate ¶
func (t *Interface_Subinterface_Ipv4_Counters) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_Subinterface_Ipv4_Counters) ΛBelongingModule ¶
func (*Interface_Subinterface_Ipv4_Counters) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_Subinterface_Ipv4_Counters.
func (*Interface_Subinterface_Ipv4_Counters) ΛEnumTypeMap ¶
func (t *Interface_Subinterface_Ipv4_Counters) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Interface_Subinterface_Ipv4_Counters) ΛValidate ¶
func (t *Interface_Subinterface_Ipv4_Counters) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface_Subinterface_Ipv4_Neighbor ¶
type Interface_Subinterface_Ipv4_Neighbor struct {
Ip *string `path:"state/ip|ip" module:"openconfig-if-ip/openconfig-if-ip|openconfig-if-ip"`
LinkLayerAddress *string `path:"state/link-layer-address" module:"openconfig-if-ip/openconfig-if-ip"`
Origin E_IfIp_NeighborOrigin `path:"state/origin" module:"openconfig-if-ip/openconfig-if-ip"`
}
Interface_Subinterface_Ipv4_Neighbor represents the /openconfig-interfaces/interfaces/interface/subinterfaces/subinterface/ipv4/neighbors/neighbor YANG schema element.
func (*Interface_Subinterface_Ipv4_Neighbor) GetIp ¶
func (t *Interface_Subinterface_Ipv4_Neighbor) GetIp() string
GetIp retrieves the value of the leaf Ip from the Interface_Subinterface_Ipv4_Neighbor struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Ip is set, it can safely use t.GetIp() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Ip == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv4_Neighbor) GetLinkLayerAddress ¶
func (t *Interface_Subinterface_Ipv4_Neighbor) GetLinkLayerAddress() string
GetLinkLayerAddress retrieves the value of the leaf LinkLayerAddress from the Interface_Subinterface_Ipv4_Neighbor struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LinkLayerAddress is set, it can safely use t.GetLinkLayerAddress() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LinkLayerAddress == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv4_Neighbor) GetOrigin ¶
func (t *Interface_Subinterface_Ipv4_Neighbor) GetOrigin() E_IfIp_NeighborOrigin
GetOrigin retrieves the value of the leaf Origin from the Interface_Subinterface_Ipv4_Neighbor struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Origin is set, it can safely use t.GetOrigin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Origin == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv4_Neighbor) IsYANGGoStruct ¶
func (*Interface_Subinterface_Ipv4_Neighbor) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_Subinterface_Ipv4_Neighbor implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_Subinterface_Ipv4_Neighbor) Validate ¶
func (t *Interface_Subinterface_Ipv4_Neighbor) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_Subinterface_Ipv4_Neighbor) ΛBelongingModule ¶
func (*Interface_Subinterface_Ipv4_Neighbor) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_Subinterface_Ipv4_Neighbor.
func (*Interface_Subinterface_Ipv4_Neighbor) ΛEnumTypeMap ¶
func (t *Interface_Subinterface_Ipv4_Neighbor) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Interface_Subinterface_Ipv4_Neighbor) ΛListKeyMap ¶
func (t *Interface_Subinterface_Ipv4_Neighbor) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the Interface_Subinterface_Ipv4_Neighbor struct, which is a YANG list entry.
func (*Interface_Subinterface_Ipv4_Neighbor) ΛValidate ¶
func (t *Interface_Subinterface_Ipv4_Neighbor) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface_Subinterface_Ipv4_ProxyArp ¶
type Interface_Subinterface_Ipv4_ProxyArp struct {
Mode E_ProxyArp_Mode `path:"state/mode" module:"openconfig-if-ip/openconfig-if-ip"`
}
Interface_Subinterface_Ipv4_ProxyArp represents the /openconfig-interfaces/interfaces/interface/subinterfaces/subinterface/ipv4/proxy-arp YANG schema element.
func (*Interface_Subinterface_Ipv4_ProxyArp) GetMode ¶
func (t *Interface_Subinterface_Ipv4_ProxyArp) GetMode() E_ProxyArp_Mode
GetMode retrieves the value of the leaf Mode from the Interface_Subinterface_Ipv4_ProxyArp struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Mode is set, it can safely use t.GetMode() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Mode == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv4_ProxyArp) IsYANGGoStruct ¶
func (*Interface_Subinterface_Ipv4_ProxyArp) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_Subinterface_Ipv4_ProxyArp implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_Subinterface_Ipv4_ProxyArp) Validate ¶
func (t *Interface_Subinterface_Ipv4_ProxyArp) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_Subinterface_Ipv4_ProxyArp) ΛBelongingModule ¶
func (*Interface_Subinterface_Ipv4_ProxyArp) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_Subinterface_Ipv4_ProxyArp.
func (*Interface_Subinterface_Ipv4_ProxyArp) ΛEnumTypeMap ¶
func (t *Interface_Subinterface_Ipv4_ProxyArp) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Interface_Subinterface_Ipv4_ProxyArp) ΛValidate ¶
func (t *Interface_Subinterface_Ipv4_ProxyArp) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface_Subinterface_Ipv4_Unnumbered ¶
type Interface_Subinterface_Ipv4_Unnumbered struct {
Enabled *bool `path:"state/enabled" module:"openconfig-if-ip/openconfig-if-ip"`
InterfaceRef *Interface_Subinterface_Ipv4_Unnumbered_InterfaceRef `path:"interface-ref" module:"openconfig-if-ip"`
}
Interface_Subinterface_Ipv4_Unnumbered represents the /openconfig-interfaces/interfaces/interface/subinterfaces/subinterface/ipv4/unnumbered YANG schema element.
func (*Interface_Subinterface_Ipv4_Unnumbered) GetEnabled ¶
func (t *Interface_Subinterface_Ipv4_Unnumbered) GetEnabled() bool
GetEnabled retrieves the value of the leaf Enabled from the Interface_Subinterface_Ipv4_Unnumbered struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Enabled is set, it can safely use t.GetEnabled() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Enabled == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv4_Unnumbered) GetInterfaceRef ¶
func (t *Interface_Subinterface_Ipv4_Unnumbered) GetInterfaceRef() *Interface_Subinterface_Ipv4_Unnumbered_InterfaceRef
GetInterfaceRef returns the value of the InterfaceRef struct pointer from Interface_Subinterface_Ipv4_Unnumbered. If the receiver or the field InterfaceRef is nil, nil is returned such that the Get* methods can be safely chained.
func (*Interface_Subinterface_Ipv4_Unnumbered) GetOrCreateInterfaceRef ¶
func (t *Interface_Subinterface_Ipv4_Unnumbered) GetOrCreateInterfaceRef() *Interface_Subinterface_Ipv4_Unnumbered_InterfaceRef
GetOrCreateInterfaceRef retrieves the value of the InterfaceRef field or returns the existing field if it already exists.
func (*Interface_Subinterface_Ipv4_Unnumbered) IsYANGGoStruct ¶
func (*Interface_Subinterface_Ipv4_Unnumbered) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_Subinterface_Ipv4_Unnumbered implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_Subinterface_Ipv4_Unnumbered) Validate ¶
func (t *Interface_Subinterface_Ipv4_Unnumbered) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_Subinterface_Ipv4_Unnumbered) ΛBelongingModule ¶
func (*Interface_Subinterface_Ipv4_Unnumbered) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_Subinterface_Ipv4_Unnumbered.
func (*Interface_Subinterface_Ipv4_Unnumbered) ΛEnumTypeMap ¶
func (t *Interface_Subinterface_Ipv4_Unnumbered) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Interface_Subinterface_Ipv4_Unnumbered) ΛValidate ¶
func (t *Interface_Subinterface_Ipv4_Unnumbered) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface_Subinterface_Ipv4_Unnumbered_InterfaceRef ¶
type Interface_Subinterface_Ipv4_Unnumbered_InterfaceRef struct {
Interface *string `path:"state/interface" module:"openconfig-if-ip/openconfig-if-ip"`
Subinterface *uint32 `path:"state/subinterface" module:"openconfig-if-ip/openconfig-if-ip"`
}
Interface_Subinterface_Ipv4_Unnumbered_InterfaceRef represents the /openconfig-interfaces/interfaces/interface/subinterfaces/subinterface/ipv4/unnumbered/interface-ref YANG schema element.
func (*Interface_Subinterface_Ipv4_Unnumbered_InterfaceRef) GetInterface ¶
func (t *Interface_Subinterface_Ipv4_Unnumbered_InterfaceRef) GetInterface() string
GetInterface retrieves the value of the leaf Interface from the Interface_Subinterface_Ipv4_Unnumbered_InterfaceRef struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interface is set, it can safely use t.GetInterface() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interface == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv4_Unnumbered_InterfaceRef) GetSubinterface ¶
func (t *Interface_Subinterface_Ipv4_Unnumbered_InterfaceRef) GetSubinterface() uint32
GetSubinterface retrieves the value of the leaf Subinterface from the Interface_Subinterface_Ipv4_Unnumbered_InterfaceRef struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Subinterface is set, it can safely use t.GetSubinterface() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Subinterface == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv4_Unnumbered_InterfaceRef) IsYANGGoStruct ¶
func (*Interface_Subinterface_Ipv4_Unnumbered_InterfaceRef) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_Subinterface_Ipv4_Unnumbered_InterfaceRef implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_Subinterface_Ipv4_Unnumbered_InterfaceRef) Validate ¶
func (t *Interface_Subinterface_Ipv4_Unnumbered_InterfaceRef) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_Subinterface_Ipv4_Unnumbered_InterfaceRef) ΛBelongingModule ¶
func (*Interface_Subinterface_Ipv4_Unnumbered_InterfaceRef) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_Subinterface_Ipv4_Unnumbered_InterfaceRef.
func (*Interface_Subinterface_Ipv4_Unnumbered_InterfaceRef) ΛEnumTypeMap ¶
func (t *Interface_Subinterface_Ipv4_Unnumbered_InterfaceRef) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Interface_Subinterface_Ipv4_Unnumbered_InterfaceRef) ΛValidate ¶
func (t *Interface_Subinterface_Ipv4_Unnumbered_InterfaceRef) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface_Subinterface_Ipv6 ¶
type Interface_Subinterface_Ipv6 struct {
Address map[string]*Interface_Subinterface_Ipv6_Address `path:"addresses/address" module:"openconfig-if-ip/openconfig-if-ip"`
Counters *Interface_Subinterface_Ipv6_Counters `path:"state/counters" module:"openconfig-if-ip/openconfig-if-ip"`
DhcpClient *bool `path:"state/dhcp-client" module:"openconfig-if-ip/openconfig-if-ip"`
DupAddrDetectTransmits *uint32 `path:"state/dup-addr-detect-transmits" module:"openconfig-if-ip/openconfig-if-ip"`
Enabled *bool `path:"state/enabled" module:"openconfig-if-ip/openconfig-if-ip"`
LearnUnsolicited E_Ipv6_LearnUnsolicited `path:"state/learn-unsolicited" module:"openconfig-if-ip/openconfig-if-ip"`
Mtu *uint32 `path:"state/mtu" module:"openconfig-if-ip/openconfig-if-ip"`
Neighbor map[string]*Interface_Subinterface_Ipv6_Neighbor `path:"neighbors/neighbor" module:"openconfig-if-ip/openconfig-if-ip"`
RouterAdvertisement *Interface_Subinterface_Ipv6_RouterAdvertisement `path:"router-advertisement" module:"openconfig-if-ip"`
Unnumbered *Interface_Subinterface_Ipv6_Unnumbered `path:"unnumbered" module:"openconfig-if-ip"`
}
Interface_Subinterface_Ipv6 represents the /openconfig-interfaces/interfaces/interface/subinterfaces/subinterface/ipv6 YANG schema element.
func (*Interface_Subinterface_Ipv6) AppendAddress ¶
func (t *Interface_Subinterface_Ipv6) AppendAddress(v *Interface_Subinterface_Ipv6_Address) error
AppendAddress appends the supplied Interface_Subinterface_Ipv6_Address struct to the list Address of Interface_Subinterface_Ipv6. If the key value(s) specified in the supplied Interface_Subinterface_Ipv6_Address already exist in the list, an error is returned.
func (*Interface_Subinterface_Ipv6) AppendNeighbor ¶
func (t *Interface_Subinterface_Ipv6) AppendNeighbor(v *Interface_Subinterface_Ipv6_Neighbor) error
AppendNeighbor appends the supplied Interface_Subinterface_Ipv6_Neighbor struct to the list Neighbor of Interface_Subinterface_Ipv6. If the key value(s) specified in the supplied Interface_Subinterface_Ipv6_Neighbor already exist in the list, an error is returned.
func (*Interface_Subinterface_Ipv6) DeleteAddress ¶
func (t *Interface_Subinterface_Ipv6) DeleteAddress(Ip string)
DeleteAddress deletes the value with the specified keys from the receiver Interface_Subinterface_Ipv6. If there is no such element, the function is a no-op.
func (*Interface_Subinterface_Ipv6) DeleteNeighbor ¶
func (t *Interface_Subinterface_Ipv6) DeleteNeighbor(Ip string)
DeleteNeighbor deletes the value with the specified keys from the receiver Interface_Subinterface_Ipv6. If there is no such element, the function is a no-op.
func (*Interface_Subinterface_Ipv6) GetAddress ¶
func (t *Interface_Subinterface_Ipv6) GetAddress(Ip string) *Interface_Subinterface_Ipv6_Address
GetAddress retrieves the value with the specified key from the Address map field of Interface_Subinterface_Ipv6. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.
func (*Interface_Subinterface_Ipv6) GetCounters ¶
func (t *Interface_Subinterface_Ipv6) GetCounters() *Interface_Subinterface_Ipv6_Counters
GetCounters returns the value of the Counters struct pointer from Interface_Subinterface_Ipv6. If the receiver or the field Counters is nil, nil is returned such that the Get* methods can be safely chained.
func (*Interface_Subinterface_Ipv6) GetDhcpClient ¶
func (t *Interface_Subinterface_Ipv6) GetDhcpClient() bool
GetDhcpClient retrieves the value of the leaf DhcpClient from the Interface_Subinterface_Ipv6 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if DhcpClient is set, it can safely use t.GetDhcpClient() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.DhcpClient == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv6) GetDupAddrDetectTransmits ¶
func (t *Interface_Subinterface_Ipv6) GetDupAddrDetectTransmits() uint32
GetDupAddrDetectTransmits retrieves the value of the leaf DupAddrDetectTransmits from the Interface_Subinterface_Ipv6 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if DupAddrDetectTransmits is set, it can safely use t.GetDupAddrDetectTransmits() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.DupAddrDetectTransmits == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv6) GetEnabled ¶
func (t *Interface_Subinterface_Ipv6) GetEnabled() bool
GetEnabled retrieves the value of the leaf Enabled from the Interface_Subinterface_Ipv6 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Enabled is set, it can safely use t.GetEnabled() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Enabled == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv6) GetLearnUnsolicited ¶
func (t *Interface_Subinterface_Ipv6) GetLearnUnsolicited() E_Ipv6_LearnUnsolicited
GetLearnUnsolicited retrieves the value of the leaf LearnUnsolicited from the Interface_Subinterface_Ipv6 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LearnUnsolicited is set, it can safely use t.GetLearnUnsolicited() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LearnUnsolicited == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv6) GetMtu ¶
func (t *Interface_Subinterface_Ipv6) GetMtu() uint32
GetMtu retrieves the value of the leaf Mtu from the Interface_Subinterface_Ipv6 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Mtu is set, it can safely use t.GetMtu() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Mtu == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv6) GetNeighbor ¶
func (t *Interface_Subinterface_Ipv6) GetNeighbor(Ip string) *Interface_Subinterface_Ipv6_Neighbor
GetNeighbor retrieves the value with the specified key from the Neighbor map field of Interface_Subinterface_Ipv6. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.
func (*Interface_Subinterface_Ipv6) GetOrCreateAddress ¶
func (t *Interface_Subinterface_Ipv6) GetOrCreateAddress(Ip string) *Interface_Subinterface_Ipv6_Address
GetOrCreateAddress retrieves the value with the specified keys from the receiver Interface_Subinterface_Ipv6. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*Interface_Subinterface_Ipv6) GetOrCreateAddressMap ¶
func (t *Interface_Subinterface_Ipv6) GetOrCreateAddressMap() map[string]*Interface_Subinterface_Ipv6_Address
GetOrCreateAddressMap returns the list (map) from Interface_Subinterface_Ipv6.
It initializes the field if not already initialized.
func (*Interface_Subinterface_Ipv6) GetOrCreateCounters ¶
func (t *Interface_Subinterface_Ipv6) GetOrCreateCounters() *Interface_Subinterface_Ipv6_Counters
GetOrCreateCounters retrieves the value of the Counters field or returns the existing field if it already exists.
func (*Interface_Subinterface_Ipv6) GetOrCreateNeighbor ¶
func (t *Interface_Subinterface_Ipv6) GetOrCreateNeighbor(Ip string) *Interface_Subinterface_Ipv6_Neighbor
GetOrCreateNeighbor retrieves the value with the specified keys from the receiver Interface_Subinterface_Ipv6. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*Interface_Subinterface_Ipv6) GetOrCreateNeighborMap ¶
func (t *Interface_Subinterface_Ipv6) GetOrCreateNeighborMap() map[string]*Interface_Subinterface_Ipv6_Neighbor
GetOrCreateNeighborMap returns the list (map) from Interface_Subinterface_Ipv6.
It initializes the field if not already initialized.
func (*Interface_Subinterface_Ipv6) GetOrCreateRouterAdvertisement ¶
func (t *Interface_Subinterface_Ipv6) GetOrCreateRouterAdvertisement() *Interface_Subinterface_Ipv6_RouterAdvertisement
GetOrCreateRouterAdvertisement retrieves the value of the RouterAdvertisement field or returns the existing field if it already exists.
func (*Interface_Subinterface_Ipv6) GetOrCreateUnnumbered ¶
func (t *Interface_Subinterface_Ipv6) GetOrCreateUnnumbered() *Interface_Subinterface_Ipv6_Unnumbered
GetOrCreateUnnumbered retrieves the value of the Unnumbered field or returns the existing field if it already exists.
func (*Interface_Subinterface_Ipv6) GetRouterAdvertisement ¶
func (t *Interface_Subinterface_Ipv6) GetRouterAdvertisement() *Interface_Subinterface_Ipv6_RouterAdvertisement
GetRouterAdvertisement returns the value of the RouterAdvertisement struct pointer from Interface_Subinterface_Ipv6. If the receiver or the field RouterAdvertisement is nil, nil is returned such that the Get* methods can be safely chained.
func (*Interface_Subinterface_Ipv6) GetUnnumbered ¶
func (t *Interface_Subinterface_Ipv6) GetUnnumbered() *Interface_Subinterface_Ipv6_Unnumbered
GetUnnumbered returns the value of the Unnumbered struct pointer from Interface_Subinterface_Ipv6. If the receiver or the field Unnumbered is nil, nil is returned such that the Get* methods can be safely chained.
func (*Interface_Subinterface_Ipv6) IsYANGGoStruct ¶
func (*Interface_Subinterface_Ipv6) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_Subinterface_Ipv6 implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_Subinterface_Ipv6) NewAddress ¶
func (t *Interface_Subinterface_Ipv6) NewAddress(Ip string) (*Interface_Subinterface_Ipv6_Address, error)
NewAddress creates a new entry in the Address list of the Interface_Subinterface_Ipv6 struct. The keys of the list are populated from the input arguments.
func (*Interface_Subinterface_Ipv6) NewNeighbor ¶
func (t *Interface_Subinterface_Ipv6) NewNeighbor(Ip string) (*Interface_Subinterface_Ipv6_Neighbor, error)
NewNeighbor creates a new entry in the Neighbor list of the Interface_Subinterface_Ipv6 struct. The keys of the list are populated from the input arguments.
func (*Interface_Subinterface_Ipv6) Validate ¶
func (t *Interface_Subinterface_Ipv6) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_Subinterface_Ipv6) ΛBelongingModule ¶
func (*Interface_Subinterface_Ipv6) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_Subinterface_Ipv6.
func (*Interface_Subinterface_Ipv6) ΛEnumTypeMap ¶
func (t *Interface_Subinterface_Ipv6) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Interface_Subinterface_Ipv6) ΛValidate ¶
func (t *Interface_Subinterface_Ipv6) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface_Subinterface_Ipv6_Address ¶
type Interface_Subinterface_Ipv6_Address struct {
Ip *string `path:"state/ip|ip" module:"openconfig-if-ip/openconfig-if-ip|openconfig-if-ip"`
Origin E_IfIp_IpAddressOrigin `path:"state/origin" module:"openconfig-if-ip/openconfig-if-ip"`
PrefixLength *uint8 `path:"state/prefix-length" module:"openconfig-if-ip/openconfig-if-ip"`
Status E_Address_Status `path:"state/status" module:"openconfig-if-ip/openconfig-if-ip"`
Type E_InetTypes_Ipv6AddressType `path:"state/type" module:"openconfig-if-ip/openconfig-if-ip"`
VrrpGroup map[uint8]*Interface_Subinterface_Ipv6_Address_VrrpGroup `path:"vrrp/vrrp-group" module:"openconfig-if-ip/openconfig-if-ip"`
}
Interface_Subinterface_Ipv6_Address represents the /openconfig-interfaces/interfaces/interface/subinterfaces/subinterface/ipv6/addresses/address YANG schema element.
func (*Interface_Subinterface_Ipv6_Address) AppendVrrpGroup ¶
func (t *Interface_Subinterface_Ipv6_Address) AppendVrrpGroup(v *Interface_Subinterface_Ipv6_Address_VrrpGroup) error
AppendVrrpGroup appends the supplied Interface_Subinterface_Ipv6_Address_VrrpGroup struct to the list VrrpGroup of Interface_Subinterface_Ipv6_Address. If the key value(s) specified in the supplied Interface_Subinterface_Ipv6_Address_VrrpGroup already exist in the list, an error is returned.
func (*Interface_Subinterface_Ipv6_Address) DeleteVrrpGroup ¶
func (t *Interface_Subinterface_Ipv6_Address) DeleteVrrpGroup(VirtualRouterId uint8)
DeleteVrrpGroup deletes the value with the specified keys from the receiver Interface_Subinterface_Ipv6_Address. If there is no such element, the function is a no-op.
func (*Interface_Subinterface_Ipv6_Address) GetIp ¶
func (t *Interface_Subinterface_Ipv6_Address) GetIp() string
GetIp retrieves the value of the leaf Ip from the Interface_Subinterface_Ipv6_Address struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Ip is set, it can safely use t.GetIp() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Ip == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv6_Address) GetOrCreateVrrpGroup ¶
func (t *Interface_Subinterface_Ipv6_Address) GetOrCreateVrrpGroup(VirtualRouterId uint8) *Interface_Subinterface_Ipv6_Address_VrrpGroup
GetOrCreateVrrpGroup retrieves the value with the specified keys from the receiver Interface_Subinterface_Ipv6_Address. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*Interface_Subinterface_Ipv6_Address) GetOrCreateVrrpGroupMap ¶
func (t *Interface_Subinterface_Ipv6_Address) GetOrCreateVrrpGroupMap() map[uint8]*Interface_Subinterface_Ipv6_Address_VrrpGroup
GetOrCreateVrrpGroupMap returns the list (map) from Interface_Subinterface_Ipv6_Address.
It initializes the field if not already initialized.
func (*Interface_Subinterface_Ipv6_Address) GetOrigin ¶
func (t *Interface_Subinterface_Ipv6_Address) GetOrigin() E_IfIp_IpAddressOrigin
GetOrigin retrieves the value of the leaf Origin from the Interface_Subinterface_Ipv6_Address struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Origin is set, it can safely use t.GetOrigin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Origin == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv6_Address) GetPrefixLength ¶
func (t *Interface_Subinterface_Ipv6_Address) GetPrefixLength() uint8
GetPrefixLength retrieves the value of the leaf PrefixLength from the Interface_Subinterface_Ipv6_Address struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if PrefixLength is set, it can safely use t.GetPrefixLength() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.PrefixLength == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv6_Address) GetStatus ¶
func (t *Interface_Subinterface_Ipv6_Address) GetStatus() E_Address_Status
GetStatus retrieves the value of the leaf Status from the Interface_Subinterface_Ipv6_Address struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Status is set, it can safely use t.GetStatus() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Status == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv6_Address) GetType ¶
func (t *Interface_Subinterface_Ipv6_Address) GetType() E_InetTypes_Ipv6AddressType
GetType retrieves the value of the leaf Type from the Interface_Subinterface_Ipv6_Address struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Type is set, it can safely use t.GetType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Type == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv6_Address) GetVrrpGroup ¶
func (t *Interface_Subinterface_Ipv6_Address) GetVrrpGroup(VirtualRouterId uint8) *Interface_Subinterface_Ipv6_Address_VrrpGroup
GetVrrpGroup retrieves the value with the specified key from the VrrpGroup map field of Interface_Subinterface_Ipv6_Address. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.
func (*Interface_Subinterface_Ipv6_Address) IsYANGGoStruct ¶
func (*Interface_Subinterface_Ipv6_Address) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_Subinterface_Ipv6_Address implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_Subinterface_Ipv6_Address) NewVrrpGroup ¶
func (t *Interface_Subinterface_Ipv6_Address) NewVrrpGroup(VirtualRouterId uint8) (*Interface_Subinterface_Ipv6_Address_VrrpGroup, error)
NewVrrpGroup creates a new entry in the VrrpGroup list of the Interface_Subinterface_Ipv6_Address struct. The keys of the list are populated from the input arguments.
func (*Interface_Subinterface_Ipv6_Address) Validate ¶
func (t *Interface_Subinterface_Ipv6_Address) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_Subinterface_Ipv6_Address) ΛBelongingModule ¶
func (*Interface_Subinterface_Ipv6_Address) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_Subinterface_Ipv6_Address.
func (*Interface_Subinterface_Ipv6_Address) ΛEnumTypeMap ¶
func (t *Interface_Subinterface_Ipv6_Address) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Interface_Subinterface_Ipv6_Address) ΛListKeyMap ¶
func (t *Interface_Subinterface_Ipv6_Address) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the Interface_Subinterface_Ipv6_Address struct, which is a YANG list entry.
func (*Interface_Subinterface_Ipv6_Address) ΛValidate ¶
func (t *Interface_Subinterface_Ipv6_Address) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface_Subinterface_Ipv6_Address_VrrpGroup ¶
type Interface_Subinterface_Ipv6_Address_VrrpGroup struct {
AcceptMode *bool `path:"state/accept-mode" module:"openconfig-if-ip/openconfig-if-ip"`
AdvertisementInterval *uint16 `path:"state/advertisement-interval" module:"openconfig-if-ip/openconfig-if-ip"`
CurrentPriority *uint8 `path:"state/current-priority" module:"openconfig-if-ip/openconfig-if-ip"`
InterfaceTracking *Interface_Subinterface_Ipv6_Address_VrrpGroup_InterfaceTracking `path:"interface-tracking" module:"openconfig-if-ip"`
Preempt *bool `path:"state/preempt" module:"openconfig-if-ip/openconfig-if-ip"`
PreemptDelay *uint16 `path:"state/preempt-delay" module:"openconfig-if-ip/openconfig-if-ip"`
Priority *uint8 `path:"state/priority" module:"openconfig-if-ip/openconfig-if-ip"`
VirtualAddress []string `path:"state/virtual-address" module:"openconfig-if-ip/openconfig-if-ip"`
VirtualLinkLocal *string `path:"state/virtual-link-local" module:"openconfig-if-ip/openconfig-if-ip"`
VirtualRouterId *uint8 `path:"state/virtual-router-id|virtual-router-id" module:"openconfig-if-ip/openconfig-if-ip|openconfig-if-ip"`
}
Interface_Subinterface_Ipv6_Address_VrrpGroup represents the /openconfig-interfaces/interfaces/interface/subinterfaces/subinterface/ipv6/addresses/address/vrrp/vrrp-group YANG schema element.
func (*Interface_Subinterface_Ipv6_Address_VrrpGroup) GetAcceptMode ¶
func (t *Interface_Subinterface_Ipv6_Address_VrrpGroup) GetAcceptMode() bool
GetAcceptMode retrieves the value of the leaf AcceptMode from the Interface_Subinterface_Ipv6_Address_VrrpGroup struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AcceptMode is set, it can safely use t.GetAcceptMode() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AcceptMode == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv6_Address_VrrpGroup) GetAdvertisementInterval ¶
func (t *Interface_Subinterface_Ipv6_Address_VrrpGroup) GetAdvertisementInterval() uint16
GetAdvertisementInterval retrieves the value of the leaf AdvertisementInterval from the Interface_Subinterface_Ipv6_Address_VrrpGroup struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AdvertisementInterval is set, it can safely use t.GetAdvertisementInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AdvertisementInterval == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv6_Address_VrrpGroup) GetCurrentPriority ¶
func (t *Interface_Subinterface_Ipv6_Address_VrrpGroup) GetCurrentPriority() uint8
GetCurrentPriority retrieves the value of the leaf CurrentPriority from the Interface_Subinterface_Ipv6_Address_VrrpGroup struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if CurrentPriority is set, it can safely use t.GetCurrentPriority() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.CurrentPriority == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv6_Address_VrrpGroup) GetInterfaceTracking ¶
func (t *Interface_Subinterface_Ipv6_Address_VrrpGroup) GetInterfaceTracking() *Interface_Subinterface_Ipv6_Address_VrrpGroup_InterfaceTracking
GetInterfaceTracking returns the value of the InterfaceTracking struct pointer from Interface_Subinterface_Ipv6_Address_VrrpGroup. If the receiver or the field InterfaceTracking is nil, nil is returned such that the Get* methods can be safely chained.
func (*Interface_Subinterface_Ipv6_Address_VrrpGroup) GetOrCreateInterfaceTracking ¶
func (t *Interface_Subinterface_Ipv6_Address_VrrpGroup) GetOrCreateInterfaceTracking() *Interface_Subinterface_Ipv6_Address_VrrpGroup_InterfaceTracking
GetOrCreateInterfaceTracking retrieves the value of the InterfaceTracking field or returns the existing field if it already exists.
func (*Interface_Subinterface_Ipv6_Address_VrrpGroup) GetPreempt ¶
func (t *Interface_Subinterface_Ipv6_Address_VrrpGroup) GetPreempt() bool
GetPreempt retrieves the value of the leaf Preempt from the Interface_Subinterface_Ipv6_Address_VrrpGroup struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Preempt is set, it can safely use t.GetPreempt() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Preempt == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv6_Address_VrrpGroup) GetPreemptDelay ¶
func (t *Interface_Subinterface_Ipv6_Address_VrrpGroup) GetPreemptDelay() uint16
GetPreemptDelay retrieves the value of the leaf PreemptDelay from the Interface_Subinterface_Ipv6_Address_VrrpGroup struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if PreemptDelay is set, it can safely use t.GetPreemptDelay() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.PreemptDelay == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv6_Address_VrrpGroup) GetPriority ¶
func (t *Interface_Subinterface_Ipv6_Address_VrrpGroup) GetPriority() uint8
GetPriority retrieves the value of the leaf Priority from the Interface_Subinterface_Ipv6_Address_VrrpGroup struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Priority is set, it can safely use t.GetPriority() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Priority == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv6_Address_VrrpGroup) GetVirtualAddress ¶
func (t *Interface_Subinterface_Ipv6_Address_VrrpGroup) GetVirtualAddress() []string
GetVirtualAddress retrieves the value of the leaf VirtualAddress from the Interface_Subinterface_Ipv6_Address_VrrpGroup struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if VirtualAddress is set, it can safely use t.GetVirtualAddress() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.VirtualAddress == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv6_Address_VrrpGroup) GetVirtualLinkLocal ¶
func (t *Interface_Subinterface_Ipv6_Address_VrrpGroup) GetVirtualLinkLocal() string
GetVirtualLinkLocal retrieves the value of the leaf VirtualLinkLocal from the Interface_Subinterface_Ipv6_Address_VrrpGroup struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if VirtualLinkLocal is set, it can safely use t.GetVirtualLinkLocal() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.VirtualLinkLocal == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv6_Address_VrrpGroup) GetVirtualRouterId ¶
func (t *Interface_Subinterface_Ipv6_Address_VrrpGroup) GetVirtualRouterId() uint8
GetVirtualRouterId retrieves the value of the leaf VirtualRouterId from the Interface_Subinterface_Ipv6_Address_VrrpGroup struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if VirtualRouterId is set, it can safely use t.GetVirtualRouterId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.VirtualRouterId == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv6_Address_VrrpGroup) IsYANGGoStruct ¶
func (*Interface_Subinterface_Ipv6_Address_VrrpGroup) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_Subinterface_Ipv6_Address_VrrpGroup implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_Subinterface_Ipv6_Address_VrrpGroup) Validate ¶
func (t *Interface_Subinterface_Ipv6_Address_VrrpGroup) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_Subinterface_Ipv6_Address_VrrpGroup) ΛBelongingModule ¶
func (*Interface_Subinterface_Ipv6_Address_VrrpGroup) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_Subinterface_Ipv6_Address_VrrpGroup.
func (*Interface_Subinterface_Ipv6_Address_VrrpGroup) ΛEnumTypeMap ¶
func (t *Interface_Subinterface_Ipv6_Address_VrrpGroup) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Interface_Subinterface_Ipv6_Address_VrrpGroup) ΛListKeyMap ¶
func (t *Interface_Subinterface_Ipv6_Address_VrrpGroup) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the Interface_Subinterface_Ipv6_Address_VrrpGroup struct, which is a YANG list entry.
func (*Interface_Subinterface_Ipv6_Address_VrrpGroup) ΛValidate ¶
func (t *Interface_Subinterface_Ipv6_Address_VrrpGroup) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface_Subinterface_Ipv6_Address_VrrpGroup_InterfaceTracking ¶
type Interface_Subinterface_Ipv6_Address_VrrpGroup_InterfaceTracking struct {
PriorityDecrement *uint8 `path:"state/priority-decrement" module:"openconfig-if-ip/openconfig-if-ip"`
TrackInterface []string `path:"state/track-interface" module:"openconfig-if-ip/openconfig-if-ip"`
}
Interface_Subinterface_Ipv6_Address_VrrpGroup_InterfaceTracking represents the /openconfig-interfaces/interfaces/interface/subinterfaces/subinterface/ipv6/addresses/address/vrrp/vrrp-group/interface-tracking YANG schema element.
func (*Interface_Subinterface_Ipv6_Address_VrrpGroup_InterfaceTracking) GetPriorityDecrement ¶
func (t *Interface_Subinterface_Ipv6_Address_VrrpGroup_InterfaceTracking) GetPriorityDecrement() uint8
GetPriorityDecrement retrieves the value of the leaf PriorityDecrement from the Interface_Subinterface_Ipv6_Address_VrrpGroup_InterfaceTracking struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if PriorityDecrement is set, it can safely use t.GetPriorityDecrement() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.PriorityDecrement == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv6_Address_VrrpGroup_InterfaceTracking) GetTrackInterface ¶
func (t *Interface_Subinterface_Ipv6_Address_VrrpGroup_InterfaceTracking) GetTrackInterface() []string
GetTrackInterface retrieves the value of the leaf TrackInterface from the Interface_Subinterface_Ipv6_Address_VrrpGroup_InterfaceTracking struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TrackInterface is set, it can safely use t.GetTrackInterface() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TrackInterface == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv6_Address_VrrpGroup_InterfaceTracking) IsYANGGoStruct ¶
func (*Interface_Subinterface_Ipv6_Address_VrrpGroup_InterfaceTracking) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_Subinterface_Ipv6_Address_VrrpGroup_InterfaceTracking implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_Subinterface_Ipv6_Address_VrrpGroup_InterfaceTracking) Validate ¶
func (t *Interface_Subinterface_Ipv6_Address_VrrpGroup_InterfaceTracking) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_Subinterface_Ipv6_Address_VrrpGroup_InterfaceTracking) ΛBelongingModule ¶
func (*Interface_Subinterface_Ipv6_Address_VrrpGroup_InterfaceTracking) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_Subinterface_Ipv6_Address_VrrpGroup_InterfaceTracking.
func (*Interface_Subinterface_Ipv6_Address_VrrpGroup_InterfaceTracking) ΛEnumTypeMap ¶
func (t *Interface_Subinterface_Ipv6_Address_VrrpGroup_InterfaceTracking) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Interface_Subinterface_Ipv6_Address_VrrpGroup_InterfaceTracking) ΛValidate ¶
func (t *Interface_Subinterface_Ipv6_Address_VrrpGroup_InterfaceTracking) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface_Subinterface_Ipv6_Counters ¶
type Interface_Subinterface_Ipv6_Counters struct {
InDiscardedPkts *uint64 `path:"in-discarded-pkts" module:"openconfig-if-ip"`
InErrorPkts *uint64 `path:"in-error-pkts" module:"openconfig-if-ip"`
InForwardedOctets *uint64 `path:"in-forwarded-octets" module:"openconfig-if-ip"`
InForwardedPkts *uint64 `path:"in-forwarded-pkts" module:"openconfig-if-ip"`
InMulticastOctets *uint64 `path:"in-multicast-octets" module:"openconfig-if-ip"`
InMulticastPkts *uint64 `path:"in-multicast-pkts" module:"openconfig-if-ip"`
InOctets *uint64 `path:"in-octets" module:"openconfig-if-ip"`
InPkts *uint64 `path:"in-pkts" module:"openconfig-if-ip"`
OutDiscardedPkts *uint64 `path:"out-discarded-pkts" module:"openconfig-if-ip"`
OutErrorPkts *uint64 `path:"out-error-pkts" module:"openconfig-if-ip"`
OutForwardedOctets *uint64 `path:"out-forwarded-octets" module:"openconfig-if-ip"`
OutForwardedPkts *uint64 `path:"out-forwarded-pkts" module:"openconfig-if-ip"`
OutMulticastOctets *uint64 `path:"out-multicast-octets" module:"openconfig-if-ip"`
OutMulticastPkts *uint64 `path:"out-multicast-pkts" module:"openconfig-if-ip"`
OutOctets *uint64 `path:"out-octets" module:"openconfig-if-ip"`
OutPkts *uint64 `path:"out-pkts" module:"openconfig-if-ip"`
}
Interface_Subinterface_Ipv6_Counters represents the /openconfig-interfaces/interfaces/interface/subinterfaces/subinterface/ipv6/state/counters YANG schema element.
func (*Interface_Subinterface_Ipv6_Counters) GetInDiscardedPkts ¶
func (t *Interface_Subinterface_Ipv6_Counters) GetInDiscardedPkts() uint64
GetInDiscardedPkts retrieves the value of the leaf InDiscardedPkts from the Interface_Subinterface_Ipv6_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InDiscardedPkts is set, it can safely use t.GetInDiscardedPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InDiscardedPkts == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv6_Counters) GetInErrorPkts ¶
func (t *Interface_Subinterface_Ipv6_Counters) GetInErrorPkts() uint64
GetInErrorPkts retrieves the value of the leaf InErrorPkts from the Interface_Subinterface_Ipv6_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InErrorPkts is set, it can safely use t.GetInErrorPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InErrorPkts == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv6_Counters) GetInForwardedOctets ¶
func (t *Interface_Subinterface_Ipv6_Counters) GetInForwardedOctets() uint64
GetInForwardedOctets retrieves the value of the leaf InForwardedOctets from the Interface_Subinterface_Ipv6_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InForwardedOctets is set, it can safely use t.GetInForwardedOctets() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InForwardedOctets == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv6_Counters) GetInForwardedPkts ¶
func (t *Interface_Subinterface_Ipv6_Counters) GetInForwardedPkts() uint64
GetInForwardedPkts retrieves the value of the leaf InForwardedPkts from the Interface_Subinterface_Ipv6_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InForwardedPkts is set, it can safely use t.GetInForwardedPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InForwardedPkts == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv6_Counters) GetInMulticastOctets ¶
func (t *Interface_Subinterface_Ipv6_Counters) GetInMulticastOctets() uint64
GetInMulticastOctets retrieves the value of the leaf InMulticastOctets from the Interface_Subinterface_Ipv6_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InMulticastOctets is set, it can safely use t.GetInMulticastOctets() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InMulticastOctets == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv6_Counters) GetInMulticastPkts ¶
func (t *Interface_Subinterface_Ipv6_Counters) GetInMulticastPkts() uint64
GetInMulticastPkts retrieves the value of the leaf InMulticastPkts from the Interface_Subinterface_Ipv6_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InMulticastPkts is set, it can safely use t.GetInMulticastPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InMulticastPkts == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv6_Counters) GetInOctets ¶
func (t *Interface_Subinterface_Ipv6_Counters) GetInOctets() uint64
GetInOctets retrieves the value of the leaf InOctets from the Interface_Subinterface_Ipv6_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InOctets is set, it can safely use t.GetInOctets() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InOctets == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv6_Counters) GetInPkts ¶
func (t *Interface_Subinterface_Ipv6_Counters) GetInPkts() uint64
GetInPkts retrieves the value of the leaf InPkts from the Interface_Subinterface_Ipv6_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InPkts is set, it can safely use t.GetInPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InPkts == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv6_Counters) GetOutDiscardedPkts ¶
func (t *Interface_Subinterface_Ipv6_Counters) GetOutDiscardedPkts() uint64
GetOutDiscardedPkts retrieves the value of the leaf OutDiscardedPkts from the Interface_Subinterface_Ipv6_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutDiscardedPkts is set, it can safely use t.GetOutDiscardedPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutDiscardedPkts == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv6_Counters) GetOutErrorPkts ¶
func (t *Interface_Subinterface_Ipv6_Counters) GetOutErrorPkts() uint64
GetOutErrorPkts retrieves the value of the leaf OutErrorPkts from the Interface_Subinterface_Ipv6_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutErrorPkts is set, it can safely use t.GetOutErrorPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutErrorPkts == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv6_Counters) GetOutForwardedOctets ¶
func (t *Interface_Subinterface_Ipv6_Counters) GetOutForwardedOctets() uint64
GetOutForwardedOctets retrieves the value of the leaf OutForwardedOctets from the Interface_Subinterface_Ipv6_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutForwardedOctets is set, it can safely use t.GetOutForwardedOctets() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutForwardedOctets == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv6_Counters) GetOutForwardedPkts ¶
func (t *Interface_Subinterface_Ipv6_Counters) GetOutForwardedPkts() uint64
GetOutForwardedPkts retrieves the value of the leaf OutForwardedPkts from the Interface_Subinterface_Ipv6_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutForwardedPkts is set, it can safely use t.GetOutForwardedPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutForwardedPkts == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv6_Counters) GetOutMulticastOctets ¶
func (t *Interface_Subinterface_Ipv6_Counters) GetOutMulticastOctets() uint64
GetOutMulticastOctets retrieves the value of the leaf OutMulticastOctets from the Interface_Subinterface_Ipv6_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutMulticastOctets is set, it can safely use t.GetOutMulticastOctets() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutMulticastOctets == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv6_Counters) GetOutMulticastPkts ¶
func (t *Interface_Subinterface_Ipv6_Counters) GetOutMulticastPkts() uint64
GetOutMulticastPkts retrieves the value of the leaf OutMulticastPkts from the Interface_Subinterface_Ipv6_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutMulticastPkts is set, it can safely use t.GetOutMulticastPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutMulticastPkts == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv6_Counters) GetOutOctets ¶
func (t *Interface_Subinterface_Ipv6_Counters) GetOutOctets() uint64
GetOutOctets retrieves the value of the leaf OutOctets from the Interface_Subinterface_Ipv6_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutOctets is set, it can safely use t.GetOutOctets() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutOctets == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv6_Counters) GetOutPkts ¶
func (t *Interface_Subinterface_Ipv6_Counters) GetOutPkts() uint64
GetOutPkts retrieves the value of the leaf OutPkts from the Interface_Subinterface_Ipv6_Counters struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutPkts is set, it can safely use t.GetOutPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutPkts == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv6_Counters) IsYANGGoStruct ¶
func (*Interface_Subinterface_Ipv6_Counters) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_Subinterface_Ipv6_Counters implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_Subinterface_Ipv6_Counters) Validate ¶
func (t *Interface_Subinterface_Ipv6_Counters) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_Subinterface_Ipv6_Counters) ΛBelongingModule ¶
func (*Interface_Subinterface_Ipv6_Counters) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_Subinterface_Ipv6_Counters.
func (*Interface_Subinterface_Ipv6_Counters) ΛEnumTypeMap ¶
func (t *Interface_Subinterface_Ipv6_Counters) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Interface_Subinterface_Ipv6_Counters) ΛValidate ¶
func (t *Interface_Subinterface_Ipv6_Counters) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface_Subinterface_Ipv6_Neighbor ¶
type Interface_Subinterface_Ipv6_Neighbor struct {
Ip *string `path:"state/ip|ip" module:"openconfig-if-ip/openconfig-if-ip|openconfig-if-ip"`
IsRouter *bool `path:"state/is-router" module:"openconfig-if-ip/openconfig-if-ip"`
LinkLayerAddress *string `path:"state/link-layer-address" module:"openconfig-if-ip/openconfig-if-ip"`
NeighborState E_Neighbor_NeighborState `path:"state/neighbor-state" module:"openconfig-if-ip/openconfig-if-ip"`
Origin E_IfIp_NeighborOrigin `path:"state/origin" module:"openconfig-if-ip/openconfig-if-ip"`
}
Interface_Subinterface_Ipv6_Neighbor represents the /openconfig-interfaces/interfaces/interface/subinterfaces/subinterface/ipv6/neighbors/neighbor YANG schema element.
func (*Interface_Subinterface_Ipv6_Neighbor) GetIp ¶
func (t *Interface_Subinterface_Ipv6_Neighbor) GetIp() string
GetIp retrieves the value of the leaf Ip from the Interface_Subinterface_Ipv6_Neighbor struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Ip is set, it can safely use t.GetIp() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Ip == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv6_Neighbor) GetIsRouter ¶
func (t *Interface_Subinterface_Ipv6_Neighbor) GetIsRouter() bool
GetIsRouter retrieves the value of the leaf IsRouter from the Interface_Subinterface_Ipv6_Neighbor struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if IsRouter is set, it can safely use t.GetIsRouter() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.IsRouter == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv6_Neighbor) GetLinkLayerAddress ¶
func (t *Interface_Subinterface_Ipv6_Neighbor) GetLinkLayerAddress() string
GetLinkLayerAddress retrieves the value of the leaf LinkLayerAddress from the Interface_Subinterface_Ipv6_Neighbor struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LinkLayerAddress is set, it can safely use t.GetLinkLayerAddress() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LinkLayerAddress == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv6_Neighbor) GetNeighborState ¶
func (t *Interface_Subinterface_Ipv6_Neighbor) GetNeighborState() E_Neighbor_NeighborState
GetNeighborState retrieves the value of the leaf NeighborState from the Interface_Subinterface_Ipv6_Neighbor struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if NeighborState is set, it can safely use t.GetNeighborState() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.NeighborState == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv6_Neighbor) GetOrigin ¶
func (t *Interface_Subinterface_Ipv6_Neighbor) GetOrigin() E_IfIp_NeighborOrigin
GetOrigin retrieves the value of the leaf Origin from the Interface_Subinterface_Ipv6_Neighbor struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Origin is set, it can safely use t.GetOrigin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Origin == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv6_Neighbor) IsYANGGoStruct ¶
func (*Interface_Subinterface_Ipv6_Neighbor) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_Subinterface_Ipv6_Neighbor implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_Subinterface_Ipv6_Neighbor) Validate ¶
func (t *Interface_Subinterface_Ipv6_Neighbor) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_Subinterface_Ipv6_Neighbor) ΛBelongingModule ¶
func (*Interface_Subinterface_Ipv6_Neighbor) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_Subinterface_Ipv6_Neighbor.
func (*Interface_Subinterface_Ipv6_Neighbor) ΛEnumTypeMap ¶
func (t *Interface_Subinterface_Ipv6_Neighbor) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Interface_Subinterface_Ipv6_Neighbor) ΛListKeyMap ¶
func (t *Interface_Subinterface_Ipv6_Neighbor) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the Interface_Subinterface_Ipv6_Neighbor struct, which is a YANG list entry.
func (*Interface_Subinterface_Ipv6_Neighbor) ΛValidate ¶
func (t *Interface_Subinterface_Ipv6_Neighbor) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface_Subinterface_Ipv6_RouterAdvertisement ¶
type Interface_Subinterface_Ipv6_RouterAdvertisement struct {
Enable *bool `path:"state/enable" module:"openconfig-if-ip/openconfig-if-ip"`
Interval *uint32 `path:"state/interval" module:"openconfig-if-ip/openconfig-if-ip"`
Lifetime *uint32 `path:"state/lifetime" module:"openconfig-if-ip/openconfig-if-ip"`
Managed *bool `path:"state/managed" module:"openconfig-if-ip/openconfig-if-ip"`
Mode E_RouterAdvertisement_Mode `path:"state/mode" module:"openconfig-if-ip/openconfig-if-ip"`
OtherConfig *bool `path:"state/other-config" module:"openconfig-if-ip/openconfig-if-ip"`
Prefix map[string]*Interface_Subinterface_Ipv6_RouterAdvertisement_Prefix `path:"prefixes/prefix" module:"openconfig-if-ip/openconfig-if-ip"`
Suppress *bool `path:"state/suppress" module:"openconfig-if-ip/openconfig-if-ip"`
}
Interface_Subinterface_Ipv6_RouterAdvertisement represents the /openconfig-interfaces/interfaces/interface/subinterfaces/subinterface/ipv6/router-advertisement YANG schema element.
func (*Interface_Subinterface_Ipv6_RouterAdvertisement) AppendPrefix ¶
func (t *Interface_Subinterface_Ipv6_RouterAdvertisement) AppendPrefix(v *Interface_Subinterface_Ipv6_RouterAdvertisement_Prefix) error
AppendPrefix appends the supplied Interface_Subinterface_Ipv6_RouterAdvertisement_Prefix struct to the list Prefix of Interface_Subinterface_Ipv6_RouterAdvertisement. If the key value(s) specified in the supplied Interface_Subinterface_Ipv6_RouterAdvertisement_Prefix already exist in the list, an error is returned.
func (*Interface_Subinterface_Ipv6_RouterAdvertisement) DeletePrefix ¶
func (t *Interface_Subinterface_Ipv6_RouterAdvertisement) DeletePrefix(Prefix string)
DeletePrefix deletes the value with the specified keys from the receiver Interface_Subinterface_Ipv6_RouterAdvertisement. If there is no such element, the function is a no-op.
func (*Interface_Subinterface_Ipv6_RouterAdvertisement) GetEnable ¶
func (t *Interface_Subinterface_Ipv6_RouterAdvertisement) GetEnable() bool
GetEnable retrieves the value of the leaf Enable from the Interface_Subinterface_Ipv6_RouterAdvertisement struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Enable is set, it can safely use t.GetEnable() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Enable == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv6_RouterAdvertisement) GetInterval ¶
func (t *Interface_Subinterface_Ipv6_RouterAdvertisement) GetInterval() uint32
GetInterval retrieves the value of the leaf Interval from the Interface_Subinterface_Ipv6_RouterAdvertisement struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interval is set, it can safely use t.GetInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interval == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv6_RouterAdvertisement) GetLifetime ¶
func (t *Interface_Subinterface_Ipv6_RouterAdvertisement) GetLifetime() uint32
GetLifetime retrieves the value of the leaf Lifetime from the Interface_Subinterface_Ipv6_RouterAdvertisement struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Lifetime is set, it can safely use t.GetLifetime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Lifetime == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv6_RouterAdvertisement) GetManaged ¶
func (t *Interface_Subinterface_Ipv6_RouterAdvertisement) GetManaged() bool
GetManaged retrieves the value of the leaf Managed from the Interface_Subinterface_Ipv6_RouterAdvertisement struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Managed is set, it can safely use t.GetManaged() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Managed == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv6_RouterAdvertisement) GetMode ¶
func (t *Interface_Subinterface_Ipv6_RouterAdvertisement) GetMode() E_RouterAdvertisement_Mode
GetMode retrieves the value of the leaf Mode from the Interface_Subinterface_Ipv6_RouterAdvertisement struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Mode is set, it can safely use t.GetMode() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Mode == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv6_RouterAdvertisement) GetOrCreatePrefix ¶
func (t *Interface_Subinterface_Ipv6_RouterAdvertisement) GetOrCreatePrefix(Prefix string) *Interface_Subinterface_Ipv6_RouterAdvertisement_Prefix
GetOrCreatePrefix retrieves the value with the specified keys from the receiver Interface_Subinterface_Ipv6_RouterAdvertisement. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*Interface_Subinterface_Ipv6_RouterAdvertisement) GetOrCreatePrefixMap ¶
func (t *Interface_Subinterface_Ipv6_RouterAdvertisement) GetOrCreatePrefixMap() map[string]*Interface_Subinterface_Ipv6_RouterAdvertisement_Prefix
GetOrCreatePrefixMap returns the list (map) from Interface_Subinterface_Ipv6_RouterAdvertisement.
It initializes the field if not already initialized.
func (*Interface_Subinterface_Ipv6_RouterAdvertisement) GetOtherConfig ¶
func (t *Interface_Subinterface_Ipv6_RouterAdvertisement) GetOtherConfig() bool
GetOtherConfig retrieves the value of the leaf OtherConfig from the Interface_Subinterface_Ipv6_RouterAdvertisement struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OtherConfig is set, it can safely use t.GetOtherConfig() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OtherConfig == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv6_RouterAdvertisement) GetPrefix ¶
func (t *Interface_Subinterface_Ipv6_RouterAdvertisement) GetPrefix(Prefix string) *Interface_Subinterface_Ipv6_RouterAdvertisement_Prefix
GetPrefix retrieves the value with the specified key from the Prefix map field of Interface_Subinterface_Ipv6_RouterAdvertisement. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.
func (*Interface_Subinterface_Ipv6_RouterAdvertisement) GetSuppress ¶
func (t *Interface_Subinterface_Ipv6_RouterAdvertisement) GetSuppress() bool
GetSuppress retrieves the value of the leaf Suppress from the Interface_Subinterface_Ipv6_RouterAdvertisement struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Suppress is set, it can safely use t.GetSuppress() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Suppress == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv6_RouterAdvertisement) IsYANGGoStruct ¶
func (*Interface_Subinterface_Ipv6_RouterAdvertisement) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_Subinterface_Ipv6_RouterAdvertisement implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_Subinterface_Ipv6_RouterAdvertisement) NewPrefix ¶
func (t *Interface_Subinterface_Ipv6_RouterAdvertisement) NewPrefix(Prefix string) (*Interface_Subinterface_Ipv6_RouterAdvertisement_Prefix, error)
NewPrefix creates a new entry in the Prefix list of the Interface_Subinterface_Ipv6_RouterAdvertisement struct. The keys of the list are populated from the input arguments.
func (*Interface_Subinterface_Ipv6_RouterAdvertisement) Validate ¶
func (t *Interface_Subinterface_Ipv6_RouterAdvertisement) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_Subinterface_Ipv6_RouterAdvertisement) ΛBelongingModule ¶
func (*Interface_Subinterface_Ipv6_RouterAdvertisement) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_Subinterface_Ipv6_RouterAdvertisement.
func (*Interface_Subinterface_Ipv6_RouterAdvertisement) ΛEnumTypeMap ¶
func (t *Interface_Subinterface_Ipv6_RouterAdvertisement) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Interface_Subinterface_Ipv6_RouterAdvertisement) ΛValidate ¶
func (t *Interface_Subinterface_Ipv6_RouterAdvertisement) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface_Subinterface_Ipv6_RouterAdvertisement_Prefix ¶
type Interface_Subinterface_Ipv6_RouterAdvertisement_Prefix struct {
DisableAdvertisement *bool `path:"state/disable-advertisement" module:"openconfig-if-ip/openconfig-if-ip"`
DisableAutoconfiguration *bool `path:"state/disable-autoconfiguration" module:"openconfig-if-ip/openconfig-if-ip"`
EnableOnlink *bool `path:"state/enable-onlink" module:"openconfig-if-ip/openconfig-if-ip"`
PreferredLifetime *uint32 `path:"state/preferred-lifetime" module:"openconfig-if-ip/openconfig-if-ip"`
Prefix *string `path:"state/prefix|prefix" module:"openconfig-if-ip/openconfig-if-ip|openconfig-if-ip"`
ValidLifetime *uint32 `path:"state/valid-lifetime" module:"openconfig-if-ip/openconfig-if-ip"`
}
Interface_Subinterface_Ipv6_RouterAdvertisement_Prefix represents the /openconfig-interfaces/interfaces/interface/subinterfaces/subinterface/ipv6/router-advertisement/prefixes/prefix YANG schema element.
func (*Interface_Subinterface_Ipv6_RouterAdvertisement_Prefix) GetDisableAdvertisement ¶
func (t *Interface_Subinterface_Ipv6_RouterAdvertisement_Prefix) GetDisableAdvertisement() bool
GetDisableAdvertisement retrieves the value of the leaf DisableAdvertisement from the Interface_Subinterface_Ipv6_RouterAdvertisement_Prefix struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if DisableAdvertisement is set, it can safely use t.GetDisableAdvertisement() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.DisableAdvertisement == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv6_RouterAdvertisement_Prefix) GetDisableAutoconfiguration ¶
func (t *Interface_Subinterface_Ipv6_RouterAdvertisement_Prefix) GetDisableAutoconfiguration() bool
GetDisableAutoconfiguration retrieves the value of the leaf DisableAutoconfiguration from the Interface_Subinterface_Ipv6_RouterAdvertisement_Prefix struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if DisableAutoconfiguration is set, it can safely use t.GetDisableAutoconfiguration() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.DisableAutoconfiguration == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv6_RouterAdvertisement_Prefix) GetEnableOnlink ¶
func (t *Interface_Subinterface_Ipv6_RouterAdvertisement_Prefix) GetEnableOnlink() bool
GetEnableOnlink retrieves the value of the leaf EnableOnlink from the Interface_Subinterface_Ipv6_RouterAdvertisement_Prefix struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if EnableOnlink is set, it can safely use t.GetEnableOnlink() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.EnableOnlink == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv6_RouterAdvertisement_Prefix) GetPreferredLifetime ¶
func (t *Interface_Subinterface_Ipv6_RouterAdvertisement_Prefix) GetPreferredLifetime() uint32
GetPreferredLifetime retrieves the value of the leaf PreferredLifetime from the Interface_Subinterface_Ipv6_RouterAdvertisement_Prefix struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if PreferredLifetime is set, it can safely use t.GetPreferredLifetime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.PreferredLifetime == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv6_RouterAdvertisement_Prefix) GetPrefix ¶
func (t *Interface_Subinterface_Ipv6_RouterAdvertisement_Prefix) GetPrefix() string
GetPrefix retrieves the value of the leaf Prefix from the Interface_Subinterface_Ipv6_RouterAdvertisement_Prefix struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Prefix is set, it can safely use t.GetPrefix() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Prefix == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv6_RouterAdvertisement_Prefix) GetValidLifetime ¶
func (t *Interface_Subinterface_Ipv6_RouterAdvertisement_Prefix) GetValidLifetime() uint32
GetValidLifetime retrieves the value of the leaf ValidLifetime from the Interface_Subinterface_Ipv6_RouterAdvertisement_Prefix struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ValidLifetime is set, it can safely use t.GetValidLifetime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ValidLifetime == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv6_RouterAdvertisement_Prefix) IsYANGGoStruct ¶
func (*Interface_Subinterface_Ipv6_RouterAdvertisement_Prefix) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_Subinterface_Ipv6_RouterAdvertisement_Prefix implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_Subinterface_Ipv6_RouterAdvertisement_Prefix) Validate ¶
func (t *Interface_Subinterface_Ipv6_RouterAdvertisement_Prefix) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_Subinterface_Ipv6_RouterAdvertisement_Prefix) ΛBelongingModule ¶
func (*Interface_Subinterface_Ipv6_RouterAdvertisement_Prefix) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_Subinterface_Ipv6_RouterAdvertisement_Prefix.
func (*Interface_Subinterface_Ipv6_RouterAdvertisement_Prefix) ΛEnumTypeMap ¶
func (t *Interface_Subinterface_Ipv6_RouterAdvertisement_Prefix) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Interface_Subinterface_Ipv6_RouterAdvertisement_Prefix) ΛListKeyMap ¶
func (t *Interface_Subinterface_Ipv6_RouterAdvertisement_Prefix) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the Interface_Subinterface_Ipv6_RouterAdvertisement_Prefix struct, which is a YANG list entry.
func (*Interface_Subinterface_Ipv6_RouterAdvertisement_Prefix) ΛValidate ¶
func (t *Interface_Subinterface_Ipv6_RouterAdvertisement_Prefix) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface_Subinterface_Ipv6_Unnumbered ¶
type Interface_Subinterface_Ipv6_Unnumbered struct {
Enabled *bool `path:"state/enabled" module:"openconfig-if-ip/openconfig-if-ip"`
InterfaceRef *Interface_Subinterface_Ipv6_Unnumbered_InterfaceRef `path:"interface-ref" module:"openconfig-if-ip"`
}
Interface_Subinterface_Ipv6_Unnumbered represents the /openconfig-interfaces/interfaces/interface/subinterfaces/subinterface/ipv6/unnumbered YANG schema element.
func (*Interface_Subinterface_Ipv6_Unnumbered) GetEnabled ¶
func (t *Interface_Subinterface_Ipv6_Unnumbered) GetEnabled() bool
GetEnabled retrieves the value of the leaf Enabled from the Interface_Subinterface_Ipv6_Unnumbered struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Enabled is set, it can safely use t.GetEnabled() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Enabled == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv6_Unnumbered) GetInterfaceRef ¶
func (t *Interface_Subinterface_Ipv6_Unnumbered) GetInterfaceRef() *Interface_Subinterface_Ipv6_Unnumbered_InterfaceRef
GetInterfaceRef returns the value of the InterfaceRef struct pointer from Interface_Subinterface_Ipv6_Unnumbered. If the receiver or the field InterfaceRef is nil, nil is returned such that the Get* methods can be safely chained.
func (*Interface_Subinterface_Ipv6_Unnumbered) GetOrCreateInterfaceRef ¶
func (t *Interface_Subinterface_Ipv6_Unnumbered) GetOrCreateInterfaceRef() *Interface_Subinterface_Ipv6_Unnumbered_InterfaceRef
GetOrCreateInterfaceRef retrieves the value of the InterfaceRef field or returns the existing field if it already exists.
func (*Interface_Subinterface_Ipv6_Unnumbered) IsYANGGoStruct ¶
func (*Interface_Subinterface_Ipv6_Unnumbered) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_Subinterface_Ipv6_Unnumbered implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_Subinterface_Ipv6_Unnumbered) Validate ¶
func (t *Interface_Subinterface_Ipv6_Unnumbered) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_Subinterface_Ipv6_Unnumbered) ΛBelongingModule ¶
func (*Interface_Subinterface_Ipv6_Unnumbered) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_Subinterface_Ipv6_Unnumbered.
func (*Interface_Subinterface_Ipv6_Unnumbered) ΛEnumTypeMap ¶
func (t *Interface_Subinterface_Ipv6_Unnumbered) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Interface_Subinterface_Ipv6_Unnumbered) ΛValidate ¶
func (t *Interface_Subinterface_Ipv6_Unnumbered) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface_Subinterface_Ipv6_Unnumbered_InterfaceRef ¶
type Interface_Subinterface_Ipv6_Unnumbered_InterfaceRef struct {
Interface *string `path:"state/interface" module:"openconfig-if-ip/openconfig-if-ip"`
Subinterface *uint32 `path:"state/subinterface" module:"openconfig-if-ip/openconfig-if-ip"`
}
Interface_Subinterface_Ipv6_Unnumbered_InterfaceRef represents the /openconfig-interfaces/interfaces/interface/subinterfaces/subinterface/ipv6/unnumbered/interface-ref YANG schema element.
func (*Interface_Subinterface_Ipv6_Unnumbered_InterfaceRef) GetInterface ¶
func (t *Interface_Subinterface_Ipv6_Unnumbered_InterfaceRef) GetInterface() string
GetInterface retrieves the value of the leaf Interface from the Interface_Subinterface_Ipv6_Unnumbered_InterfaceRef struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interface is set, it can safely use t.GetInterface() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interface == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv6_Unnumbered_InterfaceRef) GetSubinterface ¶
func (t *Interface_Subinterface_Ipv6_Unnumbered_InterfaceRef) GetSubinterface() uint32
GetSubinterface retrieves the value of the leaf Subinterface from the Interface_Subinterface_Ipv6_Unnumbered_InterfaceRef struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Subinterface is set, it can safely use t.GetSubinterface() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Subinterface == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Ipv6_Unnumbered_InterfaceRef) IsYANGGoStruct ¶
func (*Interface_Subinterface_Ipv6_Unnumbered_InterfaceRef) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_Subinterface_Ipv6_Unnumbered_InterfaceRef implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_Subinterface_Ipv6_Unnumbered_InterfaceRef) Validate ¶
func (t *Interface_Subinterface_Ipv6_Unnumbered_InterfaceRef) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_Subinterface_Ipv6_Unnumbered_InterfaceRef) ΛBelongingModule ¶
func (*Interface_Subinterface_Ipv6_Unnumbered_InterfaceRef) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_Subinterface_Ipv6_Unnumbered_InterfaceRef.
func (*Interface_Subinterface_Ipv6_Unnumbered_InterfaceRef) ΛEnumTypeMap ¶
func (t *Interface_Subinterface_Ipv6_Unnumbered_InterfaceRef) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Interface_Subinterface_Ipv6_Unnumbered_InterfaceRef) ΛValidate ¶
func (t *Interface_Subinterface_Ipv6_Unnumbered_InterfaceRef) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface_Subinterface_Vlan ¶
type Interface_Subinterface_Vlan struct {
EgressMapping *Interface_Subinterface_Vlan_EgressMapping `path:"egress-mapping" module:"openconfig-vlan"`
IngressMapping *Interface_Subinterface_Vlan_IngressMapping `path:"ingress-mapping" module:"openconfig-vlan"`
Match *Interface_Subinterface_Vlan_Match `path:"match" module:"openconfig-vlan"`
VlanId Interface_Subinterface_Vlan_VlanId_Union `path:"state/vlan-id" module:"openconfig-vlan/openconfig-vlan"`
}
Interface_Subinterface_Vlan represents the /openconfig-interfaces/interfaces/interface/subinterfaces/subinterface/vlan YANG schema element.
func (*Interface_Subinterface_Vlan) GetEgressMapping ¶
func (t *Interface_Subinterface_Vlan) GetEgressMapping() *Interface_Subinterface_Vlan_EgressMapping
GetEgressMapping returns the value of the EgressMapping struct pointer from Interface_Subinterface_Vlan. If the receiver or the field EgressMapping is nil, nil is returned such that the Get* methods can be safely chained.
func (*Interface_Subinterface_Vlan) GetIngressMapping ¶
func (t *Interface_Subinterface_Vlan) GetIngressMapping() *Interface_Subinterface_Vlan_IngressMapping
GetIngressMapping returns the value of the IngressMapping struct pointer from Interface_Subinterface_Vlan. If the receiver or the field IngressMapping is nil, nil is returned such that the Get* methods can be safely chained.
func (*Interface_Subinterface_Vlan) GetMatch ¶
func (t *Interface_Subinterface_Vlan) GetMatch() *Interface_Subinterface_Vlan_Match
GetMatch returns the value of the Match struct pointer from Interface_Subinterface_Vlan. If the receiver or the field Match is nil, nil is returned such that the Get* methods can be safely chained.
func (*Interface_Subinterface_Vlan) GetOrCreateEgressMapping ¶
func (t *Interface_Subinterface_Vlan) GetOrCreateEgressMapping() *Interface_Subinterface_Vlan_EgressMapping
GetOrCreateEgressMapping retrieves the value of the EgressMapping field or returns the existing field if it already exists.
func (*Interface_Subinterface_Vlan) GetOrCreateIngressMapping ¶
func (t *Interface_Subinterface_Vlan) GetOrCreateIngressMapping() *Interface_Subinterface_Vlan_IngressMapping
GetOrCreateIngressMapping retrieves the value of the IngressMapping field or returns the existing field if it already exists.
func (*Interface_Subinterface_Vlan) GetOrCreateMatch ¶
func (t *Interface_Subinterface_Vlan) GetOrCreateMatch() *Interface_Subinterface_Vlan_Match
GetOrCreateMatch retrieves the value of the Match field or returns the existing field if it already exists.
func (*Interface_Subinterface_Vlan) GetVlanId ¶
func (t *Interface_Subinterface_Vlan) GetVlanId() Interface_Subinterface_Vlan_VlanId_Union
GetVlanId retrieves the value of the leaf VlanId from the Interface_Subinterface_Vlan struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if VlanId is set, it can safely use t.GetVlanId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.VlanId == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Vlan) IsYANGGoStruct ¶
func (*Interface_Subinterface_Vlan) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_Subinterface_Vlan implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_Subinterface_Vlan) To_Interface_Subinterface_Vlan_VlanId_Union ¶
func (t *Interface_Subinterface_Vlan) To_Interface_Subinterface_Vlan_VlanId_Union(i interface{}) (Interface_Subinterface_Vlan_VlanId_Union, error)
To_Interface_Subinterface_Vlan_VlanId_Union takes an input interface{} and attempts to convert it to a struct which implements the Interface_Subinterface_Vlan_VlanId_Union union. It returns an error if the interface{} supplied cannot be converted to a type within the union.
func (*Interface_Subinterface_Vlan) Validate ¶
func (t *Interface_Subinterface_Vlan) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_Subinterface_Vlan) ΛBelongingModule ¶
func (*Interface_Subinterface_Vlan) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_Subinterface_Vlan.
func (*Interface_Subinterface_Vlan) ΛEnumTypeMap ¶
func (t *Interface_Subinterface_Vlan) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Interface_Subinterface_Vlan) ΛValidate ¶
func (t *Interface_Subinterface_Vlan) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface_Subinterface_Vlan_EgressMapping ¶
type Interface_Subinterface_Vlan_EgressMapping struct {
Tpid E_VlanTypes_TPID_TYPES `path:"state/tpid" module:"openconfig-vlan/openconfig-vlan"`
VlanId *uint16 `path:"state/vlan-id" module:"openconfig-vlan/openconfig-vlan"`
VlanStackAction E_VlanTypes_VlanStackAction `path:"state/vlan-stack-action" module:"openconfig-vlan/openconfig-vlan"`
}
Interface_Subinterface_Vlan_EgressMapping represents the /openconfig-interfaces/interfaces/interface/subinterfaces/subinterface/vlan/egress-mapping YANG schema element.
func (*Interface_Subinterface_Vlan_EgressMapping) GetTpid ¶
func (t *Interface_Subinterface_Vlan_EgressMapping) GetTpid() E_VlanTypes_TPID_TYPES
GetTpid retrieves the value of the leaf Tpid from the Interface_Subinterface_Vlan_EgressMapping struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Tpid is set, it can safely use t.GetTpid() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Tpid == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Vlan_EgressMapping) GetVlanId ¶
func (t *Interface_Subinterface_Vlan_EgressMapping) GetVlanId() uint16
GetVlanId retrieves the value of the leaf VlanId from the Interface_Subinterface_Vlan_EgressMapping struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if VlanId is set, it can safely use t.GetVlanId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.VlanId == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Vlan_EgressMapping) GetVlanStackAction ¶
func (t *Interface_Subinterface_Vlan_EgressMapping) GetVlanStackAction() E_VlanTypes_VlanStackAction
GetVlanStackAction retrieves the value of the leaf VlanStackAction from the Interface_Subinterface_Vlan_EgressMapping struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if VlanStackAction is set, it can safely use t.GetVlanStackAction() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.VlanStackAction == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Vlan_EgressMapping) IsYANGGoStruct ¶
func (*Interface_Subinterface_Vlan_EgressMapping) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_Subinterface_Vlan_EgressMapping implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_Subinterface_Vlan_EgressMapping) Validate ¶
func (t *Interface_Subinterface_Vlan_EgressMapping) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_Subinterface_Vlan_EgressMapping) ΛBelongingModule ¶
func (*Interface_Subinterface_Vlan_EgressMapping) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_Subinterface_Vlan_EgressMapping.
func (*Interface_Subinterface_Vlan_EgressMapping) ΛEnumTypeMap ¶
func (t *Interface_Subinterface_Vlan_EgressMapping) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Interface_Subinterface_Vlan_EgressMapping) ΛValidate ¶
func (t *Interface_Subinterface_Vlan_EgressMapping) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface_Subinterface_Vlan_IngressMapping ¶
type Interface_Subinterface_Vlan_IngressMapping struct {
Tpid E_VlanTypes_TPID_TYPES `path:"state/tpid" module:"openconfig-vlan/openconfig-vlan"`
VlanId *uint16 `path:"state/vlan-id" module:"openconfig-vlan/openconfig-vlan"`
VlanStackAction E_VlanTypes_VlanStackAction `path:"state/vlan-stack-action" module:"openconfig-vlan/openconfig-vlan"`
}
Interface_Subinterface_Vlan_IngressMapping represents the /openconfig-interfaces/interfaces/interface/subinterfaces/subinterface/vlan/ingress-mapping YANG schema element.
func (*Interface_Subinterface_Vlan_IngressMapping) GetTpid ¶
func (t *Interface_Subinterface_Vlan_IngressMapping) GetTpid() E_VlanTypes_TPID_TYPES
GetTpid retrieves the value of the leaf Tpid from the Interface_Subinterface_Vlan_IngressMapping struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Tpid is set, it can safely use t.GetTpid() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Tpid == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Vlan_IngressMapping) GetVlanId ¶
func (t *Interface_Subinterface_Vlan_IngressMapping) GetVlanId() uint16
GetVlanId retrieves the value of the leaf VlanId from the Interface_Subinterface_Vlan_IngressMapping struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if VlanId is set, it can safely use t.GetVlanId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.VlanId == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Vlan_IngressMapping) GetVlanStackAction ¶
func (t *Interface_Subinterface_Vlan_IngressMapping) GetVlanStackAction() E_VlanTypes_VlanStackAction
GetVlanStackAction retrieves the value of the leaf VlanStackAction from the Interface_Subinterface_Vlan_IngressMapping struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if VlanStackAction is set, it can safely use t.GetVlanStackAction() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.VlanStackAction == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Vlan_IngressMapping) IsYANGGoStruct ¶
func (*Interface_Subinterface_Vlan_IngressMapping) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_Subinterface_Vlan_IngressMapping implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_Subinterface_Vlan_IngressMapping) Validate ¶
func (t *Interface_Subinterface_Vlan_IngressMapping) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_Subinterface_Vlan_IngressMapping) ΛBelongingModule ¶
func (*Interface_Subinterface_Vlan_IngressMapping) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_Subinterface_Vlan_IngressMapping.
func (*Interface_Subinterface_Vlan_IngressMapping) ΛEnumTypeMap ¶
func (t *Interface_Subinterface_Vlan_IngressMapping) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Interface_Subinterface_Vlan_IngressMapping) ΛValidate ¶
func (t *Interface_Subinterface_Vlan_IngressMapping) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface_Subinterface_Vlan_Match ¶
type Interface_Subinterface_Vlan_Match struct {
DoubleTagged *Interface_Subinterface_Vlan_Match_DoubleTagged `path:"double-tagged" module:"openconfig-vlan"`
DoubleTaggedInnerList *Interface_Subinterface_Vlan_Match_DoubleTaggedInnerList `path:"double-tagged-inner-list" module:"openconfig-vlan"`
DoubleTaggedInnerOuterRange *Interface_Subinterface_Vlan_Match_DoubleTaggedInnerOuterRange `path:"double-tagged-inner-outer-range" module:"openconfig-vlan"`
DoubleTaggedInnerRange *Interface_Subinterface_Vlan_Match_DoubleTaggedInnerRange `path:"double-tagged-inner-range" module:"openconfig-vlan"`
DoubleTaggedOuterList *Interface_Subinterface_Vlan_Match_DoubleTaggedOuterList `path:"double-tagged-outer-list" module:"openconfig-vlan"`
DoubleTaggedOuterRange *Interface_Subinterface_Vlan_Match_DoubleTaggedOuterRange `path:"double-tagged-outer-range" module:"openconfig-vlan"`
SingleTagged *Interface_Subinterface_Vlan_Match_SingleTagged `path:"single-tagged" module:"openconfig-vlan"`
SingleTaggedList *Interface_Subinterface_Vlan_Match_SingleTaggedList `path:"single-tagged-list" module:"openconfig-vlan"`
SingleTaggedRange *Interface_Subinterface_Vlan_Match_SingleTaggedRange `path:"single-tagged-range" module:"openconfig-vlan"`
}
Interface_Subinterface_Vlan_Match represents the /openconfig-interfaces/interfaces/interface/subinterfaces/subinterface/vlan/match YANG schema element.
func (*Interface_Subinterface_Vlan_Match) GetDoubleTagged ¶
func (t *Interface_Subinterface_Vlan_Match) GetDoubleTagged() *Interface_Subinterface_Vlan_Match_DoubleTagged
GetDoubleTagged returns the value of the DoubleTagged struct pointer from Interface_Subinterface_Vlan_Match. If the receiver or the field DoubleTagged is nil, nil is returned such that the Get* methods can be safely chained.
func (*Interface_Subinterface_Vlan_Match) GetDoubleTaggedInnerList ¶
func (t *Interface_Subinterface_Vlan_Match) GetDoubleTaggedInnerList() *Interface_Subinterface_Vlan_Match_DoubleTaggedInnerList
GetDoubleTaggedInnerList returns the value of the DoubleTaggedInnerList struct pointer from Interface_Subinterface_Vlan_Match. If the receiver or the field DoubleTaggedInnerList is nil, nil is returned such that the Get* methods can be safely chained.
func (*Interface_Subinterface_Vlan_Match) GetDoubleTaggedInnerOuterRange ¶
func (t *Interface_Subinterface_Vlan_Match) GetDoubleTaggedInnerOuterRange() *Interface_Subinterface_Vlan_Match_DoubleTaggedInnerOuterRange
GetDoubleTaggedInnerOuterRange returns the value of the DoubleTaggedInnerOuterRange struct pointer from Interface_Subinterface_Vlan_Match. If the receiver or the field DoubleTaggedInnerOuterRange is nil, nil is returned such that the Get* methods can be safely chained.
func (*Interface_Subinterface_Vlan_Match) GetDoubleTaggedInnerRange ¶
func (t *Interface_Subinterface_Vlan_Match) GetDoubleTaggedInnerRange() *Interface_Subinterface_Vlan_Match_DoubleTaggedInnerRange
GetDoubleTaggedInnerRange returns the value of the DoubleTaggedInnerRange struct pointer from Interface_Subinterface_Vlan_Match. If the receiver or the field DoubleTaggedInnerRange is nil, nil is returned such that the Get* methods can be safely chained.
func (*Interface_Subinterface_Vlan_Match) GetDoubleTaggedOuterList ¶
func (t *Interface_Subinterface_Vlan_Match) GetDoubleTaggedOuterList() *Interface_Subinterface_Vlan_Match_DoubleTaggedOuterList
GetDoubleTaggedOuterList returns the value of the DoubleTaggedOuterList struct pointer from Interface_Subinterface_Vlan_Match. If the receiver or the field DoubleTaggedOuterList is nil, nil is returned such that the Get* methods can be safely chained.
func (*Interface_Subinterface_Vlan_Match) GetDoubleTaggedOuterRange ¶
func (t *Interface_Subinterface_Vlan_Match) GetDoubleTaggedOuterRange() *Interface_Subinterface_Vlan_Match_DoubleTaggedOuterRange
GetDoubleTaggedOuterRange returns the value of the DoubleTaggedOuterRange struct pointer from Interface_Subinterface_Vlan_Match. If the receiver or the field DoubleTaggedOuterRange is nil, nil is returned such that the Get* methods can be safely chained.
func (*Interface_Subinterface_Vlan_Match) GetOrCreateDoubleTagged ¶
func (t *Interface_Subinterface_Vlan_Match) GetOrCreateDoubleTagged() *Interface_Subinterface_Vlan_Match_DoubleTagged
GetOrCreateDoubleTagged retrieves the value of the DoubleTagged field or returns the existing field if it already exists.
func (*Interface_Subinterface_Vlan_Match) GetOrCreateDoubleTaggedInnerList ¶
func (t *Interface_Subinterface_Vlan_Match) GetOrCreateDoubleTaggedInnerList() *Interface_Subinterface_Vlan_Match_DoubleTaggedInnerList
GetOrCreateDoubleTaggedInnerList retrieves the value of the DoubleTaggedInnerList field or returns the existing field if it already exists.
func (*Interface_Subinterface_Vlan_Match) GetOrCreateDoubleTaggedInnerOuterRange ¶
func (t *Interface_Subinterface_Vlan_Match) GetOrCreateDoubleTaggedInnerOuterRange() *Interface_Subinterface_Vlan_Match_DoubleTaggedInnerOuterRange
GetOrCreateDoubleTaggedInnerOuterRange retrieves the value of the DoubleTaggedInnerOuterRange field or returns the existing field if it already exists.
func (*Interface_Subinterface_Vlan_Match) GetOrCreateDoubleTaggedInnerRange ¶
func (t *Interface_Subinterface_Vlan_Match) GetOrCreateDoubleTaggedInnerRange() *Interface_Subinterface_Vlan_Match_DoubleTaggedInnerRange
GetOrCreateDoubleTaggedInnerRange retrieves the value of the DoubleTaggedInnerRange field or returns the existing field if it already exists.
func (*Interface_Subinterface_Vlan_Match) GetOrCreateDoubleTaggedOuterList ¶
func (t *Interface_Subinterface_Vlan_Match) GetOrCreateDoubleTaggedOuterList() *Interface_Subinterface_Vlan_Match_DoubleTaggedOuterList
GetOrCreateDoubleTaggedOuterList retrieves the value of the DoubleTaggedOuterList field or returns the existing field if it already exists.
func (*Interface_Subinterface_Vlan_Match) GetOrCreateDoubleTaggedOuterRange ¶
func (t *Interface_Subinterface_Vlan_Match) GetOrCreateDoubleTaggedOuterRange() *Interface_Subinterface_Vlan_Match_DoubleTaggedOuterRange
GetOrCreateDoubleTaggedOuterRange retrieves the value of the DoubleTaggedOuterRange field or returns the existing field if it already exists.
func (*Interface_Subinterface_Vlan_Match) GetOrCreateSingleTagged ¶
func (t *Interface_Subinterface_Vlan_Match) GetOrCreateSingleTagged() *Interface_Subinterface_Vlan_Match_SingleTagged
GetOrCreateSingleTagged retrieves the value of the SingleTagged field or returns the existing field if it already exists.
func (*Interface_Subinterface_Vlan_Match) GetOrCreateSingleTaggedList ¶
func (t *Interface_Subinterface_Vlan_Match) GetOrCreateSingleTaggedList() *Interface_Subinterface_Vlan_Match_SingleTaggedList
GetOrCreateSingleTaggedList retrieves the value of the SingleTaggedList field or returns the existing field if it already exists.
func (*Interface_Subinterface_Vlan_Match) GetOrCreateSingleTaggedRange ¶
func (t *Interface_Subinterface_Vlan_Match) GetOrCreateSingleTaggedRange() *Interface_Subinterface_Vlan_Match_SingleTaggedRange
GetOrCreateSingleTaggedRange retrieves the value of the SingleTaggedRange field or returns the existing field if it already exists.
func (*Interface_Subinterface_Vlan_Match) GetSingleTagged ¶
func (t *Interface_Subinterface_Vlan_Match) GetSingleTagged() *Interface_Subinterface_Vlan_Match_SingleTagged
GetSingleTagged returns the value of the SingleTagged struct pointer from Interface_Subinterface_Vlan_Match. If the receiver or the field SingleTagged is nil, nil is returned such that the Get* methods can be safely chained.
func (*Interface_Subinterface_Vlan_Match) GetSingleTaggedList ¶
func (t *Interface_Subinterface_Vlan_Match) GetSingleTaggedList() *Interface_Subinterface_Vlan_Match_SingleTaggedList
GetSingleTaggedList returns the value of the SingleTaggedList struct pointer from Interface_Subinterface_Vlan_Match. If the receiver or the field SingleTaggedList is nil, nil is returned such that the Get* methods can be safely chained.
func (*Interface_Subinterface_Vlan_Match) GetSingleTaggedRange ¶
func (t *Interface_Subinterface_Vlan_Match) GetSingleTaggedRange() *Interface_Subinterface_Vlan_Match_SingleTaggedRange
GetSingleTaggedRange returns the value of the SingleTaggedRange struct pointer from Interface_Subinterface_Vlan_Match. If the receiver or the field SingleTaggedRange is nil, nil is returned such that the Get* methods can be safely chained.
func (*Interface_Subinterface_Vlan_Match) IsYANGGoStruct ¶
func (*Interface_Subinterface_Vlan_Match) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_Subinterface_Vlan_Match implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_Subinterface_Vlan_Match) Validate ¶
func (t *Interface_Subinterface_Vlan_Match) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_Subinterface_Vlan_Match) ΛBelongingModule ¶
func (*Interface_Subinterface_Vlan_Match) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_Subinterface_Vlan_Match.
func (*Interface_Subinterface_Vlan_Match) ΛEnumTypeMap ¶
func (t *Interface_Subinterface_Vlan_Match) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Interface_Subinterface_Vlan_Match) ΛValidate ¶
func (t *Interface_Subinterface_Vlan_Match) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface_Subinterface_Vlan_Match_DoubleTagged ¶
type Interface_Subinterface_Vlan_Match_DoubleTagged struct {
InnerVlanId *uint16 `path:"state/inner-vlan-id" module:"openconfig-vlan/openconfig-vlan"`
OuterVlanId *uint16 `path:"state/outer-vlan-id" module:"openconfig-vlan/openconfig-vlan"`
}
Interface_Subinterface_Vlan_Match_DoubleTagged represents the /openconfig-interfaces/interfaces/interface/subinterfaces/subinterface/vlan/match/double-tagged YANG schema element.
func (*Interface_Subinterface_Vlan_Match_DoubleTagged) GetInnerVlanId ¶
func (t *Interface_Subinterface_Vlan_Match_DoubleTagged) GetInnerVlanId() uint16
GetInnerVlanId retrieves the value of the leaf InnerVlanId from the Interface_Subinterface_Vlan_Match_DoubleTagged struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InnerVlanId is set, it can safely use t.GetInnerVlanId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InnerVlanId == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Vlan_Match_DoubleTagged) GetOuterVlanId ¶
func (t *Interface_Subinterface_Vlan_Match_DoubleTagged) GetOuterVlanId() uint16
GetOuterVlanId retrieves the value of the leaf OuterVlanId from the Interface_Subinterface_Vlan_Match_DoubleTagged struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OuterVlanId is set, it can safely use t.GetOuterVlanId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OuterVlanId == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Vlan_Match_DoubleTagged) IsYANGGoStruct ¶
func (*Interface_Subinterface_Vlan_Match_DoubleTagged) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_Subinterface_Vlan_Match_DoubleTagged implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_Subinterface_Vlan_Match_DoubleTagged) Validate ¶
func (t *Interface_Subinterface_Vlan_Match_DoubleTagged) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_Subinterface_Vlan_Match_DoubleTagged) ΛBelongingModule ¶
func (*Interface_Subinterface_Vlan_Match_DoubleTagged) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_Subinterface_Vlan_Match_DoubleTagged.
func (*Interface_Subinterface_Vlan_Match_DoubleTagged) ΛEnumTypeMap ¶
func (t *Interface_Subinterface_Vlan_Match_DoubleTagged) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Interface_Subinterface_Vlan_Match_DoubleTagged) ΛValidate ¶
func (t *Interface_Subinterface_Vlan_Match_DoubleTagged) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface_Subinterface_Vlan_Match_DoubleTaggedInnerList ¶
type Interface_Subinterface_Vlan_Match_DoubleTaggedInnerList struct {
InnerVlanIds []uint16 `path:"state/inner-vlan-ids" module:"openconfig-vlan/openconfig-vlan"`
OuterVlanId *uint16 `path:"state/outer-vlan-id" module:"openconfig-vlan/openconfig-vlan"`
}
Interface_Subinterface_Vlan_Match_DoubleTaggedInnerList represents the /openconfig-interfaces/interfaces/interface/subinterfaces/subinterface/vlan/match/double-tagged-inner-list YANG schema element.
func (*Interface_Subinterface_Vlan_Match_DoubleTaggedInnerList) GetInnerVlanIds ¶
func (t *Interface_Subinterface_Vlan_Match_DoubleTaggedInnerList) GetInnerVlanIds() []uint16
GetInnerVlanIds retrieves the value of the leaf InnerVlanIds from the Interface_Subinterface_Vlan_Match_DoubleTaggedInnerList struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InnerVlanIds is set, it can safely use t.GetInnerVlanIds() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InnerVlanIds == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Vlan_Match_DoubleTaggedInnerList) GetOuterVlanId ¶
func (t *Interface_Subinterface_Vlan_Match_DoubleTaggedInnerList) GetOuterVlanId() uint16
GetOuterVlanId retrieves the value of the leaf OuterVlanId from the Interface_Subinterface_Vlan_Match_DoubleTaggedInnerList struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OuterVlanId is set, it can safely use t.GetOuterVlanId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OuterVlanId == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Vlan_Match_DoubleTaggedInnerList) IsYANGGoStruct ¶
func (*Interface_Subinterface_Vlan_Match_DoubleTaggedInnerList) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_Subinterface_Vlan_Match_DoubleTaggedInnerList implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_Subinterface_Vlan_Match_DoubleTaggedInnerList) Validate ¶
func (t *Interface_Subinterface_Vlan_Match_DoubleTaggedInnerList) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_Subinterface_Vlan_Match_DoubleTaggedInnerList) ΛBelongingModule ¶
func (*Interface_Subinterface_Vlan_Match_DoubleTaggedInnerList) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_Subinterface_Vlan_Match_DoubleTaggedInnerList.
func (*Interface_Subinterface_Vlan_Match_DoubleTaggedInnerList) ΛEnumTypeMap ¶
func (t *Interface_Subinterface_Vlan_Match_DoubleTaggedInnerList) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Interface_Subinterface_Vlan_Match_DoubleTaggedInnerList) ΛValidate ¶
func (t *Interface_Subinterface_Vlan_Match_DoubleTaggedInnerList) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface_Subinterface_Vlan_Match_DoubleTaggedInnerOuterRange ¶
type Interface_Subinterface_Vlan_Match_DoubleTaggedInnerOuterRange struct {
InnerHighVlanId *uint16 `path:"state/inner-high-vlan-id" module:"openconfig-vlan/openconfig-vlan"`
InnerLowVlanId *uint16 `path:"state/inner-low-vlan-id" module:"openconfig-vlan/openconfig-vlan"`
OuterHighVlanId *uint16 `path:"state/outer-high-vlan-id" module:"openconfig-vlan/openconfig-vlan"`
OuterLowVlanId *uint16 `path:"state/outer-low-vlan-id" module:"openconfig-vlan/openconfig-vlan"`
}
Interface_Subinterface_Vlan_Match_DoubleTaggedInnerOuterRange represents the /openconfig-interfaces/interfaces/interface/subinterfaces/subinterface/vlan/match/double-tagged-inner-outer-range YANG schema element.
func (*Interface_Subinterface_Vlan_Match_DoubleTaggedInnerOuterRange) GetInnerHighVlanId ¶
func (t *Interface_Subinterface_Vlan_Match_DoubleTaggedInnerOuterRange) GetInnerHighVlanId() uint16
GetInnerHighVlanId retrieves the value of the leaf InnerHighVlanId from the Interface_Subinterface_Vlan_Match_DoubleTaggedInnerOuterRange struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InnerHighVlanId is set, it can safely use t.GetInnerHighVlanId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InnerHighVlanId == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Vlan_Match_DoubleTaggedInnerOuterRange) GetInnerLowVlanId ¶
func (t *Interface_Subinterface_Vlan_Match_DoubleTaggedInnerOuterRange) GetInnerLowVlanId() uint16
GetInnerLowVlanId retrieves the value of the leaf InnerLowVlanId from the Interface_Subinterface_Vlan_Match_DoubleTaggedInnerOuterRange struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InnerLowVlanId is set, it can safely use t.GetInnerLowVlanId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InnerLowVlanId == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Vlan_Match_DoubleTaggedInnerOuterRange) GetOuterHighVlanId ¶
func (t *Interface_Subinterface_Vlan_Match_DoubleTaggedInnerOuterRange) GetOuterHighVlanId() uint16
GetOuterHighVlanId retrieves the value of the leaf OuterHighVlanId from the Interface_Subinterface_Vlan_Match_DoubleTaggedInnerOuterRange struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OuterHighVlanId is set, it can safely use t.GetOuterHighVlanId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OuterHighVlanId == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Vlan_Match_DoubleTaggedInnerOuterRange) GetOuterLowVlanId ¶
func (t *Interface_Subinterface_Vlan_Match_DoubleTaggedInnerOuterRange) GetOuterLowVlanId() uint16
GetOuterLowVlanId retrieves the value of the leaf OuterLowVlanId from the Interface_Subinterface_Vlan_Match_DoubleTaggedInnerOuterRange struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OuterLowVlanId is set, it can safely use t.GetOuterLowVlanId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OuterLowVlanId == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Vlan_Match_DoubleTaggedInnerOuterRange) IsYANGGoStruct ¶
func (*Interface_Subinterface_Vlan_Match_DoubleTaggedInnerOuterRange) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_Subinterface_Vlan_Match_DoubleTaggedInnerOuterRange implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_Subinterface_Vlan_Match_DoubleTaggedInnerOuterRange) Validate ¶
func (t *Interface_Subinterface_Vlan_Match_DoubleTaggedInnerOuterRange) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_Subinterface_Vlan_Match_DoubleTaggedInnerOuterRange) ΛBelongingModule ¶
func (*Interface_Subinterface_Vlan_Match_DoubleTaggedInnerOuterRange) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_Subinterface_Vlan_Match_DoubleTaggedInnerOuterRange.
func (*Interface_Subinterface_Vlan_Match_DoubleTaggedInnerOuterRange) ΛEnumTypeMap ¶
func (t *Interface_Subinterface_Vlan_Match_DoubleTaggedInnerOuterRange) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Interface_Subinterface_Vlan_Match_DoubleTaggedInnerOuterRange) ΛValidate ¶
func (t *Interface_Subinterface_Vlan_Match_DoubleTaggedInnerOuterRange) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface_Subinterface_Vlan_Match_DoubleTaggedInnerRange ¶
type Interface_Subinterface_Vlan_Match_DoubleTaggedInnerRange struct {
InnerHighVlanId *uint16 `path:"state/inner-high-vlan-id" module:"openconfig-vlan/openconfig-vlan"`
InnerLowVlanId *uint16 `path:"state/inner-low-vlan-id" module:"openconfig-vlan/openconfig-vlan"`
OuterVlanId []uint16 `path:"state/outer-vlan-id" module:"openconfig-vlan/openconfig-vlan"`
}
Interface_Subinterface_Vlan_Match_DoubleTaggedInnerRange represents the /openconfig-interfaces/interfaces/interface/subinterfaces/subinterface/vlan/match/double-tagged-inner-range YANG schema element.
func (*Interface_Subinterface_Vlan_Match_DoubleTaggedInnerRange) GetInnerHighVlanId ¶
func (t *Interface_Subinterface_Vlan_Match_DoubleTaggedInnerRange) GetInnerHighVlanId() uint16
GetInnerHighVlanId retrieves the value of the leaf InnerHighVlanId from the Interface_Subinterface_Vlan_Match_DoubleTaggedInnerRange struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InnerHighVlanId is set, it can safely use t.GetInnerHighVlanId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InnerHighVlanId == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Vlan_Match_DoubleTaggedInnerRange) GetInnerLowVlanId ¶
func (t *Interface_Subinterface_Vlan_Match_DoubleTaggedInnerRange) GetInnerLowVlanId() uint16
GetInnerLowVlanId retrieves the value of the leaf InnerLowVlanId from the Interface_Subinterface_Vlan_Match_DoubleTaggedInnerRange struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InnerLowVlanId is set, it can safely use t.GetInnerLowVlanId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InnerLowVlanId == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Vlan_Match_DoubleTaggedInnerRange) GetOuterVlanId ¶
func (t *Interface_Subinterface_Vlan_Match_DoubleTaggedInnerRange) GetOuterVlanId() []uint16
GetOuterVlanId retrieves the value of the leaf OuterVlanId from the Interface_Subinterface_Vlan_Match_DoubleTaggedInnerRange struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OuterVlanId is set, it can safely use t.GetOuterVlanId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OuterVlanId == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Vlan_Match_DoubleTaggedInnerRange) IsYANGGoStruct ¶
func (*Interface_Subinterface_Vlan_Match_DoubleTaggedInnerRange) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_Subinterface_Vlan_Match_DoubleTaggedInnerRange implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_Subinterface_Vlan_Match_DoubleTaggedInnerRange) Validate ¶
func (t *Interface_Subinterface_Vlan_Match_DoubleTaggedInnerRange) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_Subinterface_Vlan_Match_DoubleTaggedInnerRange) ΛBelongingModule ¶
func (*Interface_Subinterface_Vlan_Match_DoubleTaggedInnerRange) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_Subinterface_Vlan_Match_DoubleTaggedInnerRange.
func (*Interface_Subinterface_Vlan_Match_DoubleTaggedInnerRange) ΛEnumTypeMap ¶
func (t *Interface_Subinterface_Vlan_Match_DoubleTaggedInnerRange) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Interface_Subinterface_Vlan_Match_DoubleTaggedInnerRange) ΛValidate ¶
func (t *Interface_Subinterface_Vlan_Match_DoubleTaggedInnerRange) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface_Subinterface_Vlan_Match_DoubleTaggedOuterList ¶
type Interface_Subinterface_Vlan_Match_DoubleTaggedOuterList struct {
InnerVlanId *uint16 `path:"state/inner-vlan-id" module:"openconfig-vlan/openconfig-vlan"`
OuterVlanIds []uint16 `path:"state/outer-vlan-ids" module:"openconfig-vlan/openconfig-vlan"`
}
Interface_Subinterface_Vlan_Match_DoubleTaggedOuterList represents the /openconfig-interfaces/interfaces/interface/subinterfaces/subinterface/vlan/match/double-tagged-outer-list YANG schema element.
func (*Interface_Subinterface_Vlan_Match_DoubleTaggedOuterList) GetInnerVlanId ¶
func (t *Interface_Subinterface_Vlan_Match_DoubleTaggedOuterList) GetInnerVlanId() uint16
GetInnerVlanId retrieves the value of the leaf InnerVlanId from the Interface_Subinterface_Vlan_Match_DoubleTaggedOuterList struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InnerVlanId is set, it can safely use t.GetInnerVlanId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InnerVlanId == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Vlan_Match_DoubleTaggedOuterList) GetOuterVlanIds ¶
func (t *Interface_Subinterface_Vlan_Match_DoubleTaggedOuterList) GetOuterVlanIds() []uint16
GetOuterVlanIds retrieves the value of the leaf OuterVlanIds from the Interface_Subinterface_Vlan_Match_DoubleTaggedOuterList struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OuterVlanIds is set, it can safely use t.GetOuterVlanIds() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OuterVlanIds == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Vlan_Match_DoubleTaggedOuterList) IsYANGGoStruct ¶
func (*Interface_Subinterface_Vlan_Match_DoubleTaggedOuterList) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_Subinterface_Vlan_Match_DoubleTaggedOuterList implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_Subinterface_Vlan_Match_DoubleTaggedOuterList) Validate ¶
func (t *Interface_Subinterface_Vlan_Match_DoubleTaggedOuterList) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_Subinterface_Vlan_Match_DoubleTaggedOuterList) ΛBelongingModule ¶
func (*Interface_Subinterface_Vlan_Match_DoubleTaggedOuterList) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_Subinterface_Vlan_Match_DoubleTaggedOuterList.
func (*Interface_Subinterface_Vlan_Match_DoubleTaggedOuterList) ΛEnumTypeMap ¶
func (t *Interface_Subinterface_Vlan_Match_DoubleTaggedOuterList) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Interface_Subinterface_Vlan_Match_DoubleTaggedOuterList) ΛValidate ¶
func (t *Interface_Subinterface_Vlan_Match_DoubleTaggedOuterList) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface_Subinterface_Vlan_Match_DoubleTaggedOuterRange ¶
type Interface_Subinterface_Vlan_Match_DoubleTaggedOuterRange struct {
InnerVlanId *uint16 `path:"state/inner-vlan-id" module:"openconfig-vlan/openconfig-vlan"`
OuterHighVlanId *uint16 `path:"state/outer-high-vlan-id" module:"openconfig-vlan/openconfig-vlan"`
OuterLowVlanId *uint16 `path:"state/outer-low-vlan-id" module:"openconfig-vlan/openconfig-vlan"`
}
Interface_Subinterface_Vlan_Match_DoubleTaggedOuterRange represents the /openconfig-interfaces/interfaces/interface/subinterfaces/subinterface/vlan/match/double-tagged-outer-range YANG schema element.
func (*Interface_Subinterface_Vlan_Match_DoubleTaggedOuterRange) GetInnerVlanId ¶
func (t *Interface_Subinterface_Vlan_Match_DoubleTaggedOuterRange) GetInnerVlanId() uint16
GetInnerVlanId retrieves the value of the leaf InnerVlanId from the Interface_Subinterface_Vlan_Match_DoubleTaggedOuterRange struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InnerVlanId is set, it can safely use t.GetInnerVlanId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InnerVlanId == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Vlan_Match_DoubleTaggedOuterRange) GetOuterHighVlanId ¶
func (t *Interface_Subinterface_Vlan_Match_DoubleTaggedOuterRange) GetOuterHighVlanId() uint16
GetOuterHighVlanId retrieves the value of the leaf OuterHighVlanId from the Interface_Subinterface_Vlan_Match_DoubleTaggedOuterRange struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OuterHighVlanId is set, it can safely use t.GetOuterHighVlanId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OuterHighVlanId == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Vlan_Match_DoubleTaggedOuterRange) GetOuterLowVlanId ¶
func (t *Interface_Subinterface_Vlan_Match_DoubleTaggedOuterRange) GetOuterLowVlanId() uint16
GetOuterLowVlanId retrieves the value of the leaf OuterLowVlanId from the Interface_Subinterface_Vlan_Match_DoubleTaggedOuterRange struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OuterLowVlanId is set, it can safely use t.GetOuterLowVlanId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OuterLowVlanId == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Vlan_Match_DoubleTaggedOuterRange) IsYANGGoStruct ¶
func (*Interface_Subinterface_Vlan_Match_DoubleTaggedOuterRange) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_Subinterface_Vlan_Match_DoubleTaggedOuterRange implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_Subinterface_Vlan_Match_DoubleTaggedOuterRange) Validate ¶
func (t *Interface_Subinterface_Vlan_Match_DoubleTaggedOuterRange) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_Subinterface_Vlan_Match_DoubleTaggedOuterRange) ΛBelongingModule ¶
func (*Interface_Subinterface_Vlan_Match_DoubleTaggedOuterRange) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_Subinterface_Vlan_Match_DoubleTaggedOuterRange.
func (*Interface_Subinterface_Vlan_Match_DoubleTaggedOuterRange) ΛEnumTypeMap ¶
func (t *Interface_Subinterface_Vlan_Match_DoubleTaggedOuterRange) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Interface_Subinterface_Vlan_Match_DoubleTaggedOuterRange) ΛValidate ¶
func (t *Interface_Subinterface_Vlan_Match_DoubleTaggedOuterRange) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface_Subinterface_Vlan_Match_SingleTagged ¶
type Interface_Subinterface_Vlan_Match_SingleTagged struct {
VlanId *uint16 `path:"state/vlan-id" module:"openconfig-vlan/openconfig-vlan"`
}
Interface_Subinterface_Vlan_Match_SingleTagged represents the /openconfig-interfaces/interfaces/interface/subinterfaces/subinterface/vlan/match/single-tagged YANG schema element.
func (*Interface_Subinterface_Vlan_Match_SingleTagged) GetVlanId ¶
func (t *Interface_Subinterface_Vlan_Match_SingleTagged) GetVlanId() uint16
GetVlanId retrieves the value of the leaf VlanId from the Interface_Subinterface_Vlan_Match_SingleTagged struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if VlanId is set, it can safely use t.GetVlanId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.VlanId == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Vlan_Match_SingleTagged) IsYANGGoStruct ¶
func (*Interface_Subinterface_Vlan_Match_SingleTagged) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_Subinterface_Vlan_Match_SingleTagged implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_Subinterface_Vlan_Match_SingleTagged) Validate ¶
func (t *Interface_Subinterface_Vlan_Match_SingleTagged) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_Subinterface_Vlan_Match_SingleTagged) ΛBelongingModule ¶
func (*Interface_Subinterface_Vlan_Match_SingleTagged) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_Subinterface_Vlan_Match_SingleTagged.
func (*Interface_Subinterface_Vlan_Match_SingleTagged) ΛEnumTypeMap ¶
func (t *Interface_Subinterface_Vlan_Match_SingleTagged) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Interface_Subinterface_Vlan_Match_SingleTagged) ΛValidate ¶
func (t *Interface_Subinterface_Vlan_Match_SingleTagged) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface_Subinterface_Vlan_Match_SingleTaggedList ¶
type Interface_Subinterface_Vlan_Match_SingleTaggedList struct {
VlanIds []uint16 `path:"state/vlan-ids" module:"openconfig-vlan/openconfig-vlan"`
}
Interface_Subinterface_Vlan_Match_SingleTaggedList represents the /openconfig-interfaces/interfaces/interface/subinterfaces/subinterface/vlan/match/single-tagged-list YANG schema element.
func (*Interface_Subinterface_Vlan_Match_SingleTaggedList) GetVlanIds ¶
func (t *Interface_Subinterface_Vlan_Match_SingleTaggedList) GetVlanIds() []uint16
GetVlanIds retrieves the value of the leaf VlanIds from the Interface_Subinterface_Vlan_Match_SingleTaggedList struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if VlanIds is set, it can safely use t.GetVlanIds() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.VlanIds == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Vlan_Match_SingleTaggedList) IsYANGGoStruct ¶
func (*Interface_Subinterface_Vlan_Match_SingleTaggedList) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_Subinterface_Vlan_Match_SingleTaggedList implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_Subinterface_Vlan_Match_SingleTaggedList) Validate ¶
func (t *Interface_Subinterface_Vlan_Match_SingleTaggedList) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_Subinterface_Vlan_Match_SingleTaggedList) ΛBelongingModule ¶
func (*Interface_Subinterface_Vlan_Match_SingleTaggedList) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_Subinterface_Vlan_Match_SingleTaggedList.
func (*Interface_Subinterface_Vlan_Match_SingleTaggedList) ΛEnumTypeMap ¶
func (t *Interface_Subinterface_Vlan_Match_SingleTaggedList) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Interface_Subinterface_Vlan_Match_SingleTaggedList) ΛValidate ¶
func (t *Interface_Subinterface_Vlan_Match_SingleTaggedList) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface_Subinterface_Vlan_Match_SingleTaggedRange ¶
type Interface_Subinterface_Vlan_Match_SingleTaggedRange struct {
HighVlanId *uint16 `path:"state/high-vlan-id" module:"openconfig-vlan/openconfig-vlan"`
LowVlanId *uint16 `path:"state/low-vlan-id" module:"openconfig-vlan/openconfig-vlan"`
}
Interface_Subinterface_Vlan_Match_SingleTaggedRange represents the /openconfig-interfaces/interfaces/interface/subinterfaces/subinterface/vlan/match/single-tagged-range YANG schema element.
func (*Interface_Subinterface_Vlan_Match_SingleTaggedRange) GetHighVlanId ¶
func (t *Interface_Subinterface_Vlan_Match_SingleTaggedRange) GetHighVlanId() uint16
GetHighVlanId retrieves the value of the leaf HighVlanId from the Interface_Subinterface_Vlan_Match_SingleTaggedRange struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if HighVlanId is set, it can safely use t.GetHighVlanId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.HighVlanId == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Vlan_Match_SingleTaggedRange) GetLowVlanId ¶
func (t *Interface_Subinterface_Vlan_Match_SingleTaggedRange) GetLowVlanId() uint16
GetLowVlanId retrieves the value of the leaf LowVlanId from the Interface_Subinterface_Vlan_Match_SingleTaggedRange struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LowVlanId is set, it can safely use t.GetLowVlanId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LowVlanId == nil' before retrieving the leaf's value.
func (*Interface_Subinterface_Vlan_Match_SingleTaggedRange) IsYANGGoStruct ¶
func (*Interface_Subinterface_Vlan_Match_SingleTaggedRange) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_Subinterface_Vlan_Match_SingleTaggedRange implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_Subinterface_Vlan_Match_SingleTaggedRange) Validate ¶
func (t *Interface_Subinterface_Vlan_Match_SingleTaggedRange) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_Subinterface_Vlan_Match_SingleTaggedRange) ΛBelongingModule ¶
func (*Interface_Subinterface_Vlan_Match_SingleTaggedRange) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_Subinterface_Vlan_Match_SingleTaggedRange.
func (*Interface_Subinterface_Vlan_Match_SingleTaggedRange) ΛEnumTypeMap ¶
func (t *Interface_Subinterface_Vlan_Match_SingleTaggedRange) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Interface_Subinterface_Vlan_Match_SingleTaggedRange) ΛValidate ¶
func (t *Interface_Subinterface_Vlan_Match_SingleTaggedRange) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface_Subinterface_Vlan_VlanId_Union ¶
type Interface_Subinterface_Vlan_VlanId_Union interface {
// Union type can be one of [UnionString, UnionUint16]
Documentation_for_Interface_Subinterface_Vlan_VlanId_Union()
}
Interface_Subinterface_Vlan_VlanId_Union is an interface that is implemented by valid types for the union for the leaf /openconfig-interfaces/interfaces/interface/subinterfaces/subinterface/vlan/state/vlan-id within the YANG schema. Union type can be one of [UnionString, UnionUint16].
type Keychain ¶
type Keychain struct {
Key map[Keychain_Key_KeyId_Union]*Keychain_Key `path:"keys/key" module:"openconfig-keychain/openconfig-keychain"`
Name *string `path:"state/name|name" module:"openconfig-keychain/openconfig-keychain|openconfig-keychain"`
Tolerance Keychain_Tolerance_Union `path:"state/tolerance" module:"openconfig-keychain/openconfig-keychain"`
}
Keychain represents the /openconfig-keychain/keychains/keychain YANG schema element.
func (*Keychain) AppendKey ¶
func (t *Keychain) AppendKey(v *Keychain_Key) error
AppendKey appends the supplied Keychain_Key struct to the list Key of Keychain. If the key value(s) specified in the supplied Keychain_Key already exist in the list, an error is returned.
func (*Keychain) DeleteKey ¶
func (t *Keychain) DeleteKey(KeyId Keychain_Key_KeyId_Union)
DeleteKey deletes the value with the specified keys from the receiver Keychain. If there is no such element, the function is a no-op.
func (*Keychain) GetKey ¶
func (t *Keychain) GetKey(KeyId Keychain_Key_KeyId_Union) *Keychain_Key
GetKey retrieves the value with the specified key from the Key map field of Keychain. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.
func (*Keychain) GetName ¶
GetName retrieves the value of the leaf Name from the Keychain struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Name is set, it can safely use t.GetName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Name == nil' before retrieving the leaf's value.
func (*Keychain) GetOrCreateKey ¶
func (t *Keychain) GetOrCreateKey(KeyId Keychain_Key_KeyId_Union) *Keychain_Key
GetOrCreateKey retrieves the value with the specified keys from the receiver Keychain. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*Keychain) GetOrCreateKeyMap ¶
func (t *Keychain) GetOrCreateKeyMap() map[Keychain_Key_KeyId_Union]*Keychain_Key
GetOrCreateKeyMap returns the list (map) from Keychain.
It initializes the field if not already initialized.
func (*Keychain) GetTolerance ¶
func (t *Keychain) GetTolerance() Keychain_Tolerance_Union
GetTolerance retrieves the value of the leaf Tolerance from the Keychain struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Tolerance is set, it can safely use t.GetTolerance() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Tolerance == nil' before retrieving the leaf's value.
func (*Keychain) IsYANGGoStruct ¶
func (*Keychain) IsYANGGoStruct()
IsYANGGoStruct ensures that Keychain implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Keychain) NewKey ¶
func (t *Keychain) NewKey(KeyId Keychain_Key_KeyId_Union) (*Keychain_Key, error)
NewKey creates a new entry in the Key list of the Keychain struct. The keys of the list are populated from the input arguments.
func (*Keychain) To_Keychain_Tolerance_Union ¶
func (t *Keychain) To_Keychain_Tolerance_Union(i interface{}) (Keychain_Tolerance_Union, error)
To_Keychain_Tolerance_Union takes an input interface{} and attempts to convert it to a struct which implements the Keychain_Tolerance_Union union. It returns an error if the interface{} supplied cannot be converted to a type within the union.
func (*Keychain) Validate ¶
func (t *Keychain) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Keychain) ΛBelongingModule ¶
ΛBelongingModule returns the name of the module that defines the namespace of Keychain.
func (*Keychain) ΛEnumTypeMap ¶
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Keychain) ΛListKeyMap ¶
ΛListKeyMap returns the keys of the Keychain struct, which is a YANG list entry.
type Keychain_Key ¶
type Keychain_Key struct {
CryptoAlgorithm E_KeychainTypes_CRYPTO_TYPE `path:"state/crypto-algorithm" module:"openconfig-keychain/openconfig-keychain"`
KeyId Keychain_Key_KeyId_Union `path:"state/key-id|key-id" module:"openconfig-keychain/openconfig-keychain|openconfig-keychain"`
ReceiveLifetime *Keychain_Key_ReceiveLifetime `path:"receive-lifetime" module:"openconfig-keychain"`
SecretKey *string `path:"state/secret-key" module:"openconfig-keychain/openconfig-keychain"`
SendLifetime *Keychain_Key_SendLifetime `path:"send-lifetime" module:"openconfig-keychain"`
}
Keychain_Key represents the /openconfig-keychain/keychains/keychain/keys/key YANG schema element.
func (*Keychain_Key) GetCryptoAlgorithm ¶
func (t *Keychain_Key) GetCryptoAlgorithm() E_KeychainTypes_CRYPTO_TYPE
GetCryptoAlgorithm retrieves the value of the leaf CryptoAlgorithm from the Keychain_Key struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if CryptoAlgorithm is set, it can safely use t.GetCryptoAlgorithm() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.CryptoAlgorithm == nil' before retrieving the leaf's value.
func (*Keychain_Key) GetKeyId ¶
func (t *Keychain_Key) GetKeyId() Keychain_Key_KeyId_Union
GetKeyId retrieves the value of the leaf KeyId from the Keychain_Key struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if KeyId is set, it can safely use t.GetKeyId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.KeyId == nil' before retrieving the leaf's value.
func (*Keychain_Key) GetOrCreateReceiveLifetime ¶
func (t *Keychain_Key) GetOrCreateReceiveLifetime() *Keychain_Key_ReceiveLifetime
GetOrCreateReceiveLifetime retrieves the value of the ReceiveLifetime field or returns the existing field if it already exists.
func (*Keychain_Key) GetOrCreateSendLifetime ¶
func (t *Keychain_Key) GetOrCreateSendLifetime() *Keychain_Key_SendLifetime
GetOrCreateSendLifetime retrieves the value of the SendLifetime field or returns the existing field if it already exists.
func (*Keychain_Key) GetReceiveLifetime ¶
func (t *Keychain_Key) GetReceiveLifetime() *Keychain_Key_ReceiveLifetime
GetReceiveLifetime returns the value of the ReceiveLifetime struct pointer from Keychain_Key. If the receiver or the field ReceiveLifetime is nil, nil is returned such that the Get* methods can be safely chained.
func (*Keychain_Key) GetSecretKey ¶
func (t *Keychain_Key) GetSecretKey() string
GetSecretKey retrieves the value of the leaf SecretKey from the Keychain_Key struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SecretKey is set, it can safely use t.GetSecretKey() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SecretKey == nil' before retrieving the leaf's value.
func (*Keychain_Key) GetSendLifetime ¶
func (t *Keychain_Key) GetSendLifetime() *Keychain_Key_SendLifetime
GetSendLifetime returns the value of the SendLifetime struct pointer from Keychain_Key. If the receiver or the field SendLifetime is nil, nil is returned such that the Get* methods can be safely chained.
func (*Keychain_Key) IsYANGGoStruct ¶
func (*Keychain_Key) IsYANGGoStruct()
IsYANGGoStruct ensures that Keychain_Key implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Keychain_Key) To_Keychain_Key_KeyId_Union ¶
func (t *Keychain_Key) To_Keychain_Key_KeyId_Union(i interface{}) (Keychain_Key_KeyId_Union, error)
To_Keychain_Key_KeyId_Union takes an input interface{} and attempts to convert it to a struct which implements the Keychain_Key_KeyId_Union union. It returns an error if the interface{} supplied cannot be converted to a type within the union.
func (*Keychain_Key) Validate ¶
func (t *Keychain_Key) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Keychain_Key) ΛBelongingModule ¶
func (*Keychain_Key) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Keychain_Key.
func (*Keychain_Key) ΛEnumTypeMap ¶
func (t *Keychain_Key) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Keychain_Key) ΛListKeyMap ¶
func (t *Keychain_Key) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the Keychain_Key struct, which is a YANG list entry.
func (*Keychain_Key) ΛValidate ¶
func (t *Keychain_Key) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Keychain_Key_KeyId_Union ¶
type Keychain_Key_KeyId_Union interface {
// Union type can be one of [UnionString, UnionUint64]
Documentation_for_Keychain_Key_KeyId_Union()
}
Keychain_Key_KeyId_Union is an interface that is implemented by valid types for the union for the leaf /openconfig-keychain/keychains/keychain/keys/key/state/key-id within the YANG schema. Union type can be one of [UnionString, UnionUint64].
type Keychain_Key_ReceiveLifetime ¶
type Keychain_Key_ReceiveLifetime struct {
EndTime *uint64 `path:"state/end-time" module:"openconfig-keychain/openconfig-keychain"`
StartTime *uint64 `path:"state/start-time" module:"openconfig-keychain/openconfig-keychain"`
}
Keychain_Key_ReceiveLifetime represents the /openconfig-keychain/keychains/keychain/keys/key/receive-lifetime YANG schema element.
func (*Keychain_Key_ReceiveLifetime) GetEndTime ¶
func (t *Keychain_Key_ReceiveLifetime) GetEndTime() uint64
GetEndTime retrieves the value of the leaf EndTime from the Keychain_Key_ReceiveLifetime struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if EndTime is set, it can safely use t.GetEndTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.EndTime == nil' before retrieving the leaf's value.
func (*Keychain_Key_ReceiveLifetime) GetStartTime ¶
func (t *Keychain_Key_ReceiveLifetime) GetStartTime() uint64
GetStartTime retrieves the value of the leaf StartTime from the Keychain_Key_ReceiveLifetime struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if StartTime is set, it can safely use t.GetStartTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.StartTime == nil' before retrieving the leaf's value.
func (*Keychain_Key_ReceiveLifetime) IsYANGGoStruct ¶
func (*Keychain_Key_ReceiveLifetime) IsYANGGoStruct()
IsYANGGoStruct ensures that Keychain_Key_ReceiveLifetime implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Keychain_Key_ReceiveLifetime) Validate ¶
func (t *Keychain_Key_ReceiveLifetime) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Keychain_Key_ReceiveLifetime) ΛBelongingModule ¶
func (*Keychain_Key_ReceiveLifetime) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Keychain_Key_ReceiveLifetime.
func (*Keychain_Key_ReceiveLifetime) ΛEnumTypeMap ¶
func (t *Keychain_Key_ReceiveLifetime) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Keychain_Key_ReceiveLifetime) ΛValidate ¶
func (t *Keychain_Key_ReceiveLifetime) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Keychain_Key_SendLifetime ¶
type Keychain_Key_SendLifetime struct {
EndTime *uint64 `path:"state/end-time" module:"openconfig-keychain/openconfig-keychain"`
SendAndReceive *bool `path:"state/send-and-receive" module:"openconfig-keychain/openconfig-keychain"`
StartTime *uint64 `path:"state/start-time" module:"openconfig-keychain/openconfig-keychain"`
}
Keychain_Key_SendLifetime represents the /openconfig-keychain/keychains/keychain/keys/key/send-lifetime YANG schema element.
func (*Keychain_Key_SendLifetime) GetEndTime ¶
func (t *Keychain_Key_SendLifetime) GetEndTime() uint64
GetEndTime retrieves the value of the leaf EndTime from the Keychain_Key_SendLifetime struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if EndTime is set, it can safely use t.GetEndTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.EndTime == nil' before retrieving the leaf's value.
func (*Keychain_Key_SendLifetime) GetSendAndReceive ¶
func (t *Keychain_Key_SendLifetime) GetSendAndReceive() bool
GetSendAndReceive retrieves the value of the leaf SendAndReceive from the Keychain_Key_SendLifetime struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SendAndReceive is set, it can safely use t.GetSendAndReceive() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SendAndReceive == nil' before retrieving the leaf's value.
func (*Keychain_Key_SendLifetime) GetStartTime ¶
func (t *Keychain_Key_SendLifetime) GetStartTime() uint64
GetStartTime retrieves the value of the leaf StartTime from the Keychain_Key_SendLifetime struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if StartTime is set, it can safely use t.GetStartTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.StartTime == nil' before retrieving the leaf's value.
func (*Keychain_Key_SendLifetime) IsYANGGoStruct ¶
func (*Keychain_Key_SendLifetime) IsYANGGoStruct()
IsYANGGoStruct ensures that Keychain_Key_SendLifetime implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Keychain_Key_SendLifetime) Validate ¶
func (t *Keychain_Key_SendLifetime) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Keychain_Key_SendLifetime) ΛBelongingModule ¶
func (*Keychain_Key_SendLifetime) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Keychain_Key_SendLifetime.
func (*Keychain_Key_SendLifetime) ΛEnumTypeMap ¶
func (t *Keychain_Key_SendLifetime) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Keychain_Key_SendLifetime) ΛValidate ¶
func (t *Keychain_Key_SendLifetime) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Keychain_Tolerance_Union ¶
type Keychain_Tolerance_Union interface {
// Union type can be one of [E_Keychain_Tolerance_Enum, UnionUint32]
Documentation_for_Keychain_Tolerance_Union()
}
Keychain_Tolerance_Union is an interface that is implemented by valid types for the union for the leaf /openconfig-keychain/keychains/keychain/state/tolerance within the YANG schema. Union type can be one of [E_Keychain_Tolerance_Enum, UnionUint32].
type NetworkInstance ¶
type NetworkInstance struct {
Description *string `path:"state/description" module:"openconfig-network-instance/openconfig-network-instance"`
FallbackNetworkInstance *string `path:"state/fallback-network-instance" module:"openconfig-network-instance/openconfig-network-instance"`
Interface map[string]*NetworkInstance_Interface `path:"interfaces/interface" module:"openconfig-network-instance/openconfig-network-instance"`
Name *string `path:"state/name|name" module:"openconfig-network-instance/openconfig-network-instance|openconfig-network-instance"`
PolicyForwarding *NetworkInstance_PolicyForwarding `path:"policy-forwarding" module:"openconfig-network-instance"`
RouteDistinguisher *string `path:"state/route-distinguisher" module:"openconfig-network-instance/openconfig-network-instance"`
RouterId *string `path:"state/router-id" module:"openconfig-network-instance/openconfig-network-instance"`
Static *NetworkInstance_Static `path:"static" module:"openconfig-network-instance"`
Type E_NetworkInstanceTypes_NETWORK_INSTANCE_TYPE `path:"state/type" module:"openconfig-network-instance/openconfig-network-instance"`
}
NetworkInstance represents the /openconfig-network-instance/network-instances/network-instance YANG schema element.
func (*NetworkInstance) AppendInterface ¶
func (t *NetworkInstance) AppendInterface(v *NetworkInstance_Interface) error
AppendInterface appends the supplied NetworkInstance_Interface struct to the list Interface of NetworkInstance. If the key value(s) specified in the supplied NetworkInstance_Interface already exist in the list, an error is returned.
func (*NetworkInstance) DeleteInterface ¶
func (t *NetworkInstance) DeleteInterface(Id string)
DeleteInterface deletes the value with the specified keys from the receiver NetworkInstance. If there is no such element, the function is a no-op.
func (*NetworkInstance) GetDescription ¶
func (t *NetworkInstance) GetDescription() string
GetDescription retrieves the value of the leaf Description from the NetworkInstance struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Description is set, it can safely use t.GetDescription() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Description == nil' before retrieving the leaf's value.
func (*NetworkInstance) GetFallbackNetworkInstance ¶
func (t *NetworkInstance) GetFallbackNetworkInstance() string
GetFallbackNetworkInstance retrieves the value of the leaf FallbackNetworkInstance from the NetworkInstance struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if FallbackNetworkInstance is set, it can safely use t.GetFallbackNetworkInstance() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.FallbackNetworkInstance == nil' before retrieving the leaf's value.
func (*NetworkInstance) GetInterface ¶
func (t *NetworkInstance) GetInterface(Id string) *NetworkInstance_Interface
GetInterface retrieves the value with the specified key from the Interface map field of NetworkInstance. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.
func (*NetworkInstance) GetName ¶
func (t *NetworkInstance) GetName() string
GetName retrieves the value of the leaf Name from the NetworkInstance struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Name is set, it can safely use t.GetName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Name == nil' before retrieving the leaf's value.
func (*NetworkInstance) GetOrCreateInterface ¶
func (t *NetworkInstance) GetOrCreateInterface(Id string) *NetworkInstance_Interface
GetOrCreateInterface retrieves the value with the specified keys from the receiver NetworkInstance. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*NetworkInstance) GetOrCreateInterfaceMap ¶
func (t *NetworkInstance) GetOrCreateInterfaceMap() map[string]*NetworkInstance_Interface
GetOrCreateInterfaceMap returns the list (map) from NetworkInstance.
It initializes the field if not already initialized.
func (*NetworkInstance) GetOrCreatePolicyForwarding ¶
func (t *NetworkInstance) GetOrCreatePolicyForwarding() *NetworkInstance_PolicyForwarding
GetOrCreatePolicyForwarding retrieves the value of the PolicyForwarding field or returns the existing field if it already exists.
func (*NetworkInstance) GetOrCreateStatic ¶
func (t *NetworkInstance) GetOrCreateStatic() *NetworkInstance_Static
GetOrCreateStatic retrieves the value of the Static field or returns the existing field if it already exists.
func (*NetworkInstance) GetPolicyForwarding ¶
func (t *NetworkInstance) GetPolicyForwarding() *NetworkInstance_PolicyForwarding
GetPolicyForwarding returns the value of the PolicyForwarding struct pointer from NetworkInstance. If the receiver or the field PolicyForwarding is nil, nil is returned such that the Get* methods can be safely chained.
func (*NetworkInstance) GetRouteDistinguisher ¶
func (t *NetworkInstance) GetRouteDistinguisher() string
GetRouteDistinguisher retrieves the value of the leaf RouteDistinguisher from the NetworkInstance struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if RouteDistinguisher is set, it can safely use t.GetRouteDistinguisher() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.RouteDistinguisher == nil' before retrieving the leaf's value.
func (*NetworkInstance) GetRouterId ¶
func (t *NetworkInstance) GetRouterId() string
GetRouterId retrieves the value of the leaf RouterId from the NetworkInstance struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if RouterId is set, it can safely use t.GetRouterId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.RouterId == nil' before retrieving the leaf's value.
func (*NetworkInstance) GetStatic ¶
func (t *NetworkInstance) GetStatic() *NetworkInstance_Static
GetStatic returns the value of the Static struct pointer from NetworkInstance. If the receiver or the field Static is nil, nil is returned such that the Get* methods can be safely chained.
func (*NetworkInstance) GetType ¶
func (t *NetworkInstance) GetType() E_NetworkInstanceTypes_NETWORK_INSTANCE_TYPE
GetType retrieves the value of the leaf Type from the NetworkInstance struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Type is set, it can safely use t.GetType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Type == nil' before retrieving the leaf's value.
func (*NetworkInstance) IsYANGGoStruct ¶
func (*NetworkInstance) IsYANGGoStruct()
IsYANGGoStruct ensures that NetworkInstance implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*NetworkInstance) NewInterface ¶
func (t *NetworkInstance) NewInterface(Id string) (*NetworkInstance_Interface, error)
NewInterface creates a new entry in the Interface list of the NetworkInstance struct. The keys of the list are populated from the input arguments.
func (*NetworkInstance) Validate ¶
func (t *NetworkInstance) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*NetworkInstance) ΛBelongingModule ¶
func (*NetworkInstance) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of NetworkInstance.
func (*NetworkInstance) ΛEnumTypeMap ¶
func (t *NetworkInstance) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*NetworkInstance) ΛListKeyMap ¶
func (t *NetworkInstance) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the NetworkInstance struct, which is a YANG list entry.
func (*NetworkInstance) ΛValidate ¶
func (t *NetworkInstance) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type NetworkInstance_Interface ¶
type NetworkInstance_Interface struct {
AssociatedAddressFamilies []E_Types_ADDRESS_FAMILY `path:"state/associated-address-families" module:"openconfig-network-instance/openconfig-network-instance"`
Id *string `path:"state/id|id" module:"openconfig-network-instance/openconfig-network-instance|openconfig-network-instance"`
Interface *string `path:"state/interface" module:"openconfig-network-instance/openconfig-network-instance"`
IrbAnycastGateway E_Interface_IrbAnycastGateway `path:"state/irb-anycast-gateway" module:"openconfig-network-instance/openconfig-network-instance"`
MacPinning *bool `path:"state/mac-pinning" module:"openconfig-network-instance/openconfig-network-instance"`
Subinterface *uint32 `path:"state/subinterface" module:"openconfig-network-instance/openconfig-network-instance"`
}
NetworkInstance_Interface represents the /openconfig-network-instance/network-instances/network-instance/interfaces/interface YANG schema element.
func (*NetworkInstance_Interface) GetAssociatedAddressFamilies ¶
func (t *NetworkInstance_Interface) GetAssociatedAddressFamilies() []E_Types_ADDRESS_FAMILY
GetAssociatedAddressFamilies retrieves the value of the leaf AssociatedAddressFamilies from the NetworkInstance_Interface struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AssociatedAddressFamilies is set, it can safely use t.GetAssociatedAddressFamilies() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AssociatedAddressFamilies == nil' before retrieving the leaf's value.
func (*NetworkInstance_Interface) GetId ¶
func (t *NetworkInstance_Interface) GetId() string
GetId retrieves the value of the leaf Id from the NetworkInstance_Interface struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Id is set, it can safely use t.GetId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Id == nil' before retrieving the leaf's value.
func (*NetworkInstance_Interface) GetInterface ¶
func (t *NetworkInstance_Interface) GetInterface() string
GetInterface retrieves the value of the leaf Interface from the NetworkInstance_Interface struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interface is set, it can safely use t.GetInterface() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interface == nil' before retrieving the leaf's value.
func (*NetworkInstance_Interface) GetIrbAnycastGateway ¶
func (t *NetworkInstance_Interface) GetIrbAnycastGateway() E_Interface_IrbAnycastGateway
GetIrbAnycastGateway retrieves the value of the leaf IrbAnycastGateway from the NetworkInstance_Interface struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if IrbAnycastGateway is set, it can safely use t.GetIrbAnycastGateway() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.IrbAnycastGateway == nil' before retrieving the leaf's value.
func (*NetworkInstance_Interface) GetMacPinning ¶
func (t *NetworkInstance_Interface) GetMacPinning() bool
GetMacPinning retrieves the value of the leaf MacPinning from the NetworkInstance_Interface struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MacPinning is set, it can safely use t.GetMacPinning() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MacPinning == nil' before retrieving the leaf's value.
func (*NetworkInstance_Interface) GetSubinterface ¶
func (t *NetworkInstance_Interface) GetSubinterface() uint32
GetSubinterface retrieves the value of the leaf Subinterface from the NetworkInstance_Interface struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Subinterface is set, it can safely use t.GetSubinterface() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Subinterface == nil' before retrieving the leaf's value.
func (*NetworkInstance_Interface) IsYANGGoStruct ¶
func (*NetworkInstance_Interface) IsYANGGoStruct()
IsYANGGoStruct ensures that NetworkInstance_Interface implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*NetworkInstance_Interface) Validate ¶
func (t *NetworkInstance_Interface) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*NetworkInstance_Interface) ΛBelongingModule ¶
func (*NetworkInstance_Interface) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of NetworkInstance_Interface.
func (*NetworkInstance_Interface) ΛEnumTypeMap ¶
func (t *NetworkInstance_Interface) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*NetworkInstance_Interface) ΛListKeyMap ¶
func (t *NetworkInstance_Interface) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the NetworkInstance_Interface struct, which is a YANG list entry.
func (*NetworkInstance_Interface) ΛValidate ¶
func (t *NetworkInstance_Interface) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type NetworkInstance_PolicyForwarding ¶
type NetworkInstance_PolicyForwarding struct {
Interface map[string]*NetworkInstance_PolicyForwarding_Interface `path:"interfaces/interface" module:"openconfig-network-instance/openconfig-network-instance"`
Policy map[string]*NetworkInstance_PolicyForwarding_Policy `path:"policies/policy" module:"openconfig-network-instance/openconfig-network-instance"`
}
NetworkInstance_PolicyForwarding represents the /openconfig-network-instance/network-instances/network-instance/policy-forwarding YANG schema element.
func (*NetworkInstance_PolicyForwarding) AppendInterface ¶
func (t *NetworkInstance_PolicyForwarding) AppendInterface(v *NetworkInstance_PolicyForwarding_Interface) error
AppendInterface appends the supplied NetworkInstance_PolicyForwarding_Interface struct to the list Interface of NetworkInstance_PolicyForwarding. If the key value(s) specified in the supplied NetworkInstance_PolicyForwarding_Interface already exist in the list, an error is returned.
func (*NetworkInstance_PolicyForwarding) AppendPolicy ¶
func (t *NetworkInstance_PolicyForwarding) AppendPolicy(v *NetworkInstance_PolicyForwarding_Policy) error
AppendPolicy appends the supplied NetworkInstance_PolicyForwarding_Policy struct to the list Policy of NetworkInstance_PolicyForwarding. If the key value(s) specified in the supplied NetworkInstance_PolicyForwarding_Policy already exist in the list, an error is returned.
func (*NetworkInstance_PolicyForwarding) DeleteInterface ¶
func (t *NetworkInstance_PolicyForwarding) DeleteInterface(InterfaceId string)
DeleteInterface deletes the value with the specified keys from the receiver NetworkInstance_PolicyForwarding. If there is no such element, the function is a no-op.
func (*NetworkInstance_PolicyForwarding) DeletePolicy ¶
func (t *NetworkInstance_PolicyForwarding) DeletePolicy(PolicyId string)
DeletePolicy deletes the value with the specified keys from the receiver NetworkInstance_PolicyForwarding. If there is no such element, the function is a no-op.
func (*NetworkInstance_PolicyForwarding) GetInterface ¶
func (t *NetworkInstance_PolicyForwarding) GetInterface(InterfaceId string) *NetworkInstance_PolicyForwarding_Interface
GetInterface retrieves the value with the specified key from the Interface map field of NetworkInstance_PolicyForwarding. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.
func (*NetworkInstance_PolicyForwarding) GetOrCreateInterface ¶
func (t *NetworkInstance_PolicyForwarding) GetOrCreateInterface(InterfaceId string) *NetworkInstance_PolicyForwarding_Interface
GetOrCreateInterface retrieves the value with the specified keys from the receiver NetworkInstance_PolicyForwarding. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*NetworkInstance_PolicyForwarding) GetOrCreateInterfaceMap ¶
func (t *NetworkInstance_PolicyForwarding) GetOrCreateInterfaceMap() map[string]*NetworkInstance_PolicyForwarding_Interface
GetOrCreateInterfaceMap returns the list (map) from NetworkInstance_PolicyForwarding.
It initializes the field if not already initialized.
func (*NetworkInstance_PolicyForwarding) GetOrCreatePolicy ¶
func (t *NetworkInstance_PolicyForwarding) GetOrCreatePolicy(PolicyId string) *NetworkInstance_PolicyForwarding_Policy
GetOrCreatePolicy retrieves the value with the specified keys from the receiver NetworkInstance_PolicyForwarding. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*NetworkInstance_PolicyForwarding) GetOrCreatePolicyMap ¶
func (t *NetworkInstance_PolicyForwarding) GetOrCreatePolicyMap() map[string]*NetworkInstance_PolicyForwarding_Policy
GetOrCreatePolicyMap returns the list (map) from NetworkInstance_PolicyForwarding.
It initializes the field if not already initialized.
func (*NetworkInstance_PolicyForwarding) GetPolicy ¶
func (t *NetworkInstance_PolicyForwarding) GetPolicy(PolicyId string) *NetworkInstance_PolicyForwarding_Policy
GetPolicy retrieves the value with the specified key from the Policy map field of NetworkInstance_PolicyForwarding. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.
func (*NetworkInstance_PolicyForwarding) IsYANGGoStruct ¶
func (*NetworkInstance_PolicyForwarding) IsYANGGoStruct()
IsYANGGoStruct ensures that NetworkInstance_PolicyForwarding implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*NetworkInstance_PolicyForwarding) NewInterface ¶
func (t *NetworkInstance_PolicyForwarding) NewInterface(InterfaceId string) (*NetworkInstance_PolicyForwarding_Interface, error)
NewInterface creates a new entry in the Interface list of the NetworkInstance_PolicyForwarding struct. The keys of the list are populated from the input arguments.
func (*NetworkInstance_PolicyForwarding) NewPolicy ¶
func (t *NetworkInstance_PolicyForwarding) NewPolicy(PolicyId string) (*NetworkInstance_PolicyForwarding_Policy, error)
NewPolicy creates a new entry in the Policy list of the NetworkInstance_PolicyForwarding struct. The keys of the list are populated from the input arguments.
func (*NetworkInstance_PolicyForwarding) Validate ¶
func (t *NetworkInstance_PolicyForwarding) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*NetworkInstance_PolicyForwarding) ΛBelongingModule ¶
func (*NetworkInstance_PolicyForwarding) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of NetworkInstance_PolicyForwarding.
func (*NetworkInstance_PolicyForwarding) ΛEnumTypeMap ¶
func (t *NetworkInstance_PolicyForwarding) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*NetworkInstance_PolicyForwarding) ΛValidate ¶
func (t *NetworkInstance_PolicyForwarding) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type NetworkInstance_PolicyForwarding_Interface ¶
type NetworkInstance_PolicyForwarding_Interface struct {
ApplyForwardingPolicy *string `path:"state/apply-forwarding-policy" module:"openconfig-network-instance/openconfig-network-instance"`
ApplyVrfSelectionPolicy *string `path:"state/apply-vrf-selection-policy" module:"openconfig-network-instance/openconfig-network-instance"`
InterfaceId *string `` /* 131-byte string literal not displayed */
InterfaceRef *NetworkInstance_PolicyForwarding_Interface_InterfaceRef `path:"interface-ref" module:"openconfig-network-instance"`
}
NetworkInstance_PolicyForwarding_Interface represents the /openconfig-network-instance/network-instances/network-instance/policy-forwarding/interfaces/interface YANG schema element.
func (*NetworkInstance_PolicyForwarding_Interface) GetApplyForwardingPolicy ¶
func (t *NetworkInstance_PolicyForwarding_Interface) GetApplyForwardingPolicy() string
GetApplyForwardingPolicy retrieves the value of the leaf ApplyForwardingPolicy from the NetworkInstance_PolicyForwarding_Interface struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ApplyForwardingPolicy is set, it can safely use t.GetApplyForwardingPolicy() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ApplyForwardingPolicy == nil' before retrieving the leaf's value.
func (*NetworkInstance_PolicyForwarding_Interface) GetApplyVrfSelectionPolicy ¶
func (t *NetworkInstance_PolicyForwarding_Interface) GetApplyVrfSelectionPolicy() string
GetApplyVrfSelectionPolicy retrieves the value of the leaf ApplyVrfSelectionPolicy from the NetworkInstance_PolicyForwarding_Interface struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ApplyVrfSelectionPolicy is set, it can safely use t.GetApplyVrfSelectionPolicy() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ApplyVrfSelectionPolicy == nil' before retrieving the leaf's value.
func (*NetworkInstance_PolicyForwarding_Interface) GetInterfaceId ¶
func (t *NetworkInstance_PolicyForwarding_Interface) GetInterfaceId() string
GetInterfaceId retrieves the value of the leaf InterfaceId from the NetworkInstance_PolicyForwarding_Interface struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InterfaceId is set, it can safely use t.GetInterfaceId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InterfaceId == nil' before retrieving the leaf's value.
func (*NetworkInstance_PolicyForwarding_Interface) GetInterfaceRef ¶
func (t *NetworkInstance_PolicyForwarding_Interface) GetInterfaceRef() *NetworkInstance_PolicyForwarding_Interface_InterfaceRef
GetInterfaceRef returns the value of the InterfaceRef struct pointer from NetworkInstance_PolicyForwarding_Interface. If the receiver or the field InterfaceRef is nil, nil is returned such that the Get* methods can be safely chained.
func (*NetworkInstance_PolicyForwarding_Interface) GetOrCreateInterfaceRef ¶
func (t *NetworkInstance_PolicyForwarding_Interface) GetOrCreateInterfaceRef() *NetworkInstance_PolicyForwarding_Interface_InterfaceRef
GetOrCreateInterfaceRef retrieves the value of the InterfaceRef field or returns the existing field if it already exists.
func (*NetworkInstance_PolicyForwarding_Interface) IsYANGGoStruct ¶
func (*NetworkInstance_PolicyForwarding_Interface) IsYANGGoStruct()
IsYANGGoStruct ensures that NetworkInstance_PolicyForwarding_Interface implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*NetworkInstance_PolicyForwarding_Interface) Validate ¶
func (t *NetworkInstance_PolicyForwarding_Interface) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*NetworkInstance_PolicyForwarding_Interface) ΛBelongingModule ¶
func (*NetworkInstance_PolicyForwarding_Interface) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of NetworkInstance_PolicyForwarding_Interface.
func (*NetworkInstance_PolicyForwarding_Interface) ΛEnumTypeMap ¶
func (t *NetworkInstance_PolicyForwarding_Interface) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*NetworkInstance_PolicyForwarding_Interface) ΛListKeyMap ¶
func (t *NetworkInstance_PolicyForwarding_Interface) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the NetworkInstance_PolicyForwarding_Interface struct, which is a YANG list entry.
func (*NetworkInstance_PolicyForwarding_Interface) ΛValidate ¶
func (t *NetworkInstance_PolicyForwarding_Interface) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type NetworkInstance_PolicyForwarding_Interface_InterfaceRef ¶
type NetworkInstance_PolicyForwarding_Interface_InterfaceRef struct {
Interface *string `path:"state/interface" module:"openconfig-network-instance/openconfig-network-instance"`
Subinterface *uint32 `path:"state/subinterface" module:"openconfig-network-instance/openconfig-network-instance"`
}
NetworkInstance_PolicyForwarding_Interface_InterfaceRef represents the /openconfig-network-instance/network-instances/network-instance/policy-forwarding/interfaces/interface/interface-ref YANG schema element.
func (*NetworkInstance_PolicyForwarding_Interface_InterfaceRef) GetInterface ¶
func (t *NetworkInstance_PolicyForwarding_Interface_InterfaceRef) GetInterface() string
GetInterface retrieves the value of the leaf Interface from the NetworkInstance_PolicyForwarding_Interface_InterfaceRef struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interface is set, it can safely use t.GetInterface() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interface == nil' before retrieving the leaf's value.
func (*NetworkInstance_PolicyForwarding_Interface_InterfaceRef) GetSubinterface ¶
func (t *NetworkInstance_PolicyForwarding_Interface_InterfaceRef) GetSubinterface() uint32
GetSubinterface retrieves the value of the leaf Subinterface from the NetworkInstance_PolicyForwarding_Interface_InterfaceRef struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Subinterface is set, it can safely use t.GetSubinterface() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Subinterface == nil' before retrieving the leaf's value.
func (*NetworkInstance_PolicyForwarding_Interface_InterfaceRef) IsYANGGoStruct ¶
func (*NetworkInstance_PolicyForwarding_Interface_InterfaceRef) IsYANGGoStruct()
IsYANGGoStruct ensures that NetworkInstance_PolicyForwarding_Interface_InterfaceRef implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*NetworkInstance_PolicyForwarding_Interface_InterfaceRef) Validate ¶
func (t *NetworkInstance_PolicyForwarding_Interface_InterfaceRef) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*NetworkInstance_PolicyForwarding_Interface_InterfaceRef) ΛBelongingModule ¶
func (*NetworkInstance_PolicyForwarding_Interface_InterfaceRef) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of NetworkInstance_PolicyForwarding_Interface_InterfaceRef.
func (*NetworkInstance_PolicyForwarding_Interface_InterfaceRef) ΛEnumTypeMap ¶
func (t *NetworkInstance_PolicyForwarding_Interface_InterfaceRef) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*NetworkInstance_PolicyForwarding_Interface_InterfaceRef) ΛValidate ¶
func (t *NetworkInstance_PolicyForwarding_Interface_InterfaceRef) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type NetworkInstance_PolicyForwarding_Policy ¶
type NetworkInstance_PolicyForwarding_Policy struct {
PolicyId *string `path:"state/policy-id|policy-id" module:"openconfig-network-instance/openconfig-network-instance|openconfig-network-instance"`
Rule map[uint32]*NetworkInstance_PolicyForwarding_Policy_Rule `path:"rules/rule" module:"openconfig-network-instance/openconfig-network-instance"`
Type E_Policy_Type `path:"state/type" module:"openconfig-network-instance/openconfig-network-instance"`
}
NetworkInstance_PolicyForwarding_Policy represents the /openconfig-network-instance/network-instances/network-instance/policy-forwarding/policies/policy YANG schema element.
func (*NetworkInstance_PolicyForwarding_Policy) AppendRule ¶
func (t *NetworkInstance_PolicyForwarding_Policy) AppendRule(v *NetworkInstance_PolicyForwarding_Policy_Rule) error
AppendRule appends the supplied NetworkInstance_PolicyForwarding_Policy_Rule struct to the list Rule of NetworkInstance_PolicyForwarding_Policy. If the key value(s) specified in the supplied NetworkInstance_PolicyForwarding_Policy_Rule already exist in the list, an error is returned.
func (*NetworkInstance_PolicyForwarding_Policy) DeleteRule ¶
func (t *NetworkInstance_PolicyForwarding_Policy) DeleteRule(SequenceId uint32)
DeleteRule deletes the value with the specified keys from the receiver NetworkInstance_PolicyForwarding_Policy. If there is no such element, the function is a no-op.
func (*NetworkInstance_PolicyForwarding_Policy) GetOrCreateRule ¶
func (t *NetworkInstance_PolicyForwarding_Policy) GetOrCreateRule(SequenceId uint32) *NetworkInstance_PolicyForwarding_Policy_Rule
GetOrCreateRule retrieves the value with the specified keys from the receiver NetworkInstance_PolicyForwarding_Policy. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*NetworkInstance_PolicyForwarding_Policy) GetOrCreateRuleMap ¶
func (t *NetworkInstance_PolicyForwarding_Policy) GetOrCreateRuleMap() map[uint32]*NetworkInstance_PolicyForwarding_Policy_Rule
GetOrCreateRuleMap returns the list (map) from NetworkInstance_PolicyForwarding_Policy.
It initializes the field if not already initialized.
func (*NetworkInstance_PolicyForwarding_Policy) GetPolicyId ¶
func (t *NetworkInstance_PolicyForwarding_Policy) GetPolicyId() string
GetPolicyId retrieves the value of the leaf PolicyId from the NetworkInstance_PolicyForwarding_Policy struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if PolicyId is set, it can safely use t.GetPolicyId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.PolicyId == nil' before retrieving the leaf's value.
func (*NetworkInstance_PolicyForwarding_Policy) GetRule ¶
func (t *NetworkInstance_PolicyForwarding_Policy) GetRule(SequenceId uint32) *NetworkInstance_PolicyForwarding_Policy_Rule
GetRule retrieves the value with the specified key from the Rule map field of NetworkInstance_PolicyForwarding_Policy. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.
func (*NetworkInstance_PolicyForwarding_Policy) GetType ¶
func (t *NetworkInstance_PolicyForwarding_Policy) GetType() E_Policy_Type
GetType retrieves the value of the leaf Type from the NetworkInstance_PolicyForwarding_Policy struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Type is set, it can safely use t.GetType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Type == nil' before retrieving the leaf's value.
func (*NetworkInstance_PolicyForwarding_Policy) IsYANGGoStruct ¶
func (*NetworkInstance_PolicyForwarding_Policy) IsYANGGoStruct()
IsYANGGoStruct ensures that NetworkInstance_PolicyForwarding_Policy implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*NetworkInstance_PolicyForwarding_Policy) NewRule ¶
func (t *NetworkInstance_PolicyForwarding_Policy) NewRule(SequenceId uint32) (*NetworkInstance_PolicyForwarding_Policy_Rule, error)
NewRule creates a new entry in the Rule list of the NetworkInstance_PolicyForwarding_Policy struct. The keys of the list are populated from the input arguments.
func (*NetworkInstance_PolicyForwarding_Policy) Validate ¶
func (t *NetworkInstance_PolicyForwarding_Policy) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*NetworkInstance_PolicyForwarding_Policy) ΛBelongingModule ¶
func (*NetworkInstance_PolicyForwarding_Policy) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of NetworkInstance_PolicyForwarding_Policy.
func (*NetworkInstance_PolicyForwarding_Policy) ΛEnumTypeMap ¶
func (t *NetworkInstance_PolicyForwarding_Policy) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*NetworkInstance_PolicyForwarding_Policy) ΛListKeyMap ¶
func (t *NetworkInstance_PolicyForwarding_Policy) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the NetworkInstance_PolicyForwarding_Policy struct, which is a YANG list entry.
func (*NetworkInstance_PolicyForwarding_Policy) ΛValidate ¶
func (t *NetworkInstance_PolicyForwarding_Policy) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type NetworkInstance_PolicyForwarding_Policy_Rule ¶
type NetworkInstance_PolicyForwarding_Policy_Rule struct {
Action *NetworkInstance_PolicyForwarding_Policy_Rule_Action `path:"action" module:"openconfig-network-instance"`
Ipv4 *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4 `path:"ipv4" module:"openconfig-network-instance"`
Ipv6 *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6 `path:"ipv6" module:"openconfig-network-instance"`
L2 *NetworkInstance_PolicyForwarding_Policy_Rule_L2 `path:"l2" module:"openconfig-network-instance"`
MatchedOctets *uint64 `path:"state/matched-octets" module:"openconfig-network-instance/openconfig-network-instance"`
MatchedPkts *uint64 `path:"state/matched-pkts" module:"openconfig-network-instance/openconfig-network-instance"`
SequenceId *uint32 `` /* 129-byte string literal not displayed */
Transport *NetworkInstance_PolicyForwarding_Policy_Rule_Transport `path:"transport" module:"openconfig-network-instance"`
}
NetworkInstance_PolicyForwarding_Policy_Rule represents the /openconfig-network-instance/network-instances/network-instance/policy-forwarding/policies/policy/rules/rule YANG schema element.
func (*NetworkInstance_PolicyForwarding_Policy_Rule) GetAction ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule) GetAction() *NetworkInstance_PolicyForwarding_Policy_Rule_Action
GetAction returns the value of the Action struct pointer from NetworkInstance_PolicyForwarding_Policy_Rule. If the receiver or the field Action is nil, nil is returned such that the Get* methods can be safely chained.
func (*NetworkInstance_PolicyForwarding_Policy_Rule) GetIpv4 ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule) GetIpv4() *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4
GetIpv4 returns the value of the Ipv4 struct pointer from NetworkInstance_PolicyForwarding_Policy_Rule. If the receiver or the field Ipv4 is nil, nil is returned such that the Get* methods can be safely chained.
func (*NetworkInstance_PolicyForwarding_Policy_Rule) GetIpv6 ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule) GetIpv6() *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6
GetIpv6 returns the value of the Ipv6 struct pointer from NetworkInstance_PolicyForwarding_Policy_Rule. If the receiver or the field Ipv6 is nil, nil is returned such that the Get* methods can be safely chained.
func (*NetworkInstance_PolicyForwarding_Policy_Rule) GetL2 ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule) GetL2() *NetworkInstance_PolicyForwarding_Policy_Rule_L2
GetL2 returns the value of the L2 struct pointer from NetworkInstance_PolicyForwarding_Policy_Rule. If the receiver or the field L2 is nil, nil is returned such that the Get* methods can be safely chained.
func (*NetworkInstance_PolicyForwarding_Policy_Rule) GetMatchedOctets ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule) GetMatchedOctets() uint64
GetMatchedOctets retrieves the value of the leaf MatchedOctets from the NetworkInstance_PolicyForwarding_Policy_Rule struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MatchedOctets is set, it can safely use t.GetMatchedOctets() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MatchedOctets == nil' before retrieving the leaf's value.
func (*NetworkInstance_PolicyForwarding_Policy_Rule) GetMatchedPkts ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule) GetMatchedPkts() uint64
GetMatchedPkts retrieves the value of the leaf MatchedPkts from the NetworkInstance_PolicyForwarding_Policy_Rule struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MatchedPkts is set, it can safely use t.GetMatchedPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MatchedPkts == nil' before retrieving the leaf's value.
func (*NetworkInstance_PolicyForwarding_Policy_Rule) GetOrCreateAction ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule) GetOrCreateAction() *NetworkInstance_PolicyForwarding_Policy_Rule_Action
GetOrCreateAction retrieves the value of the Action field or returns the existing field if it already exists.
func (*NetworkInstance_PolicyForwarding_Policy_Rule) GetOrCreateIpv4 ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule) GetOrCreateIpv4() *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4
GetOrCreateIpv4 retrieves the value of the Ipv4 field or returns the existing field if it already exists.
func (*NetworkInstance_PolicyForwarding_Policy_Rule) GetOrCreateIpv6 ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule) GetOrCreateIpv6() *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6
GetOrCreateIpv6 retrieves the value of the Ipv6 field or returns the existing field if it already exists.
func (*NetworkInstance_PolicyForwarding_Policy_Rule) GetOrCreateL2 ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule) GetOrCreateL2() *NetworkInstance_PolicyForwarding_Policy_Rule_L2
GetOrCreateL2 retrieves the value of the L2 field or returns the existing field if it already exists.
func (*NetworkInstance_PolicyForwarding_Policy_Rule) GetOrCreateTransport ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule) GetOrCreateTransport() *NetworkInstance_PolicyForwarding_Policy_Rule_Transport
GetOrCreateTransport retrieves the value of the Transport field or returns the existing field if it already exists.
func (*NetworkInstance_PolicyForwarding_Policy_Rule) GetSequenceId ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule) GetSequenceId() uint32
GetSequenceId retrieves the value of the leaf SequenceId from the NetworkInstance_PolicyForwarding_Policy_Rule struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SequenceId is set, it can safely use t.GetSequenceId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SequenceId == nil' before retrieving the leaf's value.
func (*NetworkInstance_PolicyForwarding_Policy_Rule) GetTransport ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule) GetTransport() *NetworkInstance_PolicyForwarding_Policy_Rule_Transport
GetTransport returns the value of the Transport struct pointer from NetworkInstance_PolicyForwarding_Policy_Rule. If the receiver or the field Transport is nil, nil is returned such that the Get* methods can be safely chained.
func (*NetworkInstance_PolicyForwarding_Policy_Rule) IsYANGGoStruct ¶
func (*NetworkInstance_PolicyForwarding_Policy_Rule) IsYANGGoStruct()
IsYANGGoStruct ensures that NetworkInstance_PolicyForwarding_Policy_Rule implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*NetworkInstance_PolicyForwarding_Policy_Rule) Validate ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*NetworkInstance_PolicyForwarding_Policy_Rule) ΛBelongingModule ¶
func (*NetworkInstance_PolicyForwarding_Policy_Rule) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of NetworkInstance_PolicyForwarding_Policy_Rule.
func (*NetworkInstance_PolicyForwarding_Policy_Rule) ΛEnumTypeMap ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*NetworkInstance_PolicyForwarding_Policy_Rule) ΛListKeyMap ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the NetworkInstance_PolicyForwarding_Policy_Rule struct, which is a YANG list entry.
func (*NetworkInstance_PolicyForwarding_Policy_Rule) ΛValidate ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type NetworkInstance_PolicyForwarding_Policy_Rule_Action ¶
type NetworkInstance_PolicyForwarding_Policy_Rule_Action struct {
DecapFallbackNetworkInstance *string `path:"state/decap-fallback-network-instance" module:"openconfig-network-instance/openconfig-network-instance"`
DecapNetworkInstance *string `path:"state/decap-network-instance" module:"openconfig-network-instance/openconfig-network-instance"`
DecapsulateGre *bool `path:"state/decapsulate-gre" module:"openconfig-network-instance/openconfig-network-instance"`
DecapsulateGue *bool `path:"state/decapsulate-gue" module:"openconfig-network-instance/openconfig-network-instance"`
DecapsulateMplsInUdp *bool `path:"state/decapsulate-mpls-in-udp" module:"openconfig-network-instance/openconfig-network-instance"`
Discard *bool `path:"state/discard" module:"openconfig-network-instance/openconfig-network-instance"`
EncapsulateGre *NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre `path:"encapsulate-gre" module:"openconfig-network-instance"`
NetworkInstance *string `path:"state/network-instance" module:"openconfig-network-instance/openconfig-network-instance"`
NextHop *string `path:"state/next-hop" module:"openconfig-network-instance/openconfig-network-instance"`
PostDecapNetworkInstance *string `path:"state/post-decap-network-instance" module:"openconfig-network-instance/openconfig-network-instance"`
}
NetworkInstance_PolicyForwarding_Policy_Rule_Action represents the /openconfig-network-instance/network-instances/network-instance/policy-forwarding/policies/policy/rules/rule/action YANG schema element.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Action) GetDecapFallbackNetworkInstance ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Action) GetDecapFallbackNetworkInstance() string
GetDecapFallbackNetworkInstance retrieves the value of the leaf DecapFallbackNetworkInstance from the NetworkInstance_PolicyForwarding_Policy_Rule_Action struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if DecapFallbackNetworkInstance is set, it can safely use t.GetDecapFallbackNetworkInstance() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.DecapFallbackNetworkInstance == nil' before retrieving the leaf's value.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Action) GetDecapNetworkInstance ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Action) GetDecapNetworkInstance() string
GetDecapNetworkInstance retrieves the value of the leaf DecapNetworkInstance from the NetworkInstance_PolicyForwarding_Policy_Rule_Action struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if DecapNetworkInstance is set, it can safely use t.GetDecapNetworkInstance() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.DecapNetworkInstance == nil' before retrieving the leaf's value.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Action) GetDecapsulateGre ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Action) GetDecapsulateGre() bool
GetDecapsulateGre retrieves the value of the leaf DecapsulateGre from the NetworkInstance_PolicyForwarding_Policy_Rule_Action struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if DecapsulateGre is set, it can safely use t.GetDecapsulateGre() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.DecapsulateGre == nil' before retrieving the leaf's value.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Action) GetDecapsulateGue ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Action) GetDecapsulateGue() bool
GetDecapsulateGue retrieves the value of the leaf DecapsulateGue from the NetworkInstance_PolicyForwarding_Policy_Rule_Action struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if DecapsulateGue is set, it can safely use t.GetDecapsulateGue() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.DecapsulateGue == nil' before retrieving the leaf's value.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Action) GetDecapsulateMplsInUdp ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Action) GetDecapsulateMplsInUdp() bool
GetDecapsulateMplsInUdp retrieves the value of the leaf DecapsulateMplsInUdp from the NetworkInstance_PolicyForwarding_Policy_Rule_Action struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if DecapsulateMplsInUdp is set, it can safely use t.GetDecapsulateMplsInUdp() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.DecapsulateMplsInUdp == nil' before retrieving the leaf's value.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Action) GetDiscard ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Action) GetDiscard() bool
GetDiscard retrieves the value of the leaf Discard from the NetworkInstance_PolicyForwarding_Policy_Rule_Action struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Discard is set, it can safely use t.GetDiscard() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Discard == nil' before retrieving the leaf's value.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Action) GetEncapsulateGre ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Action) GetEncapsulateGre() *NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre
GetEncapsulateGre returns the value of the EncapsulateGre struct pointer from NetworkInstance_PolicyForwarding_Policy_Rule_Action. If the receiver or the field EncapsulateGre is nil, nil is returned such that the Get* methods can be safely chained.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Action) GetNetworkInstance ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Action) GetNetworkInstance() string
GetNetworkInstance retrieves the value of the leaf NetworkInstance from the NetworkInstance_PolicyForwarding_Policy_Rule_Action struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if NetworkInstance is set, it can safely use t.GetNetworkInstance() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.NetworkInstance == nil' before retrieving the leaf's value.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Action) GetNextHop ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Action) GetNextHop() string
GetNextHop retrieves the value of the leaf NextHop from the NetworkInstance_PolicyForwarding_Policy_Rule_Action struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if NextHop is set, it can safely use t.GetNextHop() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.NextHop == nil' before retrieving the leaf's value.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Action) GetOrCreateEncapsulateGre ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Action) GetOrCreateEncapsulateGre() *NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre
GetOrCreateEncapsulateGre retrieves the value of the EncapsulateGre field or returns the existing field if it already exists.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Action) GetPostDecapNetworkInstance ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Action) GetPostDecapNetworkInstance() string
GetPostDecapNetworkInstance retrieves the value of the leaf PostDecapNetworkInstance from the NetworkInstance_PolicyForwarding_Policy_Rule_Action struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if PostDecapNetworkInstance is set, it can safely use t.GetPostDecapNetworkInstance() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.PostDecapNetworkInstance == nil' before retrieving the leaf's value.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Action) IsYANGGoStruct ¶
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Action) IsYANGGoStruct()
IsYANGGoStruct ensures that NetworkInstance_PolicyForwarding_Policy_Rule_Action implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Action) Validate ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Action) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Action) ΛBelongingModule ¶
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Action) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of NetworkInstance_PolicyForwarding_Policy_Rule_Action.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Action) ΛEnumTypeMap ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Action) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Action) ΛValidate ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Action) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre ¶
type NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre struct {
IdentifyingPrefix *string `path:"state/identifying-prefix" module:"openconfig-network-instance/openconfig-network-instance"`
Target map[string]*NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre_Target `path:"targets/target" module:"openconfig-network-instance/openconfig-network-instance"`
}
NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre represents the /openconfig-network-instance/network-instances/network-instance/policy-forwarding/policies/policy/rules/rule/action/encapsulate-gre YANG schema element.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre) AppendTarget ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre) AppendTarget(v *NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre_Target) error
AppendTarget appends the supplied NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre_Target struct to the list Target of NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre. If the key value(s) specified in the supplied NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre_Target already exist in the list, an error is returned.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre) DeleteTarget ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre) DeleteTarget(Id string)
DeleteTarget deletes the value with the specified keys from the receiver NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre. If there is no such element, the function is a no-op.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre) GetIdentifyingPrefix ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre) GetIdentifyingPrefix() string
GetIdentifyingPrefix retrieves the value of the leaf IdentifyingPrefix from the NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if IdentifyingPrefix is set, it can safely use t.GetIdentifyingPrefix() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.IdentifyingPrefix == nil' before retrieving the leaf's value.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre) GetOrCreateTarget ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre) GetOrCreateTarget(Id string) *NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre_Target
GetOrCreateTarget retrieves the value with the specified keys from the receiver NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre) GetOrCreateTargetMap ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre) GetOrCreateTargetMap() map[string]*NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre_Target
GetOrCreateTargetMap returns the list (map) from NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre.
It initializes the field if not already initialized.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre) GetTarget ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre) GetTarget(Id string) *NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre_Target
GetTarget retrieves the value with the specified key from the Target map field of NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre) IsYANGGoStruct ¶
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre) IsYANGGoStruct()
IsYANGGoStruct ensures that NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre) NewTarget ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre) NewTarget(Id string) (*NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre_Target, error)
NewTarget creates a new entry in the Target list of the NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre struct. The keys of the list are populated from the input arguments.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre) Validate ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre) ΛBelongingModule ¶
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre) ΛEnumTypeMap ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre) ΛValidate ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre_Target ¶
type NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre_Target struct {
Destination *string `path:"state/destination" module:"openconfig-network-instance/openconfig-network-instance"`
Id *string `path:"state/id|id" module:"openconfig-network-instance/openconfig-network-instance|openconfig-network-instance"`
IpTtl *uint8 `path:"state/ip-ttl" module:"openconfig-network-instance/openconfig-network-instance"`
Source *string `path:"state/source" module:"openconfig-network-instance/openconfig-network-instance"`
}
NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre_Target represents the /openconfig-network-instance/network-instances/network-instance/policy-forwarding/policies/policy/rules/rule/action/encapsulate-gre/targets/target YANG schema element.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre_Target) GetDestination ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre_Target) GetDestination() string
GetDestination retrieves the value of the leaf Destination from the NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre_Target struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Destination is set, it can safely use t.GetDestination() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Destination == nil' before retrieving the leaf's value.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre_Target) GetId ¶
GetId retrieves the value of the leaf Id from the NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre_Target struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Id is set, it can safely use t.GetId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Id == nil' before retrieving the leaf's value.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre_Target) GetIpTtl ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre_Target) GetIpTtl() uint8
GetIpTtl retrieves the value of the leaf IpTtl from the NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre_Target struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if IpTtl is set, it can safely use t.GetIpTtl() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.IpTtl == nil' before retrieving the leaf's value.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre_Target) GetSource ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre_Target) GetSource() string
GetSource retrieves the value of the leaf Source from the NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre_Target struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Source is set, it can safely use t.GetSource() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Source == nil' before retrieving the leaf's value.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre_Target) IsYANGGoStruct ¶
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre_Target) IsYANGGoStruct()
IsYANGGoStruct ensures that NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre_Target implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre_Target) Validate ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre_Target) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre_Target) ΛBelongingModule ¶
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre_Target) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre_Target.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre_Target) ΛEnumTypeMap ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre_Target) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre_Target) ΛListKeyMap ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre_Target) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre_Target struct, which is a YANG list entry.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre_Target) ΛValidate ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Action_EncapsulateGre_Target) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4 ¶
type NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4 struct {
DestinationAddress *string `path:"state/destination-address" module:"openconfig-network-instance/openconfig-network-instance"`
DestinationAddressPrefixSet *string `path:"state/destination-address-prefix-set" module:"openconfig-network-instance/openconfig-network-instance"`
Dscp *uint8 `path:"state/dscp" module:"openconfig-network-instance/openconfig-network-instance"`
DscpSet []uint8 `path:"state/dscp-set" module:"openconfig-network-instance/openconfig-network-instance"`
HopLimit *uint8 `path:"state/hop-limit" module:"openconfig-network-instance/openconfig-network-instance"`
Icmpv4 *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4_Icmpv4 `path:"icmpv4" module:"openconfig-network-instance"`
Length *uint16 `path:"state/length" module:"openconfig-network-instance/openconfig-network-instance"`
Protocol NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4_Protocol_Union `path:"state/protocol" module:"openconfig-network-instance/openconfig-network-instance"`
SourceAddress *string `path:"state/source-address" module:"openconfig-network-instance/openconfig-network-instance"`
SourceAddressPrefixSet *string `path:"state/source-address-prefix-set" module:"openconfig-network-instance/openconfig-network-instance"`
}
NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4 represents the /openconfig-network-instance/network-instances/network-instance/policy-forwarding/policies/policy/rules/rule/ipv4 YANG schema element.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4) GetDestinationAddress ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4) GetDestinationAddress() string
GetDestinationAddress retrieves the value of the leaf DestinationAddress from the NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if DestinationAddress is set, it can safely use t.GetDestinationAddress() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.DestinationAddress == nil' before retrieving the leaf's value.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4) GetDestinationAddressPrefixSet ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4) GetDestinationAddressPrefixSet() string
GetDestinationAddressPrefixSet retrieves the value of the leaf DestinationAddressPrefixSet from the NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if DestinationAddressPrefixSet is set, it can safely use t.GetDestinationAddressPrefixSet() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.DestinationAddressPrefixSet == nil' before retrieving the leaf's value.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4) GetDscp ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4) GetDscp() uint8
GetDscp retrieves the value of the leaf Dscp from the NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Dscp is set, it can safely use t.GetDscp() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Dscp == nil' before retrieving the leaf's value.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4) GetDscpSet ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4) GetDscpSet() []uint8
GetDscpSet retrieves the value of the leaf DscpSet from the NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if DscpSet is set, it can safely use t.GetDscpSet() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.DscpSet == nil' before retrieving the leaf's value.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4) GetHopLimit ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4) GetHopLimit() uint8
GetHopLimit retrieves the value of the leaf HopLimit from the NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if HopLimit is set, it can safely use t.GetHopLimit() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.HopLimit == nil' before retrieving the leaf's value.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4) GetIcmpv4 ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4) GetIcmpv4() *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4_Icmpv4
GetIcmpv4 returns the value of the Icmpv4 struct pointer from NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4. If the receiver or the field Icmpv4 is nil, nil is returned such that the Get* methods can be safely chained.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4) GetLength ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4) GetLength() uint16
GetLength retrieves the value of the leaf Length from the NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Length is set, it can safely use t.GetLength() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Length == nil' before retrieving the leaf's value.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4) GetOrCreateIcmpv4 ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4) GetOrCreateIcmpv4() *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4_Icmpv4
GetOrCreateIcmpv4 retrieves the value of the Icmpv4 field or returns the existing field if it already exists.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4) GetProtocol ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4) GetProtocol() NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4_Protocol_Union
GetProtocol retrieves the value of the leaf Protocol from the NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Protocol is set, it can safely use t.GetProtocol() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Protocol == nil' before retrieving the leaf's value.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4) GetSourceAddress ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4) GetSourceAddress() string
GetSourceAddress retrieves the value of the leaf SourceAddress from the NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SourceAddress is set, it can safely use t.GetSourceAddress() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SourceAddress == nil' before retrieving the leaf's value.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4) GetSourceAddressPrefixSet ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4) GetSourceAddressPrefixSet() string
GetSourceAddressPrefixSet retrieves the value of the leaf SourceAddressPrefixSet from the NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SourceAddressPrefixSet is set, it can safely use t.GetSourceAddressPrefixSet() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SourceAddressPrefixSet == nil' before retrieving the leaf's value.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4) IsYANGGoStruct ¶
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4) IsYANGGoStruct()
IsYANGGoStruct ensures that NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4 implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4) To_NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4_Protocol_Union ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4) To_NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4_Protocol_Union(i interface{}) (NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4_Protocol_Union, error)
To_NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4_Protocol_Union takes an input interface{} and attempts to convert it to a struct which implements the NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4_Protocol_Union union. It returns an error if the interface{} supplied cannot be converted to a type within the union.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4) Validate ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4) ΛBelongingModule ¶
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4) ΛEnumTypeMap ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4) ΛValidate ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4_Icmpv4 ¶
type NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4_Icmpv4 struct {
Code E_Icmpv4Types_CODE `path:"state/code" module:"openconfig-network-instance/openconfig-network-instance"`
Type E_Icmpv4Types_TYPE `path:"state/type" module:"openconfig-network-instance/openconfig-network-instance"`
}
NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4_Icmpv4 represents the /openconfig-network-instance/network-instances/network-instance/policy-forwarding/policies/policy/rules/rule/ipv4/icmpv4 YANG schema element.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4_Icmpv4) GetCode ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4_Icmpv4) GetCode() E_Icmpv4Types_CODE
GetCode retrieves the value of the leaf Code from the NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4_Icmpv4 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Code is set, it can safely use t.GetCode() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Code == nil' before retrieving the leaf's value.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4_Icmpv4) GetType ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4_Icmpv4) GetType() E_Icmpv4Types_TYPE
GetType retrieves the value of the leaf Type from the NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4_Icmpv4 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Type is set, it can safely use t.GetType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Type == nil' before retrieving the leaf's value.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4_Icmpv4) IsYANGGoStruct ¶
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4_Icmpv4) IsYANGGoStruct()
IsYANGGoStruct ensures that NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4_Icmpv4 implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4_Icmpv4) Validate ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4_Icmpv4) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4_Icmpv4) ΛBelongingModule ¶
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4_Icmpv4) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4_Icmpv4.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4_Icmpv4) ΛEnumTypeMap ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4_Icmpv4) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4_Icmpv4) ΛValidate ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4_Icmpv4) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4_Protocol_Union ¶
type NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4_Protocol_Union interface {
// Union type can be one of [E_PacketMatchTypes_IP_PROTOCOL, UnionUint8]
Documentation_for_NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4_Protocol_Union()
}
NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4_Protocol_Union is an interface that is implemented by valid types for the union for the leaf /openconfig-network-instance/network-instances/network-instance/policy-forwarding/policies/policy/rules/rule/ipv4/state/protocol within the YANG schema. Union type can be one of [E_PacketMatchTypes_IP_PROTOCOL, UnionUint8].
type NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6 ¶
type NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6 struct {
DestinationAddress *string `path:"state/destination-address" module:"openconfig-network-instance/openconfig-network-instance"`
DestinationAddressPrefixSet *string `path:"state/destination-address-prefix-set" module:"openconfig-network-instance/openconfig-network-instance"`
DestinationFlowLabel *uint32 `path:"state/destination-flow-label" module:"openconfig-network-instance/openconfig-network-instance"`
Dscp *uint8 `path:"state/dscp" module:"openconfig-network-instance/openconfig-network-instance"`
DscpSet []uint8 `path:"state/dscp-set" module:"openconfig-network-instance/openconfig-network-instance"`
HopLimit *uint8 `path:"state/hop-limit" module:"openconfig-network-instance/openconfig-network-instance"`
Icmpv6 *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6_Icmpv6 `path:"icmpv6" module:"openconfig-network-instance"`
Length *uint16 `path:"state/length" module:"openconfig-network-instance/openconfig-network-instance"`
Protocol NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6_Protocol_Union `path:"state/protocol" module:"openconfig-network-instance/openconfig-network-instance"`
SourceAddress *string `path:"state/source-address" module:"openconfig-network-instance/openconfig-network-instance"`
SourceAddressPrefixSet *string `path:"state/source-address-prefix-set" module:"openconfig-network-instance/openconfig-network-instance"`
SourceFlowLabel *uint32 `path:"state/source-flow-label" module:"openconfig-network-instance/openconfig-network-instance"`
}
NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6 represents the /openconfig-network-instance/network-instances/network-instance/policy-forwarding/policies/policy/rules/rule/ipv6 YANG schema element.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6) GetDestinationAddress ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6) GetDestinationAddress() string
GetDestinationAddress retrieves the value of the leaf DestinationAddress from the NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if DestinationAddress is set, it can safely use t.GetDestinationAddress() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.DestinationAddress == nil' before retrieving the leaf's value.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6) GetDestinationAddressPrefixSet ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6) GetDestinationAddressPrefixSet() string
GetDestinationAddressPrefixSet retrieves the value of the leaf DestinationAddressPrefixSet from the NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if DestinationAddressPrefixSet is set, it can safely use t.GetDestinationAddressPrefixSet() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.DestinationAddressPrefixSet == nil' before retrieving the leaf's value.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6) GetDestinationFlowLabel ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6) GetDestinationFlowLabel() uint32
GetDestinationFlowLabel retrieves the value of the leaf DestinationFlowLabel from the NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if DestinationFlowLabel is set, it can safely use t.GetDestinationFlowLabel() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.DestinationFlowLabel == nil' before retrieving the leaf's value.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6) GetDscp ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6) GetDscp() uint8
GetDscp retrieves the value of the leaf Dscp from the NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Dscp is set, it can safely use t.GetDscp() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Dscp == nil' before retrieving the leaf's value.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6) GetDscpSet ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6) GetDscpSet() []uint8
GetDscpSet retrieves the value of the leaf DscpSet from the NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if DscpSet is set, it can safely use t.GetDscpSet() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.DscpSet == nil' before retrieving the leaf's value.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6) GetHopLimit ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6) GetHopLimit() uint8
GetHopLimit retrieves the value of the leaf HopLimit from the NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if HopLimit is set, it can safely use t.GetHopLimit() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.HopLimit == nil' before retrieving the leaf's value.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6) GetIcmpv6 ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6) GetIcmpv6() *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6_Icmpv6
GetIcmpv6 returns the value of the Icmpv6 struct pointer from NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6. If the receiver or the field Icmpv6 is nil, nil is returned such that the Get* methods can be safely chained.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6) GetLength ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6) GetLength() uint16
GetLength retrieves the value of the leaf Length from the NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Length is set, it can safely use t.GetLength() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Length == nil' before retrieving the leaf's value.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6) GetOrCreateIcmpv6 ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6) GetOrCreateIcmpv6() *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6_Icmpv6
GetOrCreateIcmpv6 retrieves the value of the Icmpv6 field or returns the existing field if it already exists.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6) GetProtocol ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6) GetProtocol() NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6_Protocol_Union
GetProtocol retrieves the value of the leaf Protocol from the NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Protocol is set, it can safely use t.GetProtocol() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Protocol == nil' before retrieving the leaf's value.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6) GetSourceAddress ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6) GetSourceAddress() string
GetSourceAddress retrieves the value of the leaf SourceAddress from the NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SourceAddress is set, it can safely use t.GetSourceAddress() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SourceAddress == nil' before retrieving the leaf's value.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6) GetSourceAddressPrefixSet ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6) GetSourceAddressPrefixSet() string
GetSourceAddressPrefixSet retrieves the value of the leaf SourceAddressPrefixSet from the NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SourceAddressPrefixSet is set, it can safely use t.GetSourceAddressPrefixSet() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SourceAddressPrefixSet == nil' before retrieving the leaf's value.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6) GetSourceFlowLabel ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6) GetSourceFlowLabel() uint32
GetSourceFlowLabel retrieves the value of the leaf SourceFlowLabel from the NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SourceFlowLabel is set, it can safely use t.GetSourceFlowLabel() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SourceFlowLabel == nil' before retrieving the leaf's value.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6) IsYANGGoStruct ¶
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6) IsYANGGoStruct()
IsYANGGoStruct ensures that NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6 implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6) To_NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6_Protocol_Union ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6) To_NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6_Protocol_Union(i interface{}) (NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6_Protocol_Union, error)
To_NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6_Protocol_Union takes an input interface{} and attempts to convert it to a struct which implements the NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6_Protocol_Union union. It returns an error if the interface{} supplied cannot be converted to a type within the union.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6) Validate ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6) ΛBelongingModule ¶
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6) ΛEnumTypeMap ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6) ΛValidate ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6_Icmpv6 ¶
type NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6_Icmpv6 struct {
Code E_Icmpv6Types_CODE `path:"state/code" module:"openconfig-network-instance/openconfig-network-instance"`
Type E_Icmpv6Types_TYPE `path:"state/type" module:"openconfig-network-instance/openconfig-network-instance"`
}
NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6_Icmpv6 represents the /openconfig-network-instance/network-instances/network-instance/policy-forwarding/policies/policy/rules/rule/ipv6/icmpv6 YANG schema element.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6_Icmpv6) GetCode ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6_Icmpv6) GetCode() E_Icmpv6Types_CODE
GetCode retrieves the value of the leaf Code from the NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6_Icmpv6 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Code is set, it can safely use t.GetCode() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Code == nil' before retrieving the leaf's value.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6_Icmpv6) GetType ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6_Icmpv6) GetType() E_Icmpv6Types_TYPE
GetType retrieves the value of the leaf Type from the NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6_Icmpv6 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Type is set, it can safely use t.GetType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Type == nil' before retrieving the leaf's value.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6_Icmpv6) IsYANGGoStruct ¶
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6_Icmpv6) IsYANGGoStruct()
IsYANGGoStruct ensures that NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6_Icmpv6 implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6_Icmpv6) Validate ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6_Icmpv6) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6_Icmpv6) ΛBelongingModule ¶
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6_Icmpv6) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6_Icmpv6.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6_Icmpv6) ΛEnumTypeMap ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6_Icmpv6) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6_Icmpv6) ΛValidate ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6_Icmpv6) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6_Protocol_Union ¶
type NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6_Protocol_Union interface {
// Union type can be one of [E_PacketMatchTypes_IP_PROTOCOL, UnionUint8]
Documentation_for_NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6_Protocol_Union()
}
NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6_Protocol_Union is an interface that is implemented by valid types for the union for the leaf /openconfig-network-instance/network-instances/network-instance/policy-forwarding/policies/policy/rules/rule/ipv6/state/protocol within the YANG schema. Union type can be one of [E_PacketMatchTypes_IP_PROTOCOL, UnionUint8].
type NetworkInstance_PolicyForwarding_Policy_Rule_L2 ¶
type NetworkInstance_PolicyForwarding_Policy_Rule_L2 struct {
DestinationMac *string `path:"state/destination-mac" module:"openconfig-network-instance/openconfig-network-instance"`
DestinationMacMask *string `path:"state/destination-mac-mask" module:"openconfig-network-instance/openconfig-network-instance"`
Ethertype NetworkInstance_PolicyForwarding_Policy_Rule_L2_Ethertype_Union `path:"state/ethertype" module:"openconfig-network-instance/openconfig-network-instance"`
SourceMac *string `path:"state/source-mac" module:"openconfig-network-instance/openconfig-network-instance"`
SourceMacMask *string `path:"state/source-mac-mask" module:"openconfig-network-instance/openconfig-network-instance"`
}
NetworkInstance_PolicyForwarding_Policy_Rule_L2 represents the /openconfig-network-instance/network-instances/network-instance/policy-forwarding/policies/policy/rules/rule/l2 YANG schema element.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_L2) GetDestinationMac ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_L2) GetDestinationMac() string
GetDestinationMac retrieves the value of the leaf DestinationMac from the NetworkInstance_PolicyForwarding_Policy_Rule_L2 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if DestinationMac is set, it can safely use t.GetDestinationMac() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.DestinationMac == nil' before retrieving the leaf's value.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_L2) GetDestinationMacMask ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_L2) GetDestinationMacMask() string
GetDestinationMacMask retrieves the value of the leaf DestinationMacMask from the NetworkInstance_PolicyForwarding_Policy_Rule_L2 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if DestinationMacMask is set, it can safely use t.GetDestinationMacMask() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.DestinationMacMask == nil' before retrieving the leaf's value.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_L2) GetEthertype ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_L2) GetEthertype() NetworkInstance_PolicyForwarding_Policy_Rule_L2_Ethertype_Union
GetEthertype retrieves the value of the leaf Ethertype from the NetworkInstance_PolicyForwarding_Policy_Rule_L2 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Ethertype is set, it can safely use t.GetEthertype() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Ethertype == nil' before retrieving the leaf's value.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_L2) GetSourceMac ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_L2) GetSourceMac() string
GetSourceMac retrieves the value of the leaf SourceMac from the NetworkInstance_PolicyForwarding_Policy_Rule_L2 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SourceMac is set, it can safely use t.GetSourceMac() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SourceMac == nil' before retrieving the leaf's value.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_L2) GetSourceMacMask ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_L2) GetSourceMacMask() string
GetSourceMacMask retrieves the value of the leaf SourceMacMask from the NetworkInstance_PolicyForwarding_Policy_Rule_L2 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SourceMacMask is set, it can safely use t.GetSourceMacMask() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SourceMacMask == nil' before retrieving the leaf's value.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_L2) IsYANGGoStruct ¶
func (*NetworkInstance_PolicyForwarding_Policy_Rule_L2) IsYANGGoStruct()
IsYANGGoStruct ensures that NetworkInstance_PolicyForwarding_Policy_Rule_L2 implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_L2) To_NetworkInstance_PolicyForwarding_Policy_Rule_L2_Ethertype_Union ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_L2) To_NetworkInstance_PolicyForwarding_Policy_Rule_L2_Ethertype_Union(i interface{}) (NetworkInstance_PolicyForwarding_Policy_Rule_L2_Ethertype_Union, error)
To_NetworkInstance_PolicyForwarding_Policy_Rule_L2_Ethertype_Union takes an input interface{} and attempts to convert it to a struct which implements the NetworkInstance_PolicyForwarding_Policy_Rule_L2_Ethertype_Union union. It returns an error if the interface{} supplied cannot be converted to a type within the union.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_L2) Validate ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_L2) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_L2) ΛBelongingModule ¶
func (*NetworkInstance_PolicyForwarding_Policy_Rule_L2) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of NetworkInstance_PolicyForwarding_Policy_Rule_L2.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_L2) ΛEnumTypeMap ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_L2) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_L2) ΛValidate ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_L2) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type NetworkInstance_PolicyForwarding_Policy_Rule_L2_Ethertype_Union ¶
type NetworkInstance_PolicyForwarding_Policy_Rule_L2_Ethertype_Union interface {
// Union type can be one of [E_PacketMatchTypes_ETHERTYPE, UnionUint16]
Documentation_for_NetworkInstance_PolicyForwarding_Policy_Rule_L2_Ethertype_Union()
}
NetworkInstance_PolicyForwarding_Policy_Rule_L2_Ethertype_Union is an interface that is implemented by valid types for the union for the leaf /openconfig-network-instance/network-instances/network-instance/policy-forwarding/policies/policy/rules/rule/l2/state/ethertype within the YANG schema. Union type can be one of [E_PacketMatchTypes_ETHERTYPE, UnionUint16].
type NetworkInstance_PolicyForwarding_Policy_Rule_Transport ¶
type NetworkInstance_PolicyForwarding_Policy_Rule_Transport struct {
BuiltinDetail E_Transport_BuiltinDetail `path:"state/builtin-detail" module:"openconfig-network-instance/openconfig-network-instance"`
DestinationPort NetworkInstance_PolicyForwarding_Policy_Rule_Transport_DestinationPort_Union `path:"state/destination-port" module:"openconfig-network-instance/openconfig-network-instance"`
DestinationPortSet *string `path:"state/destination-port-set" module:"openconfig-network-instance/openconfig-network-instance"`
DetailMode E_Transport_DetailMode `path:"state/detail-mode" module:"openconfig-network-instance/openconfig-network-instance"`
ExplicitDetailMatchMode E_Transport_ExplicitDetailMatchMode `path:"state/explicit-detail-match-mode" module:"openconfig-network-instance/openconfig-network-instance"`
ExplicitTcpFlags []E_PacketMatchTypes_TCP_FLAGS `path:"state/explicit-tcp-flags" module:"openconfig-network-instance/openconfig-network-instance"`
SourcePort NetworkInstance_PolicyForwarding_Policy_Rule_Transport_SourcePort_Union `path:"state/source-port" module:"openconfig-network-instance/openconfig-network-instance"`
SourcePortSet *string `path:"state/source-port-set" module:"openconfig-network-instance/openconfig-network-instance"`
}
NetworkInstance_PolicyForwarding_Policy_Rule_Transport represents the /openconfig-network-instance/network-instances/network-instance/policy-forwarding/policies/policy/rules/rule/transport YANG schema element.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Transport) GetBuiltinDetail ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Transport) GetBuiltinDetail() E_Transport_BuiltinDetail
GetBuiltinDetail retrieves the value of the leaf BuiltinDetail from the NetworkInstance_PolicyForwarding_Policy_Rule_Transport struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if BuiltinDetail is set, it can safely use t.GetBuiltinDetail() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.BuiltinDetail == nil' before retrieving the leaf's value.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Transport) GetDestinationPort ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Transport) GetDestinationPort() NetworkInstance_PolicyForwarding_Policy_Rule_Transport_DestinationPort_Union
GetDestinationPort retrieves the value of the leaf DestinationPort from the NetworkInstance_PolicyForwarding_Policy_Rule_Transport struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if DestinationPort is set, it can safely use t.GetDestinationPort() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.DestinationPort == nil' before retrieving the leaf's value.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Transport) GetDestinationPortSet ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Transport) GetDestinationPortSet() string
GetDestinationPortSet retrieves the value of the leaf DestinationPortSet from the NetworkInstance_PolicyForwarding_Policy_Rule_Transport struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if DestinationPortSet is set, it can safely use t.GetDestinationPortSet() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.DestinationPortSet == nil' before retrieving the leaf's value.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Transport) GetDetailMode ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Transport) GetDetailMode() E_Transport_DetailMode
GetDetailMode retrieves the value of the leaf DetailMode from the NetworkInstance_PolicyForwarding_Policy_Rule_Transport struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if DetailMode is set, it can safely use t.GetDetailMode() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.DetailMode == nil' before retrieving the leaf's value.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Transport) GetExplicitDetailMatchMode ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Transport) GetExplicitDetailMatchMode() E_Transport_ExplicitDetailMatchMode
GetExplicitDetailMatchMode retrieves the value of the leaf ExplicitDetailMatchMode from the NetworkInstance_PolicyForwarding_Policy_Rule_Transport struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ExplicitDetailMatchMode is set, it can safely use t.GetExplicitDetailMatchMode() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ExplicitDetailMatchMode == nil' before retrieving the leaf's value.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Transport) GetExplicitTcpFlags ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Transport) GetExplicitTcpFlags() []E_PacketMatchTypes_TCP_FLAGS
GetExplicitTcpFlags retrieves the value of the leaf ExplicitTcpFlags from the NetworkInstance_PolicyForwarding_Policy_Rule_Transport struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ExplicitTcpFlags is set, it can safely use t.GetExplicitTcpFlags() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ExplicitTcpFlags == nil' before retrieving the leaf's value.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Transport) GetSourcePort ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Transport) GetSourcePort() NetworkInstance_PolicyForwarding_Policy_Rule_Transport_SourcePort_Union
GetSourcePort retrieves the value of the leaf SourcePort from the NetworkInstance_PolicyForwarding_Policy_Rule_Transport struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SourcePort is set, it can safely use t.GetSourcePort() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SourcePort == nil' before retrieving the leaf's value.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Transport) GetSourcePortSet ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Transport) GetSourcePortSet() string
GetSourcePortSet retrieves the value of the leaf SourcePortSet from the NetworkInstance_PolicyForwarding_Policy_Rule_Transport struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SourcePortSet is set, it can safely use t.GetSourcePortSet() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SourcePortSet == nil' before retrieving the leaf's value.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Transport) IsYANGGoStruct ¶
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Transport) IsYANGGoStruct()
IsYANGGoStruct ensures that NetworkInstance_PolicyForwarding_Policy_Rule_Transport implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Transport) To_NetworkInstance_PolicyForwarding_Policy_Rule_Transport_DestinationPort_Union ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Transport) To_NetworkInstance_PolicyForwarding_Policy_Rule_Transport_DestinationPort_Union(i interface{}) (NetworkInstance_PolicyForwarding_Policy_Rule_Transport_DestinationPort_Union, error)
To_NetworkInstance_PolicyForwarding_Policy_Rule_Transport_DestinationPort_Union takes an input interface{} and attempts to convert it to a struct which implements the NetworkInstance_PolicyForwarding_Policy_Rule_Transport_DestinationPort_Union union. It returns an error if the interface{} supplied cannot be converted to a type within the union.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Transport) To_NetworkInstance_PolicyForwarding_Policy_Rule_Transport_SourcePort_Union ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Transport) To_NetworkInstance_PolicyForwarding_Policy_Rule_Transport_SourcePort_Union(i interface{}) (NetworkInstance_PolicyForwarding_Policy_Rule_Transport_SourcePort_Union, error)
To_NetworkInstance_PolicyForwarding_Policy_Rule_Transport_SourcePort_Union takes an input interface{} and attempts to convert it to a struct which implements the NetworkInstance_PolicyForwarding_Policy_Rule_Transport_SourcePort_Union union. It returns an error if the interface{} supplied cannot be converted to a type within the union.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Transport) Validate ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Transport) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Transport) ΛBelongingModule ¶
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Transport) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of NetworkInstance_PolicyForwarding_Policy_Rule_Transport.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Transport) ΛEnumTypeMap ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Transport) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*NetworkInstance_PolicyForwarding_Policy_Rule_Transport) ΛValidate ¶
func (t *NetworkInstance_PolicyForwarding_Policy_Rule_Transport) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type NetworkInstance_PolicyForwarding_Policy_Rule_Transport_DestinationPort_Union ¶
type NetworkInstance_PolicyForwarding_Policy_Rule_Transport_DestinationPort_Union interface {
// Union type can be one of [E_PacketMatchTypes_PortNumRange_Enum, UnionString, UnionUint16]
Documentation_for_NetworkInstance_PolicyForwarding_Policy_Rule_Transport_DestinationPort_Union()
}
NetworkInstance_PolicyForwarding_Policy_Rule_Transport_DestinationPort_Union is an interface that is implemented by valid types for the union for the leaf /openconfig-network-instance/network-instances/network-instance/policy-forwarding/policies/policy/rules/rule/transport/state/destination-port within the YANG schema. Union type can be one of [E_PacketMatchTypes_PortNumRange_Enum, UnionString, UnionUint16].
type NetworkInstance_PolicyForwarding_Policy_Rule_Transport_SourcePort_Union ¶
type NetworkInstance_PolicyForwarding_Policy_Rule_Transport_SourcePort_Union interface {
// Union type can be one of [E_PacketMatchTypes_PortNumRange_Enum, UnionString, UnionUint16]
Documentation_for_NetworkInstance_PolicyForwarding_Policy_Rule_Transport_SourcePort_Union()
}
NetworkInstance_PolicyForwarding_Policy_Rule_Transport_SourcePort_Union is an interface that is implemented by valid types for the union for the leaf /openconfig-network-instance/network-instances/network-instance/policy-forwarding/policies/policy/rules/rule/transport/state/source-port within the YANG schema. Union type can be one of [E_PacketMatchTypes_PortNumRange_Enum, UnionString, UnionUint16].
type NetworkInstance_Static ¶
type NetworkInstance_Static struct {
NextHop map[string]*NetworkInstance_Static_NextHop `path:"next-hops/next-hop" module:"openconfig-network-instance/openconfig-network-instance"`
NextHopGroup map[string]*NetworkInstance_Static_NextHopGroup `path:"next-hop-groups/next-hop-group" module:"openconfig-network-instance/openconfig-network-instance"`
}
NetworkInstance_Static represents the /openconfig-network-instance/network-instances/network-instance/static YANG schema element.
func (*NetworkInstance_Static) AppendNextHop ¶
func (t *NetworkInstance_Static) AppendNextHop(v *NetworkInstance_Static_NextHop) error
AppendNextHop appends the supplied NetworkInstance_Static_NextHop struct to the list NextHop of NetworkInstance_Static. If the key value(s) specified in the supplied NetworkInstance_Static_NextHop already exist in the list, an error is returned.
func (*NetworkInstance_Static) AppendNextHopGroup ¶
func (t *NetworkInstance_Static) AppendNextHopGroup(v *NetworkInstance_Static_NextHopGroup) error
AppendNextHopGroup appends the supplied NetworkInstance_Static_NextHopGroup struct to the list NextHopGroup of NetworkInstance_Static. If the key value(s) specified in the supplied NetworkInstance_Static_NextHopGroup already exist in the list, an error is returned.
func (*NetworkInstance_Static) DeleteNextHop ¶
func (t *NetworkInstance_Static) DeleteNextHop(Index string)
DeleteNextHop deletes the value with the specified keys from the receiver NetworkInstance_Static. If there is no such element, the function is a no-op.
func (*NetworkInstance_Static) DeleteNextHopGroup ¶
func (t *NetworkInstance_Static) DeleteNextHopGroup(Name string)
DeleteNextHopGroup deletes the value with the specified keys from the receiver NetworkInstance_Static. If there is no such element, the function is a no-op.
func (*NetworkInstance_Static) GetNextHop ¶
func (t *NetworkInstance_Static) GetNextHop(Index string) *NetworkInstance_Static_NextHop
GetNextHop retrieves the value with the specified key from the NextHop map field of NetworkInstance_Static. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.
func (*NetworkInstance_Static) GetNextHopGroup ¶
func (t *NetworkInstance_Static) GetNextHopGroup(Name string) *NetworkInstance_Static_NextHopGroup
GetNextHopGroup retrieves the value with the specified key from the NextHopGroup map field of NetworkInstance_Static. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.
func (*NetworkInstance_Static) GetOrCreateNextHop ¶
func (t *NetworkInstance_Static) GetOrCreateNextHop(Index string) *NetworkInstance_Static_NextHop
GetOrCreateNextHop retrieves the value with the specified keys from the receiver NetworkInstance_Static. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*NetworkInstance_Static) GetOrCreateNextHopGroup ¶
func (t *NetworkInstance_Static) GetOrCreateNextHopGroup(Name string) *NetworkInstance_Static_NextHopGroup
GetOrCreateNextHopGroup retrieves the value with the specified keys from the receiver NetworkInstance_Static. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*NetworkInstance_Static) GetOrCreateNextHopGroupMap ¶
func (t *NetworkInstance_Static) GetOrCreateNextHopGroupMap() map[string]*NetworkInstance_Static_NextHopGroup
GetOrCreateNextHopGroupMap returns the list (map) from NetworkInstance_Static.
It initializes the field if not already initialized.
func (*NetworkInstance_Static) GetOrCreateNextHopMap ¶
func (t *NetworkInstance_Static) GetOrCreateNextHopMap() map[string]*NetworkInstance_Static_NextHop
GetOrCreateNextHopMap returns the list (map) from NetworkInstance_Static.
It initializes the field if not already initialized.
func (*NetworkInstance_Static) IsYANGGoStruct ¶
func (*NetworkInstance_Static) IsYANGGoStruct()
IsYANGGoStruct ensures that NetworkInstance_Static implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*NetworkInstance_Static) NewNextHop ¶
func (t *NetworkInstance_Static) NewNextHop(Index string) (*NetworkInstance_Static_NextHop, error)
NewNextHop creates a new entry in the NextHop list of the NetworkInstance_Static struct. The keys of the list are populated from the input arguments.
func (*NetworkInstance_Static) NewNextHopGroup ¶
func (t *NetworkInstance_Static) NewNextHopGroup(Name string) (*NetworkInstance_Static_NextHopGroup, error)
NewNextHopGroup creates a new entry in the NextHopGroup list of the NetworkInstance_Static struct. The keys of the list are populated from the input arguments.
func (*NetworkInstance_Static) Validate ¶
func (t *NetworkInstance_Static) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*NetworkInstance_Static) ΛBelongingModule ¶
func (*NetworkInstance_Static) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of NetworkInstance_Static.
func (*NetworkInstance_Static) ΛEnumTypeMap ¶
func (t *NetworkInstance_Static) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*NetworkInstance_Static) ΛValidate ¶
func (t *NetworkInstance_Static) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type NetworkInstance_Static_NextHop ¶
type NetworkInstance_Static_NextHop struct {
EncapHeader map[uint8]*NetworkInstance_Static_NextHop_EncapHeader `path:"encap-headers/encap-header" module:"openconfig-network-instance/openconfig-network-instance"`
Index *string `path:"state/index|index" module:"openconfig-network-instance/openconfig-network-instance|openconfig-network-instance"`
Metric *uint32 `path:"state/metric" module:"openconfig-network-instance/openconfig-network-instance"`
NextHop NetworkInstance_Static_NextHop_NextHop_Union `path:"state/next-hop" module:"openconfig-network-instance/openconfig-network-instance"`
NextNetworkInstance *string `path:"state/next-network-instance" module:"openconfig-network-instance/openconfig-network-instance"`
NhNetworkInstance *string `path:"state/nh-network-instance" module:"openconfig-network-instance/openconfig-network-instance"`
Preference *uint32 `path:"state/preference" module:"openconfig-network-instance/openconfig-network-instance"`
Recurse *bool `path:"state/recurse" module:"openconfig-network-instance/openconfig-network-instance"`
}
NetworkInstance_Static_NextHop represents the /openconfig-network-instance/network-instances/network-instance/static/next-hops/next-hop YANG schema element.
func (*NetworkInstance_Static_NextHop) AppendEncapHeader ¶
func (t *NetworkInstance_Static_NextHop) AppendEncapHeader(v *NetworkInstance_Static_NextHop_EncapHeader) error
AppendEncapHeader appends the supplied NetworkInstance_Static_NextHop_EncapHeader struct to the list EncapHeader of NetworkInstance_Static_NextHop. If the key value(s) specified in the supplied NetworkInstance_Static_NextHop_EncapHeader already exist in the list, an error is returned.
func (*NetworkInstance_Static_NextHop) DeleteEncapHeader ¶
func (t *NetworkInstance_Static_NextHop) DeleteEncapHeader(Index uint8)
DeleteEncapHeader deletes the value with the specified keys from the receiver NetworkInstance_Static_NextHop. If there is no such element, the function is a no-op.
func (*NetworkInstance_Static_NextHop) GetEncapHeader ¶
func (t *NetworkInstance_Static_NextHop) GetEncapHeader(Index uint8) *NetworkInstance_Static_NextHop_EncapHeader
GetEncapHeader retrieves the value with the specified key from the EncapHeader map field of NetworkInstance_Static_NextHop. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.
func (*NetworkInstance_Static_NextHop) GetIndex ¶
func (t *NetworkInstance_Static_NextHop) GetIndex() string
GetIndex retrieves the value of the leaf Index from the NetworkInstance_Static_NextHop struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Index is set, it can safely use t.GetIndex() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Index == nil' before retrieving the leaf's value.
func (*NetworkInstance_Static_NextHop) GetMetric ¶
func (t *NetworkInstance_Static_NextHop) GetMetric() uint32
GetMetric retrieves the value of the leaf Metric from the NetworkInstance_Static_NextHop struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Metric is set, it can safely use t.GetMetric() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Metric == nil' before retrieving the leaf's value.
func (*NetworkInstance_Static_NextHop) GetNextHop ¶
func (t *NetworkInstance_Static_NextHop) GetNextHop() NetworkInstance_Static_NextHop_NextHop_Union
GetNextHop retrieves the value of the leaf NextHop from the NetworkInstance_Static_NextHop struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if NextHop is set, it can safely use t.GetNextHop() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.NextHop == nil' before retrieving the leaf's value.
func (*NetworkInstance_Static_NextHop) GetNextNetworkInstance ¶
func (t *NetworkInstance_Static_NextHop) GetNextNetworkInstance() string
GetNextNetworkInstance retrieves the value of the leaf NextNetworkInstance from the NetworkInstance_Static_NextHop struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if NextNetworkInstance is set, it can safely use t.GetNextNetworkInstance() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.NextNetworkInstance == nil' before retrieving the leaf's value.
func (*NetworkInstance_Static_NextHop) GetNhNetworkInstance ¶
func (t *NetworkInstance_Static_NextHop) GetNhNetworkInstance() string
GetNhNetworkInstance retrieves the value of the leaf NhNetworkInstance from the NetworkInstance_Static_NextHop struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if NhNetworkInstance is set, it can safely use t.GetNhNetworkInstance() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.NhNetworkInstance == nil' before retrieving the leaf's value.
func (*NetworkInstance_Static_NextHop) GetOrCreateEncapHeader ¶
func (t *NetworkInstance_Static_NextHop) GetOrCreateEncapHeader(Index uint8) *NetworkInstance_Static_NextHop_EncapHeader
GetOrCreateEncapHeader retrieves the value with the specified keys from the receiver NetworkInstance_Static_NextHop. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*NetworkInstance_Static_NextHop) GetOrCreateEncapHeaderMap ¶
func (t *NetworkInstance_Static_NextHop) GetOrCreateEncapHeaderMap() map[uint8]*NetworkInstance_Static_NextHop_EncapHeader
GetOrCreateEncapHeaderMap returns the list (map) from NetworkInstance_Static_NextHop.
It initializes the field if not already initialized.
func (*NetworkInstance_Static_NextHop) GetPreference ¶
func (t *NetworkInstance_Static_NextHop) GetPreference() uint32
GetPreference retrieves the value of the leaf Preference from the NetworkInstance_Static_NextHop struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Preference is set, it can safely use t.GetPreference() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Preference == nil' before retrieving the leaf's value.
func (*NetworkInstance_Static_NextHop) GetRecurse ¶
func (t *NetworkInstance_Static_NextHop) GetRecurse() bool
GetRecurse retrieves the value of the leaf Recurse from the NetworkInstance_Static_NextHop struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Recurse is set, it can safely use t.GetRecurse() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Recurse == nil' before retrieving the leaf's value.
func (*NetworkInstance_Static_NextHop) IsYANGGoStruct ¶
func (*NetworkInstance_Static_NextHop) IsYANGGoStruct()
IsYANGGoStruct ensures that NetworkInstance_Static_NextHop implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*NetworkInstance_Static_NextHop) NewEncapHeader ¶
func (t *NetworkInstance_Static_NextHop) NewEncapHeader(Index uint8) (*NetworkInstance_Static_NextHop_EncapHeader, error)
NewEncapHeader creates a new entry in the EncapHeader list of the NetworkInstance_Static_NextHop struct. The keys of the list are populated from the input arguments.
func (*NetworkInstance_Static_NextHop) To_NetworkInstance_Static_NextHop_NextHop_Union ¶
func (t *NetworkInstance_Static_NextHop) To_NetworkInstance_Static_NextHop_NextHop_Union(i interface{}) (NetworkInstance_Static_NextHop_NextHop_Union, error)
To_NetworkInstance_Static_NextHop_NextHop_Union takes an input interface{} and attempts to convert it to a struct which implements the NetworkInstance_Static_NextHop_NextHop_Union union. It returns an error if the interface{} supplied cannot be converted to a type within the union.
func (*NetworkInstance_Static_NextHop) Validate ¶
func (t *NetworkInstance_Static_NextHop) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*NetworkInstance_Static_NextHop) ΛBelongingModule ¶
func (*NetworkInstance_Static_NextHop) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of NetworkInstance_Static_NextHop.
func (*NetworkInstance_Static_NextHop) ΛEnumTypeMap ¶
func (t *NetworkInstance_Static_NextHop) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*NetworkInstance_Static_NextHop) ΛListKeyMap ¶
func (t *NetworkInstance_Static_NextHop) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the NetworkInstance_Static_NextHop struct, which is a YANG list entry.
func (*NetworkInstance_Static_NextHop) ΛValidate ¶
func (t *NetworkInstance_Static_NextHop) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type NetworkInstance_Static_NextHopGroup ¶
type NetworkInstance_Static_NextHopGroup struct {
Name *string `path:"state/name|name" module:"openconfig-network-instance/openconfig-network-instance|openconfig-network-instance"`
NextHop map[string]*NetworkInstance_Static_NextHopGroup_NextHop `path:"next-hops/next-hop" module:"openconfig-network-instance/openconfig-network-instance"`
}
NetworkInstance_Static_NextHopGroup represents the /openconfig-network-instance/network-instances/network-instance/static/next-hop-groups/next-hop-group YANG schema element.
func (*NetworkInstance_Static_NextHopGroup) AppendNextHop ¶
func (t *NetworkInstance_Static_NextHopGroup) AppendNextHop(v *NetworkInstance_Static_NextHopGroup_NextHop) error
AppendNextHop appends the supplied NetworkInstance_Static_NextHopGroup_NextHop struct to the list NextHop of NetworkInstance_Static_NextHopGroup. If the key value(s) specified in the supplied NetworkInstance_Static_NextHopGroup_NextHop already exist in the list, an error is returned.
func (*NetworkInstance_Static_NextHopGroup) DeleteNextHop ¶
func (t *NetworkInstance_Static_NextHopGroup) DeleteNextHop(Index string)
DeleteNextHop deletes the value with the specified keys from the receiver NetworkInstance_Static_NextHopGroup. If there is no such element, the function is a no-op.
func (*NetworkInstance_Static_NextHopGroup) GetName ¶
func (t *NetworkInstance_Static_NextHopGroup) GetName() string
GetName retrieves the value of the leaf Name from the NetworkInstance_Static_NextHopGroup struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Name is set, it can safely use t.GetName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Name == nil' before retrieving the leaf's value.
func (*NetworkInstance_Static_NextHopGroup) GetNextHop ¶
func (t *NetworkInstance_Static_NextHopGroup) GetNextHop(Index string) *NetworkInstance_Static_NextHopGroup_NextHop
GetNextHop retrieves the value with the specified key from the NextHop map field of NetworkInstance_Static_NextHopGroup. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.
func (*NetworkInstance_Static_NextHopGroup) GetOrCreateNextHop ¶
func (t *NetworkInstance_Static_NextHopGroup) GetOrCreateNextHop(Index string) *NetworkInstance_Static_NextHopGroup_NextHop
GetOrCreateNextHop retrieves the value with the specified keys from the receiver NetworkInstance_Static_NextHopGroup. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*NetworkInstance_Static_NextHopGroup) GetOrCreateNextHopMap ¶
func (t *NetworkInstance_Static_NextHopGroup) GetOrCreateNextHopMap() map[string]*NetworkInstance_Static_NextHopGroup_NextHop
GetOrCreateNextHopMap returns the list (map) from NetworkInstance_Static_NextHopGroup.
It initializes the field if not already initialized.
func (*NetworkInstance_Static_NextHopGroup) IsYANGGoStruct ¶
func (*NetworkInstance_Static_NextHopGroup) IsYANGGoStruct()
IsYANGGoStruct ensures that NetworkInstance_Static_NextHopGroup implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*NetworkInstance_Static_NextHopGroup) NewNextHop ¶
func (t *NetworkInstance_Static_NextHopGroup) NewNextHop(Index string) (*NetworkInstance_Static_NextHopGroup_NextHop, error)
NewNextHop creates a new entry in the NextHop list of the NetworkInstance_Static_NextHopGroup struct. The keys of the list are populated from the input arguments.
func (*NetworkInstance_Static_NextHopGroup) Validate ¶
func (t *NetworkInstance_Static_NextHopGroup) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*NetworkInstance_Static_NextHopGroup) ΛBelongingModule ¶
func (*NetworkInstance_Static_NextHopGroup) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of NetworkInstance_Static_NextHopGroup.
func (*NetworkInstance_Static_NextHopGroup) ΛEnumTypeMap ¶
func (t *NetworkInstance_Static_NextHopGroup) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*NetworkInstance_Static_NextHopGroup) ΛListKeyMap ¶
func (t *NetworkInstance_Static_NextHopGroup) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the NetworkInstance_Static_NextHopGroup struct, which is a YANG list entry.
func (*NetworkInstance_Static_NextHopGroup) ΛValidate ¶
func (t *NetworkInstance_Static_NextHopGroup) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type NetworkInstance_Static_NextHopGroup_NextHop ¶
type NetworkInstance_Static_NextHopGroup_NextHop struct {
Index *string `path:"state/index|index" module:"openconfig-network-instance/openconfig-network-instance|openconfig-network-instance"`
}
NetworkInstance_Static_NextHopGroup_NextHop represents the /openconfig-network-instance/network-instances/network-instance/static/next-hop-groups/next-hop-group/next-hops/next-hop YANG schema element.
func (*NetworkInstance_Static_NextHopGroup_NextHop) GetIndex ¶
func (t *NetworkInstance_Static_NextHopGroup_NextHop) GetIndex() string
GetIndex retrieves the value of the leaf Index from the NetworkInstance_Static_NextHopGroup_NextHop struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Index is set, it can safely use t.GetIndex() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Index == nil' before retrieving the leaf's value.
func (*NetworkInstance_Static_NextHopGroup_NextHop) IsYANGGoStruct ¶
func (*NetworkInstance_Static_NextHopGroup_NextHop) IsYANGGoStruct()
IsYANGGoStruct ensures that NetworkInstance_Static_NextHopGroup_NextHop implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*NetworkInstance_Static_NextHopGroup_NextHop) Validate ¶
func (t *NetworkInstance_Static_NextHopGroup_NextHop) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*NetworkInstance_Static_NextHopGroup_NextHop) ΛBelongingModule ¶
func (*NetworkInstance_Static_NextHopGroup_NextHop) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of NetworkInstance_Static_NextHopGroup_NextHop.
func (*NetworkInstance_Static_NextHopGroup_NextHop) ΛEnumTypeMap ¶
func (t *NetworkInstance_Static_NextHopGroup_NextHop) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*NetworkInstance_Static_NextHopGroup_NextHop) ΛListKeyMap ¶
func (t *NetworkInstance_Static_NextHopGroup_NextHop) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the NetworkInstance_Static_NextHopGroup_NextHop struct, which is a YANG list entry.
func (*NetworkInstance_Static_NextHopGroup_NextHop) ΛValidate ¶
func (t *NetworkInstance_Static_NextHopGroup_NextHop) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type NetworkInstance_Static_NextHop_EncapHeader ¶
type NetworkInstance_Static_NextHop_EncapHeader struct {
Index *uint8 `path:"state/index|index" module:"openconfig-network-instance/openconfig-network-instance|openconfig-network-instance"`
Type E_AftTypes_EncapsulationHeaderType `path:"state/type" module:"openconfig-network-instance/openconfig-network-instance"`
UdpV4 *NetworkInstance_Static_NextHop_EncapHeader_UdpV4 `path:"udp-v4" module:"openconfig-network-instance"`
}
NetworkInstance_Static_NextHop_EncapHeader represents the /openconfig-network-instance/network-instances/network-instance/static/next-hops/next-hop/encap-headers/encap-header YANG schema element.
func (*NetworkInstance_Static_NextHop_EncapHeader) GetIndex ¶
func (t *NetworkInstance_Static_NextHop_EncapHeader) GetIndex() uint8
GetIndex retrieves the value of the leaf Index from the NetworkInstance_Static_NextHop_EncapHeader struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Index is set, it can safely use t.GetIndex() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Index == nil' before retrieving the leaf's value.
func (*NetworkInstance_Static_NextHop_EncapHeader) GetOrCreateUdpV4 ¶
func (t *NetworkInstance_Static_NextHop_EncapHeader) GetOrCreateUdpV4() *NetworkInstance_Static_NextHop_EncapHeader_UdpV4
GetOrCreateUdpV4 retrieves the value of the UdpV4 field or returns the existing field if it already exists.
func (*NetworkInstance_Static_NextHop_EncapHeader) GetType ¶
func (t *NetworkInstance_Static_NextHop_EncapHeader) GetType() E_AftTypes_EncapsulationHeaderType
GetType retrieves the value of the leaf Type from the NetworkInstance_Static_NextHop_EncapHeader struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Type is set, it can safely use t.GetType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Type == nil' before retrieving the leaf's value.
func (*NetworkInstance_Static_NextHop_EncapHeader) GetUdpV4 ¶
func (t *NetworkInstance_Static_NextHop_EncapHeader) GetUdpV4() *NetworkInstance_Static_NextHop_EncapHeader_UdpV4
GetUdpV4 returns the value of the UdpV4 struct pointer from NetworkInstance_Static_NextHop_EncapHeader. If the receiver or the field UdpV4 is nil, nil is returned such that the Get* methods can be safely chained.
func (*NetworkInstance_Static_NextHop_EncapHeader) IsYANGGoStruct ¶
func (*NetworkInstance_Static_NextHop_EncapHeader) IsYANGGoStruct()
IsYANGGoStruct ensures that NetworkInstance_Static_NextHop_EncapHeader implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*NetworkInstance_Static_NextHop_EncapHeader) Validate ¶
func (t *NetworkInstance_Static_NextHop_EncapHeader) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*NetworkInstance_Static_NextHop_EncapHeader) ΛBelongingModule ¶
func (*NetworkInstance_Static_NextHop_EncapHeader) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of NetworkInstance_Static_NextHop_EncapHeader.
func (*NetworkInstance_Static_NextHop_EncapHeader) ΛEnumTypeMap ¶
func (t *NetworkInstance_Static_NextHop_EncapHeader) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*NetworkInstance_Static_NextHop_EncapHeader) ΛListKeyMap ¶
func (t *NetworkInstance_Static_NextHop_EncapHeader) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the NetworkInstance_Static_NextHop_EncapHeader struct, which is a YANG list entry.
func (*NetworkInstance_Static_NextHop_EncapHeader) ΛValidate ¶
func (t *NetworkInstance_Static_NextHop_EncapHeader) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type NetworkInstance_Static_NextHop_EncapHeader_UdpV4 ¶
type NetworkInstance_Static_NextHop_EncapHeader_UdpV4 struct {
Dscp *uint8 `path:"state/dscp" module:"openconfig-network-instance/openconfig-network-instance"`
DstIp *string `path:"state/dst-ip" module:"openconfig-network-instance/openconfig-network-instance"`
DstUdpPort *uint16 `path:"state/dst-udp-port" module:"openconfig-network-instance/openconfig-network-instance"`
IpTtl *uint8 `path:"state/ip-ttl" module:"openconfig-network-instance/openconfig-network-instance"`
SrcIp *string `path:"state/src-ip" module:"openconfig-network-instance/openconfig-network-instance"`
SrcUdpPort *uint16 `path:"state/src-udp-port" module:"openconfig-network-instance/openconfig-network-instance"`
}
NetworkInstance_Static_NextHop_EncapHeader_UdpV4 represents the /openconfig-network-instance/network-instances/network-instance/static/next-hops/next-hop/encap-headers/encap-header/udp-v4 YANG schema element.
func (*NetworkInstance_Static_NextHop_EncapHeader_UdpV4) GetDscp ¶
func (t *NetworkInstance_Static_NextHop_EncapHeader_UdpV4) GetDscp() uint8
GetDscp retrieves the value of the leaf Dscp from the NetworkInstance_Static_NextHop_EncapHeader_UdpV4 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Dscp is set, it can safely use t.GetDscp() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Dscp == nil' before retrieving the leaf's value.
func (*NetworkInstance_Static_NextHop_EncapHeader_UdpV4) GetDstIp ¶
func (t *NetworkInstance_Static_NextHop_EncapHeader_UdpV4) GetDstIp() string
GetDstIp retrieves the value of the leaf DstIp from the NetworkInstance_Static_NextHop_EncapHeader_UdpV4 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if DstIp is set, it can safely use t.GetDstIp() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.DstIp == nil' before retrieving the leaf's value.
func (*NetworkInstance_Static_NextHop_EncapHeader_UdpV4) GetDstUdpPort ¶
func (t *NetworkInstance_Static_NextHop_EncapHeader_UdpV4) GetDstUdpPort() uint16
GetDstUdpPort retrieves the value of the leaf DstUdpPort from the NetworkInstance_Static_NextHop_EncapHeader_UdpV4 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if DstUdpPort is set, it can safely use t.GetDstUdpPort() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.DstUdpPort == nil' before retrieving the leaf's value.
func (*NetworkInstance_Static_NextHop_EncapHeader_UdpV4) GetIpTtl ¶
func (t *NetworkInstance_Static_NextHop_EncapHeader_UdpV4) GetIpTtl() uint8
GetIpTtl retrieves the value of the leaf IpTtl from the NetworkInstance_Static_NextHop_EncapHeader_UdpV4 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if IpTtl is set, it can safely use t.GetIpTtl() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.IpTtl == nil' before retrieving the leaf's value.
func (*NetworkInstance_Static_NextHop_EncapHeader_UdpV4) GetSrcIp ¶
func (t *NetworkInstance_Static_NextHop_EncapHeader_UdpV4) GetSrcIp() string
GetSrcIp retrieves the value of the leaf SrcIp from the NetworkInstance_Static_NextHop_EncapHeader_UdpV4 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SrcIp is set, it can safely use t.GetSrcIp() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SrcIp == nil' before retrieving the leaf's value.
func (*NetworkInstance_Static_NextHop_EncapHeader_UdpV4) GetSrcUdpPort ¶
func (t *NetworkInstance_Static_NextHop_EncapHeader_UdpV4) GetSrcUdpPort() uint16
GetSrcUdpPort retrieves the value of the leaf SrcUdpPort from the NetworkInstance_Static_NextHop_EncapHeader_UdpV4 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SrcUdpPort is set, it can safely use t.GetSrcUdpPort() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SrcUdpPort == nil' before retrieving the leaf's value.
func (*NetworkInstance_Static_NextHop_EncapHeader_UdpV4) IsYANGGoStruct ¶
func (*NetworkInstance_Static_NextHop_EncapHeader_UdpV4) IsYANGGoStruct()
IsYANGGoStruct ensures that NetworkInstance_Static_NextHop_EncapHeader_UdpV4 implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*NetworkInstance_Static_NextHop_EncapHeader_UdpV4) Validate ¶
func (t *NetworkInstance_Static_NextHop_EncapHeader_UdpV4) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*NetworkInstance_Static_NextHop_EncapHeader_UdpV4) ΛBelongingModule ¶
func (*NetworkInstance_Static_NextHop_EncapHeader_UdpV4) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of NetworkInstance_Static_NextHop_EncapHeader_UdpV4.
func (*NetworkInstance_Static_NextHop_EncapHeader_UdpV4) ΛEnumTypeMap ¶
func (t *NetworkInstance_Static_NextHop_EncapHeader_UdpV4) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*NetworkInstance_Static_NextHop_EncapHeader_UdpV4) ΛValidate ¶
func (t *NetworkInstance_Static_NextHop_EncapHeader_UdpV4) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type NetworkInstance_Static_NextHop_NextHop_Union ¶
type NetworkInstance_Static_NextHop_NextHop_Union interface {
// Union type can be one of [E_LocalRouting_LOCAL_DEFINED_NEXT_HOP, UnionString]
Documentation_for_NetworkInstance_Static_NextHop_NextHop_Union()
}
NetworkInstance_Static_NextHop_NextHop_Union is an interface that is implemented by valid types for the union for the leaf /openconfig-network-instance/network-instances/network-instance/static/next-hops/next-hop/state/next-hop within the YANG schema. Union type can be one of [E_LocalRouting_LOCAL_DEFINED_NEXT_HOP, UnionString].
type UnionBool ¶
type UnionBool bool
UnionBool is a bool type assignable to unions of which it is a subtype.
type UnionFloat64 ¶
type UnionFloat64 float64
UnionFloat64 is a float64 type assignable to unions of which it is a subtype.
type UnionInt16 ¶
type UnionInt16 int16
UnionInt16 is an int16 type assignable to unions of which it is a subtype.
type UnionInt32 ¶
type UnionInt32 int32
UnionInt32 is an int32 type assignable to unions of which it is a subtype.
type UnionInt64 ¶
type UnionInt64 int64
UnionInt64 is an int64 type assignable to unions of which it is a subtype.
type UnionInt8 ¶
type UnionInt8 int8
UnionInt8 is an int8 type assignable to unions of which it is a subtype.
type UnionString ¶
type UnionString string
UnionString is a string type assignable to unions of which it is a subtype.
func (UnionString) Documentation_for_DefinedSets_PortSet_Port_Union ¶
func (UnionString) Documentation_for_DefinedSets_PortSet_Port_Union()
Documentation_for_DefinedSets_PortSet_Port_Union ensures that UnionString implements the DefinedSets_PortSet_Port_Union interface.
func (UnionString) Documentation_for_Interface_Aggregation_SwitchedVlan_TrunkVlans_Union ¶
func (UnionString) Documentation_for_Interface_Aggregation_SwitchedVlan_TrunkVlans_Union()
Documentation_for_Interface_Aggregation_SwitchedVlan_TrunkVlans_Union ensures that UnionString implements the Interface_Aggregation_SwitchedVlan_TrunkVlans_Union interface.
func (UnionString) Documentation_for_Interface_Ethernet_SwitchedVlan_TrunkVlans_Union ¶
func (UnionString) Documentation_for_Interface_Ethernet_SwitchedVlan_TrunkVlans_Union()
Documentation_for_Interface_Ethernet_SwitchedVlan_TrunkVlans_Union ensures that UnionString implements the Interface_Ethernet_SwitchedVlan_TrunkVlans_Union interface.
func (UnionString) Documentation_for_Interface_RoutedVlan_Vlan_Union ¶
func (UnionString) Documentation_for_Interface_RoutedVlan_Vlan_Union()
Documentation_for_Interface_RoutedVlan_Vlan_Union ensures that UnionString implements the Interface_RoutedVlan_Vlan_Union interface.
func (UnionString) Documentation_for_Interface_Subinterface_Vlan_VlanId_Union ¶
func (UnionString) Documentation_for_Interface_Subinterface_Vlan_VlanId_Union()
Documentation_for_Interface_Subinterface_Vlan_VlanId_Union ensures that UnionString implements the Interface_Subinterface_Vlan_VlanId_Union interface.
func (UnionString) Documentation_for_Keychain_Key_KeyId_Union ¶
func (UnionString) Documentation_for_Keychain_Key_KeyId_Union()
Documentation_for_Keychain_Key_KeyId_Union ensures that UnionString implements the Keychain_Key_KeyId_Union interface.
func (UnionString) Documentation_for_NetworkInstance_PolicyForwarding_Policy_Rule_Transport_DestinationPort_Union ¶
func (UnionString) Documentation_for_NetworkInstance_PolicyForwarding_Policy_Rule_Transport_DestinationPort_Union()
Documentation_for_NetworkInstance_PolicyForwarding_Policy_Rule_Transport_DestinationPort_Union ensures that UnionString implements the NetworkInstance_PolicyForwarding_Policy_Rule_Transport_DestinationPort_Union interface.
func (UnionString) Documentation_for_NetworkInstance_PolicyForwarding_Policy_Rule_Transport_SourcePort_Union ¶
func (UnionString) Documentation_for_NetworkInstance_PolicyForwarding_Policy_Rule_Transport_SourcePort_Union()
Documentation_for_NetworkInstance_PolicyForwarding_Policy_Rule_Transport_SourcePort_Union ensures that UnionString implements the NetworkInstance_PolicyForwarding_Policy_Rule_Transport_SourcePort_Union interface.
func (UnionString) Documentation_for_NetworkInstance_Static_NextHop_NextHop_Union ¶
func (UnionString) Documentation_for_NetworkInstance_Static_NextHop_NextHop_Union()
Documentation_for_NetworkInstance_Static_NextHop_NextHop_Union ensures that UnionString implements the NetworkInstance_Static_NextHop_NextHop_Union interface.
type UnionUint16 ¶
type UnionUint16 uint16
UnionUint16 is a uint16 type assignable to unions of which it is a subtype.
func (UnionUint16) Documentation_for_DefinedSets_PortSet_Port_Union ¶
func (UnionUint16) Documentation_for_DefinedSets_PortSet_Port_Union()
Documentation_for_DefinedSets_PortSet_Port_Union ensures that UnionUint16 implements the DefinedSets_PortSet_Port_Union interface.
func (UnionUint16) Documentation_for_Interface_Aggregation_SwitchedVlan_TrunkVlans_Union ¶
func (UnionUint16) Documentation_for_Interface_Aggregation_SwitchedVlan_TrunkVlans_Union()
Documentation_for_Interface_Aggregation_SwitchedVlan_TrunkVlans_Union ensures that UnionUint16 implements the Interface_Aggregation_SwitchedVlan_TrunkVlans_Union interface.
func (UnionUint16) Documentation_for_Interface_Ethernet_SwitchedVlan_TrunkVlans_Union ¶
func (UnionUint16) Documentation_for_Interface_Ethernet_SwitchedVlan_TrunkVlans_Union()
Documentation_for_Interface_Ethernet_SwitchedVlan_TrunkVlans_Union ensures that UnionUint16 implements the Interface_Ethernet_SwitchedVlan_TrunkVlans_Union interface.
func (UnionUint16) Documentation_for_Interface_RoutedVlan_Vlan_Union ¶
func (UnionUint16) Documentation_for_Interface_RoutedVlan_Vlan_Union()
Documentation_for_Interface_RoutedVlan_Vlan_Union ensures that UnionUint16 implements the Interface_RoutedVlan_Vlan_Union interface.
func (UnionUint16) Documentation_for_Interface_Subinterface_Vlan_VlanId_Union ¶
func (UnionUint16) Documentation_for_Interface_Subinterface_Vlan_VlanId_Union()
Documentation_for_Interface_Subinterface_Vlan_VlanId_Union ensures that UnionUint16 implements the Interface_Subinterface_Vlan_VlanId_Union interface.
func (UnionUint16) Documentation_for_NetworkInstance_PolicyForwarding_Policy_Rule_L2_Ethertype_Union ¶
func (UnionUint16) Documentation_for_NetworkInstance_PolicyForwarding_Policy_Rule_L2_Ethertype_Union()
Documentation_for_NetworkInstance_PolicyForwarding_Policy_Rule_L2_Ethertype_Union ensures that UnionUint16 implements the NetworkInstance_PolicyForwarding_Policy_Rule_L2_Ethertype_Union interface.
func (UnionUint16) Documentation_for_NetworkInstance_PolicyForwarding_Policy_Rule_Transport_DestinationPort_Union ¶
func (UnionUint16) Documentation_for_NetworkInstance_PolicyForwarding_Policy_Rule_Transport_DestinationPort_Union()
Documentation_for_NetworkInstance_PolicyForwarding_Policy_Rule_Transport_DestinationPort_Union ensures that UnionUint16 implements the NetworkInstance_PolicyForwarding_Policy_Rule_Transport_DestinationPort_Union interface.
func (UnionUint16) Documentation_for_NetworkInstance_PolicyForwarding_Policy_Rule_Transport_SourcePort_Union ¶
func (UnionUint16) Documentation_for_NetworkInstance_PolicyForwarding_Policy_Rule_Transport_SourcePort_Union()
Documentation_for_NetworkInstance_PolicyForwarding_Policy_Rule_Transport_SourcePort_Union ensures that UnionUint16 implements the NetworkInstance_PolicyForwarding_Policy_Rule_Transport_SourcePort_Union interface.
type UnionUint32 ¶
type UnionUint32 uint32
UnionUint32 is a uint32 type assignable to unions of which it is a subtype.
func (UnionUint32) Documentation_for_Keychain_Tolerance_Union ¶
func (UnionUint32) Documentation_for_Keychain_Tolerance_Union()
Documentation_for_Keychain_Tolerance_Union ensures that UnionUint32 implements the Keychain_Tolerance_Union interface.
type UnionUint64 ¶
type UnionUint64 uint64
UnionUint64 is a uint64 type assignable to unions of which it is a subtype.
func (UnionUint64) Documentation_for_Keychain_Key_KeyId_Union ¶
func (UnionUint64) Documentation_for_Keychain_Key_KeyId_Union()
Documentation_for_Keychain_Key_KeyId_Union ensures that UnionUint64 implements the Keychain_Key_KeyId_Union interface.
type UnionUint8 ¶
type UnionUint8 uint8
UnionUint8 is a uint8 type assignable to unions of which it is a subtype.
func (UnionUint8) Documentation_for_NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4_Protocol_Union ¶
func (UnionUint8) Documentation_for_NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4_Protocol_Union()
Documentation_for_NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4_Protocol_Union ensures that UnionUint8 implements the NetworkInstance_PolicyForwarding_Policy_Rule_Ipv4_Protocol_Union interface.
func (UnionUint8) Documentation_for_NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6_Protocol_Union ¶
func (UnionUint8) Documentation_for_NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6_Protocol_Union()
Documentation_for_NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6_Protocol_Union ensures that UnionUint8 implements the NetworkInstance_PolicyForwarding_Policy_Rule_Ipv6_Protocol_Union interface.
type UnionUnsupported ¶
type UnionUnsupported struct {
Value interface{}
}
UnionUnsupported is an interface{} wrapper type for unsupported types. It is assignable to unions of which it is a subtype.