Documentation ¶
Overview ¶
Package otg 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 ygnmi version: v0.8.1: (ygot: v0.29.0) using the following YANG input files:
- models-yang/models/bgp/open-traffic-generator-bgp.yang
- models-yang/models/discovery/open-traffic-generator-discovery.yang
- models-yang/models/flow/open-traffic-generator-flow.yang
- models-yang/models/interface/open-traffic-generator-port.yang
- models-yang/models/isis/open-traffic-generator-isis.yang
- models-yang/models/lacp/open-traffic-generator-lacp.yang
- models-yang/models/lag/open-traffic-generator-lag.yang
- models-yang/models/lldp/open-traffic-generator-lldp.yang
- models-yang/models/rsvp/open-traffic-generator-rsvp.yang
- models-yang/models/types/open-traffic-generator-types.yang
Imported modules were sourced from:
- models-yang/models/...
Package otg 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 ygnmi version: v0.8.1: (ygot: v0.29.0) using the following YANG input files:
- models-yang/models/bgp/open-traffic-generator-bgp.yang
- models-yang/models/discovery/open-traffic-generator-discovery.yang
- models-yang/models/flow/open-traffic-generator-flow.yang
- models-yang/models/interface/open-traffic-generator-port.yang
- models-yang/models/isis/open-traffic-generator-isis.yang
- models-yang/models/lacp/open-traffic-generator-lacp.yang
- models-yang/models/lag/open-traffic-generator-lag.yang
- models-yang/models/lldp/open-traffic-generator-lldp.yang
- models-yang/models/rsvp/open-traffic-generator-rsvp.yang
- models-yang/models/types/open-traffic-generator-types.yang
Imported modules were sourced from:
- models-yang/models/...
Package otg 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 ygnmi version: v0.8.1: (ygot: v0.29.0) using the following YANG input files:
- models-yang/models/bgp/open-traffic-generator-bgp.yang
- models-yang/models/discovery/open-traffic-generator-discovery.yang
- models-yang/models/flow/open-traffic-generator-flow.yang
- models-yang/models/interface/open-traffic-generator-port.yang
- models-yang/models/isis/open-traffic-generator-isis.yang
- models-yang/models/lacp/open-traffic-generator-lacp.yang
- models-yang/models/lag/open-traffic-generator-lag.yang
- models-yang/models/lldp/open-traffic-generator-lldp.yang
- models-yang/models/rsvp/open-traffic-generator-rsvp.yang
- models-yang/models/types/open-traffic-generator-types.yang
Imported modules were sourced from:
- models-yang/models/...
Package otg 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 ygnmi version: v0.8.1: (ygot: v0.29.0) using the following YANG input files:
- models-yang/models/bgp/open-traffic-generator-bgp.yang
- models-yang/models/discovery/open-traffic-generator-discovery.yang
- models-yang/models/flow/open-traffic-generator-flow.yang
- models-yang/models/interface/open-traffic-generator-port.yang
- models-yang/models/isis/open-traffic-generator-isis.yang
- models-yang/models/lacp/open-traffic-generator-lacp.yang
- models-yang/models/lag/open-traffic-generator-lag.yang
- models-yang/models/lldp/open-traffic-generator-lldp.yang
- models-yang/models/rsvp/open-traffic-generator-rsvp.yang
- models-yang/models/types/open-traffic-generator-types.yang
Imported modules were sourced from:
- models-yang/models/...
Package otg 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 ygnmi version: v0.8.1: (ygot: v0.29.0) using the following YANG input files:
- models-yang/models/bgp/open-traffic-generator-bgp.yang
- models-yang/models/discovery/open-traffic-generator-discovery.yang
- models-yang/models/flow/open-traffic-generator-flow.yang
- models-yang/models/interface/open-traffic-generator-port.yang
- models-yang/models/isis/open-traffic-generator-isis.yang
- models-yang/models/lacp/open-traffic-generator-lacp.yang
- models-yang/models/lag/open-traffic-generator-lag.yang
- models-yang/models/lldp/open-traffic-generator-lldp.yang
- models-yang/models/rsvp/open-traffic-generator-rsvp.yang
- models-yang/models/types/open-traffic-generator-types.yang
Imported modules were sourced from:
- models-yang/models/...
Index ¶
- 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 BgpPeer
- func (t *BgpPeer) AppendUnicastIpv4Prefix(v *BgpPeer_UnicastIpv4Prefix) error
- func (t *BgpPeer) AppendUnicastIpv6Prefix(v *BgpPeer_UnicastIpv6Prefix) error
- func (t *BgpPeer) DeleteUnicastIpv4Prefix(Address string, PrefixLength uint32, Origin E_UnicastIpv4Prefix_Origin, ...)
- func (t *BgpPeer) DeleteUnicastIpv6Prefix(Address string, PrefixLength uint32, Origin E_UnicastIpv6Prefix_Origin, ...)
- func (t *BgpPeer) GetCounters() *BgpPeer_Counters
- func (t *BgpPeer) GetName() string
- func (t *BgpPeer) GetOrCreateCounters() *BgpPeer_Counters
- func (t *BgpPeer) GetOrCreateUnicastIpv4Prefix(Address string, PrefixLength uint32, Origin E_UnicastIpv4Prefix_Origin, ...) *BgpPeer_UnicastIpv4Prefix
- func (t *BgpPeer) GetOrCreateUnicastIpv6Prefix(Address string, PrefixLength uint32, Origin E_UnicastIpv6Prefix_Origin, ...) *BgpPeer_UnicastIpv6Prefix
- func (t *BgpPeer) GetSessionState() E_BgpPeer_SessionState
- func (t *BgpPeer) GetUnicastIpv4Prefix(Address string, PrefixLength uint32, Origin E_UnicastIpv4Prefix_Origin, ...) *BgpPeer_UnicastIpv4Prefix
- func (t *BgpPeer) GetUnicastIpv6Prefix(Address string, PrefixLength uint32, Origin E_UnicastIpv6Prefix_Origin, ...) *BgpPeer_UnicastIpv6Prefix
- func (*BgpPeer) IsYANGGoStruct()
- func (t *BgpPeer) NewUnicastIpv4Prefix(Address string, PrefixLength uint32, Origin E_UnicastIpv4Prefix_Origin, ...) (*BgpPeer_UnicastIpv4Prefix, error)
- func (t *BgpPeer) NewUnicastIpv6Prefix(Address string, PrefixLength uint32, Origin E_UnicastIpv6Prefix_Origin, ...) (*BgpPeer_UnicastIpv6Prefix, error)
- func (t *BgpPeer) PopulateDefaults()
- func (t *BgpPeer) SetName(v string)
- func (t *BgpPeer) SetSessionState(v E_BgpPeer_SessionState)
- func (t *BgpPeer) Validate(opts ...ygot.ValidationOption) error
- func (*BgpPeer) ΛBelongingModule() string
- func (t *BgpPeer) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *BgpPeer) ΛListKeyMap() (map[string]interface{}, error)
- func (t *BgpPeer) ΛValidate(opts ...ygot.ValidationOption) error
- type BgpPeer_Counters
- func (t *BgpPeer_Counters) GetFlaps() uint64
- func (t *BgpPeer_Counters) GetInKeepalives() uint64
- func (t *BgpPeer_Counters) GetInNotifications() uint64
- func (t *BgpPeer_Counters) GetInOpens() uint64
- func (t *BgpPeer_Counters) GetInRouteWithdraw() uint64
- func (t *BgpPeer_Counters) GetInRoutes() uint64
- func (t *BgpPeer_Counters) GetInUpdates() uint64
- func (t *BgpPeer_Counters) GetOutKeepalives() uint64
- func (t *BgpPeer_Counters) GetOutNotifications() uint64
- func (t *BgpPeer_Counters) GetOutOpens() uint64
- func (t *BgpPeer_Counters) GetOutRouteWithdraw() uint64
- func (t *BgpPeer_Counters) GetOutRoutes() uint64
- func (t *BgpPeer_Counters) GetOutUpdates() uint64
- func (*BgpPeer_Counters) IsYANGGoStruct()
- func (t *BgpPeer_Counters) PopulateDefaults()
- func (t *BgpPeer_Counters) SetFlaps(v uint64)
- func (t *BgpPeer_Counters) SetInKeepalives(v uint64)
- func (t *BgpPeer_Counters) SetInNotifications(v uint64)
- func (t *BgpPeer_Counters) SetInOpens(v uint64)
- func (t *BgpPeer_Counters) SetInRouteWithdraw(v uint64)
- func (t *BgpPeer_Counters) SetInRoutes(v uint64)
- func (t *BgpPeer_Counters) SetInUpdates(v uint64)
- func (t *BgpPeer_Counters) SetOutKeepalives(v uint64)
- func (t *BgpPeer_Counters) SetOutNotifications(v uint64)
- func (t *BgpPeer_Counters) SetOutOpens(v uint64)
- func (t *BgpPeer_Counters) SetOutRouteWithdraw(v uint64)
- func (t *BgpPeer_Counters) SetOutRoutes(v uint64)
- func (t *BgpPeer_Counters) SetOutUpdates(v uint64)
- func (t *BgpPeer_Counters) Validate(opts ...ygot.ValidationOption) error
- func (*BgpPeer_Counters) ΛBelongingModule() string
- func (t *BgpPeer_Counters) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *BgpPeer_Counters) ΛValidate(opts ...ygot.ValidationOption) error
- type BgpPeer_UnicastIpv4Prefix
- func (t *BgpPeer_UnicastIpv4Prefix) GetAddress() string
- func (t *BgpPeer_UnicastIpv4Prefix) GetNextHopIpv4Address() string
- func (t *BgpPeer_UnicastIpv4Prefix) GetNextHopIpv6Address() string
- func (t *BgpPeer_UnicastIpv4Prefix) GetOrigin() E_UnicastIpv4Prefix_Origin
- func (t *BgpPeer_UnicastIpv4Prefix) GetPathId() uint32
- func (t *BgpPeer_UnicastIpv4Prefix) GetPrefixLength() uint32
- func (*BgpPeer_UnicastIpv4Prefix) IsYANGGoStruct()
- func (t *BgpPeer_UnicastIpv4Prefix) PopulateDefaults()
- func (t *BgpPeer_UnicastIpv4Prefix) SetAddress(v string)
- func (t *BgpPeer_UnicastIpv4Prefix) SetNextHopIpv4Address(v string)
- func (t *BgpPeer_UnicastIpv4Prefix) SetNextHopIpv6Address(v string)
- func (t *BgpPeer_UnicastIpv4Prefix) SetOrigin(v E_UnicastIpv4Prefix_Origin)
- func (t *BgpPeer_UnicastIpv4Prefix) SetPathId(v uint32)
- func (t *BgpPeer_UnicastIpv4Prefix) SetPrefixLength(v uint32)
- func (t *BgpPeer_UnicastIpv4Prefix) Validate(opts ...ygot.ValidationOption) error
- func (*BgpPeer_UnicastIpv4Prefix) ΛBelongingModule() string
- func (t *BgpPeer_UnicastIpv4Prefix) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *BgpPeer_UnicastIpv4Prefix) ΛListKeyMap() (map[string]interface{}, error)
- func (t *BgpPeer_UnicastIpv4Prefix) ΛValidate(opts ...ygot.ValidationOption) error
- type BgpPeer_UnicastIpv4Prefix_AsPath
- func (t *BgpPeer_UnicastIpv4Prefix_AsPath) GetAsNumbers() []uint32
- func (t *BgpPeer_UnicastIpv4Prefix_AsPath) GetSegmentType() E_State_SegmentType
- func (*BgpPeer_UnicastIpv4Prefix_AsPath) IsYANGGoStruct()
- func (t *BgpPeer_UnicastIpv4Prefix_AsPath) PopulateDefaults()
- func (t *BgpPeer_UnicastIpv4Prefix_AsPath) SetAsNumbers(v []uint32)
- func (t *BgpPeer_UnicastIpv4Prefix_AsPath) SetSegmentType(v E_State_SegmentType)
- func (t *BgpPeer_UnicastIpv4Prefix_AsPath) Validate(opts ...ygot.ValidationOption) error
- func (*BgpPeer_UnicastIpv4Prefix_AsPath) ΛBelongingModule() string
- func (t *BgpPeer_UnicastIpv4Prefix_AsPath) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *BgpPeer_UnicastIpv4Prefix_AsPath) ΛValidate(opts ...ygot.ValidationOption) error
- type BgpPeer_UnicastIpv4Prefix_Community
- func (t *BgpPeer_UnicastIpv4Prefix_Community) GetCommunityType() E_State_CommunityType
- func (t *BgpPeer_UnicastIpv4Prefix_Community) GetCustomAsNumber() uint16
- func (t *BgpPeer_UnicastIpv4Prefix_Community) GetCustomAsValue() uint16
- func (*BgpPeer_UnicastIpv4Prefix_Community) IsYANGGoStruct()
- func (t *BgpPeer_UnicastIpv4Prefix_Community) PopulateDefaults()
- func (t *BgpPeer_UnicastIpv4Prefix_Community) SetCommunityType(v E_State_CommunityType)
- func (t *BgpPeer_UnicastIpv4Prefix_Community) SetCustomAsNumber(v uint16)
- func (t *BgpPeer_UnicastIpv4Prefix_Community) SetCustomAsValue(v uint16)
- func (t *BgpPeer_UnicastIpv4Prefix_Community) Validate(opts ...ygot.ValidationOption) error
- func (*BgpPeer_UnicastIpv4Prefix_Community) ΛBelongingModule() string
- func (t *BgpPeer_UnicastIpv4Prefix_Community) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *BgpPeer_UnicastIpv4Prefix_Community) ΛValidate(opts ...ygot.ValidationOption) error
- type BgpPeer_UnicastIpv4Prefix_Key
- type BgpPeer_UnicastIpv6Prefix
- func (t *BgpPeer_UnicastIpv6Prefix) GetAddress() string
- func (t *BgpPeer_UnicastIpv6Prefix) GetNextHopIpv4Address() string
- func (t *BgpPeer_UnicastIpv6Prefix) GetNextHopIpv6Address() string
- func (t *BgpPeer_UnicastIpv6Prefix) GetOrigin() E_UnicastIpv6Prefix_Origin
- func (t *BgpPeer_UnicastIpv6Prefix) GetPathId() uint32
- func (t *BgpPeer_UnicastIpv6Prefix) GetPrefixLength() uint32
- func (*BgpPeer_UnicastIpv6Prefix) IsYANGGoStruct()
- func (t *BgpPeer_UnicastIpv6Prefix) PopulateDefaults()
- func (t *BgpPeer_UnicastIpv6Prefix) SetAddress(v string)
- func (t *BgpPeer_UnicastIpv6Prefix) SetNextHopIpv4Address(v string)
- func (t *BgpPeer_UnicastIpv6Prefix) SetNextHopIpv6Address(v string)
- func (t *BgpPeer_UnicastIpv6Prefix) SetOrigin(v E_UnicastIpv6Prefix_Origin)
- func (t *BgpPeer_UnicastIpv6Prefix) SetPathId(v uint32)
- func (t *BgpPeer_UnicastIpv6Prefix) SetPrefixLength(v uint32)
- func (t *BgpPeer_UnicastIpv6Prefix) Validate(opts ...ygot.ValidationOption) error
- func (*BgpPeer_UnicastIpv6Prefix) ΛBelongingModule() string
- func (t *BgpPeer_UnicastIpv6Prefix) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *BgpPeer_UnicastIpv6Prefix) ΛListKeyMap() (map[string]interface{}, error)
- func (t *BgpPeer_UnicastIpv6Prefix) ΛValidate(opts ...ygot.ValidationOption) error
- type BgpPeer_UnicastIpv6Prefix_AsPath
- func (t *BgpPeer_UnicastIpv6Prefix_AsPath) GetAsNumbers() []uint32
- func (t *BgpPeer_UnicastIpv6Prefix_AsPath) GetSegmentType() E_State_SegmentType
- func (*BgpPeer_UnicastIpv6Prefix_AsPath) IsYANGGoStruct()
- func (t *BgpPeer_UnicastIpv6Prefix_AsPath) PopulateDefaults()
- func (t *BgpPeer_UnicastIpv6Prefix_AsPath) SetAsNumbers(v []uint32)
- func (t *BgpPeer_UnicastIpv6Prefix_AsPath) SetSegmentType(v E_State_SegmentType)
- func (t *BgpPeer_UnicastIpv6Prefix_AsPath) Validate(opts ...ygot.ValidationOption) error
- func (*BgpPeer_UnicastIpv6Prefix_AsPath) ΛBelongingModule() string
- func (t *BgpPeer_UnicastIpv6Prefix_AsPath) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *BgpPeer_UnicastIpv6Prefix_AsPath) ΛValidate(opts ...ygot.ValidationOption) error
- type BgpPeer_UnicastIpv6Prefix_Community
- func (t *BgpPeer_UnicastIpv6Prefix_Community) GetCommunityType() E_State_CommunityType
- func (t *BgpPeer_UnicastIpv6Prefix_Community) GetCustomAsNumber() uint16
- func (t *BgpPeer_UnicastIpv6Prefix_Community) GetCustomAsValue() uint16
- func (*BgpPeer_UnicastIpv6Prefix_Community) IsYANGGoStruct()
- func (t *BgpPeer_UnicastIpv6Prefix_Community) PopulateDefaults()
- func (t *BgpPeer_UnicastIpv6Prefix_Community) SetCommunityType(v E_State_CommunityType)
- func (t *BgpPeer_UnicastIpv6Prefix_Community) SetCustomAsNumber(v uint16)
- func (t *BgpPeer_UnicastIpv6Prefix_Community) SetCustomAsValue(v uint16)
- func (t *BgpPeer_UnicastIpv6Prefix_Community) Validate(opts ...ygot.ValidationOption) error
- func (*BgpPeer_UnicastIpv6Prefix_Community) ΛBelongingModule() string
- func (t *BgpPeer_UnicastIpv6Prefix_Community) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *BgpPeer_UnicastIpv6Prefix_Community) ΛValidate(opts ...ygot.ValidationOption) error
- type BgpPeer_UnicastIpv6Prefix_Key
- type Binary
- type E_BgpPeer_SessionState
- type E_Capabilities_Name
- type E_Ero_Type
- type E_ExtendedIpv4Reachability_Prefix_RedistributionType
- type E_Ipv4ExternalReachability_Prefix_OriginType
- type E_Ipv4ExternalReachability_Prefix_RedistributionType
- type E_Ipv4Lsp_LabelIn
- type E_Ipv4Lsp_LabelOut
- type E_Ipv4Lsp_LastFlapReason
- type E_Ipv4Lsp_SessionStatus
- type E_Ipv6Reachability_Prefix_OriginType
- type E_Ipv6Reachability_Prefix_RedistributionType
- type E_Lacp_LacpActivityType
- type E_Lacp_LacpSynchronizationType
- type E_Lacp_LacpTimeoutType
- type E_Lag_OperStatus
- type E_LldpNeighbor_ChassisIdType
- type E_LldpNeighbor_PortIdType
- type E_Lsps_Flags
- type E_Lsps_PduType
- type E_Port_Link
- type E_Rro_ReportedLabel
- type E_State_CommunityType
- type E_State_Flags
- type E_State_SegmentType
- type E_Tags_ValueType
- type E_UnicastIpv4Prefix_Origin
- type E_UnicastIpv6Prefix_Origin
- type Flow
- func (t *Flow) AppendTaggedMetric(v *Flow_TaggedMetric) error
- func (t *Flow) DeleteTaggedMetric(NameValuePairs string)
- func (t *Flow) GetAverageLatency() uint64
- func (t *Flow) GetCounters() *Flow_Counters
- func (t *Flow) GetInFrameRate() Binary
- func (t *Flow) GetInRate() Binary
- func (t *Flow) GetLossPct() Binary
- func (t *Flow) GetMaximumLatency() uint64
- func (t *Flow) GetMinimumLatency() uint64
- func (t *Flow) GetName() string
- func (t *Flow) GetOrCreateCounters() *Flow_Counters
- func (t *Flow) GetOrCreateTaggedMetric(NameValuePairs string) *Flow_TaggedMetric
- func (t *Flow) GetOutFrameRate() Binary
- func (t *Flow) GetOutRate() Binary
- func (t *Flow) GetTaggedMetric(NameValuePairs string) *Flow_TaggedMetric
- func (t *Flow) GetTransmit() bool
- func (*Flow) IsYANGGoStruct()
- func (t *Flow) NewTaggedMetric(NameValuePairs string) (*Flow_TaggedMetric, error)
- func (t *Flow) PopulateDefaults()
- func (t *Flow) SetAverageLatency(v uint64)
- func (t *Flow) SetInFrameRate(v Binary)
- func (t *Flow) SetInRate(v Binary)
- func (t *Flow) SetLossPct(v Binary)
- func (t *Flow) SetMaximumLatency(v uint64)
- func (t *Flow) SetMinimumLatency(v uint64)
- func (t *Flow) SetName(v string)
- func (t *Flow) SetOutFrameRate(v Binary)
- func (t *Flow) SetOutRate(v Binary)
- func (t *Flow) SetTransmit(v bool)
- func (t *Flow) Validate(opts ...ygot.ValidationOption) error
- func (*Flow) ΛBelongingModule() string
- func (t *Flow) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Flow) ΛListKeyMap() (map[string]interface{}, error)
- func (t *Flow) ΛValidate(opts ...ygot.ValidationOption) error
- type Flow_Counters
- func (t *Flow_Counters) GetInOctets() uint64
- func (t *Flow_Counters) GetInPkts() uint64
- func (t *Flow_Counters) GetOutOctets() uint64
- func (t *Flow_Counters) GetOutPkts() uint64
- func (*Flow_Counters) IsYANGGoStruct()
- func (t *Flow_Counters) PopulateDefaults()
- func (t *Flow_Counters) SetInOctets(v uint64)
- func (t *Flow_Counters) SetInPkts(v uint64)
- func (t *Flow_Counters) SetOutOctets(v uint64)
- func (t *Flow_Counters) SetOutPkts(v uint64)
- func (t *Flow_Counters) Validate(opts ...ygot.ValidationOption) error
- func (*Flow_Counters) ΛBelongingModule() string
- func (t *Flow_Counters) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Flow_Counters) ΛValidate(opts ...ygot.ValidationOption) error
- type Flow_TaggedMetric
- func (t *Flow_TaggedMetric) GetCounters() *Flow_TaggedMetric_Counters
- func (t *Flow_TaggedMetric) GetNameValuePairs() string
- func (t *Flow_TaggedMetric) GetOrCreateCounters() *Flow_TaggedMetric_Counters
- func (*Flow_TaggedMetric) IsYANGGoStruct()
- func (t *Flow_TaggedMetric) PopulateDefaults()
- func (t *Flow_TaggedMetric) SetNameValuePairs(v string)
- func (t *Flow_TaggedMetric) Validate(opts ...ygot.ValidationOption) error
- func (*Flow_TaggedMetric) ΛBelongingModule() string
- func (t *Flow_TaggedMetric) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Flow_TaggedMetric) ΛListKeyMap() (map[string]interface{}, error)
- func (t *Flow_TaggedMetric) ΛValidate(opts ...ygot.ValidationOption) error
- type Flow_TaggedMetric_Counters
- func (t *Flow_TaggedMetric_Counters) GetInOctets() uint64
- func (t *Flow_TaggedMetric_Counters) GetInPkts() uint64
- func (t *Flow_TaggedMetric_Counters) GetOutOctets() uint64
- func (t *Flow_TaggedMetric_Counters) GetOutPkts() uint64
- func (*Flow_TaggedMetric_Counters) IsYANGGoStruct()
- func (t *Flow_TaggedMetric_Counters) PopulateDefaults()
- func (t *Flow_TaggedMetric_Counters) SetInOctets(v uint64)
- func (t *Flow_TaggedMetric_Counters) SetInPkts(v uint64)
- func (t *Flow_TaggedMetric_Counters) SetOutOctets(v uint64)
- func (t *Flow_TaggedMetric_Counters) SetOutPkts(v uint64)
- func (t *Flow_TaggedMetric_Counters) Validate(opts ...ygot.ValidationOption) error
- func (*Flow_TaggedMetric_Counters) ΛBelongingModule() string
- func (t *Flow_TaggedMetric_Counters) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Flow_TaggedMetric_Counters) ΛValidate(opts ...ygot.ValidationOption) error
- type Flow_TaggedMetric_Tags
- func (t *Flow_TaggedMetric_Tags) GetOrCreateTagValue() *Flow_TaggedMetric_Tags_TagValue
- func (t *Flow_TaggedMetric_Tags) GetTagName() string
- func (t *Flow_TaggedMetric_Tags) GetTagValue() *Flow_TaggedMetric_Tags_TagValue
- func (*Flow_TaggedMetric_Tags) IsYANGGoStruct()
- func (t *Flow_TaggedMetric_Tags) PopulateDefaults()
- func (t *Flow_TaggedMetric_Tags) SetTagName(v string)
- func (t *Flow_TaggedMetric_Tags) Validate(opts ...ygot.ValidationOption) error
- func (*Flow_TaggedMetric_Tags) ΛBelongingModule() string
- func (t *Flow_TaggedMetric_Tags) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Flow_TaggedMetric_Tags) ΛValidate(opts ...ygot.ValidationOption) error
- type Flow_TaggedMetric_Tags_TagValue
- func (t *Flow_TaggedMetric_Tags_TagValue) GetValueAsBool() bool
- func (t *Flow_TaggedMetric_Tags_TagValue) GetValueAsCounter64() uint64
- func (t *Flow_TaggedMetric_Tags_TagValue) GetValueAsFloat32() Binary
- func (t *Flow_TaggedMetric_Tags_TagValue) GetValueAsHex() string
- func (t *Flow_TaggedMetric_Tags_TagValue) GetValueAsIpv4() string
- func (t *Flow_TaggedMetric_Tags_TagValue) GetValueAsIpv6() string
- func (t *Flow_TaggedMetric_Tags_TagValue) GetValueAsMac() string
- func (t *Flow_TaggedMetric_Tags_TagValue) GetValueAsString() string
- func (t *Flow_TaggedMetric_Tags_TagValue) GetValueType() E_Tags_ValueType
- func (*Flow_TaggedMetric_Tags_TagValue) IsYANGGoStruct()
- func (t *Flow_TaggedMetric_Tags_TagValue) PopulateDefaults()
- func (t *Flow_TaggedMetric_Tags_TagValue) SetValueAsBool(v bool)
- func (t *Flow_TaggedMetric_Tags_TagValue) SetValueAsCounter64(v uint64)
- func (t *Flow_TaggedMetric_Tags_TagValue) SetValueAsFloat32(v Binary)
- func (t *Flow_TaggedMetric_Tags_TagValue) SetValueAsHex(v string)
- func (t *Flow_TaggedMetric_Tags_TagValue) SetValueAsIpv4(v string)
- func (t *Flow_TaggedMetric_Tags_TagValue) SetValueAsIpv6(v string)
- func (t *Flow_TaggedMetric_Tags_TagValue) SetValueAsMac(v string)
- func (t *Flow_TaggedMetric_Tags_TagValue) SetValueAsString(v string)
- func (t *Flow_TaggedMetric_Tags_TagValue) SetValueType(v E_Tags_ValueType)
- func (t *Flow_TaggedMetric_Tags_TagValue) Validate(opts ...ygot.ValidationOption) error
- func (*Flow_TaggedMetric_Tags_TagValue) ΛBelongingModule() string
- func (t *Flow_TaggedMetric_Tags_TagValue) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Flow_TaggedMetric_Tags_TagValue) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface
- func (t *Interface) AppendIpv4Neighbor(v *Interface_Ipv4Neighbor) error
- func (t *Interface) AppendIpv6Neighbor(v *Interface_Ipv6Neighbor) error
- func (t *Interface) DeleteIpv4Neighbor(Ipv4Address string)
- func (t *Interface) DeleteIpv6Neighbor(Ipv6Address string)
- func (t *Interface) GetIpv4Neighbor(Ipv4Address string) *Interface_Ipv4Neighbor
- func (t *Interface) GetIpv6Neighbor(Ipv6Address string) *Interface_Ipv6Neighbor
- func (t *Interface) GetName() string
- func (t *Interface) GetOrCreateIpv4Neighbor(Ipv4Address string) *Interface_Ipv4Neighbor
- func (t *Interface) GetOrCreateIpv6Neighbor(Ipv6Address string) *Interface_Ipv6Neighbor
- func (*Interface) IsYANGGoStruct()
- func (t *Interface) NewIpv4Neighbor(Ipv4Address string) (*Interface_Ipv4Neighbor, error)
- func (t *Interface) NewIpv6Neighbor(Ipv6Address string) (*Interface_Ipv6Neighbor, error)
- func (t *Interface) PopulateDefaults()
- func (t *Interface) SetName(v string)
- 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_Ipv4Neighbor
- func (t *Interface_Ipv4Neighbor) GetIpv4Address() string
- func (t *Interface_Ipv4Neighbor) GetLinkLayerAddress() string
- func (*Interface_Ipv4Neighbor) IsYANGGoStruct()
- func (t *Interface_Ipv4Neighbor) PopulateDefaults()
- func (t *Interface_Ipv4Neighbor) SetIpv4Address(v string)
- func (t *Interface_Ipv4Neighbor) SetLinkLayerAddress(v string)
- func (t *Interface_Ipv4Neighbor) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_Ipv4Neighbor) ΛBelongingModule() string
- func (t *Interface_Ipv4Neighbor) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_Ipv4Neighbor) ΛListKeyMap() (map[string]interface{}, error)
- func (t *Interface_Ipv4Neighbor) ΛValidate(opts ...ygot.ValidationOption) error
- type Interface_Ipv6Neighbor
- func (t *Interface_Ipv6Neighbor) GetIpv6Address() string
- func (t *Interface_Ipv6Neighbor) GetLinkLayerAddress() string
- func (*Interface_Ipv6Neighbor) IsYANGGoStruct()
- func (t *Interface_Ipv6Neighbor) PopulateDefaults()
- func (t *Interface_Ipv6Neighbor) SetIpv6Address(v string)
- func (t *Interface_Ipv6Neighbor) SetLinkLayerAddress(v string)
- func (t *Interface_Ipv6Neighbor) Validate(opts ...ygot.ValidationOption) error
- func (*Interface_Ipv6Neighbor) ΛBelongingModule() string
- func (t *Interface_Ipv6Neighbor) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Interface_Ipv6Neighbor) ΛListKeyMap() (map[string]interface{}, error)
- func (t *Interface_Ipv6Neighbor) ΛValidate(opts ...ygot.ValidationOption) error
- type IsisRouter
- func (t *IsisRouter) GetCounters() *IsisRouter_Counters
- func (t *IsisRouter) GetLinkStateDatabase() *IsisRouter_LinkStateDatabase
- func (t *IsisRouter) GetName() string
- func (t *IsisRouter) GetOrCreateCounters() *IsisRouter_Counters
- func (t *IsisRouter) GetOrCreateLinkStateDatabase() *IsisRouter_LinkStateDatabase
- func (*IsisRouter) IsYANGGoStruct()
- func (t *IsisRouter) PopulateDefaults()
- func (t *IsisRouter) SetName(v string)
- func (t *IsisRouter) Validate(opts ...ygot.ValidationOption) error
- func (*IsisRouter) ΛBelongingModule() string
- func (t *IsisRouter) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *IsisRouter) ΛListKeyMap() (map[string]interface{}, error)
- func (t *IsisRouter) ΛValidate(opts ...ygot.ValidationOption) error
- type IsisRouter_Counters
- func (t *IsisRouter_Counters) GetLevel1() *IsisRouter_Counters_Level1
- func (t *IsisRouter_Counters) GetLevel2() *IsisRouter_Counters_Level2
- func (t *IsisRouter_Counters) GetOrCreateLevel1() *IsisRouter_Counters_Level1
- func (t *IsisRouter_Counters) GetOrCreateLevel2() *IsisRouter_Counters_Level2
- func (*IsisRouter_Counters) IsYANGGoStruct()
- func (t *IsisRouter_Counters) PopulateDefaults()
- func (t *IsisRouter_Counters) Validate(opts ...ygot.ValidationOption) error
- func (*IsisRouter_Counters) ΛBelongingModule() string
- func (t *IsisRouter_Counters) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *IsisRouter_Counters) ΛValidate(opts ...ygot.ValidationOption) error
- type IsisRouter_Counters_Level1
- func (t *IsisRouter_Counters_Level1) GetDatabaseSize() uint64
- func (t *IsisRouter_Counters_Level1) GetInBcastHellos() uint64
- func (t *IsisRouter_Counters_Level1) GetInCsnp() uint64
- func (t *IsisRouter_Counters_Level1) GetInLsp() uint64
- func (t *IsisRouter_Counters_Level1) GetInP2PHellos() uint64
- func (t *IsisRouter_Counters_Level1) GetInPsnp() uint64
- func (t *IsisRouter_Counters_Level1) GetOutBcastHellos() uint64
- func (t *IsisRouter_Counters_Level1) GetOutCsnp() uint64
- func (t *IsisRouter_Counters_Level1) GetOutLsp() uint64
- func (t *IsisRouter_Counters_Level1) GetOutP2PHellos() uint64
- func (t *IsisRouter_Counters_Level1) GetOutPsnp() uint64
- func (t *IsisRouter_Counters_Level1) GetSessionsFlap() uint64
- func (t *IsisRouter_Counters_Level1) GetSessionsUp() uint64
- func (*IsisRouter_Counters_Level1) IsYANGGoStruct()
- func (t *IsisRouter_Counters_Level1) PopulateDefaults()
- func (t *IsisRouter_Counters_Level1) SetDatabaseSize(v uint64)
- func (t *IsisRouter_Counters_Level1) SetInBcastHellos(v uint64)
- func (t *IsisRouter_Counters_Level1) SetInCsnp(v uint64)
- func (t *IsisRouter_Counters_Level1) SetInLsp(v uint64)
- func (t *IsisRouter_Counters_Level1) SetInP2PHellos(v uint64)
- func (t *IsisRouter_Counters_Level1) SetInPsnp(v uint64)
- func (t *IsisRouter_Counters_Level1) SetOutBcastHellos(v uint64)
- func (t *IsisRouter_Counters_Level1) SetOutCsnp(v uint64)
- func (t *IsisRouter_Counters_Level1) SetOutLsp(v uint64)
- func (t *IsisRouter_Counters_Level1) SetOutP2PHellos(v uint64)
- func (t *IsisRouter_Counters_Level1) SetOutPsnp(v uint64)
- func (t *IsisRouter_Counters_Level1) SetSessionsFlap(v uint64)
- func (t *IsisRouter_Counters_Level1) SetSessionsUp(v uint64)
- func (t *IsisRouter_Counters_Level1) Validate(opts ...ygot.ValidationOption) error
- func (*IsisRouter_Counters_Level1) ΛBelongingModule() string
- func (t *IsisRouter_Counters_Level1) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *IsisRouter_Counters_Level1) ΛValidate(opts ...ygot.ValidationOption) error
- type IsisRouter_Counters_Level2
- func (t *IsisRouter_Counters_Level2) GetDatabaseSize() uint64
- func (t *IsisRouter_Counters_Level2) GetInBcastHellos() uint64
- func (t *IsisRouter_Counters_Level2) GetInCsnp() uint64
- func (t *IsisRouter_Counters_Level2) GetInLsp() uint64
- func (t *IsisRouter_Counters_Level2) GetInP2PHellos() uint64
- func (t *IsisRouter_Counters_Level2) GetInPsnp() uint64
- func (t *IsisRouter_Counters_Level2) GetOutBcastHellos() uint64
- func (t *IsisRouter_Counters_Level2) GetOutCsnp() uint64
- func (t *IsisRouter_Counters_Level2) GetOutLsp() uint64
- func (t *IsisRouter_Counters_Level2) GetOutP2PHellos() uint64
- func (t *IsisRouter_Counters_Level2) GetOutPsnp() uint64
- func (t *IsisRouter_Counters_Level2) GetSessionsFlap() uint64
- func (t *IsisRouter_Counters_Level2) GetSessionsUp() uint64
- func (*IsisRouter_Counters_Level2) IsYANGGoStruct()
- func (t *IsisRouter_Counters_Level2) PopulateDefaults()
- func (t *IsisRouter_Counters_Level2) SetDatabaseSize(v uint64)
- func (t *IsisRouter_Counters_Level2) SetInBcastHellos(v uint64)
- func (t *IsisRouter_Counters_Level2) SetInCsnp(v uint64)
- func (t *IsisRouter_Counters_Level2) SetInLsp(v uint64)
- func (t *IsisRouter_Counters_Level2) SetInP2PHellos(v uint64)
- func (t *IsisRouter_Counters_Level2) SetInPsnp(v uint64)
- func (t *IsisRouter_Counters_Level2) SetOutBcastHellos(v uint64)
- func (t *IsisRouter_Counters_Level2) SetOutCsnp(v uint64)
- func (t *IsisRouter_Counters_Level2) SetOutLsp(v uint64)
- func (t *IsisRouter_Counters_Level2) SetOutP2PHellos(v uint64)
- func (t *IsisRouter_Counters_Level2) SetOutPsnp(v uint64)
- func (t *IsisRouter_Counters_Level2) SetSessionsFlap(v uint64)
- func (t *IsisRouter_Counters_Level2) SetSessionsUp(v uint64)
- func (t *IsisRouter_Counters_Level2) Validate(opts ...ygot.ValidationOption) error
- func (*IsisRouter_Counters_Level2) ΛBelongingModule() string
- func (t *IsisRouter_Counters_Level2) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *IsisRouter_Counters_Level2) ΛValidate(opts ...ygot.ValidationOption) error
- type IsisRouter_LinkStateDatabase
- func (t *IsisRouter_LinkStateDatabase) AppendLsps(v *IsisRouter_LinkStateDatabase_Lsps) error
- func (t *IsisRouter_LinkStateDatabase) DeleteLsps(LspId string, PduType E_Lsps_PduType)
- func (t *IsisRouter_LinkStateDatabase) GetLsps(LspId string, PduType E_Lsps_PduType) *IsisRouter_LinkStateDatabase_Lsps
- func (t *IsisRouter_LinkStateDatabase) GetOrCreateLsps(LspId string, PduType E_Lsps_PduType) *IsisRouter_LinkStateDatabase_Lsps
- func (*IsisRouter_LinkStateDatabase) IsYANGGoStruct()
- func (t *IsisRouter_LinkStateDatabase) NewLsps(LspId string, PduType E_Lsps_PduType) (*IsisRouter_LinkStateDatabase_Lsps, error)
- func (t *IsisRouter_LinkStateDatabase) PopulateDefaults()
- func (t *IsisRouter_LinkStateDatabase) Validate(opts ...ygot.ValidationOption) error
- func (*IsisRouter_LinkStateDatabase) ΛBelongingModule() string
- func (t *IsisRouter_LinkStateDatabase) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *IsisRouter_LinkStateDatabase) ΛValidate(opts ...ygot.ValidationOption) error
- type IsisRouter_LinkStateDatabase_Lsps
- func (t *IsisRouter_LinkStateDatabase_Lsps) GetFlags() []E_Lsps_Flags
- func (t *IsisRouter_LinkStateDatabase_Lsps) GetIsType() uint8
- func (t *IsisRouter_LinkStateDatabase_Lsps) GetLspId() string
- func (t *IsisRouter_LinkStateDatabase_Lsps) GetOrCreateTlvs() *IsisRouter_LinkStateDatabase_Lsps_Tlvs
- func (t *IsisRouter_LinkStateDatabase_Lsps) GetPduLength() uint16
- func (t *IsisRouter_LinkStateDatabase_Lsps) GetPduType() E_Lsps_PduType
- func (t *IsisRouter_LinkStateDatabase_Lsps) GetRemainingLifetime() uint16
- func (t *IsisRouter_LinkStateDatabase_Lsps) GetSequenceNumber() uint32
- func (t *IsisRouter_LinkStateDatabase_Lsps) GetTlvs() *IsisRouter_LinkStateDatabase_Lsps_Tlvs
- func (*IsisRouter_LinkStateDatabase_Lsps) IsYANGGoStruct()
- func (t *IsisRouter_LinkStateDatabase_Lsps) PopulateDefaults()
- func (t *IsisRouter_LinkStateDatabase_Lsps) SetFlags(v []E_Lsps_Flags)
- func (t *IsisRouter_LinkStateDatabase_Lsps) SetIsType(v uint8)
- func (t *IsisRouter_LinkStateDatabase_Lsps) SetLspId(v string)
- func (t *IsisRouter_LinkStateDatabase_Lsps) SetPduLength(v uint16)
- func (t *IsisRouter_LinkStateDatabase_Lsps) SetPduType(v E_Lsps_PduType)
- func (t *IsisRouter_LinkStateDatabase_Lsps) SetRemainingLifetime(v uint16)
- func (t *IsisRouter_LinkStateDatabase_Lsps) SetSequenceNumber(v uint32)
- func (t *IsisRouter_LinkStateDatabase_Lsps) Validate(opts ...ygot.ValidationOption) error
- func (*IsisRouter_LinkStateDatabase_Lsps) ΛBelongingModule() string
- func (t *IsisRouter_LinkStateDatabase_Lsps) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *IsisRouter_LinkStateDatabase_Lsps) ΛListKeyMap() (map[string]interface{}, error)
- func (t *IsisRouter_LinkStateDatabase_Lsps) ΛValidate(opts ...ygot.ValidationOption) error
- type IsisRouter_LinkStateDatabase_Lsps_Key
- type IsisRouter_LinkStateDatabase_Lsps_Tlvs
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs) GetExtendedIpv4Reachability() *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs) GetExtendedIsReachability() *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs) GetHostnames() *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Hostnames
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs) GetIpv4ExternalReachability() *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs) GetIpv4InternalReachability() *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs) GetIpv6Reachability() *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs) GetIsReachability() *IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs) GetOrCreateExtendedIpv4Reachability() *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs) GetOrCreateExtendedIsReachability() *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs) GetOrCreateHostnames() *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Hostnames
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs) GetOrCreateIpv4ExternalReachability() *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs) GetOrCreateIpv4InternalReachability() *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs) GetOrCreateIpv6Reachability() *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs) GetOrCreateIsReachability() *IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability
- func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs) IsYANGGoStruct()
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs) PopulateDefaults()
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs) Validate(opts ...ygot.ValidationOption) error
- func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs) ΛBelongingModule() string
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs) ΛValidate(opts ...ygot.ValidationOption) error
- type IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability) AppendPrefix(v *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix) error
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability) DeletePrefix(Prefix string)
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability) GetOrCreatePrefix(Prefix string) *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability) GetPrefix(Prefix string) *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix
- func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability) IsYANGGoStruct()
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability) NewPrefix(Prefix string) (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix, error)
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability) PopulateDefaults()
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability) Validate(opts ...ygot.ValidationOption) error
- func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability) ΛBelongingModule() string
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability) ΛValidate(opts ...ygot.ValidationOption) error
- type IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix) GetMetric() uint32
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix) GetOrCreatePrefixAttributes() ...
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix) GetPrefix() string
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix) GetPrefixAttributes() ...
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix) GetPrefixLength() uint32
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix) GetRedistributionType() E_ExtendedIpv4Reachability_Prefix_RedistributionType
- func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix) IsYANGGoStruct()
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix) PopulateDefaults()
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix) SetMetric(v uint32)
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix) SetPrefix(v string)
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix) SetPrefixLength(v uint32)
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix) SetRedistributionType(v E_ExtendedIpv4Reachability_Prefix_RedistributionType)
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix) Validate(opts ...ygot.ValidationOption) error
- func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix) ΛBelongingModule() string
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix) ΛListKeyMap() (map[string]interface{}, error)
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix) ΛValidate(opts ...ygot.ValidationOption) error
- type IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix_PrefixAttributes
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix_PrefixAttributes) GetFlags() []E_State_Flags
- func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix_PrefixAttributes) IsYANGGoStruct()
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix_PrefixAttributes) PopulateDefaults()
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix_PrefixAttributes) SetFlags(v []E_State_Flags)
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix_PrefixAttributes) Validate(opts ...ygot.ValidationOption) error
- func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix_PrefixAttributes) ΛBelongingModule() string
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix_PrefixAttributes) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix_PrefixAttributes) ΛValidate(opts ...ygot.ValidationOption) error
- type IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability) AppendNeighbor(v *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability_Neighbor) error
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability) DeleteNeighbor(SystemId string)
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability) GetNeighbor(SystemId string) *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability_Neighbor
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability) GetOrCreateNeighbor(SystemId string) *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability_Neighbor
- func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability) IsYANGGoStruct()
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability) NewNeighbor(SystemId string) (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability_Neighbor, error)
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability) PopulateDefaults()
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability) Validate(opts ...ygot.ValidationOption) error
- func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability) ΛBelongingModule() string
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability) ΛValidate(opts ...ygot.ValidationOption) error
- type IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability_Neighbor
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability_Neighbor) GetSystemId() string
- func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability_Neighbor) IsYANGGoStruct()
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability_Neighbor) PopulateDefaults()
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability_Neighbor) SetSystemId(v string)
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability_Neighbor) Validate(opts ...ygot.ValidationOption) error
- func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability_Neighbor) ΛBelongingModule() string
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability_Neighbor) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability_Neighbor) ΛListKeyMap() (map[string]interface{}, error)
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability_Neighbor) ΛValidate(opts ...ygot.ValidationOption) error
- type IsisRouter_LinkStateDatabase_Lsps_Tlvs_Hostnames
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Hostnames) GetHostname() []string
- func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Hostnames) IsYANGGoStruct()
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Hostnames) PopulateDefaults()
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Hostnames) SetHostname(v []string)
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Hostnames) Validate(opts ...ygot.ValidationOption) error
- func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Hostnames) ΛBelongingModule() string
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Hostnames) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Hostnames) ΛValidate(opts ...ygot.ValidationOption) error
- type IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability) AppendPrefix(v *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix) error
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability) DeletePrefix(Prefix string)
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability) GetOrCreatePrefix(Prefix string) *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability) GetPrefix(Prefix string) *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix
- func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability) IsYANGGoStruct()
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability) NewPrefix(Prefix string) (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix, error)
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability) PopulateDefaults()
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability) Validate(opts ...ygot.ValidationOption) error
- func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability) ΛBelongingModule() string
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability) ΛValidate(opts ...ygot.ValidationOption) error
- type IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix) GetDefaultMetric() uint8
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix) GetOriginType() E_Ipv4ExternalReachability_Prefix_OriginType
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix) GetPrefix() string
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix) GetPrefixLength() uint32
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix) GetRedistributionType() E_Ipv4ExternalReachability_Prefix_RedistributionType
- func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix) IsYANGGoStruct()
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix) PopulateDefaults()
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix) SetDefaultMetric(v uint8)
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix) SetOriginType(v E_Ipv4ExternalReachability_Prefix_OriginType)
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix) SetPrefix(v string)
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix) SetPrefixLength(v uint32)
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix) SetRedistributionType(v E_Ipv4ExternalReachability_Prefix_RedistributionType)
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix) Validate(opts ...ygot.ValidationOption) error
- func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix) ΛBelongingModule() string
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix) ΛListKeyMap() (map[string]interface{}, error)
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix) ΛValidate(opts ...ygot.ValidationOption) error
- type IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability) AppendPrefix(v *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix) error
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability) DeletePrefix(Prefix string)
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability) GetOrCreatePrefix(Prefix string) *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability) GetPrefix(Prefix string) *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix
- func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability) IsYANGGoStruct()
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability) NewPrefix(Prefix string) (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix, error)
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability) PopulateDefaults()
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability) Validate(opts ...ygot.ValidationOption) error
- func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability) ΛBelongingModule() string
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability) ΛValidate(opts ...ygot.ValidationOption) error
- type IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix) GetDefaultMetric() uint8
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix) GetOriginType() E_Ipv4ExternalReachability_Prefix_OriginType
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix) GetPrefix() string
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix) GetPrefixLength() uint32
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix) GetRedistributionType() E_Ipv4ExternalReachability_Prefix_RedistributionType
- func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix) IsYANGGoStruct()
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix) PopulateDefaults()
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix) SetDefaultMetric(v uint8)
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix) SetOriginType(v E_Ipv4ExternalReachability_Prefix_OriginType)
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix) SetPrefix(v string)
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix) SetPrefixLength(v uint32)
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix) SetRedistributionType(v E_Ipv4ExternalReachability_Prefix_RedistributionType)
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix) Validate(opts ...ygot.ValidationOption) error
- func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix) ΛBelongingModule() string
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix) ΛListKeyMap() (map[string]interface{}, error)
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix) ΛValidate(opts ...ygot.ValidationOption) error
- type IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability) AppendPrefix(v *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix) error
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability) DeletePrefix(Prefix string)
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability) GetOrCreatePrefix(Prefix string) *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability) GetPrefix(Prefix string) *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix
- func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability) IsYANGGoStruct()
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability) NewPrefix(Prefix string) (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix, error)
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability) PopulateDefaults()
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability) Validate(opts ...ygot.ValidationOption) error
- func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability) ΛBelongingModule() string
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability) ΛValidate(opts ...ygot.ValidationOption) error
- type IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix) GetMetric() uint32
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix) GetOrCreatePrefixAttributes() ...
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix) GetOriginType() E_Ipv6Reachability_Prefix_OriginType
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix) GetPrefix() string
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix) GetPrefixAttributes() ...
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix) GetPrefixLength() uint32
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix) GetRedistributionType() E_Ipv6Reachability_Prefix_RedistributionType
- func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix) IsYANGGoStruct()
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix) PopulateDefaults()
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix) SetMetric(v uint32)
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix) SetOriginType(v E_Ipv6Reachability_Prefix_OriginType)
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix) SetPrefix(v string)
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix) SetPrefixLength(v uint32)
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix) SetRedistributionType(v E_Ipv6Reachability_Prefix_RedistributionType)
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix) Validate(opts ...ygot.ValidationOption) error
- func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix) ΛBelongingModule() string
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix) ΛListKeyMap() (map[string]interface{}, error)
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix) ΛValidate(opts ...ygot.ValidationOption) error
- type IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix_PrefixAttributes
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix_PrefixAttributes) GetFlags() []E_State_Flags
- func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix_PrefixAttributes) IsYANGGoStruct()
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix_PrefixAttributes) PopulateDefaults()
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix_PrefixAttributes) SetFlags(v []E_State_Flags)
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix_PrefixAttributes) Validate(opts ...ygot.ValidationOption) error
- func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix_PrefixAttributes) ΛBelongingModule() string
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix_PrefixAttributes) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix_PrefixAttributes) ΛValidate(opts ...ygot.ValidationOption) error
- type IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability) AppendNeighbor(v *IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability_Neighbor) error
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability) DeleteNeighbor(SystemId string)
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability) GetNeighbor(SystemId string) *IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability_Neighbor
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability) GetOrCreateNeighbor(SystemId string) *IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability_Neighbor
- func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability) IsYANGGoStruct()
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability) NewNeighbor(SystemId string) (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability_Neighbor, error)
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability) PopulateDefaults()
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability) Validate(opts ...ygot.ValidationOption) error
- func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability) ΛBelongingModule() string
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability) ΛValidate(opts ...ygot.ValidationOption) error
- type IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability_Neighbor
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability_Neighbor) GetSystemId() string
- func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability_Neighbor) IsYANGGoStruct()
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability_Neighbor) PopulateDefaults()
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability_Neighbor) SetSystemId(v string)
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability_Neighbor) Validate(opts ...ygot.ValidationOption) error
- func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability_Neighbor) ΛBelongingModule() string
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability_Neighbor) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability_Neighbor) ΛListKeyMap() (map[string]interface{}, error)
- func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability_Neighbor) ΛValidate(opts ...ygot.ValidationOption) error
- type Lacp
- func (t *Lacp) AppendLagMember(v *Lacp_LagMember) error
- func (t *Lacp) DeleteLagMember(Name string)
- func (t *Lacp) GetLagMember(Name string) *Lacp_LagMember
- func (t *Lacp) GetOrCreateLagMember(Name string) *Lacp_LagMember
- func (*Lacp) IsYANGGoStruct()
- func (t *Lacp) NewLagMember(Name string) (*Lacp_LagMember, error)
- func (t *Lacp) PopulateDefaults()
- func (t *Lacp) Validate(opts ...ygot.ValidationOption) error
- func (*Lacp) ΛBelongingModule() string
- func (t *Lacp) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Lacp) ΛValidate(opts ...ygot.ValidationOption) error
- type Lacp_LagMember
- func (t *Lacp_LagMember) GetActivity() E_Lacp_LacpActivityType
- func (t *Lacp_LagMember) GetAggregatable() bool
- func (t *Lacp_LagMember) GetCollecting() bool
- func (t *Lacp_LagMember) GetCounters() *Lacp_LagMember_Counters
- func (t *Lacp_LagMember) GetDistributing() bool
- func (t *Lacp_LagMember) GetName() string
- func (t *Lacp_LagMember) GetOperKey() uint16
- func (t *Lacp_LagMember) GetOrCreateCounters() *Lacp_LagMember_Counters
- func (t *Lacp_LagMember) GetPartnerId() string
- func (t *Lacp_LagMember) GetPartnerKey() uint16
- func (t *Lacp_LagMember) GetPartnerPortNum() uint16
- func (t *Lacp_LagMember) GetPortNum() uint16
- func (t *Lacp_LagMember) GetSynchronization() E_Lacp_LacpSynchronizationType
- func (t *Lacp_LagMember) GetSystemId() string
- func (t *Lacp_LagMember) GetTimeout() E_Lacp_LacpTimeoutType
- func (*Lacp_LagMember) IsYANGGoStruct()
- func (t *Lacp_LagMember) PopulateDefaults()
- func (t *Lacp_LagMember) SetActivity(v E_Lacp_LacpActivityType)
- func (t *Lacp_LagMember) SetAggregatable(v bool)
- func (t *Lacp_LagMember) SetCollecting(v bool)
- func (t *Lacp_LagMember) SetDistributing(v bool)
- func (t *Lacp_LagMember) SetName(v string)
- func (t *Lacp_LagMember) SetOperKey(v uint16)
- func (t *Lacp_LagMember) SetPartnerId(v string)
- func (t *Lacp_LagMember) SetPartnerKey(v uint16)
- func (t *Lacp_LagMember) SetPartnerPortNum(v uint16)
- func (t *Lacp_LagMember) SetPortNum(v uint16)
- func (t *Lacp_LagMember) SetSynchronization(v E_Lacp_LacpSynchronizationType)
- func (t *Lacp_LagMember) SetSystemId(v string)
- func (t *Lacp_LagMember) SetTimeout(v E_Lacp_LacpTimeoutType)
- func (t *Lacp_LagMember) Validate(opts ...ygot.ValidationOption) error
- func (*Lacp_LagMember) ΛBelongingModule() string
- func (t *Lacp_LagMember) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Lacp_LagMember) ΛListKeyMap() (map[string]interface{}, error)
- func (t *Lacp_LagMember) ΛValidate(opts ...ygot.ValidationOption) error
- type Lacp_LagMember_Counters
- func (t *Lacp_LagMember_Counters) GetLacpInPkts() uint64
- func (t *Lacp_LagMember_Counters) GetLacpOutPkts() uint64
- func (t *Lacp_LagMember_Counters) GetLacpRxErrors() uint64
- func (*Lacp_LagMember_Counters) IsYANGGoStruct()
- func (t *Lacp_LagMember_Counters) PopulateDefaults()
- func (t *Lacp_LagMember_Counters) SetLacpInPkts(v uint64)
- func (t *Lacp_LagMember_Counters) SetLacpOutPkts(v uint64)
- func (t *Lacp_LagMember_Counters) SetLacpRxErrors(v uint64)
- func (t *Lacp_LagMember_Counters) Validate(opts ...ygot.ValidationOption) error
- func (*Lacp_LagMember_Counters) ΛBelongingModule() string
- func (t *Lacp_LagMember_Counters) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Lacp_LagMember_Counters) ΛValidate(opts ...ygot.ValidationOption) error
- type Lag
- func (t *Lag) GetCounters() *Lag_Counters
- func (t *Lag) GetInRate() Binary
- func (t *Lag) GetName() string
- func (t *Lag) GetOperStatus() E_Lag_OperStatus
- func (t *Lag) GetOrCreateCounters() *Lag_Counters
- func (t *Lag) GetOutRate() Binary
- func (*Lag) IsYANGGoStruct()
- func (t *Lag) PopulateDefaults()
- func (t *Lag) SetInRate(v Binary)
- func (t *Lag) SetName(v string)
- func (t *Lag) SetOperStatus(v E_Lag_OperStatus)
- func (t *Lag) SetOutRate(v Binary)
- func (t *Lag) Validate(opts ...ygot.ValidationOption) error
- func (*Lag) ΛBelongingModule() string
- func (t *Lag) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Lag) ΛListKeyMap() (map[string]interface{}, error)
- func (t *Lag) ΛValidate(opts ...ygot.ValidationOption) error
- type Lag_Counters
- func (t *Lag_Counters) GetInFrames() uint64
- func (t *Lag_Counters) GetInOctets() uint64
- func (t *Lag_Counters) GetMemberPortsUp() uint64
- func (t *Lag_Counters) GetOutFrames() uint64
- func (t *Lag_Counters) GetOutOctets() uint64
- func (*Lag_Counters) IsYANGGoStruct()
- func (t *Lag_Counters) PopulateDefaults()
- func (t *Lag_Counters) SetInFrames(v uint64)
- func (t *Lag_Counters) SetInOctets(v uint64)
- func (t *Lag_Counters) SetMemberPortsUp(v uint64)
- func (t *Lag_Counters) SetOutFrames(v uint64)
- func (t *Lag_Counters) SetOutOctets(v uint64)
- func (t *Lag_Counters) Validate(opts ...ygot.ValidationOption) error
- func (*Lag_Counters) ΛBelongingModule() string
- func (t *Lag_Counters) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Lag_Counters) ΛValidate(opts ...ygot.ValidationOption) error
- type LldpInterface
- func (t *LldpInterface) GetCounters() *LldpInterface_Counters
- func (t *LldpInterface) GetLldpNeighborDatabase() *LldpInterface_LldpNeighborDatabase
- func (t *LldpInterface) GetName() string
- func (t *LldpInterface) GetOrCreateCounters() *LldpInterface_Counters
- func (t *LldpInterface) GetOrCreateLldpNeighborDatabase() *LldpInterface_LldpNeighborDatabase
- func (*LldpInterface) IsYANGGoStruct()
- func (t *LldpInterface) PopulateDefaults()
- func (t *LldpInterface) SetName(v string)
- func (t *LldpInterface) Validate(opts ...ygot.ValidationOption) error
- func (*LldpInterface) ΛBelongingModule() string
- func (t *LldpInterface) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *LldpInterface) ΛListKeyMap() (map[string]interface{}, error)
- func (t *LldpInterface) ΛValidate(opts ...ygot.ValidationOption) error
- type LldpInterface_Counters
- func (t *LldpInterface_Counters) GetFrameDiscard() uint64
- func (t *LldpInterface_Counters) GetFrameErrorIn() uint64
- func (t *LldpInterface_Counters) GetFrameIn() uint64
- func (t *LldpInterface_Counters) GetFrameOut() uint64
- func (t *LldpInterface_Counters) GetTlvDiscard() uint64
- func (t *LldpInterface_Counters) GetTlvUnknown() uint64
- func (*LldpInterface_Counters) IsYANGGoStruct()
- func (t *LldpInterface_Counters) PopulateDefaults()
- func (t *LldpInterface_Counters) SetFrameDiscard(v uint64)
- func (t *LldpInterface_Counters) SetFrameErrorIn(v uint64)
- func (t *LldpInterface_Counters) SetFrameIn(v uint64)
- func (t *LldpInterface_Counters) SetFrameOut(v uint64)
- func (t *LldpInterface_Counters) SetTlvDiscard(v uint64)
- func (t *LldpInterface_Counters) SetTlvUnknown(v uint64)
- func (t *LldpInterface_Counters) Validate(opts ...ygot.ValidationOption) error
- func (*LldpInterface_Counters) ΛBelongingModule() string
- func (t *LldpInterface_Counters) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *LldpInterface_Counters) ΛValidate(opts ...ygot.ValidationOption) error
- type LldpInterface_LldpNeighborDatabase
- func (t *LldpInterface_LldpNeighborDatabase) AppendLldpNeighbor(v *LldpInterface_LldpNeighborDatabase_LldpNeighbor) error
- func (t *LldpInterface_LldpNeighborDatabase) DeleteLldpNeighbor(NeighborId string)
- func (t *LldpInterface_LldpNeighborDatabase) GetLldpNeighbor(NeighborId string) *LldpInterface_LldpNeighborDatabase_LldpNeighbor
- func (t *LldpInterface_LldpNeighborDatabase) GetOrCreateLldpNeighbor(NeighborId string) *LldpInterface_LldpNeighborDatabase_LldpNeighbor
- func (*LldpInterface_LldpNeighborDatabase) IsYANGGoStruct()
- func (t *LldpInterface_LldpNeighborDatabase) NewLldpNeighbor(NeighborId string) (*LldpInterface_LldpNeighborDatabase_LldpNeighbor, error)
- func (t *LldpInterface_LldpNeighborDatabase) PopulateDefaults()
- func (t *LldpInterface_LldpNeighborDatabase) Validate(opts ...ygot.ValidationOption) error
- func (*LldpInterface_LldpNeighborDatabase) ΛBelongingModule() string
- func (t *LldpInterface_LldpNeighborDatabase) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *LldpInterface_LldpNeighborDatabase) ΛValidate(opts ...ygot.ValidationOption) error
- type LldpInterface_LldpNeighborDatabase_LldpNeighbor
- func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) AppendCapabilities(v *LldpInterface_LldpNeighborDatabase_LldpNeighbor_Capabilities) error
- func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) AppendCustomTlv(v *LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv) error
- func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) DeleteCapabilities(Name E_Capabilities_Name)
- func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) DeleteCustomTlv(CustomType uint32, Oui string, OuiSubtype string)
- func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) GetAge() uint32
- func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) GetCapabilities(Name E_Capabilities_Name) *LldpInterface_LldpNeighborDatabase_LldpNeighbor_Capabilities
- func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) GetChassisId() string
- func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) GetChassisIdType() E_LldpNeighbor_ChassisIdType
- func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) GetCustomTlv(CustomType uint32, Oui string, OuiSubtype string) *LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv
- func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) GetLastUpdate() uint32
- func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) GetManagementAddress() string
- func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) GetManagementAddressType() string
- func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) GetNeighborId() string
- func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) GetOrCreateCapabilities(Name E_Capabilities_Name) *LldpInterface_LldpNeighborDatabase_LldpNeighbor_Capabilities
- func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) GetOrCreateCustomTlv(CustomType uint32, Oui string, OuiSubtype string) *LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv
- func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) GetPortDescription() string
- func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) GetPortId() string
- func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) GetPortIdType() E_LldpNeighbor_PortIdType
- func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) GetSystemDescription() string
- func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) GetSystemName() string
- func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) GetTtl() uint32
- func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor) IsYANGGoStruct()
- func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) NewCapabilities(Name E_Capabilities_Name) (*LldpInterface_LldpNeighborDatabase_LldpNeighbor_Capabilities, error)
- func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) NewCustomTlv(CustomType uint32, Oui string, OuiSubtype string) (*LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv, error)
- func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) PopulateDefaults()
- func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) SetAge(v uint32)
- func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) SetChassisId(v string)
- func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) SetChassisIdType(v E_LldpNeighbor_ChassisIdType)
- func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) SetLastUpdate(v uint32)
- func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) SetManagementAddress(v string)
- func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) SetManagementAddressType(v string)
- func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) SetNeighborId(v string)
- func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) SetPortDescription(v string)
- func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) SetPortId(v string)
- func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) SetPortIdType(v E_LldpNeighbor_PortIdType)
- func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) SetSystemDescription(v string)
- func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) SetSystemName(v string)
- func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) SetTtl(v uint32)
- func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) Validate(opts ...ygot.ValidationOption) error
- func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor) ΛBelongingModule() string
- func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) ΛListKeyMap() (map[string]interface{}, error)
- func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) ΛValidate(opts ...ygot.ValidationOption) error
- type LldpInterface_LldpNeighborDatabase_LldpNeighbor_Capabilities
- func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor_Capabilities) GetEnabled() bool
- func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor_Capabilities) GetName() E_Capabilities_Name
- func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor_Capabilities) IsYANGGoStruct()
- func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor_Capabilities) PopulateDefaults()
- func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor_Capabilities) SetEnabled(v bool)
- func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor_Capabilities) SetName(v E_Capabilities_Name)
- func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor_Capabilities) Validate(opts ...ygot.ValidationOption) error
- func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor_Capabilities) ΛBelongingModule() string
- func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor_Capabilities) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor_Capabilities) ΛListKeyMap() (map[string]interface{}, error)
- func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor_Capabilities) ΛValidate(opts ...ygot.ValidationOption) error
- type LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv
- func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv) GetCustomType() uint32
- func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv) GetOui() string
- func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv) GetOuiSubtype() string
- func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv) IsYANGGoStruct()
- func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv) PopulateDefaults()
- func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv) SetCustomType(v uint32)
- func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv) SetOui(v string)
- func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv) SetOuiSubtype(v string)
- func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv) Validate(opts ...ygot.ValidationOption) error
- func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv) ΛBelongingModule() string
- func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv) ΛListKeyMap() (map[string]interface{}, error)
- func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv) ΛValidate(opts ...ygot.ValidationOption) error
- type LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv_Key
- type Port
- func (t *Port) GetCounters() *Port_Counters
- func (t *Port) GetInRate() Binary
- func (t *Port) GetLink() E_Port_Link
- func (t *Port) GetName() string
- func (t *Port) GetOrCreateCounters() *Port_Counters
- func (t *Port) GetOutRate() Binary
- func (*Port) IsYANGGoStruct()
- func (t *Port) PopulateDefaults()
- func (t *Port) SetInRate(v Binary)
- func (t *Port) SetLink(v E_Port_Link)
- func (t *Port) SetName(v string)
- func (t *Port) SetOutRate(v Binary)
- func (t *Port) Validate(opts ...ygot.ValidationOption) error
- func (*Port) ΛBelongingModule() string
- func (t *Port) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Port) ΛListKeyMap() (map[string]interface{}, error)
- func (t *Port) ΛValidate(opts ...ygot.ValidationOption) error
- type Port_Counters
- func (t *Port_Counters) GetInFrames() uint64
- func (t *Port_Counters) GetInOctets() uint64
- func (t *Port_Counters) GetOutFrames() uint64
- func (t *Port_Counters) GetOutOctets() uint64
- func (*Port_Counters) IsYANGGoStruct()
- func (t *Port_Counters) PopulateDefaults()
- func (t *Port_Counters) SetInFrames(v uint64)
- func (t *Port_Counters) SetInOctets(v uint64)
- func (t *Port_Counters) SetOutFrames(v uint64)
- func (t *Port_Counters) SetOutOctets(v uint64)
- func (t *Port_Counters) Validate(opts ...ygot.ValidationOption) error
- func (*Port_Counters) ΛBelongingModule() string
- func (t *Port_Counters) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Port_Counters) ΛValidate(opts ...ygot.ValidationOption) error
- type Root
- func (t *Root) AppendBgpPeer(v *BgpPeer) error
- func (t *Root) AppendFlow(v *Flow) error
- func (t *Root) AppendInterface(v *Interface) error
- func (t *Root) AppendIsisRouter(v *IsisRouter) error
- func (t *Root) AppendLag(v *Lag) error
- func (t *Root) AppendLldpInterface(v *LldpInterface) error
- func (t *Root) AppendPort(v *Port) error
- func (t *Root) AppendRsvpteRouter(v *RsvpteRouter) error
- func (t *Root) DeleteBgpPeer(Name string)
- func (t *Root) DeleteFlow(Name string)
- func (t *Root) DeleteInterface(Name string)
- func (t *Root) DeleteIsisRouter(Name string)
- func (t *Root) DeleteLag(Name string)
- func (t *Root) DeleteLldpInterface(Name string)
- func (t *Root) DeletePort(Name string)
- func (t *Root) DeleteRsvpteRouter(Name string)
- func (t *Root) GetBgpPeer(Name string) *BgpPeer
- func (t *Root) GetFlow(Name string) *Flow
- func (t *Root) GetInterface(Name string) *Interface
- func (t *Root) GetIsisRouter(Name string) *IsisRouter
- func (t *Root) GetLacp() *Lacp
- func (t *Root) GetLag(Name string) *Lag
- func (t *Root) GetLldpInterface(Name string) *LldpInterface
- func (t *Root) GetOrCreateBgpPeer(Name string) *BgpPeer
- func (t *Root) GetOrCreateFlow(Name string) *Flow
- func (t *Root) GetOrCreateInterface(Name string) *Interface
- func (t *Root) GetOrCreateIsisRouter(Name string) *IsisRouter
- func (t *Root) GetOrCreateLacp() *Lacp
- func (t *Root) GetOrCreateLag(Name string) *Lag
- func (t *Root) GetOrCreateLldpInterface(Name string) *LldpInterface
- func (t *Root) GetOrCreatePort(Name string) *Port
- func (t *Root) GetOrCreateRsvpteRouter(Name string) *RsvpteRouter
- func (t *Root) GetPort(Name string) *Port
- func (t *Root) GetRsvpteRouter(Name string) *RsvpteRouter
- func (*Root) IsYANGGoStruct()
- func (t *Root) NewBgpPeer(Name string) (*BgpPeer, error)
- func (t *Root) NewFlow(Name string) (*Flow, error)
- func (t *Root) NewInterface(Name string) (*Interface, error)
- func (t *Root) NewIsisRouter(Name string) (*IsisRouter, error)
- func (t *Root) NewLag(Name string) (*Lag, error)
- func (t *Root) NewLldpInterface(Name string) (*LldpInterface, error)
- func (t *Root) NewPort(Name string) (*Port, error)
- func (t *Root) NewRsvpteRouter(Name string) (*RsvpteRouter, error)
- func (t *Root) PopulateDefaults()
- func (t *Root) Validate(opts ...ygot.ValidationOption) error
- func (*Root) ΛBelongingModule() string
- func (t *Root) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Root) ΛValidate(opts ...ygot.ValidationOption) error
- type RsvpteRouter
- func (t *RsvpteRouter) GetCounters() *RsvpteRouter_Counters
- func (t *RsvpteRouter) GetLabelSwitchedPathDatabase() *RsvpteRouter_LabelSwitchedPathDatabase
- func (t *RsvpteRouter) GetName() string
- func (t *RsvpteRouter) GetOrCreateCounters() *RsvpteRouter_Counters
- func (t *RsvpteRouter) GetOrCreateLabelSwitchedPathDatabase() *RsvpteRouter_LabelSwitchedPathDatabase
- func (*RsvpteRouter) IsYANGGoStruct()
- func (t *RsvpteRouter) PopulateDefaults()
- func (t *RsvpteRouter) SetName(v string)
- func (t *RsvpteRouter) Validate(opts ...ygot.ValidationOption) error
- func (*RsvpteRouter) ΛBelongingModule() string
- func (t *RsvpteRouter) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *RsvpteRouter) ΛListKeyMap() (map[string]interface{}, error)
- func (t *RsvpteRouter) ΛValidate(opts ...ygot.ValidationOption) error
- type RsvpteRouter_Counters
- func (t *RsvpteRouter_Counters) GetEgressP2PLspsUp() uint64
- func (t *RsvpteRouter_Counters) GetInAcks() uint64
- func (t *RsvpteRouter_Counters) GetInBundles() uint64
- func (t *RsvpteRouter_Counters) GetInHellos() uint64
- func (t *RsvpteRouter_Counters) GetInNacks() uint64
- func (t *RsvpteRouter_Counters) GetInPathErrors() uint64
- func (t *RsvpteRouter_Counters) GetInPathTears() uint64
- func (t *RsvpteRouter_Counters) GetInPaths() uint64
- func (t *RsvpteRouter_Counters) GetInResvConfs() uint64
- func (t *RsvpteRouter_Counters) GetInResvErrors() uint64
- func (t *RsvpteRouter_Counters) GetInResvTears() uint64
- func (t *RsvpteRouter_Counters) GetInResvs() uint64
- func (t *RsvpteRouter_Counters) GetInSrefreshs() uint64
- func (t *RsvpteRouter_Counters) GetIngressP2PLspsConfigured() uint64
- func (t *RsvpteRouter_Counters) GetIngressP2PLspsUp() uint64
- func (t *RsvpteRouter_Counters) GetLspFlaps() uint64
- func (t *RsvpteRouter_Counters) GetOutAcks() uint64
- func (t *RsvpteRouter_Counters) GetOutBundles() uint64
- func (t *RsvpteRouter_Counters) GetOutHellos() uint64
- func (t *RsvpteRouter_Counters) GetOutNacks() uint64
- func (t *RsvpteRouter_Counters) GetOutPathErrors() uint64
- func (t *RsvpteRouter_Counters) GetOutPathReevaluationReqs() uint64
- func (t *RsvpteRouter_Counters) GetOutPathTears() uint64
- func (t *RsvpteRouter_Counters) GetOutPaths() uint64
- func (t *RsvpteRouter_Counters) GetOutResvConfs() uint64
- func (t *RsvpteRouter_Counters) GetOutResvErrors() uint64
- func (t *RsvpteRouter_Counters) GetOutResvTears() uint64
- func (t *RsvpteRouter_Counters) GetOutResvs() uint64
- func (t *RsvpteRouter_Counters) GetOutSrefreshs() uint64
- func (t *RsvpteRouter_Counters) GetPathReoptimizations() uint64
- func (*RsvpteRouter_Counters) IsYANGGoStruct()
- func (t *RsvpteRouter_Counters) PopulateDefaults()
- func (t *RsvpteRouter_Counters) SetEgressP2PLspsUp(v uint64)
- func (t *RsvpteRouter_Counters) SetInAcks(v uint64)
- func (t *RsvpteRouter_Counters) SetInBundles(v uint64)
- func (t *RsvpteRouter_Counters) SetInHellos(v uint64)
- func (t *RsvpteRouter_Counters) SetInNacks(v uint64)
- func (t *RsvpteRouter_Counters) SetInPathErrors(v uint64)
- func (t *RsvpteRouter_Counters) SetInPathTears(v uint64)
- func (t *RsvpteRouter_Counters) SetInPaths(v uint64)
- func (t *RsvpteRouter_Counters) SetInResvConfs(v uint64)
- func (t *RsvpteRouter_Counters) SetInResvErrors(v uint64)
- func (t *RsvpteRouter_Counters) SetInResvTears(v uint64)
- func (t *RsvpteRouter_Counters) SetInResvs(v uint64)
- func (t *RsvpteRouter_Counters) SetInSrefreshs(v uint64)
- func (t *RsvpteRouter_Counters) SetIngressP2PLspsConfigured(v uint64)
- func (t *RsvpteRouter_Counters) SetIngressP2PLspsUp(v uint64)
- func (t *RsvpteRouter_Counters) SetLspFlaps(v uint64)
- func (t *RsvpteRouter_Counters) SetOutAcks(v uint64)
- func (t *RsvpteRouter_Counters) SetOutBundles(v uint64)
- func (t *RsvpteRouter_Counters) SetOutHellos(v uint64)
- func (t *RsvpteRouter_Counters) SetOutNacks(v uint64)
- func (t *RsvpteRouter_Counters) SetOutPathErrors(v uint64)
- func (t *RsvpteRouter_Counters) SetOutPathReevaluationReqs(v uint64)
- func (t *RsvpteRouter_Counters) SetOutPathTears(v uint64)
- func (t *RsvpteRouter_Counters) SetOutPaths(v uint64)
- func (t *RsvpteRouter_Counters) SetOutResvConfs(v uint64)
- func (t *RsvpteRouter_Counters) SetOutResvErrors(v uint64)
- func (t *RsvpteRouter_Counters) SetOutResvTears(v uint64)
- func (t *RsvpteRouter_Counters) SetOutResvs(v uint64)
- func (t *RsvpteRouter_Counters) SetOutSrefreshs(v uint64)
- func (t *RsvpteRouter_Counters) SetPathReoptimizations(v uint64)
- func (t *RsvpteRouter_Counters) Validate(opts ...ygot.ValidationOption) error
- func (*RsvpteRouter_Counters) ΛBelongingModule() string
- func (t *RsvpteRouter_Counters) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *RsvpteRouter_Counters) ΛValidate(opts ...ygot.ValidationOption) error
- type RsvpteRouter_LabelSwitchedPathDatabase
- func (t *RsvpteRouter_LabelSwitchedPathDatabase) AppendIpv4Lsp(v *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) error
- func (t *RsvpteRouter_LabelSwitchedPathDatabase) DeleteIpv4Lsp(SourceAddress string, DestinationAddress string, TunnelId uint16, LspId uint16)
- func (t *RsvpteRouter_LabelSwitchedPathDatabase) GetIpv4Lsp(SourceAddress string, DestinationAddress string, TunnelId uint16, LspId uint16) *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp
- func (t *RsvpteRouter_LabelSwitchedPathDatabase) GetOrCreateIpv4Lsp(SourceAddress string, DestinationAddress string, TunnelId uint16, LspId uint16) *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp
- func (*RsvpteRouter_LabelSwitchedPathDatabase) IsYANGGoStruct()
- func (t *RsvpteRouter_LabelSwitchedPathDatabase) NewIpv4Lsp(SourceAddress string, DestinationAddress string, TunnelId uint16, LspId uint16) (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp, error)
- func (t *RsvpteRouter_LabelSwitchedPathDatabase) PopulateDefaults()
- func (t *RsvpteRouter_LabelSwitchedPathDatabase) Validate(opts ...ygot.ValidationOption) error
- func (*RsvpteRouter_LabelSwitchedPathDatabase) ΛBelongingModule() string
- func (t *RsvpteRouter_LabelSwitchedPathDatabase) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *RsvpteRouter_LabelSwitchedPathDatabase) ΛValidate(opts ...ygot.ValidationOption) error
- type RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp
- func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) AppendEro(v *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero) error
- func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) AppendRro(v *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro) error
- func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) DeleteEro(Index uint64)
- func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) DeleteRro(Index uint8)
- func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) GetDestinationAddress() string
- func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) GetEro(Index uint64) *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero
- func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) GetLabelIn() RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_LabelIn_Union
- func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) GetLabelOut() RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_LabelOut_Union
- func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) GetLastFlapReason() E_Ipv4Lsp_LastFlapReason
- func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) GetLspId() uint16
- func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) GetOrCreateEro(Index uint64) *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero
- func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) GetOrCreateRro(Index uint8) *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro
- func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) GetRro(Index uint8) *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro
- func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) GetSessionName() string
- func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) GetSessionStatus() E_Ipv4Lsp_SessionStatus
- func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) GetSourceAddress() string
- func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) GetTunnelId() uint16
- func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) GetUpTime() uint32
- func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) IsYANGGoStruct()
- func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) NewEro(Index uint64) (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero, error)
- func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) NewRro(Index uint8) (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro, error)
- func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) PopulateDefaults()
- func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) SetDestinationAddress(v string)
- func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) SetLabelIn(v RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_LabelIn_Union)
- func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) SetLabelOut(v RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_LabelOut_Union)
- func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) SetLastFlapReason(v E_Ipv4Lsp_LastFlapReason)
- func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) SetLspId(v uint16)
- func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) SetSessionName(v string)
- func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) SetSessionStatus(v E_Ipv4Lsp_SessionStatus)
- func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) SetSourceAddress(v string)
- func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) SetTunnelId(v uint16)
- func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) SetUpTime(v uint32)
- func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) To_RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_LabelIn_Union(i interface{}) (RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_LabelIn_Union, error)
- func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) To_RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_LabelOut_Union(i interface{}) (RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_LabelOut_Union, error)
- func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) Validate(opts ...ygot.ValidationOption) error
- func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) ΛBelongingModule() string
- func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) ΛListKeyMap() (map[string]interface{}, error)
- func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) ΛValidate(opts ...ygot.ValidationOption) error
- type RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero
- func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero) GetAsn() uint32
- func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero) GetIndex() uint64
- func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero) GetPrefix() string
- func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero) GetType() E_Ero_Type
- func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero) IsYANGGoStruct()
- func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero) PopulateDefaults()
- func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero) SetAsn(v uint32)
- func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero) SetIndex(v uint64)
- func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero) SetPrefix(v string)
- func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero) SetType(v E_Ero_Type)
- func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero) Validate(opts ...ygot.ValidationOption) error
- func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero) ΛBelongingModule() string
- func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero) ΛListKeyMap() (map[string]interface{}, error)
- func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero) ΛValidate(opts ...ygot.ValidationOption) error
- type RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Key
- type RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_LabelIn_Union
- type RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_LabelOut_Union
- type RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro
- func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro) GetAddress() string
- func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro) GetIndex() uint8
- func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro) GetReportedLabel() RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro_ReportedLabel_Union
- func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro) IsYANGGoStruct()
- func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro) PopulateDefaults()
- func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro) SetAddress(v string)
- func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro) SetIndex(v uint8)
- func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro) SetReportedLabel(v RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro_ReportedLabel_Union)
- func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro) To_RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro_ReportedLabel_Union(i interface{}) (RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro_ReportedLabel_Union, error)
- func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro) Validate(opts ...ygot.ValidationOption) error
- func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro) ΛBelongingModule() string
- func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro) ΛListKeyMap() (map[string]interface{}, error)
- func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro) ΛValidate(opts ...ygot.ValidationOption) error
- type RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro_ReportedLabel_Union
- type UnionBool
- type UnionFloat64
- type UnionInt16
- type UnionInt32
- type UnionInt64
- type UnionInt8
- type UnionString
- type UnionUint16
- type UnionUint32
- func (UnionUint32) Documentation_for_RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_LabelIn_Union()
- func (UnionUint32) Documentation_for_RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_LabelOut_Union()
- func (UnionUint32) Documentation_for_RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro_ReportedLabel_Union()
- type UnionUint64
- type UnionUint8
- type UnionUnsupported
- type YANGEmpty
Constants ¶
This section is empty.
Variables ¶
var ΛEnum = map[string]map[int64]ygot.EnumDefinition{
"E_BgpPeer_SessionState": {
1: {Name: "IDLE"},
2: {Name: "CONNECT"},
3: {Name: "ACTIVE"},
4: {Name: "OPEN_SENT"},
5: {Name: "OPEN_CONFIRM"},
6: {Name: "ESTABLISHED"},
},
"E_Capabilities_Name": {
1: {Name: "MAC_BRIDGE"},
2: {Name: "TWO_PORT_MAC_RELAY"},
3: {Name: "REPEATER"},
4: {Name: "DOCSIS_CABLE_DEVICE"},
5: {Name: "S_VLAN"},
6: {Name: "TELEPHONE"},
7: {Name: "OTHER"},
8: {Name: "ROUTER"},
9: {Name: "C_VLAN"},
10: {Name: "STATION_ONLY"},
11: {Name: "WLAN_ACCESS_POINT"},
},
"E_Ero_Type": {
1: {Name: "IPV4"},
2: {Name: "IPV6"},
3: {Name: "ASN"},
4: {Name: "ASN4"},
5: {Name: "LABEL"},
6: {Name: "UNNUMBERED_INTERFACE"},
},
"E_ExtendedIpv4Reachability_Prefix_RedistributionType": {
1: {Name: "UP"},
2: {Name: "DOWN"},
},
"E_Ipv4ExternalReachability_Prefix_OriginType": {
1: {Name: "INTERNAL"},
2: {Name: "EXTERNAL"},
},
"E_Ipv4ExternalReachability_Prefix_RedistributionType": {
1: {Name: "UP"},
2: {Name: "DOWN"},
},
"E_Ipv4Lsp_LabelIn": {
1: {Name: "IPV4_EXPLICIT_NULL"},
2: {Name: "ROUTER_ALERT"},
3: {Name: "IPV6_EXPLICIT_NULL"},
4: {Name: "IMPLICIT_NULL"},
8: {Name: "ENTROPY_LABEL_INDICATOR"},
9: {Name: "NO_LABEL"},
},
"E_Ipv4Lsp_LabelOut": {
1: {Name: "IPV4_EXPLICIT_NULL"},
2: {Name: "ROUTER_ALERT"},
3: {Name: "IPV6_EXPLICIT_NULL"},
4: {Name: "IMPLICIT_NULL"},
8: {Name: "ENTROPY_LABEL_INDICATOR"},
9: {Name: "NO_LABEL"},
},
"E_Ipv4Lsp_LastFlapReason": {
1: {Name: "RESVTEAR"},
2: {Name: "PATHTEAR"},
3: {Name: "PATHTIMEOUT"},
},
"E_Ipv4Lsp_SessionStatus": {
1: {Name: "UP"},
2: {Name: "DOWN"},
},
"E_Ipv6Reachability_Prefix_OriginType": {
1: {Name: "INTERNAL"},
2: {Name: "EXTERNAL"},
},
"E_Ipv6Reachability_Prefix_RedistributionType": {
1: {Name: "UP"},
2: {Name: "DOWN"},
},
"E_Lacp_LacpActivityType": {
1: {Name: "ACTIVE"},
2: {Name: "PASSIVE"},
},
"E_Lacp_LacpSynchronizationType": {
1: {Name: "IN_SYNC"},
2: {Name: "OUT_SYNC"},
},
"E_Lacp_LacpTimeoutType": {
1: {Name: "LONG"},
2: {Name: "SHORT"},
},
"E_Lag_OperStatus": {
1: {Name: "UP"},
2: {Name: "DOWN"},
},
"E_LldpNeighbor_ChassisIdType": {
1: {Name: "PORT_COMPONENT"},
2: {Name: "NETWORK_ADDRESS"},
3: {Name: "CHASSIS_COMPONENT"},
4: {Name: "MAC_ADDRESS"},
5: {Name: "INTERFACE_NAME"},
6: {Name: "LOCAL"},
7: {Name: "INTERFACE_ALIAS"},
},
"E_LldpNeighbor_PortIdType": {
1: {Name: "PORT_COMPONENT"},
2: {Name: "NETWORK_ADDRESS"},
3: {Name: "AGENT_CIRCUIT_ID"},
4: {Name: "MAC_ADDRESS"},
5: {Name: "INTERFACE_NAME"},
6: {Name: "LOCAL"},
7: {Name: "INTERFACE_ALIAS"},
},
"E_Lsps_Flags": {
1: {Name: "PARTITION_REPAIR"},
2: {Name: "ATTACHED_ERROR"},
3: {Name: "ATTACHED_EXPENSE"},
4: {Name: "ATTACHED_DELAY"},
5: {Name: "ATTACHED_DEFAULT"},
6: {Name: "OVERLOAD"},
},
"E_Lsps_PduType": {
1: {Name: "LEVEL_1"},
2: {Name: "LEVEL_2"},
},
"E_Port_Link": {
1: {Name: "UP"},
2: {Name: "DOWN"},
},
"E_Rro_ReportedLabel": {
1: {Name: "IPV4_EXPLICIT_NULL"},
2: {Name: "ROUTER_ALERT"},
3: {Name: "IPV6_EXPLICIT_NULL"},
4: {Name: "IMPLICIT_NULL"},
8: {Name: "ENTROPY_LABEL_INDICATOR"},
9: {Name: "NO_LABEL"},
},
"E_State_CommunityType": {
1: {Name: "MANUAL_AS_NUMBER"},
2: {Name: "NO_EXPORT"},
3: {Name: "NO_ADVERTISE"},
4: {Name: "NO_EXPORT_SUBCONFED"},
5: {Name: "LLGR_STALE"},
6: {Name: "NO_LLGR"},
},
"E_State_Flags": {
1: {Name: "EXTERNAL_FLAG"},
2: {Name: "READVERTISEMENT_FLAG"},
3: {Name: "NODE_FLAG"},
},
"E_State_SegmentType": {
1: {Name: "AS_SEQUENCE"},
2: {Name: "AS_SET"},
3: {Name: "AS_CONFED_SEQUENCE"},
4: {Name: "AS_CONFED_SET"},
},
"E_Tags_ValueType": {
1: {Name: "STRING"},
2: {Name: "HEX"},
3: {Name: "BOOL"},
4: {Name: "COUNTER64"},
5: {Name: "FLOAT32"},
6: {Name: "IPV4"},
7: {Name: "IPV6"},
8: {Name: "MAC"},
},
"E_UnicastIpv4Prefix_Origin": {
1: {Name: "IGP"},
2: {Name: "EGP"},
3: {Name: "INCOMPLETE"},
},
"E_UnicastIpv6Prefix_Origin": {
1: {Name: "IGP"},
2: {Name: "EGP"},
3: {Name: "INCOMPLETE"},
},
}
Λ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 BgpPeer ¶
type BgpPeer struct { Counters *BgpPeer_Counters `path:"state/counters" module:"open-traffic-generator-bgp/open-traffic-generator-bgp"` Name *string `` /* 174-byte string literal not displayed */ SessionState E_BgpPeer_SessionState `path:"state/session-state" module:"open-traffic-generator-bgp/open-traffic-generator-bgp"` UnicastIpv4Prefix map[BgpPeer_UnicastIpv4Prefix_Key]*BgpPeer_UnicastIpv4Prefix `path:"unicast-ipv4-prefixes/unicast-ipv4-prefix" module:"open-traffic-generator-bgp/open-traffic-generator-bgp"` UnicastIpv6Prefix map[BgpPeer_UnicastIpv6Prefix_Key]*BgpPeer_UnicastIpv6Prefix `path:"unicast-ipv6-prefixes/unicast-ipv6-prefix" module:"open-traffic-generator-bgp/open-traffic-generator-bgp"` }
BgpPeer represents the /open-traffic-generator-bgp/bgp-peers/bgp-peer YANG schema element.
func (*BgpPeer) AppendUnicastIpv4Prefix ¶
func (t *BgpPeer) AppendUnicastIpv4Prefix(v *BgpPeer_UnicastIpv4Prefix) error
AppendUnicastIpv4Prefix appends the supplied BgpPeer_UnicastIpv4Prefix struct to the list UnicastIpv4Prefix of BgpPeer. If the key value(s) specified in the supplied BgpPeer_UnicastIpv4Prefix already exist in the list, an error is returned.
func (*BgpPeer) AppendUnicastIpv6Prefix ¶
func (t *BgpPeer) AppendUnicastIpv6Prefix(v *BgpPeer_UnicastIpv6Prefix) error
AppendUnicastIpv6Prefix appends the supplied BgpPeer_UnicastIpv6Prefix struct to the list UnicastIpv6Prefix of BgpPeer. If the key value(s) specified in the supplied BgpPeer_UnicastIpv6Prefix already exist in the list, an error is returned.
func (*BgpPeer) DeleteUnicastIpv4Prefix ¶
func (t *BgpPeer) DeleteUnicastIpv4Prefix(Address string, PrefixLength uint32, Origin E_UnicastIpv4Prefix_Origin, PathId uint32)
DeleteUnicastIpv4Prefix deletes the value with the specified keys from the receiver BgpPeer. If there is no such element, the function is a no-op.
func (*BgpPeer) DeleteUnicastIpv6Prefix ¶
func (t *BgpPeer) DeleteUnicastIpv6Prefix(Address string, PrefixLength uint32, Origin E_UnicastIpv6Prefix_Origin, PathId uint32)
DeleteUnicastIpv6Prefix deletes the value with the specified keys from the receiver BgpPeer. If there is no such element, the function is a no-op.
func (*BgpPeer) GetCounters ¶
func (t *BgpPeer) GetCounters() *BgpPeer_Counters
GetCounters returns the value of the Counters struct pointer from BgpPeer. If the receiver or the field Counters is nil, nil is returned such that the Get* methods can be safely chained.
func (*BgpPeer) GetName ¶
GetName retrieves the value of the leaf Name from the BgpPeer struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without 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 (*BgpPeer) GetOrCreateCounters ¶
func (t *BgpPeer) GetOrCreateCounters() *BgpPeer_Counters
GetOrCreateCounters retrieves the value of the Counters field or returns the existing field if it already exists.
func (*BgpPeer) GetOrCreateUnicastIpv4Prefix ¶
func (t *BgpPeer) GetOrCreateUnicastIpv4Prefix(Address string, PrefixLength uint32, Origin E_UnicastIpv4Prefix_Origin, PathId uint32) *BgpPeer_UnicastIpv4Prefix
GetOrCreateUnicastIpv4Prefix retrieves the value with the specified keys from the receiver BgpPeer. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*BgpPeer) GetOrCreateUnicastIpv6Prefix ¶
func (t *BgpPeer) GetOrCreateUnicastIpv6Prefix(Address string, PrefixLength uint32, Origin E_UnicastIpv6Prefix_Origin, PathId uint32) *BgpPeer_UnicastIpv6Prefix
GetOrCreateUnicastIpv6Prefix retrieves the value with the specified keys from the receiver BgpPeer. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*BgpPeer) GetSessionState ¶
func (t *BgpPeer) GetSessionState() E_BgpPeer_SessionState
GetSessionState retrieves the value of the leaf SessionState from the BgpPeer struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without 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 (*BgpPeer) GetUnicastIpv4Prefix ¶
func (t *BgpPeer) GetUnicastIpv4Prefix(Address string, PrefixLength uint32, Origin E_UnicastIpv4Prefix_Origin, PathId uint32) *BgpPeer_UnicastIpv4Prefix
GetUnicastIpv4Prefix retrieves the value with the specified key from the UnicastIpv4Prefix map field of BgpPeer. 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 (*BgpPeer) GetUnicastIpv6Prefix ¶
func (t *BgpPeer) GetUnicastIpv6Prefix(Address string, PrefixLength uint32, Origin E_UnicastIpv6Prefix_Origin, PathId uint32) *BgpPeer_UnicastIpv6Prefix
GetUnicastIpv6Prefix retrieves the value with the specified key from the UnicastIpv6Prefix map field of BgpPeer. 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 (*BgpPeer) IsYANGGoStruct ¶
func (*BgpPeer) IsYANGGoStruct()
IsYANGGoStruct ensures that BgpPeer implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*BgpPeer) NewUnicastIpv4Prefix ¶
func (t *BgpPeer) NewUnicastIpv4Prefix(Address string, PrefixLength uint32, Origin E_UnicastIpv4Prefix_Origin, PathId uint32) (*BgpPeer_UnicastIpv4Prefix, error)
NewUnicastIpv4Prefix creates a new entry in the UnicastIpv4Prefix list of the BgpPeer struct. The keys of the list are populated from the input arguments.
func (*BgpPeer) NewUnicastIpv6Prefix ¶
func (t *BgpPeer) NewUnicastIpv6Prefix(Address string, PrefixLength uint32, Origin E_UnicastIpv6Prefix_Origin, PathId uint32) (*BgpPeer_UnicastIpv6Prefix, error)
NewUnicastIpv6Prefix creates a new entry in the UnicastIpv6Prefix list of the BgpPeer struct. The keys of the list are populated from the input arguments.
func (*BgpPeer) PopulateDefaults ¶
func (t *BgpPeer) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the BgpPeer with default values as specified in the YANG schema, instantiating any nil container fields.
func (*BgpPeer) SetSessionState ¶
func (t *BgpPeer) SetSessionState(v E_BgpPeer_SessionState)
SetSessionState sets the value of the leaf SessionState in the BgpPeer struct.
func (*BgpPeer) Validate ¶
func (t *BgpPeer) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*BgpPeer) ΛBelongingModule ¶
ΛBelongingModule returns the name of the module that defines the namespace of BgpPeer.
func (*BgpPeer) ΛEnumTypeMap ¶
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*BgpPeer) ΛListKeyMap ¶
ΛListKeyMap returns the keys of the BgpPeer struct, which is a YANG list entry.
type BgpPeer_Counters ¶
type BgpPeer_Counters struct { Flaps *uint64 `path:"flaps" module:"open-traffic-generator-bgp"` InKeepalives *uint64 `path:"in-keepalives" module:"open-traffic-generator-bgp"` InNotifications *uint64 `path:"in-notifications" module:"open-traffic-generator-bgp"` InOpens *uint64 `path:"in-opens" module:"open-traffic-generator-bgp"` InRouteWithdraw *uint64 `path:"in-route-withdraw" module:"open-traffic-generator-bgp"` InRoutes *uint64 `path:"in-routes" module:"open-traffic-generator-bgp"` InUpdates *uint64 `path:"in-updates" module:"open-traffic-generator-bgp"` OutKeepalives *uint64 `path:"out-keepalives" module:"open-traffic-generator-bgp"` OutNotifications *uint64 `path:"out-notifications" module:"open-traffic-generator-bgp"` OutOpens *uint64 `path:"out-opens" module:"open-traffic-generator-bgp"` OutRouteWithdraw *uint64 `path:"out-route-withdraw" module:"open-traffic-generator-bgp"` OutRoutes *uint64 `path:"out-routes" module:"open-traffic-generator-bgp"` OutUpdates *uint64 `path:"out-updates" module:"open-traffic-generator-bgp"` }
BgpPeer_Counters represents the /open-traffic-generator-bgp/bgp-peers/bgp-peer/state/counters YANG schema element.
func (*BgpPeer_Counters) GetFlaps ¶
func (t *BgpPeer_Counters) GetFlaps() uint64
GetFlaps retrieves the value of the leaf Flaps from the BgpPeer_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 Flaps is set, it can safely use t.GetFlaps() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Flaps == nil' before retrieving the leaf's value.
func (*BgpPeer_Counters) GetInKeepalives ¶
func (t *BgpPeer_Counters) GetInKeepalives() uint64
GetInKeepalives retrieves the value of the leaf InKeepalives from the BgpPeer_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 InKeepalives is set, it can safely use t.GetInKeepalives() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InKeepalives == nil' before retrieving the leaf's value.
func (*BgpPeer_Counters) GetInNotifications ¶
func (t *BgpPeer_Counters) GetInNotifications() uint64
GetInNotifications retrieves the value of the leaf InNotifications from the BgpPeer_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 InNotifications is set, it can safely use t.GetInNotifications() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InNotifications == nil' before retrieving the leaf's value.
func (*BgpPeer_Counters) GetInOpens ¶
func (t *BgpPeer_Counters) GetInOpens() uint64
GetInOpens retrieves the value of the leaf InOpens from the BgpPeer_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 InOpens is set, it can safely use t.GetInOpens() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InOpens == nil' before retrieving the leaf's value.
func (*BgpPeer_Counters) GetInRouteWithdraw ¶
func (t *BgpPeer_Counters) GetInRouteWithdraw() uint64
GetInRouteWithdraw retrieves the value of the leaf InRouteWithdraw from the BgpPeer_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 InRouteWithdraw is set, it can safely use t.GetInRouteWithdraw() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InRouteWithdraw == nil' before retrieving the leaf's value.
func (*BgpPeer_Counters) GetInRoutes ¶
func (t *BgpPeer_Counters) GetInRoutes() uint64
GetInRoutes retrieves the value of the leaf InRoutes from the BgpPeer_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 InRoutes is set, it can safely use t.GetInRoutes() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InRoutes == nil' before retrieving the leaf's value.
func (*BgpPeer_Counters) GetInUpdates ¶
func (t *BgpPeer_Counters) GetInUpdates() uint64
GetInUpdates retrieves the value of the leaf InUpdates from the BgpPeer_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 InUpdates is set, it can safely use t.GetInUpdates() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InUpdates == nil' before retrieving the leaf's value.
func (*BgpPeer_Counters) GetOutKeepalives ¶
func (t *BgpPeer_Counters) GetOutKeepalives() uint64
GetOutKeepalives retrieves the value of the leaf OutKeepalives from the BgpPeer_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 OutKeepalives is set, it can safely use t.GetOutKeepalives() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutKeepalives == nil' before retrieving the leaf's value.
func (*BgpPeer_Counters) GetOutNotifications ¶
func (t *BgpPeer_Counters) GetOutNotifications() uint64
GetOutNotifications retrieves the value of the leaf OutNotifications from the BgpPeer_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 OutNotifications is set, it can safely use t.GetOutNotifications() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutNotifications == nil' before retrieving the leaf's value.
func (*BgpPeer_Counters) GetOutOpens ¶
func (t *BgpPeer_Counters) GetOutOpens() uint64
GetOutOpens retrieves the value of the leaf OutOpens from the BgpPeer_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 OutOpens is set, it can safely use t.GetOutOpens() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutOpens == nil' before retrieving the leaf's value.
func (*BgpPeer_Counters) GetOutRouteWithdraw ¶
func (t *BgpPeer_Counters) GetOutRouteWithdraw() uint64
GetOutRouteWithdraw retrieves the value of the leaf OutRouteWithdraw from the BgpPeer_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 OutRouteWithdraw is set, it can safely use t.GetOutRouteWithdraw() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutRouteWithdraw == nil' before retrieving the leaf's value.
func (*BgpPeer_Counters) GetOutRoutes ¶
func (t *BgpPeer_Counters) GetOutRoutes() uint64
GetOutRoutes retrieves the value of the leaf OutRoutes from the BgpPeer_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 OutRoutes is set, it can safely use t.GetOutRoutes() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutRoutes == nil' before retrieving the leaf's value.
func (*BgpPeer_Counters) GetOutUpdates ¶
func (t *BgpPeer_Counters) GetOutUpdates() uint64
GetOutUpdates retrieves the value of the leaf OutUpdates from the BgpPeer_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 OutUpdates is set, it can safely use t.GetOutUpdates() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutUpdates == nil' before retrieving the leaf's value.
func (*BgpPeer_Counters) IsYANGGoStruct ¶
func (*BgpPeer_Counters) IsYANGGoStruct()
IsYANGGoStruct ensures that BgpPeer_Counters implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*BgpPeer_Counters) PopulateDefaults ¶
func (t *BgpPeer_Counters) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the BgpPeer_Counters with default values as specified in the YANG schema, instantiating any nil container fields.
func (*BgpPeer_Counters) SetFlaps ¶
func (t *BgpPeer_Counters) SetFlaps(v uint64)
SetFlaps sets the value of the leaf Flaps in the BgpPeer_Counters struct.
func (*BgpPeer_Counters) SetInKeepalives ¶
func (t *BgpPeer_Counters) SetInKeepalives(v uint64)
SetInKeepalives sets the value of the leaf InKeepalives in the BgpPeer_Counters struct.
func (*BgpPeer_Counters) SetInNotifications ¶
func (t *BgpPeer_Counters) SetInNotifications(v uint64)
SetInNotifications sets the value of the leaf InNotifications in the BgpPeer_Counters struct.
func (*BgpPeer_Counters) SetInOpens ¶
func (t *BgpPeer_Counters) SetInOpens(v uint64)
SetInOpens sets the value of the leaf InOpens in the BgpPeer_Counters struct.
func (*BgpPeer_Counters) SetInRouteWithdraw ¶
func (t *BgpPeer_Counters) SetInRouteWithdraw(v uint64)
SetInRouteWithdraw sets the value of the leaf InRouteWithdraw in the BgpPeer_Counters struct.
func (*BgpPeer_Counters) SetInRoutes ¶
func (t *BgpPeer_Counters) SetInRoutes(v uint64)
SetInRoutes sets the value of the leaf InRoutes in the BgpPeer_Counters struct.
func (*BgpPeer_Counters) SetInUpdates ¶
func (t *BgpPeer_Counters) SetInUpdates(v uint64)
SetInUpdates sets the value of the leaf InUpdates in the BgpPeer_Counters struct.
func (*BgpPeer_Counters) SetOutKeepalives ¶
func (t *BgpPeer_Counters) SetOutKeepalives(v uint64)
SetOutKeepalives sets the value of the leaf OutKeepalives in the BgpPeer_Counters struct.
func (*BgpPeer_Counters) SetOutNotifications ¶
func (t *BgpPeer_Counters) SetOutNotifications(v uint64)
SetOutNotifications sets the value of the leaf OutNotifications in the BgpPeer_Counters struct.
func (*BgpPeer_Counters) SetOutOpens ¶
func (t *BgpPeer_Counters) SetOutOpens(v uint64)
SetOutOpens sets the value of the leaf OutOpens in the BgpPeer_Counters struct.
func (*BgpPeer_Counters) SetOutRouteWithdraw ¶
func (t *BgpPeer_Counters) SetOutRouteWithdraw(v uint64)
SetOutRouteWithdraw sets the value of the leaf OutRouteWithdraw in the BgpPeer_Counters struct.
func (*BgpPeer_Counters) SetOutRoutes ¶
func (t *BgpPeer_Counters) SetOutRoutes(v uint64)
SetOutRoutes sets the value of the leaf OutRoutes in the BgpPeer_Counters struct.
func (*BgpPeer_Counters) SetOutUpdates ¶
func (t *BgpPeer_Counters) SetOutUpdates(v uint64)
SetOutUpdates sets the value of the leaf OutUpdates in the BgpPeer_Counters struct.
func (*BgpPeer_Counters) Validate ¶
func (t *BgpPeer_Counters) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*BgpPeer_Counters) ΛBelongingModule ¶
func (*BgpPeer_Counters) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of BgpPeer_Counters.
func (*BgpPeer_Counters) ΛEnumTypeMap ¶
func (t *BgpPeer_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 (*BgpPeer_Counters) ΛValidate ¶
func (t *BgpPeer_Counters) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type BgpPeer_UnicastIpv4Prefix ¶
type BgpPeer_UnicastIpv4Prefix struct { Address *string `` /* 183-byte string literal not displayed */ AsPath []*BgpPeer_UnicastIpv4Prefix_AsPath `path:"state/as-path" module:"open-traffic-generator-bgp/open-traffic-generator-bgp"` Community []*BgpPeer_UnicastIpv4Prefix_Community `path:"state/community" module:"open-traffic-generator-bgp/open-traffic-generator-bgp"` NextHopIpv4Address *string `path:"state/next-hop-ipv4-address" module:"open-traffic-generator-bgp/open-traffic-generator-bgp"` NextHopIpv6Address *string `path:"state/next-hop-ipv6-address" module:"open-traffic-generator-bgp/open-traffic-generator-bgp"` Origin E_UnicastIpv4Prefix_Origin `` /* 180-byte string literal not displayed */ PathId *uint32 `` /* 183-byte string literal not displayed */ PrefixLength *uint32 `` /* 201-byte string literal not displayed */ }
BgpPeer_UnicastIpv4Prefix represents the /open-traffic-generator-bgp/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix YANG schema element.
func (*BgpPeer_UnicastIpv4Prefix) GetAddress ¶
func (t *BgpPeer_UnicastIpv4Prefix) GetAddress() string
GetAddress retrieves the value of the leaf Address from the BgpPeer_UnicastIpv4Prefix struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Address is set, it can safely use t.GetAddress() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Address == nil' before retrieving the leaf's value.
func (*BgpPeer_UnicastIpv4Prefix) GetNextHopIpv4Address ¶
func (t *BgpPeer_UnicastIpv4Prefix) GetNextHopIpv4Address() string
GetNextHopIpv4Address retrieves the value of the leaf NextHopIpv4Address from the BgpPeer_UnicastIpv4Prefix struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if NextHopIpv4Address is set, it can safely use t.GetNextHopIpv4Address() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.NextHopIpv4Address == nil' before retrieving the leaf's value.
func (*BgpPeer_UnicastIpv4Prefix) GetNextHopIpv6Address ¶
func (t *BgpPeer_UnicastIpv4Prefix) GetNextHopIpv6Address() string
GetNextHopIpv6Address retrieves the value of the leaf NextHopIpv6Address from the BgpPeer_UnicastIpv4Prefix struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if NextHopIpv6Address is set, it can safely use t.GetNextHopIpv6Address() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.NextHopIpv6Address == nil' before retrieving the leaf's value.
func (*BgpPeer_UnicastIpv4Prefix) GetOrigin ¶
func (t *BgpPeer_UnicastIpv4Prefix) GetOrigin() E_UnicastIpv4Prefix_Origin
GetOrigin retrieves the value of the leaf Origin from the BgpPeer_UnicastIpv4Prefix struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without 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 (*BgpPeer_UnicastIpv4Prefix) GetPathId ¶
func (t *BgpPeer_UnicastIpv4Prefix) GetPathId() uint32
GetPathId retrieves the value of the leaf PathId from the BgpPeer_UnicastIpv4Prefix struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if PathId is set, it can safely use t.GetPathId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.PathId == nil' before retrieving the leaf's value.
func (*BgpPeer_UnicastIpv4Prefix) GetPrefixLength ¶
func (t *BgpPeer_UnicastIpv4Prefix) GetPrefixLength() uint32
GetPrefixLength retrieves the value of the leaf PrefixLength from the BgpPeer_UnicastIpv4Prefix struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without 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 (*BgpPeer_UnicastIpv4Prefix) IsYANGGoStruct ¶
func (*BgpPeer_UnicastIpv4Prefix) IsYANGGoStruct()
IsYANGGoStruct ensures that BgpPeer_UnicastIpv4Prefix implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*BgpPeer_UnicastIpv4Prefix) PopulateDefaults ¶
func (t *BgpPeer_UnicastIpv4Prefix) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the BgpPeer_UnicastIpv4Prefix with default values as specified in the YANG schema, instantiating any nil container fields.
func (*BgpPeer_UnicastIpv4Prefix) SetAddress ¶
func (t *BgpPeer_UnicastIpv4Prefix) SetAddress(v string)
SetAddress sets the value of the leaf Address in the BgpPeer_UnicastIpv4Prefix struct.
func (*BgpPeer_UnicastIpv4Prefix) SetNextHopIpv4Address ¶
func (t *BgpPeer_UnicastIpv4Prefix) SetNextHopIpv4Address(v string)
SetNextHopIpv4Address sets the value of the leaf NextHopIpv4Address in the BgpPeer_UnicastIpv4Prefix struct.
func (*BgpPeer_UnicastIpv4Prefix) SetNextHopIpv6Address ¶
func (t *BgpPeer_UnicastIpv4Prefix) SetNextHopIpv6Address(v string)
SetNextHopIpv6Address sets the value of the leaf NextHopIpv6Address in the BgpPeer_UnicastIpv4Prefix struct.
func (*BgpPeer_UnicastIpv4Prefix) SetOrigin ¶
func (t *BgpPeer_UnicastIpv4Prefix) SetOrigin(v E_UnicastIpv4Prefix_Origin)
SetOrigin sets the value of the leaf Origin in the BgpPeer_UnicastIpv4Prefix struct.
func (*BgpPeer_UnicastIpv4Prefix) SetPathId ¶
func (t *BgpPeer_UnicastIpv4Prefix) SetPathId(v uint32)
SetPathId sets the value of the leaf PathId in the BgpPeer_UnicastIpv4Prefix struct.
func (*BgpPeer_UnicastIpv4Prefix) SetPrefixLength ¶
func (t *BgpPeer_UnicastIpv4Prefix) SetPrefixLength(v uint32)
SetPrefixLength sets the value of the leaf PrefixLength in the BgpPeer_UnicastIpv4Prefix struct.
func (*BgpPeer_UnicastIpv4Prefix) Validate ¶
func (t *BgpPeer_UnicastIpv4Prefix) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*BgpPeer_UnicastIpv4Prefix) ΛBelongingModule ¶
func (*BgpPeer_UnicastIpv4Prefix) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of BgpPeer_UnicastIpv4Prefix.
func (*BgpPeer_UnicastIpv4Prefix) ΛEnumTypeMap ¶
func (t *BgpPeer_UnicastIpv4Prefix) Λ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 (*BgpPeer_UnicastIpv4Prefix) ΛListKeyMap ¶
func (t *BgpPeer_UnicastIpv4Prefix) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the BgpPeer_UnicastIpv4Prefix struct, which is a YANG list entry.
func (*BgpPeer_UnicastIpv4Prefix) ΛValidate ¶
func (t *BgpPeer_UnicastIpv4Prefix) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type BgpPeer_UnicastIpv4Prefix_AsPath ¶
type BgpPeer_UnicastIpv4Prefix_AsPath struct { AsNumbers []uint32 `path:"as_numbers" module:"open-traffic-generator-bgp"` SegmentType E_State_SegmentType `path:"segment-type" module:"open-traffic-generator-bgp"` }
BgpPeer_UnicastIpv4Prefix_AsPath represents the /open-traffic-generator-bgp/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix/state/as-path YANG schema element.
func (*BgpPeer_UnicastIpv4Prefix_AsPath) GetAsNumbers ¶
func (t *BgpPeer_UnicastIpv4Prefix_AsPath) GetAsNumbers() []uint32
GetAsNumbers retrieves the value of the leaf AsNumbers from the BgpPeer_UnicastIpv4Prefix_AsPath struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AsNumbers is set, it can safely use t.GetAsNumbers() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AsNumbers == nil' before retrieving the leaf's value.
func (*BgpPeer_UnicastIpv4Prefix_AsPath) GetSegmentType ¶
func (t *BgpPeer_UnicastIpv4Prefix_AsPath) GetSegmentType() E_State_SegmentType
GetSegmentType retrieves the value of the leaf SegmentType from the BgpPeer_UnicastIpv4Prefix_AsPath struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SegmentType is set, it can safely use t.GetSegmentType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SegmentType == nil' before retrieving the leaf's value.
func (*BgpPeer_UnicastIpv4Prefix_AsPath) IsYANGGoStruct ¶
func (*BgpPeer_UnicastIpv4Prefix_AsPath) IsYANGGoStruct()
IsYANGGoStruct ensures that BgpPeer_UnicastIpv4Prefix_AsPath implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*BgpPeer_UnicastIpv4Prefix_AsPath) PopulateDefaults ¶
func (t *BgpPeer_UnicastIpv4Prefix_AsPath) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the BgpPeer_UnicastIpv4Prefix_AsPath with default values as specified in the YANG schema, instantiating any nil container fields.
func (*BgpPeer_UnicastIpv4Prefix_AsPath) SetAsNumbers ¶
func (t *BgpPeer_UnicastIpv4Prefix_AsPath) SetAsNumbers(v []uint32)
SetAsNumbers sets the value of the leaf AsNumbers in the BgpPeer_UnicastIpv4Prefix_AsPath struct.
func (*BgpPeer_UnicastIpv4Prefix_AsPath) SetSegmentType ¶
func (t *BgpPeer_UnicastIpv4Prefix_AsPath) SetSegmentType(v E_State_SegmentType)
SetSegmentType sets the value of the leaf SegmentType in the BgpPeer_UnicastIpv4Prefix_AsPath struct.
func (*BgpPeer_UnicastIpv4Prefix_AsPath) Validate ¶
func (t *BgpPeer_UnicastIpv4Prefix_AsPath) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*BgpPeer_UnicastIpv4Prefix_AsPath) ΛBelongingModule ¶
func (*BgpPeer_UnicastIpv4Prefix_AsPath) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of BgpPeer_UnicastIpv4Prefix_AsPath.
func (*BgpPeer_UnicastIpv4Prefix_AsPath) ΛEnumTypeMap ¶
func (t *BgpPeer_UnicastIpv4Prefix_AsPath) Λ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 (*BgpPeer_UnicastIpv4Prefix_AsPath) ΛValidate ¶
func (t *BgpPeer_UnicastIpv4Prefix_AsPath) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type BgpPeer_UnicastIpv4Prefix_Community ¶
type BgpPeer_UnicastIpv4Prefix_Community struct { CommunityType E_State_CommunityType `path:"community-type" module:"open-traffic-generator-bgp"` CustomAsNumber *uint16 `path:"custom-as-number" module:"open-traffic-generator-bgp"` CustomAsValue *uint16 `path:"custom-as-value" module:"open-traffic-generator-bgp"` }
BgpPeer_UnicastIpv4Prefix_Community represents the /open-traffic-generator-bgp/bgp-peers/bgp-peer/unicast-ipv4-prefixes/unicast-ipv4-prefix/state/community YANG schema element.
func (*BgpPeer_UnicastIpv4Prefix_Community) GetCommunityType ¶
func (t *BgpPeer_UnicastIpv4Prefix_Community) GetCommunityType() E_State_CommunityType
GetCommunityType retrieves the value of the leaf CommunityType from the BgpPeer_UnicastIpv4Prefix_Community struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if CommunityType is set, it can safely use t.GetCommunityType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.CommunityType == nil' before retrieving the leaf's value.
func (*BgpPeer_UnicastIpv4Prefix_Community) GetCustomAsNumber ¶
func (t *BgpPeer_UnicastIpv4Prefix_Community) GetCustomAsNumber() uint16
GetCustomAsNumber retrieves the value of the leaf CustomAsNumber from the BgpPeer_UnicastIpv4Prefix_Community struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if CustomAsNumber is set, it can safely use t.GetCustomAsNumber() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.CustomAsNumber == nil' before retrieving the leaf's value.
func (*BgpPeer_UnicastIpv4Prefix_Community) GetCustomAsValue ¶
func (t *BgpPeer_UnicastIpv4Prefix_Community) GetCustomAsValue() uint16
GetCustomAsValue retrieves the value of the leaf CustomAsValue from the BgpPeer_UnicastIpv4Prefix_Community struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if CustomAsValue is set, it can safely use t.GetCustomAsValue() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.CustomAsValue == nil' before retrieving the leaf's value.
func (*BgpPeer_UnicastIpv4Prefix_Community) IsYANGGoStruct ¶
func (*BgpPeer_UnicastIpv4Prefix_Community) IsYANGGoStruct()
IsYANGGoStruct ensures that BgpPeer_UnicastIpv4Prefix_Community implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*BgpPeer_UnicastIpv4Prefix_Community) PopulateDefaults ¶
func (t *BgpPeer_UnicastIpv4Prefix_Community) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the BgpPeer_UnicastIpv4Prefix_Community with default values as specified in the YANG schema, instantiating any nil container fields.
func (*BgpPeer_UnicastIpv4Prefix_Community) SetCommunityType ¶
func (t *BgpPeer_UnicastIpv4Prefix_Community) SetCommunityType(v E_State_CommunityType)
SetCommunityType sets the value of the leaf CommunityType in the BgpPeer_UnicastIpv4Prefix_Community struct.
func (*BgpPeer_UnicastIpv4Prefix_Community) SetCustomAsNumber ¶
func (t *BgpPeer_UnicastIpv4Prefix_Community) SetCustomAsNumber(v uint16)
SetCustomAsNumber sets the value of the leaf CustomAsNumber in the BgpPeer_UnicastIpv4Prefix_Community struct.
func (*BgpPeer_UnicastIpv4Prefix_Community) SetCustomAsValue ¶
func (t *BgpPeer_UnicastIpv4Prefix_Community) SetCustomAsValue(v uint16)
SetCustomAsValue sets the value of the leaf CustomAsValue in the BgpPeer_UnicastIpv4Prefix_Community struct.
func (*BgpPeer_UnicastIpv4Prefix_Community) Validate ¶
func (t *BgpPeer_UnicastIpv4Prefix_Community) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*BgpPeer_UnicastIpv4Prefix_Community) ΛBelongingModule ¶
func (*BgpPeer_UnicastIpv4Prefix_Community) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of BgpPeer_UnicastIpv4Prefix_Community.
func (*BgpPeer_UnicastIpv4Prefix_Community) ΛEnumTypeMap ¶
func (t *BgpPeer_UnicastIpv4Prefix_Community) Λ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 (*BgpPeer_UnicastIpv4Prefix_Community) ΛValidate ¶
func (t *BgpPeer_UnicastIpv4Prefix_Community) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type BgpPeer_UnicastIpv4Prefix_Key ¶
type BgpPeer_UnicastIpv4Prefix_Key struct { Address string `path:"address"` PrefixLength uint32 `path:"prefix-length"` Origin E_UnicastIpv4Prefix_Origin `path:"origin"` PathId uint32 `path:"path-id"` }
BgpPeer_UnicastIpv4Prefix_Key represents the key for list UnicastIpv4Prefix of element /open-traffic-generator-bgp/bgp-peers/bgp-peer.
func (BgpPeer_UnicastIpv4Prefix_Key) IsYANGGoKeyStruct ¶
func (BgpPeer_UnicastIpv4Prefix_Key) IsYANGGoKeyStruct()
IsYANGGoKeyStruct ensures that BgpPeer_UnicastIpv4Prefix_Key partially implements the yang.GoKeyStruct interface. This allows functions that need to handle this key struct to identify it as being generated by gogen.
func (BgpPeer_UnicastIpv4Prefix_Key) ΛListKeyMap ¶
func (t BgpPeer_UnicastIpv4Prefix_Key) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the values of the BgpPeer_UnicastIpv4Prefix_Key key struct.
type BgpPeer_UnicastIpv6Prefix ¶
type BgpPeer_UnicastIpv6Prefix struct { Address *string `` /* 183-byte string literal not displayed */ AsPath []*BgpPeer_UnicastIpv6Prefix_AsPath `path:"state/as-path" module:"open-traffic-generator-bgp/open-traffic-generator-bgp"` Community []*BgpPeer_UnicastIpv6Prefix_Community `path:"state/community" module:"open-traffic-generator-bgp/open-traffic-generator-bgp"` NextHopIpv4Address *string `path:"state/next-hop-ipv4-address" module:"open-traffic-generator-bgp/open-traffic-generator-bgp"` NextHopIpv6Address *string `path:"state/next-hop-ipv6-address" module:"open-traffic-generator-bgp/open-traffic-generator-bgp"` Origin E_UnicastIpv6Prefix_Origin `` /* 180-byte string literal not displayed */ PathId *uint32 `` /* 183-byte string literal not displayed */ PrefixLength *uint32 `` /* 201-byte string literal not displayed */ }
BgpPeer_UnicastIpv6Prefix represents the /open-traffic-generator-bgp/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix YANG schema element.
func (*BgpPeer_UnicastIpv6Prefix) GetAddress ¶
func (t *BgpPeer_UnicastIpv6Prefix) GetAddress() string
GetAddress retrieves the value of the leaf Address from the BgpPeer_UnicastIpv6Prefix struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Address is set, it can safely use t.GetAddress() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Address == nil' before retrieving the leaf's value.
func (*BgpPeer_UnicastIpv6Prefix) GetNextHopIpv4Address ¶
func (t *BgpPeer_UnicastIpv6Prefix) GetNextHopIpv4Address() string
GetNextHopIpv4Address retrieves the value of the leaf NextHopIpv4Address from the BgpPeer_UnicastIpv6Prefix struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if NextHopIpv4Address is set, it can safely use t.GetNextHopIpv4Address() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.NextHopIpv4Address == nil' before retrieving the leaf's value.
func (*BgpPeer_UnicastIpv6Prefix) GetNextHopIpv6Address ¶
func (t *BgpPeer_UnicastIpv6Prefix) GetNextHopIpv6Address() string
GetNextHopIpv6Address retrieves the value of the leaf NextHopIpv6Address from the BgpPeer_UnicastIpv6Prefix struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if NextHopIpv6Address is set, it can safely use t.GetNextHopIpv6Address() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.NextHopIpv6Address == nil' before retrieving the leaf's value.
func (*BgpPeer_UnicastIpv6Prefix) GetOrigin ¶
func (t *BgpPeer_UnicastIpv6Prefix) GetOrigin() E_UnicastIpv6Prefix_Origin
GetOrigin retrieves the value of the leaf Origin from the BgpPeer_UnicastIpv6Prefix struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without 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 (*BgpPeer_UnicastIpv6Prefix) GetPathId ¶
func (t *BgpPeer_UnicastIpv6Prefix) GetPathId() uint32
GetPathId retrieves the value of the leaf PathId from the BgpPeer_UnicastIpv6Prefix struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if PathId is set, it can safely use t.GetPathId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.PathId == nil' before retrieving the leaf's value.
func (*BgpPeer_UnicastIpv6Prefix) GetPrefixLength ¶
func (t *BgpPeer_UnicastIpv6Prefix) GetPrefixLength() uint32
GetPrefixLength retrieves the value of the leaf PrefixLength from the BgpPeer_UnicastIpv6Prefix struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without 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 (*BgpPeer_UnicastIpv6Prefix) IsYANGGoStruct ¶
func (*BgpPeer_UnicastIpv6Prefix) IsYANGGoStruct()
IsYANGGoStruct ensures that BgpPeer_UnicastIpv6Prefix implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*BgpPeer_UnicastIpv6Prefix) PopulateDefaults ¶
func (t *BgpPeer_UnicastIpv6Prefix) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the BgpPeer_UnicastIpv6Prefix with default values as specified in the YANG schema, instantiating any nil container fields.
func (*BgpPeer_UnicastIpv6Prefix) SetAddress ¶
func (t *BgpPeer_UnicastIpv6Prefix) SetAddress(v string)
SetAddress sets the value of the leaf Address in the BgpPeer_UnicastIpv6Prefix struct.
func (*BgpPeer_UnicastIpv6Prefix) SetNextHopIpv4Address ¶
func (t *BgpPeer_UnicastIpv6Prefix) SetNextHopIpv4Address(v string)
SetNextHopIpv4Address sets the value of the leaf NextHopIpv4Address in the BgpPeer_UnicastIpv6Prefix struct.
func (*BgpPeer_UnicastIpv6Prefix) SetNextHopIpv6Address ¶
func (t *BgpPeer_UnicastIpv6Prefix) SetNextHopIpv6Address(v string)
SetNextHopIpv6Address sets the value of the leaf NextHopIpv6Address in the BgpPeer_UnicastIpv6Prefix struct.
func (*BgpPeer_UnicastIpv6Prefix) SetOrigin ¶
func (t *BgpPeer_UnicastIpv6Prefix) SetOrigin(v E_UnicastIpv6Prefix_Origin)
SetOrigin sets the value of the leaf Origin in the BgpPeer_UnicastIpv6Prefix struct.
func (*BgpPeer_UnicastIpv6Prefix) SetPathId ¶
func (t *BgpPeer_UnicastIpv6Prefix) SetPathId(v uint32)
SetPathId sets the value of the leaf PathId in the BgpPeer_UnicastIpv6Prefix struct.
func (*BgpPeer_UnicastIpv6Prefix) SetPrefixLength ¶
func (t *BgpPeer_UnicastIpv6Prefix) SetPrefixLength(v uint32)
SetPrefixLength sets the value of the leaf PrefixLength in the BgpPeer_UnicastIpv6Prefix struct.
func (*BgpPeer_UnicastIpv6Prefix) Validate ¶
func (t *BgpPeer_UnicastIpv6Prefix) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*BgpPeer_UnicastIpv6Prefix) ΛBelongingModule ¶
func (*BgpPeer_UnicastIpv6Prefix) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of BgpPeer_UnicastIpv6Prefix.
func (*BgpPeer_UnicastIpv6Prefix) ΛEnumTypeMap ¶
func (t *BgpPeer_UnicastIpv6Prefix) Λ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 (*BgpPeer_UnicastIpv6Prefix) ΛListKeyMap ¶
func (t *BgpPeer_UnicastIpv6Prefix) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the BgpPeer_UnicastIpv6Prefix struct, which is a YANG list entry.
func (*BgpPeer_UnicastIpv6Prefix) ΛValidate ¶
func (t *BgpPeer_UnicastIpv6Prefix) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type BgpPeer_UnicastIpv6Prefix_AsPath ¶
type BgpPeer_UnicastIpv6Prefix_AsPath struct { AsNumbers []uint32 `path:"as_numbers" module:"open-traffic-generator-bgp"` SegmentType E_State_SegmentType `path:"segment-type" module:"open-traffic-generator-bgp"` }
BgpPeer_UnicastIpv6Prefix_AsPath represents the /open-traffic-generator-bgp/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix/state/as-path YANG schema element.
func (*BgpPeer_UnicastIpv6Prefix_AsPath) GetAsNumbers ¶
func (t *BgpPeer_UnicastIpv6Prefix_AsPath) GetAsNumbers() []uint32
GetAsNumbers retrieves the value of the leaf AsNumbers from the BgpPeer_UnicastIpv6Prefix_AsPath struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AsNumbers is set, it can safely use t.GetAsNumbers() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AsNumbers == nil' before retrieving the leaf's value.
func (*BgpPeer_UnicastIpv6Prefix_AsPath) GetSegmentType ¶
func (t *BgpPeer_UnicastIpv6Prefix_AsPath) GetSegmentType() E_State_SegmentType
GetSegmentType retrieves the value of the leaf SegmentType from the BgpPeer_UnicastIpv6Prefix_AsPath struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SegmentType is set, it can safely use t.GetSegmentType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SegmentType == nil' before retrieving the leaf's value.
func (*BgpPeer_UnicastIpv6Prefix_AsPath) IsYANGGoStruct ¶
func (*BgpPeer_UnicastIpv6Prefix_AsPath) IsYANGGoStruct()
IsYANGGoStruct ensures that BgpPeer_UnicastIpv6Prefix_AsPath implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*BgpPeer_UnicastIpv6Prefix_AsPath) PopulateDefaults ¶
func (t *BgpPeer_UnicastIpv6Prefix_AsPath) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the BgpPeer_UnicastIpv6Prefix_AsPath with default values as specified in the YANG schema, instantiating any nil container fields.
func (*BgpPeer_UnicastIpv6Prefix_AsPath) SetAsNumbers ¶
func (t *BgpPeer_UnicastIpv6Prefix_AsPath) SetAsNumbers(v []uint32)
SetAsNumbers sets the value of the leaf AsNumbers in the BgpPeer_UnicastIpv6Prefix_AsPath struct.
func (*BgpPeer_UnicastIpv6Prefix_AsPath) SetSegmentType ¶
func (t *BgpPeer_UnicastIpv6Prefix_AsPath) SetSegmentType(v E_State_SegmentType)
SetSegmentType sets the value of the leaf SegmentType in the BgpPeer_UnicastIpv6Prefix_AsPath struct.
func (*BgpPeer_UnicastIpv6Prefix_AsPath) Validate ¶
func (t *BgpPeer_UnicastIpv6Prefix_AsPath) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*BgpPeer_UnicastIpv6Prefix_AsPath) ΛBelongingModule ¶
func (*BgpPeer_UnicastIpv6Prefix_AsPath) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of BgpPeer_UnicastIpv6Prefix_AsPath.
func (*BgpPeer_UnicastIpv6Prefix_AsPath) ΛEnumTypeMap ¶
func (t *BgpPeer_UnicastIpv6Prefix_AsPath) Λ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 (*BgpPeer_UnicastIpv6Prefix_AsPath) ΛValidate ¶
func (t *BgpPeer_UnicastIpv6Prefix_AsPath) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type BgpPeer_UnicastIpv6Prefix_Community ¶
type BgpPeer_UnicastIpv6Prefix_Community struct { CommunityType E_State_CommunityType `path:"community-type" module:"open-traffic-generator-bgp"` CustomAsNumber *uint16 `path:"custom-as-number" module:"open-traffic-generator-bgp"` CustomAsValue *uint16 `path:"custom-as-value" module:"open-traffic-generator-bgp"` }
BgpPeer_UnicastIpv6Prefix_Community represents the /open-traffic-generator-bgp/bgp-peers/bgp-peer/unicast-ipv6-prefixes/unicast-ipv6-prefix/state/community YANG schema element.
func (*BgpPeer_UnicastIpv6Prefix_Community) GetCommunityType ¶
func (t *BgpPeer_UnicastIpv6Prefix_Community) GetCommunityType() E_State_CommunityType
GetCommunityType retrieves the value of the leaf CommunityType from the BgpPeer_UnicastIpv6Prefix_Community struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if CommunityType is set, it can safely use t.GetCommunityType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.CommunityType == nil' before retrieving the leaf's value.
func (*BgpPeer_UnicastIpv6Prefix_Community) GetCustomAsNumber ¶
func (t *BgpPeer_UnicastIpv6Prefix_Community) GetCustomAsNumber() uint16
GetCustomAsNumber retrieves the value of the leaf CustomAsNumber from the BgpPeer_UnicastIpv6Prefix_Community struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if CustomAsNumber is set, it can safely use t.GetCustomAsNumber() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.CustomAsNumber == nil' before retrieving the leaf's value.
func (*BgpPeer_UnicastIpv6Prefix_Community) GetCustomAsValue ¶
func (t *BgpPeer_UnicastIpv6Prefix_Community) GetCustomAsValue() uint16
GetCustomAsValue retrieves the value of the leaf CustomAsValue from the BgpPeer_UnicastIpv6Prefix_Community struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if CustomAsValue is set, it can safely use t.GetCustomAsValue() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.CustomAsValue == nil' before retrieving the leaf's value.
func (*BgpPeer_UnicastIpv6Prefix_Community) IsYANGGoStruct ¶
func (*BgpPeer_UnicastIpv6Prefix_Community) IsYANGGoStruct()
IsYANGGoStruct ensures that BgpPeer_UnicastIpv6Prefix_Community implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*BgpPeer_UnicastIpv6Prefix_Community) PopulateDefaults ¶
func (t *BgpPeer_UnicastIpv6Prefix_Community) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the BgpPeer_UnicastIpv6Prefix_Community with default values as specified in the YANG schema, instantiating any nil container fields.
func (*BgpPeer_UnicastIpv6Prefix_Community) SetCommunityType ¶
func (t *BgpPeer_UnicastIpv6Prefix_Community) SetCommunityType(v E_State_CommunityType)
SetCommunityType sets the value of the leaf CommunityType in the BgpPeer_UnicastIpv6Prefix_Community struct.
func (*BgpPeer_UnicastIpv6Prefix_Community) SetCustomAsNumber ¶
func (t *BgpPeer_UnicastIpv6Prefix_Community) SetCustomAsNumber(v uint16)
SetCustomAsNumber sets the value of the leaf CustomAsNumber in the BgpPeer_UnicastIpv6Prefix_Community struct.
func (*BgpPeer_UnicastIpv6Prefix_Community) SetCustomAsValue ¶
func (t *BgpPeer_UnicastIpv6Prefix_Community) SetCustomAsValue(v uint16)
SetCustomAsValue sets the value of the leaf CustomAsValue in the BgpPeer_UnicastIpv6Prefix_Community struct.
func (*BgpPeer_UnicastIpv6Prefix_Community) Validate ¶
func (t *BgpPeer_UnicastIpv6Prefix_Community) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*BgpPeer_UnicastIpv6Prefix_Community) ΛBelongingModule ¶
func (*BgpPeer_UnicastIpv6Prefix_Community) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of BgpPeer_UnicastIpv6Prefix_Community.
func (*BgpPeer_UnicastIpv6Prefix_Community) ΛEnumTypeMap ¶
func (t *BgpPeer_UnicastIpv6Prefix_Community) Λ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 (*BgpPeer_UnicastIpv6Prefix_Community) ΛValidate ¶
func (t *BgpPeer_UnicastIpv6Prefix_Community) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type BgpPeer_UnicastIpv6Prefix_Key ¶
type BgpPeer_UnicastIpv6Prefix_Key struct { Address string `path:"address"` PrefixLength uint32 `path:"prefix-length"` Origin E_UnicastIpv6Prefix_Origin `path:"origin"` PathId uint32 `path:"path-id"` }
BgpPeer_UnicastIpv6Prefix_Key represents the key for list UnicastIpv6Prefix of element /open-traffic-generator-bgp/bgp-peers/bgp-peer.
func (BgpPeer_UnicastIpv6Prefix_Key) IsYANGGoKeyStruct ¶
func (BgpPeer_UnicastIpv6Prefix_Key) IsYANGGoKeyStruct()
IsYANGGoKeyStruct ensures that BgpPeer_UnicastIpv6Prefix_Key partially implements the yang.GoKeyStruct interface. This allows functions that need to handle this key struct to identify it as being generated by gogen.
func (BgpPeer_UnicastIpv6Prefix_Key) ΛListKeyMap ¶
func (t BgpPeer_UnicastIpv6Prefix_Key) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the values of the BgpPeer_UnicastIpv6Prefix_Key key struct.
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 E_BgpPeer_SessionState ¶
type E_BgpPeer_SessionState int64
E_BgpPeer_SessionState is a derived int64 type which is used to represent the enumerated node BgpPeer_SessionState. An additional value named BgpPeer_SessionState_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 ( // BgpPeer_SessionState_UNSET corresponds to the value UNSET of BgpPeer_SessionState BgpPeer_SessionState_UNSET E_BgpPeer_SessionState = 0 // BgpPeer_SessionState_IDLE corresponds to the value IDLE of BgpPeer_SessionState BgpPeer_SessionState_IDLE E_BgpPeer_SessionState = 1 // BgpPeer_SessionState_CONNECT corresponds to the value CONNECT of BgpPeer_SessionState BgpPeer_SessionState_CONNECT E_BgpPeer_SessionState = 2 // BgpPeer_SessionState_ACTIVE corresponds to the value ACTIVE of BgpPeer_SessionState BgpPeer_SessionState_ACTIVE E_BgpPeer_SessionState = 3 // BgpPeer_SessionState_OPEN_SENT corresponds to the value OPEN_SENT of BgpPeer_SessionState BgpPeer_SessionState_OPEN_SENT E_BgpPeer_SessionState = 4 // BgpPeer_SessionState_OPEN_CONFIRM corresponds to the value OPEN_CONFIRM of BgpPeer_SessionState BgpPeer_SessionState_OPEN_CONFIRM E_BgpPeer_SessionState = 5 // BgpPeer_SessionState_ESTABLISHED corresponds to the value ESTABLISHED of BgpPeer_SessionState BgpPeer_SessionState_ESTABLISHED E_BgpPeer_SessionState = 6 )
func (E_BgpPeer_SessionState) IsYANGGoEnum ¶
func (E_BgpPeer_SessionState) IsYANGGoEnum()
IsYANGGoEnum ensures that BgpPeer_SessionState implements the yang.GoEnum interface. This ensures that BgpPeer_SessionState can be identified as a mapped type for a YANG enumeration.
func (E_BgpPeer_SessionState) String ¶
func (e E_BgpPeer_SessionState) String() string
String returns a logging-friendly string for E_BgpPeer_SessionState.
func (E_BgpPeer_SessionState) ΛMap ¶
func (E_BgpPeer_SessionState) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with BgpPeer_SessionState.
type E_Capabilities_Name ¶
type E_Capabilities_Name int64
E_Capabilities_Name is a derived int64 type which is used to represent the enumerated node Capabilities_Name. An additional value named Capabilities_Name_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 ( // Capabilities_Name_UNSET corresponds to the value UNSET of Capabilities_Name Capabilities_Name_UNSET E_Capabilities_Name = 0 // Capabilities_Name_MAC_BRIDGE corresponds to the value MAC_BRIDGE of Capabilities_Name Capabilities_Name_MAC_BRIDGE E_Capabilities_Name = 1 // Capabilities_Name_TWO_PORT_MAC_RELAY corresponds to the value TWO_PORT_MAC_RELAY of Capabilities_Name Capabilities_Name_TWO_PORT_MAC_RELAY E_Capabilities_Name = 2 // Capabilities_Name_REPEATER corresponds to the value REPEATER of Capabilities_Name Capabilities_Name_REPEATER E_Capabilities_Name = 3 // Capabilities_Name_DOCSIS_CABLE_DEVICE corresponds to the value DOCSIS_CABLE_DEVICE of Capabilities_Name Capabilities_Name_DOCSIS_CABLE_DEVICE E_Capabilities_Name = 4 // Capabilities_Name_S_VLAN corresponds to the value S_VLAN of Capabilities_Name Capabilities_Name_S_VLAN E_Capabilities_Name = 5 // Capabilities_Name_TELEPHONE corresponds to the value TELEPHONE of Capabilities_Name Capabilities_Name_TELEPHONE E_Capabilities_Name = 6 // Capabilities_Name_OTHER corresponds to the value OTHER of Capabilities_Name Capabilities_Name_OTHER E_Capabilities_Name = 7 // Capabilities_Name_ROUTER corresponds to the value ROUTER of Capabilities_Name Capabilities_Name_ROUTER E_Capabilities_Name = 8 // Capabilities_Name_C_VLAN corresponds to the value C_VLAN of Capabilities_Name Capabilities_Name_C_VLAN E_Capabilities_Name = 9 // Capabilities_Name_STATION_ONLY corresponds to the value STATION_ONLY of Capabilities_Name Capabilities_Name_STATION_ONLY E_Capabilities_Name = 10 // Capabilities_Name_WLAN_ACCESS_POINT corresponds to the value WLAN_ACCESS_POINT of Capabilities_Name Capabilities_Name_WLAN_ACCESS_POINT E_Capabilities_Name = 11 )
func (E_Capabilities_Name) IsYANGGoEnum ¶
func (E_Capabilities_Name) IsYANGGoEnum()
IsYANGGoEnum ensures that Capabilities_Name implements the yang.GoEnum interface. This ensures that Capabilities_Name can be identified as a mapped type for a YANG enumeration.
func (E_Capabilities_Name) String ¶
func (e E_Capabilities_Name) String() string
String returns a logging-friendly string for E_Capabilities_Name.
func (E_Capabilities_Name) ΛMap ¶
func (E_Capabilities_Name) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with Capabilities_Name.
type E_Ero_Type ¶
type E_Ero_Type int64
E_Ero_Type is a derived int64 type which is used to represent the enumerated node Ero_Type. An additional value named Ero_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 ( // Ero_Type_UNSET corresponds to the value UNSET of Ero_Type Ero_Type_UNSET E_Ero_Type = 0 // Ero_Type_IPV4 corresponds to the value IPV4 of Ero_Type Ero_Type_IPV4 E_Ero_Type = 1 // Ero_Type_IPV6 corresponds to the value IPV6 of Ero_Type Ero_Type_IPV6 E_Ero_Type = 2 // Ero_Type_ASN corresponds to the value ASN of Ero_Type Ero_Type_ASN E_Ero_Type = 3 // Ero_Type_ASN4 corresponds to the value ASN4 of Ero_Type Ero_Type_ASN4 E_Ero_Type = 4 // Ero_Type_LABEL corresponds to the value LABEL of Ero_Type Ero_Type_LABEL E_Ero_Type = 5 // Ero_Type_UNNUMBERED_INTERFACE corresponds to the value UNNUMBERED_INTERFACE of Ero_Type Ero_Type_UNNUMBERED_INTERFACE E_Ero_Type = 6 )
func (E_Ero_Type) IsYANGGoEnum ¶
func (E_Ero_Type) IsYANGGoEnum()
IsYANGGoEnum ensures that Ero_Type implements the yang.GoEnum interface. This ensures that Ero_Type can be identified as a mapped type for a YANG enumeration.
func (E_Ero_Type) String ¶
func (e E_Ero_Type) String() string
String returns a logging-friendly string for E_Ero_Type.
func (E_Ero_Type) ΛMap ¶
func (E_Ero_Type) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with Ero_Type.
type E_ExtendedIpv4Reachability_Prefix_RedistributionType ¶
type E_ExtendedIpv4Reachability_Prefix_RedistributionType int64
E_ExtendedIpv4Reachability_Prefix_RedistributionType is a derived int64 type which is used to represent the enumerated node ExtendedIpv4Reachability_Prefix_RedistributionType. An additional value named ExtendedIpv4Reachability_Prefix_RedistributionType_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 ( // ExtendedIpv4Reachability_Prefix_RedistributionType_UNSET corresponds to the value UNSET of ExtendedIpv4Reachability_Prefix_RedistributionType ExtendedIpv4Reachability_Prefix_RedistributionType_UNSET E_ExtendedIpv4Reachability_Prefix_RedistributionType = 0 // ExtendedIpv4Reachability_Prefix_RedistributionType_UP corresponds to the value UP of ExtendedIpv4Reachability_Prefix_RedistributionType ExtendedIpv4Reachability_Prefix_RedistributionType_UP E_ExtendedIpv4Reachability_Prefix_RedistributionType = 1 // ExtendedIpv4Reachability_Prefix_RedistributionType_DOWN corresponds to the value DOWN of ExtendedIpv4Reachability_Prefix_RedistributionType ExtendedIpv4Reachability_Prefix_RedistributionType_DOWN E_ExtendedIpv4Reachability_Prefix_RedistributionType = 2 )
func (E_ExtendedIpv4Reachability_Prefix_RedistributionType) IsYANGGoEnum ¶
func (E_ExtendedIpv4Reachability_Prefix_RedistributionType) IsYANGGoEnum()
IsYANGGoEnum ensures that ExtendedIpv4Reachability_Prefix_RedistributionType implements the yang.GoEnum interface. This ensures that ExtendedIpv4Reachability_Prefix_RedistributionType can be identified as a mapped type for a YANG enumeration.
func (E_ExtendedIpv4Reachability_Prefix_RedistributionType) String ¶
func (e E_ExtendedIpv4Reachability_Prefix_RedistributionType) String() string
String returns a logging-friendly string for E_ExtendedIpv4Reachability_Prefix_RedistributionType.
func (E_ExtendedIpv4Reachability_Prefix_RedistributionType) ΛMap ¶
func (E_ExtendedIpv4Reachability_Prefix_RedistributionType) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with ExtendedIpv4Reachability_Prefix_RedistributionType.
type E_Ipv4ExternalReachability_Prefix_OriginType ¶
type E_Ipv4ExternalReachability_Prefix_OriginType int64
E_Ipv4ExternalReachability_Prefix_OriginType is a derived int64 type which is used to represent the enumerated node Ipv4ExternalReachability_Prefix_OriginType. An additional value named Ipv4ExternalReachability_Prefix_OriginType_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 ( // Ipv4ExternalReachability_Prefix_OriginType_UNSET corresponds to the value UNSET of Ipv4ExternalReachability_Prefix_OriginType Ipv4ExternalReachability_Prefix_OriginType_UNSET E_Ipv4ExternalReachability_Prefix_OriginType = 0 // Ipv4ExternalReachability_Prefix_OriginType_INTERNAL corresponds to the value INTERNAL of Ipv4ExternalReachability_Prefix_OriginType Ipv4ExternalReachability_Prefix_OriginType_INTERNAL E_Ipv4ExternalReachability_Prefix_OriginType = 1 // Ipv4ExternalReachability_Prefix_OriginType_EXTERNAL corresponds to the value EXTERNAL of Ipv4ExternalReachability_Prefix_OriginType Ipv4ExternalReachability_Prefix_OriginType_EXTERNAL E_Ipv4ExternalReachability_Prefix_OriginType = 2 )
func (E_Ipv4ExternalReachability_Prefix_OriginType) IsYANGGoEnum ¶
func (E_Ipv4ExternalReachability_Prefix_OriginType) IsYANGGoEnum()
IsYANGGoEnum ensures that Ipv4ExternalReachability_Prefix_OriginType implements the yang.GoEnum interface. This ensures that Ipv4ExternalReachability_Prefix_OriginType can be identified as a mapped type for a YANG enumeration.
func (E_Ipv4ExternalReachability_Prefix_OriginType) String ¶
func (e E_Ipv4ExternalReachability_Prefix_OriginType) String() string
String returns a logging-friendly string for E_Ipv4ExternalReachability_Prefix_OriginType.
func (E_Ipv4ExternalReachability_Prefix_OriginType) ΛMap ¶
func (E_Ipv4ExternalReachability_Prefix_OriginType) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with Ipv4ExternalReachability_Prefix_OriginType.
type E_Ipv4ExternalReachability_Prefix_RedistributionType ¶
type E_Ipv4ExternalReachability_Prefix_RedistributionType int64
E_Ipv4ExternalReachability_Prefix_RedistributionType is a derived int64 type which is used to represent the enumerated node Ipv4ExternalReachability_Prefix_RedistributionType. An additional value named Ipv4ExternalReachability_Prefix_RedistributionType_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 ( // Ipv4ExternalReachability_Prefix_RedistributionType_UNSET corresponds to the value UNSET of Ipv4ExternalReachability_Prefix_RedistributionType Ipv4ExternalReachability_Prefix_RedistributionType_UNSET E_Ipv4ExternalReachability_Prefix_RedistributionType = 0 // Ipv4ExternalReachability_Prefix_RedistributionType_UP corresponds to the value UP of Ipv4ExternalReachability_Prefix_RedistributionType Ipv4ExternalReachability_Prefix_RedistributionType_UP E_Ipv4ExternalReachability_Prefix_RedistributionType = 1 // Ipv4ExternalReachability_Prefix_RedistributionType_DOWN corresponds to the value DOWN of Ipv4ExternalReachability_Prefix_RedistributionType Ipv4ExternalReachability_Prefix_RedistributionType_DOWN E_Ipv4ExternalReachability_Prefix_RedistributionType = 2 )
func (E_Ipv4ExternalReachability_Prefix_RedistributionType) IsYANGGoEnum ¶
func (E_Ipv4ExternalReachability_Prefix_RedistributionType) IsYANGGoEnum()
IsYANGGoEnum ensures that Ipv4ExternalReachability_Prefix_RedistributionType implements the yang.GoEnum interface. This ensures that Ipv4ExternalReachability_Prefix_RedistributionType can be identified as a mapped type for a YANG enumeration.
func (E_Ipv4ExternalReachability_Prefix_RedistributionType) String ¶
func (e E_Ipv4ExternalReachability_Prefix_RedistributionType) String() string
String returns a logging-friendly string for E_Ipv4ExternalReachability_Prefix_RedistributionType.
func (E_Ipv4ExternalReachability_Prefix_RedistributionType) ΛMap ¶
func (E_Ipv4ExternalReachability_Prefix_RedistributionType) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with Ipv4ExternalReachability_Prefix_RedistributionType.
type E_Ipv4Lsp_LabelIn ¶
type E_Ipv4Lsp_LabelIn int64
E_Ipv4Lsp_LabelIn is a derived int64 type which is used to represent the enumerated node Ipv4Lsp_LabelIn. An additional value named Ipv4Lsp_LabelIn_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 ( // Ipv4Lsp_LabelIn_UNSET corresponds to the value UNSET of Ipv4Lsp_LabelIn Ipv4Lsp_LabelIn_UNSET E_Ipv4Lsp_LabelIn = 0 // Ipv4Lsp_LabelIn_IPV4_EXPLICIT_NULL corresponds to the value IPV4_EXPLICIT_NULL of Ipv4Lsp_LabelIn Ipv4Lsp_LabelIn_IPV4_EXPLICIT_NULL E_Ipv4Lsp_LabelIn = 1 // Ipv4Lsp_LabelIn_ROUTER_ALERT corresponds to the value ROUTER_ALERT of Ipv4Lsp_LabelIn Ipv4Lsp_LabelIn_ROUTER_ALERT E_Ipv4Lsp_LabelIn = 2 // Ipv4Lsp_LabelIn_IPV6_EXPLICIT_NULL corresponds to the value IPV6_EXPLICIT_NULL of Ipv4Lsp_LabelIn Ipv4Lsp_LabelIn_IPV6_EXPLICIT_NULL E_Ipv4Lsp_LabelIn = 3 // Ipv4Lsp_LabelIn_IMPLICIT_NULL corresponds to the value IMPLICIT_NULL of Ipv4Lsp_LabelIn Ipv4Lsp_LabelIn_IMPLICIT_NULL E_Ipv4Lsp_LabelIn = 4 // Ipv4Lsp_LabelIn_ENTROPY_LABEL_INDICATOR corresponds to the value ENTROPY_LABEL_INDICATOR of Ipv4Lsp_LabelIn Ipv4Lsp_LabelIn_ENTROPY_LABEL_INDICATOR E_Ipv4Lsp_LabelIn = 8 // Ipv4Lsp_LabelIn_NO_LABEL corresponds to the value NO_LABEL of Ipv4Lsp_LabelIn Ipv4Lsp_LabelIn_NO_LABEL E_Ipv4Lsp_LabelIn = 9 )
func (E_Ipv4Lsp_LabelIn) Documentation_for_RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_LabelIn_Union ¶
func (E_Ipv4Lsp_LabelIn) Documentation_for_RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_LabelIn_Union()
Documentation_for_RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_LabelIn_Union ensures that E_Ipv4Lsp_LabelIn implements the RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_LabelIn_Union interface.
func (E_Ipv4Lsp_LabelIn) IsYANGGoEnum ¶
func (E_Ipv4Lsp_LabelIn) IsYANGGoEnum()
IsYANGGoEnum ensures that Ipv4Lsp_LabelIn implements the yang.GoEnum interface. This ensures that Ipv4Lsp_LabelIn can be identified as a mapped type for a YANG enumeration.
func (E_Ipv4Lsp_LabelIn) String ¶
func (e E_Ipv4Lsp_LabelIn) String() string
String returns a logging-friendly string for E_Ipv4Lsp_LabelIn.
func (E_Ipv4Lsp_LabelIn) ΛMap ¶
func (E_Ipv4Lsp_LabelIn) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with Ipv4Lsp_LabelIn.
type E_Ipv4Lsp_LabelOut ¶
type E_Ipv4Lsp_LabelOut int64
E_Ipv4Lsp_LabelOut is a derived int64 type which is used to represent the enumerated node Ipv4Lsp_LabelOut. An additional value named Ipv4Lsp_LabelOut_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 ( // Ipv4Lsp_LabelOut_UNSET corresponds to the value UNSET of Ipv4Lsp_LabelOut Ipv4Lsp_LabelOut_UNSET E_Ipv4Lsp_LabelOut = 0 // Ipv4Lsp_LabelOut_IPV4_EXPLICIT_NULL corresponds to the value IPV4_EXPLICIT_NULL of Ipv4Lsp_LabelOut Ipv4Lsp_LabelOut_IPV4_EXPLICIT_NULL E_Ipv4Lsp_LabelOut = 1 // Ipv4Lsp_LabelOut_ROUTER_ALERT corresponds to the value ROUTER_ALERT of Ipv4Lsp_LabelOut Ipv4Lsp_LabelOut_ROUTER_ALERT E_Ipv4Lsp_LabelOut = 2 // Ipv4Lsp_LabelOut_IPV6_EXPLICIT_NULL corresponds to the value IPV6_EXPLICIT_NULL of Ipv4Lsp_LabelOut Ipv4Lsp_LabelOut_IPV6_EXPLICIT_NULL E_Ipv4Lsp_LabelOut = 3 // Ipv4Lsp_LabelOut_IMPLICIT_NULL corresponds to the value IMPLICIT_NULL of Ipv4Lsp_LabelOut Ipv4Lsp_LabelOut_IMPLICIT_NULL E_Ipv4Lsp_LabelOut = 4 // Ipv4Lsp_LabelOut_ENTROPY_LABEL_INDICATOR corresponds to the value ENTROPY_LABEL_INDICATOR of Ipv4Lsp_LabelOut Ipv4Lsp_LabelOut_ENTROPY_LABEL_INDICATOR E_Ipv4Lsp_LabelOut = 8 // Ipv4Lsp_LabelOut_NO_LABEL corresponds to the value NO_LABEL of Ipv4Lsp_LabelOut Ipv4Lsp_LabelOut_NO_LABEL E_Ipv4Lsp_LabelOut = 9 )
func (E_Ipv4Lsp_LabelOut) Documentation_for_RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_LabelOut_Union ¶
func (E_Ipv4Lsp_LabelOut) Documentation_for_RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_LabelOut_Union()
Documentation_for_RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_LabelOut_Union ensures that E_Ipv4Lsp_LabelOut implements the RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_LabelOut_Union interface.
func (E_Ipv4Lsp_LabelOut) IsYANGGoEnum ¶
func (E_Ipv4Lsp_LabelOut) IsYANGGoEnum()
IsYANGGoEnum ensures that Ipv4Lsp_LabelOut implements the yang.GoEnum interface. This ensures that Ipv4Lsp_LabelOut can be identified as a mapped type for a YANG enumeration.
func (E_Ipv4Lsp_LabelOut) String ¶
func (e E_Ipv4Lsp_LabelOut) String() string
String returns a logging-friendly string for E_Ipv4Lsp_LabelOut.
func (E_Ipv4Lsp_LabelOut) ΛMap ¶
func (E_Ipv4Lsp_LabelOut) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with Ipv4Lsp_LabelOut.
type E_Ipv4Lsp_LastFlapReason ¶
type E_Ipv4Lsp_LastFlapReason int64
E_Ipv4Lsp_LastFlapReason is a derived int64 type which is used to represent the enumerated node Ipv4Lsp_LastFlapReason. An additional value named Ipv4Lsp_LastFlapReason_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 ( // Ipv4Lsp_LastFlapReason_UNSET corresponds to the value UNSET of Ipv4Lsp_LastFlapReason Ipv4Lsp_LastFlapReason_UNSET E_Ipv4Lsp_LastFlapReason = 0 // Ipv4Lsp_LastFlapReason_RESVTEAR corresponds to the value RESVTEAR of Ipv4Lsp_LastFlapReason Ipv4Lsp_LastFlapReason_RESVTEAR E_Ipv4Lsp_LastFlapReason = 1 // Ipv4Lsp_LastFlapReason_PATHTEAR corresponds to the value PATHTEAR of Ipv4Lsp_LastFlapReason Ipv4Lsp_LastFlapReason_PATHTEAR E_Ipv4Lsp_LastFlapReason = 2 // Ipv4Lsp_LastFlapReason_PATHTIMEOUT corresponds to the value PATHTIMEOUT of Ipv4Lsp_LastFlapReason Ipv4Lsp_LastFlapReason_PATHTIMEOUT E_Ipv4Lsp_LastFlapReason = 3 )
func (E_Ipv4Lsp_LastFlapReason) IsYANGGoEnum ¶
func (E_Ipv4Lsp_LastFlapReason) IsYANGGoEnum()
IsYANGGoEnum ensures that Ipv4Lsp_LastFlapReason implements the yang.GoEnum interface. This ensures that Ipv4Lsp_LastFlapReason can be identified as a mapped type for a YANG enumeration.
func (E_Ipv4Lsp_LastFlapReason) String ¶
func (e E_Ipv4Lsp_LastFlapReason) String() string
String returns a logging-friendly string for E_Ipv4Lsp_LastFlapReason.
func (E_Ipv4Lsp_LastFlapReason) ΛMap ¶
func (E_Ipv4Lsp_LastFlapReason) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with Ipv4Lsp_LastFlapReason.
type E_Ipv4Lsp_SessionStatus ¶
type E_Ipv4Lsp_SessionStatus int64
E_Ipv4Lsp_SessionStatus is a derived int64 type which is used to represent the enumerated node Ipv4Lsp_SessionStatus. An additional value named Ipv4Lsp_SessionStatus_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 ( // Ipv4Lsp_SessionStatus_UNSET corresponds to the value UNSET of Ipv4Lsp_SessionStatus Ipv4Lsp_SessionStatus_UNSET E_Ipv4Lsp_SessionStatus = 0 // Ipv4Lsp_SessionStatus_UP corresponds to the value UP of Ipv4Lsp_SessionStatus Ipv4Lsp_SessionStatus_UP E_Ipv4Lsp_SessionStatus = 1 // Ipv4Lsp_SessionStatus_DOWN corresponds to the value DOWN of Ipv4Lsp_SessionStatus Ipv4Lsp_SessionStatus_DOWN E_Ipv4Lsp_SessionStatus = 2 )
func (E_Ipv4Lsp_SessionStatus) IsYANGGoEnum ¶
func (E_Ipv4Lsp_SessionStatus) IsYANGGoEnum()
IsYANGGoEnum ensures that Ipv4Lsp_SessionStatus implements the yang.GoEnum interface. This ensures that Ipv4Lsp_SessionStatus can be identified as a mapped type for a YANG enumeration.
func (E_Ipv4Lsp_SessionStatus) String ¶
func (e E_Ipv4Lsp_SessionStatus) String() string
String returns a logging-friendly string for E_Ipv4Lsp_SessionStatus.
func (E_Ipv4Lsp_SessionStatus) ΛMap ¶
func (E_Ipv4Lsp_SessionStatus) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with Ipv4Lsp_SessionStatus.
type E_Ipv6Reachability_Prefix_OriginType ¶
type E_Ipv6Reachability_Prefix_OriginType int64
E_Ipv6Reachability_Prefix_OriginType is a derived int64 type which is used to represent the enumerated node Ipv6Reachability_Prefix_OriginType. An additional value named Ipv6Reachability_Prefix_OriginType_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 ( // Ipv6Reachability_Prefix_OriginType_UNSET corresponds to the value UNSET of Ipv6Reachability_Prefix_OriginType Ipv6Reachability_Prefix_OriginType_UNSET E_Ipv6Reachability_Prefix_OriginType = 0 // Ipv6Reachability_Prefix_OriginType_INTERNAL corresponds to the value INTERNAL of Ipv6Reachability_Prefix_OriginType Ipv6Reachability_Prefix_OriginType_INTERNAL E_Ipv6Reachability_Prefix_OriginType = 1 // Ipv6Reachability_Prefix_OriginType_EXTERNAL corresponds to the value EXTERNAL of Ipv6Reachability_Prefix_OriginType Ipv6Reachability_Prefix_OriginType_EXTERNAL E_Ipv6Reachability_Prefix_OriginType = 2 )
func (E_Ipv6Reachability_Prefix_OriginType) IsYANGGoEnum ¶
func (E_Ipv6Reachability_Prefix_OriginType) IsYANGGoEnum()
IsYANGGoEnum ensures that Ipv6Reachability_Prefix_OriginType implements the yang.GoEnum interface. This ensures that Ipv6Reachability_Prefix_OriginType can be identified as a mapped type for a YANG enumeration.
func (E_Ipv6Reachability_Prefix_OriginType) String ¶
func (e E_Ipv6Reachability_Prefix_OriginType) String() string
String returns a logging-friendly string for E_Ipv6Reachability_Prefix_OriginType.
func (E_Ipv6Reachability_Prefix_OriginType) ΛMap ¶
func (E_Ipv6Reachability_Prefix_OriginType) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with Ipv6Reachability_Prefix_OriginType.
type E_Ipv6Reachability_Prefix_RedistributionType ¶
type E_Ipv6Reachability_Prefix_RedistributionType int64
E_Ipv6Reachability_Prefix_RedistributionType is a derived int64 type which is used to represent the enumerated node Ipv6Reachability_Prefix_RedistributionType. An additional value named Ipv6Reachability_Prefix_RedistributionType_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 ( // Ipv6Reachability_Prefix_RedistributionType_UNSET corresponds to the value UNSET of Ipv6Reachability_Prefix_RedistributionType Ipv6Reachability_Prefix_RedistributionType_UNSET E_Ipv6Reachability_Prefix_RedistributionType = 0 // Ipv6Reachability_Prefix_RedistributionType_UP corresponds to the value UP of Ipv6Reachability_Prefix_RedistributionType Ipv6Reachability_Prefix_RedistributionType_UP E_Ipv6Reachability_Prefix_RedistributionType = 1 // Ipv6Reachability_Prefix_RedistributionType_DOWN corresponds to the value DOWN of Ipv6Reachability_Prefix_RedistributionType Ipv6Reachability_Prefix_RedistributionType_DOWN E_Ipv6Reachability_Prefix_RedistributionType = 2 )
func (E_Ipv6Reachability_Prefix_RedistributionType) IsYANGGoEnum ¶
func (E_Ipv6Reachability_Prefix_RedistributionType) IsYANGGoEnum()
IsYANGGoEnum ensures that Ipv6Reachability_Prefix_RedistributionType implements the yang.GoEnum interface. This ensures that Ipv6Reachability_Prefix_RedistributionType can be identified as a mapped type for a YANG enumeration.
func (E_Ipv6Reachability_Prefix_RedistributionType) String ¶
func (e E_Ipv6Reachability_Prefix_RedistributionType) String() string
String returns a logging-friendly string for E_Ipv6Reachability_Prefix_RedistributionType.
func (E_Ipv6Reachability_Prefix_RedistributionType) ΛMap ¶
func (E_Ipv6Reachability_Prefix_RedistributionType) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with Ipv6Reachability_Prefix_RedistributionType.
type E_Lacp_LacpActivityType ¶
type E_Lacp_LacpActivityType int64
E_Lacp_LacpActivityType is a derived int64 type which is used to represent the enumerated node Lacp_LacpActivityType. An additional value named Lacp_LacpActivityType_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 ( // Lacp_LacpActivityType_UNSET corresponds to the value UNSET of Lacp_LacpActivityType Lacp_LacpActivityType_UNSET E_Lacp_LacpActivityType = 0 // Lacp_LacpActivityType_ACTIVE corresponds to the value ACTIVE of Lacp_LacpActivityType Lacp_LacpActivityType_ACTIVE E_Lacp_LacpActivityType = 1 // Lacp_LacpActivityType_PASSIVE corresponds to the value PASSIVE of Lacp_LacpActivityType Lacp_LacpActivityType_PASSIVE E_Lacp_LacpActivityType = 2 )
func (E_Lacp_LacpActivityType) IsYANGGoEnum ¶
func (E_Lacp_LacpActivityType) IsYANGGoEnum()
IsYANGGoEnum ensures that Lacp_LacpActivityType implements the yang.GoEnum interface. This ensures that Lacp_LacpActivityType can be identified as a mapped type for a YANG enumeration.
func (E_Lacp_LacpActivityType) String ¶
func (e E_Lacp_LacpActivityType) String() string
String returns a logging-friendly string for E_Lacp_LacpActivityType.
func (E_Lacp_LacpActivityType) ΛMap ¶
func (E_Lacp_LacpActivityType) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with Lacp_LacpActivityType.
type E_Lacp_LacpSynchronizationType ¶
type E_Lacp_LacpSynchronizationType int64
E_Lacp_LacpSynchronizationType is a derived int64 type which is used to represent the enumerated node Lacp_LacpSynchronizationType. An additional value named Lacp_LacpSynchronizationType_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 ( // Lacp_LacpSynchronizationType_UNSET corresponds to the value UNSET of Lacp_LacpSynchronizationType Lacp_LacpSynchronizationType_UNSET E_Lacp_LacpSynchronizationType = 0 // Lacp_LacpSynchronizationType_IN_SYNC corresponds to the value IN_SYNC of Lacp_LacpSynchronizationType Lacp_LacpSynchronizationType_IN_SYNC E_Lacp_LacpSynchronizationType = 1 // Lacp_LacpSynchronizationType_OUT_SYNC corresponds to the value OUT_SYNC of Lacp_LacpSynchronizationType Lacp_LacpSynchronizationType_OUT_SYNC E_Lacp_LacpSynchronizationType = 2 )
func (E_Lacp_LacpSynchronizationType) IsYANGGoEnum ¶
func (E_Lacp_LacpSynchronizationType) IsYANGGoEnum()
IsYANGGoEnum ensures that Lacp_LacpSynchronizationType implements the yang.GoEnum interface. This ensures that Lacp_LacpSynchronizationType can be identified as a mapped type for a YANG enumeration.
func (E_Lacp_LacpSynchronizationType) String ¶
func (e E_Lacp_LacpSynchronizationType) String() string
String returns a logging-friendly string for E_Lacp_LacpSynchronizationType.
func (E_Lacp_LacpSynchronizationType) ΛMap ¶
func (E_Lacp_LacpSynchronizationType) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with Lacp_LacpSynchronizationType.
type E_Lacp_LacpTimeoutType ¶
type E_Lacp_LacpTimeoutType int64
E_Lacp_LacpTimeoutType is a derived int64 type which is used to represent the enumerated node Lacp_LacpTimeoutType. An additional value named Lacp_LacpTimeoutType_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 ( // Lacp_LacpTimeoutType_UNSET corresponds to the value UNSET of Lacp_LacpTimeoutType Lacp_LacpTimeoutType_UNSET E_Lacp_LacpTimeoutType = 0 // Lacp_LacpTimeoutType_LONG corresponds to the value LONG of Lacp_LacpTimeoutType Lacp_LacpTimeoutType_LONG E_Lacp_LacpTimeoutType = 1 // Lacp_LacpTimeoutType_SHORT corresponds to the value SHORT of Lacp_LacpTimeoutType Lacp_LacpTimeoutType_SHORT E_Lacp_LacpTimeoutType = 2 )
func (E_Lacp_LacpTimeoutType) IsYANGGoEnum ¶
func (E_Lacp_LacpTimeoutType) IsYANGGoEnum()
IsYANGGoEnum ensures that Lacp_LacpTimeoutType implements the yang.GoEnum interface. This ensures that Lacp_LacpTimeoutType can be identified as a mapped type for a YANG enumeration.
func (E_Lacp_LacpTimeoutType) String ¶
func (e E_Lacp_LacpTimeoutType) String() string
String returns a logging-friendly string for E_Lacp_LacpTimeoutType.
func (E_Lacp_LacpTimeoutType) ΛMap ¶
func (E_Lacp_LacpTimeoutType) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with Lacp_LacpTimeoutType.
type E_Lag_OperStatus ¶
type E_Lag_OperStatus int64
E_Lag_OperStatus is a derived int64 type which is used to represent the enumerated node Lag_OperStatus. An additional value named Lag_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 ( // Lag_OperStatus_UNSET corresponds to the value UNSET of Lag_OperStatus Lag_OperStatus_UNSET E_Lag_OperStatus = 0 // Lag_OperStatus_UP corresponds to the value UP of Lag_OperStatus Lag_OperStatus_UP E_Lag_OperStatus = 1 // Lag_OperStatus_DOWN corresponds to the value DOWN of Lag_OperStatus Lag_OperStatus_DOWN E_Lag_OperStatus = 2 )
func (E_Lag_OperStatus) IsYANGGoEnum ¶
func (E_Lag_OperStatus) IsYANGGoEnum()
IsYANGGoEnum ensures that Lag_OperStatus implements the yang.GoEnum interface. This ensures that Lag_OperStatus can be identified as a mapped type for a YANG enumeration.
func (E_Lag_OperStatus) String ¶
func (e E_Lag_OperStatus) String() string
String returns a logging-friendly string for E_Lag_OperStatus.
func (E_Lag_OperStatus) ΛMap ¶
func (E_Lag_OperStatus) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with Lag_OperStatus.
type E_LldpNeighbor_ChassisIdType ¶
type E_LldpNeighbor_ChassisIdType int64
E_LldpNeighbor_ChassisIdType is a derived int64 type which is used to represent the enumerated node LldpNeighbor_ChassisIdType. An additional value named LldpNeighbor_ChassisIdType_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 ( // LldpNeighbor_ChassisIdType_UNSET corresponds to the value UNSET of LldpNeighbor_ChassisIdType LldpNeighbor_ChassisIdType_UNSET E_LldpNeighbor_ChassisIdType = 0 // LldpNeighbor_ChassisIdType_PORT_COMPONENT corresponds to the value PORT_COMPONENT of LldpNeighbor_ChassisIdType LldpNeighbor_ChassisIdType_PORT_COMPONENT E_LldpNeighbor_ChassisIdType = 1 // LldpNeighbor_ChassisIdType_NETWORK_ADDRESS corresponds to the value NETWORK_ADDRESS of LldpNeighbor_ChassisIdType LldpNeighbor_ChassisIdType_NETWORK_ADDRESS E_LldpNeighbor_ChassisIdType = 2 // LldpNeighbor_ChassisIdType_CHASSIS_COMPONENT corresponds to the value CHASSIS_COMPONENT of LldpNeighbor_ChassisIdType LldpNeighbor_ChassisIdType_CHASSIS_COMPONENT E_LldpNeighbor_ChassisIdType = 3 // LldpNeighbor_ChassisIdType_MAC_ADDRESS corresponds to the value MAC_ADDRESS of LldpNeighbor_ChassisIdType LldpNeighbor_ChassisIdType_MAC_ADDRESS E_LldpNeighbor_ChassisIdType = 4 // LldpNeighbor_ChassisIdType_INTERFACE_NAME corresponds to the value INTERFACE_NAME of LldpNeighbor_ChassisIdType LldpNeighbor_ChassisIdType_INTERFACE_NAME E_LldpNeighbor_ChassisIdType = 5 // LldpNeighbor_ChassisIdType_LOCAL corresponds to the value LOCAL of LldpNeighbor_ChassisIdType LldpNeighbor_ChassisIdType_LOCAL E_LldpNeighbor_ChassisIdType = 6 // LldpNeighbor_ChassisIdType_INTERFACE_ALIAS corresponds to the value INTERFACE_ALIAS of LldpNeighbor_ChassisIdType LldpNeighbor_ChassisIdType_INTERFACE_ALIAS E_LldpNeighbor_ChassisIdType = 7 )
func (E_LldpNeighbor_ChassisIdType) IsYANGGoEnum ¶
func (E_LldpNeighbor_ChassisIdType) IsYANGGoEnum()
IsYANGGoEnum ensures that LldpNeighbor_ChassisIdType implements the yang.GoEnum interface. This ensures that LldpNeighbor_ChassisIdType can be identified as a mapped type for a YANG enumeration.
func (E_LldpNeighbor_ChassisIdType) String ¶
func (e E_LldpNeighbor_ChassisIdType) String() string
String returns a logging-friendly string for E_LldpNeighbor_ChassisIdType.
func (E_LldpNeighbor_ChassisIdType) ΛMap ¶
func (E_LldpNeighbor_ChassisIdType) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with LldpNeighbor_ChassisIdType.
type E_LldpNeighbor_PortIdType ¶
type E_LldpNeighbor_PortIdType int64
E_LldpNeighbor_PortIdType is a derived int64 type which is used to represent the enumerated node LldpNeighbor_PortIdType. An additional value named LldpNeighbor_PortIdType_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 ( // LldpNeighbor_PortIdType_UNSET corresponds to the value UNSET of LldpNeighbor_PortIdType LldpNeighbor_PortIdType_UNSET E_LldpNeighbor_PortIdType = 0 // LldpNeighbor_PortIdType_PORT_COMPONENT corresponds to the value PORT_COMPONENT of LldpNeighbor_PortIdType LldpNeighbor_PortIdType_PORT_COMPONENT E_LldpNeighbor_PortIdType = 1 // LldpNeighbor_PortIdType_NETWORK_ADDRESS corresponds to the value NETWORK_ADDRESS of LldpNeighbor_PortIdType LldpNeighbor_PortIdType_NETWORK_ADDRESS E_LldpNeighbor_PortIdType = 2 // LldpNeighbor_PortIdType_AGENT_CIRCUIT_ID corresponds to the value AGENT_CIRCUIT_ID of LldpNeighbor_PortIdType LldpNeighbor_PortIdType_AGENT_CIRCUIT_ID E_LldpNeighbor_PortIdType = 3 // LldpNeighbor_PortIdType_MAC_ADDRESS corresponds to the value MAC_ADDRESS of LldpNeighbor_PortIdType LldpNeighbor_PortIdType_MAC_ADDRESS E_LldpNeighbor_PortIdType = 4 // LldpNeighbor_PortIdType_INTERFACE_NAME corresponds to the value INTERFACE_NAME of LldpNeighbor_PortIdType LldpNeighbor_PortIdType_INTERFACE_NAME E_LldpNeighbor_PortIdType = 5 // LldpNeighbor_PortIdType_LOCAL corresponds to the value LOCAL of LldpNeighbor_PortIdType LldpNeighbor_PortIdType_LOCAL E_LldpNeighbor_PortIdType = 6 // LldpNeighbor_PortIdType_INTERFACE_ALIAS corresponds to the value INTERFACE_ALIAS of LldpNeighbor_PortIdType LldpNeighbor_PortIdType_INTERFACE_ALIAS E_LldpNeighbor_PortIdType = 7 )
func (E_LldpNeighbor_PortIdType) IsYANGGoEnum ¶
func (E_LldpNeighbor_PortIdType) IsYANGGoEnum()
IsYANGGoEnum ensures that LldpNeighbor_PortIdType implements the yang.GoEnum interface. This ensures that LldpNeighbor_PortIdType can be identified as a mapped type for a YANG enumeration.
func (E_LldpNeighbor_PortIdType) String ¶
func (e E_LldpNeighbor_PortIdType) String() string
String returns a logging-friendly string for E_LldpNeighbor_PortIdType.
func (E_LldpNeighbor_PortIdType) ΛMap ¶
func (E_LldpNeighbor_PortIdType) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with LldpNeighbor_PortIdType.
type E_Lsps_Flags ¶
type E_Lsps_Flags int64
E_Lsps_Flags is a derived int64 type which is used to represent the enumerated node Lsps_Flags. An additional value named Lsps_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 ( // Lsps_Flags_UNSET corresponds to the value UNSET of Lsps_Flags Lsps_Flags_UNSET E_Lsps_Flags = 0 // Lsps_Flags_PARTITION_REPAIR corresponds to the value PARTITION_REPAIR of Lsps_Flags Lsps_Flags_PARTITION_REPAIR E_Lsps_Flags = 1 // Lsps_Flags_ATTACHED_ERROR corresponds to the value ATTACHED_ERROR of Lsps_Flags Lsps_Flags_ATTACHED_ERROR E_Lsps_Flags = 2 // Lsps_Flags_ATTACHED_EXPENSE corresponds to the value ATTACHED_EXPENSE of Lsps_Flags Lsps_Flags_ATTACHED_EXPENSE E_Lsps_Flags = 3 // Lsps_Flags_ATTACHED_DELAY corresponds to the value ATTACHED_DELAY of Lsps_Flags Lsps_Flags_ATTACHED_DELAY E_Lsps_Flags = 4 // Lsps_Flags_ATTACHED_DEFAULT corresponds to the value ATTACHED_DEFAULT of Lsps_Flags Lsps_Flags_ATTACHED_DEFAULT E_Lsps_Flags = 5 // Lsps_Flags_OVERLOAD corresponds to the value OVERLOAD of Lsps_Flags Lsps_Flags_OVERLOAD E_Lsps_Flags = 6 )
func (E_Lsps_Flags) IsYANGGoEnum ¶
func (E_Lsps_Flags) IsYANGGoEnum()
IsYANGGoEnum ensures that Lsps_Flags implements the yang.GoEnum interface. This ensures that Lsps_Flags can be identified as a mapped type for a YANG enumeration.
func (E_Lsps_Flags) String ¶
func (e E_Lsps_Flags) String() string
String returns a logging-friendly string for E_Lsps_Flags.
func (E_Lsps_Flags) ΛMap ¶
func (E_Lsps_Flags) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with Lsps_Flags.
type E_Lsps_PduType ¶
type E_Lsps_PduType int64
E_Lsps_PduType is a derived int64 type which is used to represent the enumerated node Lsps_PduType. An additional value named Lsps_PduType_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 ( // Lsps_PduType_UNSET corresponds to the value UNSET of Lsps_PduType Lsps_PduType_UNSET E_Lsps_PduType = 0 // Lsps_PduType_LEVEL_1 corresponds to the value LEVEL_1 of Lsps_PduType Lsps_PduType_LEVEL_1 E_Lsps_PduType = 1 // Lsps_PduType_LEVEL_2 corresponds to the value LEVEL_2 of Lsps_PduType Lsps_PduType_LEVEL_2 E_Lsps_PduType = 2 )
func (E_Lsps_PduType) IsYANGGoEnum ¶
func (E_Lsps_PduType) IsYANGGoEnum()
IsYANGGoEnum ensures that Lsps_PduType implements the yang.GoEnum interface. This ensures that Lsps_PduType can be identified as a mapped type for a YANG enumeration.
func (E_Lsps_PduType) String ¶
func (e E_Lsps_PduType) String() string
String returns a logging-friendly string for E_Lsps_PduType.
func (E_Lsps_PduType) ΛMap ¶
func (E_Lsps_PduType) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with Lsps_PduType.
type E_Port_Link ¶
type E_Port_Link int64
E_Port_Link is a derived int64 type which is used to represent the enumerated node Port_Link. An additional value named Port_Link_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 ( // Port_Link_UNSET corresponds to the value UNSET of Port_Link Port_Link_UNSET E_Port_Link = 0 // Port_Link_UP corresponds to the value UP of Port_Link Port_Link_UP E_Port_Link = 1 // Port_Link_DOWN corresponds to the value DOWN of Port_Link Port_Link_DOWN E_Port_Link = 2 )
func (E_Port_Link) IsYANGGoEnum ¶
func (E_Port_Link) IsYANGGoEnum()
IsYANGGoEnum ensures that Port_Link implements the yang.GoEnum interface. This ensures that Port_Link can be identified as a mapped type for a YANG enumeration.
func (E_Port_Link) String ¶
func (e E_Port_Link) String() string
String returns a logging-friendly string for E_Port_Link.
func (E_Port_Link) ΛMap ¶
func (E_Port_Link) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with Port_Link.
type E_Rro_ReportedLabel ¶
type E_Rro_ReportedLabel int64
E_Rro_ReportedLabel is a derived int64 type which is used to represent the enumerated node Rro_ReportedLabel. An additional value named Rro_ReportedLabel_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 ( // Rro_ReportedLabel_UNSET corresponds to the value UNSET of Rro_ReportedLabel Rro_ReportedLabel_UNSET E_Rro_ReportedLabel = 0 // Rro_ReportedLabel_IPV4_EXPLICIT_NULL corresponds to the value IPV4_EXPLICIT_NULL of Rro_ReportedLabel Rro_ReportedLabel_IPV4_EXPLICIT_NULL E_Rro_ReportedLabel = 1 // Rro_ReportedLabel_ROUTER_ALERT corresponds to the value ROUTER_ALERT of Rro_ReportedLabel Rro_ReportedLabel_ROUTER_ALERT E_Rro_ReportedLabel = 2 // Rro_ReportedLabel_IPV6_EXPLICIT_NULL corresponds to the value IPV6_EXPLICIT_NULL of Rro_ReportedLabel Rro_ReportedLabel_IPV6_EXPLICIT_NULL E_Rro_ReportedLabel = 3 // Rro_ReportedLabel_IMPLICIT_NULL corresponds to the value IMPLICIT_NULL of Rro_ReportedLabel Rro_ReportedLabel_IMPLICIT_NULL E_Rro_ReportedLabel = 4 // Rro_ReportedLabel_ENTROPY_LABEL_INDICATOR corresponds to the value ENTROPY_LABEL_INDICATOR of Rro_ReportedLabel Rro_ReportedLabel_ENTROPY_LABEL_INDICATOR E_Rro_ReportedLabel = 8 // Rro_ReportedLabel_NO_LABEL corresponds to the value NO_LABEL of Rro_ReportedLabel Rro_ReportedLabel_NO_LABEL E_Rro_ReportedLabel = 9 )
func (E_Rro_ReportedLabel) Documentation_for_RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro_ReportedLabel_Union ¶
func (E_Rro_ReportedLabel) Documentation_for_RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro_ReportedLabel_Union()
Documentation_for_RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro_ReportedLabel_Union ensures that E_Rro_ReportedLabel implements the RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro_ReportedLabel_Union interface.
func (E_Rro_ReportedLabel) IsYANGGoEnum ¶
func (E_Rro_ReportedLabel) IsYANGGoEnum()
IsYANGGoEnum ensures that Rro_ReportedLabel implements the yang.GoEnum interface. This ensures that Rro_ReportedLabel can be identified as a mapped type for a YANG enumeration.
func (E_Rro_ReportedLabel) String ¶
func (e E_Rro_ReportedLabel) String() string
String returns a logging-friendly string for E_Rro_ReportedLabel.
func (E_Rro_ReportedLabel) ΛMap ¶
func (E_Rro_ReportedLabel) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with Rro_ReportedLabel.
type E_State_CommunityType ¶
type E_State_CommunityType int64
E_State_CommunityType is a derived int64 type which is used to represent the enumerated node State_CommunityType. An additional value named State_CommunityType_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 ( // State_CommunityType_UNSET corresponds to the value UNSET of State_CommunityType State_CommunityType_UNSET E_State_CommunityType = 0 // State_CommunityType_MANUAL_AS_NUMBER corresponds to the value MANUAL_AS_NUMBER of State_CommunityType State_CommunityType_MANUAL_AS_NUMBER E_State_CommunityType = 1 // State_CommunityType_NO_EXPORT corresponds to the value NO_EXPORT of State_CommunityType State_CommunityType_NO_EXPORT E_State_CommunityType = 2 // State_CommunityType_NO_ADVERTISE corresponds to the value NO_ADVERTISE of State_CommunityType State_CommunityType_NO_ADVERTISE E_State_CommunityType = 3 // State_CommunityType_NO_EXPORT_SUBCONFED corresponds to the value NO_EXPORT_SUBCONFED of State_CommunityType State_CommunityType_NO_EXPORT_SUBCONFED E_State_CommunityType = 4 // State_CommunityType_LLGR_STALE corresponds to the value LLGR_STALE of State_CommunityType State_CommunityType_LLGR_STALE E_State_CommunityType = 5 // State_CommunityType_NO_LLGR corresponds to the value NO_LLGR of State_CommunityType State_CommunityType_NO_LLGR E_State_CommunityType = 6 )
func (E_State_CommunityType) IsYANGGoEnum ¶
func (E_State_CommunityType) IsYANGGoEnum()
IsYANGGoEnum ensures that State_CommunityType implements the yang.GoEnum interface. This ensures that State_CommunityType can be identified as a mapped type for a YANG enumeration.
func (E_State_CommunityType) String ¶
func (e E_State_CommunityType) String() string
String returns a logging-friendly string for E_State_CommunityType.
func (E_State_CommunityType) ΛMap ¶
func (E_State_CommunityType) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with State_CommunityType.
type E_State_Flags ¶
type E_State_Flags int64
E_State_Flags is a derived int64 type which is used to represent the enumerated node State_Flags. An additional value named State_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 ( // State_Flags_UNSET corresponds to the value UNSET of State_Flags State_Flags_UNSET E_State_Flags = 0 // State_Flags_EXTERNAL_FLAG corresponds to the value EXTERNAL_FLAG of State_Flags State_Flags_EXTERNAL_FLAG E_State_Flags = 1 // State_Flags_READVERTISEMENT_FLAG corresponds to the value READVERTISEMENT_FLAG of State_Flags State_Flags_READVERTISEMENT_FLAG E_State_Flags = 2 // State_Flags_NODE_FLAG corresponds to the value NODE_FLAG of State_Flags State_Flags_NODE_FLAG E_State_Flags = 3 )
func (E_State_Flags) IsYANGGoEnum ¶
func (E_State_Flags) IsYANGGoEnum()
IsYANGGoEnum ensures that State_Flags implements the yang.GoEnum interface. This ensures that State_Flags can be identified as a mapped type for a YANG enumeration.
func (E_State_Flags) String ¶
func (e E_State_Flags) String() string
String returns a logging-friendly string for E_State_Flags.
func (E_State_Flags) ΛMap ¶
func (E_State_Flags) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with State_Flags.
type E_State_SegmentType ¶
type E_State_SegmentType int64
E_State_SegmentType is a derived int64 type which is used to represent the enumerated node State_SegmentType. An additional value named State_SegmentType_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 ( // State_SegmentType_UNSET corresponds to the value UNSET of State_SegmentType State_SegmentType_UNSET E_State_SegmentType = 0 // State_SegmentType_AS_SEQUENCE corresponds to the value AS_SEQUENCE of State_SegmentType State_SegmentType_AS_SEQUENCE E_State_SegmentType = 1 // State_SegmentType_AS_SET corresponds to the value AS_SET of State_SegmentType State_SegmentType_AS_SET E_State_SegmentType = 2 // State_SegmentType_AS_CONFED_SEQUENCE corresponds to the value AS_CONFED_SEQUENCE of State_SegmentType State_SegmentType_AS_CONFED_SEQUENCE E_State_SegmentType = 3 // State_SegmentType_AS_CONFED_SET corresponds to the value AS_CONFED_SET of State_SegmentType State_SegmentType_AS_CONFED_SET E_State_SegmentType = 4 )
func (E_State_SegmentType) IsYANGGoEnum ¶
func (E_State_SegmentType) IsYANGGoEnum()
IsYANGGoEnum ensures that State_SegmentType implements the yang.GoEnum interface. This ensures that State_SegmentType can be identified as a mapped type for a YANG enumeration.
func (E_State_SegmentType) String ¶
func (e E_State_SegmentType) String() string
String returns a logging-friendly string for E_State_SegmentType.
func (E_State_SegmentType) ΛMap ¶
func (E_State_SegmentType) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with State_SegmentType.
type E_Tags_ValueType ¶ added in v0.1.12
type E_Tags_ValueType int64
E_Tags_ValueType is a derived int64 type which is used to represent the enumerated node Tags_ValueType. An additional value named Tags_ValueType_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 ( // Tags_ValueType_UNSET corresponds to the value UNSET of Tags_ValueType Tags_ValueType_UNSET E_Tags_ValueType = 0 // Tags_ValueType_STRING corresponds to the value STRING of Tags_ValueType Tags_ValueType_STRING E_Tags_ValueType = 1 // Tags_ValueType_HEX corresponds to the value HEX of Tags_ValueType Tags_ValueType_HEX E_Tags_ValueType = 2 // Tags_ValueType_BOOL corresponds to the value BOOL of Tags_ValueType Tags_ValueType_BOOL E_Tags_ValueType = 3 // Tags_ValueType_COUNTER64 corresponds to the value COUNTER64 of Tags_ValueType Tags_ValueType_COUNTER64 E_Tags_ValueType = 4 // Tags_ValueType_FLOAT32 corresponds to the value FLOAT32 of Tags_ValueType Tags_ValueType_FLOAT32 E_Tags_ValueType = 5 // Tags_ValueType_IPV4 corresponds to the value IPV4 of Tags_ValueType Tags_ValueType_IPV4 E_Tags_ValueType = 6 // Tags_ValueType_IPV6 corresponds to the value IPV6 of Tags_ValueType Tags_ValueType_IPV6 E_Tags_ValueType = 7 // Tags_ValueType_MAC corresponds to the value MAC of Tags_ValueType Tags_ValueType_MAC E_Tags_ValueType = 8 )
func (E_Tags_ValueType) IsYANGGoEnum ¶ added in v0.1.12
func (E_Tags_ValueType) IsYANGGoEnum()
IsYANGGoEnum ensures that Tags_ValueType implements the yang.GoEnum interface. This ensures that Tags_ValueType can be identified as a mapped type for a YANG enumeration.
func (E_Tags_ValueType) String ¶ added in v0.1.12
func (e E_Tags_ValueType) String() string
String returns a logging-friendly string for E_Tags_ValueType.
func (E_Tags_ValueType) ΛMap ¶ added in v0.1.12
func (E_Tags_ValueType) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with Tags_ValueType.
type E_UnicastIpv4Prefix_Origin ¶
type E_UnicastIpv4Prefix_Origin int64
E_UnicastIpv4Prefix_Origin is a derived int64 type which is used to represent the enumerated node UnicastIpv4Prefix_Origin. An additional value named UnicastIpv4Prefix_Origin_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 ( // UnicastIpv4Prefix_Origin_UNSET corresponds to the value UNSET of UnicastIpv4Prefix_Origin UnicastIpv4Prefix_Origin_UNSET E_UnicastIpv4Prefix_Origin = 0 // UnicastIpv4Prefix_Origin_IGP corresponds to the value IGP of UnicastIpv4Prefix_Origin UnicastIpv4Prefix_Origin_IGP E_UnicastIpv4Prefix_Origin = 1 // UnicastIpv4Prefix_Origin_EGP corresponds to the value EGP of UnicastIpv4Prefix_Origin UnicastIpv4Prefix_Origin_EGP E_UnicastIpv4Prefix_Origin = 2 // UnicastIpv4Prefix_Origin_INCOMPLETE corresponds to the value INCOMPLETE of UnicastIpv4Prefix_Origin UnicastIpv4Prefix_Origin_INCOMPLETE E_UnicastIpv4Prefix_Origin = 3 )
func (E_UnicastIpv4Prefix_Origin) IsYANGGoEnum ¶
func (E_UnicastIpv4Prefix_Origin) IsYANGGoEnum()
IsYANGGoEnum ensures that UnicastIpv4Prefix_Origin implements the yang.GoEnum interface. This ensures that UnicastIpv4Prefix_Origin can be identified as a mapped type for a YANG enumeration.
func (E_UnicastIpv4Prefix_Origin) String ¶
func (e E_UnicastIpv4Prefix_Origin) String() string
String returns a logging-friendly string for E_UnicastIpv4Prefix_Origin.
func (E_UnicastIpv4Prefix_Origin) ΛMap ¶
func (E_UnicastIpv4Prefix_Origin) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with UnicastIpv4Prefix_Origin.
type E_UnicastIpv6Prefix_Origin ¶
type E_UnicastIpv6Prefix_Origin int64
E_UnicastIpv6Prefix_Origin is a derived int64 type which is used to represent the enumerated node UnicastIpv6Prefix_Origin. An additional value named UnicastIpv6Prefix_Origin_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 ( // UnicastIpv6Prefix_Origin_UNSET corresponds to the value UNSET of UnicastIpv6Prefix_Origin UnicastIpv6Prefix_Origin_UNSET E_UnicastIpv6Prefix_Origin = 0 // UnicastIpv6Prefix_Origin_IGP corresponds to the value IGP of UnicastIpv6Prefix_Origin UnicastIpv6Prefix_Origin_IGP E_UnicastIpv6Prefix_Origin = 1 // UnicastIpv6Prefix_Origin_EGP corresponds to the value EGP of UnicastIpv6Prefix_Origin UnicastIpv6Prefix_Origin_EGP E_UnicastIpv6Prefix_Origin = 2 // UnicastIpv6Prefix_Origin_INCOMPLETE corresponds to the value INCOMPLETE of UnicastIpv6Prefix_Origin UnicastIpv6Prefix_Origin_INCOMPLETE E_UnicastIpv6Prefix_Origin = 3 )
func (E_UnicastIpv6Prefix_Origin) IsYANGGoEnum ¶
func (E_UnicastIpv6Prefix_Origin) IsYANGGoEnum()
IsYANGGoEnum ensures that UnicastIpv6Prefix_Origin implements the yang.GoEnum interface. This ensures that UnicastIpv6Prefix_Origin can be identified as a mapped type for a YANG enumeration.
func (E_UnicastIpv6Prefix_Origin) String ¶
func (e E_UnicastIpv6Prefix_Origin) String() string
String returns a logging-friendly string for E_UnicastIpv6Prefix_Origin.
func (E_UnicastIpv6Prefix_Origin) ΛMap ¶
func (E_UnicastIpv6Prefix_Origin) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with UnicastIpv6Prefix_Origin.
type Flow ¶
type Flow struct { AverageLatency *uint64 `path:"state/average-latency" module:"open-traffic-generator-flow/open-traffic-generator-flow"` Counters *Flow_Counters `path:"state/counters" module:"open-traffic-generator-flow/open-traffic-generator-flow"` InFrameRate Binary `path:"state/in-frame-rate" module:"open-traffic-generator-flow/open-traffic-generator-flow"` InRate Binary `path:"state/in-rate" module:"open-traffic-generator-flow/open-traffic-generator-flow"` LossPct Binary `path:"state/loss-pct" module:"open-traffic-generator-flow/open-traffic-generator-flow"` MaximumLatency *uint64 `path:"state/maximum-latency" module:"open-traffic-generator-flow/open-traffic-generator-flow"` MinimumLatency *uint64 `path:"state/minimum-latency" module:"open-traffic-generator-flow/open-traffic-generator-flow"` Name *string `` /* 178-byte string literal not displayed */ OutFrameRate Binary `path:"state/out-frame-rate" module:"open-traffic-generator-flow/open-traffic-generator-flow"` OutRate Binary `path:"state/out-rate" module:"open-traffic-generator-flow/open-traffic-generator-flow"` TaggedMetric map[string]*Flow_TaggedMetric `path:"tagged-metrics/tagged-metric" module:"open-traffic-generator-flow/open-traffic-generator-flow"` Transmit *bool `path:"state/transmit" module:"open-traffic-generator-flow/open-traffic-generator-flow"` }
Flow represents the /open-traffic-generator-flow/flows/flow YANG schema element.
func (*Flow) AppendTaggedMetric ¶ added in v0.1.12
func (t *Flow) AppendTaggedMetric(v *Flow_TaggedMetric) error
AppendTaggedMetric appends the supplied Flow_TaggedMetric struct to the list TaggedMetric of Flow. If the key value(s) specified in the supplied Flow_TaggedMetric already exist in the list, an error is returned.
func (*Flow) DeleteTaggedMetric ¶ added in v0.1.12
DeleteTaggedMetric deletes the value with the specified keys from the receiver Flow. If there is no such element, the function is a no-op.
func (*Flow) GetAverageLatency ¶ added in v0.1.13
GetAverageLatency retrieves the value of the leaf AverageLatency from the Flow struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AverageLatency is set, it can safely use t.GetAverageLatency() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AverageLatency == nil' before retrieving the leaf's value.
func (*Flow) GetCounters ¶
func (t *Flow) GetCounters() *Flow_Counters
GetCounters returns the value of the Counters struct pointer from Flow. If the receiver or the field Counters is nil, nil is returned such that the Get* methods can be safely chained.
func (*Flow) GetInFrameRate ¶
GetInFrameRate retrieves the value of the leaf InFrameRate from the Flow struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InFrameRate is set, it can safely use t.GetInFrameRate() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InFrameRate == nil' before retrieving the leaf's value.
func (*Flow) GetInRate ¶
GetInRate retrieves the value of the leaf InRate from the Flow struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InRate is set, it can safely use t.GetInRate() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InRate == nil' before retrieving the leaf's value.
func (*Flow) GetLossPct ¶
GetLossPct retrieves the value of the leaf LossPct from the Flow struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LossPct is set, it can safely use t.GetLossPct() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LossPct == nil' before retrieving the leaf's value.
func (*Flow) GetMaximumLatency ¶ added in v0.1.13
GetMaximumLatency retrieves the value of the leaf MaximumLatency from the Flow struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MaximumLatency is set, it can safely use t.GetMaximumLatency() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MaximumLatency == nil' before retrieving the leaf's value.
func (*Flow) GetMinimumLatency ¶ added in v0.1.13
GetMinimumLatency retrieves the value of the leaf MinimumLatency from the Flow struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MinimumLatency is set, it can safely use t.GetMinimumLatency() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MinimumLatency == nil' before retrieving the leaf's value.
func (*Flow) GetName ¶
GetName retrieves the value of the leaf Name from the Flow struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without 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 (*Flow) GetOrCreateCounters ¶
func (t *Flow) GetOrCreateCounters() *Flow_Counters
GetOrCreateCounters retrieves the value of the Counters field or returns the existing field if it already exists.
func (*Flow) GetOrCreateTaggedMetric ¶ added in v0.1.12
func (t *Flow) GetOrCreateTaggedMetric(NameValuePairs string) *Flow_TaggedMetric
GetOrCreateTaggedMetric retrieves the value with the specified keys from the receiver Flow. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*Flow) GetOutFrameRate ¶
GetOutFrameRate retrieves the value of the leaf OutFrameRate from the Flow struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutFrameRate is set, it can safely use t.GetOutFrameRate() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutFrameRate == nil' before retrieving the leaf's value.
func (*Flow) GetOutRate ¶
GetOutRate retrieves the value of the leaf OutRate from the Flow struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutRate is set, it can safely use t.GetOutRate() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutRate == nil' before retrieving the leaf's value.
func (*Flow) GetTaggedMetric ¶ added in v0.1.12
func (t *Flow) GetTaggedMetric(NameValuePairs string) *Flow_TaggedMetric
GetTaggedMetric retrieves the value with the specified key from the TaggedMetric map field of Flow. 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 (*Flow) GetTransmit ¶
GetTransmit retrieves the value of the leaf Transmit from the Flow struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Transmit is set, it can safely use t.GetTransmit() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Transmit == nil' before retrieving the leaf's value.
func (*Flow) IsYANGGoStruct ¶
func (*Flow) IsYANGGoStruct()
IsYANGGoStruct ensures that Flow implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Flow) NewTaggedMetric ¶ added in v0.1.12
func (t *Flow) NewTaggedMetric(NameValuePairs string) (*Flow_TaggedMetric, error)
NewTaggedMetric creates a new entry in the TaggedMetric list of the Flow struct. The keys of the list are populated from the input arguments.
func (*Flow) PopulateDefaults ¶
func (t *Flow) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the Flow with default values as specified in the YANG schema, instantiating any nil container fields.
func (*Flow) SetAverageLatency ¶ added in v0.1.13
SetAverageLatency sets the value of the leaf AverageLatency in the Flow struct.
func (*Flow) SetInFrameRate ¶
SetInFrameRate sets the value of the leaf InFrameRate in the Flow struct.
func (*Flow) SetLossPct ¶
SetLossPct sets the value of the leaf LossPct in the Flow struct.
func (*Flow) SetMaximumLatency ¶ added in v0.1.13
SetMaximumLatency sets the value of the leaf MaximumLatency in the Flow struct.
func (*Flow) SetMinimumLatency ¶ added in v0.1.13
SetMinimumLatency sets the value of the leaf MinimumLatency in the Flow struct.
func (*Flow) SetOutFrameRate ¶
SetOutFrameRate sets the value of the leaf OutFrameRate in the Flow struct.
func (*Flow) SetOutRate ¶
SetOutRate sets the value of the leaf OutRate in the Flow struct.
func (*Flow) SetTransmit ¶
SetTransmit sets the value of the leaf Transmit in the Flow struct.
func (*Flow) Validate ¶
func (t *Flow) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Flow) ΛBelongingModule ¶
ΛBelongingModule returns the name of the module that defines the namespace of Flow.
func (*Flow) ΛEnumTypeMap ¶
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Flow) ΛListKeyMap ¶
ΛListKeyMap returns the keys of the Flow struct, which is a YANG list entry.
type Flow_Counters ¶
type Flow_Counters struct { InOctets *uint64 `path:"in-octets" module:"open-traffic-generator-flow"` InPkts *uint64 `path:"in-pkts" module:"open-traffic-generator-flow"` OutOctets *uint64 `path:"out-octets" module:"open-traffic-generator-flow"` OutPkts *uint64 `path:"out-pkts" module:"open-traffic-generator-flow"` }
Flow_Counters represents the /open-traffic-generator-flow/flows/flow/state/counters YANG schema element.
func (*Flow_Counters) GetInOctets ¶
func (t *Flow_Counters) GetInOctets() uint64
GetInOctets retrieves the value of the leaf InOctets from the Flow_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 (*Flow_Counters) GetInPkts ¶
func (t *Flow_Counters) GetInPkts() uint64
GetInPkts retrieves the value of the leaf InPkts from the Flow_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 (*Flow_Counters) GetOutOctets ¶
func (t *Flow_Counters) GetOutOctets() uint64
GetOutOctets retrieves the value of the leaf OutOctets from the Flow_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 (*Flow_Counters) GetOutPkts ¶
func (t *Flow_Counters) GetOutPkts() uint64
GetOutPkts retrieves the value of the leaf OutPkts from the Flow_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 (*Flow_Counters) IsYANGGoStruct ¶
func (*Flow_Counters) IsYANGGoStruct()
IsYANGGoStruct ensures that Flow_Counters implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Flow_Counters) PopulateDefaults ¶
func (t *Flow_Counters) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the Flow_Counters with default values as specified in the YANG schema, instantiating any nil container fields.
func (*Flow_Counters) SetInOctets ¶
func (t *Flow_Counters) SetInOctets(v uint64)
SetInOctets sets the value of the leaf InOctets in the Flow_Counters struct.
func (*Flow_Counters) SetInPkts ¶
func (t *Flow_Counters) SetInPkts(v uint64)
SetInPkts sets the value of the leaf InPkts in the Flow_Counters struct.
func (*Flow_Counters) SetOutOctets ¶
func (t *Flow_Counters) SetOutOctets(v uint64)
SetOutOctets sets the value of the leaf OutOctets in the Flow_Counters struct.
func (*Flow_Counters) SetOutPkts ¶
func (t *Flow_Counters) SetOutPkts(v uint64)
SetOutPkts sets the value of the leaf OutPkts in the Flow_Counters struct.
func (*Flow_Counters) Validate ¶
func (t *Flow_Counters) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Flow_Counters) ΛBelongingModule ¶
func (*Flow_Counters) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Flow_Counters.
func (*Flow_Counters) ΛEnumTypeMap ¶
func (t *Flow_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 (*Flow_Counters) ΛValidate ¶
func (t *Flow_Counters) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Flow_TaggedMetric ¶ added in v0.1.12
type Flow_TaggedMetric struct { Counters *Flow_TaggedMetric_Counters `path:"state/counters" module:"open-traffic-generator-flow/open-traffic-generator-flow"` NameValuePairs *string `` /* 214-byte string literal not displayed */ Tags []*Flow_TaggedMetric_Tags `path:"state/tags" module:"open-traffic-generator-flow/open-traffic-generator-flow"` }
Flow_TaggedMetric represents the /open-traffic-generator-flow/flows/flow/tagged-metrics/tagged-metric YANG schema element.
func (*Flow_TaggedMetric) GetCounters ¶ added in v0.1.12
func (t *Flow_TaggedMetric) GetCounters() *Flow_TaggedMetric_Counters
GetCounters returns the value of the Counters struct pointer from Flow_TaggedMetric. If the receiver or the field Counters is nil, nil is returned such that the Get* methods can be safely chained.
func (*Flow_TaggedMetric) GetNameValuePairs ¶ added in v0.1.12
func (t *Flow_TaggedMetric) GetNameValuePairs() string
GetNameValuePairs retrieves the value of the leaf NameValuePairs from the Flow_TaggedMetric struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if NameValuePairs is set, it can safely use t.GetNameValuePairs() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.NameValuePairs == nil' before retrieving the leaf's value.
func (*Flow_TaggedMetric) GetOrCreateCounters ¶ added in v0.1.12
func (t *Flow_TaggedMetric) GetOrCreateCounters() *Flow_TaggedMetric_Counters
GetOrCreateCounters retrieves the value of the Counters field or returns the existing field if it already exists.
func (*Flow_TaggedMetric) IsYANGGoStruct ¶ added in v0.1.12
func (*Flow_TaggedMetric) IsYANGGoStruct()
IsYANGGoStruct ensures that Flow_TaggedMetric implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Flow_TaggedMetric) PopulateDefaults ¶ added in v0.1.12
func (t *Flow_TaggedMetric) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the Flow_TaggedMetric with default values as specified in the YANG schema, instantiating any nil container fields.
func (*Flow_TaggedMetric) SetNameValuePairs ¶ added in v0.1.12
func (t *Flow_TaggedMetric) SetNameValuePairs(v string)
SetNameValuePairs sets the value of the leaf NameValuePairs in the Flow_TaggedMetric struct.
func (*Flow_TaggedMetric) Validate ¶ added in v0.1.12
func (t *Flow_TaggedMetric) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Flow_TaggedMetric) ΛBelongingModule ¶ added in v0.1.12
func (*Flow_TaggedMetric) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Flow_TaggedMetric.
func (*Flow_TaggedMetric) ΛEnumTypeMap ¶ added in v0.1.12
func (t *Flow_TaggedMetric) Λ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 (*Flow_TaggedMetric) ΛListKeyMap ¶ added in v0.1.12
func (t *Flow_TaggedMetric) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the Flow_TaggedMetric struct, which is a YANG list entry.
func (*Flow_TaggedMetric) ΛValidate ¶ added in v0.1.12
func (t *Flow_TaggedMetric) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Flow_TaggedMetric_Counters ¶ added in v0.1.12
type Flow_TaggedMetric_Counters struct { InOctets *uint64 `path:"in-octets" module:"open-traffic-generator-flow"` InPkts *uint64 `path:"in-pkts" module:"open-traffic-generator-flow"` OutOctets *uint64 `path:"out-octets" module:"open-traffic-generator-flow"` OutPkts *uint64 `path:"out-pkts" module:"open-traffic-generator-flow"` }
Flow_TaggedMetric_Counters represents the /open-traffic-generator-flow/flows/flow/tagged-metrics/tagged-metric/state/counters YANG schema element.
func (*Flow_TaggedMetric_Counters) GetInOctets ¶ added in v0.1.12
func (t *Flow_TaggedMetric_Counters) GetInOctets() uint64
GetInOctets retrieves the value of the leaf InOctets from the Flow_TaggedMetric_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 (*Flow_TaggedMetric_Counters) GetInPkts ¶ added in v0.1.12
func (t *Flow_TaggedMetric_Counters) GetInPkts() uint64
GetInPkts retrieves the value of the leaf InPkts from the Flow_TaggedMetric_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 (*Flow_TaggedMetric_Counters) GetOutOctets ¶ added in v0.1.12
func (t *Flow_TaggedMetric_Counters) GetOutOctets() uint64
GetOutOctets retrieves the value of the leaf OutOctets from the Flow_TaggedMetric_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 (*Flow_TaggedMetric_Counters) GetOutPkts ¶ added in v0.1.12
func (t *Flow_TaggedMetric_Counters) GetOutPkts() uint64
GetOutPkts retrieves the value of the leaf OutPkts from the Flow_TaggedMetric_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 (*Flow_TaggedMetric_Counters) IsYANGGoStruct ¶ added in v0.1.12
func (*Flow_TaggedMetric_Counters) IsYANGGoStruct()
IsYANGGoStruct ensures that Flow_TaggedMetric_Counters implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Flow_TaggedMetric_Counters) PopulateDefaults ¶ added in v0.1.12
func (t *Flow_TaggedMetric_Counters) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the Flow_TaggedMetric_Counters with default values as specified in the YANG schema, instantiating any nil container fields.
func (*Flow_TaggedMetric_Counters) SetInOctets ¶ added in v0.1.12
func (t *Flow_TaggedMetric_Counters) SetInOctets(v uint64)
SetInOctets sets the value of the leaf InOctets in the Flow_TaggedMetric_Counters struct.
func (*Flow_TaggedMetric_Counters) SetInPkts ¶ added in v0.1.12
func (t *Flow_TaggedMetric_Counters) SetInPkts(v uint64)
SetInPkts sets the value of the leaf InPkts in the Flow_TaggedMetric_Counters struct.
func (*Flow_TaggedMetric_Counters) SetOutOctets ¶ added in v0.1.12
func (t *Flow_TaggedMetric_Counters) SetOutOctets(v uint64)
SetOutOctets sets the value of the leaf OutOctets in the Flow_TaggedMetric_Counters struct.
func (*Flow_TaggedMetric_Counters) SetOutPkts ¶ added in v0.1.12
func (t *Flow_TaggedMetric_Counters) SetOutPkts(v uint64)
SetOutPkts sets the value of the leaf OutPkts in the Flow_TaggedMetric_Counters struct.
func (*Flow_TaggedMetric_Counters) Validate ¶ added in v0.1.12
func (t *Flow_TaggedMetric_Counters) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Flow_TaggedMetric_Counters) ΛBelongingModule ¶ added in v0.1.12
func (*Flow_TaggedMetric_Counters) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Flow_TaggedMetric_Counters.
func (*Flow_TaggedMetric_Counters) ΛEnumTypeMap ¶ added in v0.1.12
func (t *Flow_TaggedMetric_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 (*Flow_TaggedMetric_Counters) ΛValidate ¶ added in v0.1.12
func (t *Flow_TaggedMetric_Counters) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Flow_TaggedMetric_Tags ¶ added in v0.1.12
type Flow_TaggedMetric_Tags struct { TagName *string `path:"tag-name" module:"open-traffic-generator-flow"` TagValue *Flow_TaggedMetric_Tags_TagValue `path:"tag-value" module:"open-traffic-generator-flow"` }
Flow_TaggedMetric_Tags represents the /open-traffic-generator-flow/flows/flow/tagged-metrics/tagged-metric/state/tags YANG schema element.
func (*Flow_TaggedMetric_Tags) GetOrCreateTagValue ¶ added in v0.1.12
func (t *Flow_TaggedMetric_Tags) GetOrCreateTagValue() *Flow_TaggedMetric_Tags_TagValue
GetOrCreateTagValue retrieves the value of the TagValue field or returns the existing field if it already exists.
func (*Flow_TaggedMetric_Tags) GetTagName ¶ added in v0.1.12
func (t *Flow_TaggedMetric_Tags) GetTagName() string
GetTagName retrieves the value of the leaf TagName from the Flow_TaggedMetric_Tags struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TagName is set, it can safely use t.GetTagName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TagName == nil' before retrieving the leaf's value.
func (*Flow_TaggedMetric_Tags) GetTagValue ¶ added in v0.1.12
func (t *Flow_TaggedMetric_Tags) GetTagValue() *Flow_TaggedMetric_Tags_TagValue
GetTagValue returns the value of the TagValue struct pointer from Flow_TaggedMetric_Tags. If the receiver or the field TagValue is nil, nil is returned such that the Get* methods can be safely chained.
func (*Flow_TaggedMetric_Tags) IsYANGGoStruct ¶ added in v0.1.12
func (*Flow_TaggedMetric_Tags) IsYANGGoStruct()
IsYANGGoStruct ensures that Flow_TaggedMetric_Tags implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Flow_TaggedMetric_Tags) PopulateDefaults ¶ added in v0.1.12
func (t *Flow_TaggedMetric_Tags) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the Flow_TaggedMetric_Tags with default values as specified in the YANG schema, instantiating any nil container fields.
func (*Flow_TaggedMetric_Tags) SetTagName ¶ added in v0.1.12
func (t *Flow_TaggedMetric_Tags) SetTagName(v string)
SetTagName sets the value of the leaf TagName in the Flow_TaggedMetric_Tags struct.
func (*Flow_TaggedMetric_Tags) Validate ¶ added in v0.1.12
func (t *Flow_TaggedMetric_Tags) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Flow_TaggedMetric_Tags) ΛBelongingModule ¶ added in v0.1.12
func (*Flow_TaggedMetric_Tags) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Flow_TaggedMetric_Tags.
func (*Flow_TaggedMetric_Tags) ΛEnumTypeMap ¶ added in v0.1.12
func (t *Flow_TaggedMetric_Tags) Λ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 (*Flow_TaggedMetric_Tags) ΛValidate ¶ added in v0.1.12
func (t *Flow_TaggedMetric_Tags) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Flow_TaggedMetric_Tags_TagValue ¶ added in v0.1.12
type Flow_TaggedMetric_Tags_TagValue struct { ValueAsBool *bool `path:"value-as-bool" module:"open-traffic-generator-flow"` ValueAsCounter64 *uint64 `path:"value-as-counter64" module:"open-traffic-generator-flow"` ValueAsFloat32 Binary `path:"value-as-float32" module:"open-traffic-generator-flow"` ValueAsHex *string `path:"value-as-hex" module:"open-traffic-generator-flow"` ValueAsIpv4 *string `path:"value-as-ipv4" module:"open-traffic-generator-flow"` ValueAsIpv6 *string `path:"value-as-ipv6" module:"open-traffic-generator-flow"` ValueAsMac *string `path:"value-as-mac" module:"open-traffic-generator-flow"` ValueAsString *string `path:"value-as-string" module:"open-traffic-generator-flow"` ValueType E_Tags_ValueType `path:"value-type" module:"open-traffic-generator-flow"` }
Flow_TaggedMetric_Tags_TagValue represents the /open-traffic-generator-flow/flows/flow/tagged-metrics/tagged-metric/state/tags/tag-value YANG schema element.
func (*Flow_TaggedMetric_Tags_TagValue) GetValueAsBool ¶ added in v0.1.12
func (t *Flow_TaggedMetric_Tags_TagValue) GetValueAsBool() bool
GetValueAsBool retrieves the value of the leaf ValueAsBool from the Flow_TaggedMetric_Tags_TagValue struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ValueAsBool is set, it can safely use t.GetValueAsBool() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ValueAsBool == nil' before retrieving the leaf's value.
func (*Flow_TaggedMetric_Tags_TagValue) GetValueAsCounter64 ¶ added in v0.1.12
func (t *Flow_TaggedMetric_Tags_TagValue) GetValueAsCounter64() uint64
GetValueAsCounter64 retrieves the value of the leaf ValueAsCounter64 from the Flow_TaggedMetric_Tags_TagValue struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ValueAsCounter64 is set, it can safely use t.GetValueAsCounter64() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ValueAsCounter64 == nil' before retrieving the leaf's value.
func (*Flow_TaggedMetric_Tags_TagValue) GetValueAsFloat32 ¶ added in v0.1.12
func (t *Flow_TaggedMetric_Tags_TagValue) GetValueAsFloat32() Binary
GetValueAsFloat32 retrieves the value of the leaf ValueAsFloat32 from the Flow_TaggedMetric_Tags_TagValue struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ValueAsFloat32 is set, it can safely use t.GetValueAsFloat32() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ValueAsFloat32 == nil' before retrieving the leaf's value.
func (*Flow_TaggedMetric_Tags_TagValue) GetValueAsHex ¶ added in v0.1.12
func (t *Flow_TaggedMetric_Tags_TagValue) GetValueAsHex() string
GetValueAsHex retrieves the value of the leaf ValueAsHex from the Flow_TaggedMetric_Tags_TagValue struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ValueAsHex is set, it can safely use t.GetValueAsHex() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ValueAsHex == nil' before retrieving the leaf's value.
func (*Flow_TaggedMetric_Tags_TagValue) GetValueAsIpv4 ¶ added in v0.1.12
func (t *Flow_TaggedMetric_Tags_TagValue) GetValueAsIpv4() string
GetValueAsIpv4 retrieves the value of the leaf ValueAsIpv4 from the Flow_TaggedMetric_Tags_TagValue struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ValueAsIpv4 is set, it can safely use t.GetValueAsIpv4() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ValueAsIpv4 == nil' before retrieving the leaf's value.
func (*Flow_TaggedMetric_Tags_TagValue) GetValueAsIpv6 ¶ added in v0.1.12
func (t *Flow_TaggedMetric_Tags_TagValue) GetValueAsIpv6() string
GetValueAsIpv6 retrieves the value of the leaf ValueAsIpv6 from the Flow_TaggedMetric_Tags_TagValue struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ValueAsIpv6 is set, it can safely use t.GetValueAsIpv6() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ValueAsIpv6 == nil' before retrieving the leaf's value.
func (*Flow_TaggedMetric_Tags_TagValue) GetValueAsMac ¶ added in v0.1.12
func (t *Flow_TaggedMetric_Tags_TagValue) GetValueAsMac() string
GetValueAsMac retrieves the value of the leaf ValueAsMac from the Flow_TaggedMetric_Tags_TagValue struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ValueAsMac is set, it can safely use t.GetValueAsMac() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ValueAsMac == nil' before retrieving the leaf's value.
func (*Flow_TaggedMetric_Tags_TagValue) GetValueAsString ¶ added in v0.1.12
func (t *Flow_TaggedMetric_Tags_TagValue) GetValueAsString() string
GetValueAsString retrieves the value of the leaf ValueAsString from the Flow_TaggedMetric_Tags_TagValue struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ValueAsString is set, it can safely use t.GetValueAsString() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ValueAsString == nil' before retrieving the leaf's value.
func (*Flow_TaggedMetric_Tags_TagValue) GetValueType ¶ added in v0.1.12
func (t *Flow_TaggedMetric_Tags_TagValue) GetValueType() E_Tags_ValueType
GetValueType retrieves the value of the leaf ValueType from the Flow_TaggedMetric_Tags_TagValue struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ValueType is set, it can safely use t.GetValueType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ValueType == nil' before retrieving the leaf's value.
func (*Flow_TaggedMetric_Tags_TagValue) IsYANGGoStruct ¶ added in v0.1.12
func (*Flow_TaggedMetric_Tags_TagValue) IsYANGGoStruct()
IsYANGGoStruct ensures that Flow_TaggedMetric_Tags_TagValue implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Flow_TaggedMetric_Tags_TagValue) PopulateDefaults ¶ added in v0.1.12
func (t *Flow_TaggedMetric_Tags_TagValue) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the Flow_TaggedMetric_Tags_TagValue with default values as specified in the YANG schema, instantiating any nil container fields.
func (*Flow_TaggedMetric_Tags_TagValue) SetValueAsBool ¶ added in v0.1.12
func (t *Flow_TaggedMetric_Tags_TagValue) SetValueAsBool(v bool)
SetValueAsBool sets the value of the leaf ValueAsBool in the Flow_TaggedMetric_Tags_TagValue struct.
func (*Flow_TaggedMetric_Tags_TagValue) SetValueAsCounter64 ¶ added in v0.1.12
func (t *Flow_TaggedMetric_Tags_TagValue) SetValueAsCounter64(v uint64)
SetValueAsCounter64 sets the value of the leaf ValueAsCounter64 in the Flow_TaggedMetric_Tags_TagValue struct.
func (*Flow_TaggedMetric_Tags_TagValue) SetValueAsFloat32 ¶ added in v0.1.12
func (t *Flow_TaggedMetric_Tags_TagValue) SetValueAsFloat32(v Binary)
SetValueAsFloat32 sets the value of the leaf ValueAsFloat32 in the Flow_TaggedMetric_Tags_TagValue struct.
func (*Flow_TaggedMetric_Tags_TagValue) SetValueAsHex ¶ added in v0.1.12
func (t *Flow_TaggedMetric_Tags_TagValue) SetValueAsHex(v string)
SetValueAsHex sets the value of the leaf ValueAsHex in the Flow_TaggedMetric_Tags_TagValue struct.
func (*Flow_TaggedMetric_Tags_TagValue) SetValueAsIpv4 ¶ added in v0.1.12
func (t *Flow_TaggedMetric_Tags_TagValue) SetValueAsIpv4(v string)
SetValueAsIpv4 sets the value of the leaf ValueAsIpv4 in the Flow_TaggedMetric_Tags_TagValue struct.
func (*Flow_TaggedMetric_Tags_TagValue) SetValueAsIpv6 ¶ added in v0.1.12
func (t *Flow_TaggedMetric_Tags_TagValue) SetValueAsIpv6(v string)
SetValueAsIpv6 sets the value of the leaf ValueAsIpv6 in the Flow_TaggedMetric_Tags_TagValue struct.
func (*Flow_TaggedMetric_Tags_TagValue) SetValueAsMac ¶ added in v0.1.12
func (t *Flow_TaggedMetric_Tags_TagValue) SetValueAsMac(v string)
SetValueAsMac sets the value of the leaf ValueAsMac in the Flow_TaggedMetric_Tags_TagValue struct.
func (*Flow_TaggedMetric_Tags_TagValue) SetValueAsString ¶ added in v0.1.12
func (t *Flow_TaggedMetric_Tags_TagValue) SetValueAsString(v string)
SetValueAsString sets the value of the leaf ValueAsString in the Flow_TaggedMetric_Tags_TagValue struct.
func (*Flow_TaggedMetric_Tags_TagValue) SetValueType ¶ added in v0.1.12
func (t *Flow_TaggedMetric_Tags_TagValue) SetValueType(v E_Tags_ValueType)
SetValueType sets the value of the leaf ValueType in the Flow_TaggedMetric_Tags_TagValue struct.
func (*Flow_TaggedMetric_Tags_TagValue) Validate ¶ added in v0.1.12
func (t *Flow_TaggedMetric_Tags_TagValue) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Flow_TaggedMetric_Tags_TagValue) ΛBelongingModule ¶ added in v0.1.12
func (*Flow_TaggedMetric_Tags_TagValue) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Flow_TaggedMetric_Tags_TagValue.
func (*Flow_TaggedMetric_Tags_TagValue) ΛEnumTypeMap ¶ added in v0.1.12
func (t *Flow_TaggedMetric_Tags_TagValue) Λ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 (*Flow_TaggedMetric_Tags_TagValue) ΛValidate ¶ added in v0.1.12
func (t *Flow_TaggedMetric_Tags_TagValue) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface ¶
type Interface struct { Ipv4Neighbor map[string]*Interface_Ipv4Neighbor `path:"ipv4-neighbors/ipv4-neighbor" module:"open-traffic-generator-discovery/open-traffic-generator-discovery"` Ipv6Neighbor map[string]*Interface_Ipv6Neighbor `path:"ipv6-neighbors/ipv6-neighbor" module:"open-traffic-generator-discovery/open-traffic-generator-discovery"` Name *string `` /* 198-byte string literal not displayed */ }
Interface represents the /open-traffic-generator-discovery/interfaces/interface YANG schema element.
func (*Interface) AppendIpv4Neighbor ¶
func (t *Interface) AppendIpv4Neighbor(v *Interface_Ipv4Neighbor) error
AppendIpv4Neighbor appends the supplied Interface_Ipv4Neighbor struct to the list Ipv4Neighbor of Interface. If the key value(s) specified in the supplied Interface_Ipv4Neighbor already exist in the list, an error is returned.
func (*Interface) AppendIpv6Neighbor ¶
func (t *Interface) AppendIpv6Neighbor(v *Interface_Ipv6Neighbor) error
AppendIpv6Neighbor appends the supplied Interface_Ipv6Neighbor struct to the list Ipv6Neighbor of Interface. If the key value(s) specified in the supplied Interface_Ipv6Neighbor already exist in the list, an error is returned.
func (*Interface) DeleteIpv4Neighbor ¶
DeleteIpv4Neighbor 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) DeleteIpv6Neighbor ¶
DeleteIpv6Neighbor 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) GetIpv4Neighbor ¶
func (t *Interface) GetIpv4Neighbor(Ipv4Address string) *Interface_Ipv4Neighbor
GetIpv4Neighbor retrieves the value with the specified key from the Ipv4Neighbor 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) GetIpv6Neighbor ¶
func (t *Interface) GetIpv6Neighbor(Ipv6Address string) *Interface_Ipv6Neighbor
GetIpv6Neighbor retrieves the value with the specified key from the Ipv6Neighbor 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) 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) GetOrCreateIpv4Neighbor ¶
func (t *Interface) GetOrCreateIpv4Neighbor(Ipv4Address string) *Interface_Ipv4Neighbor
GetOrCreateIpv4Neighbor 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) GetOrCreateIpv6Neighbor ¶
func (t *Interface) GetOrCreateIpv6Neighbor(Ipv6Address string) *Interface_Ipv6Neighbor
GetOrCreateIpv6Neighbor 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) 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) NewIpv4Neighbor ¶
func (t *Interface) NewIpv4Neighbor(Ipv4Address string) (*Interface_Ipv4Neighbor, error)
NewIpv4Neighbor creates a new entry in the Ipv4Neighbor list of the Interface struct. The keys of the list are populated from the input arguments.
func (*Interface) NewIpv6Neighbor ¶
func (t *Interface) NewIpv6Neighbor(Ipv6Address string) (*Interface_Ipv6Neighbor, error)
NewIpv6Neighbor creates a new entry in the Ipv6Neighbor list of the Interface struct. The keys of the list are populated from the input arguments.
func (*Interface) PopulateDefaults ¶
func (t *Interface) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the Interface with default values as specified in the YANG schema, instantiating any nil container fields.
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_Ipv4Neighbor ¶
type Interface_Ipv4Neighbor struct { Ipv4Address *string `` /* 222-byte string literal not displayed */ LinkLayerAddress *string `path:"state/link-layer-address" module:"open-traffic-generator-discovery/open-traffic-generator-discovery"` }
Interface_Ipv4Neighbor represents the /open-traffic-generator-discovery/interfaces/interface/ipv4-neighbors/ipv4-neighbor YANG schema element.
func (*Interface_Ipv4Neighbor) GetIpv4Address ¶
func (t *Interface_Ipv4Neighbor) GetIpv4Address() string
GetIpv4Address retrieves the value of the leaf Ipv4Address from the Interface_Ipv4Neighbor struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Ipv4Address is set, it can safely use t.GetIpv4Address() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Ipv4Address == nil' before retrieving the leaf's value.
func (*Interface_Ipv4Neighbor) GetLinkLayerAddress ¶
func (t *Interface_Ipv4Neighbor) GetLinkLayerAddress() string
GetLinkLayerAddress retrieves the value of the leaf LinkLayerAddress from the Interface_Ipv4Neighbor struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without 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_Ipv4Neighbor) IsYANGGoStruct ¶
func (*Interface_Ipv4Neighbor) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_Ipv4Neighbor implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_Ipv4Neighbor) PopulateDefaults ¶
func (t *Interface_Ipv4Neighbor) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the Interface_Ipv4Neighbor with default values as specified in the YANG schema, instantiating any nil container fields.
func (*Interface_Ipv4Neighbor) SetIpv4Address ¶
func (t *Interface_Ipv4Neighbor) SetIpv4Address(v string)
SetIpv4Address sets the value of the leaf Ipv4Address in the Interface_Ipv4Neighbor struct.
func (*Interface_Ipv4Neighbor) SetLinkLayerAddress ¶
func (t *Interface_Ipv4Neighbor) SetLinkLayerAddress(v string)
SetLinkLayerAddress sets the value of the leaf LinkLayerAddress in the Interface_Ipv4Neighbor struct.
func (*Interface_Ipv4Neighbor) Validate ¶
func (t *Interface_Ipv4Neighbor) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_Ipv4Neighbor) ΛBelongingModule ¶
func (*Interface_Ipv4Neighbor) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_Ipv4Neighbor.
func (*Interface_Ipv4Neighbor) ΛEnumTypeMap ¶
func (t *Interface_Ipv4Neighbor) Λ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_Ipv4Neighbor) ΛListKeyMap ¶
func (t *Interface_Ipv4Neighbor) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the Interface_Ipv4Neighbor struct, which is a YANG list entry.
func (*Interface_Ipv4Neighbor) ΛValidate ¶
func (t *Interface_Ipv4Neighbor) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Interface_Ipv6Neighbor ¶
type Interface_Ipv6Neighbor struct { Ipv6Address *string `` /* 222-byte string literal not displayed */ LinkLayerAddress *string `path:"state/link-layer-address" module:"open-traffic-generator-discovery/open-traffic-generator-discovery"` }
Interface_Ipv6Neighbor represents the /open-traffic-generator-discovery/interfaces/interface/ipv6-neighbors/ipv6-neighbor YANG schema element.
func (*Interface_Ipv6Neighbor) GetIpv6Address ¶
func (t *Interface_Ipv6Neighbor) GetIpv6Address() string
GetIpv6Address retrieves the value of the leaf Ipv6Address from the Interface_Ipv6Neighbor struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Ipv6Address is set, it can safely use t.GetIpv6Address() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Ipv6Address == nil' before retrieving the leaf's value.
func (*Interface_Ipv6Neighbor) GetLinkLayerAddress ¶
func (t *Interface_Ipv6Neighbor) GetLinkLayerAddress() string
GetLinkLayerAddress retrieves the value of the leaf LinkLayerAddress from the Interface_Ipv6Neighbor struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without 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_Ipv6Neighbor) IsYANGGoStruct ¶
func (*Interface_Ipv6Neighbor) IsYANGGoStruct()
IsYANGGoStruct ensures that Interface_Ipv6Neighbor implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Interface_Ipv6Neighbor) PopulateDefaults ¶
func (t *Interface_Ipv6Neighbor) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the Interface_Ipv6Neighbor with default values as specified in the YANG schema, instantiating any nil container fields.
func (*Interface_Ipv6Neighbor) SetIpv6Address ¶
func (t *Interface_Ipv6Neighbor) SetIpv6Address(v string)
SetIpv6Address sets the value of the leaf Ipv6Address in the Interface_Ipv6Neighbor struct.
func (*Interface_Ipv6Neighbor) SetLinkLayerAddress ¶
func (t *Interface_Ipv6Neighbor) SetLinkLayerAddress(v string)
SetLinkLayerAddress sets the value of the leaf LinkLayerAddress in the Interface_Ipv6Neighbor struct.
func (*Interface_Ipv6Neighbor) Validate ¶
func (t *Interface_Ipv6Neighbor) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Interface_Ipv6Neighbor) ΛBelongingModule ¶
func (*Interface_Ipv6Neighbor) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Interface_Ipv6Neighbor.
func (*Interface_Ipv6Neighbor) ΛEnumTypeMap ¶
func (t *Interface_Ipv6Neighbor) Λ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_Ipv6Neighbor) ΛListKeyMap ¶
func (t *Interface_Ipv6Neighbor) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the Interface_Ipv6Neighbor struct, which is a YANG list entry.
func (*Interface_Ipv6Neighbor) ΛValidate ¶
func (t *Interface_Ipv6Neighbor) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type IsisRouter ¶
type IsisRouter struct { Counters *IsisRouter_Counters `path:"state/counters" module:"open-traffic-generator-isis/open-traffic-generator-isis"` LinkStateDatabase *IsisRouter_LinkStateDatabase `path:"state/link-state-database" module:"open-traffic-generator-isis/open-traffic-generator-isis"` Name *string `` /* 178-byte string literal not displayed */ }
IsisRouter represents the /open-traffic-generator-isis/isis-routers/isis-router YANG schema element.
func (*IsisRouter) GetCounters ¶
func (t *IsisRouter) GetCounters() *IsisRouter_Counters
GetCounters returns the value of the Counters struct pointer from IsisRouter. If the receiver or the field Counters is nil, nil is returned such that the Get* methods can be safely chained.
func (*IsisRouter) GetLinkStateDatabase ¶
func (t *IsisRouter) GetLinkStateDatabase() *IsisRouter_LinkStateDatabase
GetLinkStateDatabase returns the value of the LinkStateDatabase struct pointer from IsisRouter. If the receiver or the field LinkStateDatabase is nil, nil is returned such that the Get* methods can be safely chained.
func (*IsisRouter) GetName ¶
func (t *IsisRouter) GetName() string
GetName retrieves the value of the leaf Name from the IsisRouter struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without 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 (*IsisRouter) GetOrCreateCounters ¶
func (t *IsisRouter) GetOrCreateCounters() *IsisRouter_Counters
GetOrCreateCounters retrieves the value of the Counters field or returns the existing field if it already exists.
func (*IsisRouter) GetOrCreateLinkStateDatabase ¶
func (t *IsisRouter) GetOrCreateLinkStateDatabase() *IsisRouter_LinkStateDatabase
GetOrCreateLinkStateDatabase retrieves the value of the LinkStateDatabase field or returns the existing field if it already exists.
func (*IsisRouter) IsYANGGoStruct ¶
func (*IsisRouter) IsYANGGoStruct()
IsYANGGoStruct ensures that IsisRouter implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*IsisRouter) PopulateDefaults ¶
func (t *IsisRouter) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the IsisRouter with default values as specified in the YANG schema, instantiating any nil container fields.
func (*IsisRouter) SetName ¶
func (t *IsisRouter) SetName(v string)
SetName sets the value of the leaf Name in the IsisRouter struct.
func (*IsisRouter) Validate ¶
func (t *IsisRouter) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*IsisRouter) ΛBelongingModule ¶
func (*IsisRouter) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of IsisRouter.
func (*IsisRouter) ΛEnumTypeMap ¶
func (t *IsisRouter) Λ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 (*IsisRouter) ΛListKeyMap ¶
func (t *IsisRouter) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the IsisRouter struct, which is a YANG list entry.
func (*IsisRouter) ΛValidate ¶
func (t *IsisRouter) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type IsisRouter_Counters ¶
type IsisRouter_Counters struct { Level1 *IsisRouter_Counters_Level1 `path:"level1" module:"open-traffic-generator-isis"` Level2 *IsisRouter_Counters_Level2 `path:"level2" module:"open-traffic-generator-isis"` }
IsisRouter_Counters represents the /open-traffic-generator-isis/isis-routers/isis-router/state/counters YANG schema element.
func (*IsisRouter_Counters) GetLevel1 ¶
func (t *IsisRouter_Counters) GetLevel1() *IsisRouter_Counters_Level1
GetLevel1 returns the value of the Level1 struct pointer from IsisRouter_Counters. If the receiver or the field Level1 is nil, nil is returned such that the Get* methods can be safely chained.
func (*IsisRouter_Counters) GetLevel2 ¶
func (t *IsisRouter_Counters) GetLevel2() *IsisRouter_Counters_Level2
GetLevel2 returns the value of the Level2 struct pointer from IsisRouter_Counters. If the receiver or the field Level2 is nil, nil is returned such that the Get* methods can be safely chained.
func (*IsisRouter_Counters) GetOrCreateLevel1 ¶
func (t *IsisRouter_Counters) GetOrCreateLevel1() *IsisRouter_Counters_Level1
GetOrCreateLevel1 retrieves the value of the Level1 field or returns the existing field if it already exists.
func (*IsisRouter_Counters) GetOrCreateLevel2 ¶
func (t *IsisRouter_Counters) GetOrCreateLevel2() *IsisRouter_Counters_Level2
GetOrCreateLevel2 retrieves the value of the Level2 field or returns the existing field if it already exists.
func (*IsisRouter_Counters) IsYANGGoStruct ¶
func (*IsisRouter_Counters) IsYANGGoStruct()
IsYANGGoStruct ensures that IsisRouter_Counters implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*IsisRouter_Counters) PopulateDefaults ¶
func (t *IsisRouter_Counters) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the IsisRouter_Counters with default values as specified in the YANG schema, instantiating any nil container fields.
func (*IsisRouter_Counters) Validate ¶
func (t *IsisRouter_Counters) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*IsisRouter_Counters) ΛBelongingModule ¶
func (*IsisRouter_Counters) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of IsisRouter_Counters.
func (*IsisRouter_Counters) ΛEnumTypeMap ¶
func (t *IsisRouter_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 (*IsisRouter_Counters) ΛValidate ¶
func (t *IsisRouter_Counters) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type IsisRouter_Counters_Level1 ¶
type IsisRouter_Counters_Level1 struct { DatabaseSize *uint64 `path:"database-size" module:"open-traffic-generator-isis"` InBcastHellos *uint64 `path:"in-bcast-hellos" module:"open-traffic-generator-isis"` InCsnp *uint64 `path:"in-csnp" module:"open-traffic-generator-isis"` InLsp *uint64 `path:"in-lsp" module:"open-traffic-generator-isis"` InP2PHellos *uint64 `path:"in-p2p-hellos" module:"open-traffic-generator-isis"` InPsnp *uint64 `path:"in-psnp" module:"open-traffic-generator-isis"` OutBcastHellos *uint64 `path:"out-bcast-hellos" module:"open-traffic-generator-isis"` OutCsnp *uint64 `path:"out-csnp" module:"open-traffic-generator-isis"` OutLsp *uint64 `path:"out-lsp" module:"open-traffic-generator-isis"` OutP2PHellos *uint64 `path:"out-p2p-hellos" module:"open-traffic-generator-isis"` OutPsnp *uint64 `path:"out-psnp" module:"open-traffic-generator-isis"` SessionsFlap *uint64 `path:"sessions-flap" module:"open-traffic-generator-isis"` SessionsUp *uint64 `path:"sessions-up" module:"open-traffic-generator-isis"` }
IsisRouter_Counters_Level1 represents the /open-traffic-generator-isis/isis-routers/isis-router/state/counters/level1 YANG schema element.
func (*IsisRouter_Counters_Level1) GetDatabaseSize ¶
func (t *IsisRouter_Counters_Level1) GetDatabaseSize() uint64
GetDatabaseSize retrieves the value of the leaf DatabaseSize from the IsisRouter_Counters_Level1 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if DatabaseSize is set, it can safely use t.GetDatabaseSize() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.DatabaseSize == nil' before retrieving the leaf's value.
func (*IsisRouter_Counters_Level1) GetInBcastHellos ¶
func (t *IsisRouter_Counters_Level1) GetInBcastHellos() uint64
GetInBcastHellos retrieves the value of the leaf InBcastHellos from the IsisRouter_Counters_Level1 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InBcastHellos is set, it can safely use t.GetInBcastHellos() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InBcastHellos == nil' before retrieving the leaf's value.
func (*IsisRouter_Counters_Level1) GetInCsnp ¶
func (t *IsisRouter_Counters_Level1) GetInCsnp() uint64
GetInCsnp retrieves the value of the leaf InCsnp from the IsisRouter_Counters_Level1 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InCsnp is set, it can safely use t.GetInCsnp() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InCsnp == nil' before retrieving the leaf's value.
func (*IsisRouter_Counters_Level1) GetInLsp ¶
func (t *IsisRouter_Counters_Level1) GetInLsp() uint64
GetInLsp retrieves the value of the leaf InLsp from the IsisRouter_Counters_Level1 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InLsp is set, it can safely use t.GetInLsp() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InLsp == nil' before retrieving the leaf's value.
func (*IsisRouter_Counters_Level1) GetInP2PHellos ¶
func (t *IsisRouter_Counters_Level1) GetInP2PHellos() uint64
GetInP2PHellos retrieves the value of the leaf InP2PHellos from the IsisRouter_Counters_Level1 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InP2PHellos is set, it can safely use t.GetInP2PHellos() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InP2PHellos == nil' before retrieving the leaf's value.
func (*IsisRouter_Counters_Level1) GetInPsnp ¶
func (t *IsisRouter_Counters_Level1) GetInPsnp() uint64
GetInPsnp retrieves the value of the leaf InPsnp from the IsisRouter_Counters_Level1 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InPsnp is set, it can safely use t.GetInPsnp() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InPsnp == nil' before retrieving the leaf's value.
func (*IsisRouter_Counters_Level1) GetOutBcastHellos ¶
func (t *IsisRouter_Counters_Level1) GetOutBcastHellos() uint64
GetOutBcastHellos retrieves the value of the leaf OutBcastHellos from the IsisRouter_Counters_Level1 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutBcastHellos is set, it can safely use t.GetOutBcastHellos() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutBcastHellos == nil' before retrieving the leaf's value.
func (*IsisRouter_Counters_Level1) GetOutCsnp ¶
func (t *IsisRouter_Counters_Level1) GetOutCsnp() uint64
GetOutCsnp retrieves the value of the leaf OutCsnp from the IsisRouter_Counters_Level1 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutCsnp is set, it can safely use t.GetOutCsnp() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutCsnp == nil' before retrieving the leaf's value.
func (*IsisRouter_Counters_Level1) GetOutLsp ¶
func (t *IsisRouter_Counters_Level1) GetOutLsp() uint64
GetOutLsp retrieves the value of the leaf OutLsp from the IsisRouter_Counters_Level1 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutLsp is set, it can safely use t.GetOutLsp() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutLsp == nil' before retrieving the leaf's value.
func (*IsisRouter_Counters_Level1) GetOutP2PHellos ¶
func (t *IsisRouter_Counters_Level1) GetOutP2PHellos() uint64
GetOutP2PHellos retrieves the value of the leaf OutP2PHellos from the IsisRouter_Counters_Level1 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutP2PHellos is set, it can safely use t.GetOutP2PHellos() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutP2PHellos == nil' before retrieving the leaf's value.
func (*IsisRouter_Counters_Level1) GetOutPsnp ¶
func (t *IsisRouter_Counters_Level1) GetOutPsnp() uint64
GetOutPsnp retrieves the value of the leaf OutPsnp from the IsisRouter_Counters_Level1 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutPsnp is set, it can safely use t.GetOutPsnp() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutPsnp == nil' before retrieving the leaf's value.
func (*IsisRouter_Counters_Level1) GetSessionsFlap ¶
func (t *IsisRouter_Counters_Level1) GetSessionsFlap() uint64
GetSessionsFlap retrieves the value of the leaf SessionsFlap from the IsisRouter_Counters_Level1 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SessionsFlap is set, it can safely use t.GetSessionsFlap() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SessionsFlap == nil' before retrieving the leaf's value.
func (*IsisRouter_Counters_Level1) GetSessionsUp ¶
func (t *IsisRouter_Counters_Level1) GetSessionsUp() uint64
GetSessionsUp retrieves the value of the leaf SessionsUp from the IsisRouter_Counters_Level1 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SessionsUp is set, it can safely use t.GetSessionsUp() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SessionsUp == nil' before retrieving the leaf's value.
func (*IsisRouter_Counters_Level1) IsYANGGoStruct ¶
func (*IsisRouter_Counters_Level1) IsYANGGoStruct()
IsYANGGoStruct ensures that IsisRouter_Counters_Level1 implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*IsisRouter_Counters_Level1) PopulateDefaults ¶
func (t *IsisRouter_Counters_Level1) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the IsisRouter_Counters_Level1 with default values as specified in the YANG schema, instantiating any nil container fields.
func (*IsisRouter_Counters_Level1) SetDatabaseSize ¶
func (t *IsisRouter_Counters_Level1) SetDatabaseSize(v uint64)
SetDatabaseSize sets the value of the leaf DatabaseSize in the IsisRouter_Counters_Level1 struct.
func (*IsisRouter_Counters_Level1) SetInBcastHellos ¶
func (t *IsisRouter_Counters_Level1) SetInBcastHellos(v uint64)
SetInBcastHellos sets the value of the leaf InBcastHellos in the IsisRouter_Counters_Level1 struct.
func (*IsisRouter_Counters_Level1) SetInCsnp ¶
func (t *IsisRouter_Counters_Level1) SetInCsnp(v uint64)
SetInCsnp sets the value of the leaf InCsnp in the IsisRouter_Counters_Level1 struct.
func (*IsisRouter_Counters_Level1) SetInLsp ¶
func (t *IsisRouter_Counters_Level1) SetInLsp(v uint64)
SetInLsp sets the value of the leaf InLsp in the IsisRouter_Counters_Level1 struct.
func (*IsisRouter_Counters_Level1) SetInP2PHellos ¶
func (t *IsisRouter_Counters_Level1) SetInP2PHellos(v uint64)
SetInP2PHellos sets the value of the leaf InP2PHellos in the IsisRouter_Counters_Level1 struct.
func (*IsisRouter_Counters_Level1) SetInPsnp ¶
func (t *IsisRouter_Counters_Level1) SetInPsnp(v uint64)
SetInPsnp sets the value of the leaf InPsnp in the IsisRouter_Counters_Level1 struct.
func (*IsisRouter_Counters_Level1) SetOutBcastHellos ¶
func (t *IsisRouter_Counters_Level1) SetOutBcastHellos(v uint64)
SetOutBcastHellos sets the value of the leaf OutBcastHellos in the IsisRouter_Counters_Level1 struct.
func (*IsisRouter_Counters_Level1) SetOutCsnp ¶
func (t *IsisRouter_Counters_Level1) SetOutCsnp(v uint64)
SetOutCsnp sets the value of the leaf OutCsnp in the IsisRouter_Counters_Level1 struct.
func (*IsisRouter_Counters_Level1) SetOutLsp ¶
func (t *IsisRouter_Counters_Level1) SetOutLsp(v uint64)
SetOutLsp sets the value of the leaf OutLsp in the IsisRouter_Counters_Level1 struct.
func (*IsisRouter_Counters_Level1) SetOutP2PHellos ¶
func (t *IsisRouter_Counters_Level1) SetOutP2PHellos(v uint64)
SetOutP2PHellos sets the value of the leaf OutP2PHellos in the IsisRouter_Counters_Level1 struct.
func (*IsisRouter_Counters_Level1) SetOutPsnp ¶
func (t *IsisRouter_Counters_Level1) SetOutPsnp(v uint64)
SetOutPsnp sets the value of the leaf OutPsnp in the IsisRouter_Counters_Level1 struct.
func (*IsisRouter_Counters_Level1) SetSessionsFlap ¶
func (t *IsisRouter_Counters_Level1) SetSessionsFlap(v uint64)
SetSessionsFlap sets the value of the leaf SessionsFlap in the IsisRouter_Counters_Level1 struct.
func (*IsisRouter_Counters_Level1) SetSessionsUp ¶
func (t *IsisRouter_Counters_Level1) SetSessionsUp(v uint64)
SetSessionsUp sets the value of the leaf SessionsUp in the IsisRouter_Counters_Level1 struct.
func (*IsisRouter_Counters_Level1) Validate ¶
func (t *IsisRouter_Counters_Level1) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*IsisRouter_Counters_Level1) ΛBelongingModule ¶
func (*IsisRouter_Counters_Level1) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of IsisRouter_Counters_Level1.
func (*IsisRouter_Counters_Level1) ΛEnumTypeMap ¶
func (t *IsisRouter_Counters_Level1) Λ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 (*IsisRouter_Counters_Level1) ΛValidate ¶
func (t *IsisRouter_Counters_Level1) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type IsisRouter_Counters_Level2 ¶
type IsisRouter_Counters_Level2 struct { DatabaseSize *uint64 `path:"database-size" module:"open-traffic-generator-isis"` InBcastHellos *uint64 `path:"in-bcast-hellos" module:"open-traffic-generator-isis"` InCsnp *uint64 `path:"in-csnp" module:"open-traffic-generator-isis"` InLsp *uint64 `path:"in-lsp" module:"open-traffic-generator-isis"` InP2PHellos *uint64 `path:"in-p2p-hellos" module:"open-traffic-generator-isis"` InPsnp *uint64 `path:"in-psnp" module:"open-traffic-generator-isis"` OutBcastHellos *uint64 `path:"out-bcast-hellos" module:"open-traffic-generator-isis"` OutCsnp *uint64 `path:"out-csnp" module:"open-traffic-generator-isis"` OutLsp *uint64 `path:"out-lsp" module:"open-traffic-generator-isis"` OutP2PHellos *uint64 `path:"out-p2p-hellos" module:"open-traffic-generator-isis"` OutPsnp *uint64 `path:"out-psnp" module:"open-traffic-generator-isis"` SessionsFlap *uint64 `path:"sessions-flap" module:"open-traffic-generator-isis"` SessionsUp *uint64 `path:"sessions-up" module:"open-traffic-generator-isis"` }
IsisRouter_Counters_Level2 represents the /open-traffic-generator-isis/isis-routers/isis-router/state/counters/level2 YANG schema element.
func (*IsisRouter_Counters_Level2) GetDatabaseSize ¶
func (t *IsisRouter_Counters_Level2) GetDatabaseSize() uint64
GetDatabaseSize retrieves the value of the leaf DatabaseSize from the IsisRouter_Counters_Level2 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if DatabaseSize is set, it can safely use t.GetDatabaseSize() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.DatabaseSize == nil' before retrieving the leaf's value.
func (*IsisRouter_Counters_Level2) GetInBcastHellos ¶
func (t *IsisRouter_Counters_Level2) GetInBcastHellos() uint64
GetInBcastHellos retrieves the value of the leaf InBcastHellos from the IsisRouter_Counters_Level2 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InBcastHellos is set, it can safely use t.GetInBcastHellos() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InBcastHellos == nil' before retrieving the leaf's value.
func (*IsisRouter_Counters_Level2) GetInCsnp ¶
func (t *IsisRouter_Counters_Level2) GetInCsnp() uint64
GetInCsnp retrieves the value of the leaf InCsnp from the IsisRouter_Counters_Level2 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InCsnp is set, it can safely use t.GetInCsnp() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InCsnp == nil' before retrieving the leaf's value.
func (*IsisRouter_Counters_Level2) GetInLsp ¶
func (t *IsisRouter_Counters_Level2) GetInLsp() uint64
GetInLsp retrieves the value of the leaf InLsp from the IsisRouter_Counters_Level2 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InLsp is set, it can safely use t.GetInLsp() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InLsp == nil' before retrieving the leaf's value.
func (*IsisRouter_Counters_Level2) GetInP2PHellos ¶
func (t *IsisRouter_Counters_Level2) GetInP2PHellos() uint64
GetInP2PHellos retrieves the value of the leaf InP2PHellos from the IsisRouter_Counters_Level2 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InP2PHellos is set, it can safely use t.GetInP2PHellos() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InP2PHellos == nil' before retrieving the leaf's value.
func (*IsisRouter_Counters_Level2) GetInPsnp ¶
func (t *IsisRouter_Counters_Level2) GetInPsnp() uint64
GetInPsnp retrieves the value of the leaf InPsnp from the IsisRouter_Counters_Level2 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InPsnp is set, it can safely use t.GetInPsnp() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InPsnp == nil' before retrieving the leaf's value.
func (*IsisRouter_Counters_Level2) GetOutBcastHellos ¶
func (t *IsisRouter_Counters_Level2) GetOutBcastHellos() uint64
GetOutBcastHellos retrieves the value of the leaf OutBcastHellos from the IsisRouter_Counters_Level2 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutBcastHellos is set, it can safely use t.GetOutBcastHellos() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutBcastHellos == nil' before retrieving the leaf's value.
func (*IsisRouter_Counters_Level2) GetOutCsnp ¶
func (t *IsisRouter_Counters_Level2) GetOutCsnp() uint64
GetOutCsnp retrieves the value of the leaf OutCsnp from the IsisRouter_Counters_Level2 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutCsnp is set, it can safely use t.GetOutCsnp() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutCsnp == nil' before retrieving the leaf's value.
func (*IsisRouter_Counters_Level2) GetOutLsp ¶
func (t *IsisRouter_Counters_Level2) GetOutLsp() uint64
GetOutLsp retrieves the value of the leaf OutLsp from the IsisRouter_Counters_Level2 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutLsp is set, it can safely use t.GetOutLsp() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutLsp == nil' before retrieving the leaf's value.
func (*IsisRouter_Counters_Level2) GetOutP2PHellos ¶
func (t *IsisRouter_Counters_Level2) GetOutP2PHellos() uint64
GetOutP2PHellos retrieves the value of the leaf OutP2PHellos from the IsisRouter_Counters_Level2 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutP2PHellos is set, it can safely use t.GetOutP2PHellos() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutP2PHellos == nil' before retrieving the leaf's value.
func (*IsisRouter_Counters_Level2) GetOutPsnp ¶
func (t *IsisRouter_Counters_Level2) GetOutPsnp() uint64
GetOutPsnp retrieves the value of the leaf OutPsnp from the IsisRouter_Counters_Level2 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutPsnp is set, it can safely use t.GetOutPsnp() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutPsnp == nil' before retrieving the leaf's value.
func (*IsisRouter_Counters_Level2) GetSessionsFlap ¶
func (t *IsisRouter_Counters_Level2) GetSessionsFlap() uint64
GetSessionsFlap retrieves the value of the leaf SessionsFlap from the IsisRouter_Counters_Level2 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SessionsFlap is set, it can safely use t.GetSessionsFlap() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SessionsFlap == nil' before retrieving the leaf's value.
func (*IsisRouter_Counters_Level2) GetSessionsUp ¶
func (t *IsisRouter_Counters_Level2) GetSessionsUp() uint64
GetSessionsUp retrieves the value of the leaf SessionsUp from the IsisRouter_Counters_Level2 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SessionsUp is set, it can safely use t.GetSessionsUp() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SessionsUp == nil' before retrieving the leaf's value.
func (*IsisRouter_Counters_Level2) IsYANGGoStruct ¶
func (*IsisRouter_Counters_Level2) IsYANGGoStruct()
IsYANGGoStruct ensures that IsisRouter_Counters_Level2 implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*IsisRouter_Counters_Level2) PopulateDefaults ¶
func (t *IsisRouter_Counters_Level2) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the IsisRouter_Counters_Level2 with default values as specified in the YANG schema, instantiating any nil container fields.
func (*IsisRouter_Counters_Level2) SetDatabaseSize ¶
func (t *IsisRouter_Counters_Level2) SetDatabaseSize(v uint64)
SetDatabaseSize sets the value of the leaf DatabaseSize in the IsisRouter_Counters_Level2 struct.
func (*IsisRouter_Counters_Level2) SetInBcastHellos ¶
func (t *IsisRouter_Counters_Level2) SetInBcastHellos(v uint64)
SetInBcastHellos sets the value of the leaf InBcastHellos in the IsisRouter_Counters_Level2 struct.
func (*IsisRouter_Counters_Level2) SetInCsnp ¶
func (t *IsisRouter_Counters_Level2) SetInCsnp(v uint64)
SetInCsnp sets the value of the leaf InCsnp in the IsisRouter_Counters_Level2 struct.
func (*IsisRouter_Counters_Level2) SetInLsp ¶
func (t *IsisRouter_Counters_Level2) SetInLsp(v uint64)
SetInLsp sets the value of the leaf InLsp in the IsisRouter_Counters_Level2 struct.
func (*IsisRouter_Counters_Level2) SetInP2PHellos ¶
func (t *IsisRouter_Counters_Level2) SetInP2PHellos(v uint64)
SetInP2PHellos sets the value of the leaf InP2PHellos in the IsisRouter_Counters_Level2 struct.
func (*IsisRouter_Counters_Level2) SetInPsnp ¶
func (t *IsisRouter_Counters_Level2) SetInPsnp(v uint64)
SetInPsnp sets the value of the leaf InPsnp in the IsisRouter_Counters_Level2 struct.
func (*IsisRouter_Counters_Level2) SetOutBcastHellos ¶
func (t *IsisRouter_Counters_Level2) SetOutBcastHellos(v uint64)
SetOutBcastHellos sets the value of the leaf OutBcastHellos in the IsisRouter_Counters_Level2 struct.
func (*IsisRouter_Counters_Level2) SetOutCsnp ¶
func (t *IsisRouter_Counters_Level2) SetOutCsnp(v uint64)
SetOutCsnp sets the value of the leaf OutCsnp in the IsisRouter_Counters_Level2 struct.
func (*IsisRouter_Counters_Level2) SetOutLsp ¶
func (t *IsisRouter_Counters_Level2) SetOutLsp(v uint64)
SetOutLsp sets the value of the leaf OutLsp in the IsisRouter_Counters_Level2 struct.
func (*IsisRouter_Counters_Level2) SetOutP2PHellos ¶
func (t *IsisRouter_Counters_Level2) SetOutP2PHellos(v uint64)
SetOutP2PHellos sets the value of the leaf OutP2PHellos in the IsisRouter_Counters_Level2 struct.
func (*IsisRouter_Counters_Level2) SetOutPsnp ¶
func (t *IsisRouter_Counters_Level2) SetOutPsnp(v uint64)
SetOutPsnp sets the value of the leaf OutPsnp in the IsisRouter_Counters_Level2 struct.
func (*IsisRouter_Counters_Level2) SetSessionsFlap ¶
func (t *IsisRouter_Counters_Level2) SetSessionsFlap(v uint64)
SetSessionsFlap sets the value of the leaf SessionsFlap in the IsisRouter_Counters_Level2 struct.
func (*IsisRouter_Counters_Level2) SetSessionsUp ¶
func (t *IsisRouter_Counters_Level2) SetSessionsUp(v uint64)
SetSessionsUp sets the value of the leaf SessionsUp in the IsisRouter_Counters_Level2 struct.
func (*IsisRouter_Counters_Level2) Validate ¶
func (t *IsisRouter_Counters_Level2) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*IsisRouter_Counters_Level2) ΛBelongingModule ¶
func (*IsisRouter_Counters_Level2) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of IsisRouter_Counters_Level2.
func (*IsisRouter_Counters_Level2) ΛEnumTypeMap ¶
func (t *IsisRouter_Counters_Level2) Λ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 (*IsisRouter_Counters_Level2) ΛValidate ¶
func (t *IsisRouter_Counters_Level2) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type IsisRouter_LinkStateDatabase ¶
type IsisRouter_LinkStateDatabase struct {
Lsps map[IsisRouter_LinkStateDatabase_Lsps_Key]*IsisRouter_LinkStateDatabase_Lsps `path:"lsp-states/lsps" module:"open-traffic-generator-isis/open-traffic-generator-isis"`
}
IsisRouter_LinkStateDatabase represents the /open-traffic-generator-isis/isis-routers/isis-router/state/link-state-database YANG schema element.
func (*IsisRouter_LinkStateDatabase) AppendLsps ¶
func (t *IsisRouter_LinkStateDatabase) AppendLsps(v *IsisRouter_LinkStateDatabase_Lsps) error
AppendLsps appends the supplied IsisRouter_LinkStateDatabase_Lsps struct to the list Lsps of IsisRouter_LinkStateDatabase. If the key value(s) specified in the supplied IsisRouter_LinkStateDatabase_Lsps already exist in the list, an error is returned.
func (*IsisRouter_LinkStateDatabase) DeleteLsps ¶
func (t *IsisRouter_LinkStateDatabase) DeleteLsps(LspId string, PduType E_Lsps_PduType)
DeleteLsps deletes the value with the specified keys from the receiver IsisRouter_LinkStateDatabase. If there is no such element, the function is a no-op.
func (*IsisRouter_LinkStateDatabase) GetLsps ¶
func (t *IsisRouter_LinkStateDatabase) GetLsps(LspId string, PduType E_Lsps_PduType) *IsisRouter_LinkStateDatabase_Lsps
GetLsps retrieves the value with the specified key from the Lsps map field of IsisRouter_LinkStateDatabase. 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 (*IsisRouter_LinkStateDatabase) GetOrCreateLsps ¶
func (t *IsisRouter_LinkStateDatabase) GetOrCreateLsps(LspId string, PduType E_Lsps_PduType) *IsisRouter_LinkStateDatabase_Lsps
GetOrCreateLsps retrieves the value with the specified keys from the receiver IsisRouter_LinkStateDatabase. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*IsisRouter_LinkStateDatabase) IsYANGGoStruct ¶
func (*IsisRouter_LinkStateDatabase) IsYANGGoStruct()
IsYANGGoStruct ensures that IsisRouter_LinkStateDatabase implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*IsisRouter_LinkStateDatabase) NewLsps ¶
func (t *IsisRouter_LinkStateDatabase) NewLsps(LspId string, PduType E_Lsps_PduType) (*IsisRouter_LinkStateDatabase_Lsps, error)
NewLsps creates a new entry in the Lsps list of the IsisRouter_LinkStateDatabase struct. The keys of the list are populated from the input arguments.
func (*IsisRouter_LinkStateDatabase) PopulateDefaults ¶
func (t *IsisRouter_LinkStateDatabase) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the IsisRouter_LinkStateDatabase with default values as specified in the YANG schema, instantiating any nil container fields.
func (*IsisRouter_LinkStateDatabase) Validate ¶
func (t *IsisRouter_LinkStateDatabase) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*IsisRouter_LinkStateDatabase) ΛBelongingModule ¶
func (*IsisRouter_LinkStateDatabase) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of IsisRouter_LinkStateDatabase.
func (*IsisRouter_LinkStateDatabase) ΛEnumTypeMap ¶
func (t *IsisRouter_LinkStateDatabase) Λ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 (*IsisRouter_LinkStateDatabase) ΛValidate ¶
func (t *IsisRouter_LinkStateDatabase) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type IsisRouter_LinkStateDatabase_Lsps ¶
type IsisRouter_LinkStateDatabase_Lsps struct { Flags []E_Lsps_Flags `path:"state/flags" module:"open-traffic-generator-isis/open-traffic-generator-isis"` IsType *uint8 `path:"state/is-type" module:"open-traffic-generator-isis/open-traffic-generator-isis"` LspId *string `` /* 184-byte string literal not displayed */ PduLength *uint16 `path:"state/pdu-length" module:"open-traffic-generator-isis/open-traffic-generator-isis"` PduType E_Lsps_PduType `` /* 190-byte string literal not displayed */ RemainingLifetime *uint16 `path:"state/remaining-lifetime" module:"open-traffic-generator-isis/open-traffic-generator-isis"` SequenceNumber *uint32 `path:"state/sequence-number" module:"open-traffic-generator-isis/open-traffic-generator-isis"` Tlvs *IsisRouter_LinkStateDatabase_Lsps_Tlvs `path:"tlvs" module:"open-traffic-generator-isis"` }
IsisRouter_LinkStateDatabase_Lsps represents the /open-traffic-generator-isis/isis-routers/isis-router/state/link-state-database/lsp-states/lsps YANG schema element.
func (*IsisRouter_LinkStateDatabase_Lsps) GetFlags ¶
func (t *IsisRouter_LinkStateDatabase_Lsps) GetFlags() []E_Lsps_Flags
GetFlags retrieves the value of the leaf Flags from the IsisRouter_LinkStateDatabase_Lsps struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Flags is set, it can safely use t.GetFlags() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Flags == nil' before retrieving the leaf's value.
func (*IsisRouter_LinkStateDatabase_Lsps) GetIsType ¶
func (t *IsisRouter_LinkStateDatabase_Lsps) GetIsType() uint8
GetIsType retrieves the value of the leaf IsType from the IsisRouter_LinkStateDatabase_Lsps struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if IsType is set, it can safely use t.GetIsType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.IsType == nil' before retrieving the leaf's value.
func (*IsisRouter_LinkStateDatabase_Lsps) GetLspId ¶
func (t *IsisRouter_LinkStateDatabase_Lsps) GetLspId() string
GetLspId retrieves the value of the leaf LspId from the IsisRouter_LinkStateDatabase_Lsps struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LspId is set, it can safely use t.GetLspId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LspId == nil' before retrieving the leaf's value.
func (*IsisRouter_LinkStateDatabase_Lsps) GetOrCreateTlvs ¶
func (t *IsisRouter_LinkStateDatabase_Lsps) GetOrCreateTlvs() *IsisRouter_LinkStateDatabase_Lsps_Tlvs
GetOrCreateTlvs retrieves the value of the Tlvs field or returns the existing field if it already exists.
func (*IsisRouter_LinkStateDatabase_Lsps) GetPduLength ¶
func (t *IsisRouter_LinkStateDatabase_Lsps) GetPduLength() uint16
GetPduLength retrieves the value of the leaf PduLength from the IsisRouter_LinkStateDatabase_Lsps struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if PduLength is set, it can safely use t.GetPduLength() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.PduLength == nil' before retrieving the leaf's value.
func (*IsisRouter_LinkStateDatabase_Lsps) GetPduType ¶
func (t *IsisRouter_LinkStateDatabase_Lsps) GetPduType() E_Lsps_PduType
GetPduType retrieves the value of the leaf PduType from the IsisRouter_LinkStateDatabase_Lsps struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if PduType is set, it can safely use t.GetPduType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.PduType == nil' before retrieving the leaf's value.
func (*IsisRouter_LinkStateDatabase_Lsps) GetRemainingLifetime ¶
func (t *IsisRouter_LinkStateDatabase_Lsps) GetRemainingLifetime() uint16
GetRemainingLifetime retrieves the value of the leaf RemainingLifetime from the IsisRouter_LinkStateDatabase_Lsps struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if RemainingLifetime is set, it can safely use t.GetRemainingLifetime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.RemainingLifetime == nil' before retrieving the leaf's value.
func (*IsisRouter_LinkStateDatabase_Lsps) GetSequenceNumber ¶
func (t *IsisRouter_LinkStateDatabase_Lsps) GetSequenceNumber() uint32
GetSequenceNumber retrieves the value of the leaf SequenceNumber from the IsisRouter_LinkStateDatabase_Lsps struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SequenceNumber is set, it can safely use t.GetSequenceNumber() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SequenceNumber == nil' before retrieving the leaf's value.
func (*IsisRouter_LinkStateDatabase_Lsps) GetTlvs ¶
func (t *IsisRouter_LinkStateDatabase_Lsps) GetTlvs() *IsisRouter_LinkStateDatabase_Lsps_Tlvs
GetTlvs returns the value of the Tlvs struct pointer from IsisRouter_LinkStateDatabase_Lsps. If the receiver or the field Tlvs is nil, nil is returned such that the Get* methods can be safely chained.
func (*IsisRouter_LinkStateDatabase_Lsps) IsYANGGoStruct ¶
func (*IsisRouter_LinkStateDatabase_Lsps) IsYANGGoStruct()
IsYANGGoStruct ensures that IsisRouter_LinkStateDatabase_Lsps implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*IsisRouter_LinkStateDatabase_Lsps) PopulateDefaults ¶
func (t *IsisRouter_LinkStateDatabase_Lsps) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the IsisRouter_LinkStateDatabase_Lsps with default values as specified in the YANG schema, instantiating any nil container fields.
func (*IsisRouter_LinkStateDatabase_Lsps) SetFlags ¶
func (t *IsisRouter_LinkStateDatabase_Lsps) SetFlags(v []E_Lsps_Flags)
SetFlags sets the value of the leaf Flags in the IsisRouter_LinkStateDatabase_Lsps struct.
func (*IsisRouter_LinkStateDatabase_Lsps) SetIsType ¶
func (t *IsisRouter_LinkStateDatabase_Lsps) SetIsType(v uint8)
SetIsType sets the value of the leaf IsType in the IsisRouter_LinkStateDatabase_Lsps struct.
func (*IsisRouter_LinkStateDatabase_Lsps) SetLspId ¶
func (t *IsisRouter_LinkStateDatabase_Lsps) SetLspId(v string)
SetLspId sets the value of the leaf LspId in the IsisRouter_LinkStateDatabase_Lsps struct.
func (*IsisRouter_LinkStateDatabase_Lsps) SetPduLength ¶
func (t *IsisRouter_LinkStateDatabase_Lsps) SetPduLength(v uint16)
SetPduLength sets the value of the leaf PduLength in the IsisRouter_LinkStateDatabase_Lsps struct.
func (*IsisRouter_LinkStateDatabase_Lsps) SetPduType ¶
func (t *IsisRouter_LinkStateDatabase_Lsps) SetPduType(v E_Lsps_PduType)
SetPduType sets the value of the leaf PduType in the IsisRouter_LinkStateDatabase_Lsps struct.
func (*IsisRouter_LinkStateDatabase_Lsps) SetRemainingLifetime ¶
func (t *IsisRouter_LinkStateDatabase_Lsps) SetRemainingLifetime(v uint16)
SetRemainingLifetime sets the value of the leaf RemainingLifetime in the IsisRouter_LinkStateDatabase_Lsps struct.
func (*IsisRouter_LinkStateDatabase_Lsps) SetSequenceNumber ¶
func (t *IsisRouter_LinkStateDatabase_Lsps) SetSequenceNumber(v uint32)
SetSequenceNumber sets the value of the leaf SequenceNumber in the IsisRouter_LinkStateDatabase_Lsps struct.
func (*IsisRouter_LinkStateDatabase_Lsps) Validate ¶
func (t *IsisRouter_LinkStateDatabase_Lsps) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*IsisRouter_LinkStateDatabase_Lsps) ΛBelongingModule ¶
func (*IsisRouter_LinkStateDatabase_Lsps) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of IsisRouter_LinkStateDatabase_Lsps.
func (*IsisRouter_LinkStateDatabase_Lsps) ΛEnumTypeMap ¶
func (t *IsisRouter_LinkStateDatabase_Lsps) Λ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 (*IsisRouter_LinkStateDatabase_Lsps) ΛListKeyMap ¶
func (t *IsisRouter_LinkStateDatabase_Lsps) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the IsisRouter_LinkStateDatabase_Lsps struct, which is a YANG list entry.
func (*IsisRouter_LinkStateDatabase_Lsps) ΛValidate ¶
func (t *IsisRouter_LinkStateDatabase_Lsps) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type IsisRouter_LinkStateDatabase_Lsps_Key ¶
type IsisRouter_LinkStateDatabase_Lsps_Key struct { LspId string `path:"lsp-id"` PduType E_Lsps_PduType `path:"pdu-type"` }
IsisRouter_LinkStateDatabase_Lsps_Key represents the key for list Lsps of element /open-traffic-generator-isis/isis-routers/isis-router/state/link-state-database.
func (IsisRouter_LinkStateDatabase_Lsps_Key) IsYANGGoKeyStruct ¶
func (IsisRouter_LinkStateDatabase_Lsps_Key) IsYANGGoKeyStruct()
IsYANGGoKeyStruct ensures that IsisRouter_LinkStateDatabase_Lsps_Key partially implements the yang.GoKeyStruct interface. This allows functions that need to handle this key struct to identify it as being generated by gogen.
func (IsisRouter_LinkStateDatabase_Lsps_Key) ΛListKeyMap ¶
func (t IsisRouter_LinkStateDatabase_Lsps_Key) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the values of the IsisRouter_LinkStateDatabase_Lsps_Key key struct.
type IsisRouter_LinkStateDatabase_Lsps_Tlvs ¶
type IsisRouter_LinkStateDatabase_Lsps_Tlvs struct { ExtendedIpv4Reachability *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability `path:"extended-ipv4-reachability" module:"open-traffic-generator-isis"` ExtendedIsReachability *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability `path:"extended-is-reachability" module:"open-traffic-generator-isis"` Hostnames *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Hostnames `path:"hostnames" module:"open-traffic-generator-isis"` Ipv4ExternalReachability *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability `path:"ipv4-external-reachability" module:"open-traffic-generator-isis"` Ipv4InternalReachability *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability `path:"ipv4-internal-reachability" module:"open-traffic-generator-isis"` Ipv6Reachability *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability `path:"ipv6-reachability" module:"open-traffic-generator-isis"` IsReachability *IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability `path:"is-reachability" module:"open-traffic-generator-isis"` }
IsisRouter_LinkStateDatabase_Lsps_Tlvs represents the /open-traffic-generator-isis/isis-routers/isis-router/state/link-state-database/lsp-states/lsps/tlvs YANG schema element.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs) GetExtendedIpv4Reachability ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs) GetExtendedIpv4Reachability() *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability
GetExtendedIpv4Reachability returns the value of the ExtendedIpv4Reachability struct pointer from IsisRouter_LinkStateDatabase_Lsps_Tlvs. If the receiver or the field ExtendedIpv4Reachability is nil, nil is returned such that the Get* methods can be safely chained.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs) GetExtendedIsReachability ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs) GetExtendedIsReachability() *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability
GetExtendedIsReachability returns the value of the ExtendedIsReachability struct pointer from IsisRouter_LinkStateDatabase_Lsps_Tlvs. If the receiver or the field ExtendedIsReachability is nil, nil is returned such that the Get* methods can be safely chained.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs) GetHostnames ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs) GetHostnames() *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Hostnames
GetHostnames returns the value of the Hostnames struct pointer from IsisRouter_LinkStateDatabase_Lsps_Tlvs. If the receiver or the field Hostnames is nil, nil is returned such that the Get* methods can be safely chained.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs) GetIpv4ExternalReachability ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs) GetIpv4ExternalReachability() *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability
GetIpv4ExternalReachability returns the value of the Ipv4ExternalReachability struct pointer from IsisRouter_LinkStateDatabase_Lsps_Tlvs. If the receiver or the field Ipv4ExternalReachability is nil, nil is returned such that the Get* methods can be safely chained.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs) GetIpv4InternalReachability ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs) GetIpv4InternalReachability() *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability
GetIpv4InternalReachability returns the value of the Ipv4InternalReachability struct pointer from IsisRouter_LinkStateDatabase_Lsps_Tlvs. If the receiver or the field Ipv4InternalReachability is nil, nil is returned such that the Get* methods can be safely chained.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs) GetIpv6Reachability ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs) GetIpv6Reachability() *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability
GetIpv6Reachability returns the value of the Ipv6Reachability struct pointer from IsisRouter_LinkStateDatabase_Lsps_Tlvs. If the receiver or the field Ipv6Reachability is nil, nil is returned such that the Get* methods can be safely chained.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs) GetIsReachability ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs) GetIsReachability() *IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability
GetIsReachability returns the value of the IsReachability struct pointer from IsisRouter_LinkStateDatabase_Lsps_Tlvs. If the receiver or the field IsReachability is nil, nil is returned such that the Get* methods can be safely chained.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs) GetOrCreateExtendedIpv4Reachability ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs) GetOrCreateExtendedIpv4Reachability() *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability
GetOrCreateExtendedIpv4Reachability retrieves the value of the ExtendedIpv4Reachability field or returns the existing field if it already exists.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs) GetOrCreateExtendedIsReachability ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs) GetOrCreateExtendedIsReachability() *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability
GetOrCreateExtendedIsReachability retrieves the value of the ExtendedIsReachability field or returns the existing field if it already exists.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs) GetOrCreateHostnames ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs) GetOrCreateHostnames() *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Hostnames
GetOrCreateHostnames retrieves the value of the Hostnames field or returns the existing field if it already exists.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs) GetOrCreateIpv4ExternalReachability ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs) GetOrCreateIpv4ExternalReachability() *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability
GetOrCreateIpv4ExternalReachability retrieves the value of the Ipv4ExternalReachability field or returns the existing field if it already exists.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs) GetOrCreateIpv4InternalReachability ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs) GetOrCreateIpv4InternalReachability() *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability
GetOrCreateIpv4InternalReachability retrieves the value of the Ipv4InternalReachability field or returns the existing field if it already exists.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs) GetOrCreateIpv6Reachability ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs) GetOrCreateIpv6Reachability() *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability
GetOrCreateIpv6Reachability retrieves the value of the Ipv6Reachability field or returns the existing field if it already exists.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs) GetOrCreateIsReachability ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs) GetOrCreateIsReachability() *IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability
GetOrCreateIsReachability retrieves the value of the IsReachability field or returns the existing field if it already exists.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs) IsYANGGoStruct ¶
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs) IsYANGGoStruct()
IsYANGGoStruct ensures that IsisRouter_LinkStateDatabase_Lsps_Tlvs implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs) PopulateDefaults ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the IsisRouter_LinkStateDatabase_Lsps_Tlvs with default values as specified in the YANG schema, instantiating any nil container fields.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs) Validate ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs) ΛBelongingModule ¶
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of IsisRouter_LinkStateDatabase_Lsps_Tlvs.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs) ΛEnumTypeMap ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs) Λ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 (*IsisRouter_LinkStateDatabase_Lsps_Tlvs) ΛValidate ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability ¶
type IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability struct {
Prefix map[string]*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix `path:"prefixes/prefix" module:"open-traffic-generator-isis/open-traffic-generator-isis"`
}
IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability represents the /open-traffic-generator-isis/isis-routers/isis-router/state/link-state-database/lsp-states/lsps/tlvs/extended-ipv4-reachability YANG schema element.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability) AppendPrefix ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability) AppendPrefix(v *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix) error
AppendPrefix appends the supplied IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix struct to the list Prefix of IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability. If the key value(s) specified in the supplied IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix already exist in the list, an error is returned.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability) DeletePrefix ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability) DeletePrefix(Prefix string)
DeletePrefix deletes the value with the specified keys from the receiver IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability. If there is no such element, the function is a no-op.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability) GetOrCreatePrefix ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability) GetOrCreatePrefix(Prefix string) *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix
GetOrCreatePrefix retrieves the value with the specified keys from the receiver IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability) GetPrefix ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability) GetPrefix(Prefix string) *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix
GetPrefix retrieves the value with the specified key from the Prefix map field of IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability. 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 (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability) IsYANGGoStruct ¶
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability) IsYANGGoStruct()
IsYANGGoStruct ensures that IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability) NewPrefix ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability) NewPrefix(Prefix string) (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix, error)
NewPrefix creates a new entry in the Prefix list of the IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability struct. The keys of the list are populated from the input arguments.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability) PopulateDefaults ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability with default values as specified in the YANG schema, instantiating any nil container fields.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability) Validate ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability) ΛBelongingModule ¶
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability) ΛEnumTypeMap ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability) Λ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 (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability) ΛValidate ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix ¶
type IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix struct { Metric *uint32 `path:"state/metric" module:"open-traffic-generator-isis/open-traffic-generator-isis"` Prefix *string `` /* 184-byte string literal not displayed */ PrefixAttributes *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix_PrefixAttributes `path:"state/prefix-attributes" module:"open-traffic-generator-isis/open-traffic-generator-isis"` PrefixLength *uint32 `path:"state/prefix-length" module:"open-traffic-generator-isis/open-traffic-generator-isis"` RedistributionType E_ExtendedIpv4Reachability_Prefix_RedistributionType `path:"state/redistribution-type" module:"open-traffic-generator-isis/open-traffic-generator-isis"` }
IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix represents the /open-traffic-generator-isis/isis-routers/isis-router/state/link-state-database/lsp-states/lsps/tlvs/extended-ipv4-reachability/prefixes/prefix YANG schema element.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix) GetMetric ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix) GetMetric() uint32
GetMetric retrieves the value of the leaf Metric from the IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_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 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 (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix) GetOrCreatePrefixAttributes ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix) GetOrCreatePrefixAttributes() *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix_PrefixAttributes
GetOrCreatePrefixAttributes retrieves the value of the PrefixAttributes field or returns the existing field if it already exists.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix) GetPrefix ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix) GetPrefix() string
GetPrefix retrieves the value of the leaf Prefix from the IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_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 (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix) GetPrefixAttributes ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix) GetPrefixAttributes() *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix_PrefixAttributes
GetPrefixAttributes returns the value of the PrefixAttributes struct pointer from IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix. If the receiver or the field PrefixAttributes is nil, nil is returned such that the Get* methods can be safely chained.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix) GetPrefixLength ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix) GetPrefixLength() uint32
GetPrefixLength retrieves the value of the leaf PrefixLength from the IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_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 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 (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix) GetRedistributionType ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix) GetRedistributionType() E_ExtendedIpv4Reachability_Prefix_RedistributionType
GetRedistributionType retrieves the value of the leaf RedistributionType from the IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_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 RedistributionType is set, it can safely use t.GetRedistributionType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.RedistributionType == nil' before retrieving the leaf's value.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix) IsYANGGoStruct ¶
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix) IsYANGGoStruct()
IsYANGGoStruct ensures that IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix) PopulateDefaults ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix with default values as specified in the YANG schema, instantiating any nil container fields.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix) SetMetric ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix) SetMetric(v uint32)
SetMetric sets the value of the leaf Metric in the IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix struct.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix) SetPrefix ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix) SetPrefix(v string)
SetPrefix sets the value of the leaf Prefix in the IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix struct.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix) SetPrefixLength ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix) SetPrefixLength(v uint32)
SetPrefixLength sets the value of the leaf PrefixLength in the IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix struct.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix) SetRedistributionType ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix) SetRedistributionType(v E_ExtendedIpv4Reachability_Prefix_RedistributionType)
SetRedistributionType sets the value of the leaf RedistributionType in the IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix struct.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix) Validate ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix) ΛBelongingModule ¶
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix) ΛEnumTypeMap ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_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 (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix) ΛListKeyMap ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix struct, which is a YANG list entry.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix) ΛValidate ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix_PrefixAttributes ¶
type IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix_PrefixAttributes struct {
Flags []E_State_Flags `path:"flags" module:"open-traffic-generator-isis"`
}
IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix_PrefixAttributes represents the /open-traffic-generator-isis/isis-routers/isis-router/state/link-state-database/lsp-states/lsps/tlvs/extended-ipv4-reachability/prefixes/prefix/state/prefix-attributes YANG schema element.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix_PrefixAttributes) GetFlags ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix_PrefixAttributes) GetFlags() []E_State_Flags
GetFlags retrieves the value of the leaf Flags from the IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix_PrefixAttributes struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Flags is set, it can safely use t.GetFlags() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Flags == nil' before retrieving the leaf's value.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix_PrefixAttributes) IsYANGGoStruct ¶
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix_PrefixAttributes) IsYANGGoStruct()
IsYANGGoStruct ensures that IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix_PrefixAttributes implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix_PrefixAttributes) PopulateDefaults ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix_PrefixAttributes) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix_PrefixAttributes with default values as specified in the YANG schema, instantiating any nil container fields.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix_PrefixAttributes) SetFlags ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix_PrefixAttributes) SetFlags(v []E_State_Flags)
SetFlags sets the value of the leaf Flags in the IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix_PrefixAttributes struct.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix_PrefixAttributes) Validate ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix_PrefixAttributes) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix_PrefixAttributes) ΛBelongingModule ¶
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix_PrefixAttributes) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix_PrefixAttributes.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix_PrefixAttributes) ΛEnumTypeMap ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix_PrefixAttributes) Λ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 (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix_PrefixAttributes) ΛValidate ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIpv4Reachability_Prefix_PrefixAttributes) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability ¶
type IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability struct {
Neighbor map[string]*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability_Neighbor `path:"neighbors/neighbor" module:"open-traffic-generator-isis/open-traffic-generator-isis"`
}
IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability represents the /open-traffic-generator-isis/isis-routers/isis-router/state/link-state-database/lsp-states/lsps/tlvs/extended-is-reachability YANG schema element.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability) AppendNeighbor ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability) AppendNeighbor(v *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability_Neighbor) error
AppendNeighbor appends the supplied IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability_Neighbor struct to the list Neighbor of IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability. If the key value(s) specified in the supplied IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability_Neighbor already exist in the list, an error is returned.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability) DeleteNeighbor ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability) DeleteNeighbor(SystemId string)
DeleteNeighbor deletes the value with the specified keys from the receiver IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability. If there is no such element, the function is a no-op.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability) GetNeighbor ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability) GetNeighbor(SystemId string) *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability_Neighbor
GetNeighbor retrieves the value with the specified key from the Neighbor map field of IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability. 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 (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability) GetOrCreateNeighbor ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability) GetOrCreateNeighbor(SystemId string) *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability_Neighbor
GetOrCreateNeighbor retrieves the value with the specified keys from the receiver IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability) IsYANGGoStruct ¶
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability) IsYANGGoStruct()
IsYANGGoStruct ensures that IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability) NewNeighbor ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability) NewNeighbor(SystemId string) (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability_Neighbor, error)
NewNeighbor creates a new entry in the Neighbor list of the IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability struct. The keys of the list are populated from the input arguments.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability) PopulateDefaults ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability with default values as specified in the YANG schema, instantiating any nil container fields.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability) Validate ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability) ΛBelongingModule ¶
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability) ΛEnumTypeMap ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability) Λ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 (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability) ΛValidate ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability_Neighbor ¶
type IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability_Neighbor struct {
SystemId *string `` /* 193-byte string literal not displayed */
}
IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability_Neighbor represents the /open-traffic-generator-isis/isis-routers/isis-router/state/link-state-database/lsp-states/lsps/tlvs/extended-is-reachability/neighbors/neighbor YANG schema element.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability_Neighbor) GetSystemId ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability_Neighbor) GetSystemId() string
GetSystemId retrieves the value of the leaf SystemId from the IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability_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 SystemId is set, it can safely use t.GetSystemId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SystemId == nil' before retrieving the leaf's value.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability_Neighbor) IsYANGGoStruct ¶
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability_Neighbor) IsYANGGoStruct()
IsYANGGoStruct ensures that IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability_Neighbor implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability_Neighbor) PopulateDefaults ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability_Neighbor) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability_Neighbor with default values as specified in the YANG schema, instantiating any nil container fields.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability_Neighbor) SetSystemId ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability_Neighbor) SetSystemId(v string)
SetSystemId sets the value of the leaf SystemId in the IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability_Neighbor struct.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability_Neighbor) Validate ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability_Neighbor) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability_Neighbor) ΛBelongingModule ¶
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability_Neighbor) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability_Neighbor.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability_Neighbor) ΛEnumTypeMap ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability_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 (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability_Neighbor) ΛListKeyMap ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability_Neighbor) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability_Neighbor struct, which is a YANG list entry.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability_Neighbor) ΛValidate ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_ExtendedIsReachability_Neighbor) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type IsisRouter_LinkStateDatabase_Lsps_Tlvs_Hostnames ¶
type IsisRouter_LinkStateDatabase_Lsps_Tlvs_Hostnames struct {
Hostname []string `path:"state/hostname" module:"open-traffic-generator-isis/open-traffic-generator-isis"`
}
IsisRouter_LinkStateDatabase_Lsps_Tlvs_Hostnames represents the /open-traffic-generator-isis/isis-routers/isis-router/state/link-state-database/lsp-states/lsps/tlvs/hostnames YANG schema element.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Hostnames) GetHostname ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Hostnames) GetHostname() []string
GetHostname retrieves the value of the leaf Hostname from the IsisRouter_LinkStateDatabase_Lsps_Tlvs_Hostnames struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Hostname is set, it can safely use t.GetHostname() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Hostname == nil' before retrieving the leaf's value.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Hostnames) IsYANGGoStruct ¶
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Hostnames) IsYANGGoStruct()
IsYANGGoStruct ensures that IsisRouter_LinkStateDatabase_Lsps_Tlvs_Hostnames implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Hostnames) PopulateDefaults ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Hostnames) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the IsisRouter_LinkStateDatabase_Lsps_Tlvs_Hostnames with default values as specified in the YANG schema, instantiating any nil container fields.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Hostnames) SetHostname ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Hostnames) SetHostname(v []string)
SetHostname sets the value of the leaf Hostname in the IsisRouter_LinkStateDatabase_Lsps_Tlvs_Hostnames struct.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Hostnames) Validate ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Hostnames) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Hostnames) ΛBelongingModule ¶
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Hostnames) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of IsisRouter_LinkStateDatabase_Lsps_Tlvs_Hostnames.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Hostnames) ΛEnumTypeMap ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Hostnames) Λ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 (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Hostnames) ΛValidate ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Hostnames) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability ¶
type IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability struct {
Prefix map[string]*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix `path:"prefixes/prefix" module:"open-traffic-generator-isis/open-traffic-generator-isis"`
}
IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability represents the /open-traffic-generator-isis/isis-routers/isis-router/state/link-state-database/lsp-states/lsps/tlvs/ipv4-external-reachability YANG schema element.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability) AppendPrefix ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability) AppendPrefix(v *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix) error
AppendPrefix appends the supplied IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix struct to the list Prefix of IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability. If the key value(s) specified in the supplied IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix already exist in the list, an error is returned.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability) DeletePrefix ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability) DeletePrefix(Prefix string)
DeletePrefix deletes the value with the specified keys from the receiver IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability. If there is no such element, the function is a no-op.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability) GetOrCreatePrefix ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability) GetOrCreatePrefix(Prefix string) *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix
GetOrCreatePrefix retrieves the value with the specified keys from the receiver IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability) GetPrefix ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability) GetPrefix(Prefix string) *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix
GetPrefix retrieves the value with the specified key from the Prefix map field of IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability. 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 (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability) IsYANGGoStruct ¶
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability) IsYANGGoStruct()
IsYANGGoStruct ensures that IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability) NewPrefix ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability) NewPrefix(Prefix string) (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix, error)
NewPrefix creates a new entry in the Prefix list of the IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability struct. The keys of the list are populated from the input arguments.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability) PopulateDefaults ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability with default values as specified in the YANG schema, instantiating any nil container fields.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability) Validate ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability) ΛBelongingModule ¶
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability) ΛEnumTypeMap ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability) Λ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 (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability) ΛValidate ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix ¶
type IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix struct { DefaultMetric *uint8 `path:"state/default-metric" module:"open-traffic-generator-isis/open-traffic-generator-isis"` OriginType E_Ipv4ExternalReachability_Prefix_OriginType `path:"state/origin-type" module:"open-traffic-generator-isis/open-traffic-generator-isis"` Prefix *string `` /* 184-byte string literal not displayed */ PrefixLength *uint32 `path:"state/prefix-length" module:"open-traffic-generator-isis/open-traffic-generator-isis"` RedistributionType E_Ipv4ExternalReachability_Prefix_RedistributionType `path:"state/redistribution-type" module:"open-traffic-generator-isis/open-traffic-generator-isis"` }
IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix represents the /open-traffic-generator-isis/isis-routers/isis-router/state/link-state-database/lsp-states/lsps/tlvs/ipv4-external-reachability/prefixes/prefix YANG schema element.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix) GetDefaultMetric ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix) GetDefaultMetric() uint8
GetDefaultMetric retrieves the value of the leaf DefaultMetric from the IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_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 DefaultMetric is set, it can safely use t.GetDefaultMetric() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.DefaultMetric == nil' before retrieving the leaf's value.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix) GetOriginType ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix) GetOriginType() E_Ipv4ExternalReachability_Prefix_OriginType
GetOriginType retrieves the value of the leaf OriginType from the IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_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 OriginType is set, it can safely use t.GetOriginType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OriginType == nil' before retrieving the leaf's value.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix) GetPrefix ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix) GetPrefix() string
GetPrefix retrieves the value of the leaf Prefix from the IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_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 (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix) GetPrefixLength ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix) GetPrefixLength() uint32
GetPrefixLength retrieves the value of the leaf PrefixLength from the IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_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 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 (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix) GetRedistributionType ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix) GetRedistributionType() E_Ipv4ExternalReachability_Prefix_RedistributionType
GetRedistributionType retrieves the value of the leaf RedistributionType from the IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_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 RedistributionType is set, it can safely use t.GetRedistributionType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.RedistributionType == nil' before retrieving the leaf's value.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix) IsYANGGoStruct ¶
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix) IsYANGGoStruct()
IsYANGGoStruct ensures that IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix) PopulateDefaults ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix with default values as specified in the YANG schema, instantiating any nil container fields.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix) SetDefaultMetric ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix) SetDefaultMetric(v uint8)
SetDefaultMetric sets the value of the leaf DefaultMetric in the IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix struct.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix) SetOriginType ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix) SetOriginType(v E_Ipv4ExternalReachability_Prefix_OriginType)
SetOriginType sets the value of the leaf OriginType in the IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix struct.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix) SetPrefix ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix) SetPrefix(v string)
SetPrefix sets the value of the leaf Prefix in the IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix struct.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix) SetPrefixLength ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix) SetPrefixLength(v uint32)
SetPrefixLength sets the value of the leaf PrefixLength in the IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix struct.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix) SetRedistributionType ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix) SetRedistributionType(v E_Ipv4ExternalReachability_Prefix_RedistributionType)
SetRedistributionType sets the value of the leaf RedistributionType in the IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix struct.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix) Validate ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix) ΛBelongingModule ¶
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix) ΛEnumTypeMap ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_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 (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix) ΛListKeyMap ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix struct, which is a YANG list entry.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix) ΛValidate ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4ExternalReachability_Prefix) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability ¶
type IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability struct {
Prefix map[string]*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix `path:"prefixes/prefix" module:"open-traffic-generator-isis/open-traffic-generator-isis"`
}
IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability represents the /open-traffic-generator-isis/isis-routers/isis-router/state/link-state-database/lsp-states/lsps/tlvs/ipv4-internal-reachability YANG schema element.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability) AppendPrefix ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability) AppendPrefix(v *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix) error
AppendPrefix appends the supplied IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix struct to the list Prefix of IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability. If the key value(s) specified in the supplied IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix already exist in the list, an error is returned.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability) DeletePrefix ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability) DeletePrefix(Prefix string)
DeletePrefix deletes the value with the specified keys from the receiver IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability. If there is no such element, the function is a no-op.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability) GetOrCreatePrefix ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability) GetOrCreatePrefix(Prefix string) *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix
GetOrCreatePrefix retrieves the value with the specified keys from the receiver IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability) GetPrefix ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability) GetPrefix(Prefix string) *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix
GetPrefix retrieves the value with the specified key from the Prefix map field of IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability. 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 (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability) IsYANGGoStruct ¶
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability) IsYANGGoStruct()
IsYANGGoStruct ensures that IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability) NewPrefix ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability) NewPrefix(Prefix string) (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix, error)
NewPrefix creates a new entry in the Prefix list of the IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability struct. The keys of the list are populated from the input arguments.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability) PopulateDefaults ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability with default values as specified in the YANG schema, instantiating any nil container fields.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability) Validate ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability) ΛBelongingModule ¶
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability) ΛEnumTypeMap ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability) Λ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 (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability) ΛValidate ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix ¶
type IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix struct { DefaultMetric *uint8 `path:"state/default-metric" module:"open-traffic-generator-isis/open-traffic-generator-isis"` OriginType E_Ipv4ExternalReachability_Prefix_OriginType `path:"state/origin-type" module:"open-traffic-generator-isis/open-traffic-generator-isis"` Prefix *string `` /* 184-byte string literal not displayed */ PrefixLength *uint32 `path:"state/prefix-length" module:"open-traffic-generator-isis/open-traffic-generator-isis"` RedistributionType E_Ipv4ExternalReachability_Prefix_RedistributionType `path:"state/redistribution-type" module:"open-traffic-generator-isis/open-traffic-generator-isis"` }
IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix represents the /open-traffic-generator-isis/isis-routers/isis-router/state/link-state-database/lsp-states/lsps/tlvs/ipv4-internal-reachability/prefixes/prefix YANG schema element.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix) GetDefaultMetric ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix) GetDefaultMetric() uint8
GetDefaultMetric retrieves the value of the leaf DefaultMetric from the IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_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 DefaultMetric is set, it can safely use t.GetDefaultMetric() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.DefaultMetric == nil' before retrieving the leaf's value.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix) GetOriginType ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix) GetOriginType() E_Ipv4ExternalReachability_Prefix_OriginType
GetOriginType retrieves the value of the leaf OriginType from the IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_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 OriginType is set, it can safely use t.GetOriginType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OriginType == nil' before retrieving the leaf's value.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix) GetPrefix ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix) GetPrefix() string
GetPrefix retrieves the value of the leaf Prefix from the IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_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 (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix) GetPrefixLength ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix) GetPrefixLength() uint32
GetPrefixLength retrieves the value of the leaf PrefixLength from the IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_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 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 (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix) GetRedistributionType ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix) GetRedistributionType() E_Ipv4ExternalReachability_Prefix_RedistributionType
GetRedistributionType retrieves the value of the leaf RedistributionType from the IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_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 RedistributionType is set, it can safely use t.GetRedistributionType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.RedistributionType == nil' before retrieving the leaf's value.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix) IsYANGGoStruct ¶
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix) IsYANGGoStruct()
IsYANGGoStruct ensures that IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix) PopulateDefaults ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix with default values as specified in the YANG schema, instantiating any nil container fields.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix) SetDefaultMetric ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix) SetDefaultMetric(v uint8)
SetDefaultMetric sets the value of the leaf DefaultMetric in the IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix struct.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix) SetOriginType ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix) SetOriginType(v E_Ipv4ExternalReachability_Prefix_OriginType)
SetOriginType sets the value of the leaf OriginType in the IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix struct.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix) SetPrefix ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix) SetPrefix(v string)
SetPrefix sets the value of the leaf Prefix in the IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix struct.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix) SetPrefixLength ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix) SetPrefixLength(v uint32)
SetPrefixLength sets the value of the leaf PrefixLength in the IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix struct.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix) SetRedistributionType ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix) SetRedistributionType(v E_Ipv4ExternalReachability_Prefix_RedistributionType)
SetRedistributionType sets the value of the leaf RedistributionType in the IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix struct.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix) Validate ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix) ΛBelongingModule ¶
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix) ΛEnumTypeMap ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_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 (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix) ΛListKeyMap ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix struct, which is a YANG list entry.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix) ΛValidate ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv4InternalReachability_Prefix) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability ¶
type IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability struct {
Prefix map[string]*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix `path:"prefixes/prefix" module:"open-traffic-generator-isis/open-traffic-generator-isis"`
}
IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability represents the /open-traffic-generator-isis/isis-routers/isis-router/state/link-state-database/lsp-states/lsps/tlvs/ipv6-reachability YANG schema element.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability) AppendPrefix ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability) AppendPrefix(v *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix) error
AppendPrefix appends the supplied IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix struct to the list Prefix of IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability. If the key value(s) specified in the supplied IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix already exist in the list, an error is returned.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability) DeletePrefix ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability) DeletePrefix(Prefix string)
DeletePrefix deletes the value with the specified keys from the receiver IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability. If there is no such element, the function is a no-op.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability) GetOrCreatePrefix ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability) GetOrCreatePrefix(Prefix string) *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix
GetOrCreatePrefix retrieves the value with the specified keys from the receiver IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability) GetPrefix ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability) GetPrefix(Prefix string) *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix
GetPrefix retrieves the value with the specified key from the Prefix map field of IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability. 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 (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability) IsYANGGoStruct ¶
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability) IsYANGGoStruct()
IsYANGGoStruct ensures that IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability) NewPrefix ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability) NewPrefix(Prefix string) (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix, error)
NewPrefix creates a new entry in the Prefix list of the IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability struct. The keys of the list are populated from the input arguments.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability) PopulateDefaults ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability with default values as specified in the YANG schema, instantiating any nil container fields.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability) Validate ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability) ΛBelongingModule ¶
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability) ΛEnumTypeMap ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability) Λ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 (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability) ΛValidate ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix ¶
type IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix struct { Metric *uint32 `path:"state/metric" module:"open-traffic-generator-isis/open-traffic-generator-isis"` OriginType E_Ipv6Reachability_Prefix_OriginType `path:"state/origin-type" module:"open-traffic-generator-isis/open-traffic-generator-isis"` Prefix *string `` /* 184-byte string literal not displayed */ PrefixAttributes *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix_PrefixAttributes `path:"state/prefix-attributes" module:"open-traffic-generator-isis/open-traffic-generator-isis"` PrefixLength *uint32 `path:"state/prefix-length" module:"open-traffic-generator-isis/open-traffic-generator-isis"` RedistributionType E_Ipv6Reachability_Prefix_RedistributionType `path:"state/redistribution-type" module:"open-traffic-generator-isis/open-traffic-generator-isis"` }
IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix represents the /open-traffic-generator-isis/isis-routers/isis-router/state/link-state-database/lsp-states/lsps/tlvs/ipv6-reachability/prefixes/prefix YANG schema element.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix) GetMetric ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix) GetMetric() uint32
GetMetric retrieves the value of the leaf Metric from the IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_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 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 (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix) GetOrCreatePrefixAttributes ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix) GetOrCreatePrefixAttributes() *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix_PrefixAttributes
GetOrCreatePrefixAttributes retrieves the value of the PrefixAttributes field or returns the existing field if it already exists.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix) GetOriginType ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix) GetOriginType() E_Ipv6Reachability_Prefix_OriginType
GetOriginType retrieves the value of the leaf OriginType from the IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_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 OriginType is set, it can safely use t.GetOriginType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OriginType == nil' before retrieving the leaf's value.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix) GetPrefix ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix) GetPrefix() string
GetPrefix retrieves the value of the leaf Prefix from the IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_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 (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix) GetPrefixAttributes ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix) GetPrefixAttributes() *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix_PrefixAttributes
GetPrefixAttributes returns the value of the PrefixAttributes struct pointer from IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix. If the receiver or the field PrefixAttributes is nil, nil is returned such that the Get* methods can be safely chained.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix) GetPrefixLength ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix) GetPrefixLength() uint32
GetPrefixLength retrieves the value of the leaf PrefixLength from the IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_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 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 (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix) GetRedistributionType ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix) GetRedistributionType() E_Ipv6Reachability_Prefix_RedistributionType
GetRedistributionType retrieves the value of the leaf RedistributionType from the IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_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 RedistributionType is set, it can safely use t.GetRedistributionType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.RedistributionType == nil' before retrieving the leaf's value.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix) IsYANGGoStruct ¶
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix) IsYANGGoStruct()
IsYANGGoStruct ensures that IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix) PopulateDefaults ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix with default values as specified in the YANG schema, instantiating any nil container fields.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix) SetMetric ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix) SetMetric(v uint32)
SetMetric sets the value of the leaf Metric in the IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix struct.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix) SetOriginType ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix) SetOriginType(v E_Ipv6Reachability_Prefix_OriginType)
SetOriginType sets the value of the leaf OriginType in the IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix struct.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix) SetPrefix ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix) SetPrefix(v string)
SetPrefix sets the value of the leaf Prefix in the IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix struct.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix) SetPrefixLength ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix) SetPrefixLength(v uint32)
SetPrefixLength sets the value of the leaf PrefixLength in the IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix struct.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix) SetRedistributionType ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix) SetRedistributionType(v E_Ipv6Reachability_Prefix_RedistributionType)
SetRedistributionType sets the value of the leaf RedistributionType in the IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix struct.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix) Validate ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix) ΛBelongingModule ¶
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix) ΛEnumTypeMap ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_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 (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix) ΛListKeyMap ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix struct, which is a YANG list entry.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix) ΛValidate ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix_PrefixAttributes ¶
type IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix_PrefixAttributes struct {
Flags []E_State_Flags `path:"flags" module:"open-traffic-generator-isis"`
}
IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix_PrefixAttributes represents the /open-traffic-generator-isis/isis-routers/isis-router/state/link-state-database/lsp-states/lsps/tlvs/ipv6-reachability/prefixes/prefix/state/prefix-attributes YANG schema element.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix_PrefixAttributes) GetFlags ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix_PrefixAttributes) GetFlags() []E_State_Flags
GetFlags retrieves the value of the leaf Flags from the IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix_PrefixAttributes struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Flags is set, it can safely use t.GetFlags() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Flags == nil' before retrieving the leaf's value.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix_PrefixAttributes) IsYANGGoStruct ¶
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix_PrefixAttributes) IsYANGGoStruct()
IsYANGGoStruct ensures that IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix_PrefixAttributes implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix_PrefixAttributes) PopulateDefaults ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix_PrefixAttributes) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix_PrefixAttributes with default values as specified in the YANG schema, instantiating any nil container fields.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix_PrefixAttributes) SetFlags ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix_PrefixAttributes) SetFlags(v []E_State_Flags)
SetFlags sets the value of the leaf Flags in the IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix_PrefixAttributes struct.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix_PrefixAttributes) Validate ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix_PrefixAttributes) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix_PrefixAttributes) ΛBelongingModule ¶
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix_PrefixAttributes) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix_PrefixAttributes.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix_PrefixAttributes) ΛEnumTypeMap ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix_PrefixAttributes) Λ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 (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix_PrefixAttributes) ΛValidate ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_Ipv6Reachability_Prefix_PrefixAttributes) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability ¶
type IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability struct {
Neighbor map[string]*IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability_Neighbor `path:"neighbors/neighbor" module:"open-traffic-generator-isis/open-traffic-generator-isis"`
}
IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability represents the /open-traffic-generator-isis/isis-routers/isis-router/state/link-state-database/lsp-states/lsps/tlvs/is-reachability YANG schema element.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability) AppendNeighbor ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability) AppendNeighbor(v *IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability_Neighbor) error
AppendNeighbor appends the supplied IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability_Neighbor struct to the list Neighbor of IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability. If the key value(s) specified in the supplied IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability_Neighbor already exist in the list, an error is returned.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability) DeleteNeighbor ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability) DeleteNeighbor(SystemId string)
DeleteNeighbor deletes the value with the specified keys from the receiver IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability. If there is no such element, the function is a no-op.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability) GetNeighbor ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability) GetNeighbor(SystemId string) *IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability_Neighbor
GetNeighbor retrieves the value with the specified key from the Neighbor map field of IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability. 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 (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability) GetOrCreateNeighbor ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability) GetOrCreateNeighbor(SystemId string) *IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability_Neighbor
GetOrCreateNeighbor retrieves the value with the specified keys from the receiver IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability) IsYANGGoStruct ¶
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability) IsYANGGoStruct()
IsYANGGoStruct ensures that IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability) NewNeighbor ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability) NewNeighbor(SystemId string) (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability_Neighbor, error)
NewNeighbor creates a new entry in the Neighbor list of the IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability struct. The keys of the list are populated from the input arguments.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability) PopulateDefaults ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability with default values as specified in the YANG schema, instantiating any nil container fields.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability) Validate ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability) ΛBelongingModule ¶
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability) ΛEnumTypeMap ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability) Λ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 (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability) ΛValidate ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability_Neighbor ¶
type IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability_Neighbor struct {
SystemId *string `` /* 193-byte string literal not displayed */
}
IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability_Neighbor represents the /open-traffic-generator-isis/isis-routers/isis-router/state/link-state-database/lsp-states/lsps/tlvs/is-reachability/neighbors/neighbor YANG schema element.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability_Neighbor) GetSystemId ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability_Neighbor) GetSystemId() string
GetSystemId retrieves the value of the leaf SystemId from the IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability_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 SystemId is set, it can safely use t.GetSystemId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SystemId == nil' before retrieving the leaf's value.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability_Neighbor) IsYANGGoStruct ¶
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability_Neighbor) IsYANGGoStruct()
IsYANGGoStruct ensures that IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability_Neighbor implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability_Neighbor) PopulateDefaults ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability_Neighbor) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability_Neighbor with default values as specified in the YANG schema, instantiating any nil container fields.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability_Neighbor) SetSystemId ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability_Neighbor) SetSystemId(v string)
SetSystemId sets the value of the leaf SystemId in the IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability_Neighbor struct.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability_Neighbor) Validate ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability_Neighbor) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability_Neighbor) ΛBelongingModule ¶
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability_Neighbor) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability_Neighbor.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability_Neighbor) ΛEnumTypeMap ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability_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 (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability_Neighbor) ΛListKeyMap ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability_Neighbor) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability_Neighbor struct, which is a YANG list entry.
func (*IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability_Neighbor) ΛValidate ¶
func (t *IsisRouter_LinkStateDatabase_Lsps_Tlvs_IsReachability_Neighbor) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Lacp ¶
type Lacp struct {
LagMember map[string]*Lacp_LagMember `path:"lag-members/lag-member" module:"open-traffic-generator-lacp/open-traffic-generator-lacp"`
}
Lacp represents the /open-traffic-generator-lacp/lacp YANG schema element.
func (*Lacp) AppendLagMember ¶
func (t *Lacp) AppendLagMember(v *Lacp_LagMember) error
AppendLagMember appends the supplied Lacp_LagMember struct to the list LagMember of Lacp. If the key value(s) specified in the supplied Lacp_LagMember already exist in the list, an error is returned.
func (*Lacp) DeleteLagMember ¶
DeleteLagMember deletes the value with the specified keys from the receiver Lacp. If there is no such element, the function is a no-op.
func (*Lacp) GetLagMember ¶
func (t *Lacp) GetLagMember(Name string) *Lacp_LagMember
GetLagMember retrieves the value with the specified key from the LagMember map field of Lacp. 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 (*Lacp) GetOrCreateLagMember ¶
func (t *Lacp) GetOrCreateLagMember(Name string) *Lacp_LagMember
GetOrCreateLagMember retrieves the value with the specified keys from the receiver Lacp. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*Lacp) IsYANGGoStruct ¶
func (*Lacp) IsYANGGoStruct()
IsYANGGoStruct ensures that Lacp implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Lacp) NewLagMember ¶
func (t *Lacp) NewLagMember(Name string) (*Lacp_LagMember, error)
NewLagMember creates a new entry in the LagMember list of the Lacp struct. The keys of the list are populated from the input arguments.
func (*Lacp) PopulateDefaults ¶
func (t *Lacp) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the Lacp with default values as specified in the YANG schema, instantiating any nil container fields.
func (*Lacp) Validate ¶
func (t *Lacp) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Lacp) ΛBelongingModule ¶
ΛBelongingModule returns the name of the module that defines the namespace of Lacp.
func (*Lacp) ΛEnumTypeMap ¶
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
type Lacp_LagMember ¶
type Lacp_LagMember struct { Activity E_Lacp_LacpActivityType `path:"state/activity" module:"open-traffic-generator-lacp/open-traffic-generator-lacp"` Aggregatable *bool `path:"state/aggregatable" module:"open-traffic-generator-lacp/open-traffic-generator-lacp"` Collecting *bool `path:"state/collecting" module:"open-traffic-generator-lacp/open-traffic-generator-lacp"` Counters *Lacp_LagMember_Counters `path:"state/counters" module:"open-traffic-generator-lacp/open-traffic-generator-lacp"` Distributing *bool `path:"state/distributing" module:"open-traffic-generator-lacp/open-traffic-generator-lacp"` Name *string `` /* 178-byte string literal not displayed */ OperKey *uint16 `path:"state/oper-key" module:"open-traffic-generator-lacp/open-traffic-generator-lacp"` PartnerId *string `path:"state/partner-id" module:"open-traffic-generator-lacp/open-traffic-generator-lacp"` PartnerKey *uint16 `path:"state/partner-key" module:"open-traffic-generator-lacp/open-traffic-generator-lacp"` PartnerPortNum *uint16 `path:"state/partner-port-num" module:"open-traffic-generator-lacp/open-traffic-generator-lacp"` PortNum *uint16 `path:"state/port-num" module:"open-traffic-generator-lacp/open-traffic-generator-lacp"` Synchronization E_Lacp_LacpSynchronizationType `path:"state/synchronization" module:"open-traffic-generator-lacp/open-traffic-generator-lacp"` SystemId *string `path:"state/system-id" module:"open-traffic-generator-lacp/open-traffic-generator-lacp"` Timeout E_Lacp_LacpTimeoutType `path:"state/timeout" module:"open-traffic-generator-lacp/open-traffic-generator-lacp"` }
Lacp_LagMember represents the /open-traffic-generator-lacp/lacp/lag-members/lag-member YANG schema element.
func (*Lacp_LagMember) GetActivity ¶
func (t *Lacp_LagMember) GetActivity() E_Lacp_LacpActivityType
GetActivity retrieves the value of the leaf Activity from the Lacp_LagMember struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Activity is set, it can safely use t.GetActivity() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Activity == nil' before retrieving the leaf's value.
func (*Lacp_LagMember) GetAggregatable ¶
func (t *Lacp_LagMember) GetAggregatable() bool
GetAggregatable retrieves the value of the leaf Aggregatable from the Lacp_LagMember struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Aggregatable is set, it can safely use t.GetAggregatable() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Aggregatable == nil' before retrieving the leaf's value.
func (*Lacp_LagMember) GetCollecting ¶
func (t *Lacp_LagMember) GetCollecting() bool
GetCollecting retrieves the value of the leaf Collecting from the Lacp_LagMember struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Collecting is set, it can safely use t.GetCollecting() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Collecting == nil' before retrieving the leaf's value.
func (*Lacp_LagMember) GetCounters ¶
func (t *Lacp_LagMember) GetCounters() *Lacp_LagMember_Counters
GetCounters returns the value of the Counters struct pointer from Lacp_LagMember. If the receiver or the field Counters is nil, nil is returned such that the Get* methods can be safely chained.
func (*Lacp_LagMember) GetDistributing ¶
func (t *Lacp_LagMember) GetDistributing() bool
GetDistributing retrieves the value of the leaf Distributing from the Lacp_LagMember struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Distributing is set, it can safely use t.GetDistributing() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Distributing == nil' before retrieving the leaf's value.
func (*Lacp_LagMember) GetName ¶
func (t *Lacp_LagMember) GetName() string
GetName retrieves the value of the leaf Name from the Lacp_LagMember struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without 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 (*Lacp_LagMember) GetOperKey ¶
func (t *Lacp_LagMember) GetOperKey() uint16
GetOperKey retrieves the value of the leaf OperKey from the Lacp_LagMember struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OperKey is set, it can safely use t.GetOperKey() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OperKey == nil' before retrieving the leaf's value.
func (*Lacp_LagMember) GetOrCreateCounters ¶
func (t *Lacp_LagMember) GetOrCreateCounters() *Lacp_LagMember_Counters
GetOrCreateCounters retrieves the value of the Counters field or returns the existing field if it already exists.
func (*Lacp_LagMember) GetPartnerId ¶
func (t *Lacp_LagMember) GetPartnerId() string
GetPartnerId retrieves the value of the leaf PartnerId from the Lacp_LagMember struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if PartnerId is set, it can safely use t.GetPartnerId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.PartnerId == nil' before retrieving the leaf's value.
func (*Lacp_LagMember) GetPartnerKey ¶
func (t *Lacp_LagMember) GetPartnerKey() uint16
GetPartnerKey retrieves the value of the leaf PartnerKey from the Lacp_LagMember struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if PartnerKey is set, it can safely use t.GetPartnerKey() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.PartnerKey == nil' before retrieving the leaf's value.
func (*Lacp_LagMember) GetPartnerPortNum ¶
func (t *Lacp_LagMember) GetPartnerPortNum() uint16
GetPartnerPortNum retrieves the value of the leaf PartnerPortNum from the Lacp_LagMember struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if PartnerPortNum is set, it can safely use t.GetPartnerPortNum() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.PartnerPortNum == nil' before retrieving the leaf's value.
func (*Lacp_LagMember) GetPortNum ¶
func (t *Lacp_LagMember) GetPortNum() uint16
GetPortNum retrieves the value of the leaf PortNum from the Lacp_LagMember struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if PortNum is set, it can safely use t.GetPortNum() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.PortNum == nil' before retrieving the leaf's value.
func (*Lacp_LagMember) GetSynchronization ¶
func (t *Lacp_LagMember) GetSynchronization() E_Lacp_LacpSynchronizationType
GetSynchronization retrieves the value of the leaf Synchronization from the Lacp_LagMember struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Synchronization is set, it can safely use t.GetSynchronization() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Synchronization == nil' before retrieving the leaf's value.
func (*Lacp_LagMember) GetSystemId ¶
func (t *Lacp_LagMember) GetSystemId() string
GetSystemId retrieves the value of the leaf SystemId from the Lacp_LagMember struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SystemId is set, it can safely use t.GetSystemId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SystemId == nil' before retrieving the leaf's value.
func (*Lacp_LagMember) GetTimeout ¶
func (t *Lacp_LagMember) GetTimeout() E_Lacp_LacpTimeoutType
GetTimeout retrieves the value of the leaf Timeout from the Lacp_LagMember struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Timeout is set, it can safely use t.GetTimeout() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Timeout == nil' before retrieving the leaf's value.
func (*Lacp_LagMember) IsYANGGoStruct ¶
func (*Lacp_LagMember) IsYANGGoStruct()
IsYANGGoStruct ensures that Lacp_LagMember implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Lacp_LagMember) PopulateDefaults ¶
func (t *Lacp_LagMember) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the Lacp_LagMember with default values as specified in the YANG schema, instantiating any nil container fields.
func (*Lacp_LagMember) SetActivity ¶
func (t *Lacp_LagMember) SetActivity(v E_Lacp_LacpActivityType)
SetActivity sets the value of the leaf Activity in the Lacp_LagMember struct.
func (*Lacp_LagMember) SetAggregatable ¶
func (t *Lacp_LagMember) SetAggregatable(v bool)
SetAggregatable sets the value of the leaf Aggregatable in the Lacp_LagMember struct.
func (*Lacp_LagMember) SetCollecting ¶
func (t *Lacp_LagMember) SetCollecting(v bool)
SetCollecting sets the value of the leaf Collecting in the Lacp_LagMember struct.
func (*Lacp_LagMember) SetDistributing ¶
func (t *Lacp_LagMember) SetDistributing(v bool)
SetDistributing sets the value of the leaf Distributing in the Lacp_LagMember struct.
func (*Lacp_LagMember) SetName ¶
func (t *Lacp_LagMember) SetName(v string)
SetName sets the value of the leaf Name in the Lacp_LagMember struct.
func (*Lacp_LagMember) SetOperKey ¶
func (t *Lacp_LagMember) SetOperKey(v uint16)
SetOperKey sets the value of the leaf OperKey in the Lacp_LagMember struct.
func (*Lacp_LagMember) SetPartnerId ¶
func (t *Lacp_LagMember) SetPartnerId(v string)
SetPartnerId sets the value of the leaf PartnerId in the Lacp_LagMember struct.
func (*Lacp_LagMember) SetPartnerKey ¶
func (t *Lacp_LagMember) SetPartnerKey(v uint16)
SetPartnerKey sets the value of the leaf PartnerKey in the Lacp_LagMember struct.
func (*Lacp_LagMember) SetPartnerPortNum ¶
func (t *Lacp_LagMember) SetPartnerPortNum(v uint16)
SetPartnerPortNum sets the value of the leaf PartnerPortNum in the Lacp_LagMember struct.
func (*Lacp_LagMember) SetPortNum ¶
func (t *Lacp_LagMember) SetPortNum(v uint16)
SetPortNum sets the value of the leaf PortNum in the Lacp_LagMember struct.
func (*Lacp_LagMember) SetSynchronization ¶
func (t *Lacp_LagMember) SetSynchronization(v E_Lacp_LacpSynchronizationType)
SetSynchronization sets the value of the leaf Synchronization in the Lacp_LagMember struct.
func (*Lacp_LagMember) SetSystemId ¶
func (t *Lacp_LagMember) SetSystemId(v string)
SetSystemId sets the value of the leaf SystemId in the Lacp_LagMember struct.
func (*Lacp_LagMember) SetTimeout ¶
func (t *Lacp_LagMember) SetTimeout(v E_Lacp_LacpTimeoutType)
SetTimeout sets the value of the leaf Timeout in the Lacp_LagMember struct.
func (*Lacp_LagMember) Validate ¶
func (t *Lacp_LagMember) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Lacp_LagMember) ΛBelongingModule ¶
func (*Lacp_LagMember) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Lacp_LagMember.
func (*Lacp_LagMember) ΛEnumTypeMap ¶
func (t *Lacp_LagMember) Λ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 (*Lacp_LagMember) ΛListKeyMap ¶
func (t *Lacp_LagMember) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the Lacp_LagMember struct, which is a YANG list entry.
func (*Lacp_LagMember) ΛValidate ¶
func (t *Lacp_LagMember) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Lacp_LagMember_Counters ¶
type Lacp_LagMember_Counters struct { LacpInPkts *uint64 `path:"lacp-in-pkts" module:"open-traffic-generator-lacp"` LacpOutPkts *uint64 `path:"lacp-out-pkts" module:"open-traffic-generator-lacp"` LacpRxErrors *uint64 `path:"lacp-rx-errors" module:"open-traffic-generator-lacp"` }
Lacp_LagMember_Counters represents the /open-traffic-generator-lacp/lacp/lag-members/lag-member/state/counters YANG schema element.
func (*Lacp_LagMember_Counters) GetLacpInPkts ¶
func (t *Lacp_LagMember_Counters) GetLacpInPkts() uint64
GetLacpInPkts retrieves the value of the leaf LacpInPkts from the Lacp_LagMember_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 LacpInPkts is set, it can safely use t.GetLacpInPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LacpInPkts == nil' before retrieving the leaf's value.
func (*Lacp_LagMember_Counters) GetLacpOutPkts ¶
func (t *Lacp_LagMember_Counters) GetLacpOutPkts() uint64
GetLacpOutPkts retrieves the value of the leaf LacpOutPkts from the Lacp_LagMember_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 LacpOutPkts is set, it can safely use t.GetLacpOutPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LacpOutPkts == nil' before retrieving the leaf's value.
func (*Lacp_LagMember_Counters) GetLacpRxErrors ¶
func (t *Lacp_LagMember_Counters) GetLacpRxErrors() uint64
GetLacpRxErrors retrieves the value of the leaf LacpRxErrors from the Lacp_LagMember_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 LacpRxErrors is set, it can safely use t.GetLacpRxErrors() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LacpRxErrors == nil' before retrieving the leaf's value.
func (*Lacp_LagMember_Counters) IsYANGGoStruct ¶
func (*Lacp_LagMember_Counters) IsYANGGoStruct()
IsYANGGoStruct ensures that Lacp_LagMember_Counters implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Lacp_LagMember_Counters) PopulateDefaults ¶
func (t *Lacp_LagMember_Counters) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the Lacp_LagMember_Counters with default values as specified in the YANG schema, instantiating any nil container fields.
func (*Lacp_LagMember_Counters) SetLacpInPkts ¶
func (t *Lacp_LagMember_Counters) SetLacpInPkts(v uint64)
SetLacpInPkts sets the value of the leaf LacpInPkts in the Lacp_LagMember_Counters struct.
func (*Lacp_LagMember_Counters) SetLacpOutPkts ¶
func (t *Lacp_LagMember_Counters) SetLacpOutPkts(v uint64)
SetLacpOutPkts sets the value of the leaf LacpOutPkts in the Lacp_LagMember_Counters struct.
func (*Lacp_LagMember_Counters) SetLacpRxErrors ¶
func (t *Lacp_LagMember_Counters) SetLacpRxErrors(v uint64)
SetLacpRxErrors sets the value of the leaf LacpRxErrors in the Lacp_LagMember_Counters struct.
func (*Lacp_LagMember_Counters) Validate ¶
func (t *Lacp_LagMember_Counters) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Lacp_LagMember_Counters) ΛBelongingModule ¶
func (*Lacp_LagMember_Counters) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Lacp_LagMember_Counters.
func (*Lacp_LagMember_Counters) ΛEnumTypeMap ¶
func (t *Lacp_LagMember_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 (*Lacp_LagMember_Counters) ΛValidate ¶
func (t *Lacp_LagMember_Counters) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Lag ¶
type Lag struct { Counters *Lag_Counters `path:"state/counters" module:"open-traffic-generator-lag/open-traffic-generator-lag"` InRate Binary `path:"state/in-rate" module:"open-traffic-generator-lag/open-traffic-generator-lag"` Name *string `` /* 174-byte string literal not displayed */ OperStatus E_Lag_OperStatus `path:"state/oper-status" module:"open-traffic-generator-lag/open-traffic-generator-lag"` OutRate Binary `path:"state/out-rate" module:"open-traffic-generator-lag/open-traffic-generator-lag"` }
Lag represents the /open-traffic-generator-lag/lags/lag YANG schema element.
func (*Lag) GetCounters ¶
func (t *Lag) GetCounters() *Lag_Counters
GetCounters returns the value of the Counters struct pointer from Lag. If the receiver or the field Counters is nil, nil is returned such that the Get* methods can be safely chained.
func (*Lag) GetInRate ¶
GetInRate retrieves the value of the leaf InRate from the Lag struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InRate is set, it can safely use t.GetInRate() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InRate == nil' before retrieving the leaf's value.
func (*Lag) GetName ¶
GetName retrieves the value of the leaf Name from the Lag struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without 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 (*Lag) GetOperStatus ¶
func (t *Lag) GetOperStatus() E_Lag_OperStatus
GetOperStatus retrieves the value of the leaf OperStatus from the Lag struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without 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 (*Lag) GetOrCreateCounters ¶
func (t *Lag) GetOrCreateCounters() *Lag_Counters
GetOrCreateCounters retrieves the value of the Counters field or returns the existing field if it already exists.
func (*Lag) GetOutRate ¶
GetOutRate retrieves the value of the leaf OutRate from the Lag struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutRate is set, it can safely use t.GetOutRate() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutRate == nil' before retrieving the leaf's value.
func (*Lag) IsYANGGoStruct ¶
func (*Lag) IsYANGGoStruct()
IsYANGGoStruct ensures that Lag implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Lag) PopulateDefaults ¶
func (t *Lag) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the Lag with default values as specified in the YANG schema, instantiating any nil container fields.
func (*Lag) SetOperStatus ¶
func (t *Lag) SetOperStatus(v E_Lag_OperStatus)
SetOperStatus sets the value of the leaf OperStatus in the Lag struct.
func (*Lag) SetOutRate ¶
SetOutRate sets the value of the leaf OutRate in the Lag struct.
func (*Lag) Validate ¶
func (t *Lag) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Lag) ΛBelongingModule ¶
ΛBelongingModule returns the name of the module that defines the namespace of Lag.
func (*Lag) ΛEnumTypeMap ¶
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Lag) ΛListKeyMap ¶
ΛListKeyMap returns the keys of the Lag struct, which is a YANG list entry.
type Lag_Counters ¶
type Lag_Counters struct { InFrames *uint64 `path:"in-frames" module:"open-traffic-generator-lag"` InOctets *uint64 `path:"in-octets" module:"open-traffic-generator-lag"` MemberPortsUp *uint64 `path:"member-ports-up" module:"open-traffic-generator-lag"` OutFrames *uint64 `path:"out-frames" module:"open-traffic-generator-lag"` OutOctets *uint64 `path:"out-octets" module:"open-traffic-generator-lag"` }
Lag_Counters represents the /open-traffic-generator-lag/lags/lag/state/counters YANG schema element.
func (*Lag_Counters) GetInFrames ¶
func (t *Lag_Counters) GetInFrames() uint64
GetInFrames retrieves the value of the leaf InFrames from the Lag_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 InFrames is set, it can safely use t.GetInFrames() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InFrames == nil' before retrieving the leaf's value.
func (*Lag_Counters) GetInOctets ¶
func (t *Lag_Counters) GetInOctets() uint64
GetInOctets retrieves the value of the leaf InOctets from the Lag_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 (*Lag_Counters) GetMemberPortsUp ¶
func (t *Lag_Counters) GetMemberPortsUp() uint64
GetMemberPortsUp retrieves the value of the leaf MemberPortsUp from the Lag_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 MemberPortsUp is set, it can safely use t.GetMemberPortsUp() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MemberPortsUp == nil' before retrieving the leaf's value.
func (*Lag_Counters) GetOutFrames ¶
func (t *Lag_Counters) GetOutFrames() uint64
GetOutFrames retrieves the value of the leaf OutFrames from the Lag_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 OutFrames is set, it can safely use t.GetOutFrames() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutFrames == nil' before retrieving the leaf's value.
func (*Lag_Counters) GetOutOctets ¶
func (t *Lag_Counters) GetOutOctets() uint64
GetOutOctets retrieves the value of the leaf OutOctets from the Lag_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 (*Lag_Counters) IsYANGGoStruct ¶
func (*Lag_Counters) IsYANGGoStruct()
IsYANGGoStruct ensures that Lag_Counters implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Lag_Counters) PopulateDefaults ¶
func (t *Lag_Counters) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the Lag_Counters with default values as specified in the YANG schema, instantiating any nil container fields.
func (*Lag_Counters) SetInFrames ¶
func (t *Lag_Counters) SetInFrames(v uint64)
SetInFrames sets the value of the leaf InFrames in the Lag_Counters struct.
func (*Lag_Counters) SetInOctets ¶
func (t *Lag_Counters) SetInOctets(v uint64)
SetInOctets sets the value of the leaf InOctets in the Lag_Counters struct.
func (*Lag_Counters) SetMemberPortsUp ¶
func (t *Lag_Counters) SetMemberPortsUp(v uint64)
SetMemberPortsUp sets the value of the leaf MemberPortsUp in the Lag_Counters struct.
func (*Lag_Counters) SetOutFrames ¶
func (t *Lag_Counters) SetOutFrames(v uint64)
SetOutFrames sets the value of the leaf OutFrames in the Lag_Counters struct.
func (*Lag_Counters) SetOutOctets ¶
func (t *Lag_Counters) SetOutOctets(v uint64)
SetOutOctets sets the value of the leaf OutOctets in the Lag_Counters struct.
func (*Lag_Counters) Validate ¶
func (t *Lag_Counters) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Lag_Counters) ΛBelongingModule ¶
func (*Lag_Counters) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Lag_Counters.
func (*Lag_Counters) ΛEnumTypeMap ¶
func (t *Lag_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 (*Lag_Counters) ΛValidate ¶
func (t *Lag_Counters) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type LldpInterface ¶
type LldpInterface struct { Counters *LldpInterface_Counters `path:"state/counters" module:"open-traffic-generator-lldp/open-traffic-generator-lldp"` LldpNeighborDatabase *LldpInterface_LldpNeighborDatabase `path:"state/lldp-neighbor-database" module:"open-traffic-generator-lldp/open-traffic-generator-lldp"` Name *string `` /* 178-byte string literal not displayed */ }
LldpInterface represents the /open-traffic-generator-lldp/lldps/lldp-interface YANG schema element.
func (*LldpInterface) GetCounters ¶
func (t *LldpInterface) GetCounters() *LldpInterface_Counters
GetCounters returns the value of the Counters struct pointer from LldpInterface. If the receiver or the field Counters is nil, nil is returned such that the Get* methods can be safely chained.
func (*LldpInterface) GetLldpNeighborDatabase ¶
func (t *LldpInterface) GetLldpNeighborDatabase() *LldpInterface_LldpNeighborDatabase
GetLldpNeighborDatabase returns the value of the LldpNeighborDatabase struct pointer from LldpInterface. If the receiver or the field LldpNeighborDatabase is nil, nil is returned such that the Get* methods can be safely chained.
func (*LldpInterface) GetName ¶
func (t *LldpInterface) GetName() string
GetName retrieves the value of the leaf Name from the LldpInterface struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without 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 (*LldpInterface) GetOrCreateCounters ¶
func (t *LldpInterface) GetOrCreateCounters() *LldpInterface_Counters
GetOrCreateCounters retrieves the value of the Counters field or returns the existing field if it already exists.
func (*LldpInterface) GetOrCreateLldpNeighborDatabase ¶
func (t *LldpInterface) GetOrCreateLldpNeighborDatabase() *LldpInterface_LldpNeighborDatabase
GetOrCreateLldpNeighborDatabase retrieves the value of the LldpNeighborDatabase field or returns the existing field if it already exists.
func (*LldpInterface) IsYANGGoStruct ¶
func (*LldpInterface) IsYANGGoStruct()
IsYANGGoStruct ensures that LldpInterface implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*LldpInterface) PopulateDefaults ¶
func (t *LldpInterface) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the LldpInterface with default values as specified in the YANG schema, instantiating any nil container fields.
func (*LldpInterface) SetName ¶
func (t *LldpInterface) SetName(v string)
SetName sets the value of the leaf Name in the LldpInterface struct.
func (*LldpInterface) Validate ¶
func (t *LldpInterface) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*LldpInterface) ΛBelongingModule ¶
func (*LldpInterface) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of LldpInterface.
func (*LldpInterface) ΛEnumTypeMap ¶
func (t *LldpInterface) Λ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 (*LldpInterface) ΛListKeyMap ¶
func (t *LldpInterface) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the LldpInterface struct, which is a YANG list entry.
func (*LldpInterface) ΛValidate ¶
func (t *LldpInterface) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type LldpInterface_Counters ¶
type LldpInterface_Counters struct { FrameDiscard *uint64 `path:"frame-discard" module:"open-traffic-generator-lldp"` FrameErrorIn *uint64 `path:"frame-error-in" module:"open-traffic-generator-lldp"` FrameIn *uint64 `path:"frame-in" module:"open-traffic-generator-lldp"` FrameOut *uint64 `path:"frame-out" module:"open-traffic-generator-lldp"` TlvDiscard *uint64 `path:"tlv-discard" module:"open-traffic-generator-lldp"` TlvUnknown *uint64 `path:"tlv-unknown" module:"open-traffic-generator-lldp"` }
LldpInterface_Counters represents the /open-traffic-generator-lldp/lldps/lldp-interface/state/counters YANG schema element.
func (*LldpInterface_Counters) GetFrameDiscard ¶
func (t *LldpInterface_Counters) GetFrameDiscard() uint64
GetFrameDiscard retrieves the value of the leaf FrameDiscard from the LldpInterface_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 FrameDiscard is set, it can safely use t.GetFrameDiscard() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.FrameDiscard == nil' before retrieving the leaf's value.
func (*LldpInterface_Counters) GetFrameErrorIn ¶
func (t *LldpInterface_Counters) GetFrameErrorIn() uint64
GetFrameErrorIn retrieves the value of the leaf FrameErrorIn from the LldpInterface_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 FrameErrorIn is set, it can safely use t.GetFrameErrorIn() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.FrameErrorIn == nil' before retrieving the leaf's value.
func (*LldpInterface_Counters) GetFrameIn ¶
func (t *LldpInterface_Counters) GetFrameIn() uint64
GetFrameIn retrieves the value of the leaf FrameIn from the LldpInterface_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 FrameIn is set, it can safely use t.GetFrameIn() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.FrameIn == nil' before retrieving the leaf's value.
func (*LldpInterface_Counters) GetFrameOut ¶
func (t *LldpInterface_Counters) GetFrameOut() uint64
GetFrameOut retrieves the value of the leaf FrameOut from the LldpInterface_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 FrameOut is set, it can safely use t.GetFrameOut() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.FrameOut == nil' before retrieving the leaf's value.
func (*LldpInterface_Counters) GetTlvDiscard ¶
func (t *LldpInterface_Counters) GetTlvDiscard() uint64
GetTlvDiscard retrieves the value of the leaf TlvDiscard from the LldpInterface_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 TlvDiscard is set, it can safely use t.GetTlvDiscard() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TlvDiscard == nil' before retrieving the leaf's value.
func (*LldpInterface_Counters) GetTlvUnknown ¶
func (t *LldpInterface_Counters) GetTlvUnknown() uint64
GetTlvUnknown retrieves the value of the leaf TlvUnknown from the LldpInterface_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 TlvUnknown is set, it can safely use t.GetTlvUnknown() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TlvUnknown == nil' before retrieving the leaf's value.
func (*LldpInterface_Counters) IsYANGGoStruct ¶
func (*LldpInterface_Counters) IsYANGGoStruct()
IsYANGGoStruct ensures that LldpInterface_Counters implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*LldpInterface_Counters) PopulateDefaults ¶
func (t *LldpInterface_Counters) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the LldpInterface_Counters with default values as specified in the YANG schema, instantiating any nil container fields.
func (*LldpInterface_Counters) SetFrameDiscard ¶
func (t *LldpInterface_Counters) SetFrameDiscard(v uint64)
SetFrameDiscard sets the value of the leaf FrameDiscard in the LldpInterface_Counters struct.
func (*LldpInterface_Counters) SetFrameErrorIn ¶
func (t *LldpInterface_Counters) SetFrameErrorIn(v uint64)
SetFrameErrorIn sets the value of the leaf FrameErrorIn in the LldpInterface_Counters struct.
func (*LldpInterface_Counters) SetFrameIn ¶
func (t *LldpInterface_Counters) SetFrameIn(v uint64)
SetFrameIn sets the value of the leaf FrameIn in the LldpInterface_Counters struct.
func (*LldpInterface_Counters) SetFrameOut ¶
func (t *LldpInterface_Counters) SetFrameOut(v uint64)
SetFrameOut sets the value of the leaf FrameOut in the LldpInterface_Counters struct.
func (*LldpInterface_Counters) SetTlvDiscard ¶
func (t *LldpInterface_Counters) SetTlvDiscard(v uint64)
SetTlvDiscard sets the value of the leaf TlvDiscard in the LldpInterface_Counters struct.
func (*LldpInterface_Counters) SetTlvUnknown ¶
func (t *LldpInterface_Counters) SetTlvUnknown(v uint64)
SetTlvUnknown sets the value of the leaf TlvUnknown in the LldpInterface_Counters struct.
func (*LldpInterface_Counters) Validate ¶
func (t *LldpInterface_Counters) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*LldpInterface_Counters) ΛBelongingModule ¶
func (*LldpInterface_Counters) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of LldpInterface_Counters.
func (*LldpInterface_Counters) ΛEnumTypeMap ¶
func (t *LldpInterface_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 (*LldpInterface_Counters) ΛValidate ¶
func (t *LldpInterface_Counters) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type LldpInterface_LldpNeighborDatabase ¶
type LldpInterface_LldpNeighborDatabase struct {
LldpNeighbor map[string]*LldpInterface_LldpNeighborDatabase_LldpNeighbor `path:"lldp-neighbors/lldp-neighbor" module:"open-traffic-generator-lldp/open-traffic-generator-lldp"`
}
LldpInterface_LldpNeighborDatabase represents the /open-traffic-generator-lldp/lldps/lldp-interface/state/lldp-neighbor-database YANG schema element.
func (*LldpInterface_LldpNeighborDatabase) AppendLldpNeighbor ¶
func (t *LldpInterface_LldpNeighborDatabase) AppendLldpNeighbor(v *LldpInterface_LldpNeighborDatabase_LldpNeighbor) error
AppendLldpNeighbor appends the supplied LldpInterface_LldpNeighborDatabase_LldpNeighbor struct to the list LldpNeighbor of LldpInterface_LldpNeighborDatabase. If the key value(s) specified in the supplied LldpInterface_LldpNeighborDatabase_LldpNeighbor already exist in the list, an error is returned.
func (*LldpInterface_LldpNeighborDatabase) DeleteLldpNeighbor ¶
func (t *LldpInterface_LldpNeighborDatabase) DeleteLldpNeighbor(NeighborId string)
DeleteLldpNeighbor deletes the value with the specified keys from the receiver LldpInterface_LldpNeighborDatabase. If there is no such element, the function is a no-op.
func (*LldpInterface_LldpNeighborDatabase) GetLldpNeighbor ¶
func (t *LldpInterface_LldpNeighborDatabase) GetLldpNeighbor(NeighborId string) *LldpInterface_LldpNeighborDatabase_LldpNeighbor
GetLldpNeighbor retrieves the value with the specified key from the LldpNeighbor map field of LldpInterface_LldpNeighborDatabase. 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 (*LldpInterface_LldpNeighborDatabase) GetOrCreateLldpNeighbor ¶
func (t *LldpInterface_LldpNeighborDatabase) GetOrCreateLldpNeighbor(NeighborId string) *LldpInterface_LldpNeighborDatabase_LldpNeighbor
GetOrCreateLldpNeighbor retrieves the value with the specified keys from the receiver LldpInterface_LldpNeighborDatabase. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*LldpInterface_LldpNeighborDatabase) IsYANGGoStruct ¶
func (*LldpInterface_LldpNeighborDatabase) IsYANGGoStruct()
IsYANGGoStruct ensures that LldpInterface_LldpNeighborDatabase implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*LldpInterface_LldpNeighborDatabase) NewLldpNeighbor ¶
func (t *LldpInterface_LldpNeighborDatabase) NewLldpNeighbor(NeighborId string) (*LldpInterface_LldpNeighborDatabase_LldpNeighbor, error)
NewLldpNeighbor creates a new entry in the LldpNeighbor list of the LldpInterface_LldpNeighborDatabase struct. The keys of the list are populated from the input arguments.
func (*LldpInterface_LldpNeighborDatabase) PopulateDefaults ¶
func (t *LldpInterface_LldpNeighborDatabase) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the LldpInterface_LldpNeighborDatabase with default values as specified in the YANG schema, instantiating any nil container fields.
func (*LldpInterface_LldpNeighborDatabase) Validate ¶
func (t *LldpInterface_LldpNeighborDatabase) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*LldpInterface_LldpNeighborDatabase) ΛBelongingModule ¶
func (*LldpInterface_LldpNeighborDatabase) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of LldpInterface_LldpNeighborDatabase.
func (*LldpInterface_LldpNeighborDatabase) ΛEnumTypeMap ¶
func (t *LldpInterface_LldpNeighborDatabase) Λ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 (*LldpInterface_LldpNeighborDatabase) ΛValidate ¶
func (t *LldpInterface_LldpNeighborDatabase) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type LldpInterface_LldpNeighborDatabase_LldpNeighbor ¶
type LldpInterface_LldpNeighborDatabase_LldpNeighbor struct { Age *uint32 `path:"state/age" module:"open-traffic-generator-lldp/open-traffic-generator-lldp"` Capabilities map[E_Capabilities_Name]*LldpInterface_LldpNeighborDatabase_LldpNeighbor_Capabilities `path:"capabilities" module:"open-traffic-generator-lldp"` ChassisId *string `path:"state/chassis-id" module:"open-traffic-generator-lldp/open-traffic-generator-lldp"` ChassisIdType E_LldpNeighbor_ChassisIdType `path:"state/chassis-id-type" module:"open-traffic-generator-lldp/open-traffic-generator-lldp"` CustomTlv map[LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv_Key]*LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv `path:"custom-tlv" module:"open-traffic-generator-lldp"` LastUpdate *uint32 `path:"state/last_update" module:"open-traffic-generator-lldp/open-traffic-generator-lldp"` ManagementAddress *string `path:"state/management-address" module:"open-traffic-generator-lldp/open-traffic-generator-lldp"` ManagementAddressType *string `path:"state/management-address-type" module:"open-traffic-generator-lldp/open-traffic-generator-lldp"` NeighborId *string `` /* 199-byte string literal not displayed */ PortDescription *string `path:"state/port-description" module:"open-traffic-generator-lldp/open-traffic-generator-lldp"` PortId *string `path:"state/port-id" module:"open-traffic-generator-lldp/open-traffic-generator-lldp"` PortIdType E_LldpNeighbor_PortIdType `path:"state/port-id-type" module:"open-traffic-generator-lldp/open-traffic-generator-lldp"` SystemDescription *string `path:"state/system-description" module:"open-traffic-generator-lldp/open-traffic-generator-lldp"` SystemName *string `path:"state/system-name" module:"open-traffic-generator-lldp/open-traffic-generator-lldp"` Ttl *uint32 `path:"state/ttl" module:"open-traffic-generator-lldp/open-traffic-generator-lldp"` }
LldpInterface_LldpNeighborDatabase_LldpNeighbor represents the /open-traffic-generator-lldp/lldps/lldp-interface/state/lldp-neighbor-database/lldp-neighbors/lldp-neighbor YANG schema element.
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor) AppendCapabilities ¶
func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) AppendCapabilities(v *LldpInterface_LldpNeighborDatabase_LldpNeighbor_Capabilities) error
AppendCapabilities appends the supplied LldpInterface_LldpNeighborDatabase_LldpNeighbor_Capabilities struct to the list Capabilities of LldpInterface_LldpNeighborDatabase_LldpNeighbor. If the key value(s) specified in the supplied LldpInterface_LldpNeighborDatabase_LldpNeighbor_Capabilities already exist in the list, an error is returned.
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor) AppendCustomTlv ¶
func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) AppendCustomTlv(v *LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv) error
AppendCustomTlv appends the supplied LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv struct to the list CustomTlv of LldpInterface_LldpNeighborDatabase_LldpNeighbor. If the key value(s) specified in the supplied LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv already exist in the list, an error is returned.
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor) DeleteCapabilities ¶
func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) DeleteCapabilities(Name E_Capabilities_Name)
DeleteCapabilities deletes the value with the specified keys from the receiver LldpInterface_LldpNeighborDatabase_LldpNeighbor. If there is no such element, the function is a no-op.
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor) DeleteCustomTlv ¶
func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) DeleteCustomTlv(CustomType uint32, Oui string, OuiSubtype string)
DeleteCustomTlv deletes the value with the specified keys from the receiver LldpInterface_LldpNeighborDatabase_LldpNeighbor. If there is no such element, the function is a no-op.
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor) GetAge ¶
func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) GetAge() uint32
GetAge retrieves the value of the leaf Age from the LldpInterface_LldpNeighborDatabase_LldpNeighbor struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Age is set, it can safely use t.GetAge() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Age == nil' before retrieving the leaf's value.
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor) GetCapabilities ¶
func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) GetCapabilities(Name E_Capabilities_Name) *LldpInterface_LldpNeighborDatabase_LldpNeighbor_Capabilities
GetCapabilities retrieves the value with the specified key from the Capabilities map field of LldpInterface_LldpNeighborDatabase_LldpNeighbor. 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 (*LldpInterface_LldpNeighborDatabase_LldpNeighbor) GetChassisId ¶
func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) GetChassisId() string
GetChassisId retrieves the value of the leaf ChassisId from the LldpInterface_LldpNeighborDatabase_LldpNeighbor struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ChassisId is set, it can safely use t.GetChassisId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ChassisId == nil' before retrieving the leaf's value.
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor) GetChassisIdType ¶
func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) GetChassisIdType() E_LldpNeighbor_ChassisIdType
GetChassisIdType retrieves the value of the leaf ChassisIdType from the LldpInterface_LldpNeighborDatabase_LldpNeighbor struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ChassisIdType is set, it can safely use t.GetChassisIdType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ChassisIdType == nil' before retrieving the leaf's value.
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor) GetCustomTlv ¶
func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) GetCustomTlv(CustomType uint32, Oui string, OuiSubtype string) *LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv
GetCustomTlv retrieves the value with the specified key from the CustomTlv map field of LldpInterface_LldpNeighborDatabase_LldpNeighbor. 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 (*LldpInterface_LldpNeighborDatabase_LldpNeighbor) GetLastUpdate ¶
func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) GetLastUpdate() uint32
GetLastUpdate retrieves the value of the leaf LastUpdate from the LldpInterface_LldpNeighborDatabase_LldpNeighbor struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LastUpdate is set, it can safely use t.GetLastUpdate() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LastUpdate == nil' before retrieving the leaf's value.
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor) GetManagementAddress ¶
func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) GetManagementAddress() string
GetManagementAddress retrieves the value of the leaf ManagementAddress from the LldpInterface_LldpNeighborDatabase_LldpNeighbor struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ManagementAddress is set, it can safely use t.GetManagementAddress() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ManagementAddress == nil' before retrieving the leaf's value.
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor) GetManagementAddressType ¶
func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) GetManagementAddressType() string
GetManagementAddressType retrieves the value of the leaf ManagementAddressType from the LldpInterface_LldpNeighborDatabase_LldpNeighbor struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ManagementAddressType is set, it can safely use t.GetManagementAddressType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ManagementAddressType == nil' before retrieving the leaf's value.
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor) GetNeighborId ¶
func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) GetNeighborId() string
GetNeighborId retrieves the value of the leaf NeighborId from the LldpInterface_LldpNeighborDatabase_LldpNeighbor struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if NeighborId is set, it can safely use t.GetNeighborId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.NeighborId == nil' before retrieving the leaf's value.
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor) GetOrCreateCapabilities ¶
func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) GetOrCreateCapabilities(Name E_Capabilities_Name) *LldpInterface_LldpNeighborDatabase_LldpNeighbor_Capabilities
GetOrCreateCapabilities retrieves the value with the specified keys from the receiver LldpInterface_LldpNeighborDatabase_LldpNeighbor. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor) GetOrCreateCustomTlv ¶
func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) GetOrCreateCustomTlv(CustomType uint32, Oui string, OuiSubtype string) *LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv
GetOrCreateCustomTlv retrieves the value with the specified keys from the receiver LldpInterface_LldpNeighborDatabase_LldpNeighbor. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor) GetPortDescription ¶
func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) GetPortDescription() string
GetPortDescription retrieves the value of the leaf PortDescription from the LldpInterface_LldpNeighborDatabase_LldpNeighbor struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if PortDescription is set, it can safely use t.GetPortDescription() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.PortDescription == nil' before retrieving the leaf's value.
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor) GetPortId ¶
func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) GetPortId() string
GetPortId retrieves the value of the leaf PortId from the LldpInterface_LldpNeighborDatabase_LldpNeighbor struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if PortId is set, it can safely use t.GetPortId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.PortId == nil' before retrieving the leaf's value.
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor) GetPortIdType ¶
func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) GetPortIdType() E_LldpNeighbor_PortIdType
GetPortIdType retrieves the value of the leaf PortIdType from the LldpInterface_LldpNeighborDatabase_LldpNeighbor struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if PortIdType is set, it can safely use t.GetPortIdType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.PortIdType == nil' before retrieving the leaf's value.
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor) GetSystemDescription ¶
func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) GetSystemDescription() string
GetSystemDescription retrieves the value of the leaf SystemDescription from the LldpInterface_LldpNeighborDatabase_LldpNeighbor struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SystemDescription is set, it can safely use t.GetSystemDescription() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SystemDescription == nil' before retrieving the leaf's value.
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor) GetSystemName ¶
func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) GetSystemName() string
GetSystemName retrieves the value of the leaf SystemName from the LldpInterface_LldpNeighborDatabase_LldpNeighbor struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SystemName is set, it can safely use t.GetSystemName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SystemName == nil' before retrieving the leaf's value.
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor) GetTtl ¶
func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) GetTtl() uint32
GetTtl retrieves the value of the leaf Ttl from the LldpInterface_LldpNeighborDatabase_LldpNeighbor struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Ttl is set, it can safely use t.GetTtl() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Ttl == nil' before retrieving the leaf's value.
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor) IsYANGGoStruct ¶
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor) IsYANGGoStruct()
IsYANGGoStruct ensures that LldpInterface_LldpNeighborDatabase_LldpNeighbor implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor) NewCapabilities ¶
func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) NewCapabilities(Name E_Capabilities_Name) (*LldpInterface_LldpNeighborDatabase_LldpNeighbor_Capabilities, error)
NewCapabilities creates a new entry in the Capabilities list of the LldpInterface_LldpNeighborDatabase_LldpNeighbor struct. The keys of the list are populated from the input arguments.
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor) NewCustomTlv ¶
func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) NewCustomTlv(CustomType uint32, Oui string, OuiSubtype string) (*LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv, error)
NewCustomTlv creates a new entry in the CustomTlv list of the LldpInterface_LldpNeighborDatabase_LldpNeighbor struct. The keys of the list are populated from the input arguments.
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor) PopulateDefaults ¶
func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the LldpInterface_LldpNeighborDatabase_LldpNeighbor with default values as specified in the YANG schema, instantiating any nil container fields.
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor) SetAge ¶
func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) SetAge(v uint32)
SetAge sets the value of the leaf Age in the LldpInterface_LldpNeighborDatabase_LldpNeighbor struct.
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor) SetChassisId ¶
func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) SetChassisId(v string)
SetChassisId sets the value of the leaf ChassisId in the LldpInterface_LldpNeighborDatabase_LldpNeighbor struct.
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor) SetChassisIdType ¶
func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) SetChassisIdType(v E_LldpNeighbor_ChassisIdType)
SetChassisIdType sets the value of the leaf ChassisIdType in the LldpInterface_LldpNeighborDatabase_LldpNeighbor struct.
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor) SetLastUpdate ¶
func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) SetLastUpdate(v uint32)
SetLastUpdate sets the value of the leaf LastUpdate in the LldpInterface_LldpNeighborDatabase_LldpNeighbor struct.
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor) SetManagementAddress ¶
func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) SetManagementAddress(v string)
SetManagementAddress sets the value of the leaf ManagementAddress in the LldpInterface_LldpNeighborDatabase_LldpNeighbor struct.
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor) SetManagementAddressType ¶
func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) SetManagementAddressType(v string)
SetManagementAddressType sets the value of the leaf ManagementAddressType in the LldpInterface_LldpNeighborDatabase_LldpNeighbor struct.
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor) SetNeighborId ¶
func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) SetNeighborId(v string)
SetNeighborId sets the value of the leaf NeighborId in the LldpInterface_LldpNeighborDatabase_LldpNeighbor struct.
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor) SetPortDescription ¶
func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) SetPortDescription(v string)
SetPortDescription sets the value of the leaf PortDescription in the LldpInterface_LldpNeighborDatabase_LldpNeighbor struct.
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor) SetPortId ¶
func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) SetPortId(v string)
SetPortId sets the value of the leaf PortId in the LldpInterface_LldpNeighborDatabase_LldpNeighbor struct.
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor) SetPortIdType ¶
func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) SetPortIdType(v E_LldpNeighbor_PortIdType)
SetPortIdType sets the value of the leaf PortIdType in the LldpInterface_LldpNeighborDatabase_LldpNeighbor struct.
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor) SetSystemDescription ¶
func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) SetSystemDescription(v string)
SetSystemDescription sets the value of the leaf SystemDescription in the LldpInterface_LldpNeighborDatabase_LldpNeighbor struct.
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor) SetSystemName ¶
func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) SetSystemName(v string)
SetSystemName sets the value of the leaf SystemName in the LldpInterface_LldpNeighborDatabase_LldpNeighbor struct.
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor) SetTtl ¶
func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) SetTtl(v uint32)
SetTtl sets the value of the leaf Ttl in the LldpInterface_LldpNeighborDatabase_LldpNeighbor struct.
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor) Validate ¶
func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor) ΛBelongingModule ¶
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of LldpInterface_LldpNeighborDatabase_LldpNeighbor.
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor) ΛEnumTypeMap ¶
func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) Λ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 (*LldpInterface_LldpNeighborDatabase_LldpNeighbor) ΛListKeyMap ¶
func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the LldpInterface_LldpNeighborDatabase_LldpNeighbor struct, which is a YANG list entry.
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor) ΛValidate ¶
func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type LldpInterface_LldpNeighborDatabase_LldpNeighbor_Capabilities ¶
type LldpInterface_LldpNeighborDatabase_LldpNeighbor_Capabilities struct { Enabled *bool `path:"state/enabled" module:"open-traffic-generator-lldp/open-traffic-generator-lldp"` Name E_Capabilities_Name `` /* 178-byte string literal not displayed */ }
LldpInterface_LldpNeighborDatabase_LldpNeighbor_Capabilities represents the /open-traffic-generator-lldp/lldps/lldp-interface/state/lldp-neighbor-database/lldp-neighbors/lldp-neighbor/capabilities YANG schema element.
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor_Capabilities) GetEnabled ¶
func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor_Capabilities) GetEnabled() bool
GetEnabled retrieves the value of the leaf Enabled from the LldpInterface_LldpNeighborDatabase_LldpNeighbor_Capabilities struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without 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 (*LldpInterface_LldpNeighborDatabase_LldpNeighbor_Capabilities) GetName ¶
func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor_Capabilities) GetName() E_Capabilities_Name
GetName retrieves the value of the leaf Name from the LldpInterface_LldpNeighborDatabase_LldpNeighbor_Capabilities struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without 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 (*LldpInterface_LldpNeighborDatabase_LldpNeighbor_Capabilities) IsYANGGoStruct ¶
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor_Capabilities) IsYANGGoStruct()
IsYANGGoStruct ensures that LldpInterface_LldpNeighborDatabase_LldpNeighbor_Capabilities implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor_Capabilities) PopulateDefaults ¶
func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor_Capabilities) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the LldpInterface_LldpNeighborDatabase_LldpNeighbor_Capabilities with default values as specified in the YANG schema, instantiating any nil container fields.
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor_Capabilities) SetEnabled ¶
func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor_Capabilities) SetEnabled(v bool)
SetEnabled sets the value of the leaf Enabled in the LldpInterface_LldpNeighborDatabase_LldpNeighbor_Capabilities struct.
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor_Capabilities) SetName ¶
func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor_Capabilities) SetName(v E_Capabilities_Name)
SetName sets the value of the leaf Name in the LldpInterface_LldpNeighborDatabase_LldpNeighbor_Capabilities struct.
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor_Capabilities) Validate ¶
func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor_Capabilities) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor_Capabilities) ΛBelongingModule ¶
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor_Capabilities) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of LldpInterface_LldpNeighborDatabase_LldpNeighbor_Capabilities.
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor_Capabilities) ΛEnumTypeMap ¶
func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor_Capabilities) Λ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 (*LldpInterface_LldpNeighborDatabase_LldpNeighbor_Capabilities) ΛListKeyMap ¶
func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor_Capabilities) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the LldpInterface_LldpNeighborDatabase_LldpNeighbor_Capabilities struct, which is a YANG list entry.
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor_Capabilities) ΛValidate ¶
func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor_Capabilities) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv ¶
type LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv struct { CustomType *uint32 `` /* 199-byte string literal not displayed */ Oui *string `` /* 175-byte string literal not displayed */ OuiSubtype *string `` /* 199-byte string literal not displayed */ }
LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv represents the /open-traffic-generator-lldp/lldps/lldp-interface/state/lldp-neighbor-database/lldp-neighbors/lldp-neighbor/custom-tlv YANG schema element.
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv) GetCustomType ¶
func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv) GetCustomType() uint32
GetCustomType retrieves the value of the leaf CustomType from the LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if CustomType is set, it can safely use t.GetCustomType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.CustomType == nil' before retrieving the leaf's value.
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv) GetOui ¶
func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv) GetOui() string
GetOui retrieves the value of the leaf Oui from the LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Oui is set, it can safely use t.GetOui() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Oui == nil' before retrieving the leaf's value.
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv) GetOuiSubtype ¶
func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv) GetOuiSubtype() string
GetOuiSubtype retrieves the value of the leaf OuiSubtype from the LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OuiSubtype is set, it can safely use t.GetOuiSubtype() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OuiSubtype == nil' before retrieving the leaf's value.
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv) IsYANGGoStruct ¶
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv) IsYANGGoStruct()
IsYANGGoStruct ensures that LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv) PopulateDefaults ¶
func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv with default values as specified in the YANG schema, instantiating any nil container fields.
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv) SetCustomType ¶
func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv) SetCustomType(v uint32)
SetCustomType sets the value of the leaf CustomType in the LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv struct.
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv) SetOui ¶
func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv) SetOui(v string)
SetOui sets the value of the leaf Oui in the LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv struct.
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv) SetOuiSubtype ¶
func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv) SetOuiSubtype(v string)
SetOuiSubtype sets the value of the leaf OuiSubtype in the LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv struct.
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv) Validate ¶
func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv) ΛBelongingModule ¶
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv.
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv) ΛEnumTypeMap ¶
func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv) Λ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 (*LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv) ΛListKeyMap ¶
func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv struct, which is a YANG list entry.
func (*LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv) ΛValidate ¶
func (t *LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv_Key ¶
type LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv_Key struct { CustomType uint32 `path:"custom-type"` Oui string `path:"oui"` OuiSubtype string `path:"oui-subtype"` }
LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv_Key represents the key for list CustomTlv of element /open-traffic-generator-lldp/lldps/lldp-interface/state/lldp-neighbor-database/lldp-neighbors/lldp-neighbor.
func (LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv_Key) IsYANGGoKeyStruct ¶
func (LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv_Key) IsYANGGoKeyStruct()
IsYANGGoKeyStruct ensures that LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv_Key partially implements the yang.GoKeyStruct interface. This allows functions that need to handle this key struct to identify it as being generated by gogen.
func (LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv_Key) ΛListKeyMap ¶
func (t LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv_Key) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the values of the LldpInterface_LldpNeighborDatabase_LldpNeighbor_CustomTlv_Key key struct.
type Port ¶
type Port struct { Counters *Port_Counters `path:"state/counters" module:"open-traffic-generator-port/open-traffic-generator-port"` InRate Binary `path:"state/in-rate" module:"open-traffic-generator-port/open-traffic-generator-port"` Link E_Port_Link `path:"state/link" module:"open-traffic-generator-port/open-traffic-generator-port"` Name *string `` /* 178-byte string literal not displayed */ OutRate Binary `path:"state/out-rate" module:"open-traffic-generator-port/open-traffic-generator-port"` }
Port represents the /open-traffic-generator-port/ports/port YANG schema element.
func (*Port) GetCounters ¶
func (t *Port) GetCounters() *Port_Counters
GetCounters returns the value of the Counters struct pointer from Port. If the receiver or the field Counters is nil, nil is returned such that the Get* methods can be safely chained.
func (*Port) GetInRate ¶
GetInRate retrieves the value of the leaf InRate from the Port struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InRate is set, it can safely use t.GetInRate() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InRate == nil' before retrieving the leaf's value.
func (*Port) GetLink ¶
func (t *Port) GetLink() E_Port_Link
GetLink retrieves the value of the leaf Link from the Port struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Link is set, it can safely use t.GetLink() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Link == nil' before retrieving the leaf's value.
func (*Port) GetName ¶
GetName retrieves the value of the leaf Name from the Port struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without 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 (*Port) GetOrCreateCounters ¶
func (t *Port) GetOrCreateCounters() *Port_Counters
GetOrCreateCounters retrieves the value of the Counters field or returns the existing field if it already exists.
func (*Port) GetOutRate ¶
GetOutRate retrieves the value of the leaf OutRate from the Port struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutRate is set, it can safely use t.GetOutRate() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutRate == nil' before retrieving the leaf's value.
func (*Port) IsYANGGoStruct ¶
func (*Port) IsYANGGoStruct()
IsYANGGoStruct ensures that Port implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Port) PopulateDefaults ¶
func (t *Port) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the Port with default values as specified in the YANG schema, instantiating any nil container fields.
func (*Port) SetLink ¶
func (t *Port) SetLink(v E_Port_Link)
SetLink sets the value of the leaf Link in the Port struct.
func (*Port) SetOutRate ¶
SetOutRate sets the value of the leaf OutRate in the Port struct.
func (*Port) Validate ¶
func (t *Port) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Port) ΛBelongingModule ¶
ΛBelongingModule returns the name of the module that defines the namespace of Port.
func (*Port) ΛEnumTypeMap ¶
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*Port) ΛListKeyMap ¶
ΛListKeyMap returns the keys of the Port struct, which is a YANG list entry.
type Port_Counters ¶
type Port_Counters struct { InFrames *uint64 `path:"in-frames" module:"open-traffic-generator-port"` InOctets *uint64 `path:"in-octets" module:"open-traffic-generator-port"` OutFrames *uint64 `path:"out-frames" module:"open-traffic-generator-port"` OutOctets *uint64 `path:"out-octets" module:"open-traffic-generator-port"` }
Port_Counters represents the /open-traffic-generator-port/ports/port/state/counters YANG schema element.
func (*Port_Counters) GetInFrames ¶
func (t *Port_Counters) GetInFrames() uint64
GetInFrames retrieves the value of the leaf InFrames from the Port_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 InFrames is set, it can safely use t.GetInFrames() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InFrames == nil' before retrieving the leaf's value.
func (*Port_Counters) GetInOctets ¶
func (t *Port_Counters) GetInOctets() uint64
GetInOctets retrieves the value of the leaf InOctets from the Port_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 (*Port_Counters) GetOutFrames ¶
func (t *Port_Counters) GetOutFrames() uint64
GetOutFrames retrieves the value of the leaf OutFrames from the Port_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 OutFrames is set, it can safely use t.GetOutFrames() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutFrames == nil' before retrieving the leaf's value.
func (*Port_Counters) GetOutOctets ¶
func (t *Port_Counters) GetOutOctets() uint64
GetOutOctets retrieves the value of the leaf OutOctets from the Port_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 (*Port_Counters) IsYANGGoStruct ¶
func (*Port_Counters) IsYANGGoStruct()
IsYANGGoStruct ensures that Port_Counters implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Port_Counters) PopulateDefaults ¶
func (t *Port_Counters) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the Port_Counters with default values as specified in the YANG schema, instantiating any nil container fields.
func (*Port_Counters) SetInFrames ¶
func (t *Port_Counters) SetInFrames(v uint64)
SetInFrames sets the value of the leaf InFrames in the Port_Counters struct.
func (*Port_Counters) SetInOctets ¶
func (t *Port_Counters) SetInOctets(v uint64)
SetInOctets sets the value of the leaf InOctets in the Port_Counters struct.
func (*Port_Counters) SetOutFrames ¶
func (t *Port_Counters) SetOutFrames(v uint64)
SetOutFrames sets the value of the leaf OutFrames in the Port_Counters struct.
func (*Port_Counters) SetOutOctets ¶
func (t *Port_Counters) SetOutOctets(v uint64)
SetOutOctets sets the value of the leaf OutOctets in the Port_Counters struct.
func (*Port_Counters) Validate ¶
func (t *Port_Counters) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Port_Counters) ΛBelongingModule ¶
func (*Port_Counters) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of Port_Counters.
func (*Port_Counters) ΛEnumTypeMap ¶
func (t *Port_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 (*Port_Counters) ΛValidate ¶
func (t *Port_Counters) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type Root ¶
type Root struct { BgpPeer map[string]*BgpPeer `path:"bgp-peers/bgp-peer" module:"open-traffic-generator-bgp/open-traffic-generator-bgp"` Flow map[string]*Flow `path:"flows/flow" module:"open-traffic-generator-flow/open-traffic-generator-flow"` Interface map[string]*Interface `path:"interfaces/interface" module:"open-traffic-generator-discovery/open-traffic-generator-discovery"` IsisRouter map[string]*IsisRouter `path:"isis-routers/isis-router" module:"open-traffic-generator-isis/open-traffic-generator-isis"` Lacp *Lacp `path:"lacp" module:"open-traffic-generator-lacp"` Lag map[string]*Lag `path:"lags/lag" module:"open-traffic-generator-lag/open-traffic-generator-lag"` LldpInterface map[string]*LldpInterface `path:"lldps/lldp-interface" module:"open-traffic-generator-lldp/open-traffic-generator-lldp"` Port map[string]*Port `path:"ports/port" module:"open-traffic-generator-port/open-traffic-generator-port"` RsvpteRouter map[string]*RsvpteRouter `path:"rsvpte-routers/rsvpte-router" module:"open-traffic-generator-rsvp/open-traffic-generator-rsvp"` }
Root represents the /root YANG schema element.
func (*Root) AppendBgpPeer ¶
AppendBgpPeer appends the supplied BgpPeer struct to the list BgpPeer of Root. If the key value(s) specified in the supplied BgpPeer already exist in the list, an error is returned.
func (*Root) AppendFlow ¶
AppendFlow appends the supplied Flow struct to the list Flow of Root. If the key value(s) specified in the supplied Flow already exist in the list, an error is returned.
func (*Root) AppendInterface ¶
AppendInterface appends the supplied Interface struct to the list Interface of Root. If the key value(s) specified in the supplied Interface already exist in the list, an error is returned.
func (*Root) AppendIsisRouter ¶
func (t *Root) AppendIsisRouter(v *IsisRouter) error
AppendIsisRouter appends the supplied IsisRouter struct to the list IsisRouter of Root. If the key value(s) specified in the supplied IsisRouter already exist in the list, an error is returned.
func (*Root) AppendLag ¶
AppendLag appends the supplied Lag struct to the list Lag of Root. If the key value(s) specified in the supplied Lag already exist in the list, an error is returned.
func (*Root) AppendLldpInterface ¶
func (t *Root) AppendLldpInterface(v *LldpInterface) error
AppendLldpInterface appends the supplied LldpInterface struct to the list LldpInterface of Root. If the key value(s) specified in the supplied LldpInterface already exist in the list, an error is returned.
func (*Root) AppendPort ¶
AppendPort appends the supplied Port struct to the list Port of Root. If the key value(s) specified in the supplied Port already exist in the list, an error is returned.
func (*Root) AppendRsvpteRouter ¶
func (t *Root) AppendRsvpteRouter(v *RsvpteRouter) error
AppendRsvpteRouter appends the supplied RsvpteRouter struct to the list RsvpteRouter of Root. If the key value(s) specified in the supplied RsvpteRouter already exist in the list, an error is returned.
func (*Root) DeleteBgpPeer ¶
DeleteBgpPeer deletes the value with the specified keys from the receiver Root. If there is no such element, the function is a no-op.
func (*Root) DeleteFlow ¶
DeleteFlow deletes the value with the specified keys from the receiver Root. If there is no such element, the function is a no-op.
func (*Root) DeleteInterface ¶
DeleteInterface deletes the value with the specified keys from the receiver Root. If there is no such element, the function is a no-op.
func (*Root) DeleteIsisRouter ¶
DeleteIsisRouter deletes the value with the specified keys from the receiver Root. If there is no such element, the function is a no-op.
func (*Root) DeleteLag ¶
DeleteLag deletes the value with the specified keys from the receiver Root. If there is no such element, the function is a no-op.
func (*Root) DeleteLldpInterface ¶
DeleteLldpInterface deletes the value with the specified keys from the receiver Root. If there is no such element, the function is a no-op.
func (*Root) DeletePort ¶
DeletePort deletes the value with the specified keys from the receiver Root. If there is no such element, the function is a no-op.
func (*Root) DeleteRsvpteRouter ¶
DeleteRsvpteRouter deletes the value with the specified keys from the receiver Root. If there is no such element, the function is a no-op.
func (*Root) GetBgpPeer ¶
GetBgpPeer retrieves the value with the specified key from the BgpPeer map field of Root. 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 (*Root) GetFlow ¶
GetFlow retrieves the value with the specified key from the Flow map field of Root. 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 (*Root) GetInterface ¶
GetInterface retrieves the value with the specified key from the Interface map field of Root. 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 (*Root) GetIsisRouter ¶
func (t *Root) GetIsisRouter(Name string) *IsisRouter
GetIsisRouter retrieves the value with the specified key from the IsisRouter map field of Root. 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 (*Root) GetLacp ¶
GetLacp returns the value of the Lacp struct pointer from Root. If the receiver or the field Lacp is nil, nil is returned such that the Get* methods can be safely chained.
func (*Root) GetLag ¶
GetLag retrieves the value with the specified key from the Lag map field of Root. 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 (*Root) GetLldpInterface ¶
func (t *Root) GetLldpInterface(Name string) *LldpInterface
GetLldpInterface retrieves the value with the specified key from the LldpInterface map field of Root. 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 (*Root) GetOrCreateBgpPeer ¶
GetOrCreateBgpPeer retrieves the value with the specified keys from the receiver Root. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*Root) GetOrCreateFlow ¶
GetOrCreateFlow retrieves the value with the specified keys from the receiver Root. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*Root) GetOrCreateInterface ¶
GetOrCreateInterface retrieves the value with the specified keys from the receiver Root. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*Root) GetOrCreateIsisRouter ¶
func (t *Root) GetOrCreateIsisRouter(Name string) *IsisRouter
GetOrCreateIsisRouter retrieves the value with the specified keys from the receiver Root. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*Root) GetOrCreateLacp ¶
GetOrCreateLacp retrieves the value of the Lacp field or returns the existing field if it already exists.
func (*Root) GetOrCreateLag ¶
GetOrCreateLag retrieves the value with the specified keys from the receiver Root. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*Root) GetOrCreateLldpInterface ¶
func (t *Root) GetOrCreateLldpInterface(Name string) *LldpInterface
GetOrCreateLldpInterface retrieves the value with the specified keys from the receiver Root. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*Root) GetOrCreatePort ¶
GetOrCreatePort retrieves the value with the specified keys from the receiver Root. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*Root) GetOrCreateRsvpteRouter ¶
func (t *Root) GetOrCreateRsvpteRouter(Name string) *RsvpteRouter
GetOrCreateRsvpteRouter retrieves the value with the specified keys from the receiver Root. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*Root) GetPort ¶
GetPort retrieves the value with the specified key from the Port map field of Root. 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 (*Root) GetRsvpteRouter ¶
func (t *Root) GetRsvpteRouter(Name string) *RsvpteRouter
GetRsvpteRouter retrieves the value with the specified key from the RsvpteRouter map field of Root. 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 (*Root) IsYANGGoStruct ¶
func (*Root) IsYANGGoStruct()
IsYANGGoStruct ensures that Root implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*Root) NewBgpPeer ¶
NewBgpPeer creates a new entry in the BgpPeer list of the Root struct. The keys of the list are populated from the input arguments.
func (*Root) NewFlow ¶
NewFlow creates a new entry in the Flow list of the Root struct. The keys of the list are populated from the input arguments.
func (*Root) NewInterface ¶
NewInterface creates a new entry in the Interface list of the Root struct. The keys of the list are populated from the input arguments.
func (*Root) NewIsisRouter ¶
func (t *Root) NewIsisRouter(Name string) (*IsisRouter, error)
NewIsisRouter creates a new entry in the IsisRouter list of the Root struct. The keys of the list are populated from the input arguments.
func (*Root) NewLag ¶
NewLag creates a new entry in the Lag list of the Root struct. The keys of the list are populated from the input arguments.
func (*Root) NewLldpInterface ¶
func (t *Root) NewLldpInterface(Name string) (*LldpInterface, error)
NewLldpInterface creates a new entry in the LldpInterface list of the Root struct. The keys of the list are populated from the input arguments.
func (*Root) NewPort ¶
NewPort creates a new entry in the Port list of the Root struct. The keys of the list are populated from the input arguments.
func (*Root) NewRsvpteRouter ¶
func (t *Root) NewRsvpteRouter(Name string) (*RsvpteRouter, error)
NewRsvpteRouter creates a new entry in the RsvpteRouter list of the Root struct. The keys of the list are populated from the input arguments.
func (*Root) PopulateDefaults ¶
func (t *Root) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the Root with default values as specified in the YANG schema, instantiating any nil container fields.
func (*Root) Validate ¶
func (t *Root) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Root) ΛBelongingModule ¶
ΛBelongingModule returns the name of the module that defines the namespace of Root.
func (*Root) ΛEnumTypeMap ¶
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
type RsvpteRouter ¶
type RsvpteRouter struct { Counters *RsvpteRouter_Counters `path:"state/counters" module:"open-traffic-generator-rsvp/open-traffic-generator-rsvp"` LabelSwitchedPathDatabase *RsvpteRouter_LabelSwitchedPathDatabase `path:"state/label-switched-path-database" module:"open-traffic-generator-rsvp/open-traffic-generator-rsvp"` Name *string `` /* 178-byte string literal not displayed */ }
RsvpteRouter represents the /open-traffic-generator-rsvp/rsvpte-routers/rsvpte-router YANG schema element.
func (*RsvpteRouter) GetCounters ¶
func (t *RsvpteRouter) GetCounters() *RsvpteRouter_Counters
GetCounters returns the value of the Counters struct pointer from RsvpteRouter. If the receiver or the field Counters is nil, nil is returned such that the Get* methods can be safely chained.
func (*RsvpteRouter) GetLabelSwitchedPathDatabase ¶
func (t *RsvpteRouter) GetLabelSwitchedPathDatabase() *RsvpteRouter_LabelSwitchedPathDatabase
GetLabelSwitchedPathDatabase returns the value of the LabelSwitchedPathDatabase struct pointer from RsvpteRouter. If the receiver or the field LabelSwitchedPathDatabase is nil, nil is returned such that the Get* methods can be safely chained.
func (*RsvpteRouter) GetName ¶
func (t *RsvpteRouter) GetName() string
GetName retrieves the value of the leaf Name from the RsvpteRouter struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without 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 (*RsvpteRouter) GetOrCreateCounters ¶
func (t *RsvpteRouter) GetOrCreateCounters() *RsvpteRouter_Counters
GetOrCreateCounters retrieves the value of the Counters field or returns the existing field if it already exists.
func (*RsvpteRouter) GetOrCreateLabelSwitchedPathDatabase ¶
func (t *RsvpteRouter) GetOrCreateLabelSwitchedPathDatabase() *RsvpteRouter_LabelSwitchedPathDatabase
GetOrCreateLabelSwitchedPathDatabase retrieves the value of the LabelSwitchedPathDatabase field or returns the existing field if it already exists.
func (*RsvpteRouter) IsYANGGoStruct ¶
func (*RsvpteRouter) IsYANGGoStruct()
IsYANGGoStruct ensures that RsvpteRouter implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*RsvpteRouter) PopulateDefaults ¶
func (t *RsvpteRouter) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the RsvpteRouter with default values as specified in the YANG schema, instantiating any nil container fields.
func (*RsvpteRouter) SetName ¶
func (t *RsvpteRouter) SetName(v string)
SetName sets the value of the leaf Name in the RsvpteRouter struct.
func (*RsvpteRouter) Validate ¶
func (t *RsvpteRouter) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*RsvpteRouter) ΛBelongingModule ¶
func (*RsvpteRouter) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of RsvpteRouter.
func (*RsvpteRouter) ΛEnumTypeMap ¶
func (t *RsvpteRouter) Λ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 (*RsvpteRouter) ΛListKeyMap ¶
func (t *RsvpteRouter) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the RsvpteRouter struct, which is a YANG list entry.
func (*RsvpteRouter) ΛValidate ¶
func (t *RsvpteRouter) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type RsvpteRouter_Counters ¶
type RsvpteRouter_Counters struct { EgressP2PLspsUp *uint64 `path:"egress-p2p-lsps-up" module:"open-traffic-generator-rsvp"` InAcks *uint64 `path:"in-acks" module:"open-traffic-generator-rsvp"` InBundles *uint64 `path:"in-bundles" module:"open-traffic-generator-rsvp"` InHellos *uint64 `path:"in-hellos" module:"open-traffic-generator-rsvp"` InNacks *uint64 `path:"in-nacks" module:"open-traffic-generator-rsvp"` InPathErrors *uint64 `path:"in-path-errors" module:"open-traffic-generator-rsvp"` InPathTears *uint64 `path:"in-path-tears" module:"open-traffic-generator-rsvp"` InPaths *uint64 `path:"in-paths" module:"open-traffic-generator-rsvp"` InResvConfs *uint64 `path:"in-resv-confs" module:"open-traffic-generator-rsvp"` InResvErrors *uint64 `path:"in-resv-errors" module:"open-traffic-generator-rsvp"` InResvTears *uint64 `path:"in-resv-tears" module:"open-traffic-generator-rsvp"` InResvs *uint64 `path:"in-resvs" module:"open-traffic-generator-rsvp"` InSrefreshs *uint64 `path:"in-srefreshs" module:"open-traffic-generator-rsvp"` IngressP2PLspsConfigured *uint64 `path:"ingress-p2p-lsps-configured" module:"open-traffic-generator-rsvp"` IngressP2PLspsUp *uint64 `path:"ingress-p2p-lsps-up" module:"open-traffic-generator-rsvp"` LspFlaps *uint64 `path:"lsp-flaps" module:"open-traffic-generator-rsvp"` OutAcks *uint64 `path:"out-acks" module:"open-traffic-generator-rsvp"` OutBundles *uint64 `path:"out-bundles" module:"open-traffic-generator-rsvp"` OutHellos *uint64 `path:"out-hellos" module:"open-traffic-generator-rsvp"` OutNacks *uint64 `path:"out-nacks" module:"open-traffic-generator-rsvp"` OutPathErrors *uint64 `path:"out-path-errors" module:"open-traffic-generator-rsvp"` OutPathReevaluationReqs *uint64 `path:"out-path-reevaluation-reqs" module:"open-traffic-generator-rsvp"` OutPathTears *uint64 `path:"out-path-tears" module:"open-traffic-generator-rsvp"` OutPaths *uint64 `path:"out-paths" module:"open-traffic-generator-rsvp"` OutResvConfs *uint64 `path:"out-resv-confs" module:"open-traffic-generator-rsvp"` OutResvErrors *uint64 `path:"out-resv-errors" module:"open-traffic-generator-rsvp"` OutResvTears *uint64 `path:"out-resv-tears" module:"open-traffic-generator-rsvp"` OutResvs *uint64 `path:"out-resvs" module:"open-traffic-generator-rsvp"` OutSrefreshs *uint64 `path:"out-srefreshs" module:"open-traffic-generator-rsvp"` PathReoptimizations *uint64 `path:"path-reoptimizations" module:"open-traffic-generator-rsvp"` }
RsvpteRouter_Counters represents the /open-traffic-generator-rsvp/rsvpte-routers/rsvpte-router/state/counters YANG schema element.
func (*RsvpteRouter_Counters) GetEgressP2PLspsUp ¶
func (t *RsvpteRouter_Counters) GetEgressP2PLspsUp() uint64
GetEgressP2PLspsUp retrieves the value of the leaf EgressP2PLspsUp from the RsvpteRouter_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 EgressP2PLspsUp is set, it can safely use t.GetEgressP2PLspsUp() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.EgressP2PLspsUp == nil' before retrieving the leaf's value.
func (*RsvpteRouter_Counters) GetInAcks ¶
func (t *RsvpteRouter_Counters) GetInAcks() uint64
GetInAcks retrieves the value of the leaf InAcks from the RsvpteRouter_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 InAcks is set, it can safely use t.GetInAcks() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InAcks == nil' before retrieving the leaf's value.
func (*RsvpteRouter_Counters) GetInBundles ¶
func (t *RsvpteRouter_Counters) GetInBundles() uint64
GetInBundles retrieves the value of the leaf InBundles from the RsvpteRouter_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 InBundles is set, it can safely use t.GetInBundles() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InBundles == nil' before retrieving the leaf's value.
func (*RsvpteRouter_Counters) GetInHellos ¶
func (t *RsvpteRouter_Counters) GetInHellos() uint64
GetInHellos retrieves the value of the leaf InHellos from the RsvpteRouter_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 InHellos is set, it can safely use t.GetInHellos() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InHellos == nil' before retrieving the leaf's value.
func (*RsvpteRouter_Counters) GetInNacks ¶
func (t *RsvpteRouter_Counters) GetInNacks() uint64
GetInNacks retrieves the value of the leaf InNacks from the RsvpteRouter_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 InNacks is set, it can safely use t.GetInNacks() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InNacks == nil' before retrieving the leaf's value.
func (*RsvpteRouter_Counters) GetInPathErrors ¶
func (t *RsvpteRouter_Counters) GetInPathErrors() uint64
GetInPathErrors retrieves the value of the leaf InPathErrors from the RsvpteRouter_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 InPathErrors is set, it can safely use t.GetInPathErrors() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InPathErrors == nil' before retrieving the leaf's value.
func (*RsvpteRouter_Counters) GetInPathTears ¶
func (t *RsvpteRouter_Counters) GetInPathTears() uint64
GetInPathTears retrieves the value of the leaf InPathTears from the RsvpteRouter_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 InPathTears is set, it can safely use t.GetInPathTears() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InPathTears == nil' before retrieving the leaf's value.
func (*RsvpteRouter_Counters) GetInPaths ¶
func (t *RsvpteRouter_Counters) GetInPaths() uint64
GetInPaths retrieves the value of the leaf InPaths from the RsvpteRouter_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 InPaths is set, it can safely use t.GetInPaths() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InPaths == nil' before retrieving the leaf's value.
func (*RsvpteRouter_Counters) GetInResvConfs ¶
func (t *RsvpteRouter_Counters) GetInResvConfs() uint64
GetInResvConfs retrieves the value of the leaf InResvConfs from the RsvpteRouter_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 InResvConfs is set, it can safely use t.GetInResvConfs() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InResvConfs == nil' before retrieving the leaf's value.
func (*RsvpteRouter_Counters) GetInResvErrors ¶
func (t *RsvpteRouter_Counters) GetInResvErrors() uint64
GetInResvErrors retrieves the value of the leaf InResvErrors from the RsvpteRouter_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 InResvErrors is set, it can safely use t.GetInResvErrors() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InResvErrors == nil' before retrieving the leaf's value.
func (*RsvpteRouter_Counters) GetInResvTears ¶
func (t *RsvpteRouter_Counters) GetInResvTears() uint64
GetInResvTears retrieves the value of the leaf InResvTears from the RsvpteRouter_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 InResvTears is set, it can safely use t.GetInResvTears() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InResvTears == nil' before retrieving the leaf's value.
func (*RsvpteRouter_Counters) GetInResvs ¶
func (t *RsvpteRouter_Counters) GetInResvs() uint64
GetInResvs retrieves the value of the leaf InResvs from the RsvpteRouter_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 InResvs is set, it can safely use t.GetInResvs() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InResvs == nil' before retrieving the leaf's value.
func (*RsvpteRouter_Counters) GetInSrefreshs ¶
func (t *RsvpteRouter_Counters) GetInSrefreshs() uint64
GetInSrefreshs retrieves the value of the leaf InSrefreshs from the RsvpteRouter_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 InSrefreshs is set, it can safely use t.GetInSrefreshs() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InSrefreshs == nil' before retrieving the leaf's value.
func (*RsvpteRouter_Counters) GetIngressP2PLspsConfigured ¶
func (t *RsvpteRouter_Counters) GetIngressP2PLspsConfigured() uint64
GetIngressP2PLspsConfigured retrieves the value of the leaf IngressP2PLspsConfigured from the RsvpteRouter_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 IngressP2PLspsConfigured is set, it can safely use t.GetIngressP2PLspsConfigured() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.IngressP2PLspsConfigured == nil' before retrieving the leaf's value.
func (*RsvpteRouter_Counters) GetIngressP2PLspsUp ¶
func (t *RsvpteRouter_Counters) GetIngressP2PLspsUp() uint64
GetIngressP2PLspsUp retrieves the value of the leaf IngressP2PLspsUp from the RsvpteRouter_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 IngressP2PLspsUp is set, it can safely use t.GetIngressP2PLspsUp() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.IngressP2PLspsUp == nil' before retrieving the leaf's value.
func (*RsvpteRouter_Counters) GetLspFlaps ¶
func (t *RsvpteRouter_Counters) GetLspFlaps() uint64
GetLspFlaps retrieves the value of the leaf LspFlaps from the RsvpteRouter_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 LspFlaps is set, it can safely use t.GetLspFlaps() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LspFlaps == nil' before retrieving the leaf's value.
func (*RsvpteRouter_Counters) GetOutAcks ¶
func (t *RsvpteRouter_Counters) GetOutAcks() uint64
GetOutAcks retrieves the value of the leaf OutAcks from the RsvpteRouter_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 OutAcks is set, it can safely use t.GetOutAcks() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutAcks == nil' before retrieving the leaf's value.
func (*RsvpteRouter_Counters) GetOutBundles ¶
func (t *RsvpteRouter_Counters) GetOutBundles() uint64
GetOutBundles retrieves the value of the leaf OutBundles from the RsvpteRouter_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 OutBundles is set, it can safely use t.GetOutBundles() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutBundles == nil' before retrieving the leaf's value.
func (*RsvpteRouter_Counters) GetOutHellos ¶
func (t *RsvpteRouter_Counters) GetOutHellos() uint64
GetOutHellos retrieves the value of the leaf OutHellos from the RsvpteRouter_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 OutHellos is set, it can safely use t.GetOutHellos() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutHellos == nil' before retrieving the leaf's value.
func (*RsvpteRouter_Counters) GetOutNacks ¶
func (t *RsvpteRouter_Counters) GetOutNacks() uint64
GetOutNacks retrieves the value of the leaf OutNacks from the RsvpteRouter_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 OutNacks is set, it can safely use t.GetOutNacks() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutNacks == nil' before retrieving the leaf's value.
func (*RsvpteRouter_Counters) GetOutPathErrors ¶
func (t *RsvpteRouter_Counters) GetOutPathErrors() uint64
GetOutPathErrors retrieves the value of the leaf OutPathErrors from the RsvpteRouter_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 OutPathErrors is set, it can safely use t.GetOutPathErrors() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutPathErrors == nil' before retrieving the leaf's value.
func (*RsvpteRouter_Counters) GetOutPathReevaluationReqs ¶
func (t *RsvpteRouter_Counters) GetOutPathReevaluationReqs() uint64
GetOutPathReevaluationReqs retrieves the value of the leaf OutPathReevaluationReqs from the RsvpteRouter_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 OutPathReevaluationReqs is set, it can safely use t.GetOutPathReevaluationReqs() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutPathReevaluationReqs == nil' before retrieving the leaf's value.
func (*RsvpteRouter_Counters) GetOutPathTears ¶
func (t *RsvpteRouter_Counters) GetOutPathTears() uint64
GetOutPathTears retrieves the value of the leaf OutPathTears from the RsvpteRouter_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 OutPathTears is set, it can safely use t.GetOutPathTears() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutPathTears == nil' before retrieving the leaf's value.
func (*RsvpteRouter_Counters) GetOutPaths ¶
func (t *RsvpteRouter_Counters) GetOutPaths() uint64
GetOutPaths retrieves the value of the leaf OutPaths from the RsvpteRouter_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 OutPaths is set, it can safely use t.GetOutPaths() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutPaths == nil' before retrieving the leaf's value.
func (*RsvpteRouter_Counters) GetOutResvConfs ¶
func (t *RsvpteRouter_Counters) GetOutResvConfs() uint64
GetOutResvConfs retrieves the value of the leaf OutResvConfs from the RsvpteRouter_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 OutResvConfs is set, it can safely use t.GetOutResvConfs() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutResvConfs == nil' before retrieving the leaf's value.
func (*RsvpteRouter_Counters) GetOutResvErrors ¶
func (t *RsvpteRouter_Counters) GetOutResvErrors() uint64
GetOutResvErrors retrieves the value of the leaf OutResvErrors from the RsvpteRouter_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 OutResvErrors is set, it can safely use t.GetOutResvErrors() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutResvErrors == nil' before retrieving the leaf's value.
func (*RsvpteRouter_Counters) GetOutResvTears ¶
func (t *RsvpteRouter_Counters) GetOutResvTears() uint64
GetOutResvTears retrieves the value of the leaf OutResvTears from the RsvpteRouter_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 OutResvTears is set, it can safely use t.GetOutResvTears() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutResvTears == nil' before retrieving the leaf's value.
func (*RsvpteRouter_Counters) GetOutResvs ¶
func (t *RsvpteRouter_Counters) GetOutResvs() uint64
GetOutResvs retrieves the value of the leaf OutResvs from the RsvpteRouter_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 OutResvs is set, it can safely use t.GetOutResvs() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutResvs == nil' before retrieving the leaf's value.
func (*RsvpteRouter_Counters) GetOutSrefreshs ¶
func (t *RsvpteRouter_Counters) GetOutSrefreshs() uint64
GetOutSrefreshs retrieves the value of the leaf OutSrefreshs from the RsvpteRouter_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 OutSrefreshs is set, it can safely use t.GetOutSrefreshs() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutSrefreshs == nil' before retrieving the leaf's value.
func (*RsvpteRouter_Counters) GetPathReoptimizations ¶
func (t *RsvpteRouter_Counters) GetPathReoptimizations() uint64
GetPathReoptimizations retrieves the value of the leaf PathReoptimizations from the RsvpteRouter_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 PathReoptimizations is set, it can safely use t.GetPathReoptimizations() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.PathReoptimizations == nil' before retrieving the leaf's value.
func (*RsvpteRouter_Counters) IsYANGGoStruct ¶
func (*RsvpteRouter_Counters) IsYANGGoStruct()
IsYANGGoStruct ensures that RsvpteRouter_Counters implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*RsvpteRouter_Counters) PopulateDefaults ¶
func (t *RsvpteRouter_Counters) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the RsvpteRouter_Counters with default values as specified in the YANG schema, instantiating any nil container fields.
func (*RsvpteRouter_Counters) SetEgressP2PLspsUp ¶
func (t *RsvpteRouter_Counters) SetEgressP2PLspsUp(v uint64)
SetEgressP2PLspsUp sets the value of the leaf EgressP2PLspsUp in the RsvpteRouter_Counters struct.
func (*RsvpteRouter_Counters) SetInAcks ¶
func (t *RsvpteRouter_Counters) SetInAcks(v uint64)
SetInAcks sets the value of the leaf InAcks in the RsvpteRouter_Counters struct.
func (*RsvpteRouter_Counters) SetInBundles ¶
func (t *RsvpteRouter_Counters) SetInBundles(v uint64)
SetInBundles sets the value of the leaf InBundles in the RsvpteRouter_Counters struct.
func (*RsvpteRouter_Counters) SetInHellos ¶
func (t *RsvpteRouter_Counters) SetInHellos(v uint64)
SetInHellos sets the value of the leaf InHellos in the RsvpteRouter_Counters struct.
func (*RsvpteRouter_Counters) SetInNacks ¶
func (t *RsvpteRouter_Counters) SetInNacks(v uint64)
SetInNacks sets the value of the leaf InNacks in the RsvpteRouter_Counters struct.
func (*RsvpteRouter_Counters) SetInPathErrors ¶
func (t *RsvpteRouter_Counters) SetInPathErrors(v uint64)
SetInPathErrors sets the value of the leaf InPathErrors in the RsvpteRouter_Counters struct.
func (*RsvpteRouter_Counters) SetInPathTears ¶
func (t *RsvpteRouter_Counters) SetInPathTears(v uint64)
SetInPathTears sets the value of the leaf InPathTears in the RsvpteRouter_Counters struct.
func (*RsvpteRouter_Counters) SetInPaths ¶
func (t *RsvpteRouter_Counters) SetInPaths(v uint64)
SetInPaths sets the value of the leaf InPaths in the RsvpteRouter_Counters struct.
func (*RsvpteRouter_Counters) SetInResvConfs ¶
func (t *RsvpteRouter_Counters) SetInResvConfs(v uint64)
SetInResvConfs sets the value of the leaf InResvConfs in the RsvpteRouter_Counters struct.
func (*RsvpteRouter_Counters) SetInResvErrors ¶
func (t *RsvpteRouter_Counters) SetInResvErrors(v uint64)
SetInResvErrors sets the value of the leaf InResvErrors in the RsvpteRouter_Counters struct.
func (*RsvpteRouter_Counters) SetInResvTears ¶
func (t *RsvpteRouter_Counters) SetInResvTears(v uint64)
SetInResvTears sets the value of the leaf InResvTears in the RsvpteRouter_Counters struct.
func (*RsvpteRouter_Counters) SetInResvs ¶
func (t *RsvpteRouter_Counters) SetInResvs(v uint64)
SetInResvs sets the value of the leaf InResvs in the RsvpteRouter_Counters struct.
func (*RsvpteRouter_Counters) SetInSrefreshs ¶
func (t *RsvpteRouter_Counters) SetInSrefreshs(v uint64)
SetInSrefreshs sets the value of the leaf InSrefreshs in the RsvpteRouter_Counters struct.
func (*RsvpteRouter_Counters) SetIngressP2PLspsConfigured ¶
func (t *RsvpteRouter_Counters) SetIngressP2PLspsConfigured(v uint64)
SetIngressP2PLspsConfigured sets the value of the leaf IngressP2PLspsConfigured in the RsvpteRouter_Counters struct.
func (*RsvpteRouter_Counters) SetIngressP2PLspsUp ¶
func (t *RsvpteRouter_Counters) SetIngressP2PLspsUp(v uint64)
SetIngressP2PLspsUp sets the value of the leaf IngressP2PLspsUp in the RsvpteRouter_Counters struct.
func (*RsvpteRouter_Counters) SetLspFlaps ¶
func (t *RsvpteRouter_Counters) SetLspFlaps(v uint64)
SetLspFlaps sets the value of the leaf LspFlaps in the RsvpteRouter_Counters struct.
func (*RsvpteRouter_Counters) SetOutAcks ¶
func (t *RsvpteRouter_Counters) SetOutAcks(v uint64)
SetOutAcks sets the value of the leaf OutAcks in the RsvpteRouter_Counters struct.
func (*RsvpteRouter_Counters) SetOutBundles ¶
func (t *RsvpteRouter_Counters) SetOutBundles(v uint64)
SetOutBundles sets the value of the leaf OutBundles in the RsvpteRouter_Counters struct.
func (*RsvpteRouter_Counters) SetOutHellos ¶
func (t *RsvpteRouter_Counters) SetOutHellos(v uint64)
SetOutHellos sets the value of the leaf OutHellos in the RsvpteRouter_Counters struct.
func (*RsvpteRouter_Counters) SetOutNacks ¶
func (t *RsvpteRouter_Counters) SetOutNacks(v uint64)
SetOutNacks sets the value of the leaf OutNacks in the RsvpteRouter_Counters struct.
func (*RsvpteRouter_Counters) SetOutPathErrors ¶
func (t *RsvpteRouter_Counters) SetOutPathErrors(v uint64)
SetOutPathErrors sets the value of the leaf OutPathErrors in the RsvpteRouter_Counters struct.
func (*RsvpteRouter_Counters) SetOutPathReevaluationReqs ¶
func (t *RsvpteRouter_Counters) SetOutPathReevaluationReqs(v uint64)
SetOutPathReevaluationReqs sets the value of the leaf OutPathReevaluationReqs in the RsvpteRouter_Counters struct.
func (*RsvpteRouter_Counters) SetOutPathTears ¶
func (t *RsvpteRouter_Counters) SetOutPathTears(v uint64)
SetOutPathTears sets the value of the leaf OutPathTears in the RsvpteRouter_Counters struct.
func (*RsvpteRouter_Counters) SetOutPaths ¶
func (t *RsvpteRouter_Counters) SetOutPaths(v uint64)
SetOutPaths sets the value of the leaf OutPaths in the RsvpteRouter_Counters struct.
func (*RsvpteRouter_Counters) SetOutResvConfs ¶
func (t *RsvpteRouter_Counters) SetOutResvConfs(v uint64)
SetOutResvConfs sets the value of the leaf OutResvConfs in the RsvpteRouter_Counters struct.
func (*RsvpteRouter_Counters) SetOutResvErrors ¶
func (t *RsvpteRouter_Counters) SetOutResvErrors(v uint64)
SetOutResvErrors sets the value of the leaf OutResvErrors in the RsvpteRouter_Counters struct.
func (*RsvpteRouter_Counters) SetOutResvTears ¶
func (t *RsvpteRouter_Counters) SetOutResvTears(v uint64)
SetOutResvTears sets the value of the leaf OutResvTears in the RsvpteRouter_Counters struct.
func (*RsvpteRouter_Counters) SetOutResvs ¶
func (t *RsvpteRouter_Counters) SetOutResvs(v uint64)
SetOutResvs sets the value of the leaf OutResvs in the RsvpteRouter_Counters struct.
func (*RsvpteRouter_Counters) SetOutSrefreshs ¶
func (t *RsvpteRouter_Counters) SetOutSrefreshs(v uint64)
SetOutSrefreshs sets the value of the leaf OutSrefreshs in the RsvpteRouter_Counters struct.
func (*RsvpteRouter_Counters) SetPathReoptimizations ¶
func (t *RsvpteRouter_Counters) SetPathReoptimizations(v uint64)
SetPathReoptimizations sets the value of the leaf PathReoptimizations in the RsvpteRouter_Counters struct.
func (*RsvpteRouter_Counters) Validate ¶
func (t *RsvpteRouter_Counters) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*RsvpteRouter_Counters) ΛBelongingModule ¶
func (*RsvpteRouter_Counters) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of RsvpteRouter_Counters.
func (*RsvpteRouter_Counters) ΛEnumTypeMap ¶
func (t *RsvpteRouter_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 (*RsvpteRouter_Counters) ΛValidate ¶
func (t *RsvpteRouter_Counters) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type RsvpteRouter_LabelSwitchedPathDatabase ¶
type RsvpteRouter_LabelSwitchedPathDatabase struct {
Ipv4Lsp map[RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Key]*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp `path:"lsps/ipv4-lsp" module:"open-traffic-generator-rsvp/open-traffic-generator-rsvp"`
}
RsvpteRouter_LabelSwitchedPathDatabase represents the /open-traffic-generator-rsvp/rsvpte-routers/rsvpte-router/state/label-switched-path-database YANG schema element.
func (*RsvpteRouter_LabelSwitchedPathDatabase) AppendIpv4Lsp ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase) AppendIpv4Lsp(v *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) error
AppendIpv4Lsp appends the supplied RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp struct to the list Ipv4Lsp of RsvpteRouter_LabelSwitchedPathDatabase. If the key value(s) specified in the supplied RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp already exist in the list, an error is returned.
func (*RsvpteRouter_LabelSwitchedPathDatabase) DeleteIpv4Lsp ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase) DeleteIpv4Lsp(SourceAddress string, DestinationAddress string, TunnelId uint16, LspId uint16)
DeleteIpv4Lsp deletes the value with the specified keys from the receiver RsvpteRouter_LabelSwitchedPathDatabase. If there is no such element, the function is a no-op.
func (*RsvpteRouter_LabelSwitchedPathDatabase) GetIpv4Lsp ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase) GetIpv4Lsp(SourceAddress string, DestinationAddress string, TunnelId uint16, LspId uint16) *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp
GetIpv4Lsp retrieves the value with the specified key from the Ipv4Lsp map field of RsvpteRouter_LabelSwitchedPathDatabase. 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 (*RsvpteRouter_LabelSwitchedPathDatabase) GetOrCreateIpv4Lsp ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase) GetOrCreateIpv4Lsp(SourceAddress string, DestinationAddress string, TunnelId uint16, LspId uint16) *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp
GetOrCreateIpv4Lsp retrieves the value with the specified keys from the receiver RsvpteRouter_LabelSwitchedPathDatabase. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*RsvpteRouter_LabelSwitchedPathDatabase) IsYANGGoStruct ¶
func (*RsvpteRouter_LabelSwitchedPathDatabase) IsYANGGoStruct()
IsYANGGoStruct ensures that RsvpteRouter_LabelSwitchedPathDatabase implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*RsvpteRouter_LabelSwitchedPathDatabase) NewIpv4Lsp ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase) NewIpv4Lsp(SourceAddress string, DestinationAddress string, TunnelId uint16, LspId uint16) (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp, error)
NewIpv4Lsp creates a new entry in the Ipv4Lsp list of the RsvpteRouter_LabelSwitchedPathDatabase struct. The keys of the list are populated from the input arguments.
func (*RsvpteRouter_LabelSwitchedPathDatabase) PopulateDefaults ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the RsvpteRouter_LabelSwitchedPathDatabase with default values as specified in the YANG schema, instantiating any nil container fields.
func (*RsvpteRouter_LabelSwitchedPathDatabase) Validate ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*RsvpteRouter_LabelSwitchedPathDatabase) ΛBelongingModule ¶
func (*RsvpteRouter_LabelSwitchedPathDatabase) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of RsvpteRouter_LabelSwitchedPathDatabase.
func (*RsvpteRouter_LabelSwitchedPathDatabase) ΛEnumTypeMap ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase) Λ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 (*RsvpteRouter_LabelSwitchedPathDatabase) ΛValidate ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp ¶
type RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp struct { DestinationAddress *string `` /* 223-byte string literal not displayed */ Ero map[uint64]*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero `path:"state/ero" module:"open-traffic-generator-rsvp/open-traffic-generator-rsvp"` LabelIn RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_LabelIn_Union `path:"state/label-in" module:"open-traffic-generator-rsvp/open-traffic-generator-rsvp"` LabelOut RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_LabelOut_Union `path:"state/label-out" module:"open-traffic-generator-rsvp/open-traffic-generator-rsvp"` LastFlapReason E_Ipv4Lsp_LastFlapReason `path:"state/last-flap-reason" module:"open-traffic-generator-rsvp/open-traffic-generator-rsvp"` LspId *uint16 `` /* 184-byte string literal not displayed */ Rro map[uint8]*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro `path:"state/rro" module:"open-traffic-generator-rsvp/open-traffic-generator-rsvp"` SessionName *string `path:"state/session-name" module:"open-traffic-generator-rsvp/open-traffic-generator-rsvp"` SessionStatus E_Ipv4Lsp_SessionStatus `path:"state/session-status" module:"open-traffic-generator-rsvp/open-traffic-generator-rsvp"` SourceAddress *string `` /* 208-byte string literal not displayed */ TunnelId *uint16 `` /* 193-byte string literal not displayed */ UpTime *uint32 `path:"state/up-time" module:"open-traffic-generator-rsvp/open-traffic-generator-rsvp"` }
RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp represents the /open-traffic-generator-rsvp/rsvpte-routers/rsvpte-router/state/label-switched-path-database/lsps/ipv4-lsp YANG schema element.
func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) AppendEro ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) AppendEro(v *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero) error
AppendEro appends the supplied RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero struct to the list Ero of RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp. If the key value(s) specified in the supplied RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero already exist in the list, an error is returned.
func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) AppendRro ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) AppendRro(v *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro) error
AppendRro appends the supplied RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro struct to the list Rro of RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp. If the key value(s) specified in the supplied RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro already exist in the list, an error is returned.
func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) DeleteEro ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) DeleteEro(Index uint64)
DeleteEro deletes the value with the specified keys from the receiver RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp. If there is no such element, the function is a no-op.
func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) DeleteRro ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) DeleteRro(Index uint8)
DeleteRro deletes the value with the specified keys from the receiver RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp. If there is no such element, the function is a no-op.
func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) GetDestinationAddress ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) GetDestinationAddress() string
GetDestinationAddress retrieves the value of the leaf DestinationAddress from the RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without 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 (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) GetEro ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) GetEro(Index uint64) *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero
GetEro retrieves the value with the specified key from the Ero map field of RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp. 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 (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) GetLabelIn ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) GetLabelIn() RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_LabelIn_Union
GetLabelIn retrieves the value of the leaf LabelIn from the RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LabelIn is set, it can safely use t.GetLabelIn() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LabelIn == nil' before retrieving the leaf's value.
func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) GetLabelOut ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) GetLabelOut() RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_LabelOut_Union
GetLabelOut retrieves the value of the leaf LabelOut from the RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LabelOut is set, it can safely use t.GetLabelOut() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LabelOut == nil' before retrieving the leaf's value.
func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) GetLastFlapReason ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) GetLastFlapReason() E_Ipv4Lsp_LastFlapReason
GetLastFlapReason retrieves the value of the leaf LastFlapReason from the RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LastFlapReason is set, it can safely use t.GetLastFlapReason() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LastFlapReason == nil' before retrieving the leaf's value.
func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) GetLspId ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) GetLspId() uint16
GetLspId retrieves the value of the leaf LspId from the RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LspId is set, it can safely use t.GetLspId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LspId == nil' before retrieving the leaf's value.
func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) GetOrCreateEro ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) GetOrCreateEro(Index uint64) *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero
GetOrCreateEro retrieves the value with the specified keys from the receiver RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) GetOrCreateRro ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) GetOrCreateRro(Index uint8) *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro
GetOrCreateRro retrieves the value with the specified keys from the receiver RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) GetRro ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) GetRro(Index uint8) *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro
GetRro retrieves the value with the specified key from the Rro map field of RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp. 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 (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) GetSessionName ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) GetSessionName() string
GetSessionName retrieves the value of the leaf SessionName from the RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SessionName is set, it can safely use t.GetSessionName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SessionName == nil' before retrieving the leaf's value.
func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) GetSessionStatus ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) GetSessionStatus() E_Ipv4Lsp_SessionStatus
GetSessionStatus retrieves the value of the leaf SessionStatus from the RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SessionStatus is set, it can safely use t.GetSessionStatus() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SessionStatus == nil' before retrieving the leaf's value.
func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) GetSourceAddress ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) GetSourceAddress() string
GetSourceAddress retrieves the value of the leaf SourceAddress from the RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without 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 (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) GetTunnelId ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) GetTunnelId() uint16
GetTunnelId retrieves the value of the leaf TunnelId from the RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TunnelId is set, it can safely use t.GetTunnelId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TunnelId == nil' before retrieving the leaf's value.
func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) GetUpTime ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) GetUpTime() uint32
GetUpTime retrieves the value of the leaf UpTime from the RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if UpTime is set, it can safely use t.GetUpTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.UpTime == nil' before retrieving the leaf's value.
func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) IsYANGGoStruct ¶
func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) IsYANGGoStruct()
IsYANGGoStruct ensures that RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) NewEro ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) NewEro(Index uint64) (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero, error)
NewEro creates a new entry in the Ero list of the RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp struct. The keys of the list are populated from the input arguments.
func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) NewRro ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) NewRro(Index uint8) (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro, error)
NewRro creates a new entry in the Rro list of the RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp struct. The keys of the list are populated from the input arguments.
func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) PopulateDefaults ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp with default values as specified in the YANG schema, instantiating any nil container fields.
func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) SetDestinationAddress ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) SetDestinationAddress(v string)
SetDestinationAddress sets the value of the leaf DestinationAddress in the RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp struct.
func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) SetLabelIn ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) SetLabelIn(v RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_LabelIn_Union)
SetLabelIn sets the value of the leaf LabelIn in the RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp struct.
func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) SetLabelOut ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) SetLabelOut(v RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_LabelOut_Union)
SetLabelOut sets the value of the leaf LabelOut in the RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp struct.
func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) SetLastFlapReason ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) SetLastFlapReason(v E_Ipv4Lsp_LastFlapReason)
SetLastFlapReason sets the value of the leaf LastFlapReason in the RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp struct.
func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) SetLspId ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) SetLspId(v uint16)
SetLspId sets the value of the leaf LspId in the RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp struct.
func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) SetSessionName ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) SetSessionName(v string)
SetSessionName sets the value of the leaf SessionName in the RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp struct.
func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) SetSessionStatus ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) SetSessionStatus(v E_Ipv4Lsp_SessionStatus)
SetSessionStatus sets the value of the leaf SessionStatus in the RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp struct.
func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) SetSourceAddress ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) SetSourceAddress(v string)
SetSourceAddress sets the value of the leaf SourceAddress in the RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp struct.
func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) SetTunnelId ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) SetTunnelId(v uint16)
SetTunnelId sets the value of the leaf TunnelId in the RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp struct.
func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) SetUpTime ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) SetUpTime(v uint32)
SetUpTime sets the value of the leaf UpTime in the RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp struct.
func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) To_RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_LabelIn_Union ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) To_RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_LabelIn_Union(i interface{}) (RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_LabelIn_Union, error)
To_RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_LabelIn_Union takes an input interface{} and attempts to convert it to a struct which implements the RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_LabelIn_Union union. It returns an error if the interface{} supplied cannot be converted to a type within the union.
func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) To_RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_LabelOut_Union ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) To_RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_LabelOut_Union(i interface{}) (RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_LabelOut_Union, error)
To_RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_LabelOut_Union takes an input interface{} and attempts to convert it to a struct which implements the RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_LabelOut_Union union. It returns an error if the interface{} supplied cannot be converted to a type within the union.
func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) Validate ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) ΛBelongingModule ¶
func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp.
func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) ΛEnumTypeMap ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) Λ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 (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) ΛListKeyMap ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp struct, which is a YANG list entry.
func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) ΛValidate ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero ¶
type RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero struct { Asn *uint32 `path:"state/asn" module:"open-traffic-generator-rsvp/open-traffic-generator-rsvp"` Index *uint64 `` /* 181-byte string literal not displayed */ Prefix *string `path:"state/prefix" module:"open-traffic-generator-rsvp/open-traffic-generator-rsvp"` Type E_Ero_Type `path:"state/type" module:"open-traffic-generator-rsvp/open-traffic-generator-rsvp"` }
RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero represents the /open-traffic-generator-rsvp/rsvpte-routers/rsvpte-router/state/label-switched-path-database/lsps/ipv4-lsp/state/ero YANG schema element.
func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero) GetAsn ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero) GetAsn() uint32
GetAsn retrieves the value of the leaf Asn from the RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Asn is set, it can safely use t.GetAsn() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Asn == nil' before retrieving the leaf's value.
func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero) GetIndex ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero) GetIndex() uint64
GetIndex retrieves the value of the leaf Index from the RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without 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 (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero) GetPrefix ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero) GetPrefix() string
GetPrefix retrieves the value of the leaf Prefix from the RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without 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 (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero) GetType ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero) GetType() E_Ero_Type
GetType retrieves the value of the leaf Type from the RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without 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 (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero) IsYANGGoStruct ¶
func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero) IsYANGGoStruct()
IsYANGGoStruct ensures that RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero) PopulateDefaults ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero with default values as specified in the YANG schema, instantiating any nil container fields.
func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero) SetAsn ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero) SetAsn(v uint32)
SetAsn sets the value of the leaf Asn in the RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero struct.
func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero) SetIndex ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero) SetIndex(v uint64)
SetIndex sets the value of the leaf Index in the RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero struct.
func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero) SetPrefix ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero) SetPrefix(v string)
SetPrefix sets the value of the leaf Prefix in the RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero struct.
func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero) SetType ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero) SetType(v E_Ero_Type)
SetType sets the value of the leaf Type in the RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero struct.
func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero) Validate ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero) ΛBelongingModule ¶
func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero.
func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero) ΛEnumTypeMap ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero) Λ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 (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero) ΛListKeyMap ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero struct, which is a YANG list entry.
func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero) ΛValidate ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Ero) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Key ¶
type RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Key struct { SourceAddress string `path:"source-address"` DestinationAddress string `path:"destination-address"` TunnelId uint16 `path:"tunnel-id"` LspId uint16 `path:"lsp-id"` }
RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Key represents the key for list Ipv4Lsp of element /open-traffic-generator-rsvp/rsvpte-routers/rsvpte-router/state/label-switched-path-database.
func (RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Key) IsYANGGoKeyStruct ¶
func (RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Key) IsYANGGoKeyStruct()
IsYANGGoKeyStruct ensures that RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Key partially implements the yang.GoKeyStruct interface. This allows functions that need to handle this key struct to identify it as being generated by gogen.
func (RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Key) ΛListKeyMap ¶
func (t RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Key) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the values of the RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Key key struct.
type RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_LabelIn_Union ¶
type RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_LabelIn_Union interface {
// Union type can be one of [E_Ipv4Lsp_LabelIn, UnionUint32]
Documentation_for_RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_LabelIn_Union()
}
RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_LabelIn_Union is an interface that is implemented by valid types for the union for the leaf /open-traffic-generator-rsvp/rsvpte-routers/rsvpte-router/state/label-switched-path-database/lsps/ipv4-lsp/state/label-in within the YANG schema. Union type can be one of [E_Ipv4Lsp_LabelIn, UnionUint32].
type RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_LabelOut_Union ¶
type RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_LabelOut_Union interface {
// Union type can be one of [E_Ipv4Lsp_LabelOut, UnionUint32]
Documentation_for_RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_LabelOut_Union()
}
RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_LabelOut_Union is an interface that is implemented by valid types for the union for the leaf /open-traffic-generator-rsvp/rsvpte-routers/rsvpte-router/state/label-switched-path-database/lsps/ipv4-lsp/state/label-out within the YANG schema. Union type can be one of [E_Ipv4Lsp_LabelOut, UnionUint32].
type RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro ¶
type RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro struct { Address *string `path:"state/address" module:"open-traffic-generator-rsvp/open-traffic-generator-rsvp"` Index *uint8 `` /* 181-byte string literal not displayed */ ReportedLabel RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro_ReportedLabel_Union `path:"state/reported-label" module:"open-traffic-generator-rsvp/open-traffic-generator-rsvp"` }
RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro represents the /open-traffic-generator-rsvp/rsvpte-routers/rsvpte-router/state/label-switched-path-database/lsps/ipv4-lsp/state/rro YANG schema element.
func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro) GetAddress ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro) GetAddress() string
GetAddress retrieves the value of the leaf Address from the RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Address is set, it can safely use t.GetAddress() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Address == nil' before retrieving the leaf's value.
func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro) GetIndex ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro) GetIndex() uint8
GetIndex retrieves the value of the leaf Index from the RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without 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 (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro) GetReportedLabel ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro) GetReportedLabel() RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro_ReportedLabel_Union
GetReportedLabel retrieves the value of the leaf ReportedLabel from the RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ReportedLabel is set, it can safely use t.GetReportedLabel() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ReportedLabel == nil' before retrieving the leaf's value.
func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro) IsYANGGoStruct ¶
func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro) IsYANGGoStruct()
IsYANGGoStruct ensures that RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro) PopulateDefaults ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro with default values as specified in the YANG schema, instantiating any nil container fields.
func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro) SetAddress ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro) SetAddress(v string)
SetAddress sets the value of the leaf Address in the RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro struct.
func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro) SetIndex ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro) SetIndex(v uint8)
SetIndex sets the value of the leaf Index in the RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro struct.
func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro) SetReportedLabel ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro) SetReportedLabel(v RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro_ReportedLabel_Union)
SetReportedLabel sets the value of the leaf ReportedLabel in the RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro struct.
func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro) To_RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro_ReportedLabel_Union ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro) To_RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro_ReportedLabel_Union(i interface{}) (RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro_ReportedLabel_Union, error)
To_RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro_ReportedLabel_Union takes an input interface{} and attempts to convert it to a struct which implements the RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro_ReportedLabel_Union union. It returns an error if the interface{} supplied cannot be converted to a type within the union.
func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro) Validate ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro) ΛBelongingModule ¶
func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro.
func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro) ΛEnumTypeMap ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro) Λ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 (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro) ΛListKeyMap ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro struct, which is a YANG list entry.
func (*RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro) ΛValidate ¶
func (t *RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro_ReportedLabel_Union ¶
type RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro_ReportedLabel_Union interface {
// Union type can be one of [E_Rro_ReportedLabel, UnionUint32]
Documentation_for_RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro_ReportedLabel_Union()
}
RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro_ReportedLabel_Union is an interface that is implemented by valid types for the union for the leaf /open-traffic-generator-rsvp/rsvpte-routers/rsvpte-router/state/label-switched-path-database/lsps/ipv4-lsp/state/rro/state/reported-label within the YANG schema. Union type can be one of [E_Rro_ReportedLabel, UnionUint32].
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.
type UnionUint16 ¶
type UnionUint16 uint16
UnionUint16 is a uint16 type assignable to unions of which it is a subtype.
type UnionUint32 ¶
type UnionUint32 uint32
UnionUint32 is a uint32 type assignable to unions of which it is a subtype.
func (UnionUint32) Documentation_for_RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_LabelIn_Union ¶
func (UnionUint32) Documentation_for_RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_LabelIn_Union()
Documentation_for_RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_LabelIn_Union ensures that UnionUint32 implements the RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_LabelIn_Union interface.
func (UnionUint32) Documentation_for_RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_LabelOut_Union ¶
func (UnionUint32) Documentation_for_RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_LabelOut_Union()
Documentation_for_RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_LabelOut_Union ensures that UnionUint32 implements the RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_LabelOut_Union interface.
func (UnionUint32) Documentation_for_RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro_ReportedLabel_Union ¶
func (UnionUint32) Documentation_for_RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro_ReportedLabel_Union()
Documentation_for_RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro_ReportedLabel_Union ensures that UnionUint32 implements the RsvpteRouter_LabelSwitchedPathDatabase_Ipv4Lsp_Rro_ReportedLabel_Union interface.
type UnionUint64 ¶
type UnionUint64 uint64
UnionUint64 is a uint64 type assignable to unions of which it is a subtype.
type UnionUint8 ¶
type UnionUint8 uint8
UnionUint8 is a uint8 type assignable to unions of which it is a subtype.
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.
Directories ¶
Path | Synopsis |
---|---|
Package bgp is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema.
|
Package bgp is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema. |
Package discovery is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema.
|
Package discovery is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema. |
Package flow is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema.
|
Package flow is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema. |
Package isis is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema.
|
Package isis is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema. |
Package lacp is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema.
|
Package lacp is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema. |
Package lag is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema.
|
Package lag is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema. |
Package lldp is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema.
|
Package lldp is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema. |
Package otgpath is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema.
|
Package otgpath is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema. |
Package port is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema.
|
Package port is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema. |
Package rsvp is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema.
|
Package rsvp is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema. |