Documentation ¶
Overview ¶
Package uexampleoc 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 false in this case).
NOTE WELL: This is an example code file that is distributed with ygot. It should not be used within your application, as it WILL change, without warning. Rather, you should generate structs directly from OpenConfig models using the ygot package.
This package was generated by github.com/openconfig/ygot using the following YANG input files:
- public/release/models/system/openconfig-system.yang
- public/release/models/platform/openconfig-platform.yang
- public/release/models/optical-transport/openconfig-terminal-device.yang
Imported modules were sourced from:
- public/...
- deps/...
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 Binary
- type Device
- func (t *Device) GetComponents() *OpenconfigPlatform_Components
- func (t *Device) GetInterfaces() *OpenconfigInterfaces_Interfaces
- func (t *Device) GetLldp() *OpenconfigLldp_Lldp
- func (t *Device) GetOrCreateComponents() *OpenconfigPlatform_Components
- func (t *Device) GetOrCreateInterfaces() *OpenconfigInterfaces_Interfaces
- func (t *Device) GetOrCreateLldp() *OpenconfigLldp_Lldp
- func (t *Device) GetOrCreateSystem() *OpenconfigSystem_System
- func (t *Device) GetOrCreateTerminalDevice() *OpenconfigTerminalDevice_TerminalDevice
- func (t *Device) GetSystem() *OpenconfigSystem_System
- func (t *Device) GetTerminalDevice() *OpenconfigTerminalDevice_TerminalDevice
- func (*Device) IsYANGGoStruct()
- func (t *Device) Validate(opts ...ygot.ValidationOption) error
- func (t *Device) ΛEnumTypeMap() map[string][]reflect.Type
- type E_IETFInterfaces_InterfaceType
- type E_OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE
- type E_OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE
- type E_OpenconfigAaaTypes_AAA_METHOD_TYPE
- type E_OpenconfigAaaTypes_AAA_SERVER_TYPE
- type E_OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES
- type E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY
- type E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID
- type E_OpenconfigIfEthernet_ETHERNET_SPEED
- type E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientAls
- type E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientFec
- type E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_DuplexMode
- type E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_NegotiatedDuplexMode
- type E_OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus
- type E_OpenconfigInterfaces_Interfaces_Interface_State_OperStatus
- type E_OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY
- type E_OpenconfigLldpTypes_LLDP_TLV
- type E_OpenconfigLldp_ChassisIdType
- type E_OpenconfigLldp_PortIdType
- type E_OpenconfigPlatformTypes_COMPONENT_OPER_STATUS
- type E_OpenconfigPlatformTypes_FEC_MODE_TYPE
- type E_OpenconfigPlatformTypes_FEC_STATUS_TYPE
- type E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT
- type E_OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT
- type E_OpenconfigPlatform_Components_Component_Transceiver_State_Present
- type E_OpenconfigSystemLogging_SYSLOG_FACILITY
- type E_OpenconfigSystemLogging_SyslogSeverity
- type E_OpenconfigSystem_NTP_AUTH_TYPE
- type E_OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config_Record
- type E_OpenconfigSystem_System_Cpus_Cpu_State_Index
- type E_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses
- type E_OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType
- type E_OpenconfigSystem_System_SshServer_Config_ProtocolVersion
- type E_OpenconfigTerminalDevice_AdminStateType
- type E_OpenconfigTerminalDevice_LoopbackModeType
- type E_OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config_AssignmentType
- func (E_OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config_AssignmentType) IsYANGGoEnum()
- func (E_OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config_AssignmentType) ΛMap() map[string]map[int64]ygot.EnumDefinition
- type E_OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State_LinkState
- type E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE
- type E_OpenconfigTransportTypes_FIBER_CONNECTOR_TYPE
- type E_OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL
- type E_OpenconfigTransportTypes_LOGICAL_ELEMENT_PROTOCOL_TYPE
- type E_OpenconfigTransportTypes_OTN_APPLICATION_CODE
- type E_OpenconfigTransportTypes_SONET_APPLICATION_CODE
- type E_OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE
- type E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE
- type E_OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE
- type E_OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY
- type OpenconfigInterfaces_Interfaces
- func (t *OpenconfigInterfaces_Interfaces) AppendInterface(v *OpenconfigInterfaces_Interfaces_Interface) error
- func (t *OpenconfigInterfaces_Interfaces) GetInterface(Name string) *OpenconfigInterfaces_Interfaces_Interface
- func (t *OpenconfigInterfaces_Interfaces) GetOrCreateInterface(Name string) *OpenconfigInterfaces_Interfaces_Interface
- func (*OpenconfigInterfaces_Interfaces) IsYANGGoStruct()
- func (t *OpenconfigInterfaces_Interfaces) NewInterface(Name string) (*OpenconfigInterfaces_Interfaces_Interface, error)
- func (t *OpenconfigInterfaces_Interfaces) RenameInterface(oldK, newK string) error
- func (t *OpenconfigInterfaces_Interfaces) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigInterfaces_Interfaces) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigInterfaces_Interfaces_Interface
- func (t *OpenconfigInterfaces_Interfaces_Interface) GetConfig() *OpenconfigInterfaces_Interfaces_Interface_Config
- func (t *OpenconfigInterfaces_Interfaces_Interface) GetEthernet() *OpenconfigInterfaces_Interfaces_Interface_Ethernet
- func (t *OpenconfigInterfaces_Interfaces_Interface) GetHoldTime() *OpenconfigInterfaces_Interfaces_Interface_HoldTime
- func (t *OpenconfigInterfaces_Interfaces_Interface) GetName() string
- func (t *OpenconfigInterfaces_Interfaces_Interface) GetOrCreateConfig() *OpenconfigInterfaces_Interfaces_Interface_Config
- func (t *OpenconfigInterfaces_Interfaces_Interface) GetOrCreateEthernet() *OpenconfigInterfaces_Interfaces_Interface_Ethernet
- func (t *OpenconfigInterfaces_Interfaces_Interface) GetOrCreateHoldTime() *OpenconfigInterfaces_Interfaces_Interface_HoldTime
- func (t *OpenconfigInterfaces_Interfaces_Interface) GetOrCreateState() *OpenconfigInterfaces_Interfaces_Interface_State
- func (t *OpenconfigInterfaces_Interfaces_Interface) GetOrCreateSubinterfaces() *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces
- func (t *OpenconfigInterfaces_Interfaces_Interface) GetState() *OpenconfigInterfaces_Interfaces_Interface_State
- func (t *OpenconfigInterfaces_Interfaces_Interface) GetSubinterfaces() *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces
- func (*OpenconfigInterfaces_Interfaces_Interface) IsYANGGoStruct()
- func (t *OpenconfigInterfaces_Interfaces_Interface) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigInterfaces_Interfaces_Interface) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigInterfaces_Interfaces_Interface) ΛListKeyMap() (map[string]interface{}, error)
- type OpenconfigInterfaces_Interfaces_Interface_Config
- func (t *OpenconfigInterfaces_Interfaces_Interface_Config) GetDescription() string
- func (t *OpenconfigInterfaces_Interfaces_Interface_Config) GetEnabled() bool
- func (t *OpenconfigInterfaces_Interfaces_Interface_Config) GetLoopbackMode() bool
- func (t *OpenconfigInterfaces_Interfaces_Interface_Config) GetMtu() uint16
- func (t *OpenconfigInterfaces_Interfaces_Interface_Config) GetName() string
- func (t *OpenconfigInterfaces_Interfaces_Interface_Config) GetType() E_IETFInterfaces_InterfaceType
- func (*OpenconfigInterfaces_Interfaces_Interface_Config) IsYANGGoStruct()
- func (t *OpenconfigInterfaces_Interfaces_Interface_Config) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigInterfaces_Interfaces_Interface_Config) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigInterfaces_Interfaces_Interface_Ethernet
- func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet) GetConfig() *OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config
- func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet) GetOrCreateConfig() *OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config
- func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet) GetOrCreateState() *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State
- func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet) GetState() *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State
- func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet) IsYANGGoStruct()
- func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config
- func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config) GetAlsDelay() uint32
- func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config) GetAutoNegotiate() bool
- func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config) GetClientAls() E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientAls
- func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config) GetClientFec() E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientFec
- func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config) GetDuplexMode() E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_DuplexMode
- func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config) GetEnableFlowControl() bool
- func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config) GetMacAddress() string
- func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config) GetPortSpeed() E_OpenconfigIfEthernet_ETHERNET_SPEED
- func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config) IsYANGGoStruct()
- func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigInterfaces_Interfaces_Interface_Ethernet_State
- func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State) GetAutoNegotiate() bool
- func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State) GetCounters() *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters
- func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State) GetDuplexMode() E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_DuplexMode
- func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State) GetEnableFlowControl() bool
- func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State) GetHwMacAddress() string
- func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State) GetMacAddress() string
- func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State) GetNegotiatedDuplexMode() ...
- func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State) GetNegotiatedPortSpeed() E_OpenconfigIfEthernet_ETHERNET_SPEED
- func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State) GetOrCreateCounters() *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters
- func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State) GetPortSpeed() E_OpenconfigIfEthernet_ETHERNET_SPEED
- func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_State) IsYANGGoStruct()
- func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters
- func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters) GetInBlockErrors() uint64
- func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters) GetInCrcErrors() uint64
- func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters) GetInFragmentFrames() uint64
- func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters) GetInJabberFrames() uint64
- func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters) GetInMacControlFrames() uint64
- func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters) GetInMacPauseFrames() uint64
- func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters) GetInOversizeFrames() uint64
- func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters) GetInUndersizeFrames() uint64
- func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters) GetIn_8021QFrames() uint64
- func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters) GetOutMacControlFrames() uint64
- func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters) GetOutMacPauseFrames() uint64
- func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters) GetOut_8021QFrames() uint64
- func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters) IsYANGGoStruct()
- func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigInterfaces_Interfaces_Interface_HoldTime
- func (t *OpenconfigInterfaces_Interfaces_Interface_HoldTime) GetConfig() *OpenconfigInterfaces_Interfaces_Interface_HoldTime_Config
- func (t *OpenconfigInterfaces_Interfaces_Interface_HoldTime) GetOrCreateConfig() *OpenconfigInterfaces_Interfaces_Interface_HoldTime_Config
- func (t *OpenconfigInterfaces_Interfaces_Interface_HoldTime) GetOrCreateState() *OpenconfigInterfaces_Interfaces_Interface_HoldTime_State
- func (t *OpenconfigInterfaces_Interfaces_Interface_HoldTime) GetState() *OpenconfigInterfaces_Interfaces_Interface_HoldTime_State
- func (*OpenconfigInterfaces_Interfaces_Interface_HoldTime) IsYANGGoStruct()
- func (t *OpenconfigInterfaces_Interfaces_Interface_HoldTime) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigInterfaces_Interfaces_Interface_HoldTime) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigInterfaces_Interfaces_Interface_HoldTime_Config
- func (t *OpenconfigInterfaces_Interfaces_Interface_HoldTime_Config) GetDown() uint32
- func (t *OpenconfigInterfaces_Interfaces_Interface_HoldTime_Config) GetUp() uint32
- func (*OpenconfigInterfaces_Interfaces_Interface_HoldTime_Config) IsYANGGoStruct()
- func (t *OpenconfigInterfaces_Interfaces_Interface_HoldTime_Config) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigInterfaces_Interfaces_Interface_HoldTime_Config) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigInterfaces_Interfaces_Interface_HoldTime_State
- func (t *OpenconfigInterfaces_Interfaces_Interface_HoldTime_State) GetDown() uint32
- func (t *OpenconfigInterfaces_Interfaces_Interface_HoldTime_State) GetUp() uint32
- func (*OpenconfigInterfaces_Interfaces_Interface_HoldTime_State) IsYANGGoStruct()
- func (t *OpenconfigInterfaces_Interfaces_Interface_HoldTime_State) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigInterfaces_Interfaces_Interface_HoldTime_State) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigInterfaces_Interfaces_Interface_State
- func (t *OpenconfigInterfaces_Interfaces_Interface_State) GetAdminStatus() E_OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus
- func (t *OpenconfigInterfaces_Interfaces_Interface_State) GetCounters() *OpenconfigInterfaces_Interfaces_Interface_State_Counters
- func (t *OpenconfigInterfaces_Interfaces_Interface_State) GetDescription() string
- func (t *OpenconfigInterfaces_Interfaces_Interface_State) GetEnabled() bool
- func (t *OpenconfigInterfaces_Interfaces_Interface_State) GetHardwarePort() string
- func (t *OpenconfigInterfaces_Interfaces_Interface_State) GetIfindex() uint32
- func (t *OpenconfigInterfaces_Interfaces_Interface_State) GetLastChange() uint64
- func (t *OpenconfigInterfaces_Interfaces_Interface_State) GetLogical() bool
- func (t *OpenconfigInterfaces_Interfaces_Interface_State) GetLoopbackMode() bool
- func (t *OpenconfigInterfaces_Interfaces_Interface_State) GetMtu() uint16
- func (t *OpenconfigInterfaces_Interfaces_Interface_State) GetName() string
- func (t *OpenconfigInterfaces_Interfaces_Interface_State) GetOperStatus() E_OpenconfigInterfaces_Interfaces_Interface_State_OperStatus
- func (t *OpenconfigInterfaces_Interfaces_Interface_State) GetOrCreateCounters() *OpenconfigInterfaces_Interfaces_Interface_State_Counters
- func (t *OpenconfigInterfaces_Interfaces_Interface_State) GetPhysicalChannel() []uint16
- func (t *OpenconfigInterfaces_Interfaces_Interface_State) GetTransceiver() string
- func (t *OpenconfigInterfaces_Interfaces_Interface_State) GetType() E_IETFInterfaces_InterfaceType
- func (*OpenconfigInterfaces_Interfaces_Interface_State) IsYANGGoStruct()
- func (t *OpenconfigInterfaces_Interfaces_Interface_State) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigInterfaces_Interfaces_Interface_State) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigInterfaces_Interfaces_Interface_State_Counters
- func (t *OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetCarrierTransitions() uint64
- func (t *OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetInBroadcastPkts() uint64
- func (t *OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetInDiscards() uint64
- func (t *OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetInErrors() uint64
- func (t *OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetInFcsErrors() uint64
- func (t *OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetInMulticastPkts() uint64
- func (t *OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetInOctets() uint64
- func (t *OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetInPkts() uint64
- func (t *OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetInUnicastPkts() uint64
- func (t *OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetInUnknownProtos() uint64
- func (t *OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetLastClear() uint64
- func (t *OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetOutBroadcastPkts() uint64
- func (t *OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetOutDiscards() uint64
- func (t *OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetOutErrors() uint64
- func (t *OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetOutMulticastPkts() uint64
- func (t *OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetOutOctets() uint64
- func (t *OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetOutPkts() uint64
- func (t *OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetOutUnicastPkts() uint64
- func (*OpenconfigInterfaces_Interfaces_Interface_State_Counters) IsYANGGoStruct()
- func (t *OpenconfigInterfaces_Interfaces_Interface_State_Counters) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigInterfaces_Interfaces_Interface_State_Counters) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigInterfaces_Interfaces_Interface_Subinterfaces
- func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces) AppendSubinterface(v *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface) error
- func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces) GetOrCreateSubinterface(Index uint32) *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface
- func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces) GetSubinterface(Index uint32) *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface
- func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces) IsYANGGoStruct()
- func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces) NewSubinterface(Index uint32) (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface, error)
- func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces) RenameSubinterface(oldK, newK uint32) error
- func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface
- func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface) GetConfig() *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_Config
- func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface) GetIndex() uint32
- func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface) GetOrCreateConfig() *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_Config
- func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface) GetOrCreateState() *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State
- func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface) GetState() *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State
- func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface) IsYANGGoStruct()
- func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface) ΛListKeyMap() (map[string]interface{}, error)
- type OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_Config
- func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_Config) GetDescription() string
- func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_Config) GetEnabled() bool
- func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_Config) GetIndex() uint32
- func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_Config) IsYANGGoStruct()
- func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_Config) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_Config) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State
- func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State) GetAdminStatus() E_OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus
- func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State) GetCounters() ...
- func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State) GetDescription() string
- func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State) GetEnabled() bool
- func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State) GetIfindex() uint32
- func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State) GetIndex() uint32
- func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State) GetLastChange() uint64
- func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State) GetLogical() bool
- func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State) GetName() string
- func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State) GetOperStatus() E_OpenconfigInterfaces_Interfaces_Interface_State_OperStatus
- func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State) GetOrCreateCounters() ...
- func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State) IsYANGGoStruct()
- func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters
- func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetCarrierTransitions() uint64
- func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetInBroadcastPkts() uint64
- func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetInDiscards() uint64
- func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetInErrors() uint64
- func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetInFcsErrors() uint64
- func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetInMulticastPkts() uint64
- func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetInOctets() uint64
- func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetInPkts() uint64
- func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetInUnicastPkts() uint64
- func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetInUnknownProtos() uint64
- func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetLastClear() uint64
- func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetOutBroadcastPkts() uint64
- func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetOutDiscards() uint64
- func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetOutErrors() uint64
- func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetOutMulticastPkts() uint64
- func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetOutOctets() uint64
- func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetOutPkts() uint64
- func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetOutUnicastPkts() uint64
- func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) IsYANGGoStruct()
- func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigLldp_Lldp
- func (t *OpenconfigLldp_Lldp) GetConfig() *OpenconfigLldp_Lldp_Config
- func (t *OpenconfigLldp_Lldp) GetInterfaces() *OpenconfigLldp_Lldp_Interfaces
- func (t *OpenconfigLldp_Lldp) GetOrCreateConfig() *OpenconfigLldp_Lldp_Config
- func (t *OpenconfigLldp_Lldp) GetOrCreateInterfaces() *OpenconfigLldp_Lldp_Interfaces
- func (t *OpenconfigLldp_Lldp) GetOrCreateState() *OpenconfigLldp_Lldp_State
- func (t *OpenconfigLldp_Lldp) GetState() *OpenconfigLldp_Lldp_State
- func (*OpenconfigLldp_Lldp) IsYANGGoStruct()
- func (t *OpenconfigLldp_Lldp) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigLldp_Lldp) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigLldp_Lldp_Config
- func (t *OpenconfigLldp_Lldp_Config) GetChassisId() string
- func (t *OpenconfigLldp_Lldp_Config) GetChassisIdType() E_OpenconfigLldp_ChassisIdType
- func (t *OpenconfigLldp_Lldp_Config) GetEnabled() bool
- func (t *OpenconfigLldp_Lldp_Config) GetHelloTimer() uint64
- func (t *OpenconfigLldp_Lldp_Config) GetSuppressTlvAdvertisement() []E_OpenconfigLldpTypes_LLDP_TLV
- func (t *OpenconfigLldp_Lldp_Config) GetSystemDescription() string
- func (t *OpenconfigLldp_Lldp_Config) GetSystemName() string
- func (*OpenconfigLldp_Lldp_Config) IsYANGGoStruct()
- func (t *OpenconfigLldp_Lldp_Config) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigLldp_Lldp_Config) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigLldp_Lldp_Interfaces
- func (t *OpenconfigLldp_Lldp_Interfaces) AppendInterface(v *OpenconfigLldp_Lldp_Interfaces_Interface) error
- func (t *OpenconfigLldp_Lldp_Interfaces) GetInterface(Name string) *OpenconfigLldp_Lldp_Interfaces_Interface
- func (t *OpenconfigLldp_Lldp_Interfaces) GetOrCreateInterface(Name string) *OpenconfigLldp_Lldp_Interfaces_Interface
- func (*OpenconfigLldp_Lldp_Interfaces) IsYANGGoStruct()
- func (t *OpenconfigLldp_Lldp_Interfaces) NewInterface(Name string) (*OpenconfigLldp_Lldp_Interfaces_Interface, error)
- func (t *OpenconfigLldp_Lldp_Interfaces) RenameInterface(oldK, newK string) error
- func (t *OpenconfigLldp_Lldp_Interfaces) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigLldp_Lldp_Interfaces) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigLldp_Lldp_Interfaces_Interface
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface) GetConfig() *OpenconfigLldp_Lldp_Interfaces_Interface_Config
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface) GetName() string
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface) GetNeighbors() *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface) GetOrCreateConfig() *OpenconfigLldp_Lldp_Interfaces_Interface_Config
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface) GetOrCreateNeighbors() *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface) GetOrCreateState() *OpenconfigLldp_Lldp_Interfaces_Interface_State
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface) GetState() *OpenconfigLldp_Lldp_Interfaces_Interface_State
- func (*OpenconfigLldp_Lldp_Interfaces_Interface) IsYANGGoStruct()
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface) ΛListKeyMap() (map[string]interface{}, error)
- type OpenconfigLldp_Lldp_Interfaces_Interface_Config
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Config) GetEnabled() bool
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Config) GetName() string
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Config) GetSnooping() bool
- func (*OpenconfigLldp_Lldp_Interfaces_Interface_Config) IsYANGGoStruct()
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Config) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Config) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors) AppendNeighbor(v *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor) error
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors) GetNeighbor(Id string) *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors) GetOrCreateNeighbor(Id string) *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor
- func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors) IsYANGGoStruct()
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors) NewNeighbor(Id string) (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor, error)
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors) RenameNeighbor(oldK, newK string) error
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor) GetCapabilities() *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor) GetConfig() *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Config
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor) GetCustomTlvs() *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor) GetId() string
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor) GetOrCreateCapabilities() *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor) GetOrCreateConfig() *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Config
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor) GetOrCreateCustomTlvs() *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor) GetOrCreateState() *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor) GetState() *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State
- func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor) IsYANGGoStruct()
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor) ΛListKeyMap() (map[string]interface{}, error)
- type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities) AppendCapability(...) error
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities) GetCapability(Name E_OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY) ...
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities) GetOrCreateCapability(Name E_OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY) ...
- func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities) IsYANGGoStruct()
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities) NewCapability(Name E_OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY) (...)
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities) RenameCapability(oldK, newK E_OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY) error
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability) GetConfig() ...
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability) GetName() E_OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability) GetOrCreateConfig() ...
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability) GetOrCreateState() ...
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability) GetState() ...
- func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability) IsYANGGoStruct()
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability) ΛListKeyMap() (map[string]interface{}, error)
- type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability_Config
- func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability_Config) IsYANGGoStruct()
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability_Config) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability_Config) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability_State
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability_State) GetEnabled() bool
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability_State) GetName() E_OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY
- func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability_State) IsYANGGoStruct()
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability_State) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability_State) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Config
- func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Config) IsYANGGoStruct()
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Config) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Config) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs) AppendTlv(v *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv) error
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs) GetOrCreateTlv(Type int32, Oui string, OuiSubtype string) *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs) GetTlv(Type int32, Oui string, OuiSubtype string) *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv
- func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs) IsYANGGoStruct()
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs) NewTlv(Type int32, Oui string, OuiSubtype string) (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv, ...)
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs) RenameTlv(...) error
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv) GetConfig() ...
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv) GetOrCreateConfig() ...
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv) GetOrCreateState() ...
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv) GetOui() string
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv) GetOuiSubtype() string
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv) GetState() ...
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv) GetType() int32
- func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv) IsYANGGoStruct()
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv) ΛListKeyMap() (map[string]interface{}, error)
- type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_Config
- func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_Config) IsYANGGoStruct()
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_Config) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_Config) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_Key
- type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_State
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_State) GetOui() string
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_State) GetOuiSubtype() string
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_State) GetType() int32
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_State) GetValue() Binary
- func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_State) IsYANGGoStruct()
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_State) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_State) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) GetAge() uint64
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) GetChassisId() string
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) GetChassisIdType() E_OpenconfigLldp_ChassisIdType
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) GetId() string
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) GetLastUpdate() int64
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) GetManagementAddress() string
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) GetManagementAddressType() string
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) GetPortDescription() string
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) GetPortId() string
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) GetPortIdType() E_OpenconfigLldp_PortIdType
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) GetSystemDescription() string
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) GetSystemName() string
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) GetTtl() uint16
- func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) IsYANGGoStruct()
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigLldp_Lldp_Interfaces_Interface_State
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_State) GetCounters() *OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_State) GetEnabled() bool
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_State) GetName() string
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_State) GetOrCreateCounters() *OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters
- func (*OpenconfigLldp_Lldp_Interfaces_Interface_State) IsYANGGoStruct()
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_State) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_State) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters) GetFrameDiscard() uint64
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters) GetFrameErrorIn() uint64
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters) GetFrameErrorOut() uint64
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters) GetFrameIn() uint64
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters) GetFrameOut() uint64
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters) GetLastClear() string
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters) GetTlvDiscard() uint64
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters) GetTlvUnknown() uint64
- func (*OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters) IsYANGGoStruct()
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigLldp_Lldp_State
- func (t *OpenconfigLldp_Lldp_State) GetChassisId() string
- func (t *OpenconfigLldp_Lldp_State) GetChassisIdType() E_OpenconfigLldp_ChassisIdType
- func (t *OpenconfigLldp_Lldp_State) GetCounters() *OpenconfigLldp_Lldp_State_Counters
- func (t *OpenconfigLldp_Lldp_State) GetEnabled() bool
- func (t *OpenconfigLldp_Lldp_State) GetHelloTimer() uint64
- func (t *OpenconfigLldp_Lldp_State) GetOrCreateCounters() *OpenconfigLldp_Lldp_State_Counters
- func (t *OpenconfigLldp_Lldp_State) GetSuppressTlvAdvertisement() []E_OpenconfigLldpTypes_LLDP_TLV
- func (t *OpenconfigLldp_Lldp_State) GetSystemDescription() string
- func (t *OpenconfigLldp_Lldp_State) GetSystemName() string
- func (*OpenconfigLldp_Lldp_State) IsYANGGoStruct()
- func (t *OpenconfigLldp_Lldp_State) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigLldp_Lldp_State) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigLldp_Lldp_State_Counters
- func (t *OpenconfigLldp_Lldp_State_Counters) GetEntriesAgedOut() uint64
- func (t *OpenconfigLldp_Lldp_State_Counters) GetFrameDiscard() uint64
- func (t *OpenconfigLldp_Lldp_State_Counters) GetFrameErrorIn() uint64
- func (t *OpenconfigLldp_Lldp_State_Counters) GetFrameIn() uint64
- func (t *OpenconfigLldp_Lldp_State_Counters) GetFrameOut() uint64
- func (t *OpenconfigLldp_Lldp_State_Counters) GetLastClear() string
- func (t *OpenconfigLldp_Lldp_State_Counters) GetTlvAccepted() uint64
- func (t *OpenconfigLldp_Lldp_State_Counters) GetTlvDiscard() uint64
- func (t *OpenconfigLldp_Lldp_State_Counters) GetTlvUnknown() uint64
- func (*OpenconfigLldp_Lldp_State_Counters) IsYANGGoStruct()
- func (t *OpenconfigLldp_Lldp_State_Counters) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigLldp_Lldp_State_Counters) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigPlatform_Components
- func (t *OpenconfigPlatform_Components) AppendComponent(v *OpenconfigPlatform_Components_Component) error
- func (t *OpenconfigPlatform_Components) GetComponent(Name string) *OpenconfigPlatform_Components_Component
- func (t *OpenconfigPlatform_Components) GetOrCreateComponent(Name string) *OpenconfigPlatform_Components_Component
- func (*OpenconfigPlatform_Components) IsYANGGoStruct()
- func (t *OpenconfigPlatform_Components) NewComponent(Name string) (*OpenconfigPlatform_Components_Component, error)
- func (t *OpenconfigPlatform_Components) RenameComponent(oldK, newK string) error
- func (t *OpenconfigPlatform_Components) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigPlatform_Components) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigPlatform_Components_Component
- func (t *OpenconfigPlatform_Components_Component) GetBackplane() *OpenconfigPlatform_Components_Component_Backplane
- func (t *OpenconfigPlatform_Components_Component) GetChassis() *OpenconfigPlatform_Components_Component_Chassis
- func (t *OpenconfigPlatform_Components_Component) GetConfig() *OpenconfigPlatform_Components_Component_Config
- func (t *OpenconfigPlatform_Components_Component) GetCpu() *OpenconfigPlatform_Components_Component_Cpu
- func (t *OpenconfigPlatform_Components_Component) GetFabric() *OpenconfigPlatform_Components_Component_Fabric
- func (t *OpenconfigPlatform_Components_Component) GetFan() *OpenconfigPlatform_Components_Component_Fan
- func (t *OpenconfigPlatform_Components_Component) GetIntegratedCircuit() *OpenconfigPlatform_Components_Component_IntegratedCircuit
- func (t *OpenconfigPlatform_Components_Component) GetName() string
- func (t *OpenconfigPlatform_Components_Component) GetOpticalChannel() *OpenconfigPlatform_Components_Component_OpticalChannel
- func (t *OpenconfigPlatform_Components_Component) GetOrCreateBackplane() *OpenconfigPlatform_Components_Component_Backplane
- func (t *OpenconfigPlatform_Components_Component) GetOrCreateChassis() *OpenconfigPlatform_Components_Component_Chassis
- func (t *OpenconfigPlatform_Components_Component) GetOrCreateConfig() *OpenconfigPlatform_Components_Component_Config
- func (t *OpenconfigPlatform_Components_Component) GetOrCreateCpu() *OpenconfigPlatform_Components_Component_Cpu
- func (t *OpenconfigPlatform_Components_Component) GetOrCreateFabric() *OpenconfigPlatform_Components_Component_Fabric
- func (t *OpenconfigPlatform_Components_Component) GetOrCreateFan() *OpenconfigPlatform_Components_Component_Fan
- func (t *OpenconfigPlatform_Components_Component) GetOrCreateIntegratedCircuit() *OpenconfigPlatform_Components_Component_IntegratedCircuit
- func (t *OpenconfigPlatform_Components_Component) GetOrCreateOpticalChannel() *OpenconfigPlatform_Components_Component_OpticalChannel
- func (t *OpenconfigPlatform_Components_Component) GetOrCreatePort() *OpenconfigPlatform_Components_Component_Port
- func (t *OpenconfigPlatform_Components_Component) GetOrCreatePowerSupply() *OpenconfigPlatform_Components_Component_PowerSupply
- func (t *OpenconfigPlatform_Components_Component) GetOrCreateProperties() *OpenconfigPlatform_Components_Component_Properties
- func (t *OpenconfigPlatform_Components_Component) GetOrCreateState() *OpenconfigPlatform_Components_Component_State
- func (t *OpenconfigPlatform_Components_Component) GetOrCreateStorage() *OpenconfigPlatform_Components_Component_Storage
- func (t *OpenconfigPlatform_Components_Component) GetOrCreateSubcomponents() *OpenconfigPlatform_Components_Component_Subcomponents
- func (t *OpenconfigPlatform_Components_Component) GetOrCreateTransceiver() *OpenconfigPlatform_Components_Component_Transceiver
- func (t *OpenconfigPlatform_Components_Component) GetPort() *OpenconfigPlatform_Components_Component_Port
- func (t *OpenconfigPlatform_Components_Component) GetPowerSupply() *OpenconfigPlatform_Components_Component_PowerSupply
- func (t *OpenconfigPlatform_Components_Component) GetProperties() *OpenconfigPlatform_Components_Component_Properties
- func (t *OpenconfigPlatform_Components_Component) GetState() *OpenconfigPlatform_Components_Component_State
- func (t *OpenconfigPlatform_Components_Component) GetStorage() *OpenconfigPlatform_Components_Component_Storage
- func (t *OpenconfigPlatform_Components_Component) GetSubcomponents() *OpenconfigPlatform_Components_Component_Subcomponents
- func (t *OpenconfigPlatform_Components_Component) GetTransceiver() *OpenconfigPlatform_Components_Component_Transceiver
- func (*OpenconfigPlatform_Components_Component) IsYANGGoStruct()
- func (t *OpenconfigPlatform_Components_Component) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigPlatform_Components_Component) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigPlatform_Components_Component) ΛListKeyMap() (map[string]interface{}, error)
- type OpenconfigPlatform_Components_Component_Backplane
- func (t *OpenconfigPlatform_Components_Component_Backplane) GetConfig() *OpenconfigPlatform_Components_Component_Backplane_Config
- func (t *OpenconfigPlatform_Components_Component_Backplane) GetOrCreateConfig() *OpenconfigPlatform_Components_Component_Backplane_Config
- func (t *OpenconfigPlatform_Components_Component_Backplane) GetOrCreateState() *OpenconfigPlatform_Components_Component_Backplane_State
- func (t *OpenconfigPlatform_Components_Component_Backplane) GetState() *OpenconfigPlatform_Components_Component_Backplane_State
- func (*OpenconfigPlatform_Components_Component_Backplane) IsYANGGoStruct()
- func (t *OpenconfigPlatform_Components_Component_Backplane) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigPlatform_Components_Component_Backplane) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigPlatform_Components_Component_Backplane_Config
- func (*OpenconfigPlatform_Components_Component_Backplane_Config) IsYANGGoStruct()
- func (t *OpenconfigPlatform_Components_Component_Backplane_Config) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigPlatform_Components_Component_Backplane_Config) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigPlatform_Components_Component_Backplane_State
- type OpenconfigPlatform_Components_Component_Chassis
- func (t *OpenconfigPlatform_Components_Component_Chassis) GetConfig() *OpenconfigPlatform_Components_Component_Chassis_Config
- func (t *OpenconfigPlatform_Components_Component_Chassis) GetOrCreateConfig() *OpenconfigPlatform_Components_Component_Chassis_Config
- func (t *OpenconfigPlatform_Components_Component_Chassis) GetOrCreateState() *OpenconfigPlatform_Components_Component_Chassis_State
- func (t *OpenconfigPlatform_Components_Component_Chassis) GetState() *OpenconfigPlatform_Components_Component_Chassis_State
- func (*OpenconfigPlatform_Components_Component_Chassis) IsYANGGoStruct()
- func (t *OpenconfigPlatform_Components_Component_Chassis) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigPlatform_Components_Component_Chassis) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigPlatform_Components_Component_Chassis_Config
- type OpenconfigPlatform_Components_Component_Chassis_State
- type OpenconfigPlatform_Components_Component_Config
- func (t *OpenconfigPlatform_Components_Component_Config) GetName() string
- func (*OpenconfigPlatform_Components_Component_Config) IsYANGGoStruct()
- func (t *OpenconfigPlatform_Components_Component_Config) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigPlatform_Components_Component_Config) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigPlatform_Components_Component_Cpu
- func (t *OpenconfigPlatform_Components_Component_Cpu) GetConfig() *OpenconfigPlatform_Components_Component_Cpu_Config
- func (t *OpenconfigPlatform_Components_Component_Cpu) GetOrCreateConfig() *OpenconfigPlatform_Components_Component_Cpu_Config
- func (t *OpenconfigPlatform_Components_Component_Cpu) GetOrCreateState() *OpenconfigPlatform_Components_Component_Cpu_State
- func (t *OpenconfigPlatform_Components_Component_Cpu) GetState() *OpenconfigPlatform_Components_Component_Cpu_State
- func (*OpenconfigPlatform_Components_Component_Cpu) IsYANGGoStruct()
- func (t *OpenconfigPlatform_Components_Component_Cpu) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigPlatform_Components_Component_Cpu) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigPlatform_Components_Component_Cpu_Config
- type OpenconfigPlatform_Components_Component_Cpu_State
- type OpenconfigPlatform_Components_Component_Fabric
- func (t *OpenconfigPlatform_Components_Component_Fabric) GetConfig() *OpenconfigPlatform_Components_Component_Fabric_Config
- func (t *OpenconfigPlatform_Components_Component_Fabric) GetOrCreateConfig() *OpenconfigPlatform_Components_Component_Fabric_Config
- func (t *OpenconfigPlatform_Components_Component_Fabric) GetOrCreateState() *OpenconfigPlatform_Components_Component_Fabric_State
- func (t *OpenconfigPlatform_Components_Component_Fabric) GetState() *OpenconfigPlatform_Components_Component_Fabric_State
- func (*OpenconfigPlatform_Components_Component_Fabric) IsYANGGoStruct()
- func (t *OpenconfigPlatform_Components_Component_Fabric) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigPlatform_Components_Component_Fabric) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigPlatform_Components_Component_Fabric_Config
- type OpenconfigPlatform_Components_Component_Fabric_State
- type OpenconfigPlatform_Components_Component_Fan
- func (t *OpenconfigPlatform_Components_Component_Fan) GetConfig() *OpenconfigPlatform_Components_Component_Fan_Config
- func (t *OpenconfigPlatform_Components_Component_Fan) GetOrCreateConfig() *OpenconfigPlatform_Components_Component_Fan_Config
- func (t *OpenconfigPlatform_Components_Component_Fan) GetOrCreateState() *OpenconfigPlatform_Components_Component_Fan_State
- func (t *OpenconfigPlatform_Components_Component_Fan) GetState() *OpenconfigPlatform_Components_Component_Fan_State
- func (*OpenconfigPlatform_Components_Component_Fan) IsYANGGoStruct()
- func (t *OpenconfigPlatform_Components_Component_Fan) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigPlatform_Components_Component_Fan) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigPlatform_Components_Component_Fan_Config
- type OpenconfigPlatform_Components_Component_Fan_State
- type OpenconfigPlatform_Components_Component_IntegratedCircuit
- func (t *OpenconfigPlatform_Components_Component_IntegratedCircuit) GetConfig() *OpenconfigPlatform_Components_Component_IntegratedCircuit_Config
- func (t *OpenconfigPlatform_Components_Component_IntegratedCircuit) GetOrCreateConfig() *OpenconfigPlatform_Components_Component_IntegratedCircuit_Config
- func (t *OpenconfigPlatform_Components_Component_IntegratedCircuit) GetOrCreateState() *OpenconfigPlatform_Components_Component_IntegratedCircuit_State
- func (t *OpenconfigPlatform_Components_Component_IntegratedCircuit) GetState() *OpenconfigPlatform_Components_Component_IntegratedCircuit_State
- func (*OpenconfigPlatform_Components_Component_IntegratedCircuit) IsYANGGoStruct()
- func (t *OpenconfigPlatform_Components_Component_IntegratedCircuit) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigPlatform_Components_Component_IntegratedCircuit) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigPlatform_Components_Component_IntegratedCircuit_Config
- func (*OpenconfigPlatform_Components_Component_IntegratedCircuit_Config) IsYANGGoStruct()
- func (t *OpenconfigPlatform_Components_Component_IntegratedCircuit_Config) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigPlatform_Components_Component_IntegratedCircuit_Config) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigPlatform_Components_Component_IntegratedCircuit_State
- func (*OpenconfigPlatform_Components_Component_IntegratedCircuit_State) IsYANGGoStruct()
- func (t *OpenconfigPlatform_Components_Component_IntegratedCircuit_State) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigPlatform_Components_Component_IntegratedCircuit_State) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigPlatform_Components_Component_OpticalChannel
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel) GetConfig() *OpenconfigPlatform_Components_Component_OpticalChannel_Config
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel) GetOrCreateConfig() *OpenconfigPlatform_Components_Component_OpticalChannel_Config
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel) GetOrCreateState() *OpenconfigPlatform_Components_Component_OpticalChannel_State
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel) GetState() *OpenconfigPlatform_Components_Component_OpticalChannel_State
- func (*OpenconfigPlatform_Components_Component_OpticalChannel) IsYANGGoStruct()
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigPlatform_Components_Component_OpticalChannel_Config
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_Config) GetFrequency() uint64
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_Config) GetLinePort() string
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_Config) GetOperationalMode() uint16
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_Config) GetTargetOutputPower() float64
- func (*OpenconfigPlatform_Components_Component_OpticalChannel_Config) IsYANGGoStruct()
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_Config) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_Config) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigPlatform_Components_Component_OpticalChannel_State
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State) GetChromaticDispersion() ...
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State) GetFrequency() uint64
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State) GetGroupId() uint32
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State) GetInputPower() *OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State) GetLaserBiasCurrent() *OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State) GetLinePort() string
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State) GetOperationalMode() uint16
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State) GetOrCreateChromaticDispersion() ...
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State) GetOrCreateInputPower() *OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State) GetOrCreateLaserBiasCurrent() *OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State) GetOrCreateOutputPower() *OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State) GetOrCreatePolarizationDependentLoss() ...
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State) GetOrCreatePolarizationModeDispersion() ...
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State) GetOrCreateSecondOrderPolarizationModeDispersion() ...
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State) GetOutputPower() *OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State) GetPolarizationDependentLoss() ...
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State) GetPolarizationModeDispersion() ...
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State) GetSecondOrderPolarizationModeDispersion() ...
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State) GetTargetOutputPower() float64
- func (*OpenconfigPlatform_Components_Component_OpticalChannel_State) IsYANGGoStruct()
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion) GetAvg() float64
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion) GetInstant() float64
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion) GetInterval() uint64
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion) GetMax() float64
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion) GetMaxTime() uint64
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion) GetMin() float64
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion) GetMinTime() uint64
- func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion) IsYANGGoStruct()
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower) GetAvg() float64
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower) GetInstant() float64
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower) GetInterval() uint64
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower) GetMax() float64
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower) GetMaxTime() uint64
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower) GetMin() float64
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower) GetMinTime() uint64
- func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower) IsYANGGoStruct()
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent) GetAvg() float64
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent) GetInstant() float64
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent) GetInterval() uint64
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent) GetMax() float64
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent) GetMaxTime() uint64
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent) GetMin() float64
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent) GetMinTime() uint64
- func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent) IsYANGGoStruct()
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower) GetAvg() float64
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower) GetInstant() float64
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower) GetInterval() uint64
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower) GetMax() float64
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower) GetMaxTime() uint64
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower) GetMin() float64
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower) GetMinTime() uint64
- func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower) IsYANGGoStruct()
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss) GetAvg() float64
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss) GetInstant() float64
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss) GetInterval() uint64
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss) GetMax() float64
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss) GetMaxTime() uint64
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss) GetMin() float64
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss) GetMinTime() uint64
- func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss) IsYANGGoStruct()
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion) GetAvg() float64
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion) GetInstant() float64
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion) GetInterval() uint64
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion) GetMax() float64
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion) GetMaxTime() uint64
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion) GetMin() float64
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion) GetMinTime() uint64
- func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion) IsYANGGoStruct()
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion) GetAvg() float64
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion) GetInstant() float64
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion) GetInterval() uint64
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion) GetMax() float64
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion) GetMaxTime() uint64
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion) GetMin() float64
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion) GetMinTime() uint64
- func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion) IsYANGGoStruct()
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigPlatform_Components_Component_Port
- func (t *OpenconfigPlatform_Components_Component_Port) GetBreakoutMode() *OpenconfigPlatform_Components_Component_Port_BreakoutMode
- func (t *OpenconfigPlatform_Components_Component_Port) GetConfig() *OpenconfigPlatform_Components_Component_Port_Config
- func (t *OpenconfigPlatform_Components_Component_Port) GetOrCreateBreakoutMode() *OpenconfigPlatform_Components_Component_Port_BreakoutMode
- func (t *OpenconfigPlatform_Components_Component_Port) GetOrCreateConfig() *OpenconfigPlatform_Components_Component_Port_Config
- func (t *OpenconfigPlatform_Components_Component_Port) GetOrCreateState() *OpenconfigPlatform_Components_Component_Port_State
- func (t *OpenconfigPlatform_Components_Component_Port) GetState() *OpenconfigPlatform_Components_Component_Port_State
- func (*OpenconfigPlatform_Components_Component_Port) IsYANGGoStruct()
- func (t *OpenconfigPlatform_Components_Component_Port) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigPlatform_Components_Component_Port) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigPlatform_Components_Component_Port_BreakoutMode
- func (t *OpenconfigPlatform_Components_Component_Port_BreakoutMode) GetConfig() *OpenconfigPlatform_Components_Component_Port_BreakoutMode_Config
- func (t *OpenconfigPlatform_Components_Component_Port_BreakoutMode) GetOrCreateConfig() *OpenconfigPlatform_Components_Component_Port_BreakoutMode_Config
- func (t *OpenconfigPlatform_Components_Component_Port_BreakoutMode) GetOrCreateState() *OpenconfigPlatform_Components_Component_Port_BreakoutMode_State
- func (t *OpenconfigPlatform_Components_Component_Port_BreakoutMode) GetState() *OpenconfigPlatform_Components_Component_Port_BreakoutMode_State
- func (*OpenconfigPlatform_Components_Component_Port_BreakoutMode) IsYANGGoStruct()
- func (t *OpenconfigPlatform_Components_Component_Port_BreakoutMode) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigPlatform_Components_Component_Port_BreakoutMode) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigPlatform_Components_Component_Port_BreakoutMode_Config
- func (t *OpenconfigPlatform_Components_Component_Port_BreakoutMode_Config) GetChannelSpeed() E_OpenconfigIfEthernet_ETHERNET_SPEED
- func (t *OpenconfigPlatform_Components_Component_Port_BreakoutMode_Config) GetNumChannels() uint8
- func (*OpenconfigPlatform_Components_Component_Port_BreakoutMode_Config) IsYANGGoStruct()
- func (t *OpenconfigPlatform_Components_Component_Port_BreakoutMode_Config) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigPlatform_Components_Component_Port_BreakoutMode_Config) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigPlatform_Components_Component_Port_BreakoutMode_State
- func (t *OpenconfigPlatform_Components_Component_Port_BreakoutMode_State) GetChannelSpeed() E_OpenconfigIfEthernet_ETHERNET_SPEED
- func (t *OpenconfigPlatform_Components_Component_Port_BreakoutMode_State) GetNumChannels() uint8
- func (*OpenconfigPlatform_Components_Component_Port_BreakoutMode_State) IsYANGGoStruct()
- func (t *OpenconfigPlatform_Components_Component_Port_BreakoutMode_State) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigPlatform_Components_Component_Port_BreakoutMode_State) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigPlatform_Components_Component_Port_Config
- type OpenconfigPlatform_Components_Component_Port_State
- type OpenconfigPlatform_Components_Component_PowerSupply
- func (t *OpenconfigPlatform_Components_Component_PowerSupply) GetConfig() *OpenconfigPlatform_Components_Component_PowerSupply_Config
- func (t *OpenconfigPlatform_Components_Component_PowerSupply) GetOrCreateConfig() *OpenconfigPlatform_Components_Component_PowerSupply_Config
- func (t *OpenconfigPlatform_Components_Component_PowerSupply) GetOrCreateState() *OpenconfigPlatform_Components_Component_PowerSupply_State
- func (t *OpenconfigPlatform_Components_Component_PowerSupply) GetState() *OpenconfigPlatform_Components_Component_PowerSupply_State
- func (*OpenconfigPlatform_Components_Component_PowerSupply) IsYANGGoStruct()
- func (t *OpenconfigPlatform_Components_Component_PowerSupply) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigPlatform_Components_Component_PowerSupply) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigPlatform_Components_Component_PowerSupply_Config
- func (*OpenconfigPlatform_Components_Component_PowerSupply_Config) IsYANGGoStruct()
- func (t *OpenconfigPlatform_Components_Component_PowerSupply_Config) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigPlatform_Components_Component_PowerSupply_Config) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigPlatform_Components_Component_PowerSupply_State
- func (*OpenconfigPlatform_Components_Component_PowerSupply_State) IsYANGGoStruct()
- func (t *OpenconfigPlatform_Components_Component_PowerSupply_State) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigPlatform_Components_Component_PowerSupply_State) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigPlatform_Components_Component_Properties
- func (t *OpenconfigPlatform_Components_Component_Properties) AppendProperty(v *OpenconfigPlatform_Components_Component_Properties_Property) error
- func (t *OpenconfigPlatform_Components_Component_Properties) GetOrCreateProperty(Name string) *OpenconfigPlatform_Components_Component_Properties_Property
- func (t *OpenconfigPlatform_Components_Component_Properties) GetProperty(Name string) *OpenconfigPlatform_Components_Component_Properties_Property
- func (*OpenconfigPlatform_Components_Component_Properties) IsYANGGoStruct()
- func (t *OpenconfigPlatform_Components_Component_Properties) NewProperty(Name string) (*OpenconfigPlatform_Components_Component_Properties_Property, error)
- func (t *OpenconfigPlatform_Components_Component_Properties) RenameProperty(oldK, newK string) error
- func (t *OpenconfigPlatform_Components_Component_Properties) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigPlatform_Components_Component_Properties) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigPlatform_Components_Component_Properties_Property
- func (t *OpenconfigPlatform_Components_Component_Properties_Property) GetConfig() *OpenconfigPlatform_Components_Component_Properties_Property_Config
- func (t *OpenconfigPlatform_Components_Component_Properties_Property) GetName() string
- func (t *OpenconfigPlatform_Components_Component_Properties_Property) GetOrCreateConfig() *OpenconfigPlatform_Components_Component_Properties_Property_Config
- func (t *OpenconfigPlatform_Components_Component_Properties_Property) GetOrCreateState() *OpenconfigPlatform_Components_Component_Properties_Property_State
- func (t *OpenconfigPlatform_Components_Component_Properties_Property) GetState() *OpenconfigPlatform_Components_Component_Properties_Property_State
- func (*OpenconfigPlatform_Components_Component_Properties_Property) IsYANGGoStruct()
- func (t *OpenconfigPlatform_Components_Component_Properties_Property) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigPlatform_Components_Component_Properties_Property) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigPlatform_Components_Component_Properties_Property) ΛListKeyMap() (map[string]interface{}, error)
- type OpenconfigPlatform_Components_Component_Properties_Property_Config
- func (t *OpenconfigPlatform_Components_Component_Properties_Property_Config) GetName() string
- func (t *OpenconfigPlatform_Components_Component_Properties_Property_Config) GetValue() OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union
- func (*OpenconfigPlatform_Components_Component_Properties_Property_Config) IsYANGGoStruct()
- func (t *OpenconfigPlatform_Components_Component_Properties_Property_Config) To_OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union(i interface{}) (OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union, ...)
- func (t *OpenconfigPlatform_Components_Component_Properties_Property_Config) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigPlatform_Components_Component_Properties_Property_Config) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union
- type OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_Bool
- type OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_Float64
- type OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_Int64
- type OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_String
- type OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_Uint64
- type OpenconfigPlatform_Components_Component_Properties_Property_State
- func (t *OpenconfigPlatform_Components_Component_Properties_Property_State) GetConfigurable() bool
- func (t *OpenconfigPlatform_Components_Component_Properties_Property_State) GetName() string
- func (t *OpenconfigPlatform_Components_Component_Properties_Property_State) GetValue() OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union
- func (*OpenconfigPlatform_Components_Component_Properties_Property_State) IsYANGGoStruct()
- func (t *OpenconfigPlatform_Components_Component_Properties_Property_State) To_OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union(i interface{}) (OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union, ...)
- func (t *OpenconfigPlatform_Components_Component_Properties_Property_State) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigPlatform_Components_Component_Properties_Property_State) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union
- type OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_Bool
- type OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_Float64
- type OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_Int64
- type OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_String
- type OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_Uint64
- type OpenconfigPlatform_Components_Component_State
- func (t *OpenconfigPlatform_Components_Component_State) GetAllocatedPower() uint32
- func (t *OpenconfigPlatform_Components_Component_State) GetDescription() string
- func (t *OpenconfigPlatform_Components_Component_State) GetEmpty() bool
- func (t *OpenconfigPlatform_Components_Component_State) GetEquipmentFailure() bool
- func (t *OpenconfigPlatform_Components_Component_State) GetEquipmentMismatch() bool
- func (t *OpenconfigPlatform_Components_Component_State) GetFirmwareVersion() string
- func (t *OpenconfigPlatform_Components_Component_State) GetHardwareVersion() string
- func (t *OpenconfigPlatform_Components_Component_State) GetId() string
- func (t *OpenconfigPlatform_Components_Component_State) GetLocation() string
- func (t *OpenconfigPlatform_Components_Component_State) GetMemory() *OpenconfigPlatform_Components_Component_State_Memory
- func (t *OpenconfigPlatform_Components_Component_State) GetMfgDate() string
- func (t *OpenconfigPlatform_Components_Component_State) GetMfgName() string
- func (t *OpenconfigPlatform_Components_Component_State) GetName() string
- func (t *OpenconfigPlatform_Components_Component_State) GetOperStatus() E_OpenconfigPlatformTypes_COMPONENT_OPER_STATUS
- func (t *OpenconfigPlatform_Components_Component_State) GetOrCreateMemory() *OpenconfigPlatform_Components_Component_State_Memory
- func (t *OpenconfigPlatform_Components_Component_State) GetOrCreateTemperature() *OpenconfigPlatform_Components_Component_State_Temperature
- func (t *OpenconfigPlatform_Components_Component_State) GetParent() string
- func (t *OpenconfigPlatform_Components_Component_State) GetPartNo() string
- func (t *OpenconfigPlatform_Components_Component_State) GetRemovable() bool
- func (t *OpenconfigPlatform_Components_Component_State) GetSerialNo() string
- func (t *OpenconfigPlatform_Components_Component_State) GetSoftwareVersion() string
- func (t *OpenconfigPlatform_Components_Component_State) GetTemperature() *OpenconfigPlatform_Components_Component_State_Temperature
- func (t *OpenconfigPlatform_Components_Component_State) GetType() OpenconfigPlatform_Components_Component_State_Type_Union
- func (t *OpenconfigPlatform_Components_Component_State) GetUsedPower() uint32
- func (*OpenconfigPlatform_Components_Component_State) IsYANGGoStruct()
- func (t *OpenconfigPlatform_Components_Component_State) To_OpenconfigPlatform_Components_Component_State_Type_Union(i interface{}) (OpenconfigPlatform_Components_Component_State_Type_Union, error)
- func (t *OpenconfigPlatform_Components_Component_State) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigPlatform_Components_Component_State) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigPlatform_Components_Component_State_Memory
- func (t *OpenconfigPlatform_Components_Component_State_Memory) GetAvailable() uint64
- func (t *OpenconfigPlatform_Components_Component_State_Memory) GetUtilized() uint64
- func (*OpenconfigPlatform_Components_Component_State_Memory) IsYANGGoStruct()
- func (t *OpenconfigPlatform_Components_Component_State_Memory) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigPlatform_Components_Component_State_Memory) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigPlatform_Components_Component_State_Temperature
- func (t *OpenconfigPlatform_Components_Component_State_Temperature) GetAlarmSeverity() E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY
- func (t *OpenconfigPlatform_Components_Component_State_Temperature) GetAlarmStatus() bool
- func (t *OpenconfigPlatform_Components_Component_State_Temperature) GetAlarmThreshold() uint32
- func (t *OpenconfigPlatform_Components_Component_State_Temperature) GetAvg() float64
- func (t *OpenconfigPlatform_Components_Component_State_Temperature) GetInstant() float64
- func (t *OpenconfigPlatform_Components_Component_State_Temperature) GetInterval() uint64
- func (t *OpenconfigPlatform_Components_Component_State_Temperature) GetMax() float64
- func (t *OpenconfigPlatform_Components_Component_State_Temperature) GetMaxTime() uint64
- func (t *OpenconfigPlatform_Components_Component_State_Temperature) GetMin() float64
- func (t *OpenconfigPlatform_Components_Component_State_Temperature) GetMinTime() uint64
- func (*OpenconfigPlatform_Components_Component_State_Temperature) IsYANGGoStruct()
- func (t *OpenconfigPlatform_Components_Component_State_Temperature) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigPlatform_Components_Component_State_Temperature) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigPlatform_Components_Component_State_Type_Union
- type OpenconfigPlatform_Components_Component_State_Type_Union_E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT
- type OpenconfigPlatform_Components_Component_State_Type_Union_E_OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT
- type OpenconfigPlatform_Components_Component_Storage
- func (t *OpenconfigPlatform_Components_Component_Storage) GetConfig() *OpenconfigPlatform_Components_Component_Storage_Config
- func (t *OpenconfigPlatform_Components_Component_Storage) GetOrCreateConfig() *OpenconfigPlatform_Components_Component_Storage_Config
- func (t *OpenconfigPlatform_Components_Component_Storage) GetOrCreateState() *OpenconfigPlatform_Components_Component_Storage_State
- func (t *OpenconfigPlatform_Components_Component_Storage) GetState() *OpenconfigPlatform_Components_Component_Storage_State
- func (*OpenconfigPlatform_Components_Component_Storage) IsYANGGoStruct()
- func (t *OpenconfigPlatform_Components_Component_Storage) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigPlatform_Components_Component_Storage) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigPlatform_Components_Component_Storage_Config
- type OpenconfigPlatform_Components_Component_Storage_State
- type OpenconfigPlatform_Components_Component_Subcomponents
- func (t *OpenconfigPlatform_Components_Component_Subcomponents) AppendSubcomponent(v *OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent) error
- func (t *OpenconfigPlatform_Components_Component_Subcomponents) GetOrCreateSubcomponent(Name string) *OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent
- func (t *OpenconfigPlatform_Components_Component_Subcomponents) GetSubcomponent(Name string) *OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent
- func (*OpenconfigPlatform_Components_Component_Subcomponents) IsYANGGoStruct()
- func (t *OpenconfigPlatform_Components_Component_Subcomponents) NewSubcomponent(Name string) (*OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent, error)
- func (t *OpenconfigPlatform_Components_Component_Subcomponents) RenameSubcomponent(oldK, newK string) error
- func (t *OpenconfigPlatform_Components_Component_Subcomponents) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigPlatform_Components_Component_Subcomponents) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent
- func (t *OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent) GetConfig() *OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_Config
- func (t *OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent) GetName() string
- func (t *OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent) GetOrCreateConfig() *OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_Config
- func (t *OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent) GetOrCreateState() *OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_State
- func (t *OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent) GetState() *OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_State
- func (*OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent) IsYANGGoStruct()
- func (t *OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent) ΛListKeyMap() (map[string]interface{}, error)
- type OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_Config
- func (t *OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_Config) GetName() string
- func (*OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_Config) IsYANGGoStruct()
- func (t *OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_Config) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_Config) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_State
- func (t *OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_State) GetName() string
- func (*OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_State) IsYANGGoStruct()
- func (t *OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_State) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_State) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigPlatform_Components_Component_Transceiver
- func (t *OpenconfigPlatform_Components_Component_Transceiver) GetConfig() *OpenconfigPlatform_Components_Component_Transceiver_Config
- func (t *OpenconfigPlatform_Components_Component_Transceiver) GetOrCreateConfig() *OpenconfigPlatform_Components_Component_Transceiver_Config
- func (t *OpenconfigPlatform_Components_Component_Transceiver) GetOrCreatePhysicalChannels() *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels
- func (t *OpenconfigPlatform_Components_Component_Transceiver) GetOrCreateState() *OpenconfigPlatform_Components_Component_Transceiver_State
- func (t *OpenconfigPlatform_Components_Component_Transceiver) GetPhysicalChannels() *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels
- func (t *OpenconfigPlatform_Components_Component_Transceiver) GetState() *OpenconfigPlatform_Components_Component_Transceiver_State
- func (*OpenconfigPlatform_Components_Component_Transceiver) IsYANGGoStruct()
- func (t *OpenconfigPlatform_Components_Component_Transceiver) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigPlatform_Components_Component_Transceiver) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigPlatform_Components_Component_Transceiver_Config
- func (t *OpenconfigPlatform_Components_Component_Transceiver_Config) GetEnabled() bool
- func (t *OpenconfigPlatform_Components_Component_Transceiver_Config) GetEthernetPmdPreconf() E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE
- func (t *OpenconfigPlatform_Components_Component_Transceiver_Config) GetFecMode() E_OpenconfigPlatformTypes_FEC_MODE_TYPE
- func (t *OpenconfigPlatform_Components_Component_Transceiver_Config) GetFormFactorPreconf() E_OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE
- func (*OpenconfigPlatform_Components_Component_Transceiver_Config) IsYANGGoStruct()
- func (t *OpenconfigPlatform_Components_Component_Transceiver_Config) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigPlatform_Components_Component_Transceiver_Config) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels
- func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels) AppendChannel(...) error
- func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels) GetChannel(Index uint16) *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel
- func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels) GetOrCreateChannel(Index uint16) *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel
- func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels) IsYANGGoStruct()
- func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels) NewChannel(Index uint16) (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel, ...)
- func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels) RenameChannel(oldK, newK uint16) error
- func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel
- func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel) GetConfig() ...
- func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel) GetIndex() uint16
- func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel) GetOrCreateConfig() ...
- func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel) GetOrCreateState() ...
- func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel) GetState() ...
- func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel) IsYANGGoStruct()
- func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel) ΛListKeyMap() (map[string]interface{}, error)
- type OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_Config
- func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_Config) GetDescription() string
- func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_Config) GetIndex() uint16
- func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_Config) GetTargetOutputPower() float64
- func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_Config) GetTxLaser() bool
- func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_Config) IsYANGGoStruct()
- func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_Config) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_Config) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State
- func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State) GetDescription() string
- func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State) GetIndex() uint16
- func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State) GetInputPower() ...
- func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State) GetLaserBiasCurrent() ...
- func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State) GetOrCreateInputPower() ...
- func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State) GetOrCreateLaserBiasCurrent() ...
- func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State) GetOrCreateOutputPower() ...
- func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State) GetOutputFrequency() uint64
- func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State) GetOutputPower() ...
- func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State) GetTargetOutputPower() float64
- func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State) GetTxLaser() bool
- func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State) IsYANGGoStruct()
- func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower
- func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower) GetAvg() float64
- func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower) GetInstant() float64
- func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower) GetInterval() uint64
- func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower) GetMax() float64
- func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower) GetMaxTime() uint64
- func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower) GetMin() float64
- func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower) GetMinTime() uint64
- func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower) IsYANGGoStruct()
- func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent
- func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent) GetAvg() float64
- func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent) GetInstant() float64
- func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent) GetInterval() uint64
- func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent) GetMax() float64
- func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent) GetMaxTime() uint64
- func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent) GetMin() float64
- func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent) GetMinTime() uint64
- func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent) IsYANGGoStruct()
- func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower
- func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower) GetAvg() float64
- func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower) GetInstant() float64
- func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower) GetInterval() uint64
- func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower) GetMax() float64
- func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower) GetMaxTime() uint64
- func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower) GetMin() float64
- func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower) GetMinTime() uint64
- func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower) IsYANGGoStruct()
- func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigPlatform_Components_Component_Transceiver_State
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State) GetConnectorType() E_OpenconfigTransportTypes_FIBER_CONNECTOR_TYPE
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State) GetDateCode() string
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State) GetEnabled() bool
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State) GetEthernetPmd() E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State) GetEthernetPmdPreconf() E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State) GetFaultCondition() bool
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State) GetFecCorrectedBits() uint64
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State) GetFecCorrectedBytes() uint64
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State) GetFecMode() E_OpenconfigPlatformTypes_FEC_MODE_TYPE
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State) GetFecStatus() E_OpenconfigPlatformTypes_FEC_STATUS_TYPE
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State) GetFecUncorrectableBlocks() uint64
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State) GetFecUncorrectableWords() uint64
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State) GetFormFactor() E_OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State) GetFormFactorPreconf() E_OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State) GetInputPower() *OpenconfigPlatform_Components_Component_Transceiver_State_InputPower
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State) GetLaserBiasCurrent() *OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State) GetOrCreateInputPower() *OpenconfigPlatform_Components_Component_Transceiver_State_InputPower
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State) GetOrCreateLaserBiasCurrent() *OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State) GetOrCreateOutputPower() *OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State) GetOrCreatePostFecBer() *OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State) GetOrCreatePreFecBer() *OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State) GetOtnComplianceCode() E_OpenconfigTransportTypes_OTN_APPLICATION_CODE
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State) GetOutputPower() *OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State) GetPostFecBer() *OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State) GetPreFecBer() *OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State) GetPresent() E_OpenconfigPlatform_Components_Component_Transceiver_State_Present
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State) GetSerialNo() string
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State) GetSonetSdhComplianceCode() E_OpenconfigTransportTypes_SONET_APPLICATION_CODE
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State) GetVendor() string
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State) GetVendorPart() string
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State) GetVendorRev() string
- func (*OpenconfigPlatform_Components_Component_Transceiver_State) IsYANGGoStruct()
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigPlatform_Components_Component_Transceiver_State_InputPower
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State_InputPower) GetAvg() float64
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State_InputPower) GetInstant() float64
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State_InputPower) GetInterval() uint64
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State_InputPower) GetMax() float64
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State_InputPower) GetMaxTime() uint64
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State_InputPower) GetMin() float64
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State_InputPower) GetMinTime() uint64
- func (*OpenconfigPlatform_Components_Component_Transceiver_State_InputPower) IsYANGGoStruct()
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State_InputPower) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State_InputPower) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent) GetAvg() float64
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent) GetInstant() float64
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent) GetInterval() uint64
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent) GetMax() float64
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent) GetMaxTime() uint64
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent) GetMin() float64
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent) GetMinTime() uint64
- func (*OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent) IsYANGGoStruct()
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower) GetAvg() float64
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower) GetInstant() float64
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower) GetInterval() uint64
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower) GetMax() float64
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower) GetMaxTime() uint64
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower) GetMin() float64
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower) GetMinTime() uint64
- func (*OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower) IsYANGGoStruct()
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer) GetAvg() float64
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer) GetInstant() float64
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer) GetInterval() uint64
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer) GetMax() float64
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer) GetMaxTime() uint64
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer) GetMin() float64
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer) GetMinTime() uint64
- func (*OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer) IsYANGGoStruct()
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer) GetAvg() float64
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer) GetInstant() float64
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer) GetInterval() uint64
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer) GetMax() float64
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer) GetMaxTime() uint64
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer) GetMin() float64
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer) GetMinTime() uint64
- func (*OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer) IsYANGGoStruct()
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System
- func (t *OpenconfigSystem_System) GetAaa() *OpenconfigSystem_System_Aaa
- func (t *OpenconfigSystem_System) GetAlarms() *OpenconfigSystem_System_Alarms
- func (t *OpenconfigSystem_System) GetClock() *OpenconfigSystem_System_Clock
- func (t *OpenconfigSystem_System) GetConfig() *OpenconfigSystem_System_Config
- func (t *OpenconfigSystem_System) GetCpus() *OpenconfigSystem_System_Cpus
- func (t *OpenconfigSystem_System) GetDns() *OpenconfigSystem_System_Dns
- func (t *OpenconfigSystem_System) GetGrpcServer() *OpenconfigSystem_System_GrpcServer
- func (t *OpenconfigSystem_System) GetLogging() *OpenconfigSystem_System_Logging
- func (t *OpenconfigSystem_System) GetMemory() *OpenconfigSystem_System_Memory
- func (t *OpenconfigSystem_System) GetNtp() *OpenconfigSystem_System_Ntp
- func (t *OpenconfigSystem_System) GetOrCreateAaa() *OpenconfigSystem_System_Aaa
- func (t *OpenconfigSystem_System) GetOrCreateAlarms() *OpenconfigSystem_System_Alarms
- func (t *OpenconfigSystem_System) GetOrCreateClock() *OpenconfigSystem_System_Clock
- func (t *OpenconfigSystem_System) GetOrCreateConfig() *OpenconfigSystem_System_Config
- func (t *OpenconfigSystem_System) GetOrCreateCpus() *OpenconfigSystem_System_Cpus
- func (t *OpenconfigSystem_System) GetOrCreateDns() *OpenconfigSystem_System_Dns
- func (t *OpenconfigSystem_System) GetOrCreateGrpcServer() *OpenconfigSystem_System_GrpcServer
- func (t *OpenconfigSystem_System) GetOrCreateLogging() *OpenconfigSystem_System_Logging
- func (t *OpenconfigSystem_System) GetOrCreateMemory() *OpenconfigSystem_System_Memory
- func (t *OpenconfigSystem_System) GetOrCreateNtp() *OpenconfigSystem_System_Ntp
- func (t *OpenconfigSystem_System) GetOrCreateProcesses() *OpenconfigSystem_System_Processes
- func (t *OpenconfigSystem_System) GetOrCreateSshServer() *OpenconfigSystem_System_SshServer
- func (t *OpenconfigSystem_System) GetOrCreateState() *OpenconfigSystem_System_State
- func (t *OpenconfigSystem_System) GetOrCreateTelnetServer() *OpenconfigSystem_System_TelnetServer
- func (t *OpenconfigSystem_System) GetProcesses() *OpenconfigSystem_System_Processes
- func (t *OpenconfigSystem_System) GetSshServer() *OpenconfigSystem_System_SshServer
- func (t *OpenconfigSystem_System) GetState() *OpenconfigSystem_System_State
- func (t *OpenconfigSystem_System) GetTelnetServer() *OpenconfigSystem_System_TelnetServer
- func (*OpenconfigSystem_System) IsYANGGoStruct()
- func (t *OpenconfigSystem_System) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Aaa
- func (t *OpenconfigSystem_System_Aaa) GetAccounting() *OpenconfigSystem_System_Aaa_Accounting
- func (t *OpenconfigSystem_System_Aaa) GetAuthentication() *OpenconfigSystem_System_Aaa_Authentication
- func (t *OpenconfigSystem_System_Aaa) GetAuthorization() *OpenconfigSystem_System_Aaa_Authorization
- func (t *OpenconfigSystem_System_Aaa) GetConfig() *OpenconfigSystem_System_Aaa_Config
- func (t *OpenconfigSystem_System_Aaa) GetOrCreateAccounting() *OpenconfigSystem_System_Aaa_Accounting
- func (t *OpenconfigSystem_System_Aaa) GetOrCreateAuthentication() *OpenconfigSystem_System_Aaa_Authentication
- func (t *OpenconfigSystem_System_Aaa) GetOrCreateAuthorization() *OpenconfigSystem_System_Aaa_Authorization
- func (t *OpenconfigSystem_System_Aaa) GetOrCreateConfig() *OpenconfigSystem_System_Aaa_Config
- func (t *OpenconfigSystem_System_Aaa) GetOrCreateServerGroups() *OpenconfigSystem_System_Aaa_ServerGroups
- func (t *OpenconfigSystem_System_Aaa) GetOrCreateState() *OpenconfigSystem_System_Aaa_State
- func (t *OpenconfigSystem_System_Aaa) GetServerGroups() *OpenconfigSystem_System_Aaa_ServerGroups
- func (t *OpenconfigSystem_System_Aaa) GetState() *OpenconfigSystem_System_Aaa_State
- func (*OpenconfigSystem_System_Aaa) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Aaa) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Aaa) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Aaa_Accounting
- func (t *OpenconfigSystem_System_Aaa_Accounting) GetConfig() *OpenconfigSystem_System_Aaa_Accounting_Config
- func (t *OpenconfigSystem_System_Aaa_Accounting) GetEvents() *OpenconfigSystem_System_Aaa_Accounting_Events
- func (t *OpenconfigSystem_System_Aaa_Accounting) GetOrCreateConfig() *OpenconfigSystem_System_Aaa_Accounting_Config
- func (t *OpenconfigSystem_System_Aaa_Accounting) GetOrCreateEvents() *OpenconfigSystem_System_Aaa_Accounting_Events
- func (t *OpenconfigSystem_System_Aaa_Accounting) GetOrCreateState() *OpenconfigSystem_System_Aaa_Accounting_State
- func (t *OpenconfigSystem_System_Aaa_Accounting) GetState() *OpenconfigSystem_System_Aaa_Accounting_State
- func (*OpenconfigSystem_System_Aaa_Accounting) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Aaa_Accounting) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Aaa_Accounting) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Aaa_Accounting_Config
- func (t *OpenconfigSystem_System_Aaa_Accounting_Config) GetAccountingMethod() []OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union
- func (*OpenconfigSystem_System_Aaa_Accounting_Config) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Aaa_Accounting_Config) To_OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union(i interface{}) (OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union, error)
- func (t *OpenconfigSystem_System_Aaa_Accounting_Config) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Aaa_Accounting_Config) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union
- type OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE
- type OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union_String
- type OpenconfigSystem_System_Aaa_Accounting_Events
- func (t *OpenconfigSystem_System_Aaa_Accounting_Events) AppendEvent(v *OpenconfigSystem_System_Aaa_Accounting_Events_Event) error
- func (t *OpenconfigSystem_System_Aaa_Accounting_Events) GetEvent(EventType E_OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE) *OpenconfigSystem_System_Aaa_Accounting_Events_Event
- func (t *OpenconfigSystem_System_Aaa_Accounting_Events) GetOrCreateEvent(EventType E_OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE) *OpenconfigSystem_System_Aaa_Accounting_Events_Event
- func (*OpenconfigSystem_System_Aaa_Accounting_Events) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Aaa_Accounting_Events) NewEvent(EventType E_OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE) (*OpenconfigSystem_System_Aaa_Accounting_Events_Event, error)
- func (t *OpenconfigSystem_System_Aaa_Accounting_Events) RenameEvent(oldK, newK E_OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE) error
- func (t *OpenconfigSystem_System_Aaa_Accounting_Events) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Aaa_Accounting_Events) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Aaa_Accounting_Events_Event
- func (t *OpenconfigSystem_System_Aaa_Accounting_Events_Event) GetConfig() *OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config
- func (t *OpenconfigSystem_System_Aaa_Accounting_Events_Event) GetEventType() E_OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE
- func (t *OpenconfigSystem_System_Aaa_Accounting_Events_Event) GetOrCreateConfig() *OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config
- func (t *OpenconfigSystem_System_Aaa_Accounting_Events_Event) GetOrCreateState() *OpenconfigSystem_System_Aaa_Accounting_Events_Event_State
- func (t *OpenconfigSystem_System_Aaa_Accounting_Events_Event) GetState() *OpenconfigSystem_System_Aaa_Accounting_Events_Event_State
- func (*OpenconfigSystem_System_Aaa_Accounting_Events_Event) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Aaa_Accounting_Events_Event) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Aaa_Accounting_Events_Event) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigSystem_System_Aaa_Accounting_Events_Event) ΛListKeyMap() (map[string]interface{}, error)
- type OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config
- func (t *OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config) GetEventType() E_OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE
- func (t *OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config) GetRecord() E_OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config_Record
- func (*OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Aaa_Accounting_Events_Event_State
- func (t *OpenconfigSystem_System_Aaa_Accounting_Events_Event_State) GetEventType() E_OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE
- func (t *OpenconfigSystem_System_Aaa_Accounting_Events_Event_State) GetRecord() E_OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config_Record
- func (*OpenconfigSystem_System_Aaa_Accounting_Events_Event_State) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Aaa_Accounting_Events_Event_State) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Aaa_Accounting_Events_Event_State) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Aaa_Accounting_State
- func (t *OpenconfigSystem_System_Aaa_Accounting_State) GetAccountingMethod() []OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union
- func (*OpenconfigSystem_System_Aaa_Accounting_State) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Aaa_Accounting_State) To_OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union(i interface{}) (OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union, error)
- func (t *OpenconfigSystem_System_Aaa_Accounting_State) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Aaa_Accounting_State) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union
- type OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE
- type OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union_String
- type OpenconfigSystem_System_Aaa_Authentication
- func (t *OpenconfigSystem_System_Aaa_Authentication) GetAdminUser() *OpenconfigSystem_System_Aaa_Authentication_AdminUser
- func (t *OpenconfigSystem_System_Aaa_Authentication) GetConfig() *OpenconfigSystem_System_Aaa_Authentication_Config
- func (t *OpenconfigSystem_System_Aaa_Authentication) GetOrCreateAdminUser() *OpenconfigSystem_System_Aaa_Authentication_AdminUser
- func (t *OpenconfigSystem_System_Aaa_Authentication) GetOrCreateConfig() *OpenconfigSystem_System_Aaa_Authentication_Config
- func (t *OpenconfigSystem_System_Aaa_Authentication) GetOrCreateState() *OpenconfigSystem_System_Aaa_Authentication_State
- func (t *OpenconfigSystem_System_Aaa_Authentication) GetOrCreateUsers() *OpenconfigSystem_System_Aaa_Authentication_Users
- func (t *OpenconfigSystem_System_Aaa_Authentication) GetState() *OpenconfigSystem_System_Aaa_Authentication_State
- func (t *OpenconfigSystem_System_Aaa_Authentication) GetUsers() *OpenconfigSystem_System_Aaa_Authentication_Users
- func (*OpenconfigSystem_System_Aaa_Authentication) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Aaa_Authentication) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Aaa_Authentication) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Aaa_Authentication_AdminUser
- func (t *OpenconfigSystem_System_Aaa_Authentication_AdminUser) GetConfig() *OpenconfigSystem_System_Aaa_Authentication_AdminUser_Config
- func (t *OpenconfigSystem_System_Aaa_Authentication_AdminUser) GetOrCreateConfig() *OpenconfigSystem_System_Aaa_Authentication_AdminUser_Config
- func (t *OpenconfigSystem_System_Aaa_Authentication_AdminUser) GetOrCreateState() *OpenconfigSystem_System_Aaa_Authentication_AdminUser_State
- func (t *OpenconfigSystem_System_Aaa_Authentication_AdminUser) GetState() *OpenconfigSystem_System_Aaa_Authentication_AdminUser_State
- func (*OpenconfigSystem_System_Aaa_Authentication_AdminUser) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Aaa_Authentication_AdminUser) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Aaa_Authentication_AdminUser) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Aaa_Authentication_AdminUser_Config
- func (t *OpenconfigSystem_System_Aaa_Authentication_AdminUser_Config) GetAdminPassword() string
- func (t *OpenconfigSystem_System_Aaa_Authentication_AdminUser_Config) GetAdminPasswordHashed() string
- func (*OpenconfigSystem_System_Aaa_Authentication_AdminUser_Config) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Aaa_Authentication_AdminUser_Config) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Aaa_Authentication_AdminUser_Config) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Aaa_Authentication_AdminUser_State
- func (t *OpenconfigSystem_System_Aaa_Authentication_AdminUser_State) GetAdminPassword() string
- func (t *OpenconfigSystem_System_Aaa_Authentication_AdminUser_State) GetAdminPasswordHashed() string
- func (t *OpenconfigSystem_System_Aaa_Authentication_AdminUser_State) GetAdminUsername() string
- func (*OpenconfigSystem_System_Aaa_Authentication_AdminUser_State) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Aaa_Authentication_AdminUser_State) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Aaa_Authentication_AdminUser_State) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Aaa_Authentication_Config
- func (t *OpenconfigSystem_System_Aaa_Authentication_Config) GetAuthenticationMethod() []OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union
- func (*OpenconfigSystem_System_Aaa_Authentication_Config) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Aaa_Authentication_Config) To_OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union(i interface{}) (OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union, ...)
- func (t *OpenconfigSystem_System_Aaa_Authentication_Config) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Aaa_Authentication_Config) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union
- type OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE
- type OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union_String
- type OpenconfigSystem_System_Aaa_Authentication_State
- func (t *OpenconfigSystem_System_Aaa_Authentication_State) GetAuthenticationMethod() []OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union
- func (*OpenconfigSystem_System_Aaa_Authentication_State) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Aaa_Authentication_State) To_OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union(i interface{}) (OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union, ...)
- func (t *OpenconfigSystem_System_Aaa_Authentication_State) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Aaa_Authentication_State) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union
- type OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE
- type OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union_String
- type OpenconfigSystem_System_Aaa_Authentication_Users
- func (t *OpenconfigSystem_System_Aaa_Authentication_Users) AppendUser(v *OpenconfigSystem_System_Aaa_Authentication_Users_User) error
- func (t *OpenconfigSystem_System_Aaa_Authentication_Users) GetOrCreateUser(Username string) *OpenconfigSystem_System_Aaa_Authentication_Users_User
- func (t *OpenconfigSystem_System_Aaa_Authentication_Users) GetUser(Username string) *OpenconfigSystem_System_Aaa_Authentication_Users_User
- func (*OpenconfigSystem_System_Aaa_Authentication_Users) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Aaa_Authentication_Users) NewUser(Username string) (*OpenconfigSystem_System_Aaa_Authentication_Users_User, error)
- func (t *OpenconfigSystem_System_Aaa_Authentication_Users) RenameUser(oldK, newK string) error
- func (t *OpenconfigSystem_System_Aaa_Authentication_Users) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Aaa_Authentication_Users) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Aaa_Authentication_Users_User
- func (t *OpenconfigSystem_System_Aaa_Authentication_Users_User) GetConfig() *OpenconfigSystem_System_Aaa_Authentication_Users_User_Config
- func (t *OpenconfigSystem_System_Aaa_Authentication_Users_User) GetOrCreateConfig() *OpenconfigSystem_System_Aaa_Authentication_Users_User_Config
- func (t *OpenconfigSystem_System_Aaa_Authentication_Users_User) GetOrCreateState() *OpenconfigSystem_System_Aaa_Authentication_Users_User_State
- func (t *OpenconfigSystem_System_Aaa_Authentication_Users_User) GetState() *OpenconfigSystem_System_Aaa_Authentication_Users_User_State
- func (t *OpenconfigSystem_System_Aaa_Authentication_Users_User) GetUsername() string
- func (*OpenconfigSystem_System_Aaa_Authentication_Users_User) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Aaa_Authentication_Users_User) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Aaa_Authentication_Users_User) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigSystem_System_Aaa_Authentication_Users_User) ΛListKeyMap() (map[string]interface{}, error)
- type OpenconfigSystem_System_Aaa_Authentication_Users_User_Config
- func (t *OpenconfigSystem_System_Aaa_Authentication_Users_User_Config) GetPassword() string
- func (t *OpenconfigSystem_System_Aaa_Authentication_Users_User_Config) GetPasswordHashed() string
- func (t *OpenconfigSystem_System_Aaa_Authentication_Users_User_Config) GetRole() OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union
- func (t *OpenconfigSystem_System_Aaa_Authentication_Users_User_Config) GetSshKey() string
- func (t *OpenconfigSystem_System_Aaa_Authentication_Users_User_Config) GetUsername() string
- func (*OpenconfigSystem_System_Aaa_Authentication_Users_User_Config) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Aaa_Authentication_Users_User_Config) To_OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union(i interface{}) (OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union, error)
- func (t *OpenconfigSystem_System_Aaa_Authentication_Users_User_Config) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Aaa_Authentication_Users_User_Config) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union
- type OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union_E_OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES
- type OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union_String
- type OpenconfigSystem_System_Aaa_Authentication_Users_User_State
- func (t *OpenconfigSystem_System_Aaa_Authentication_Users_User_State) GetPassword() string
- func (t *OpenconfigSystem_System_Aaa_Authentication_Users_User_State) GetPasswordHashed() string
- func (t *OpenconfigSystem_System_Aaa_Authentication_Users_User_State) GetRole() OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union
- func (t *OpenconfigSystem_System_Aaa_Authentication_Users_User_State) GetSshKey() string
- func (t *OpenconfigSystem_System_Aaa_Authentication_Users_User_State) GetUsername() string
- func (*OpenconfigSystem_System_Aaa_Authentication_Users_User_State) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Aaa_Authentication_Users_User_State) To_OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union(i interface{}) (OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union, error)
- func (t *OpenconfigSystem_System_Aaa_Authentication_Users_User_State) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Aaa_Authentication_Users_User_State) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union
- type OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union_E_OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES
- type OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union_String
- type OpenconfigSystem_System_Aaa_Authorization
- func (t *OpenconfigSystem_System_Aaa_Authorization) GetConfig() *OpenconfigSystem_System_Aaa_Authorization_Config
- func (t *OpenconfigSystem_System_Aaa_Authorization) GetEvents() *OpenconfigSystem_System_Aaa_Authorization_Events
- func (t *OpenconfigSystem_System_Aaa_Authorization) GetOrCreateConfig() *OpenconfigSystem_System_Aaa_Authorization_Config
- func (t *OpenconfigSystem_System_Aaa_Authorization) GetOrCreateEvents() *OpenconfigSystem_System_Aaa_Authorization_Events
- func (t *OpenconfigSystem_System_Aaa_Authorization) GetOrCreateState() *OpenconfigSystem_System_Aaa_Authorization_State
- func (t *OpenconfigSystem_System_Aaa_Authorization) GetState() *OpenconfigSystem_System_Aaa_Authorization_State
- func (*OpenconfigSystem_System_Aaa_Authorization) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Aaa_Authorization) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Aaa_Authorization) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Aaa_Authorization_Config
- func (t *OpenconfigSystem_System_Aaa_Authorization_Config) GetAuthorizationMethod() []OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union
- func (*OpenconfigSystem_System_Aaa_Authorization_Config) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Aaa_Authorization_Config) To_OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union(i interface{}) (OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union, ...)
- func (t *OpenconfigSystem_System_Aaa_Authorization_Config) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Aaa_Authorization_Config) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union
- type OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE
- type OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union_String
- type OpenconfigSystem_System_Aaa_Authorization_Events
- func (t *OpenconfigSystem_System_Aaa_Authorization_Events) AppendEvent(v *OpenconfigSystem_System_Aaa_Authorization_Events_Event) error
- func (t *OpenconfigSystem_System_Aaa_Authorization_Events) GetEvent(EventType E_OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE) *OpenconfigSystem_System_Aaa_Authorization_Events_Event
- func (t *OpenconfigSystem_System_Aaa_Authorization_Events) GetOrCreateEvent(EventType E_OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE) *OpenconfigSystem_System_Aaa_Authorization_Events_Event
- func (*OpenconfigSystem_System_Aaa_Authorization_Events) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Aaa_Authorization_Events) NewEvent(EventType E_OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE) (*OpenconfigSystem_System_Aaa_Authorization_Events_Event, error)
- func (t *OpenconfigSystem_System_Aaa_Authorization_Events) RenameEvent(oldK, newK E_OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE) error
- func (t *OpenconfigSystem_System_Aaa_Authorization_Events) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Aaa_Authorization_Events) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Aaa_Authorization_Events_Event
- func (t *OpenconfigSystem_System_Aaa_Authorization_Events_Event) GetConfig() *OpenconfigSystem_System_Aaa_Authorization_Events_Event_Config
- func (t *OpenconfigSystem_System_Aaa_Authorization_Events_Event) GetEventType() E_OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE
- func (t *OpenconfigSystem_System_Aaa_Authorization_Events_Event) GetOrCreateConfig() *OpenconfigSystem_System_Aaa_Authorization_Events_Event_Config
- func (t *OpenconfigSystem_System_Aaa_Authorization_Events_Event) GetOrCreateState() *OpenconfigSystem_System_Aaa_Authorization_Events_Event_State
- func (t *OpenconfigSystem_System_Aaa_Authorization_Events_Event) GetState() *OpenconfigSystem_System_Aaa_Authorization_Events_Event_State
- func (*OpenconfigSystem_System_Aaa_Authorization_Events_Event) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Aaa_Authorization_Events_Event) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Aaa_Authorization_Events_Event) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigSystem_System_Aaa_Authorization_Events_Event) ΛListKeyMap() (map[string]interface{}, error)
- type OpenconfigSystem_System_Aaa_Authorization_Events_Event_Config
- func (t *OpenconfigSystem_System_Aaa_Authorization_Events_Event_Config) GetEventType() E_OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE
- func (*OpenconfigSystem_System_Aaa_Authorization_Events_Event_Config) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Aaa_Authorization_Events_Event_Config) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Aaa_Authorization_Events_Event_Config) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Aaa_Authorization_Events_Event_State
- func (t *OpenconfigSystem_System_Aaa_Authorization_Events_Event_State) GetEventType() E_OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE
- func (*OpenconfigSystem_System_Aaa_Authorization_Events_Event_State) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Aaa_Authorization_Events_Event_State) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Aaa_Authorization_Events_Event_State) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Aaa_Authorization_State
- func (t *OpenconfigSystem_System_Aaa_Authorization_State) GetAuthorizationMethod() []OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union
- func (*OpenconfigSystem_System_Aaa_Authorization_State) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Aaa_Authorization_State) To_OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union(i interface{}) (OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union, ...)
- func (t *OpenconfigSystem_System_Aaa_Authorization_State) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Aaa_Authorization_State) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union
- type OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE
- type OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union_String
- type OpenconfigSystem_System_Aaa_Config
- type OpenconfigSystem_System_Aaa_ServerGroups
- func (t *OpenconfigSystem_System_Aaa_ServerGroups) AppendServerGroup(v *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup) error
- func (t *OpenconfigSystem_System_Aaa_ServerGroups) GetOrCreateServerGroup(Name string) *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup
- func (t *OpenconfigSystem_System_Aaa_ServerGroups) GetServerGroup(Name string) *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup
- func (*OpenconfigSystem_System_Aaa_ServerGroups) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Aaa_ServerGroups) NewServerGroup(Name string) (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup, error)
- func (t *OpenconfigSystem_System_Aaa_ServerGroups) RenameServerGroup(oldK, newK string) error
- func (t *OpenconfigSystem_System_Aaa_ServerGroups) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Aaa_ServerGroups) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup) GetConfig() *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Config
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup) GetName() string
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup) GetOrCreateConfig() *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Config
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup) GetOrCreateServers() *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup) GetOrCreateState() *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_State
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup) GetServers() *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup) GetState() *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_State
- func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup) ΛListKeyMap() (map[string]interface{}, error)
- type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Config
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Config) GetName() string
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Config) GetType() E_OpenconfigAaaTypes_AAA_SERVER_TYPE
- func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Config) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Config) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Config) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers) AppendServer(v *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server) error
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers) GetOrCreateServer(Address string) *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers) GetServer(Address string) *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server
- func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers) NewServer(Address string) (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server, error)
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers) RenameServer(oldK, newK string) error
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server) GetAddress() string
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server) GetConfig() *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Config
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server) GetOrCreateConfig() *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Config
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server) GetOrCreateRadius() *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server) GetOrCreateState() *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server) GetOrCreateTacacs() *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server) GetRadius() *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server) GetState() *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server) GetTacacs() *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs
- func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server) ΛListKeyMap() (map[string]interface{}, error)
- type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Config
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Config) GetAddress() string
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Config) GetName() string
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Config) GetTimeout() uint16
- func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Config) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Config) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Config) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius) GetConfig() ...
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius) GetOrCreateConfig() ...
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius) GetOrCreateState() ...
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius) GetState() ...
- func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_Config
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_Config) GetAcctPort() uint16
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_Config) GetAuthPort() uint16
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_Config) GetRetransmitAttempts() uint8
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_Config) GetSecretKey() string
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_Config) GetSourceAddress() string
- func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_Config) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_Config) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_Config) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State) GetAcctPort() uint16
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State) GetAuthPort() uint16
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State) GetCounters() ...
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State) GetOrCreateCounters() ...
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State) GetRetransmitAttempts() uint8
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State) GetSecretKey() string
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State) GetSourceAddress() string
- func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State_Counters
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State_Counters) GetAccessAccepts() uint64
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State_Counters) GetAccessRejects() uint64
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State_Counters) GetRetriedAccessRequests() uint64
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State_Counters) GetTimeoutAccessRequests() uint64
- func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State_Counters) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State_Counters) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State_Counters) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State) GetAddress() string
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State) GetConnectionAborts() uint64
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State) GetConnectionCloses() uint64
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State) GetConnectionFailures() uint64
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State) GetConnectionOpens() uint64
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State) GetConnectionTimeouts() uint64
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State) GetErrorsReceived() uint64
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State) GetMessagesReceived() uint64
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State) GetMessagesSent() uint64
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State) GetName() string
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State) GetTimeout() uint16
- func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs) GetConfig() ...
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs) GetOrCreateConfig() ...
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs) GetOrCreateState() ...
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs) GetState() ...
- func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_Config
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_Config) GetPort() uint16
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_Config) GetSecretKey() string
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_Config) GetSourceAddress() string
- func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_Config) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_Config) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_Config) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_State
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_State) GetPort() uint16
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_State) GetSecretKey() string
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_State) GetSourceAddress() string
- func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_State) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_State) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_State) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_State
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_State) GetName() string
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_State) GetType() E_OpenconfigAaaTypes_AAA_SERVER_TYPE
- func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_State) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_State) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_State) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Aaa_State
- type OpenconfigSystem_System_Alarms
- func (t *OpenconfigSystem_System_Alarms) AppendAlarm(v *OpenconfigSystem_System_Alarms_Alarm) error
- func (t *OpenconfigSystem_System_Alarms) GetAlarm(Id string) *OpenconfigSystem_System_Alarms_Alarm
- func (t *OpenconfigSystem_System_Alarms) GetOrCreateAlarm(Id string) *OpenconfigSystem_System_Alarms_Alarm
- func (*OpenconfigSystem_System_Alarms) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Alarms) NewAlarm(Id string) (*OpenconfigSystem_System_Alarms_Alarm, error)
- func (t *OpenconfigSystem_System_Alarms) RenameAlarm(oldK, newK string) error
- func (t *OpenconfigSystem_System_Alarms) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Alarms) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Alarms_Alarm
- func (t *OpenconfigSystem_System_Alarms_Alarm) GetConfig() *OpenconfigSystem_System_Alarms_Alarm_Config
- func (t *OpenconfigSystem_System_Alarms_Alarm) GetId() string
- func (t *OpenconfigSystem_System_Alarms_Alarm) GetOrCreateConfig() *OpenconfigSystem_System_Alarms_Alarm_Config
- func (t *OpenconfigSystem_System_Alarms_Alarm) GetOrCreateState() *OpenconfigSystem_System_Alarms_Alarm_State
- func (t *OpenconfigSystem_System_Alarms_Alarm) GetState() *OpenconfigSystem_System_Alarms_Alarm_State
- func (*OpenconfigSystem_System_Alarms_Alarm) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Alarms_Alarm) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Alarms_Alarm) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigSystem_System_Alarms_Alarm) ΛListKeyMap() (map[string]interface{}, error)
- type OpenconfigSystem_System_Alarms_Alarm_Config
- type OpenconfigSystem_System_Alarms_Alarm_State
- func (t *OpenconfigSystem_System_Alarms_Alarm_State) GetId() string
- func (t *OpenconfigSystem_System_Alarms_Alarm_State) GetResource() string
- func (t *OpenconfigSystem_System_Alarms_Alarm_State) GetSeverity() E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY
- func (t *OpenconfigSystem_System_Alarms_Alarm_State) GetText() string
- func (t *OpenconfigSystem_System_Alarms_Alarm_State) GetTimeCreated() uint64
- func (t *OpenconfigSystem_System_Alarms_Alarm_State) GetTypeId() OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union
- func (*OpenconfigSystem_System_Alarms_Alarm_State) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Alarms_Alarm_State) To_OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union(i interface{}) (OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union, error)
- func (t *OpenconfigSystem_System_Alarms_Alarm_State) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Alarms_Alarm_State) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union
- type OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union_E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID
- type OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union_String
- type OpenconfigSystem_System_Clock
- func (t *OpenconfigSystem_System_Clock) GetConfig() *OpenconfigSystem_System_Clock_Config
- func (t *OpenconfigSystem_System_Clock) GetOrCreateConfig() *OpenconfigSystem_System_Clock_Config
- func (t *OpenconfigSystem_System_Clock) GetOrCreateState() *OpenconfigSystem_System_Clock_State
- func (t *OpenconfigSystem_System_Clock) GetState() *OpenconfigSystem_System_Clock_State
- func (*OpenconfigSystem_System_Clock) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Clock) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Clock) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Clock_Config
- func (t *OpenconfigSystem_System_Clock_Config) GetTimezoneName() string
- func (*OpenconfigSystem_System_Clock_Config) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Clock_Config) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Clock_Config) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Clock_State
- func (t *OpenconfigSystem_System_Clock_State) GetTimezoneName() string
- func (*OpenconfigSystem_System_Clock_State) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Clock_State) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Clock_State) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Config
- func (t *OpenconfigSystem_System_Config) GetDomainName() string
- func (t *OpenconfigSystem_System_Config) GetHostname() string
- func (t *OpenconfigSystem_System_Config) GetLoginBanner() string
- func (t *OpenconfigSystem_System_Config) GetMotdBanner() string
- func (*OpenconfigSystem_System_Config) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Config) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Config) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Cpus
- func (t *OpenconfigSystem_System_Cpus) AppendCpu(v *OpenconfigSystem_System_Cpus_Cpu) error
- func (t *OpenconfigSystem_System_Cpus) GetCpu(Index OpenconfigSystem_System_Cpus_Cpu_State_Index_Union) *OpenconfigSystem_System_Cpus_Cpu
- func (t *OpenconfigSystem_System_Cpus) GetOrCreateCpu(Index OpenconfigSystem_System_Cpus_Cpu_State_Index_Union) *OpenconfigSystem_System_Cpus_Cpu
- func (*OpenconfigSystem_System_Cpus) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Cpus) NewCpu(Index OpenconfigSystem_System_Cpus_Cpu_State_Index_Union) (*OpenconfigSystem_System_Cpus_Cpu, error)
- func (t *OpenconfigSystem_System_Cpus) RenameCpu(oldK, newK OpenconfigSystem_System_Cpus_Cpu_State_Index_Union) error
- func (t *OpenconfigSystem_System_Cpus) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Cpus) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Cpus_Cpu
- func (t *OpenconfigSystem_System_Cpus_Cpu) GetIndex() OpenconfigSystem_System_Cpus_Cpu_State_Index_Union
- func (t *OpenconfigSystem_System_Cpus_Cpu) GetOrCreateState() *OpenconfigSystem_System_Cpus_Cpu_State
- func (t *OpenconfigSystem_System_Cpus_Cpu) GetState() *OpenconfigSystem_System_Cpus_Cpu_State
- func (*OpenconfigSystem_System_Cpus_Cpu) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Cpus_Cpu) To_OpenconfigSystem_System_Cpus_Cpu_State_Index_Union(i interface{}) (OpenconfigSystem_System_Cpus_Cpu_State_Index_Union, error)
- func (t *OpenconfigSystem_System_Cpus_Cpu) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Cpus_Cpu) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigSystem_System_Cpus_Cpu) ΛListKeyMap() (map[string]interface{}, error)
- type OpenconfigSystem_System_Cpus_Cpu_State
- func (t *OpenconfigSystem_System_Cpus_Cpu_State) GetHardwareInterrupt() *OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt
- func (t *OpenconfigSystem_System_Cpus_Cpu_State) GetIdle() *OpenconfigSystem_System_Cpus_Cpu_State_Idle
- func (t *OpenconfigSystem_System_Cpus_Cpu_State) GetIndex() OpenconfigSystem_System_Cpus_Cpu_State_Index_Union
- func (t *OpenconfigSystem_System_Cpus_Cpu_State) GetKernel() *OpenconfigSystem_System_Cpus_Cpu_State_Kernel
- func (t *OpenconfigSystem_System_Cpus_Cpu_State) GetNice() *OpenconfigSystem_System_Cpus_Cpu_State_Nice
- func (t *OpenconfigSystem_System_Cpus_Cpu_State) GetOrCreateHardwareInterrupt() *OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt
- func (t *OpenconfigSystem_System_Cpus_Cpu_State) GetOrCreateIdle() *OpenconfigSystem_System_Cpus_Cpu_State_Idle
- func (t *OpenconfigSystem_System_Cpus_Cpu_State) GetOrCreateKernel() *OpenconfigSystem_System_Cpus_Cpu_State_Kernel
- func (t *OpenconfigSystem_System_Cpus_Cpu_State) GetOrCreateNice() *OpenconfigSystem_System_Cpus_Cpu_State_Nice
- func (t *OpenconfigSystem_System_Cpus_Cpu_State) GetOrCreateSoftwareInterrupt() *OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt
- func (t *OpenconfigSystem_System_Cpus_Cpu_State) GetOrCreateTotal() *OpenconfigSystem_System_Cpus_Cpu_State_Total
- func (t *OpenconfigSystem_System_Cpus_Cpu_State) GetOrCreateUser() *OpenconfigSystem_System_Cpus_Cpu_State_User
- func (t *OpenconfigSystem_System_Cpus_Cpu_State) GetOrCreateWait() *OpenconfigSystem_System_Cpus_Cpu_State_Wait
- func (t *OpenconfigSystem_System_Cpus_Cpu_State) GetSoftwareInterrupt() *OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt
- func (t *OpenconfigSystem_System_Cpus_Cpu_State) GetTotal() *OpenconfigSystem_System_Cpus_Cpu_State_Total
- func (t *OpenconfigSystem_System_Cpus_Cpu_State) GetUser() *OpenconfigSystem_System_Cpus_Cpu_State_User
- func (t *OpenconfigSystem_System_Cpus_Cpu_State) GetWait() *OpenconfigSystem_System_Cpus_Cpu_State_Wait
- func (*OpenconfigSystem_System_Cpus_Cpu_State) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Cpus_Cpu_State) To_OpenconfigSystem_System_Cpus_Cpu_State_Index_Union(i interface{}) (OpenconfigSystem_System_Cpus_Cpu_State_Index_Union, error)
- func (t *OpenconfigSystem_System_Cpus_Cpu_State) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Cpus_Cpu_State) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt) GetAvg() uint8
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt) GetInstant() uint8
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt) GetInterval() uint64
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt) GetMax() uint8
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt) GetMaxTime() uint64
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt) GetMin() uint8
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt) GetMinTime() uint64
- func (*OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Cpus_Cpu_State_Idle
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_Idle) GetAvg() uint8
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_Idle) GetInstant() uint8
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_Idle) GetInterval() uint64
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_Idle) GetMax() uint8
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_Idle) GetMaxTime() uint64
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_Idle) GetMin() uint8
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_Idle) GetMinTime() uint64
- func (*OpenconfigSystem_System_Cpus_Cpu_State_Idle) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_Idle) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_Idle) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Cpus_Cpu_State_Index_Union
- type OpenconfigSystem_System_Cpus_Cpu_State_Index_Union_E_OpenconfigSystem_System_Cpus_Cpu_State_Index
- type OpenconfigSystem_System_Cpus_Cpu_State_Index_Union_Uint32
- type OpenconfigSystem_System_Cpus_Cpu_State_Kernel
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_Kernel) GetAvg() uint8
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_Kernel) GetInstant() uint8
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_Kernel) GetInterval() uint64
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_Kernel) GetMax() uint8
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_Kernel) GetMaxTime() uint64
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_Kernel) GetMin() uint8
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_Kernel) GetMinTime() uint64
- func (*OpenconfigSystem_System_Cpus_Cpu_State_Kernel) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_Kernel) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_Kernel) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Cpus_Cpu_State_Nice
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_Nice) GetAvg() uint8
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_Nice) GetInstant() uint8
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_Nice) GetInterval() uint64
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_Nice) GetMax() uint8
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_Nice) GetMaxTime() uint64
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_Nice) GetMin() uint8
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_Nice) GetMinTime() uint64
- func (*OpenconfigSystem_System_Cpus_Cpu_State_Nice) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_Nice) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_Nice) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt) GetAvg() uint8
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt) GetInstant() uint8
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt) GetInterval() uint64
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt) GetMax() uint8
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt) GetMaxTime() uint64
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt) GetMin() uint8
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt) GetMinTime() uint64
- func (*OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Cpus_Cpu_State_Total
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_Total) GetAvg() uint8
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_Total) GetInstant() uint8
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_Total) GetInterval() uint64
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_Total) GetMax() uint8
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_Total) GetMaxTime() uint64
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_Total) GetMin() uint8
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_Total) GetMinTime() uint64
- func (*OpenconfigSystem_System_Cpus_Cpu_State_Total) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_Total) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_Total) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Cpus_Cpu_State_User
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_User) GetAvg() uint8
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_User) GetInstant() uint8
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_User) GetInterval() uint64
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_User) GetMax() uint8
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_User) GetMaxTime() uint64
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_User) GetMin() uint8
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_User) GetMinTime() uint64
- func (*OpenconfigSystem_System_Cpus_Cpu_State_User) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_User) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_User) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Cpus_Cpu_State_Wait
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_Wait) GetAvg() uint8
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_Wait) GetInstant() uint8
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_Wait) GetInterval() uint64
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_Wait) GetMax() uint8
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_Wait) GetMaxTime() uint64
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_Wait) GetMin() uint8
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_Wait) GetMinTime() uint64
- func (*OpenconfigSystem_System_Cpus_Cpu_State_Wait) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_Wait) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Cpus_Cpu_State_Wait) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Dns
- func (t *OpenconfigSystem_System_Dns) GetConfig() *OpenconfigSystem_System_Dns_Config
- func (t *OpenconfigSystem_System_Dns) GetHostEntries() *OpenconfigSystem_System_Dns_HostEntries
- func (t *OpenconfigSystem_System_Dns) GetOrCreateConfig() *OpenconfigSystem_System_Dns_Config
- func (t *OpenconfigSystem_System_Dns) GetOrCreateHostEntries() *OpenconfigSystem_System_Dns_HostEntries
- func (t *OpenconfigSystem_System_Dns) GetOrCreateServers() *OpenconfigSystem_System_Dns_Servers
- func (t *OpenconfigSystem_System_Dns) GetOrCreateState() *OpenconfigSystem_System_Dns_State
- func (t *OpenconfigSystem_System_Dns) GetServers() *OpenconfigSystem_System_Dns_Servers
- func (t *OpenconfigSystem_System_Dns) GetState() *OpenconfigSystem_System_Dns_State
- func (*OpenconfigSystem_System_Dns) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Dns) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Dns) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Dns_Config
- func (t *OpenconfigSystem_System_Dns_Config) GetSearch() []string
- func (*OpenconfigSystem_System_Dns_Config) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Dns_Config) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Dns_Config) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Dns_HostEntries
- func (t *OpenconfigSystem_System_Dns_HostEntries) AppendHostEntry(v *OpenconfigSystem_System_Dns_HostEntries_HostEntry) error
- func (t *OpenconfigSystem_System_Dns_HostEntries) GetHostEntry(Hostname string) *OpenconfigSystem_System_Dns_HostEntries_HostEntry
- func (t *OpenconfigSystem_System_Dns_HostEntries) GetOrCreateHostEntry(Hostname string) *OpenconfigSystem_System_Dns_HostEntries_HostEntry
- func (*OpenconfigSystem_System_Dns_HostEntries) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Dns_HostEntries) NewHostEntry(Hostname string) (*OpenconfigSystem_System_Dns_HostEntries_HostEntry, error)
- func (t *OpenconfigSystem_System_Dns_HostEntries) RenameHostEntry(oldK, newK string) error
- func (t *OpenconfigSystem_System_Dns_HostEntries) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Dns_HostEntries) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Dns_HostEntries_HostEntry
- func (t *OpenconfigSystem_System_Dns_HostEntries_HostEntry) GetConfig() *OpenconfigSystem_System_Dns_HostEntries_HostEntry_Config
- func (t *OpenconfigSystem_System_Dns_HostEntries_HostEntry) GetHostname() string
- func (t *OpenconfigSystem_System_Dns_HostEntries_HostEntry) GetOrCreateConfig() *OpenconfigSystem_System_Dns_HostEntries_HostEntry_Config
- func (t *OpenconfigSystem_System_Dns_HostEntries_HostEntry) GetOrCreateState() *OpenconfigSystem_System_Dns_HostEntries_HostEntry_State
- func (t *OpenconfigSystem_System_Dns_HostEntries_HostEntry) GetState() *OpenconfigSystem_System_Dns_HostEntries_HostEntry_State
- func (*OpenconfigSystem_System_Dns_HostEntries_HostEntry) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Dns_HostEntries_HostEntry) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Dns_HostEntries_HostEntry) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigSystem_System_Dns_HostEntries_HostEntry) ΛListKeyMap() (map[string]interface{}, error)
- type OpenconfigSystem_System_Dns_HostEntries_HostEntry_Config
- func (t *OpenconfigSystem_System_Dns_HostEntries_HostEntry_Config) GetAlias() []string
- func (t *OpenconfigSystem_System_Dns_HostEntries_HostEntry_Config) GetHostname() string
- func (t *OpenconfigSystem_System_Dns_HostEntries_HostEntry_Config) GetIpv4Address() []string
- func (t *OpenconfigSystem_System_Dns_HostEntries_HostEntry_Config) GetIpv6Address() []string
- func (*OpenconfigSystem_System_Dns_HostEntries_HostEntry_Config) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Dns_HostEntries_HostEntry_Config) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Dns_HostEntries_HostEntry_Config) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Dns_HostEntries_HostEntry_State
- func (t *OpenconfigSystem_System_Dns_HostEntries_HostEntry_State) GetAlias() []string
- func (t *OpenconfigSystem_System_Dns_HostEntries_HostEntry_State) GetHostname() string
- func (t *OpenconfigSystem_System_Dns_HostEntries_HostEntry_State) GetIpv4Address() []string
- func (t *OpenconfigSystem_System_Dns_HostEntries_HostEntry_State) GetIpv6Address() []string
- func (*OpenconfigSystem_System_Dns_HostEntries_HostEntry_State) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Dns_HostEntries_HostEntry_State) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Dns_HostEntries_HostEntry_State) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Dns_Servers
- func (t *OpenconfigSystem_System_Dns_Servers) AppendServer(v *OpenconfigSystem_System_Dns_Servers_Server) error
- func (t *OpenconfigSystem_System_Dns_Servers) GetOrCreateServer(Address string) *OpenconfigSystem_System_Dns_Servers_Server
- func (t *OpenconfigSystem_System_Dns_Servers) GetServer(Address string) *OpenconfigSystem_System_Dns_Servers_Server
- func (*OpenconfigSystem_System_Dns_Servers) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Dns_Servers) NewServer(Address string) (*OpenconfigSystem_System_Dns_Servers_Server, error)
- func (t *OpenconfigSystem_System_Dns_Servers) RenameServer(oldK, newK string) error
- func (t *OpenconfigSystem_System_Dns_Servers) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Dns_Servers) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Dns_Servers_Server
- func (t *OpenconfigSystem_System_Dns_Servers_Server) GetAddress() string
- func (t *OpenconfigSystem_System_Dns_Servers_Server) GetConfig() *OpenconfigSystem_System_Dns_Servers_Server_Config
- func (t *OpenconfigSystem_System_Dns_Servers_Server) GetOrCreateConfig() *OpenconfigSystem_System_Dns_Servers_Server_Config
- func (t *OpenconfigSystem_System_Dns_Servers_Server) GetOrCreateState() *OpenconfigSystem_System_Dns_Servers_Server_State
- func (t *OpenconfigSystem_System_Dns_Servers_Server) GetState() *OpenconfigSystem_System_Dns_Servers_Server_State
- func (*OpenconfigSystem_System_Dns_Servers_Server) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Dns_Servers_Server) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Dns_Servers_Server) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigSystem_System_Dns_Servers_Server) ΛListKeyMap() (map[string]interface{}, error)
- type OpenconfigSystem_System_Dns_Servers_Server_Config
- func (t *OpenconfigSystem_System_Dns_Servers_Server_Config) GetAddress() string
- func (t *OpenconfigSystem_System_Dns_Servers_Server_Config) GetPort() uint16
- func (*OpenconfigSystem_System_Dns_Servers_Server_Config) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Dns_Servers_Server_Config) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Dns_Servers_Server_Config) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Dns_Servers_Server_State
- func (t *OpenconfigSystem_System_Dns_Servers_Server_State) GetAddress() string
- func (t *OpenconfigSystem_System_Dns_Servers_Server_State) GetPort() uint16
- func (*OpenconfigSystem_System_Dns_Servers_Server_State) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Dns_Servers_Server_State) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Dns_Servers_Server_State) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Dns_State
- type OpenconfigSystem_System_GrpcServer
- func (t *OpenconfigSystem_System_GrpcServer) GetConfig() *OpenconfigSystem_System_GrpcServer_Config
- func (t *OpenconfigSystem_System_GrpcServer) GetOrCreateConfig() *OpenconfigSystem_System_GrpcServer_Config
- func (t *OpenconfigSystem_System_GrpcServer) GetOrCreateState() *OpenconfigSystem_System_GrpcServer_State
- func (t *OpenconfigSystem_System_GrpcServer) GetState() *OpenconfigSystem_System_GrpcServer_State
- func (*OpenconfigSystem_System_GrpcServer) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_GrpcServer) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_GrpcServer) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_GrpcServer_Config
- func (t *OpenconfigSystem_System_GrpcServer_Config) GetCertificateId() string
- func (t *OpenconfigSystem_System_GrpcServer_Config) GetEnable() bool
- func (t *OpenconfigSystem_System_GrpcServer_Config) GetListenAddresses() []OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union
- func (t *OpenconfigSystem_System_GrpcServer_Config) GetPort() uint16
- func (t *OpenconfigSystem_System_GrpcServer_Config) GetTransportSecurity() bool
- func (*OpenconfigSystem_System_GrpcServer_Config) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_GrpcServer_Config) To_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union(i interface{}) (OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union, error)
- func (t *OpenconfigSystem_System_GrpcServer_Config) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_GrpcServer_Config) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union
- type OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union_E_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses
- type OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union_String
- type OpenconfigSystem_System_GrpcServer_State
- func (t *OpenconfigSystem_System_GrpcServer_State) GetCertificateId() string
- func (t *OpenconfigSystem_System_GrpcServer_State) GetEnable() bool
- func (t *OpenconfigSystem_System_GrpcServer_State) GetListenAddresses() []OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union
- func (t *OpenconfigSystem_System_GrpcServer_State) GetPort() uint16
- func (t *OpenconfigSystem_System_GrpcServer_State) GetTransportSecurity() bool
- func (*OpenconfigSystem_System_GrpcServer_State) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_GrpcServer_State) To_OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union(i interface{}) (OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union, error)
- func (t *OpenconfigSystem_System_GrpcServer_State) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_GrpcServer_State) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union
- type OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union_E_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses
- type OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union_String
- type OpenconfigSystem_System_Logging
- func (t *OpenconfigSystem_System_Logging) GetConsole() *OpenconfigSystem_System_Logging_Console
- func (t *OpenconfigSystem_System_Logging) GetOrCreateConsole() *OpenconfigSystem_System_Logging_Console
- func (t *OpenconfigSystem_System_Logging) GetOrCreateRemoteServers() *OpenconfigSystem_System_Logging_RemoteServers
- func (t *OpenconfigSystem_System_Logging) GetRemoteServers() *OpenconfigSystem_System_Logging_RemoteServers
- func (*OpenconfigSystem_System_Logging) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Logging) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Logging) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Logging_Console
- func (t *OpenconfigSystem_System_Logging_Console) GetConfig() *OpenconfigSystem_System_Logging_Console_Config
- func (t *OpenconfigSystem_System_Logging_Console) GetOrCreateConfig() *OpenconfigSystem_System_Logging_Console_Config
- func (t *OpenconfigSystem_System_Logging_Console) GetOrCreateSelectors() *OpenconfigSystem_System_Logging_Console_Selectors
- func (t *OpenconfigSystem_System_Logging_Console) GetOrCreateState() *OpenconfigSystem_System_Logging_Console_State
- func (t *OpenconfigSystem_System_Logging_Console) GetSelectors() *OpenconfigSystem_System_Logging_Console_Selectors
- func (t *OpenconfigSystem_System_Logging_Console) GetState() *OpenconfigSystem_System_Logging_Console_State
- func (*OpenconfigSystem_System_Logging_Console) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Logging_Console) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Logging_Console) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Logging_Console_Config
- type OpenconfigSystem_System_Logging_Console_Selectors
- func (t *OpenconfigSystem_System_Logging_Console_Selectors) AppendSelector(v *OpenconfigSystem_System_Logging_Console_Selectors_Selector) error
- func (t *OpenconfigSystem_System_Logging_Console_Selectors) GetOrCreateSelector(Facility E_OpenconfigSystemLogging_SYSLOG_FACILITY, ...) *OpenconfigSystem_System_Logging_Console_Selectors_Selector
- func (t *OpenconfigSystem_System_Logging_Console_Selectors) GetSelector(Facility E_OpenconfigSystemLogging_SYSLOG_FACILITY, ...) *OpenconfigSystem_System_Logging_Console_Selectors_Selector
- func (*OpenconfigSystem_System_Logging_Console_Selectors) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Logging_Console_Selectors) NewSelector(Facility E_OpenconfigSystemLogging_SYSLOG_FACILITY, ...) (*OpenconfigSystem_System_Logging_Console_Selectors_Selector, error)
- func (t *OpenconfigSystem_System_Logging_Console_Selectors) RenameSelector(oldK, newK OpenconfigSystem_System_Logging_Console_Selectors_Selector_Key) error
- func (t *OpenconfigSystem_System_Logging_Console_Selectors) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Logging_Console_Selectors) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Logging_Console_Selectors_Selector
- func (t *OpenconfigSystem_System_Logging_Console_Selectors_Selector) GetConfig() *OpenconfigSystem_System_Logging_Console_Selectors_Selector_Config
- func (t *OpenconfigSystem_System_Logging_Console_Selectors_Selector) GetFacility() E_OpenconfigSystemLogging_SYSLOG_FACILITY
- func (t *OpenconfigSystem_System_Logging_Console_Selectors_Selector) GetOrCreateConfig() *OpenconfigSystem_System_Logging_Console_Selectors_Selector_Config
- func (t *OpenconfigSystem_System_Logging_Console_Selectors_Selector) GetOrCreateState() *OpenconfigSystem_System_Logging_Console_Selectors_Selector_State
- func (t *OpenconfigSystem_System_Logging_Console_Selectors_Selector) GetSeverity() E_OpenconfigSystemLogging_SyslogSeverity
- func (t *OpenconfigSystem_System_Logging_Console_Selectors_Selector) GetState() *OpenconfigSystem_System_Logging_Console_Selectors_Selector_State
- func (*OpenconfigSystem_System_Logging_Console_Selectors_Selector) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Logging_Console_Selectors_Selector) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Logging_Console_Selectors_Selector) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigSystem_System_Logging_Console_Selectors_Selector) ΛListKeyMap() (map[string]interface{}, error)
- type OpenconfigSystem_System_Logging_Console_Selectors_Selector_Config
- func (t *OpenconfigSystem_System_Logging_Console_Selectors_Selector_Config) GetFacility() E_OpenconfigSystemLogging_SYSLOG_FACILITY
- func (t *OpenconfigSystem_System_Logging_Console_Selectors_Selector_Config) GetSeverity() E_OpenconfigSystemLogging_SyslogSeverity
- func (*OpenconfigSystem_System_Logging_Console_Selectors_Selector_Config) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Logging_Console_Selectors_Selector_Config) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Logging_Console_Selectors_Selector_Config) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Logging_Console_Selectors_Selector_Key
- type OpenconfigSystem_System_Logging_Console_Selectors_Selector_State
- func (t *OpenconfigSystem_System_Logging_Console_Selectors_Selector_State) GetFacility() E_OpenconfigSystemLogging_SYSLOG_FACILITY
- func (t *OpenconfigSystem_System_Logging_Console_Selectors_Selector_State) GetSeverity() E_OpenconfigSystemLogging_SyslogSeverity
- func (*OpenconfigSystem_System_Logging_Console_Selectors_Selector_State) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Logging_Console_Selectors_Selector_State) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Logging_Console_Selectors_Selector_State) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Logging_Console_State
- type OpenconfigSystem_System_Logging_RemoteServers
- func (t *OpenconfigSystem_System_Logging_RemoteServers) AppendRemoteServer(v *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer) error
- func (t *OpenconfigSystem_System_Logging_RemoteServers) GetOrCreateRemoteServer(Host string) *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer
- func (t *OpenconfigSystem_System_Logging_RemoteServers) GetRemoteServer(Host string) *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer
- func (*OpenconfigSystem_System_Logging_RemoteServers) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Logging_RemoteServers) NewRemoteServer(Host string) (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer, error)
- func (t *OpenconfigSystem_System_Logging_RemoteServers) RenameRemoteServer(oldK, newK string) error
- func (t *OpenconfigSystem_System_Logging_RemoteServers) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Logging_RemoteServers) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Logging_RemoteServers_RemoteServer
- func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer) GetConfig() *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Config
- func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer) GetHost() string
- func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer) GetOrCreateConfig() *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Config
- func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer) GetOrCreateSelectors() *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors
- func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer) GetOrCreateState() *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_State
- func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer) GetSelectors() *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors
- func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer) GetState() *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_State
- func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer) ΛListKeyMap() (map[string]interface{}, error)
- type OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Config
- func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Config) GetHost() string
- func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Config) GetRemotePort() uint16
- func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Config) GetSourceAddress() string
- func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Config) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Config) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Config) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors
- func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors) AppendSelector(...) error
- func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors) GetOrCreateSelector(Facility E_OpenconfigSystemLogging_SYSLOG_FACILITY, ...) *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector
- func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors) GetSelector(Facility E_OpenconfigSystemLogging_SYSLOG_FACILITY, ...) *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector
- func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors) NewSelector(Facility E_OpenconfigSystemLogging_SYSLOG_FACILITY, ...) (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector, ...)
- func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors) RenameSelector(...) error
- func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector
- func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector) GetConfig() ...
- func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector) GetFacility() E_OpenconfigSystemLogging_SYSLOG_FACILITY
- func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector) GetOrCreateConfig() ...
- func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector) GetOrCreateState() ...
- func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector) GetSeverity() E_OpenconfigSystemLogging_SyslogSeverity
- func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector) GetState() ...
- func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector) ΛListKeyMap() (map[string]interface{}, error)
- type OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_Config
- func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_Config) GetFacility() E_OpenconfigSystemLogging_SYSLOG_FACILITY
- func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_Config) GetSeverity() E_OpenconfigSystemLogging_SyslogSeverity
- func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_Config) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_Config) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_Config) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_Key
- type OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_State
- func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_State) GetFacility() E_OpenconfigSystemLogging_SYSLOG_FACILITY
- func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_State) GetSeverity() E_OpenconfigSystemLogging_SyslogSeverity
- func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_State) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_State) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_State) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_State
- func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_State) GetHost() string
- func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_State) GetRemotePort() uint16
- func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_State) GetSourceAddress() string
- func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_State) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_State) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_State) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Memory
- func (t *OpenconfigSystem_System_Memory) GetConfig() *OpenconfigSystem_System_Memory_Config
- func (t *OpenconfigSystem_System_Memory) GetOrCreateConfig() *OpenconfigSystem_System_Memory_Config
- func (t *OpenconfigSystem_System_Memory) GetOrCreateState() *OpenconfigSystem_System_Memory_State
- func (t *OpenconfigSystem_System_Memory) GetState() *OpenconfigSystem_System_Memory_State
- func (*OpenconfigSystem_System_Memory) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Memory) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Memory) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Memory_Config
- type OpenconfigSystem_System_Memory_State
- func (t *OpenconfigSystem_System_Memory_State) GetPhysical() uint64
- func (t *OpenconfigSystem_System_Memory_State) GetReserved() uint64
- func (*OpenconfigSystem_System_Memory_State) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Memory_State) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Memory_State) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Ntp
- func (t *OpenconfigSystem_System_Ntp) GetConfig() *OpenconfigSystem_System_Ntp_Config
- func (t *OpenconfigSystem_System_Ntp) GetNtpKeys() *OpenconfigSystem_System_Ntp_NtpKeys
- func (t *OpenconfigSystem_System_Ntp) GetOrCreateConfig() *OpenconfigSystem_System_Ntp_Config
- func (t *OpenconfigSystem_System_Ntp) GetOrCreateNtpKeys() *OpenconfigSystem_System_Ntp_NtpKeys
- func (t *OpenconfigSystem_System_Ntp) GetOrCreateServers() *OpenconfigSystem_System_Ntp_Servers
- func (t *OpenconfigSystem_System_Ntp) GetOrCreateState() *OpenconfigSystem_System_Ntp_State
- func (t *OpenconfigSystem_System_Ntp) GetServers() *OpenconfigSystem_System_Ntp_Servers
- func (t *OpenconfigSystem_System_Ntp) GetState() *OpenconfigSystem_System_Ntp_State
- func (*OpenconfigSystem_System_Ntp) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Ntp) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Ntp) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Ntp_Config
- func (t *OpenconfigSystem_System_Ntp_Config) GetEnableNtpAuth() bool
- func (t *OpenconfigSystem_System_Ntp_Config) GetEnabled() bool
- func (t *OpenconfigSystem_System_Ntp_Config) GetNtpSourceAddress() string
- func (*OpenconfigSystem_System_Ntp_Config) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Ntp_Config) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Ntp_Config) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Ntp_NtpKeys
- func (t *OpenconfigSystem_System_Ntp_NtpKeys) AppendNtpKey(v *OpenconfigSystem_System_Ntp_NtpKeys_NtpKey) error
- func (t *OpenconfigSystem_System_Ntp_NtpKeys) GetNtpKey(KeyId uint16) *OpenconfigSystem_System_Ntp_NtpKeys_NtpKey
- func (t *OpenconfigSystem_System_Ntp_NtpKeys) GetOrCreateNtpKey(KeyId uint16) *OpenconfigSystem_System_Ntp_NtpKeys_NtpKey
- func (*OpenconfigSystem_System_Ntp_NtpKeys) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Ntp_NtpKeys) NewNtpKey(KeyId uint16) (*OpenconfigSystem_System_Ntp_NtpKeys_NtpKey, error)
- func (t *OpenconfigSystem_System_Ntp_NtpKeys) RenameNtpKey(oldK, newK uint16) error
- func (t *OpenconfigSystem_System_Ntp_NtpKeys) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Ntp_NtpKeys) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Ntp_NtpKeys_NtpKey
- func (t *OpenconfigSystem_System_Ntp_NtpKeys_NtpKey) GetConfig() *OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_Config
- func (t *OpenconfigSystem_System_Ntp_NtpKeys_NtpKey) GetKeyId() uint16
- func (t *OpenconfigSystem_System_Ntp_NtpKeys_NtpKey) GetOrCreateConfig() *OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_Config
- func (t *OpenconfigSystem_System_Ntp_NtpKeys_NtpKey) GetOrCreateState() *OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_State
- func (t *OpenconfigSystem_System_Ntp_NtpKeys_NtpKey) GetState() *OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_State
- func (*OpenconfigSystem_System_Ntp_NtpKeys_NtpKey) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Ntp_NtpKeys_NtpKey) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Ntp_NtpKeys_NtpKey) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigSystem_System_Ntp_NtpKeys_NtpKey) ΛListKeyMap() (map[string]interface{}, error)
- type OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_Config
- func (t *OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_Config) GetKeyId() uint16
- func (t *OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_Config) GetKeyType() E_OpenconfigSystem_NTP_AUTH_TYPE
- func (t *OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_Config) GetKeyValue() string
- func (*OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_Config) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_Config) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_Config) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_State
- func (t *OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_State) GetKeyId() uint16
- func (t *OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_State) GetKeyType() E_OpenconfigSystem_NTP_AUTH_TYPE
- func (t *OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_State) GetKeyValue() string
- func (*OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_State) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_State) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_State) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Ntp_Servers
- func (t *OpenconfigSystem_System_Ntp_Servers) AppendServer(v *OpenconfigSystem_System_Ntp_Servers_Server) error
- func (t *OpenconfigSystem_System_Ntp_Servers) GetOrCreateServer(Address string) *OpenconfigSystem_System_Ntp_Servers_Server
- func (t *OpenconfigSystem_System_Ntp_Servers) GetServer(Address string) *OpenconfigSystem_System_Ntp_Servers_Server
- func (*OpenconfigSystem_System_Ntp_Servers) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Ntp_Servers) NewServer(Address string) (*OpenconfigSystem_System_Ntp_Servers_Server, error)
- func (t *OpenconfigSystem_System_Ntp_Servers) RenameServer(oldK, newK string) error
- func (t *OpenconfigSystem_System_Ntp_Servers) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Ntp_Servers) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Ntp_Servers_Server
- func (t *OpenconfigSystem_System_Ntp_Servers_Server) GetAddress() string
- func (t *OpenconfigSystem_System_Ntp_Servers_Server) GetConfig() *OpenconfigSystem_System_Ntp_Servers_Server_Config
- func (t *OpenconfigSystem_System_Ntp_Servers_Server) GetOrCreateConfig() *OpenconfigSystem_System_Ntp_Servers_Server_Config
- func (t *OpenconfigSystem_System_Ntp_Servers_Server) GetOrCreateState() *OpenconfigSystem_System_Ntp_Servers_Server_State
- func (t *OpenconfigSystem_System_Ntp_Servers_Server) GetState() *OpenconfigSystem_System_Ntp_Servers_Server_State
- func (*OpenconfigSystem_System_Ntp_Servers_Server) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Ntp_Servers_Server) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Ntp_Servers_Server) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigSystem_System_Ntp_Servers_Server) ΛListKeyMap() (map[string]interface{}, error)
- type OpenconfigSystem_System_Ntp_Servers_Server_Config
- func (t *OpenconfigSystem_System_Ntp_Servers_Server_Config) GetAddress() string
- func (t *OpenconfigSystem_System_Ntp_Servers_Server_Config) GetAssociationType() E_OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType
- func (t *OpenconfigSystem_System_Ntp_Servers_Server_Config) GetIburst() bool
- func (t *OpenconfigSystem_System_Ntp_Servers_Server_Config) GetPort() uint16
- func (t *OpenconfigSystem_System_Ntp_Servers_Server_Config) GetPrefer() bool
- func (t *OpenconfigSystem_System_Ntp_Servers_Server_Config) GetVersion() uint8
- func (*OpenconfigSystem_System_Ntp_Servers_Server_Config) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Ntp_Servers_Server_Config) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Ntp_Servers_Server_Config) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Ntp_Servers_Server_State
- func (t *OpenconfigSystem_System_Ntp_Servers_Server_State) GetAddress() string
- func (t *OpenconfigSystem_System_Ntp_Servers_Server_State) GetAssociationType() E_OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType
- func (t *OpenconfigSystem_System_Ntp_Servers_Server_State) GetIburst() bool
- func (t *OpenconfigSystem_System_Ntp_Servers_Server_State) GetOffset() uint64
- func (t *OpenconfigSystem_System_Ntp_Servers_Server_State) GetPollInterval() uint32
- func (t *OpenconfigSystem_System_Ntp_Servers_Server_State) GetPort() uint16
- func (t *OpenconfigSystem_System_Ntp_Servers_Server_State) GetPrefer() bool
- func (t *OpenconfigSystem_System_Ntp_Servers_Server_State) GetRootDelay() uint32
- func (t *OpenconfigSystem_System_Ntp_Servers_Server_State) GetRootDispersion() uint64
- func (t *OpenconfigSystem_System_Ntp_Servers_Server_State) GetStratum() uint8
- func (t *OpenconfigSystem_System_Ntp_Servers_Server_State) GetVersion() uint8
- func (*OpenconfigSystem_System_Ntp_Servers_Server_State) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Ntp_Servers_Server_State) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Ntp_Servers_Server_State) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Ntp_State
- func (t *OpenconfigSystem_System_Ntp_State) GetAuthMismatch() uint64
- func (t *OpenconfigSystem_System_Ntp_State) GetEnableNtpAuth() bool
- func (t *OpenconfigSystem_System_Ntp_State) GetEnabled() bool
- func (t *OpenconfigSystem_System_Ntp_State) GetNtpSourceAddress() string
- func (*OpenconfigSystem_System_Ntp_State) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Ntp_State) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Ntp_State) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Processes
- func (t *OpenconfigSystem_System_Processes) AppendProcess(v *OpenconfigSystem_System_Processes_Process) error
- func (t *OpenconfigSystem_System_Processes) GetOrCreateProcess(Pid uint64) *OpenconfigSystem_System_Processes_Process
- func (t *OpenconfigSystem_System_Processes) GetProcess(Pid uint64) *OpenconfigSystem_System_Processes_Process
- func (*OpenconfigSystem_System_Processes) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Processes) NewProcess(Pid uint64) (*OpenconfigSystem_System_Processes_Process, error)
- func (t *OpenconfigSystem_System_Processes) RenameProcess(oldK, newK uint64) error
- func (t *OpenconfigSystem_System_Processes) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Processes) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_Processes_Process
- func (t *OpenconfigSystem_System_Processes_Process) GetOrCreateState() *OpenconfigSystem_System_Processes_Process_State
- func (t *OpenconfigSystem_System_Processes_Process) GetPid() uint64
- func (t *OpenconfigSystem_System_Processes_Process) GetState() *OpenconfigSystem_System_Processes_Process_State
- func (*OpenconfigSystem_System_Processes_Process) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Processes_Process) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Processes_Process) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigSystem_System_Processes_Process) ΛListKeyMap() (map[string]interface{}, error)
- type OpenconfigSystem_System_Processes_Process_State
- func (t *OpenconfigSystem_System_Processes_Process_State) GetArgs() []string
- func (t *OpenconfigSystem_System_Processes_Process_State) GetCpuUsageSystem() uint64
- func (t *OpenconfigSystem_System_Processes_Process_State) GetCpuUsageUser() uint64
- func (t *OpenconfigSystem_System_Processes_Process_State) GetCpuUtilization() uint8
- func (t *OpenconfigSystem_System_Processes_Process_State) GetMemoryUsage() uint64
- func (t *OpenconfigSystem_System_Processes_Process_State) GetMemoryUtilization() uint8
- func (t *OpenconfigSystem_System_Processes_Process_State) GetName() string
- func (t *OpenconfigSystem_System_Processes_Process_State) GetPid() uint64
- func (t *OpenconfigSystem_System_Processes_Process_State) GetStartTime() uint64
- func (t *OpenconfigSystem_System_Processes_Process_State) GetUptime() uint64
- func (*OpenconfigSystem_System_Processes_Process_State) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_Processes_Process_State) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_Processes_Process_State) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_SshServer
- func (t *OpenconfigSystem_System_SshServer) GetConfig() *OpenconfigSystem_System_SshServer_Config
- func (t *OpenconfigSystem_System_SshServer) GetOrCreateConfig() *OpenconfigSystem_System_SshServer_Config
- func (t *OpenconfigSystem_System_SshServer) GetOrCreateState() *OpenconfigSystem_System_SshServer_State
- func (t *OpenconfigSystem_System_SshServer) GetState() *OpenconfigSystem_System_SshServer_State
- func (*OpenconfigSystem_System_SshServer) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_SshServer) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_SshServer) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_SshServer_Config
- func (t *OpenconfigSystem_System_SshServer_Config) GetEnable() bool
- func (t *OpenconfigSystem_System_SshServer_Config) GetProtocolVersion() E_OpenconfigSystem_System_SshServer_Config_ProtocolVersion
- func (t *OpenconfigSystem_System_SshServer_Config) GetRateLimit() uint16
- func (t *OpenconfigSystem_System_SshServer_Config) GetSessionLimit() uint16
- func (t *OpenconfigSystem_System_SshServer_Config) GetTimeout() uint16
- func (*OpenconfigSystem_System_SshServer_Config) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_SshServer_Config) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_SshServer_Config) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_SshServer_State
- func (t *OpenconfigSystem_System_SshServer_State) GetEnable() bool
- func (t *OpenconfigSystem_System_SshServer_State) GetProtocolVersion() E_OpenconfigSystem_System_SshServer_Config_ProtocolVersion
- func (t *OpenconfigSystem_System_SshServer_State) GetRateLimit() uint16
- func (t *OpenconfigSystem_System_SshServer_State) GetSessionLimit() uint16
- func (t *OpenconfigSystem_System_SshServer_State) GetTimeout() uint16
- func (*OpenconfigSystem_System_SshServer_State) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_SshServer_State) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_SshServer_State) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_State
- func (t *OpenconfigSystem_System_State) GetBootTime() uint64
- func (t *OpenconfigSystem_System_State) GetCurrentDatetime() string
- func (t *OpenconfigSystem_System_State) GetDomainName() string
- func (t *OpenconfigSystem_System_State) GetHostname() string
- func (t *OpenconfigSystem_System_State) GetLoginBanner() string
- func (t *OpenconfigSystem_System_State) GetMotdBanner() string
- func (*OpenconfigSystem_System_State) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_State) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_State) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_TelnetServer
- func (t *OpenconfigSystem_System_TelnetServer) GetConfig() *OpenconfigSystem_System_TelnetServer_Config
- func (t *OpenconfigSystem_System_TelnetServer) GetOrCreateConfig() *OpenconfigSystem_System_TelnetServer_Config
- func (t *OpenconfigSystem_System_TelnetServer) GetOrCreateState() *OpenconfigSystem_System_TelnetServer_State
- func (t *OpenconfigSystem_System_TelnetServer) GetState() *OpenconfigSystem_System_TelnetServer_State
- func (*OpenconfigSystem_System_TelnetServer) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_TelnetServer) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_TelnetServer) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_TelnetServer_Config
- func (t *OpenconfigSystem_System_TelnetServer_Config) GetEnable() bool
- func (t *OpenconfigSystem_System_TelnetServer_Config) GetRateLimit() uint16
- func (t *OpenconfigSystem_System_TelnetServer_Config) GetSessionLimit() uint16
- func (t *OpenconfigSystem_System_TelnetServer_Config) GetTimeout() uint16
- func (*OpenconfigSystem_System_TelnetServer_Config) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_TelnetServer_Config) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_TelnetServer_Config) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigSystem_System_TelnetServer_State
- func (t *OpenconfigSystem_System_TelnetServer_State) GetEnable() bool
- func (t *OpenconfigSystem_System_TelnetServer_State) GetRateLimit() uint16
- func (t *OpenconfigSystem_System_TelnetServer_State) GetSessionLimit() uint16
- func (t *OpenconfigSystem_System_TelnetServer_State) GetTimeout() uint16
- func (*OpenconfigSystem_System_TelnetServer_State) IsYANGGoStruct()
- func (t *OpenconfigSystem_System_TelnetServer_State) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigSystem_System_TelnetServer_State) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigTerminalDevice_TerminalDevice
- func (t *OpenconfigTerminalDevice_TerminalDevice) GetConfig() *OpenconfigTerminalDevice_TerminalDevice_Config
- func (t *OpenconfigTerminalDevice_TerminalDevice) GetLogicalChannels() *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels
- func (t *OpenconfigTerminalDevice_TerminalDevice) GetOperationalModes() *OpenconfigTerminalDevice_TerminalDevice_OperationalModes
- func (t *OpenconfigTerminalDevice_TerminalDevice) GetOrCreateConfig() *OpenconfigTerminalDevice_TerminalDevice_Config
- func (t *OpenconfigTerminalDevice_TerminalDevice) GetOrCreateLogicalChannels() *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels
- func (t *OpenconfigTerminalDevice_TerminalDevice) GetOrCreateOperationalModes() *OpenconfigTerminalDevice_TerminalDevice_OperationalModes
- func (t *OpenconfigTerminalDevice_TerminalDevice) GetOrCreateState() *OpenconfigTerminalDevice_TerminalDevice_State
- func (t *OpenconfigTerminalDevice_TerminalDevice) GetState() *OpenconfigTerminalDevice_TerminalDevice_State
- func (*OpenconfigTerminalDevice_TerminalDevice) IsYANGGoStruct()
- func (t *OpenconfigTerminalDevice_TerminalDevice) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigTerminalDevice_TerminalDevice) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigTerminalDevice_TerminalDevice_Config
- type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels) AppendChannel(v *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) error
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels) GetChannel(Index uint32) *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels) GetOrCreateChannel(Index uint32) *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel
- func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels) IsYANGGoStruct()
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels) NewChannel(Index uint32) (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel, error)
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels) RenameChannel(oldK, newK uint32) error
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) GetConfig() *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) GetEthernet() *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) GetIndex() uint32
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) GetIngress() *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) GetLogicalChannelAssignments() ...
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) GetOrCreateConfig() *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) GetOrCreateEthernet() *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) GetOrCreateIngress() *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) GetOrCreateLogicalChannelAssignments() ...
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) GetOrCreateOtn() *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) GetOrCreateState() *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) GetOtn() *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) GetState() *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State
- func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) IsYANGGoStruct()
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) ΛListKeyMap() (map[string]interface{}, error)
- type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config) GetAdminState() E_OpenconfigTerminalDevice_AdminStateType
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config) GetDescription() string
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config) GetIndex() uint32
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config) GetLogicalChannelType() E_OpenconfigTransportTypes_LOGICAL_ELEMENT_PROTOCOL_TYPE
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config) GetLoopbackMode() E_OpenconfigTerminalDevice_LoopbackModeType
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config) GetRateClass() E_OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config) GetTestSignal() bool
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config) GetTribProtocol() E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE
- func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config) IsYANGGoStruct()
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet) GetConfig() ...
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet) GetOrCreateConfig() ...
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet) GetOrCreateState() ...
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet) GetState() ...
- func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet) IsYANGGoStruct()
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_Config
- func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_Config) IsYANGGoStruct()
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_Config) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_Config) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetInBlockErrors() uint64
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetInCrcErrors() uint64
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetInFragmentFrames() uint64
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetInJabberFrames() uint64
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetInMacControlFrames() uint64
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetInMacPauseFrames() uint64
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetInOversizeFrames() uint64
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetInPcsBipErrors() uint64
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetInPcsErroredSeconds() uint64
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetInPcsSeverelyErroredSeconds() uint64
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetInPcsUnavailableSeconds() uint64
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetInUndersizeFrames() uint64
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetIn_8021QFrames() uint64
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetOutBlockErrors() uint64
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetOutCrcErrors() uint64
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetOutMacControlFrames() uint64
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetOutMacPauseFrames() uint64
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetOutPcsBipErrors() uint64
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetOut_8021QFrames() uint64
- func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) IsYANGGoStruct()
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress) GetConfig() ...
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress) GetOrCreateConfig() ...
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress) GetOrCreateState() *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_State
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress) GetState() *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_State
- func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress) IsYANGGoStruct()
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_Config
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_Config) GetPhysicalChannel() []uint16
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_Config) GetTransceiver() string
- func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_Config) IsYANGGoStruct()
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_Config) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_Config) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_State
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_State) GetPhysicalChannel() []uint16
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_State) GetTransceiver() string
- func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_State) IsYANGGoStruct()
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_State) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_State) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments) AppendAssignment(...) error
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments) GetAssignment(Index uint32) ...
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments) GetOrCreateAssignment(Index uint32) ...
- func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments) IsYANGGoStruct()
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments) NewAssignment(Index uint32) (...)
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments) RenameAssignment(oldK, newK uint32) error
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment) GetConfig() ...
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment) GetIndex() uint32
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment) GetOrCreateConfig() ...
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment) GetOrCreateState() ...
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment) GetState() ...
- func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment) IsYANGGoStruct()
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment) ΛListKeyMap() (map[string]interface{}, error)
- type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config) GetAllocation() float64
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config) GetAssignmentType() ...
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config) GetDescription() string
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config) GetIndex() uint32
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config) GetLogicalChannel() uint32
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config) GetMapping() E_OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config) GetOpticalChannel() string
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config) GetTributarySlotIndex() int32
- func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config) IsYANGGoStruct()
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State) GetAllocation() float64
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State) GetAssignmentType() ...
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State) GetDescription() string
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State) GetIndex() uint32
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State) GetLogicalChannel() uint32
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State) GetMapping() E_OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State) GetOpticalChannel() string
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State) GetTributarySlotIndex() int32
- func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State) IsYANGGoStruct()
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn) GetConfig() *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_Config
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn) GetOrCreateConfig() *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_Config
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn) GetOrCreateState() *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn) GetState() *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State
- func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn) IsYANGGoStruct()
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_Config
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_Config) GetTributarySlotGranularity() E_OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_Config) GetTtiMsgAuto() bool
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_Config) GetTtiMsgExpected() string
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_Config) GetTtiMsgTransmit() string
- func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_Config) IsYANGGoStruct()
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_Config) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_Config) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetBackgroundBlockErrors() uint64
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetCodeViolations() uint64
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetErroredBlocks() uint64
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetErroredSeconds() uint64
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetEsnr() ...
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetFecCorrectedBits() uint64
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetFecCorrectedBytes() uint64
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetFecUncorrectableBlocks() uint64
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetFecUncorrectableWords() uint64
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetOrCreateEsnr() ...
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetOrCreatePostFecBer() ...
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetOrCreatePreFecBer() ...
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetOrCreateQValue() ...
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetPostFecBer() ...
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetPreFecBer() ...
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetQValue() ...
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetRdiMsg() string
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetSeverelyErroredSeconds() uint64
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetTributarySlotGranularity() E_OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetTtiMsgAuto() bool
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetTtiMsgExpected() string
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetTtiMsgRecv() string
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetTtiMsgTransmit() string
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetUnavailableSeconds() uint64
- func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) IsYANGGoStruct()
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr) GetAvg() float64
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr) GetInstant() float64
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr) GetInterval() uint64
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr) GetMax() float64
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr) GetMaxTime() uint64
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr) GetMin() float64
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr) GetMinTime() uint64
- func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr) IsYANGGoStruct()
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer) GetAvg() float64
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer) GetInstant() float64
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer) GetInterval() uint64
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer) GetMax() float64
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer) GetMaxTime() uint64
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer) GetMin() float64
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer) GetMinTime() uint64
- func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer) IsYANGGoStruct()
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer) GetAvg() float64
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer) GetInstant() float64
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer) GetInterval() uint64
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer) GetMax() float64
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer) GetMaxTime() uint64
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer) GetMin() float64
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer) GetMinTime() uint64
- func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer) IsYANGGoStruct()
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue) GetAvg() float64
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue) GetInstant() float64
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue) GetInterval() uint64
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue) GetMax() float64
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue) GetMaxTime() uint64
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue) GetMin() float64
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue) GetMinTime() uint64
- func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue) IsYANGGoStruct()
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State) GetAdminState() E_OpenconfigTerminalDevice_AdminStateType
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State) GetDescription() string
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State) GetIndex() uint32
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State) GetLinkState() ...
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State) GetLogicalChannelType() E_OpenconfigTransportTypes_LOGICAL_ELEMENT_PROTOCOL_TYPE
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State) GetLoopbackMode() E_OpenconfigTerminalDevice_LoopbackModeType
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State) GetRateClass() E_OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State) GetTestSignal() bool
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State) GetTribProtocol() E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE
- func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State) IsYANGGoStruct()
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigTerminalDevice_TerminalDevice_OperationalModes
- func (t *OpenconfigTerminalDevice_TerminalDevice_OperationalModes) AppendMode(v *OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode) error
- func (t *OpenconfigTerminalDevice_TerminalDevice_OperationalModes) GetMode(ModeId uint16) *OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode
- func (t *OpenconfigTerminalDevice_TerminalDevice_OperationalModes) GetOrCreateMode(ModeId uint16) *OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode
- func (*OpenconfigTerminalDevice_TerminalDevice_OperationalModes) IsYANGGoStruct()
- func (t *OpenconfigTerminalDevice_TerminalDevice_OperationalModes) NewMode(ModeId uint16) (*OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode, error)
- func (t *OpenconfigTerminalDevice_TerminalDevice_OperationalModes) RenameMode(oldK, newK uint16) error
- func (t *OpenconfigTerminalDevice_TerminalDevice_OperationalModes) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigTerminalDevice_TerminalDevice_OperationalModes) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode
- func (t *OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode) GetConfig() *OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_Config
- func (t *OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode) GetModeId() uint16
- func (t *OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode) GetOrCreateConfig() *OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_Config
- func (t *OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode) GetOrCreateState() *OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_State
- func (t *OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode) GetState() *OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_State
- func (*OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode) IsYANGGoStruct()
- func (t *OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode) ΛListKeyMap() (map[string]interface{}, error)
- type OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_Config
- func (*OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_Config) IsYANGGoStruct()
- func (t *OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_Config) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_Config) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_State
- func (t *OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_State) GetDescription() string
- func (t *OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_State) GetModeId() uint16
- func (t *OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_State) GetVendorId() string
- func (*OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_State) IsYANGGoStruct()
- func (t *OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_State) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_State) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigTerminalDevice_TerminalDevice_State
- type YANGEmpty
Constants ¶
This section is empty.
Variables ¶
var (
SchemaTree map[string]*yang.Entry
)
var ΛEnum = map[string]map[int64]ygot.EnumDefinition{
"E_IETFInterfaces_InterfaceType": {
1: {Name: "a12MppSwitch", DefiningModule: "iana-if-type"},
2: {Name: "aal2", DefiningModule: "iana-if-type"},
3: {Name: "aal5", DefiningModule: "iana-if-type"},
4: {Name: "actelisMetaLOOP", DefiningModule: "iana-if-type"},
5: {Name: "adsl", DefiningModule: "iana-if-type"},
6: {Name: "adsl2", DefiningModule: "iana-if-type"},
7: {Name: "adsl2plus", DefiningModule: "iana-if-type"},
8: {Name: "aflane8023", DefiningModule: "iana-if-type"},
9: {Name: "aflane8025", DefiningModule: "iana-if-type"},
10: {Name: "aluELP", DefiningModule: "iana-if-type"},
11: {Name: "aluEpon", DefiningModule: "iana-if-type"},
12: {Name: "aluEponLogicalLink", DefiningModule: "iana-if-type"},
13: {Name: "aluEponOnu", DefiningModule: "iana-if-type"},
14: {Name: "aluEponPhysicalUni", DefiningModule: "iana-if-type"},
15: {Name: "aluGponOnu", DefiningModule: "iana-if-type"},
16: {Name: "aluGponPhysicalUni", DefiningModule: "iana-if-type"},
17: {Name: "arap", DefiningModule: "iana-if-type"},
18: {Name: "arcnet", DefiningModule: "iana-if-type"},
19: {Name: "arcnetPlus", DefiningModule: "iana-if-type"},
20: {Name: "async", DefiningModule: "iana-if-type"},
21: {Name: "atm", DefiningModule: "iana-if-type"},
22: {Name: "atmDxi", DefiningModule: "iana-if-type"},
23: {Name: "atmFuni", DefiningModule: "iana-if-type"},
24: {Name: "atmIma", DefiningModule: "iana-if-type"},
25: {Name: "atmLogical", DefiningModule: "iana-if-type"},
26: {Name: "atmRadio", DefiningModule: "iana-if-type"},
27: {Name: "atmSubInterface", DefiningModule: "iana-if-type"},
28: {Name: "atmVciEndPt", DefiningModule: "iana-if-type"},
29: {Name: "atmVirtual", DefiningModule: "iana-if-type"},
30: {Name: "atmbond", DefiningModule: "iana-if-type"},
31: {Name: "aviciOpticalEther", DefiningModule: "iana-if-type"},
32: {Name: "basicISDN", DefiningModule: "iana-if-type"},
33: {Name: "bgppolicyaccounting", DefiningModule: "iana-if-type"},
34: {Name: "bits", DefiningModule: "iana-if-type"},
35: {Name: "bridge", DefiningModule: "iana-if-type"},
36: {Name: "bsc", DefiningModule: "iana-if-type"},
37: {Name: "cableDownstreamRfPort", DefiningModule: "iana-if-type"},
38: {Name: "capwapDot11Bss", DefiningModule: "iana-if-type"},
39: {Name: "capwapDot11Profile", DefiningModule: "iana-if-type"},
40: {Name: "capwapWtpVirtualRadio", DefiningModule: "iana-if-type"},
41: {Name: "cblVectaStar", DefiningModule: "iana-if-type"},
42: {Name: "cctEmul", DefiningModule: "iana-if-type"},
43: {Name: "ces", DefiningModule: "iana-if-type"},
44: {Name: "channel", DefiningModule: "iana-if-type"},
45: {Name: "ciscoISLvlan", DefiningModule: "iana-if-type"},
46: {Name: "cnr", DefiningModule: "iana-if-type"},
47: {Name: "coffee", DefiningModule: "iana-if-type"},
48: {Name: "compositeLink", DefiningModule: "iana-if-type"},
49: {Name: "dcn", DefiningModule: "iana-if-type"},
50: {Name: "ddnX25", DefiningModule: "iana-if-type"},
51: {Name: "digitalPowerline", DefiningModule: "iana-if-type"},
52: {Name: "digitalWrapperOverheadChannel", DefiningModule: "iana-if-type"},
53: {Name: "dlsw", DefiningModule: "iana-if-type"},
54: {Name: "docsCableDownstream", DefiningModule: "iana-if-type"},
55: {Name: "docsCableMCmtsDownstream", DefiningModule: "iana-if-type"},
56: {Name: "docsCableMaclayer", DefiningModule: "iana-if-type"},
57: {Name: "docsCableUpstream", DefiningModule: "iana-if-type"},
58: {Name: "docsCableUpstreamChannel", DefiningModule: "iana-if-type"},
59: {Name: "docsCableUpstreamRfPort", DefiningModule: "iana-if-type"},
60: {Name: "ds0", DefiningModule: "iana-if-type"},
61: {Name: "ds0Bundle", DefiningModule: "iana-if-type"},
62: {Name: "ds1", DefiningModule: "iana-if-type"},
63: {Name: "ds1FDL", DefiningModule: "iana-if-type"},
64: {Name: "ds3", DefiningModule: "iana-if-type"},
65: {Name: "dtm", DefiningModule: "iana-if-type"},
66: {Name: "dvbAsiIn", DefiningModule: "iana-if-type"},
67: {Name: "dvbAsiOut", DefiningModule: "iana-if-type"},
68: {Name: "dvbRccDownstream", DefiningModule: "iana-if-type"},
69: {Name: "dvbRccMacLayer", DefiningModule: "iana-if-type"},
70: {Name: "dvbRccUpstream", DefiningModule: "iana-if-type"},
71: {Name: "dvbRcsMacLayer", DefiningModule: "iana-if-type"},
72: {Name: "dvbRcsTdma", DefiningModule: "iana-if-type"},
73: {Name: "dvbTdm", DefiningModule: "iana-if-type"},
74: {Name: "e1", DefiningModule: "iana-if-type"},
75: {Name: "econet", DefiningModule: "iana-if-type"},
76: {Name: "eon", DefiningModule: "iana-if-type"},
77: {Name: "eplrs", DefiningModule: "iana-if-type"},
78: {Name: "escon", DefiningModule: "iana-if-type"},
79: {Name: "ethernet3Mbit", DefiningModule: "iana-if-type"},
80: {Name: "ethernetCsmacd", DefiningModule: "iana-if-type"},
81: {Name: "fast", DefiningModule: "iana-if-type"},
82: {Name: "fastEther", DefiningModule: "iana-if-type"},
83: {Name: "fastEtherFX", DefiningModule: "iana-if-type"},
84: {Name: "fcipLink", DefiningModule: "iana-if-type"},
85: {Name: "fddi", DefiningModule: "iana-if-type"},
86: {Name: "fibreChannel", DefiningModule: "iana-if-type"},
87: {Name: "frDlciEndPt", DefiningModule: "iana-if-type"},
88: {Name: "frForward", DefiningModule: "iana-if-type"},
89: {Name: "frameRelay", DefiningModule: "iana-if-type"},
90: {Name: "frameRelayInterconnect", DefiningModule: "iana-if-type"},
91: {Name: "frameRelayMPI", DefiningModule: "iana-if-type"},
92: {Name: "frameRelayService", DefiningModule: "iana-if-type"},
93: {Name: "frf16MfrBundle", DefiningModule: "iana-if-type"},
94: {Name: "g703at2mb", DefiningModule: "iana-if-type"},
95: {Name: "g703at64k", DefiningModule: "iana-if-type"},
96: {Name: "g9981", DefiningModule: "iana-if-type"},
97: {Name: "g9982", DefiningModule: "iana-if-type"},
98: {Name: "g9983", DefiningModule: "iana-if-type"},
99: {Name: "gfp", DefiningModule: "iana-if-type"},
100: {Name: "gigabitEthernet", DefiningModule: "iana-if-type"},
101: {Name: "gpon", DefiningModule: "iana-if-type"},
102: {Name: "gr303IDT", DefiningModule: "iana-if-type"},
103: {Name: "gr303RDT", DefiningModule: "iana-if-type"},
104: {Name: "gtp", DefiningModule: "iana-if-type"},
105: {Name: "h323Gatekeeper", DefiningModule: "iana-if-type"},
106: {Name: "h323Proxy", DefiningModule: "iana-if-type"},
107: {Name: "hdh1822", DefiningModule: "iana-if-type"},
108: {Name: "hdlc", DefiningModule: "iana-if-type"},
109: {Name: "hdsl2", DefiningModule: "iana-if-type"},
110: {Name: "hiperlan2", DefiningModule: "iana-if-type"},
111: {Name: "hippi", DefiningModule: "iana-if-type"},
112: {Name: "hippiInterface", DefiningModule: "iana-if-type"},
113: {Name: "homepna", DefiningModule: "iana-if-type"},
114: {Name: "hostPad", DefiningModule: "iana-if-type"},
115: {Name: "hssi", DefiningModule: "iana-if-type"},
116: {Name: "hyperchannel", DefiningModule: "iana-if-type"},
117: {Name: "iana-interface-type", DefiningModule: "iana-if-type"},
118: {Name: "ibm370parChan", DefiningModule: "iana-if-type"},
119: {Name: "idsl", DefiningModule: "iana-if-type"},
120: {Name: "ieee1394", DefiningModule: "iana-if-type"},
121: {Name: "ieee80211", DefiningModule: "iana-if-type"},
122: {Name: "ieee80212", DefiningModule: "iana-if-type"},
123: {Name: "ieee802154", DefiningModule: "iana-if-type"},
124: {Name: "ieee80216WMAN", DefiningModule: "iana-if-type"},
125: {Name: "ieee8023adLag", DefiningModule: "iana-if-type"},
126: {Name: "if-gsn", DefiningModule: "iana-if-type"},
127: {Name: "ifPwType", DefiningModule: "iana-if-type"},
128: {Name: "ifVfiType", DefiningModule: "iana-if-type"},
129: {Name: "ilan", DefiningModule: "iana-if-type"},
130: {Name: "imt", DefiningModule: "iana-if-type"},
131: {Name: "infiniband", DefiningModule: "iana-if-type"},
132: {Name: "interleave", DefiningModule: "iana-if-type"},
133: {Name: "ip", DefiningModule: "iana-if-type"},
134: {Name: "ipForward", DefiningModule: "iana-if-type"},
135: {Name: "ipOverAtm", DefiningModule: "iana-if-type"},
136: {Name: "ipOverCdlc", DefiningModule: "iana-if-type"},
137: {Name: "ipOverClaw", DefiningModule: "iana-if-type"},
138: {Name: "ipSwitch", DefiningModule: "iana-if-type"},
139: {Name: "isdn", DefiningModule: "iana-if-type"},
140: {Name: "isdns", DefiningModule: "iana-if-type"},
141: {Name: "isdnu", DefiningModule: "iana-if-type"},
142: {Name: "iso88022llc", DefiningModule: "iana-if-type"},
143: {Name: "iso88023Csmacd", DefiningModule: "iana-if-type"},
144: {Name: "iso88024TokenBus", DefiningModule: "iana-if-type"},
145: {Name: "iso88025CRFPInt", DefiningModule: "iana-if-type"},
146: {Name: "iso88025Dtr", DefiningModule: "iana-if-type"},
147: {Name: "iso88025Fiber", DefiningModule: "iana-if-type"},
148: {Name: "iso88025TokenRing", DefiningModule: "iana-if-type"},
149: {Name: "iso88026Man", DefiningModule: "iana-if-type"},
150: {Name: "isup", DefiningModule: "iana-if-type"},
151: {Name: "l2vlan", DefiningModule: "iana-if-type"},
152: {Name: "l3ipvlan", DefiningModule: "iana-if-type"},
153: {Name: "l3ipxvlan", DefiningModule: "iana-if-type"},
154: {Name: "lapb", DefiningModule: "iana-if-type"},
155: {Name: "lapd", DefiningModule: "iana-if-type"},
156: {Name: "lapf", DefiningModule: "iana-if-type"},
157: {Name: "linegroup", DefiningModule: "iana-if-type"},
158: {Name: "lmp", DefiningModule: "iana-if-type"},
159: {Name: "localTalk", DefiningModule: "iana-if-type"},
160: {Name: "macSecControlledIF", DefiningModule: "iana-if-type"},
161: {Name: "macSecUncontrolledIF", DefiningModule: "iana-if-type"},
162: {Name: "mediaMailOverIp", DefiningModule: "iana-if-type"},
163: {Name: "mfSigLink", DefiningModule: "iana-if-type"},
164: {Name: "miox25", DefiningModule: "iana-if-type"},
165: {Name: "mocaVersion1", DefiningModule: "iana-if-type"},
166: {Name: "modem", DefiningModule: "iana-if-type"},
167: {Name: "mpc", DefiningModule: "iana-if-type"},
168: {Name: "mpegTransport", DefiningModule: "iana-if-type"},
169: {Name: "mpls", DefiningModule: "iana-if-type"},
170: {Name: "mplsTunnel", DefiningModule: "iana-if-type"},
171: {Name: "msdsl", DefiningModule: "iana-if-type"},
172: {Name: "mvl", DefiningModule: "iana-if-type"},
173: {Name: "myrinet", DefiningModule: "iana-if-type"},
174: {Name: "nfas", DefiningModule: "iana-if-type"},
175: {Name: "nsip", DefiningModule: "iana-if-type"},
176: {Name: "opticalChannel", DefiningModule: "iana-if-type"},
177: {Name: "opticalChannelGroup", DefiningModule: "iana-if-type"},
178: {Name: "opticalTransport", DefiningModule: "iana-if-type"},
179: {Name: "other", DefiningModule: "iana-if-type"},
180: {Name: "otnOdu", DefiningModule: "iana-if-type"},
181: {Name: "otnOtu", DefiningModule: "iana-if-type"},
182: {Name: "para", DefiningModule: "iana-if-type"},
183: {Name: "pdnEtherLoop1", DefiningModule: "iana-if-type"},
184: {Name: "pdnEtherLoop2", DefiningModule: "iana-if-type"},
185: {Name: "pip", DefiningModule: "iana-if-type"},
186: {Name: "plc", DefiningModule: "iana-if-type"},
187: {Name: "pon155", DefiningModule: "iana-if-type"},
188: {Name: "pon622", DefiningModule: "iana-if-type"},
189: {Name: "pos", DefiningModule: "iana-if-type"},
190: {Name: "ppp", DefiningModule: "iana-if-type"},
191: {Name: "pppMultilinkBundle", DefiningModule: "iana-if-type"},
192: {Name: "primaryISDN", DefiningModule: "iana-if-type"},
193: {Name: "propAtm", DefiningModule: "iana-if-type"},
194: {Name: "propBWAp2Mp", DefiningModule: "iana-if-type"},
195: {Name: "propCnls", DefiningModule: "iana-if-type"},
196: {Name: "propDocsWirelessDownstream", DefiningModule: "iana-if-type"},
197: {Name: "propDocsWirelessMaclayer", DefiningModule: "iana-if-type"},
198: {Name: "propDocsWirelessUpstream", DefiningModule: "iana-if-type"},
199: {Name: "propMultiplexor", DefiningModule: "iana-if-type"},
200: {Name: "propPointToPointSerial", DefiningModule: "iana-if-type"},
201: {Name: "propVirtual", DefiningModule: "iana-if-type"},
202: {Name: "propWirelessP2P", DefiningModule: "iana-if-type"},
203: {Name: "proteon10Mbit", DefiningModule: "iana-if-type"},
204: {Name: "proteon80Mbit", DefiningModule: "iana-if-type"},
205: {Name: "q2931", DefiningModule: "iana-if-type"},
206: {Name: "qam", DefiningModule: "iana-if-type"},
207: {Name: "qllc", DefiningModule: "iana-if-type"},
208: {Name: "radioMAC", DefiningModule: "iana-if-type"},
209: {Name: "radsl", DefiningModule: "iana-if-type"},
210: {Name: "reachDSL", DefiningModule: "iana-if-type"},
211: {Name: "regular1822", DefiningModule: "iana-if-type"},
212: {Name: "rfc1483", DefiningModule: "iana-if-type"},
213: {Name: "rfc877x25", DefiningModule: "iana-if-type"},
214: {Name: "rpr", DefiningModule: "iana-if-type"},
215: {Name: "rs232", DefiningModule: "iana-if-type"},
216: {Name: "rsrb", DefiningModule: "iana-if-type"},
217: {Name: "sdlc", DefiningModule: "iana-if-type"},
218: {Name: "sdsl", DefiningModule: "iana-if-type"},
219: {Name: "shdsl", DefiningModule: "iana-if-type"},
220: {Name: "sip", DefiningModule: "iana-if-type"},
221: {Name: "sipSig", DefiningModule: "iana-if-type"},
222: {Name: "sipTg", DefiningModule: "iana-if-type"},
223: {Name: "sixToFour", DefiningModule: "iana-if-type"},
224: {Name: "slip", DefiningModule: "iana-if-type"},
225: {Name: "smdsDxi", DefiningModule: "iana-if-type"},
226: {Name: "smdsIcip", DefiningModule: "iana-if-type"},
227: {Name: "softwareLoopback", DefiningModule: "iana-if-type"},
228: {Name: "sonet", DefiningModule: "iana-if-type"},
229: {Name: "sonetOverheadChannel", DefiningModule: "iana-if-type"},
230: {Name: "sonetPath", DefiningModule: "iana-if-type"},
231: {Name: "sonetVT", DefiningModule: "iana-if-type"},
232: {Name: "srp", DefiningModule: "iana-if-type"},
233: {Name: "ss7SigLink", DefiningModule: "iana-if-type"},
234: {Name: "stackToStack", DefiningModule: "iana-if-type"},
235: {Name: "starLan", DefiningModule: "iana-if-type"},
236: {Name: "tdlc", DefiningModule: "iana-if-type"},
237: {Name: "teLink", DefiningModule: "iana-if-type"},
238: {Name: "termPad", DefiningModule: "iana-if-type"},
239: {Name: "tr008", DefiningModule: "iana-if-type"},
240: {Name: "transpHdlc", DefiningModule: "iana-if-type"},
241: {Name: "tunnel", DefiningModule: "iana-if-type"},
242: {Name: "ultra", DefiningModule: "iana-if-type"},
243: {Name: "usb", DefiningModule: "iana-if-type"},
244: {Name: "v11", DefiningModule: "iana-if-type"},
245: {Name: "v35", DefiningModule: "iana-if-type"},
246: {Name: "v36", DefiningModule: "iana-if-type"},
247: {Name: "v37", DefiningModule: "iana-if-type"},
248: {Name: "vdsl", DefiningModule: "iana-if-type"},
249: {Name: "vdsl2", DefiningModule: "iana-if-type"},
250: {Name: "virtualIpAddress", DefiningModule: "iana-if-type"},
251: {Name: "virtualTg", DefiningModule: "iana-if-type"},
252: {Name: "vmwareNicTeam", DefiningModule: "iana-if-type"},
253: {Name: "vmwareVirtualNic", DefiningModule: "iana-if-type"},
254: {Name: "voiceDID", DefiningModule: "iana-if-type"},
255: {Name: "voiceEBS", DefiningModule: "iana-if-type"},
256: {Name: "voiceEM", DefiningModule: "iana-if-type"},
257: {Name: "voiceEMFGD", DefiningModule: "iana-if-type"},
258: {Name: "voiceEncap", DefiningModule: "iana-if-type"},
259: {Name: "voiceFGDEANA", DefiningModule: "iana-if-type"},
260: {Name: "voiceFGDOS", DefiningModule: "iana-if-type"},
261: {Name: "voiceFXO", DefiningModule: "iana-if-type"},
262: {Name: "voiceFXS", DefiningModule: "iana-if-type"},
263: {Name: "voiceOverAtm", DefiningModule: "iana-if-type"},
264: {Name: "voiceOverCable", DefiningModule: "iana-if-type"},
265: {Name: "voiceOverFrameRelay", DefiningModule: "iana-if-type"},
266: {Name: "voiceOverIp", DefiningModule: "iana-if-type"},
267: {Name: "wwanPP", DefiningModule: "iana-if-type"},
268: {Name: "wwanPP2", DefiningModule: "iana-if-type"},
269: {Name: "x213", DefiningModule: "iana-if-type"},
270: {Name: "x25huntGroup", DefiningModule: "iana-if-type"},
271: {Name: "x25mlp", DefiningModule: "iana-if-type"},
272: {Name: "x25ple", DefiningModule: "iana-if-type"},
273: {Name: "x86Laps", DefiningModule: "iana-if-type"},
},
"E_OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE": {
1: {Name: "AAA_ACCOUNTING_EVENT_COMMAND", DefiningModule: "openconfig-aaa-types"},
2: {Name: "AAA_ACCOUNTING_EVENT_LOGIN", DefiningModule: "openconfig-aaa-types"},
},
"E_OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE": {
1: {Name: "AAA_AUTHORIZATION_EVENT_COMMAND", DefiningModule: "openconfig-aaa-types"},
2: {Name: "AAA_AUTHORIZATION_EVENT_CONFIG", DefiningModule: "openconfig-aaa-types"},
},
"E_OpenconfigAaaTypes_AAA_METHOD_TYPE": {
1: {Name: "LOCAL", DefiningModule: "openconfig-aaa-types"},
2: {Name: "RADIUS_ALL", DefiningModule: "openconfig-aaa-types"},
3: {Name: "TACACS_ALL", DefiningModule: "openconfig-aaa-types"},
},
"E_OpenconfigAaaTypes_AAA_SERVER_TYPE": {
1: {Name: "RADIUS", DefiningModule: "openconfig-aaa"},
2: {Name: "TACACS", DefiningModule: "openconfig-aaa"},
},
"E_OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES": {
1: {Name: "SYSTEM_ROLE_ADMIN", DefiningModule: "openconfig-aaa-types"},
},
"E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY": {
1: {Name: "CRITICAL", DefiningModule: "openconfig-alarm-types"},
2: {Name: "MAJOR", DefiningModule: "openconfig-alarm-types"},
3: {Name: "MINOR", DefiningModule: "openconfig-alarm-types"},
4: {Name: "UNKNOWN", DefiningModule: "openconfig-alarm-types"},
5: {Name: "WARNING", DefiningModule: "openconfig-alarm-types"},
},
"E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID": {
1: {Name: "AIS", DefiningModule: "openconfig-alarm-types"},
2: {Name: "EQPT", DefiningModule: "openconfig-alarm-types"},
3: {Name: "LOS", DefiningModule: "openconfig-alarm-types"},
4: {Name: "OTS", DefiningModule: "openconfig-alarm-types"},
},
"E_OpenconfigIfEthernet_ETHERNET_SPEED": {
1: {Name: "SPEED_100GB", DefiningModule: "openconfig-if-ethernet"},
2: {Name: "SPEED_100MB", DefiningModule: "openconfig-if-ethernet"},
3: {Name: "SPEED_10GB", DefiningModule: "openconfig-if-ethernet"},
4: {Name: "SPEED_10MB", DefiningModule: "openconfig-if-ethernet"},
5: {Name: "SPEED_1GB", DefiningModule: "openconfig-if-ethernet"},
6: {Name: "SPEED_2500MB", DefiningModule: "openconfig-if-ethernet"},
7: {Name: "SPEED_25GB", DefiningModule: "openconfig-if-ethernet"},
8: {Name: "SPEED_40GB", DefiningModule: "openconfig-if-ethernet"},
9: {Name: "SPEED_50GB", DefiningModule: "openconfig-if-ethernet"},
10: {Name: "SPEED_5GB", DefiningModule: "openconfig-if-ethernet"},
11: {Name: "SPEED_UNKNOWN", DefiningModule: "openconfig-if-ethernet"},
},
"E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientAls": {
1: {Name: "NONE"},
2: {Name: "LASER_SHUTDOWN"},
3: {Name: "ETHERNET"},
},
"E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientFec": {
1: {Name: "ENABLED"},
2: {Name: "DISABLED"},
3: {Name: "AUTO"},
},
"E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_DuplexMode": {
1: {Name: "FULL"},
2: {Name: "HALF"},
},
"E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_NegotiatedDuplexMode": {
1: {Name: "FULL"},
2: {Name: "HALF"},
},
"E_OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus": {
1: {Name: "UP"},
2: {Name: "DOWN"},
3: {Name: "TESTING"},
},
"E_OpenconfigInterfaces_Interfaces_Interface_State_OperStatus": {
2: {Name: "UP"},
3: {Name: "DOWN"},
4: {Name: "TESTING"},
5: {Name: "UNKNOWN"},
6: {Name: "DORMANT"},
7: {Name: "NOT_PRESENT"},
8: {Name: "LOWER_LAYER_DOWN"},
},
"E_OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY": {
1: {Name: "C_VLAN", DefiningModule: "openconfig-lldp-types"},
2: {Name: "DOCSIS_CABLE_DEVICE", DefiningModule: "openconfig-lldp-types"},
3: {Name: "MAC_BRIDGE", DefiningModule: "openconfig-lldp-types"},
4: {Name: "OTHER", DefiningModule: "openconfig-lldp-types"},
5: {Name: "REPEATER", DefiningModule: "openconfig-lldp-types"},
6: {Name: "ROUTER", DefiningModule: "openconfig-lldp-types"},
7: {Name: "STATION_ONLY", DefiningModule: "openconfig-lldp-types"},
8: {Name: "S_VLAN", DefiningModule: "openconfig-lldp-types"},
9: {Name: "TELEPHONE", DefiningModule: "openconfig-lldp-types"},
10: {Name: "TWO_PORT_MAC_RELAY", DefiningModule: "openconfig-lldp-types"},
11: {Name: "WLAN_ACCESS_POINT", DefiningModule: "openconfig-lldp-types"},
},
"E_OpenconfigLldpTypes_LLDP_TLV": {
1: {Name: "CHASSIS_ID", DefiningModule: "openconfig-lldp-types"},
2: {Name: "MANAGEMENT_ADDRESS", DefiningModule: "openconfig-lldp-types"},
3: {Name: "PORT_DESCRIPTION", DefiningModule: "openconfig-lldp-types"},
4: {Name: "PORT_ID", DefiningModule: "openconfig-lldp-types"},
5: {Name: "SYSTEM_CAPABILITIES", DefiningModule: "openconfig-lldp-types"},
6: {Name: "SYSTEM_DESCRIPTION", DefiningModule: "openconfig-lldp-types"},
7: {Name: "SYSTEM_NAME", DefiningModule: "openconfig-lldp-types"},
},
"E_OpenconfigLldp_ChassisIdType": {
1: {Name: "CHASSIS_COMPONENT"},
2: {Name: "INTERFACE_ALIAS"},
3: {Name: "PORT_COMPONENT"},
4: {Name: "MAC_ADDRESS"},
5: {Name: "NETWORK_ADDRESS"},
6: {Name: "INTERFACE_NAME"},
7: {Name: "LOCAL"},
},
"E_OpenconfigLldp_PortIdType": {
1: {Name: "INTERFACE_ALIAS"},
2: {Name: "PORT_COMPONENT"},
3: {Name: "MAC_ADDRESS"},
4: {Name: "NETWORK_ADDRESS"},
5: {Name: "INTERFACE_NAME"},
6: {Name: "AGENT_CIRCUIT_ID"},
7: {Name: "LOCAL"},
},
"E_OpenconfigPlatformTypes_COMPONENT_OPER_STATUS": {
1: {Name: "ACTIVE", DefiningModule: "openconfig-platform-types"},
2: {Name: "DISABLED", DefiningModule: "openconfig-platform-types"},
3: {Name: "INACTIVE", DefiningModule: "openconfig-platform-types"},
},
"E_OpenconfigPlatformTypes_FEC_MODE_TYPE": {
1: {Name: "FEC_AUTO", DefiningModule: "openconfig-platform-types"},
2: {Name: "FEC_DISABLED", DefiningModule: "openconfig-platform-types"},
3: {Name: "FEC_ENABLED", DefiningModule: "openconfig-platform-types"},
},
"E_OpenconfigPlatformTypes_FEC_STATUS_TYPE": {
1: {Name: "FEC_STATUS_LOCKED", DefiningModule: "openconfig-platform-types"},
2: {Name: "FEC_STATUS_UNLOCKED", DefiningModule: "openconfig-platform-types"},
},
"E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT": {
1: {Name: "BACKPLANE", DefiningModule: "openconfig-platform-types"},
2: {Name: "CHASSIS", DefiningModule: "openconfig-platform-types"},
3: {Name: "CONTROLLER_CARD", DefiningModule: "openconfig-platform-types"},
4: {Name: "CPU", DefiningModule: "openconfig-platform-types"},
5: {Name: "FABRIC", DefiningModule: "openconfig-platform-types"},
6: {Name: "FAN", DefiningModule: "openconfig-platform-types"},
7: {Name: "FRU", DefiningModule: "openconfig-platform-types"},
8: {Name: "INTEGRATED_CIRCUIT", DefiningModule: "openconfig-platform-types"},
9: {Name: "LINECARD", DefiningModule: "openconfig-platform-types"},
10: {Name: "OPTICAL_CHANNEL", DefiningModule: "openconfig-transport-types"},
11: {Name: "PORT", DefiningModule: "openconfig-platform-types"},
12: {Name: "POWER_SUPPLY", DefiningModule: "openconfig-platform-types"},
13: {Name: "SENSOR", DefiningModule: "openconfig-platform-types"},
14: {Name: "STORAGE", DefiningModule: "openconfig-platform-types"},
15: {Name: "TRANSCEIVER", DefiningModule: "openconfig-platform-types"},
},
"E_OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT": {
1: {Name: "OPERATING_SYSTEM", DefiningModule: "openconfig-platform-types"},
},
"E_OpenconfigPlatform_Components_Component_Transceiver_State_Present": {
1: {Name: "PRESENT"},
2: {Name: "NOT_PRESENT"},
},
"E_OpenconfigSystemLogging_SYSLOG_FACILITY": {
1: {Name: "ALL", DefiningModule: "openconfig-system-logging"},
2: {Name: "AUDIT", DefiningModule: "openconfig-system-logging"},
3: {Name: "AUTH", DefiningModule: "openconfig-system-logging"},
4: {Name: "AUTHPRIV", DefiningModule: "openconfig-system-logging"},
5: {Name: "CONSOLE", DefiningModule: "openconfig-system-logging"},
6: {Name: "KERNEL", DefiningModule: "openconfig-system-logging"},
7: {Name: "LOCAL0", DefiningModule: "openconfig-system-logging"},
8: {Name: "LOCAL1", DefiningModule: "openconfig-system-logging"},
9: {Name: "LOCAL2", DefiningModule: "openconfig-system-logging"},
10: {Name: "LOCAL3", DefiningModule: "openconfig-system-logging"},
11: {Name: "LOCAL4", DefiningModule: "openconfig-system-logging"},
12: {Name: "LOCAL5", DefiningModule: "openconfig-system-logging"},
13: {Name: "LOCAL6", DefiningModule: "openconfig-system-logging"},
14: {Name: "LOCAL7", DefiningModule: "openconfig-system-logging"},
15: {Name: "MAIL", DefiningModule: "openconfig-system-logging"},
16: {Name: "NTP", DefiningModule: "openconfig-system-logging"},
17: {Name: "SYSLOG", DefiningModule: "openconfig-system-logging"},
18: {Name: "SYSTEM_DAEMON", DefiningModule: "openconfig-system-logging"},
19: {Name: "USER", DefiningModule: "openconfig-system-logging"},
},
"E_OpenconfigSystemLogging_SyslogSeverity": {
1: {Name: "EMERGENCY"},
2: {Name: "ALERT"},
3: {Name: "CRITICAL"},
4: {Name: "ERROR"},
5: {Name: "WARNING"},
6: {Name: "NOTICE"},
7: {Name: "INFORMATIONAL"},
8: {Name: "DEBUG"},
},
"E_OpenconfigSystem_NTP_AUTH_TYPE": {
1: {Name: "NTP_AUTH_MD5", DefiningModule: "openconfig-system"},
},
"E_OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config_Record": {
1: {Name: "START_STOP"},
2: {Name: "STOP"},
},
"E_OpenconfigSystem_System_Cpus_Cpu_State_Index": {
1: {Name: "ALL"},
},
"E_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses": {
1: {Name: "ANY"},
},
"E_OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType": {
1: {Name: "SERVER"},
2: {Name: "PEER"},
3: {Name: "POOL"},
},
"E_OpenconfigSystem_System_SshServer_Config_ProtocolVersion": {
1: {Name: "V2"},
2: {Name: "V1"},
3: {Name: "V1_V2"},
},
"E_OpenconfigTerminalDevice_AdminStateType": {
1: {Name: "ENABLED"},
2: {Name: "DISABLED"},
3: {Name: "MAINT"},
},
"E_OpenconfigTerminalDevice_LoopbackModeType": {
1: {Name: "NONE"},
2: {Name: "FACILITY"},
3: {Name: "TERMINAL"},
},
"E_OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config_AssignmentType": {
1: {Name: "LOGICAL_CHANNEL"},
2: {Name: "OPTICAL_CHANNEL"},
},
"E_OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State_LinkState": {
1: {Name: "UP"},
2: {Name: "DOWN"},
3: {Name: "TESTING"},
},
"E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE": {
1: {Name: "ETH_100GBASE_CLR4", DefiningModule: "openconfig-transport-types"},
2: {Name: "ETH_100GBASE_CR4", DefiningModule: "openconfig-transport-types"},
3: {Name: "ETH_100GBASE_CWDM4", DefiningModule: "openconfig-transport-types"},
4: {Name: "ETH_100GBASE_ER4", DefiningModule: "openconfig-transport-types"},
5: {Name: "ETH_100GBASE_LR4", DefiningModule: "openconfig-transport-types"},
6: {Name: "ETH_100GBASE_PSM4", DefiningModule: "openconfig-transport-types"},
7: {Name: "ETH_100GBASE_SR10", DefiningModule: "openconfig-transport-types"},
8: {Name: "ETH_100GBASE_SR4", DefiningModule: "openconfig-transport-types"},
9: {Name: "ETH_100G_ACC", DefiningModule: "openconfig-transport-types"},
10: {Name: "ETH_100G_AOC", DefiningModule: "openconfig-transport-types"},
11: {Name: "ETH_10GBASE_ER", DefiningModule: "openconfig-transport-types"},
12: {Name: "ETH_10GBASE_LR", DefiningModule: "openconfig-transport-types"},
13: {Name: "ETH_10GBASE_LRM", DefiningModule: "openconfig-transport-types"},
14: {Name: "ETH_10GBASE_SR", DefiningModule: "openconfig-transport-types"},
15: {Name: "ETH_10GBASE_ZR", DefiningModule: "openconfig-transport-types"},
16: {Name: "ETH_40GBASE_CR4", DefiningModule: "openconfig-transport-types"},
17: {Name: "ETH_40GBASE_ER4", DefiningModule: "openconfig-transport-types"},
18: {Name: "ETH_40GBASE_LR4", DefiningModule: "openconfig-transport-types"},
19: {Name: "ETH_40GBASE_PSM4", DefiningModule: "openconfig-transport-types"},
20: {Name: "ETH_40GBASE_SR4", DefiningModule: "openconfig-transport-types"},
21: {Name: "ETH_4X10GBASE_LR", DefiningModule: "openconfig-transport-types"},
22: {Name: "ETH_4X10GBASE_SR", DefiningModule: "openconfig-transport-types"},
23: {Name: "ETH_UNDEFINED", DefiningModule: "openconfig-transport-types"},
},
"E_OpenconfigTransportTypes_FIBER_CONNECTOR_TYPE": {
1: {Name: "LC_CONNECTOR", DefiningModule: "openconfig-transport-types"},
2: {Name: "MPO_CONNECTOR", DefiningModule: "openconfig-transport-types"},
3: {Name: "SC_CONNECTOR", DefiningModule: "openconfig-transport-types"},
},
"E_OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL": {
1: {Name: "AMP", DefiningModule: "openconfig-transport-types"},
2: {Name: "BMP", DefiningModule: "openconfig-transport-types"},
3: {Name: "CBR", DefiningModule: "openconfig-transport-types"},
4: {Name: "GFP_F", DefiningModule: "openconfig-transport-types"},
5: {Name: "GFP_T", DefiningModule: "openconfig-transport-types"},
6: {Name: "GMP", DefiningModule: "openconfig-transport-types"},
},
"E_OpenconfigTransportTypes_LOGICAL_ELEMENT_PROTOCOL_TYPE": {
1: {Name: "PROT_ETHERNET", DefiningModule: "openconfig-transport-types"},
2: {Name: "PROT_OTN", DefiningModule: "openconfig-transport-types"},
},
"E_OpenconfigTransportTypes_OTN_APPLICATION_CODE": {
1: {Name: "OTN_UNDEFINED", DefiningModule: "openconfig-transport-types"},
2: {Name: "P1L1_2D1", DefiningModule: "openconfig-transport-types"},
3: {Name: "P1L1_2D2", DefiningModule: "openconfig-transport-types"},
4: {Name: "P1S1_2D2", DefiningModule: "openconfig-transport-types"},
},
"E_OpenconfigTransportTypes_SONET_APPLICATION_CODE": {
1: {Name: "SONET_UNDEFINED", DefiningModule: "openconfig-transport-types"},
2: {Name: "VSR2000_3R2", DefiningModule: "openconfig-transport-types"},
3: {Name: "VSR2000_3R3", DefiningModule: "openconfig-transport-types"},
4: {Name: "VSR2000_3R5", DefiningModule: "openconfig-transport-types"},
},
"E_OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE": {
1: {Name: "CFP", DefiningModule: "openconfig-transport-types"},
2: {Name: "CFP2", DefiningModule: "openconfig-transport-types"},
3: {Name: "CFP2_ACO", DefiningModule: "openconfig-transport-types"},
4: {Name: "CFP4", DefiningModule: "openconfig-transport-types"},
5: {Name: "CPAK", DefiningModule: "openconfig-transport-types"},
6: {Name: "NON_PLUGGABLE", DefiningModule: "openconfig-transport-types"},
7: {Name: "OTHER", DefiningModule: "openconfig-transport-types"},
8: {Name: "QSFP", DefiningModule: "openconfig-transport-types"},
9: {Name: "QSFP28", DefiningModule: "openconfig-transport-types"},
10: {Name: "QSFP_PLUS", DefiningModule: "openconfig-transport-types"},
11: {Name: "SFP", DefiningModule: "openconfig-transport-types"},
12: {Name: "SFP_PLUS", DefiningModule: "openconfig-transport-types"},
13: {Name: "X2", DefiningModule: "openconfig-transport-types"},
14: {Name: "XFP", DefiningModule: "openconfig-transport-types"},
},
"E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE": {
1: {Name: "PROT_100GE", DefiningModule: "openconfig-transport-types"},
2: {Name: "PROT_100G_MLG", DefiningModule: "openconfig-transport-types"},
3: {Name: "PROT_10GE_LAN", DefiningModule: "openconfig-transport-types"},
4: {Name: "PROT_10GE_WAN", DefiningModule: "openconfig-transport-types"},
5: {Name: "PROT_1GE", DefiningModule: "openconfig-transport-types"},
6: {Name: "PROT_40GE", DefiningModule: "openconfig-transport-types"},
7: {Name: "PROT_OC192", DefiningModule: "openconfig-transport-types"},
8: {Name: "PROT_OC48", DefiningModule: "openconfig-transport-types"},
9: {Name: "PROT_OC768", DefiningModule: "openconfig-transport-types"},
10: {Name: "PROT_ODU2", DefiningModule: "openconfig-transport-types"},
11: {Name: "PROT_ODU2E", DefiningModule: "openconfig-transport-types"},
12: {Name: "PROT_ODU3", DefiningModule: "openconfig-transport-types"},
13: {Name: "PROT_ODU4", DefiningModule: "openconfig-transport-types"},
14: {Name: "PROT_ODUCN", DefiningModule: "openconfig-transport-types"},
15: {Name: "PROT_OTU1E", DefiningModule: "openconfig-transport-types"},
16: {Name: "PROT_OTU2", DefiningModule: "openconfig-transport-types"},
17: {Name: "PROT_OTU2E", DefiningModule: "openconfig-transport-types"},
18: {Name: "PROT_OTU3", DefiningModule: "openconfig-transport-types"},
19: {Name: "PROT_OTU4", DefiningModule: "openconfig-transport-types"},
20: {Name: "PROT_OTUCN", DefiningModule: "openconfig-transport-types"},
21: {Name: "PROT_STM16", DefiningModule: "openconfig-transport-types"},
22: {Name: "PROT_STM256", DefiningModule: "openconfig-transport-types"},
23: {Name: "PROT_STM64", DefiningModule: "openconfig-transport-types"},
},
"E_OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE": {
1: {Name: "TRIB_RATE_1000G", DefiningModule: "openconfig-transport-types"},
2: {Name: "TRIB_RATE_100G", DefiningModule: "openconfig-transport-types"},
3: {Name: "TRIB_RATE_10G", DefiningModule: "openconfig-transport-types"},
4: {Name: "TRIB_RATE_1100G", DefiningModule: "openconfig-transport-types"},
5: {Name: "TRIB_RATE_150G", DefiningModule: "openconfig-transport-types"},
6: {Name: "TRIB_RATE_1G", DefiningModule: "openconfig-transport-types"},
7: {Name: "TRIB_RATE_2.5G", DefiningModule: "openconfig-transport-types"},
8: {Name: "TRIB_RATE_200G", DefiningModule: "openconfig-transport-types"},
9: {Name: "TRIB_RATE_250G", DefiningModule: "openconfig-transport-types"},
10: {Name: "TRIB_RATE_300G", DefiningModule: "openconfig-transport-types"},
11: {Name: "TRIB_RATE_400G", DefiningModule: "openconfig-transport-types"},
12: {Name: "TRIB_RATE_40G", DefiningModule: "openconfig-transport-types"},
13: {Name: "TRIB_RATE_500G", DefiningModule: "openconfig-transport-types"},
14: {Name: "TRIB_RATE_600G", DefiningModule: "openconfig-transport-types"},
15: {Name: "TRIB_RATE_700G", DefiningModule: "openconfig-transport-types"},
16: {Name: "TRIB_RATE_800G", DefiningModule: "openconfig-transport-types"},
17: {Name: "TRIB_RATE_900G", DefiningModule: "openconfig-transport-types"},
},
"E_OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY": {
1: {Name: "TRIB_SLOT_1.25G", DefiningModule: "openconfig-transport-types"},
2: {Name: "TRIB_SLOT_2.5G", DefiningModule: "openconfig-transport-types"},
3: {Name: "TRIB_SLOT_5G", DefiningModule: "openconfig-transport-types"},
},
}
Λ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.
var ΛEnumTypes = map[string][]reflect.Type{ "/components/component/port/breakout-mode/config/channel-speed": { reflect.TypeOf((E_OpenconfigIfEthernet_ETHERNET_SPEED)(0)), }, "/components/component/port/breakout-mode/state/channel-speed": { reflect.TypeOf((E_OpenconfigIfEthernet_ETHERNET_SPEED)(0)), }, "/components/component/state/oper-status": { reflect.TypeOf((E_OpenconfigPlatformTypes_COMPONENT_OPER_STATUS)(0)), }, "/components/component/state/temperature/alarm-severity": { reflect.TypeOf((E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY)(0)), }, "/components/component/state/type": { reflect.TypeOf((E_OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT)(0)), reflect.TypeOf((E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT)(0)), }, "/components/component/transceiver/config/ethernet-pmd-preconf": { reflect.TypeOf((E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE)(0)), }, "/components/component/transceiver/config/fec-mode": { reflect.TypeOf((E_OpenconfigPlatformTypes_FEC_MODE_TYPE)(0)), }, "/components/component/transceiver/config/form-factor-preconf": { reflect.TypeOf((E_OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE)(0)), }, "/components/component/transceiver/state/connector-type": { reflect.TypeOf((E_OpenconfigTransportTypes_FIBER_CONNECTOR_TYPE)(0)), }, "/components/component/transceiver/state/ethernet-pmd": { reflect.TypeOf((E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE)(0)), }, "/components/component/transceiver/state/ethernet-pmd-preconf": { reflect.TypeOf((E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE)(0)), }, "/components/component/transceiver/state/fec-mode": { reflect.TypeOf((E_OpenconfigPlatformTypes_FEC_MODE_TYPE)(0)), }, "/components/component/transceiver/state/fec-status": { reflect.TypeOf((E_OpenconfigPlatformTypes_FEC_STATUS_TYPE)(0)), }, "/components/component/transceiver/state/form-factor": { reflect.TypeOf((E_OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE)(0)), }, "/components/component/transceiver/state/form-factor-preconf": { reflect.TypeOf((E_OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE)(0)), }, "/components/component/transceiver/state/otn-compliance-code": { reflect.TypeOf((E_OpenconfigTransportTypes_OTN_APPLICATION_CODE)(0)), }, "/components/component/transceiver/state/present": { reflect.TypeOf((E_OpenconfigPlatform_Components_Component_Transceiver_State_Present)(0)), }, "/components/component/transceiver/state/sonet-sdh-compliance-code": { reflect.TypeOf((E_OpenconfigTransportTypes_SONET_APPLICATION_CODE)(0)), }, "/interfaces/interface/config/type": { reflect.TypeOf((E_IETFInterfaces_InterfaceType)(0)), }, "/interfaces/interface/ethernet/config/client-als": { reflect.TypeOf((E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientAls)(0)), }, "/interfaces/interface/ethernet/config/client-fec": { reflect.TypeOf((E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientFec)(0)), }, "/interfaces/interface/ethernet/config/duplex-mode": { reflect.TypeOf((E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_DuplexMode)(0)), }, "/interfaces/interface/ethernet/config/port-speed": { reflect.TypeOf((E_OpenconfigIfEthernet_ETHERNET_SPEED)(0)), }, "/interfaces/interface/ethernet/state/duplex-mode": { reflect.TypeOf((E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_DuplexMode)(0)), }, "/interfaces/interface/ethernet/state/negotiated-duplex-mode": { reflect.TypeOf((E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_NegotiatedDuplexMode)(0)), }, "/interfaces/interface/ethernet/state/negotiated-port-speed": { reflect.TypeOf((E_OpenconfigIfEthernet_ETHERNET_SPEED)(0)), }, "/interfaces/interface/ethernet/state/port-speed": { reflect.TypeOf((E_OpenconfigIfEthernet_ETHERNET_SPEED)(0)), }, "/interfaces/interface/state/admin-status": { reflect.TypeOf((E_OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus)(0)), }, "/interfaces/interface/state/oper-status": { reflect.TypeOf((E_OpenconfigInterfaces_Interfaces_Interface_State_OperStatus)(0)), }, "/interfaces/interface/state/type": { reflect.TypeOf((E_IETFInterfaces_InterfaceType)(0)), }, "/interfaces/interface/subinterfaces/subinterface/state/admin-status": { reflect.TypeOf((E_OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus)(0)), }, "/interfaces/interface/subinterfaces/subinterface/state/oper-status": { reflect.TypeOf((E_OpenconfigInterfaces_Interfaces_Interface_State_OperStatus)(0)), }, "/lldp/config/chassis-id-type": { reflect.TypeOf((E_OpenconfigLldp_ChassisIdType)(0)), }, "/lldp/config/suppress-tlv-advertisement": { reflect.TypeOf((E_OpenconfigLldpTypes_LLDP_TLV)(0)), }, "/lldp/interfaces/interface/neighbors/neighbor/capabilities/capability/name": { reflect.TypeOf((E_OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY)(0)), }, "/lldp/interfaces/interface/neighbors/neighbor/capabilities/capability/state/name": { reflect.TypeOf((E_OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY)(0)), }, "/lldp/interfaces/interface/neighbors/neighbor/state/chassis-id-type": { reflect.TypeOf((E_OpenconfigLldp_ChassisIdType)(0)), }, "/lldp/interfaces/interface/neighbors/neighbor/state/port-id-type": { reflect.TypeOf((E_OpenconfigLldp_PortIdType)(0)), }, "/lldp/state/chassis-id-type": { reflect.TypeOf((E_OpenconfigLldp_ChassisIdType)(0)), }, "/lldp/state/suppress-tlv-advertisement": { reflect.TypeOf((E_OpenconfigLldpTypes_LLDP_TLV)(0)), }, "/system/aaa/accounting/config/accounting-method": { reflect.TypeOf((E_OpenconfigAaaTypes_AAA_METHOD_TYPE)(0)), }, "/system/aaa/accounting/events/event/config/event-type": { reflect.TypeOf((E_OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE)(0)), }, "/system/aaa/accounting/events/event/config/record": { reflect.TypeOf((E_OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config_Record)(0)), }, "/system/aaa/accounting/events/event/event-type": { reflect.TypeOf((E_OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE)(0)), }, "/system/aaa/accounting/events/event/state/event-type": { reflect.TypeOf((E_OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE)(0)), }, "/system/aaa/accounting/events/event/state/record": { reflect.TypeOf((E_OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config_Record)(0)), }, "/system/aaa/accounting/state/accounting-method": { reflect.TypeOf((E_OpenconfigAaaTypes_AAA_METHOD_TYPE)(0)), }, "/system/aaa/authentication/config/authentication-method": { reflect.TypeOf((E_OpenconfigAaaTypes_AAA_METHOD_TYPE)(0)), }, "/system/aaa/authentication/state/authentication-method": { reflect.TypeOf((E_OpenconfigAaaTypes_AAA_METHOD_TYPE)(0)), }, "/system/aaa/authentication/users/user/config/role": { reflect.TypeOf((E_OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES)(0)), }, "/system/aaa/authentication/users/user/state/role": { reflect.TypeOf((E_OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES)(0)), }, "/system/aaa/authorization/config/authorization-method": { reflect.TypeOf((E_OpenconfigAaaTypes_AAA_METHOD_TYPE)(0)), }, "/system/aaa/authorization/events/event/config/event-type": { reflect.TypeOf((E_OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE)(0)), }, "/system/aaa/authorization/events/event/event-type": { reflect.TypeOf((E_OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE)(0)), }, "/system/aaa/authorization/events/event/state/event-type": { reflect.TypeOf((E_OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE)(0)), }, "/system/aaa/authorization/state/authorization-method": { reflect.TypeOf((E_OpenconfigAaaTypes_AAA_METHOD_TYPE)(0)), }, "/system/aaa/server-groups/server-group/config/type": { reflect.TypeOf((E_OpenconfigAaaTypes_AAA_SERVER_TYPE)(0)), }, "/system/aaa/server-groups/server-group/state/type": { reflect.TypeOf((E_OpenconfigAaaTypes_AAA_SERVER_TYPE)(0)), }, "/system/alarms/alarm/state/severity": { reflect.TypeOf((E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY)(0)), }, "/system/alarms/alarm/state/type-id": { reflect.TypeOf((E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID)(0)), }, "/system/cpus/cpu/index": { reflect.TypeOf((E_OpenconfigSystem_System_Cpus_Cpu_State_Index)(0)), }, "/system/cpus/cpu/state/index": { reflect.TypeOf((E_OpenconfigSystem_System_Cpus_Cpu_State_Index)(0)), }, "/system/grpc-server/config/listen-addresses": { reflect.TypeOf((E_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses)(0)), }, "/system/grpc-server/state/listen-addresses": { reflect.TypeOf((E_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses)(0)), }, "/system/logging/console/selectors/selector/config/facility": { reflect.TypeOf((E_OpenconfigSystemLogging_SYSLOG_FACILITY)(0)), }, "/system/logging/console/selectors/selector/config/severity": { reflect.TypeOf((E_OpenconfigSystemLogging_SyslogSeverity)(0)), }, "/system/logging/console/selectors/selector/facility": { reflect.TypeOf((E_OpenconfigSystemLogging_SYSLOG_FACILITY)(0)), }, "/system/logging/console/selectors/selector/severity": { reflect.TypeOf((E_OpenconfigSystemLogging_SyslogSeverity)(0)), }, "/system/logging/console/selectors/selector/state/facility": { reflect.TypeOf((E_OpenconfigSystemLogging_SYSLOG_FACILITY)(0)), }, "/system/logging/console/selectors/selector/state/severity": { reflect.TypeOf((E_OpenconfigSystemLogging_SyslogSeverity)(0)), }, "/system/logging/remote-servers/remote-server/selectors/selector/config/facility": { reflect.TypeOf((E_OpenconfigSystemLogging_SYSLOG_FACILITY)(0)), }, "/system/logging/remote-servers/remote-server/selectors/selector/config/severity": { reflect.TypeOf((E_OpenconfigSystemLogging_SyslogSeverity)(0)), }, "/system/logging/remote-servers/remote-server/selectors/selector/facility": { reflect.TypeOf((E_OpenconfigSystemLogging_SYSLOG_FACILITY)(0)), }, "/system/logging/remote-servers/remote-server/selectors/selector/severity": { reflect.TypeOf((E_OpenconfigSystemLogging_SyslogSeverity)(0)), }, "/system/logging/remote-servers/remote-server/selectors/selector/state/facility": { reflect.TypeOf((E_OpenconfigSystemLogging_SYSLOG_FACILITY)(0)), }, "/system/logging/remote-servers/remote-server/selectors/selector/state/severity": { reflect.TypeOf((E_OpenconfigSystemLogging_SyslogSeverity)(0)), }, "/system/ntp/ntp-keys/ntp-key/config/key-type": { reflect.TypeOf((E_OpenconfigSystem_NTP_AUTH_TYPE)(0)), }, "/system/ntp/ntp-keys/ntp-key/state/key-type": { reflect.TypeOf((E_OpenconfigSystem_NTP_AUTH_TYPE)(0)), }, "/system/ntp/servers/server/config/association-type": { reflect.TypeOf((E_OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType)(0)), }, "/system/ntp/servers/server/state/association-type": { reflect.TypeOf((E_OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType)(0)), }, "/system/ssh-server/config/protocol-version": { reflect.TypeOf((E_OpenconfigSystem_System_SshServer_Config_ProtocolVersion)(0)), }, "/system/ssh-server/state/protocol-version": { reflect.TypeOf((E_OpenconfigSystem_System_SshServer_Config_ProtocolVersion)(0)), }, "/terminal-device/logical-channels/channel/config/admin-state": { reflect.TypeOf((E_OpenconfigTerminalDevice_AdminStateType)(0)), }, "/terminal-device/logical-channels/channel/config/logical-channel-type": { reflect.TypeOf((E_OpenconfigTransportTypes_LOGICAL_ELEMENT_PROTOCOL_TYPE)(0)), }, "/terminal-device/logical-channels/channel/config/loopback-mode": { reflect.TypeOf((E_OpenconfigTerminalDevice_LoopbackModeType)(0)), }, "/terminal-device/logical-channels/channel/config/rate-class": { reflect.TypeOf((E_OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE)(0)), }, "/terminal-device/logical-channels/channel/config/trib-protocol": { reflect.TypeOf((E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE)(0)), }, "/terminal-device/logical-channels/channel/logical-channel-assignments/assignment/config/assignment-type": { reflect.TypeOf((E_OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config_AssignmentType)(0)), }, "/terminal-device/logical-channels/channel/logical-channel-assignments/assignment/config/mapping": { reflect.TypeOf((E_OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL)(0)), }, "/terminal-device/logical-channels/channel/logical-channel-assignments/assignment/state/assignment-type": { reflect.TypeOf((E_OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config_AssignmentType)(0)), }, "/terminal-device/logical-channels/channel/logical-channel-assignments/assignment/state/mapping": { reflect.TypeOf((E_OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL)(0)), }, "/terminal-device/logical-channels/channel/otn/config/tributary-slot-granularity": { reflect.TypeOf((E_OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY)(0)), }, "/terminal-device/logical-channels/channel/otn/state/tributary-slot-granularity": { reflect.TypeOf((E_OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY)(0)), }, "/terminal-device/logical-channels/channel/state/admin-state": { reflect.TypeOf((E_OpenconfigTerminalDevice_AdminStateType)(0)), }, "/terminal-device/logical-channels/channel/state/link-state": { reflect.TypeOf((E_OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State_LinkState)(0)), }, "/terminal-device/logical-channels/channel/state/logical-channel-type": { reflect.TypeOf((E_OpenconfigTransportTypes_LOGICAL_ELEMENT_PROTOCOL_TYPE)(0)), }, "/terminal-device/logical-channels/channel/state/loopback-mode": { reflect.TypeOf((E_OpenconfigTerminalDevice_LoopbackModeType)(0)), }, "/terminal-device/logical-channels/channel/state/rate-class": { reflect.TypeOf((E_OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE)(0)), }, "/terminal-device/logical-channels/channel/state/trib-protocol": { reflect.TypeOf((E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE)(0)), }, }
ΛEnumTypes is a map, keyed by a YANG schema path, of the enumerated types that correspond with the leaf. The type is represented as a reflect.Type. The naming of the map ensures that there are no clashes with valid YANG identifiers.
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 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 Device ¶
type Device struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Components *OpenconfigPlatform_Components `path:"components" module:"openconfig-platform"` ΛComponents []ygot.Annotation `path:"@components" ygotAnnotation:"true"` Interfaces *OpenconfigInterfaces_Interfaces `path:"interfaces" module:"openconfig-interfaces"` ΛInterfaces []ygot.Annotation `path:"@interfaces" ygotAnnotation:"true"` Lldp *OpenconfigLldp_Lldp `path:"lldp" module:"openconfig-lldp"` ΛLldp []ygot.Annotation `path:"@lldp" ygotAnnotation:"true"` System *OpenconfigSystem_System `path:"system" module:"openconfig-system"` ΛSystem []ygot.Annotation `path:"@system" ygotAnnotation:"true"` TerminalDevice *OpenconfigTerminalDevice_TerminalDevice `path:"terminal-device" module:"openconfig-terminal-device"` ΛTerminalDevice []ygot.Annotation `path:"@terminal-device" ygotAnnotation:"true"` }
Device represents the /device YANG schema element.
func (*Device) GetComponents ¶
func (t *Device) GetComponents() *OpenconfigPlatform_Components
GetComponents returns the value of the Components struct pointer from Device. If the receiver or the field Components is nil, nil is returned such that the Get* methods can be safely chained.
func (*Device) GetInterfaces ¶
func (t *Device) GetInterfaces() *OpenconfigInterfaces_Interfaces
GetInterfaces returns the value of the Interfaces struct pointer from Device. If the receiver or the field Interfaces is nil, nil is returned such that the Get* methods can be safely chained.
func (*Device) GetLldp ¶
func (t *Device) GetLldp() *OpenconfigLldp_Lldp
GetLldp returns the value of the Lldp struct pointer from Device. If the receiver or the field Lldp is nil, nil is returned such that the Get* methods can be safely chained.
func (*Device) GetOrCreateComponents ¶
func (t *Device) GetOrCreateComponents() *OpenconfigPlatform_Components
GetOrCreateComponents retrieves the value of the Components field or returns the existing field if it already exists.
func (*Device) GetOrCreateInterfaces ¶
func (t *Device) GetOrCreateInterfaces() *OpenconfigInterfaces_Interfaces
GetOrCreateInterfaces retrieves the value of the Interfaces field or returns the existing field if it already exists.
func (*Device) GetOrCreateLldp ¶
func (t *Device) GetOrCreateLldp() *OpenconfigLldp_Lldp
GetOrCreateLldp retrieves the value of the Lldp field or returns the existing field if it already exists.
func (*Device) GetOrCreateSystem ¶
func (t *Device) GetOrCreateSystem() *OpenconfigSystem_System
GetOrCreateSystem retrieves the value of the System field or returns the existing field if it already exists.
func (*Device) GetOrCreateTerminalDevice ¶
func (t *Device) GetOrCreateTerminalDevice() *OpenconfigTerminalDevice_TerminalDevice
GetOrCreateTerminalDevice retrieves the value of the TerminalDevice field or returns the existing field if it already exists.
func (*Device) GetSystem ¶
func (t *Device) GetSystem() *OpenconfigSystem_System
GetSystem returns the value of the System struct pointer from Device. If the receiver or the field System is nil, nil is returned such that the Get* methods can be safely chained.
func (*Device) GetTerminalDevice ¶
func (t *Device) GetTerminalDevice() *OpenconfigTerminalDevice_TerminalDevice
GetTerminalDevice returns the value of the TerminalDevice struct pointer from Device. If the receiver or the field TerminalDevice is nil, nil is returned such that the Get* methods can be safely chained.
func (*Device) IsYANGGoStruct ¶
func (*Device) IsYANGGoStruct()
IsYANGGoStruct ensures that Device implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
type E_IETFInterfaces_InterfaceType ¶
type E_IETFInterfaces_InterfaceType int64
E_IETFInterfaces_InterfaceType is a derived int64 type which is used to represent the enumerated node IETFInterfaces_InterfaceType. An additional value named IETFInterfaces_InterfaceType_UNSET is added to the enumeration which is used as the nil value, indicating that the enumeration was not explicitly set by the program importing the generated structures.
const ( // IETFInterfaces_InterfaceType_UNSET corresponds to the value UNSET of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_UNSET E_IETFInterfaces_InterfaceType = 0 // IETFInterfaces_InterfaceType_a12MppSwitch corresponds to the value a12MppSwitch of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_a12MppSwitch E_IETFInterfaces_InterfaceType = 1 // IETFInterfaces_InterfaceType_aal2 corresponds to the value aal2 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_aal2 E_IETFInterfaces_InterfaceType = 2 // IETFInterfaces_InterfaceType_aal5 corresponds to the value aal5 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_aal5 E_IETFInterfaces_InterfaceType = 3 // IETFInterfaces_InterfaceType_actelisMetaLOOP corresponds to the value actelisMetaLOOP of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_actelisMetaLOOP E_IETFInterfaces_InterfaceType = 4 // IETFInterfaces_InterfaceType_adsl corresponds to the value adsl of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_adsl E_IETFInterfaces_InterfaceType = 5 // IETFInterfaces_InterfaceType_adsl2 corresponds to the value adsl2 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_adsl2 E_IETFInterfaces_InterfaceType = 6 // IETFInterfaces_InterfaceType_adsl2plus corresponds to the value adsl2plus of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_adsl2plus E_IETFInterfaces_InterfaceType = 7 // IETFInterfaces_InterfaceType_aflane8023 corresponds to the value aflane8023 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_aflane8023 E_IETFInterfaces_InterfaceType = 8 // IETFInterfaces_InterfaceType_aflane8025 corresponds to the value aflane8025 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_aflane8025 E_IETFInterfaces_InterfaceType = 9 // IETFInterfaces_InterfaceType_aluELP corresponds to the value aluELP of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_aluELP E_IETFInterfaces_InterfaceType = 10 // IETFInterfaces_InterfaceType_aluEpon corresponds to the value aluEpon of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_aluEpon E_IETFInterfaces_InterfaceType = 11 // IETFInterfaces_InterfaceType_aluEponLogicalLink corresponds to the value aluEponLogicalLink of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_aluEponLogicalLink E_IETFInterfaces_InterfaceType = 12 // IETFInterfaces_InterfaceType_aluEponOnu corresponds to the value aluEponOnu of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_aluEponOnu E_IETFInterfaces_InterfaceType = 13 // IETFInterfaces_InterfaceType_aluEponPhysicalUni corresponds to the value aluEponPhysicalUni of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_aluEponPhysicalUni E_IETFInterfaces_InterfaceType = 14 // IETFInterfaces_InterfaceType_aluGponOnu corresponds to the value aluGponOnu of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_aluGponOnu E_IETFInterfaces_InterfaceType = 15 // IETFInterfaces_InterfaceType_aluGponPhysicalUni corresponds to the value aluGponPhysicalUni of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_aluGponPhysicalUni E_IETFInterfaces_InterfaceType = 16 // IETFInterfaces_InterfaceType_arap corresponds to the value arap of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_arap E_IETFInterfaces_InterfaceType = 17 // IETFInterfaces_InterfaceType_arcnet corresponds to the value arcnet of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_arcnet E_IETFInterfaces_InterfaceType = 18 // IETFInterfaces_InterfaceType_arcnetPlus corresponds to the value arcnetPlus of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_arcnetPlus E_IETFInterfaces_InterfaceType = 19 // IETFInterfaces_InterfaceType_async corresponds to the value async of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_async E_IETFInterfaces_InterfaceType = 20 // IETFInterfaces_InterfaceType_atm corresponds to the value atm of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_atm E_IETFInterfaces_InterfaceType = 21 // IETFInterfaces_InterfaceType_atmDxi corresponds to the value atmDxi of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_atmDxi E_IETFInterfaces_InterfaceType = 22 // IETFInterfaces_InterfaceType_atmFuni corresponds to the value atmFuni of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_atmFuni E_IETFInterfaces_InterfaceType = 23 // IETFInterfaces_InterfaceType_atmIma corresponds to the value atmIma of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_atmIma E_IETFInterfaces_InterfaceType = 24 // IETFInterfaces_InterfaceType_atmLogical corresponds to the value atmLogical of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_atmLogical E_IETFInterfaces_InterfaceType = 25 // IETFInterfaces_InterfaceType_atmRadio corresponds to the value atmRadio of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_atmRadio E_IETFInterfaces_InterfaceType = 26 // IETFInterfaces_InterfaceType_atmSubInterface corresponds to the value atmSubInterface of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_atmSubInterface E_IETFInterfaces_InterfaceType = 27 // IETFInterfaces_InterfaceType_atmVciEndPt corresponds to the value atmVciEndPt of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_atmVciEndPt E_IETFInterfaces_InterfaceType = 28 // IETFInterfaces_InterfaceType_atmVirtual corresponds to the value atmVirtual of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_atmVirtual E_IETFInterfaces_InterfaceType = 29 // IETFInterfaces_InterfaceType_atmbond corresponds to the value atmbond of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_atmbond E_IETFInterfaces_InterfaceType = 30 // IETFInterfaces_InterfaceType_aviciOpticalEther corresponds to the value aviciOpticalEther of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_aviciOpticalEther E_IETFInterfaces_InterfaceType = 31 // IETFInterfaces_InterfaceType_basicISDN corresponds to the value basicISDN of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_basicISDN E_IETFInterfaces_InterfaceType = 32 // IETFInterfaces_InterfaceType_bgppolicyaccounting corresponds to the value bgppolicyaccounting of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_bgppolicyaccounting E_IETFInterfaces_InterfaceType = 33 // IETFInterfaces_InterfaceType_bits corresponds to the value bits of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_bits E_IETFInterfaces_InterfaceType = 34 // IETFInterfaces_InterfaceType_bridge corresponds to the value bridge of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_bridge E_IETFInterfaces_InterfaceType = 35 // IETFInterfaces_InterfaceType_bsc corresponds to the value bsc of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_bsc E_IETFInterfaces_InterfaceType = 36 // IETFInterfaces_InterfaceType_cableDownstreamRfPort corresponds to the value cableDownstreamRfPort of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_cableDownstreamRfPort E_IETFInterfaces_InterfaceType = 37 // IETFInterfaces_InterfaceType_capwapDot11Bss corresponds to the value capwapDot11Bss of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_capwapDot11Bss E_IETFInterfaces_InterfaceType = 38 // IETFInterfaces_InterfaceType_capwapDot11Profile corresponds to the value capwapDot11Profile of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_capwapDot11Profile E_IETFInterfaces_InterfaceType = 39 // IETFInterfaces_InterfaceType_capwapWtpVirtualRadio corresponds to the value capwapWtpVirtualRadio of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_capwapWtpVirtualRadio E_IETFInterfaces_InterfaceType = 40 // IETFInterfaces_InterfaceType_cblVectaStar corresponds to the value cblVectaStar of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_cblVectaStar E_IETFInterfaces_InterfaceType = 41 // IETFInterfaces_InterfaceType_cctEmul corresponds to the value cctEmul of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_cctEmul E_IETFInterfaces_InterfaceType = 42 // IETFInterfaces_InterfaceType_ces corresponds to the value ces of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_ces E_IETFInterfaces_InterfaceType = 43 // IETFInterfaces_InterfaceType_channel corresponds to the value channel of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_channel E_IETFInterfaces_InterfaceType = 44 // IETFInterfaces_InterfaceType_ciscoISLvlan corresponds to the value ciscoISLvlan of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_ciscoISLvlan E_IETFInterfaces_InterfaceType = 45 // IETFInterfaces_InterfaceType_cnr corresponds to the value cnr of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_cnr E_IETFInterfaces_InterfaceType = 46 // IETFInterfaces_InterfaceType_coffee corresponds to the value coffee of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_coffee E_IETFInterfaces_InterfaceType = 47 // IETFInterfaces_InterfaceType_compositeLink corresponds to the value compositeLink of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_compositeLink E_IETFInterfaces_InterfaceType = 48 // IETFInterfaces_InterfaceType_dcn corresponds to the value dcn of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_dcn E_IETFInterfaces_InterfaceType = 49 // IETFInterfaces_InterfaceType_ddnX25 corresponds to the value ddnX25 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_ddnX25 E_IETFInterfaces_InterfaceType = 50 // IETFInterfaces_InterfaceType_digitalPowerline corresponds to the value digitalPowerline of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_digitalPowerline E_IETFInterfaces_InterfaceType = 51 // IETFInterfaces_InterfaceType_digitalWrapperOverheadChannel corresponds to the value digitalWrapperOverheadChannel of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_digitalWrapperOverheadChannel E_IETFInterfaces_InterfaceType = 52 // IETFInterfaces_InterfaceType_dlsw corresponds to the value dlsw of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_dlsw E_IETFInterfaces_InterfaceType = 53 // IETFInterfaces_InterfaceType_docsCableDownstream corresponds to the value docsCableDownstream of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_docsCableDownstream E_IETFInterfaces_InterfaceType = 54 // IETFInterfaces_InterfaceType_docsCableMCmtsDownstream corresponds to the value docsCableMCmtsDownstream of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_docsCableMCmtsDownstream E_IETFInterfaces_InterfaceType = 55 // IETFInterfaces_InterfaceType_docsCableMaclayer corresponds to the value docsCableMaclayer of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_docsCableMaclayer E_IETFInterfaces_InterfaceType = 56 // IETFInterfaces_InterfaceType_docsCableUpstream corresponds to the value docsCableUpstream of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_docsCableUpstream E_IETFInterfaces_InterfaceType = 57 // IETFInterfaces_InterfaceType_docsCableUpstreamChannel corresponds to the value docsCableUpstreamChannel of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_docsCableUpstreamChannel E_IETFInterfaces_InterfaceType = 58 // IETFInterfaces_InterfaceType_docsCableUpstreamRfPort corresponds to the value docsCableUpstreamRfPort of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_docsCableUpstreamRfPort E_IETFInterfaces_InterfaceType = 59 // IETFInterfaces_InterfaceType_ds0 corresponds to the value ds0 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_ds0 E_IETFInterfaces_InterfaceType = 60 // IETFInterfaces_InterfaceType_ds0Bundle corresponds to the value ds0Bundle of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_ds0Bundle E_IETFInterfaces_InterfaceType = 61 // IETFInterfaces_InterfaceType_ds1 corresponds to the value ds1 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_ds1 E_IETFInterfaces_InterfaceType = 62 // IETFInterfaces_InterfaceType_ds1FDL corresponds to the value ds1FDL of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_ds1FDL E_IETFInterfaces_InterfaceType = 63 // IETFInterfaces_InterfaceType_ds3 corresponds to the value ds3 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_ds3 E_IETFInterfaces_InterfaceType = 64 // IETFInterfaces_InterfaceType_dtm corresponds to the value dtm of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_dtm E_IETFInterfaces_InterfaceType = 65 // IETFInterfaces_InterfaceType_dvbAsiIn corresponds to the value dvbAsiIn of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_dvbAsiIn E_IETFInterfaces_InterfaceType = 66 // IETFInterfaces_InterfaceType_dvbAsiOut corresponds to the value dvbAsiOut of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_dvbAsiOut E_IETFInterfaces_InterfaceType = 67 // IETFInterfaces_InterfaceType_dvbRccDownstream corresponds to the value dvbRccDownstream of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_dvbRccDownstream E_IETFInterfaces_InterfaceType = 68 // IETFInterfaces_InterfaceType_dvbRccMacLayer corresponds to the value dvbRccMacLayer of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_dvbRccMacLayer E_IETFInterfaces_InterfaceType = 69 // IETFInterfaces_InterfaceType_dvbRccUpstream corresponds to the value dvbRccUpstream of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_dvbRccUpstream E_IETFInterfaces_InterfaceType = 70 // IETFInterfaces_InterfaceType_dvbRcsMacLayer corresponds to the value dvbRcsMacLayer of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_dvbRcsMacLayer E_IETFInterfaces_InterfaceType = 71 // IETFInterfaces_InterfaceType_dvbRcsTdma corresponds to the value dvbRcsTdma of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_dvbRcsTdma E_IETFInterfaces_InterfaceType = 72 // IETFInterfaces_InterfaceType_dvbTdm corresponds to the value dvbTdm of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_dvbTdm E_IETFInterfaces_InterfaceType = 73 // IETFInterfaces_InterfaceType_e1 corresponds to the value e1 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_e1 E_IETFInterfaces_InterfaceType = 74 // IETFInterfaces_InterfaceType_econet corresponds to the value econet of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_econet E_IETFInterfaces_InterfaceType = 75 // IETFInterfaces_InterfaceType_eon corresponds to the value eon of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_eon E_IETFInterfaces_InterfaceType = 76 // IETFInterfaces_InterfaceType_eplrs corresponds to the value eplrs of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_eplrs E_IETFInterfaces_InterfaceType = 77 // IETFInterfaces_InterfaceType_escon corresponds to the value escon of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_escon E_IETFInterfaces_InterfaceType = 78 // IETFInterfaces_InterfaceType_ethernet3Mbit corresponds to the value ethernet3Mbit of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_ethernet3Mbit E_IETFInterfaces_InterfaceType = 79 // IETFInterfaces_InterfaceType_ethernetCsmacd corresponds to the value ethernetCsmacd of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_ethernetCsmacd E_IETFInterfaces_InterfaceType = 80 // IETFInterfaces_InterfaceType_fast corresponds to the value fast of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_fast E_IETFInterfaces_InterfaceType = 81 // IETFInterfaces_InterfaceType_fastEther corresponds to the value fastEther of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_fastEther E_IETFInterfaces_InterfaceType = 82 // IETFInterfaces_InterfaceType_fastEtherFX corresponds to the value fastEtherFX of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_fastEtherFX E_IETFInterfaces_InterfaceType = 83 // IETFInterfaces_InterfaceType_fcipLink corresponds to the value fcipLink of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_fcipLink E_IETFInterfaces_InterfaceType = 84 // IETFInterfaces_InterfaceType_fddi corresponds to the value fddi of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_fddi E_IETFInterfaces_InterfaceType = 85 // IETFInterfaces_InterfaceType_fibreChannel corresponds to the value fibreChannel of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_fibreChannel E_IETFInterfaces_InterfaceType = 86 // IETFInterfaces_InterfaceType_frDlciEndPt corresponds to the value frDlciEndPt of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_frDlciEndPt E_IETFInterfaces_InterfaceType = 87 // IETFInterfaces_InterfaceType_frForward corresponds to the value frForward of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_frForward E_IETFInterfaces_InterfaceType = 88 // IETFInterfaces_InterfaceType_frameRelay corresponds to the value frameRelay of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_frameRelay E_IETFInterfaces_InterfaceType = 89 // IETFInterfaces_InterfaceType_frameRelayInterconnect corresponds to the value frameRelayInterconnect of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_frameRelayInterconnect E_IETFInterfaces_InterfaceType = 90 // IETFInterfaces_InterfaceType_frameRelayMPI corresponds to the value frameRelayMPI of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_frameRelayMPI E_IETFInterfaces_InterfaceType = 91 // IETFInterfaces_InterfaceType_frameRelayService corresponds to the value frameRelayService of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_frameRelayService E_IETFInterfaces_InterfaceType = 92 // IETFInterfaces_InterfaceType_frf16MfrBundle corresponds to the value frf16MfrBundle of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_frf16MfrBundle E_IETFInterfaces_InterfaceType = 93 // IETFInterfaces_InterfaceType_g703at2mb corresponds to the value g703at2mb of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_g703at2mb E_IETFInterfaces_InterfaceType = 94 // IETFInterfaces_InterfaceType_g703at64k corresponds to the value g703at64k of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_g703at64k E_IETFInterfaces_InterfaceType = 95 // IETFInterfaces_InterfaceType_g9981 corresponds to the value g9981 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_g9981 E_IETFInterfaces_InterfaceType = 96 // IETFInterfaces_InterfaceType_g9982 corresponds to the value g9982 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_g9982 E_IETFInterfaces_InterfaceType = 97 // IETFInterfaces_InterfaceType_g9983 corresponds to the value g9983 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_g9983 E_IETFInterfaces_InterfaceType = 98 // IETFInterfaces_InterfaceType_gfp corresponds to the value gfp of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_gfp E_IETFInterfaces_InterfaceType = 99 // IETFInterfaces_InterfaceType_gigabitEthernet corresponds to the value gigabitEthernet of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_gigabitEthernet E_IETFInterfaces_InterfaceType = 100 // IETFInterfaces_InterfaceType_gpon corresponds to the value gpon of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_gpon E_IETFInterfaces_InterfaceType = 101 // IETFInterfaces_InterfaceType_gr303IDT corresponds to the value gr303IDT of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_gr303IDT E_IETFInterfaces_InterfaceType = 102 // IETFInterfaces_InterfaceType_gr303RDT corresponds to the value gr303RDT of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_gr303RDT E_IETFInterfaces_InterfaceType = 103 // IETFInterfaces_InterfaceType_gtp corresponds to the value gtp of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_gtp E_IETFInterfaces_InterfaceType = 104 // IETFInterfaces_InterfaceType_h323Gatekeeper corresponds to the value h323Gatekeeper of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_h323Gatekeeper E_IETFInterfaces_InterfaceType = 105 // IETFInterfaces_InterfaceType_h323Proxy corresponds to the value h323Proxy of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_h323Proxy E_IETFInterfaces_InterfaceType = 106 // IETFInterfaces_InterfaceType_hdh1822 corresponds to the value hdh1822 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_hdh1822 E_IETFInterfaces_InterfaceType = 107 // IETFInterfaces_InterfaceType_hdlc corresponds to the value hdlc of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_hdlc E_IETFInterfaces_InterfaceType = 108 // IETFInterfaces_InterfaceType_hdsl2 corresponds to the value hdsl2 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_hdsl2 E_IETFInterfaces_InterfaceType = 109 // IETFInterfaces_InterfaceType_hiperlan2 corresponds to the value hiperlan2 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_hiperlan2 E_IETFInterfaces_InterfaceType = 110 // IETFInterfaces_InterfaceType_hippi corresponds to the value hippi of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_hippi E_IETFInterfaces_InterfaceType = 111 // IETFInterfaces_InterfaceType_hippiInterface corresponds to the value hippiInterface of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_hippiInterface E_IETFInterfaces_InterfaceType = 112 // IETFInterfaces_InterfaceType_homepna corresponds to the value homepna of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_homepna E_IETFInterfaces_InterfaceType = 113 // IETFInterfaces_InterfaceType_hostPad corresponds to the value hostPad of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_hostPad E_IETFInterfaces_InterfaceType = 114 // IETFInterfaces_InterfaceType_hssi corresponds to the value hssi of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_hssi E_IETFInterfaces_InterfaceType = 115 // IETFInterfaces_InterfaceType_hyperchannel corresponds to the value hyperchannel of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_hyperchannel E_IETFInterfaces_InterfaceType = 116 // IETFInterfaces_InterfaceType_iana_interface_type corresponds to the value iana_interface_type of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_iana_interface_type E_IETFInterfaces_InterfaceType = 117 // IETFInterfaces_InterfaceType_ibm370parChan corresponds to the value ibm370parChan of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_ibm370parChan E_IETFInterfaces_InterfaceType = 118 // IETFInterfaces_InterfaceType_idsl corresponds to the value idsl of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_idsl E_IETFInterfaces_InterfaceType = 119 // IETFInterfaces_InterfaceType_ieee1394 corresponds to the value ieee1394 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_ieee1394 E_IETFInterfaces_InterfaceType = 120 // IETFInterfaces_InterfaceType_ieee80211 corresponds to the value ieee80211 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_ieee80211 E_IETFInterfaces_InterfaceType = 121 // IETFInterfaces_InterfaceType_ieee80212 corresponds to the value ieee80212 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_ieee80212 E_IETFInterfaces_InterfaceType = 122 // IETFInterfaces_InterfaceType_ieee802154 corresponds to the value ieee802154 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_ieee802154 E_IETFInterfaces_InterfaceType = 123 // IETFInterfaces_InterfaceType_ieee80216WMAN corresponds to the value ieee80216WMAN of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_ieee80216WMAN E_IETFInterfaces_InterfaceType = 124 // IETFInterfaces_InterfaceType_ieee8023adLag corresponds to the value ieee8023adLag of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_ieee8023adLag E_IETFInterfaces_InterfaceType = 125 // IETFInterfaces_InterfaceType_if_gsn corresponds to the value if_gsn of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_if_gsn E_IETFInterfaces_InterfaceType = 126 // IETFInterfaces_InterfaceType_ifPwType corresponds to the value ifPwType of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_ifPwType E_IETFInterfaces_InterfaceType = 127 // IETFInterfaces_InterfaceType_ifVfiType corresponds to the value ifVfiType of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_ifVfiType E_IETFInterfaces_InterfaceType = 128 // IETFInterfaces_InterfaceType_ilan corresponds to the value ilan of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_ilan E_IETFInterfaces_InterfaceType = 129 // IETFInterfaces_InterfaceType_imt corresponds to the value imt of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_imt E_IETFInterfaces_InterfaceType = 130 // IETFInterfaces_InterfaceType_infiniband corresponds to the value infiniband of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_infiniband E_IETFInterfaces_InterfaceType = 131 // IETFInterfaces_InterfaceType_interleave corresponds to the value interleave of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_interleave E_IETFInterfaces_InterfaceType = 132 // IETFInterfaces_InterfaceType_ip corresponds to the value ip of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_ip E_IETFInterfaces_InterfaceType = 133 // IETFInterfaces_InterfaceType_ipForward corresponds to the value ipForward of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_ipForward E_IETFInterfaces_InterfaceType = 134 // IETFInterfaces_InterfaceType_ipOverAtm corresponds to the value ipOverAtm of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_ipOverAtm E_IETFInterfaces_InterfaceType = 135 // IETFInterfaces_InterfaceType_ipOverCdlc corresponds to the value ipOverCdlc of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_ipOverCdlc E_IETFInterfaces_InterfaceType = 136 // IETFInterfaces_InterfaceType_ipOverClaw corresponds to the value ipOverClaw of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_ipOverClaw E_IETFInterfaces_InterfaceType = 137 // IETFInterfaces_InterfaceType_ipSwitch corresponds to the value ipSwitch of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_ipSwitch E_IETFInterfaces_InterfaceType = 138 // IETFInterfaces_InterfaceType_isdn corresponds to the value isdn of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_isdn E_IETFInterfaces_InterfaceType = 139 // IETFInterfaces_InterfaceType_isdns corresponds to the value isdns of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_isdns E_IETFInterfaces_InterfaceType = 140 // IETFInterfaces_InterfaceType_isdnu corresponds to the value isdnu of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_isdnu E_IETFInterfaces_InterfaceType = 141 // IETFInterfaces_InterfaceType_iso88022llc corresponds to the value iso88022llc of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_iso88022llc E_IETFInterfaces_InterfaceType = 142 // IETFInterfaces_InterfaceType_iso88023Csmacd corresponds to the value iso88023Csmacd of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_iso88023Csmacd E_IETFInterfaces_InterfaceType = 143 // IETFInterfaces_InterfaceType_iso88024TokenBus corresponds to the value iso88024TokenBus of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_iso88024TokenBus E_IETFInterfaces_InterfaceType = 144 // IETFInterfaces_InterfaceType_iso88025CRFPInt corresponds to the value iso88025CRFPInt of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_iso88025CRFPInt E_IETFInterfaces_InterfaceType = 145 // IETFInterfaces_InterfaceType_iso88025Dtr corresponds to the value iso88025Dtr of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_iso88025Dtr E_IETFInterfaces_InterfaceType = 146 // IETFInterfaces_InterfaceType_iso88025Fiber corresponds to the value iso88025Fiber of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_iso88025Fiber E_IETFInterfaces_InterfaceType = 147 // IETFInterfaces_InterfaceType_iso88025TokenRing corresponds to the value iso88025TokenRing of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_iso88025TokenRing E_IETFInterfaces_InterfaceType = 148 // IETFInterfaces_InterfaceType_iso88026Man corresponds to the value iso88026Man of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_iso88026Man E_IETFInterfaces_InterfaceType = 149 // IETFInterfaces_InterfaceType_isup corresponds to the value isup of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_isup E_IETFInterfaces_InterfaceType = 150 // IETFInterfaces_InterfaceType_l2vlan corresponds to the value l2vlan of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_l2vlan E_IETFInterfaces_InterfaceType = 151 // IETFInterfaces_InterfaceType_l3ipvlan corresponds to the value l3ipvlan of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_l3ipvlan E_IETFInterfaces_InterfaceType = 152 // IETFInterfaces_InterfaceType_l3ipxvlan corresponds to the value l3ipxvlan of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_l3ipxvlan E_IETFInterfaces_InterfaceType = 153 // IETFInterfaces_InterfaceType_lapb corresponds to the value lapb of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_lapb E_IETFInterfaces_InterfaceType = 154 // IETFInterfaces_InterfaceType_lapd corresponds to the value lapd of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_lapd E_IETFInterfaces_InterfaceType = 155 // IETFInterfaces_InterfaceType_lapf corresponds to the value lapf of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_lapf E_IETFInterfaces_InterfaceType = 156 // IETFInterfaces_InterfaceType_linegroup corresponds to the value linegroup of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_linegroup E_IETFInterfaces_InterfaceType = 157 // IETFInterfaces_InterfaceType_lmp corresponds to the value lmp of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_lmp E_IETFInterfaces_InterfaceType = 158 // IETFInterfaces_InterfaceType_localTalk corresponds to the value localTalk of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_localTalk E_IETFInterfaces_InterfaceType = 159 // IETFInterfaces_InterfaceType_macSecControlledIF corresponds to the value macSecControlledIF of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_macSecControlledIF E_IETFInterfaces_InterfaceType = 160 // IETFInterfaces_InterfaceType_macSecUncontrolledIF corresponds to the value macSecUncontrolledIF of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_macSecUncontrolledIF E_IETFInterfaces_InterfaceType = 161 // IETFInterfaces_InterfaceType_mediaMailOverIp corresponds to the value mediaMailOverIp of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_mediaMailOverIp E_IETFInterfaces_InterfaceType = 162 // IETFInterfaces_InterfaceType_mfSigLink corresponds to the value mfSigLink of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_mfSigLink E_IETFInterfaces_InterfaceType = 163 // IETFInterfaces_InterfaceType_miox25 corresponds to the value miox25 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_miox25 E_IETFInterfaces_InterfaceType = 164 // IETFInterfaces_InterfaceType_mocaVersion1 corresponds to the value mocaVersion1 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_mocaVersion1 E_IETFInterfaces_InterfaceType = 165 // IETFInterfaces_InterfaceType_modem corresponds to the value modem of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_modem E_IETFInterfaces_InterfaceType = 166 // IETFInterfaces_InterfaceType_mpc corresponds to the value mpc of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_mpc E_IETFInterfaces_InterfaceType = 167 // IETFInterfaces_InterfaceType_mpegTransport corresponds to the value mpegTransport of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_mpegTransport E_IETFInterfaces_InterfaceType = 168 // IETFInterfaces_InterfaceType_mpls corresponds to the value mpls of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_mpls E_IETFInterfaces_InterfaceType = 169 // IETFInterfaces_InterfaceType_mplsTunnel corresponds to the value mplsTunnel of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_mplsTunnel E_IETFInterfaces_InterfaceType = 170 // IETFInterfaces_InterfaceType_msdsl corresponds to the value msdsl of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_msdsl E_IETFInterfaces_InterfaceType = 171 // IETFInterfaces_InterfaceType_mvl corresponds to the value mvl of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_mvl E_IETFInterfaces_InterfaceType = 172 // IETFInterfaces_InterfaceType_myrinet corresponds to the value myrinet of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_myrinet E_IETFInterfaces_InterfaceType = 173 // IETFInterfaces_InterfaceType_nfas corresponds to the value nfas of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_nfas E_IETFInterfaces_InterfaceType = 174 // IETFInterfaces_InterfaceType_nsip corresponds to the value nsip of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_nsip E_IETFInterfaces_InterfaceType = 175 // IETFInterfaces_InterfaceType_opticalChannel corresponds to the value opticalChannel of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_opticalChannel E_IETFInterfaces_InterfaceType = 176 // IETFInterfaces_InterfaceType_opticalChannelGroup corresponds to the value opticalChannelGroup of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_opticalChannelGroup E_IETFInterfaces_InterfaceType = 177 // IETFInterfaces_InterfaceType_opticalTransport corresponds to the value opticalTransport of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_opticalTransport E_IETFInterfaces_InterfaceType = 178 // IETFInterfaces_InterfaceType_other corresponds to the value other of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_other E_IETFInterfaces_InterfaceType = 179 // IETFInterfaces_InterfaceType_otnOdu corresponds to the value otnOdu of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_otnOdu E_IETFInterfaces_InterfaceType = 180 // IETFInterfaces_InterfaceType_otnOtu corresponds to the value otnOtu of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_otnOtu E_IETFInterfaces_InterfaceType = 181 // IETFInterfaces_InterfaceType_para corresponds to the value para of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_para E_IETFInterfaces_InterfaceType = 182 // IETFInterfaces_InterfaceType_pdnEtherLoop1 corresponds to the value pdnEtherLoop1 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_pdnEtherLoop1 E_IETFInterfaces_InterfaceType = 183 // IETFInterfaces_InterfaceType_pdnEtherLoop2 corresponds to the value pdnEtherLoop2 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_pdnEtherLoop2 E_IETFInterfaces_InterfaceType = 184 // IETFInterfaces_InterfaceType_pip corresponds to the value pip of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_pip E_IETFInterfaces_InterfaceType = 185 // IETFInterfaces_InterfaceType_plc corresponds to the value plc of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_plc E_IETFInterfaces_InterfaceType = 186 // IETFInterfaces_InterfaceType_pon155 corresponds to the value pon155 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_pon155 E_IETFInterfaces_InterfaceType = 187 // IETFInterfaces_InterfaceType_pon622 corresponds to the value pon622 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_pon622 E_IETFInterfaces_InterfaceType = 188 // IETFInterfaces_InterfaceType_pos corresponds to the value pos of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_pos E_IETFInterfaces_InterfaceType = 189 // IETFInterfaces_InterfaceType_ppp corresponds to the value ppp of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_ppp E_IETFInterfaces_InterfaceType = 190 // IETFInterfaces_InterfaceType_pppMultilinkBundle corresponds to the value pppMultilinkBundle of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_pppMultilinkBundle E_IETFInterfaces_InterfaceType = 191 // IETFInterfaces_InterfaceType_primaryISDN corresponds to the value primaryISDN of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_primaryISDN E_IETFInterfaces_InterfaceType = 192 // IETFInterfaces_InterfaceType_propAtm corresponds to the value propAtm of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_propAtm E_IETFInterfaces_InterfaceType = 193 // IETFInterfaces_InterfaceType_propBWAp2Mp corresponds to the value propBWAp2Mp of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_propBWAp2Mp E_IETFInterfaces_InterfaceType = 194 // IETFInterfaces_InterfaceType_propCnls corresponds to the value propCnls of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_propCnls E_IETFInterfaces_InterfaceType = 195 // IETFInterfaces_InterfaceType_propDocsWirelessDownstream corresponds to the value propDocsWirelessDownstream of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_propDocsWirelessDownstream E_IETFInterfaces_InterfaceType = 196 // IETFInterfaces_InterfaceType_propDocsWirelessMaclayer corresponds to the value propDocsWirelessMaclayer of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_propDocsWirelessMaclayer E_IETFInterfaces_InterfaceType = 197 // IETFInterfaces_InterfaceType_propDocsWirelessUpstream corresponds to the value propDocsWirelessUpstream of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_propDocsWirelessUpstream E_IETFInterfaces_InterfaceType = 198 // IETFInterfaces_InterfaceType_propMultiplexor corresponds to the value propMultiplexor of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_propMultiplexor E_IETFInterfaces_InterfaceType = 199 // IETFInterfaces_InterfaceType_propPointToPointSerial corresponds to the value propPointToPointSerial of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_propPointToPointSerial E_IETFInterfaces_InterfaceType = 200 // IETFInterfaces_InterfaceType_propVirtual corresponds to the value propVirtual of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_propVirtual E_IETFInterfaces_InterfaceType = 201 // IETFInterfaces_InterfaceType_propWirelessP2P corresponds to the value propWirelessP2P of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_propWirelessP2P E_IETFInterfaces_InterfaceType = 202 // IETFInterfaces_InterfaceType_proteon10Mbit corresponds to the value proteon10Mbit of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_proteon10Mbit E_IETFInterfaces_InterfaceType = 203 // IETFInterfaces_InterfaceType_proteon80Mbit corresponds to the value proteon80Mbit of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_proteon80Mbit E_IETFInterfaces_InterfaceType = 204 // IETFInterfaces_InterfaceType_q2931 corresponds to the value q2931 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_q2931 E_IETFInterfaces_InterfaceType = 205 // IETFInterfaces_InterfaceType_qam corresponds to the value qam of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_qam E_IETFInterfaces_InterfaceType = 206 // IETFInterfaces_InterfaceType_qllc corresponds to the value qllc of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_qllc E_IETFInterfaces_InterfaceType = 207 // IETFInterfaces_InterfaceType_radioMAC corresponds to the value radioMAC of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_radioMAC E_IETFInterfaces_InterfaceType = 208 // IETFInterfaces_InterfaceType_radsl corresponds to the value radsl of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_radsl E_IETFInterfaces_InterfaceType = 209 // IETFInterfaces_InterfaceType_reachDSL corresponds to the value reachDSL of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_reachDSL E_IETFInterfaces_InterfaceType = 210 // IETFInterfaces_InterfaceType_regular1822 corresponds to the value regular1822 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_regular1822 E_IETFInterfaces_InterfaceType = 211 // IETFInterfaces_InterfaceType_rfc1483 corresponds to the value rfc1483 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_rfc1483 E_IETFInterfaces_InterfaceType = 212 // IETFInterfaces_InterfaceType_rfc877x25 corresponds to the value rfc877x25 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_rfc877x25 E_IETFInterfaces_InterfaceType = 213 // IETFInterfaces_InterfaceType_rpr corresponds to the value rpr of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_rpr E_IETFInterfaces_InterfaceType = 214 // IETFInterfaces_InterfaceType_rs232 corresponds to the value rs232 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_rs232 E_IETFInterfaces_InterfaceType = 215 // IETFInterfaces_InterfaceType_rsrb corresponds to the value rsrb of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_rsrb E_IETFInterfaces_InterfaceType = 216 // IETFInterfaces_InterfaceType_sdlc corresponds to the value sdlc of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_sdlc E_IETFInterfaces_InterfaceType = 217 // IETFInterfaces_InterfaceType_sdsl corresponds to the value sdsl of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_sdsl E_IETFInterfaces_InterfaceType = 218 // IETFInterfaces_InterfaceType_shdsl corresponds to the value shdsl of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_shdsl E_IETFInterfaces_InterfaceType = 219 // IETFInterfaces_InterfaceType_sip corresponds to the value sip of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_sip E_IETFInterfaces_InterfaceType = 220 // IETFInterfaces_InterfaceType_sipSig corresponds to the value sipSig of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_sipSig E_IETFInterfaces_InterfaceType = 221 // IETFInterfaces_InterfaceType_sipTg corresponds to the value sipTg of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_sipTg E_IETFInterfaces_InterfaceType = 222 // IETFInterfaces_InterfaceType_sixToFour corresponds to the value sixToFour of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_sixToFour E_IETFInterfaces_InterfaceType = 223 // IETFInterfaces_InterfaceType_slip corresponds to the value slip of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_slip E_IETFInterfaces_InterfaceType = 224 // IETFInterfaces_InterfaceType_smdsDxi corresponds to the value smdsDxi of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_smdsDxi E_IETFInterfaces_InterfaceType = 225 // IETFInterfaces_InterfaceType_smdsIcip corresponds to the value smdsIcip of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_smdsIcip E_IETFInterfaces_InterfaceType = 226 // IETFInterfaces_InterfaceType_softwareLoopback corresponds to the value softwareLoopback of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_softwareLoopback E_IETFInterfaces_InterfaceType = 227 // IETFInterfaces_InterfaceType_sonet corresponds to the value sonet of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_sonet E_IETFInterfaces_InterfaceType = 228 // IETFInterfaces_InterfaceType_sonetOverheadChannel corresponds to the value sonetOverheadChannel of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_sonetOverheadChannel E_IETFInterfaces_InterfaceType = 229 // IETFInterfaces_InterfaceType_sonetPath corresponds to the value sonetPath of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_sonetPath E_IETFInterfaces_InterfaceType = 230 // IETFInterfaces_InterfaceType_sonetVT corresponds to the value sonetVT of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_sonetVT E_IETFInterfaces_InterfaceType = 231 // IETFInterfaces_InterfaceType_srp corresponds to the value srp of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_srp E_IETFInterfaces_InterfaceType = 232 // IETFInterfaces_InterfaceType_ss7SigLink corresponds to the value ss7SigLink of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_ss7SigLink E_IETFInterfaces_InterfaceType = 233 // IETFInterfaces_InterfaceType_stackToStack corresponds to the value stackToStack of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_stackToStack E_IETFInterfaces_InterfaceType = 234 // IETFInterfaces_InterfaceType_starLan corresponds to the value starLan of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_starLan E_IETFInterfaces_InterfaceType = 235 // IETFInterfaces_InterfaceType_tdlc corresponds to the value tdlc of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_tdlc E_IETFInterfaces_InterfaceType = 236 // IETFInterfaces_InterfaceType_teLink corresponds to the value teLink of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_teLink E_IETFInterfaces_InterfaceType = 237 // IETFInterfaces_InterfaceType_termPad corresponds to the value termPad of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_termPad E_IETFInterfaces_InterfaceType = 238 // IETFInterfaces_InterfaceType_tr008 corresponds to the value tr008 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_tr008 E_IETFInterfaces_InterfaceType = 239 // IETFInterfaces_InterfaceType_transpHdlc corresponds to the value transpHdlc of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_transpHdlc E_IETFInterfaces_InterfaceType = 240 // IETFInterfaces_InterfaceType_tunnel corresponds to the value tunnel of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_tunnel E_IETFInterfaces_InterfaceType = 241 // IETFInterfaces_InterfaceType_ultra corresponds to the value ultra of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_ultra E_IETFInterfaces_InterfaceType = 242 // IETFInterfaces_InterfaceType_usb corresponds to the value usb of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_usb E_IETFInterfaces_InterfaceType = 243 // IETFInterfaces_InterfaceType_v11 corresponds to the value v11 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_v11 E_IETFInterfaces_InterfaceType = 244 // IETFInterfaces_InterfaceType_v35 corresponds to the value v35 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_v35 E_IETFInterfaces_InterfaceType = 245 // IETFInterfaces_InterfaceType_v36 corresponds to the value v36 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_v36 E_IETFInterfaces_InterfaceType = 246 // IETFInterfaces_InterfaceType_v37 corresponds to the value v37 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_v37 E_IETFInterfaces_InterfaceType = 247 // IETFInterfaces_InterfaceType_vdsl corresponds to the value vdsl of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_vdsl E_IETFInterfaces_InterfaceType = 248 // IETFInterfaces_InterfaceType_vdsl2 corresponds to the value vdsl2 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_vdsl2 E_IETFInterfaces_InterfaceType = 249 // IETFInterfaces_InterfaceType_virtualIpAddress corresponds to the value virtualIpAddress of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_virtualIpAddress E_IETFInterfaces_InterfaceType = 250 // IETFInterfaces_InterfaceType_virtualTg corresponds to the value virtualTg of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_virtualTg E_IETFInterfaces_InterfaceType = 251 // IETFInterfaces_InterfaceType_vmwareNicTeam corresponds to the value vmwareNicTeam of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_vmwareNicTeam E_IETFInterfaces_InterfaceType = 252 // IETFInterfaces_InterfaceType_vmwareVirtualNic corresponds to the value vmwareVirtualNic of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_vmwareVirtualNic E_IETFInterfaces_InterfaceType = 253 // IETFInterfaces_InterfaceType_voiceDID corresponds to the value voiceDID of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_voiceDID E_IETFInterfaces_InterfaceType = 254 // IETFInterfaces_InterfaceType_voiceEBS corresponds to the value voiceEBS of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_voiceEBS E_IETFInterfaces_InterfaceType = 255 // IETFInterfaces_InterfaceType_voiceEM corresponds to the value voiceEM of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_voiceEM E_IETFInterfaces_InterfaceType = 256 // IETFInterfaces_InterfaceType_voiceEMFGD corresponds to the value voiceEMFGD of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_voiceEMFGD E_IETFInterfaces_InterfaceType = 257 // IETFInterfaces_InterfaceType_voiceEncap corresponds to the value voiceEncap of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_voiceEncap E_IETFInterfaces_InterfaceType = 258 // IETFInterfaces_InterfaceType_voiceFGDEANA corresponds to the value voiceFGDEANA of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_voiceFGDEANA E_IETFInterfaces_InterfaceType = 259 // IETFInterfaces_InterfaceType_voiceFGDOS corresponds to the value voiceFGDOS of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_voiceFGDOS E_IETFInterfaces_InterfaceType = 260 // IETFInterfaces_InterfaceType_voiceFXO corresponds to the value voiceFXO of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_voiceFXO E_IETFInterfaces_InterfaceType = 261 // IETFInterfaces_InterfaceType_voiceFXS corresponds to the value voiceFXS of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_voiceFXS E_IETFInterfaces_InterfaceType = 262 // IETFInterfaces_InterfaceType_voiceOverAtm corresponds to the value voiceOverAtm of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_voiceOverAtm E_IETFInterfaces_InterfaceType = 263 // IETFInterfaces_InterfaceType_voiceOverCable corresponds to the value voiceOverCable of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_voiceOverCable E_IETFInterfaces_InterfaceType = 264 // IETFInterfaces_InterfaceType_voiceOverFrameRelay corresponds to the value voiceOverFrameRelay of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_voiceOverFrameRelay E_IETFInterfaces_InterfaceType = 265 // IETFInterfaces_InterfaceType_voiceOverIp corresponds to the value voiceOverIp of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_voiceOverIp E_IETFInterfaces_InterfaceType = 266 // IETFInterfaces_InterfaceType_wwanPP corresponds to the value wwanPP of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_wwanPP E_IETFInterfaces_InterfaceType = 267 // IETFInterfaces_InterfaceType_wwanPP2 corresponds to the value wwanPP2 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_wwanPP2 E_IETFInterfaces_InterfaceType = 268 // IETFInterfaces_InterfaceType_x213 corresponds to the value x213 of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_x213 E_IETFInterfaces_InterfaceType = 269 // IETFInterfaces_InterfaceType_x25huntGroup corresponds to the value x25huntGroup of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_x25huntGroup E_IETFInterfaces_InterfaceType = 270 // IETFInterfaces_InterfaceType_x25mlp corresponds to the value x25mlp of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_x25mlp E_IETFInterfaces_InterfaceType = 271 // IETFInterfaces_InterfaceType_x25ple corresponds to the value x25ple of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_x25ple E_IETFInterfaces_InterfaceType = 272 // IETFInterfaces_InterfaceType_x86Laps corresponds to the value x86Laps of IETFInterfaces_InterfaceType IETFInterfaces_InterfaceType_x86Laps E_IETFInterfaces_InterfaceType = 273 )
func (E_IETFInterfaces_InterfaceType) IsYANGGoEnum ¶
func (E_IETFInterfaces_InterfaceType) IsYANGGoEnum()
IsYANGGoEnum ensures that IETFInterfaces_InterfaceType implements the yang.GoEnum interface. This ensures that IETFInterfaces_InterfaceType can be identified as a mapped type for a YANG enumeration.
func (E_IETFInterfaces_InterfaceType) ΛMap ¶
func (E_IETFInterfaces_InterfaceType) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with IETFInterfaces_InterfaceType.
type E_OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE ¶
type E_OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE int64
E_OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE is a derived int64 type which is used to represent the enumerated node OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE. An additional value named OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_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 ( // OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE_UNSET corresponds to the value UNSET of OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE_UNSET E_OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE = 0 // OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE_AAA_ACCOUNTING_EVENT_COMMAND corresponds to the value AAA_ACCOUNTING_EVENT_COMMAND of OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE_AAA_ACCOUNTING_EVENT_COMMAND E_OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE = 1 // OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE_AAA_ACCOUNTING_EVENT_LOGIN corresponds to the value AAA_ACCOUNTING_EVENT_LOGIN of OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE_AAA_ACCOUNTING_EVENT_LOGIN E_OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE = 2 )
func (E_OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE) IsYANGGoEnum ¶
func (E_OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE) IsYANGGoEnum()
IsYANGGoEnum ensures that OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE implements the yang.GoEnum interface. This ensures that OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE can be identified as a mapped type for a YANG enumeration.
func (E_OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE) ΛMap ¶
func (E_OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE.
type E_OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE ¶
type E_OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE int64
E_OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE is a derived int64 type which is used to represent the enumerated node OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE. An additional value named OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_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 ( // OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE_UNSET corresponds to the value UNSET of OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE_UNSET E_OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE = 0 // OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE_AAA_AUTHORIZATION_EVENT_COMMAND corresponds to the value AAA_AUTHORIZATION_EVENT_COMMAND of OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE_AAA_AUTHORIZATION_EVENT_COMMAND E_OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE = 1 // OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE_AAA_AUTHORIZATION_EVENT_CONFIG corresponds to the value AAA_AUTHORIZATION_EVENT_CONFIG of OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE_AAA_AUTHORIZATION_EVENT_CONFIG E_OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE = 2 )
func (E_OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE) IsYANGGoEnum ¶
func (E_OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE) IsYANGGoEnum()
IsYANGGoEnum ensures that OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE implements the yang.GoEnum interface. This ensures that OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE can be identified as a mapped type for a YANG enumeration.
func (E_OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE) ΛMap ¶
func (E_OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE.
type E_OpenconfigAaaTypes_AAA_METHOD_TYPE ¶
type E_OpenconfigAaaTypes_AAA_METHOD_TYPE int64
E_OpenconfigAaaTypes_AAA_METHOD_TYPE is a derived int64 type which is used to represent the enumerated node OpenconfigAaaTypes_AAA_METHOD_TYPE. An additional value named OpenconfigAaaTypes_AAA_METHOD_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 ( // OpenconfigAaaTypes_AAA_METHOD_TYPE_UNSET corresponds to the value UNSET of OpenconfigAaaTypes_AAA_METHOD_TYPE OpenconfigAaaTypes_AAA_METHOD_TYPE_UNSET E_OpenconfigAaaTypes_AAA_METHOD_TYPE = 0 // OpenconfigAaaTypes_AAA_METHOD_TYPE_LOCAL corresponds to the value LOCAL of OpenconfigAaaTypes_AAA_METHOD_TYPE OpenconfigAaaTypes_AAA_METHOD_TYPE_LOCAL E_OpenconfigAaaTypes_AAA_METHOD_TYPE = 1 // OpenconfigAaaTypes_AAA_METHOD_TYPE_RADIUS_ALL corresponds to the value RADIUS_ALL of OpenconfigAaaTypes_AAA_METHOD_TYPE OpenconfigAaaTypes_AAA_METHOD_TYPE_RADIUS_ALL E_OpenconfigAaaTypes_AAA_METHOD_TYPE = 2 // OpenconfigAaaTypes_AAA_METHOD_TYPE_TACACS_ALL corresponds to the value TACACS_ALL of OpenconfigAaaTypes_AAA_METHOD_TYPE OpenconfigAaaTypes_AAA_METHOD_TYPE_TACACS_ALL E_OpenconfigAaaTypes_AAA_METHOD_TYPE = 3 )
func (E_OpenconfigAaaTypes_AAA_METHOD_TYPE) IsYANGGoEnum ¶
func (E_OpenconfigAaaTypes_AAA_METHOD_TYPE) IsYANGGoEnum()
IsYANGGoEnum ensures that OpenconfigAaaTypes_AAA_METHOD_TYPE implements the yang.GoEnum interface. This ensures that OpenconfigAaaTypes_AAA_METHOD_TYPE can be identified as a mapped type for a YANG enumeration.
func (E_OpenconfigAaaTypes_AAA_METHOD_TYPE) ΛMap ¶
func (E_OpenconfigAaaTypes_AAA_METHOD_TYPE) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with OpenconfigAaaTypes_AAA_METHOD_TYPE.
type E_OpenconfigAaaTypes_AAA_SERVER_TYPE ¶
type E_OpenconfigAaaTypes_AAA_SERVER_TYPE int64
E_OpenconfigAaaTypes_AAA_SERVER_TYPE is a derived int64 type which is used to represent the enumerated node OpenconfigAaaTypes_AAA_SERVER_TYPE. An additional value named OpenconfigAaaTypes_AAA_SERVER_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 ( // OpenconfigAaaTypes_AAA_SERVER_TYPE_UNSET corresponds to the value UNSET of OpenconfigAaaTypes_AAA_SERVER_TYPE OpenconfigAaaTypes_AAA_SERVER_TYPE_UNSET E_OpenconfigAaaTypes_AAA_SERVER_TYPE = 0 // OpenconfigAaaTypes_AAA_SERVER_TYPE_RADIUS corresponds to the value RADIUS of OpenconfigAaaTypes_AAA_SERVER_TYPE OpenconfigAaaTypes_AAA_SERVER_TYPE_RADIUS E_OpenconfigAaaTypes_AAA_SERVER_TYPE = 1 // OpenconfigAaaTypes_AAA_SERVER_TYPE_TACACS corresponds to the value TACACS of OpenconfigAaaTypes_AAA_SERVER_TYPE OpenconfigAaaTypes_AAA_SERVER_TYPE_TACACS E_OpenconfigAaaTypes_AAA_SERVER_TYPE = 2 )
func (E_OpenconfigAaaTypes_AAA_SERVER_TYPE) IsYANGGoEnum ¶
func (E_OpenconfigAaaTypes_AAA_SERVER_TYPE) IsYANGGoEnum()
IsYANGGoEnum ensures that OpenconfigAaaTypes_AAA_SERVER_TYPE implements the yang.GoEnum interface. This ensures that OpenconfigAaaTypes_AAA_SERVER_TYPE can be identified as a mapped type for a YANG enumeration.
func (E_OpenconfigAaaTypes_AAA_SERVER_TYPE) ΛMap ¶
func (E_OpenconfigAaaTypes_AAA_SERVER_TYPE) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with OpenconfigAaaTypes_AAA_SERVER_TYPE.
type E_OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES ¶
type E_OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES int64
E_OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES is a derived int64 type which is used to represent the enumerated node OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES. An additional value named OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES_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 ( // OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES_UNSET corresponds to the value UNSET of OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES_UNSET E_OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES = 0 // OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES_SYSTEM_ROLE_ADMIN corresponds to the value SYSTEM_ROLE_ADMIN of OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES_SYSTEM_ROLE_ADMIN E_OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES = 1 )
func (E_OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES) IsYANGGoEnum ¶
func (E_OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES) IsYANGGoEnum()
IsYANGGoEnum ensures that OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES implements the yang.GoEnum interface. This ensures that OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES can be identified as a mapped type for a YANG enumeration.
func (E_OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES) ΛMap ¶
func (E_OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES.
type E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY ¶
type E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY int64
E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY is a derived int64 type which is used to represent the enumerated node OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY. An additional value named OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY_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 ( // OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY_UNSET corresponds to the value UNSET of OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY_UNSET E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY = 0 // OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY_CRITICAL corresponds to the value CRITICAL of OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY_CRITICAL E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY = 1 // OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY_MAJOR corresponds to the value MAJOR of OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY_MAJOR E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY = 2 // OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY_MINOR corresponds to the value MINOR of OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY_MINOR E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY = 3 // OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY_UNKNOWN corresponds to the value UNKNOWN of OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY_UNKNOWN E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY = 4 // OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY_WARNING corresponds to the value WARNING of OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY_WARNING E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY = 5 )
func (E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY) IsYANGGoEnum ¶
func (E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY) IsYANGGoEnum()
IsYANGGoEnum ensures that OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY implements the yang.GoEnum interface. This ensures that OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY can be identified as a mapped type for a YANG enumeration.
func (E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY) ΛMap ¶
func (E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY.
type E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID ¶
type E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID int64
E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID is a derived int64 type which is used to represent the enumerated node OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID. An additional value named OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID_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 ( // OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID_UNSET corresponds to the value UNSET of OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID_UNSET E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID = 0 // OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID_AIS corresponds to the value AIS of OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID_AIS E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID = 1 // OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID_EQPT corresponds to the value EQPT of OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID_EQPT E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID = 2 // OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID_LOS corresponds to the value LOS of OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID_LOS E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID = 3 // OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID_OTS corresponds to the value OTS of OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID_OTS E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID = 4 )
func (E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID) IsYANGGoEnum ¶
func (E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID) IsYANGGoEnum()
IsYANGGoEnum ensures that OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID implements the yang.GoEnum interface. This ensures that OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID can be identified as a mapped type for a YANG enumeration.
func (E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID) ΛMap ¶
func (E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID.
type E_OpenconfigIfEthernet_ETHERNET_SPEED ¶
type E_OpenconfigIfEthernet_ETHERNET_SPEED int64
E_OpenconfigIfEthernet_ETHERNET_SPEED is a derived int64 type which is used to represent the enumerated node OpenconfigIfEthernet_ETHERNET_SPEED. An additional value named OpenconfigIfEthernet_ETHERNET_SPEED_UNSET is added to the enumeration which is used as the nil value, indicating that the enumeration was not explicitly set by the program importing the generated structures.
const ( // OpenconfigIfEthernet_ETHERNET_SPEED_UNSET corresponds to the value UNSET of OpenconfigIfEthernet_ETHERNET_SPEED OpenconfigIfEthernet_ETHERNET_SPEED_UNSET E_OpenconfigIfEthernet_ETHERNET_SPEED = 0 // OpenconfigIfEthernet_ETHERNET_SPEED_SPEED_100GB corresponds to the value SPEED_100GB of OpenconfigIfEthernet_ETHERNET_SPEED OpenconfigIfEthernet_ETHERNET_SPEED_SPEED_100GB E_OpenconfigIfEthernet_ETHERNET_SPEED = 1 // OpenconfigIfEthernet_ETHERNET_SPEED_SPEED_100MB corresponds to the value SPEED_100MB of OpenconfigIfEthernet_ETHERNET_SPEED OpenconfigIfEthernet_ETHERNET_SPEED_SPEED_100MB E_OpenconfigIfEthernet_ETHERNET_SPEED = 2 // OpenconfigIfEthernet_ETHERNET_SPEED_SPEED_10GB corresponds to the value SPEED_10GB of OpenconfigIfEthernet_ETHERNET_SPEED OpenconfigIfEthernet_ETHERNET_SPEED_SPEED_10GB E_OpenconfigIfEthernet_ETHERNET_SPEED = 3 // OpenconfigIfEthernet_ETHERNET_SPEED_SPEED_10MB corresponds to the value SPEED_10MB of OpenconfigIfEthernet_ETHERNET_SPEED OpenconfigIfEthernet_ETHERNET_SPEED_SPEED_10MB E_OpenconfigIfEthernet_ETHERNET_SPEED = 4 // OpenconfigIfEthernet_ETHERNET_SPEED_SPEED_1GB corresponds to the value SPEED_1GB of OpenconfigIfEthernet_ETHERNET_SPEED OpenconfigIfEthernet_ETHERNET_SPEED_SPEED_1GB E_OpenconfigIfEthernet_ETHERNET_SPEED = 5 // OpenconfigIfEthernet_ETHERNET_SPEED_SPEED_2500MB corresponds to the value SPEED_2500MB of OpenconfigIfEthernet_ETHERNET_SPEED OpenconfigIfEthernet_ETHERNET_SPEED_SPEED_2500MB E_OpenconfigIfEthernet_ETHERNET_SPEED = 6 // OpenconfigIfEthernet_ETHERNET_SPEED_SPEED_25GB corresponds to the value SPEED_25GB of OpenconfigIfEthernet_ETHERNET_SPEED OpenconfigIfEthernet_ETHERNET_SPEED_SPEED_25GB E_OpenconfigIfEthernet_ETHERNET_SPEED = 7 // OpenconfigIfEthernet_ETHERNET_SPEED_SPEED_40GB corresponds to the value SPEED_40GB of OpenconfigIfEthernet_ETHERNET_SPEED OpenconfigIfEthernet_ETHERNET_SPEED_SPEED_40GB E_OpenconfigIfEthernet_ETHERNET_SPEED = 8 // OpenconfigIfEthernet_ETHERNET_SPEED_SPEED_50GB corresponds to the value SPEED_50GB of OpenconfigIfEthernet_ETHERNET_SPEED OpenconfigIfEthernet_ETHERNET_SPEED_SPEED_50GB E_OpenconfigIfEthernet_ETHERNET_SPEED = 9 // OpenconfigIfEthernet_ETHERNET_SPEED_SPEED_5GB corresponds to the value SPEED_5GB of OpenconfigIfEthernet_ETHERNET_SPEED OpenconfigIfEthernet_ETHERNET_SPEED_SPEED_5GB E_OpenconfigIfEthernet_ETHERNET_SPEED = 10 // OpenconfigIfEthernet_ETHERNET_SPEED_SPEED_UNKNOWN corresponds to the value SPEED_UNKNOWN of OpenconfigIfEthernet_ETHERNET_SPEED OpenconfigIfEthernet_ETHERNET_SPEED_SPEED_UNKNOWN E_OpenconfigIfEthernet_ETHERNET_SPEED = 11 )
func (E_OpenconfigIfEthernet_ETHERNET_SPEED) IsYANGGoEnum ¶
func (E_OpenconfigIfEthernet_ETHERNET_SPEED) IsYANGGoEnum()
IsYANGGoEnum ensures that OpenconfigIfEthernet_ETHERNET_SPEED implements the yang.GoEnum interface. This ensures that OpenconfigIfEthernet_ETHERNET_SPEED can be identified as a mapped type for a YANG enumeration.
func (E_OpenconfigIfEthernet_ETHERNET_SPEED) ΛMap ¶
func (E_OpenconfigIfEthernet_ETHERNET_SPEED) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with OpenconfigIfEthernet_ETHERNET_SPEED.
type E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientAls ¶
type E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientAls int64
E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientAls is a derived int64 type which is used to represent the enumerated node OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientAls. An additional value named OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientAls_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 ( // OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientAls_UNSET corresponds to the value UNSET of OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientAls OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientAls_UNSET E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientAls = 0 // OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientAls_NONE corresponds to the value NONE of OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientAls OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientAls_NONE E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientAls = 1 // OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientAls_LASER_SHUTDOWN corresponds to the value LASER_SHUTDOWN of OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientAls OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientAls_LASER_SHUTDOWN E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientAls = 2 // OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientAls_ETHERNET corresponds to the value ETHERNET of OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientAls OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientAls_ETHERNET E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientAls = 3 )
func (E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientAls) IsYANGGoEnum ¶
func (E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientAls) IsYANGGoEnum()
IsYANGGoEnum ensures that OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientAls implements the yang.GoEnum interface. This ensures that OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientAls can be identified as a mapped type for a YANG enumeration.
func (E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientAls) ΛMap ¶
func (E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientAls) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientAls.
type E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientFec ¶
type E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientFec int64
E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientFec is a derived int64 type which is used to represent the enumerated node OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientFec. An additional value named OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientFec_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 ( // OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientFec_UNSET corresponds to the value UNSET of OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientFec OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientFec_UNSET E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientFec = 0 // OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientFec_ENABLED corresponds to the value ENABLED of OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientFec OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientFec_ENABLED E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientFec = 1 // OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientFec_DISABLED corresponds to the value DISABLED of OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientFec OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientFec_DISABLED E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientFec = 2 // OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientFec_AUTO corresponds to the value AUTO of OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientFec OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientFec_AUTO E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientFec = 3 )
func (E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientFec) IsYANGGoEnum ¶
func (E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientFec) IsYANGGoEnum()
IsYANGGoEnum ensures that OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientFec implements the yang.GoEnum interface. This ensures that OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientFec can be identified as a mapped type for a YANG enumeration.
func (E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientFec) ΛMap ¶
func (E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientFec) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientFec.
type E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_DuplexMode ¶
type E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_DuplexMode int64
E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_DuplexMode is a derived int64 type which is used to represent the enumerated node OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_DuplexMode. An additional value named OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_DuplexMode_UNSET is added to the enumeration which is used as the nil value, indicating that the enumeration was not explicitly set by the program importing the generated structures.
const ( // OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_DuplexMode_UNSET corresponds to the value UNSET of OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_DuplexMode OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_DuplexMode_UNSET E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_DuplexMode = 0 // OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_DuplexMode_FULL corresponds to the value FULL of OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_DuplexMode OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_DuplexMode_FULL E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_DuplexMode = 1 // OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_DuplexMode_HALF corresponds to the value HALF of OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_DuplexMode OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_DuplexMode_HALF E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_DuplexMode = 2 )
func (E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_DuplexMode) IsYANGGoEnum ¶
func (E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_DuplexMode) IsYANGGoEnum()
IsYANGGoEnum ensures that OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_DuplexMode implements the yang.GoEnum interface. This ensures that OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_DuplexMode can be identified as a mapped type for a YANG enumeration.
func (E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_DuplexMode) ΛMap ¶
func (E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_DuplexMode) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_DuplexMode.
type E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_NegotiatedDuplexMode ¶
type E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_NegotiatedDuplexMode int64
E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_NegotiatedDuplexMode is a derived int64 type which is used to represent the enumerated node OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_NegotiatedDuplexMode. An additional value named OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_NegotiatedDuplexMode_UNSET is added to the enumeration which is used as the nil value, indicating that the enumeration was not explicitly set by the program importing the generated structures.
const ( // OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_NegotiatedDuplexMode_UNSET corresponds to the value UNSET of OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_NegotiatedDuplexMode OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_NegotiatedDuplexMode_UNSET E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_NegotiatedDuplexMode = 0 // OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_NegotiatedDuplexMode_FULL corresponds to the value FULL of OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_NegotiatedDuplexMode OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_NegotiatedDuplexMode_FULL E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_NegotiatedDuplexMode = 1 // OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_NegotiatedDuplexMode_HALF corresponds to the value HALF of OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_NegotiatedDuplexMode OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_NegotiatedDuplexMode_HALF E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_NegotiatedDuplexMode = 2 )
func (E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_NegotiatedDuplexMode) IsYANGGoEnum ¶
func (E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_NegotiatedDuplexMode) IsYANGGoEnum()
IsYANGGoEnum ensures that OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_NegotiatedDuplexMode implements the yang.GoEnum interface. This ensures that OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_NegotiatedDuplexMode can be identified as a mapped type for a YANG enumeration.
func (E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_NegotiatedDuplexMode) ΛMap ¶
func (E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_NegotiatedDuplexMode) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_NegotiatedDuplexMode.
type E_OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus ¶
type E_OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus int64
E_OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus is a derived int64 type which is used to represent the enumerated node OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus. An additional value named OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus_UNSET is added to the enumeration which is used as the nil value, indicating that the enumeration was not explicitly set by the program importing the generated structures.
const ( // OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus_UNSET corresponds to the value UNSET of OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus_UNSET E_OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus = 0 // OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus_UP corresponds to the value UP of OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus_UP E_OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus = 1 // OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus_DOWN corresponds to the value DOWN of OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus_DOWN E_OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus = 2 // OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus_TESTING corresponds to the value TESTING of OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus_TESTING E_OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus = 3 )
func (E_OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus) IsYANGGoEnum ¶
func (E_OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus) IsYANGGoEnum()
IsYANGGoEnum ensures that OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus implements the yang.GoEnum interface. This ensures that OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus can be identified as a mapped type for a YANG enumeration.
func (E_OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus) ΛMap ¶
func (E_OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus.
type E_OpenconfigInterfaces_Interfaces_Interface_State_OperStatus ¶
type E_OpenconfigInterfaces_Interfaces_Interface_State_OperStatus int64
E_OpenconfigInterfaces_Interfaces_Interface_State_OperStatus is a derived int64 type which is used to represent the enumerated node OpenconfigInterfaces_Interfaces_Interface_State_OperStatus. An additional value named OpenconfigInterfaces_Interfaces_Interface_State_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 ( // OpenconfigInterfaces_Interfaces_Interface_State_OperStatus_UNSET corresponds to the value UNSET of OpenconfigInterfaces_Interfaces_Interface_State_OperStatus OpenconfigInterfaces_Interfaces_Interface_State_OperStatus_UNSET E_OpenconfigInterfaces_Interfaces_Interface_State_OperStatus = 0 // OpenconfigInterfaces_Interfaces_Interface_State_OperStatus_UP corresponds to the value UP of OpenconfigInterfaces_Interfaces_Interface_State_OperStatus OpenconfigInterfaces_Interfaces_Interface_State_OperStatus_UP E_OpenconfigInterfaces_Interfaces_Interface_State_OperStatus = 2 // OpenconfigInterfaces_Interfaces_Interface_State_OperStatus_DOWN corresponds to the value DOWN of OpenconfigInterfaces_Interfaces_Interface_State_OperStatus OpenconfigInterfaces_Interfaces_Interface_State_OperStatus_DOWN E_OpenconfigInterfaces_Interfaces_Interface_State_OperStatus = 3 // OpenconfigInterfaces_Interfaces_Interface_State_OperStatus_TESTING corresponds to the value TESTING of OpenconfigInterfaces_Interfaces_Interface_State_OperStatus OpenconfigInterfaces_Interfaces_Interface_State_OperStatus_TESTING E_OpenconfigInterfaces_Interfaces_Interface_State_OperStatus = 4 // OpenconfigInterfaces_Interfaces_Interface_State_OperStatus_UNKNOWN corresponds to the value UNKNOWN of OpenconfigInterfaces_Interfaces_Interface_State_OperStatus OpenconfigInterfaces_Interfaces_Interface_State_OperStatus_UNKNOWN E_OpenconfigInterfaces_Interfaces_Interface_State_OperStatus = 5 // OpenconfigInterfaces_Interfaces_Interface_State_OperStatus_DORMANT corresponds to the value DORMANT of OpenconfigInterfaces_Interfaces_Interface_State_OperStatus OpenconfigInterfaces_Interfaces_Interface_State_OperStatus_DORMANT E_OpenconfigInterfaces_Interfaces_Interface_State_OperStatus = 6 // OpenconfigInterfaces_Interfaces_Interface_State_OperStatus_NOT_PRESENT corresponds to the value NOT_PRESENT of OpenconfigInterfaces_Interfaces_Interface_State_OperStatus OpenconfigInterfaces_Interfaces_Interface_State_OperStatus_NOT_PRESENT E_OpenconfigInterfaces_Interfaces_Interface_State_OperStatus = 7 // OpenconfigInterfaces_Interfaces_Interface_State_OperStatus_LOWER_LAYER_DOWN corresponds to the value LOWER_LAYER_DOWN of OpenconfigInterfaces_Interfaces_Interface_State_OperStatus OpenconfigInterfaces_Interfaces_Interface_State_OperStatus_LOWER_LAYER_DOWN E_OpenconfigInterfaces_Interfaces_Interface_State_OperStatus = 8 )
func (E_OpenconfigInterfaces_Interfaces_Interface_State_OperStatus) IsYANGGoEnum ¶
func (E_OpenconfigInterfaces_Interfaces_Interface_State_OperStatus) IsYANGGoEnum()
IsYANGGoEnum ensures that OpenconfigInterfaces_Interfaces_Interface_State_OperStatus implements the yang.GoEnum interface. This ensures that OpenconfigInterfaces_Interfaces_Interface_State_OperStatus can be identified as a mapped type for a YANG enumeration.
func (E_OpenconfigInterfaces_Interfaces_Interface_State_OperStatus) ΛMap ¶
func (E_OpenconfigInterfaces_Interfaces_Interface_State_OperStatus) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with OpenconfigInterfaces_Interfaces_Interface_State_OperStatus.
type E_OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY ¶
type E_OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY int64
E_OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY is a derived int64 type which is used to represent the enumerated node OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY. An additional value named OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY_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 ( // OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY_UNSET corresponds to the value UNSET of OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY_UNSET E_OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY = 0 // OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY_C_VLAN corresponds to the value C_VLAN of OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY_C_VLAN E_OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY = 1 // OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY_DOCSIS_CABLE_DEVICE corresponds to the value DOCSIS_CABLE_DEVICE of OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY_DOCSIS_CABLE_DEVICE E_OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY = 2 // OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY_MAC_BRIDGE corresponds to the value MAC_BRIDGE of OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY_MAC_BRIDGE E_OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY = 3 // OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY_OTHER corresponds to the value OTHER of OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY_OTHER E_OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY = 4 // OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY_REPEATER corresponds to the value REPEATER of OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY_REPEATER E_OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY = 5 // OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY_ROUTER corresponds to the value ROUTER of OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY_ROUTER E_OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY = 6 // OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY_STATION_ONLY corresponds to the value STATION_ONLY of OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY_STATION_ONLY E_OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY = 7 // OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY_S_VLAN corresponds to the value S_VLAN of OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY_S_VLAN E_OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY = 8 // OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY_TELEPHONE corresponds to the value TELEPHONE of OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY_TELEPHONE E_OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY = 9 // OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY_TWO_PORT_MAC_RELAY corresponds to the value TWO_PORT_MAC_RELAY of OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY_TWO_PORT_MAC_RELAY E_OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY = 10 // OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY_WLAN_ACCESS_POINT corresponds to the value WLAN_ACCESS_POINT of OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY_WLAN_ACCESS_POINT E_OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY = 11 )
func (E_OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY) IsYANGGoEnum ¶
func (E_OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY) IsYANGGoEnum()
IsYANGGoEnum ensures that OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY implements the yang.GoEnum interface. This ensures that OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY can be identified as a mapped type for a YANG enumeration.
func (E_OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY) ΛMap ¶
func (E_OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY.
type E_OpenconfigLldpTypes_LLDP_TLV ¶
type E_OpenconfigLldpTypes_LLDP_TLV int64
E_OpenconfigLldpTypes_LLDP_TLV is a derived int64 type which is used to represent the enumerated node OpenconfigLldpTypes_LLDP_TLV. An additional value named OpenconfigLldpTypes_LLDP_TLV_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 ( // OpenconfigLldpTypes_LLDP_TLV_UNSET corresponds to the value UNSET of OpenconfigLldpTypes_LLDP_TLV OpenconfigLldpTypes_LLDP_TLV_UNSET E_OpenconfigLldpTypes_LLDP_TLV = 0 // OpenconfigLldpTypes_LLDP_TLV_CHASSIS_ID corresponds to the value CHASSIS_ID of OpenconfigLldpTypes_LLDP_TLV OpenconfigLldpTypes_LLDP_TLV_CHASSIS_ID E_OpenconfigLldpTypes_LLDP_TLV = 1 // OpenconfigLldpTypes_LLDP_TLV_MANAGEMENT_ADDRESS corresponds to the value MANAGEMENT_ADDRESS of OpenconfigLldpTypes_LLDP_TLV OpenconfigLldpTypes_LLDP_TLV_MANAGEMENT_ADDRESS E_OpenconfigLldpTypes_LLDP_TLV = 2 // OpenconfigLldpTypes_LLDP_TLV_PORT_DESCRIPTION corresponds to the value PORT_DESCRIPTION of OpenconfigLldpTypes_LLDP_TLV OpenconfigLldpTypes_LLDP_TLV_PORT_DESCRIPTION E_OpenconfigLldpTypes_LLDP_TLV = 3 // OpenconfigLldpTypes_LLDP_TLV_PORT_ID corresponds to the value PORT_ID of OpenconfigLldpTypes_LLDP_TLV OpenconfigLldpTypes_LLDP_TLV_PORT_ID E_OpenconfigLldpTypes_LLDP_TLV = 4 // OpenconfigLldpTypes_LLDP_TLV_SYSTEM_CAPABILITIES corresponds to the value SYSTEM_CAPABILITIES of OpenconfigLldpTypes_LLDP_TLV OpenconfigLldpTypes_LLDP_TLV_SYSTEM_CAPABILITIES E_OpenconfigLldpTypes_LLDP_TLV = 5 // OpenconfigLldpTypes_LLDP_TLV_SYSTEM_DESCRIPTION corresponds to the value SYSTEM_DESCRIPTION of OpenconfigLldpTypes_LLDP_TLV OpenconfigLldpTypes_LLDP_TLV_SYSTEM_DESCRIPTION E_OpenconfigLldpTypes_LLDP_TLV = 6 // OpenconfigLldpTypes_LLDP_TLV_SYSTEM_NAME corresponds to the value SYSTEM_NAME of OpenconfigLldpTypes_LLDP_TLV OpenconfigLldpTypes_LLDP_TLV_SYSTEM_NAME E_OpenconfigLldpTypes_LLDP_TLV = 7 )
func (E_OpenconfigLldpTypes_LLDP_TLV) IsYANGGoEnum ¶
func (E_OpenconfigLldpTypes_LLDP_TLV) IsYANGGoEnum()
IsYANGGoEnum ensures that OpenconfigLldpTypes_LLDP_TLV implements the yang.GoEnum interface. This ensures that OpenconfigLldpTypes_LLDP_TLV can be identified as a mapped type for a YANG enumeration.
func (E_OpenconfigLldpTypes_LLDP_TLV) ΛMap ¶
func (E_OpenconfigLldpTypes_LLDP_TLV) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with OpenconfigLldpTypes_LLDP_TLV.
type E_OpenconfigLldp_ChassisIdType ¶
type E_OpenconfigLldp_ChassisIdType int64
E_OpenconfigLldp_ChassisIdType is a derived int64 type which is used to represent the enumerated node OpenconfigLldp_ChassisIdType. An additional value named OpenconfigLldp_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 ( // OpenconfigLldp_ChassisIdType_UNSET corresponds to the value UNSET of OpenconfigLldp_ChassisIdType OpenconfigLldp_ChassisIdType_UNSET E_OpenconfigLldp_ChassisIdType = 0 // OpenconfigLldp_ChassisIdType_CHASSIS_COMPONENT corresponds to the value CHASSIS_COMPONENT of OpenconfigLldp_ChassisIdType OpenconfigLldp_ChassisIdType_CHASSIS_COMPONENT E_OpenconfigLldp_ChassisIdType = 1 // OpenconfigLldp_ChassisIdType_INTERFACE_ALIAS corresponds to the value INTERFACE_ALIAS of OpenconfigLldp_ChassisIdType OpenconfigLldp_ChassisIdType_INTERFACE_ALIAS E_OpenconfigLldp_ChassisIdType = 2 // OpenconfigLldp_ChassisIdType_PORT_COMPONENT corresponds to the value PORT_COMPONENT of OpenconfigLldp_ChassisIdType OpenconfigLldp_ChassisIdType_PORT_COMPONENT E_OpenconfigLldp_ChassisIdType = 3 // OpenconfigLldp_ChassisIdType_MAC_ADDRESS corresponds to the value MAC_ADDRESS of OpenconfigLldp_ChassisIdType OpenconfigLldp_ChassisIdType_MAC_ADDRESS E_OpenconfigLldp_ChassisIdType = 4 // OpenconfigLldp_ChassisIdType_NETWORK_ADDRESS corresponds to the value NETWORK_ADDRESS of OpenconfigLldp_ChassisIdType OpenconfigLldp_ChassisIdType_NETWORK_ADDRESS E_OpenconfigLldp_ChassisIdType = 5 // OpenconfigLldp_ChassisIdType_INTERFACE_NAME corresponds to the value INTERFACE_NAME of OpenconfigLldp_ChassisIdType OpenconfigLldp_ChassisIdType_INTERFACE_NAME E_OpenconfigLldp_ChassisIdType = 6 // OpenconfigLldp_ChassisIdType_LOCAL corresponds to the value LOCAL of OpenconfigLldp_ChassisIdType OpenconfigLldp_ChassisIdType_LOCAL E_OpenconfigLldp_ChassisIdType = 7 )
func (E_OpenconfigLldp_ChassisIdType) IsYANGGoEnum ¶
func (E_OpenconfigLldp_ChassisIdType) IsYANGGoEnum()
IsYANGGoEnum ensures that OpenconfigLldp_ChassisIdType implements the yang.GoEnum interface. This ensures that OpenconfigLldp_ChassisIdType can be identified as a mapped type for a YANG enumeration.
func (E_OpenconfigLldp_ChassisIdType) ΛMap ¶
func (E_OpenconfigLldp_ChassisIdType) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with OpenconfigLldp_ChassisIdType.
type E_OpenconfigLldp_PortIdType ¶
type E_OpenconfigLldp_PortIdType int64
E_OpenconfigLldp_PortIdType is a derived int64 type which is used to represent the enumerated node OpenconfigLldp_PortIdType. An additional value named OpenconfigLldp_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 ( // OpenconfigLldp_PortIdType_UNSET corresponds to the value UNSET of OpenconfigLldp_PortIdType OpenconfigLldp_PortIdType_UNSET E_OpenconfigLldp_PortIdType = 0 // OpenconfigLldp_PortIdType_INTERFACE_ALIAS corresponds to the value INTERFACE_ALIAS of OpenconfigLldp_PortIdType OpenconfigLldp_PortIdType_INTERFACE_ALIAS E_OpenconfigLldp_PortIdType = 1 // OpenconfigLldp_PortIdType_PORT_COMPONENT corresponds to the value PORT_COMPONENT of OpenconfigLldp_PortIdType OpenconfigLldp_PortIdType_PORT_COMPONENT E_OpenconfigLldp_PortIdType = 2 // OpenconfigLldp_PortIdType_MAC_ADDRESS corresponds to the value MAC_ADDRESS of OpenconfigLldp_PortIdType OpenconfigLldp_PortIdType_MAC_ADDRESS E_OpenconfigLldp_PortIdType = 3 // OpenconfigLldp_PortIdType_NETWORK_ADDRESS corresponds to the value NETWORK_ADDRESS of OpenconfigLldp_PortIdType OpenconfigLldp_PortIdType_NETWORK_ADDRESS E_OpenconfigLldp_PortIdType = 4 // OpenconfigLldp_PortIdType_INTERFACE_NAME corresponds to the value INTERFACE_NAME of OpenconfigLldp_PortIdType OpenconfigLldp_PortIdType_INTERFACE_NAME E_OpenconfigLldp_PortIdType = 5 // OpenconfigLldp_PortIdType_AGENT_CIRCUIT_ID corresponds to the value AGENT_CIRCUIT_ID of OpenconfigLldp_PortIdType OpenconfigLldp_PortIdType_AGENT_CIRCUIT_ID E_OpenconfigLldp_PortIdType = 6 // OpenconfigLldp_PortIdType_LOCAL corresponds to the value LOCAL of OpenconfigLldp_PortIdType OpenconfigLldp_PortIdType_LOCAL E_OpenconfigLldp_PortIdType = 7 )
func (E_OpenconfigLldp_PortIdType) IsYANGGoEnum ¶
func (E_OpenconfigLldp_PortIdType) IsYANGGoEnum()
IsYANGGoEnum ensures that OpenconfigLldp_PortIdType implements the yang.GoEnum interface. This ensures that OpenconfigLldp_PortIdType can be identified as a mapped type for a YANG enumeration.
func (E_OpenconfigLldp_PortIdType) ΛMap ¶
func (E_OpenconfigLldp_PortIdType) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with OpenconfigLldp_PortIdType.
type E_OpenconfigPlatformTypes_COMPONENT_OPER_STATUS ¶
type E_OpenconfigPlatformTypes_COMPONENT_OPER_STATUS int64
E_OpenconfigPlatformTypes_COMPONENT_OPER_STATUS is a derived int64 type which is used to represent the enumerated node OpenconfigPlatformTypes_COMPONENT_OPER_STATUS. An additional value named OpenconfigPlatformTypes_COMPONENT_OPER_STATUS_UNSET is added to the enumeration which is used as the nil value, indicating that the enumeration was not explicitly set by the program importing the generated structures.
const ( // OpenconfigPlatformTypes_COMPONENT_OPER_STATUS_UNSET corresponds to the value UNSET of OpenconfigPlatformTypes_COMPONENT_OPER_STATUS OpenconfigPlatformTypes_COMPONENT_OPER_STATUS_UNSET E_OpenconfigPlatformTypes_COMPONENT_OPER_STATUS = 0 // OpenconfigPlatformTypes_COMPONENT_OPER_STATUS_ACTIVE corresponds to the value ACTIVE of OpenconfigPlatformTypes_COMPONENT_OPER_STATUS OpenconfigPlatformTypes_COMPONENT_OPER_STATUS_ACTIVE E_OpenconfigPlatformTypes_COMPONENT_OPER_STATUS = 1 // OpenconfigPlatformTypes_COMPONENT_OPER_STATUS_DISABLED corresponds to the value DISABLED of OpenconfigPlatformTypes_COMPONENT_OPER_STATUS OpenconfigPlatformTypes_COMPONENT_OPER_STATUS_DISABLED E_OpenconfigPlatformTypes_COMPONENT_OPER_STATUS = 2 // OpenconfigPlatformTypes_COMPONENT_OPER_STATUS_INACTIVE corresponds to the value INACTIVE of OpenconfigPlatformTypes_COMPONENT_OPER_STATUS OpenconfigPlatformTypes_COMPONENT_OPER_STATUS_INACTIVE E_OpenconfigPlatformTypes_COMPONENT_OPER_STATUS = 3 )
func (E_OpenconfigPlatformTypes_COMPONENT_OPER_STATUS) IsYANGGoEnum ¶
func (E_OpenconfigPlatformTypes_COMPONENT_OPER_STATUS) IsYANGGoEnum()
IsYANGGoEnum ensures that OpenconfigPlatformTypes_COMPONENT_OPER_STATUS implements the yang.GoEnum interface. This ensures that OpenconfigPlatformTypes_COMPONENT_OPER_STATUS can be identified as a mapped type for a YANG enumeration.
func (E_OpenconfigPlatformTypes_COMPONENT_OPER_STATUS) ΛMap ¶
func (E_OpenconfigPlatformTypes_COMPONENT_OPER_STATUS) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with OpenconfigPlatformTypes_COMPONENT_OPER_STATUS.
type E_OpenconfigPlatformTypes_FEC_MODE_TYPE ¶
type E_OpenconfigPlatformTypes_FEC_MODE_TYPE int64
E_OpenconfigPlatformTypes_FEC_MODE_TYPE is a derived int64 type which is used to represent the enumerated node OpenconfigPlatformTypes_FEC_MODE_TYPE. An additional value named OpenconfigPlatformTypes_FEC_MODE_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 ( // OpenconfigPlatformTypes_FEC_MODE_TYPE_UNSET corresponds to the value UNSET of OpenconfigPlatformTypes_FEC_MODE_TYPE OpenconfigPlatformTypes_FEC_MODE_TYPE_UNSET E_OpenconfigPlatformTypes_FEC_MODE_TYPE = 0 // OpenconfigPlatformTypes_FEC_MODE_TYPE_FEC_AUTO corresponds to the value FEC_AUTO of OpenconfigPlatformTypes_FEC_MODE_TYPE OpenconfigPlatformTypes_FEC_MODE_TYPE_FEC_AUTO E_OpenconfigPlatformTypes_FEC_MODE_TYPE = 1 // OpenconfigPlatformTypes_FEC_MODE_TYPE_FEC_DISABLED corresponds to the value FEC_DISABLED of OpenconfigPlatformTypes_FEC_MODE_TYPE OpenconfigPlatformTypes_FEC_MODE_TYPE_FEC_DISABLED E_OpenconfigPlatformTypes_FEC_MODE_TYPE = 2 // OpenconfigPlatformTypes_FEC_MODE_TYPE_FEC_ENABLED corresponds to the value FEC_ENABLED of OpenconfigPlatformTypes_FEC_MODE_TYPE OpenconfigPlatformTypes_FEC_MODE_TYPE_FEC_ENABLED E_OpenconfigPlatformTypes_FEC_MODE_TYPE = 3 )
func (E_OpenconfigPlatformTypes_FEC_MODE_TYPE) IsYANGGoEnum ¶
func (E_OpenconfigPlatformTypes_FEC_MODE_TYPE) IsYANGGoEnum()
IsYANGGoEnum ensures that OpenconfigPlatformTypes_FEC_MODE_TYPE implements the yang.GoEnum interface. This ensures that OpenconfigPlatformTypes_FEC_MODE_TYPE can be identified as a mapped type for a YANG enumeration.
func (E_OpenconfigPlatformTypes_FEC_MODE_TYPE) ΛMap ¶
func (E_OpenconfigPlatformTypes_FEC_MODE_TYPE) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with OpenconfigPlatformTypes_FEC_MODE_TYPE.
type E_OpenconfigPlatformTypes_FEC_STATUS_TYPE ¶
type E_OpenconfigPlatformTypes_FEC_STATUS_TYPE int64
E_OpenconfigPlatformTypes_FEC_STATUS_TYPE is a derived int64 type which is used to represent the enumerated node OpenconfigPlatformTypes_FEC_STATUS_TYPE. An additional value named OpenconfigPlatformTypes_FEC_STATUS_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 ( // OpenconfigPlatformTypes_FEC_STATUS_TYPE_UNSET corresponds to the value UNSET of OpenconfigPlatformTypes_FEC_STATUS_TYPE OpenconfigPlatformTypes_FEC_STATUS_TYPE_UNSET E_OpenconfigPlatformTypes_FEC_STATUS_TYPE = 0 // OpenconfigPlatformTypes_FEC_STATUS_TYPE_FEC_STATUS_LOCKED corresponds to the value FEC_STATUS_LOCKED of OpenconfigPlatformTypes_FEC_STATUS_TYPE OpenconfigPlatformTypes_FEC_STATUS_TYPE_FEC_STATUS_LOCKED E_OpenconfigPlatformTypes_FEC_STATUS_TYPE = 1 // OpenconfigPlatformTypes_FEC_STATUS_TYPE_FEC_STATUS_UNLOCKED corresponds to the value FEC_STATUS_UNLOCKED of OpenconfigPlatformTypes_FEC_STATUS_TYPE OpenconfigPlatformTypes_FEC_STATUS_TYPE_FEC_STATUS_UNLOCKED E_OpenconfigPlatformTypes_FEC_STATUS_TYPE = 2 )
func (E_OpenconfigPlatformTypes_FEC_STATUS_TYPE) IsYANGGoEnum ¶
func (E_OpenconfigPlatformTypes_FEC_STATUS_TYPE) IsYANGGoEnum()
IsYANGGoEnum ensures that OpenconfigPlatformTypes_FEC_STATUS_TYPE implements the yang.GoEnum interface. This ensures that OpenconfigPlatformTypes_FEC_STATUS_TYPE can be identified as a mapped type for a YANG enumeration.
func (E_OpenconfigPlatformTypes_FEC_STATUS_TYPE) ΛMap ¶
func (E_OpenconfigPlatformTypes_FEC_STATUS_TYPE) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with OpenconfigPlatformTypes_FEC_STATUS_TYPE.
type E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT ¶
type E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT int64
E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT is a derived int64 type which is used to represent the enumerated node OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT. An additional value named OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_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 ( // OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_UNSET corresponds to the value UNSET of OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_UNSET E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT = 0 // OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_BACKPLANE corresponds to the value BACKPLANE of OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_BACKPLANE E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT = 1 // OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_CHASSIS corresponds to the value CHASSIS of OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_CHASSIS E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT = 2 // OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_CONTROLLER_CARD corresponds to the value CONTROLLER_CARD of OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_CONTROLLER_CARD E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT = 3 // OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_CPU corresponds to the value CPU of OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_CPU E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT = 4 // OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_FABRIC corresponds to the value FABRIC of OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_FABRIC E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT = 5 // OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_FAN corresponds to the value FAN of OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_FAN E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT = 6 // OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_FRU corresponds to the value FRU of OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_FRU E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT = 7 // OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_INTEGRATED_CIRCUIT corresponds to the value INTEGRATED_CIRCUIT of OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_INTEGRATED_CIRCUIT E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT = 8 // OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_LINECARD corresponds to the value LINECARD of OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_LINECARD E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT = 9 // OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_OPTICAL_CHANNEL corresponds to the value OPTICAL_CHANNEL of OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_OPTICAL_CHANNEL E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT = 10 // OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_PORT corresponds to the value PORT of OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_PORT E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT = 11 // OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_POWER_SUPPLY corresponds to the value POWER_SUPPLY of OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_POWER_SUPPLY E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT = 12 // OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_SENSOR corresponds to the value SENSOR of OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_SENSOR E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT = 13 // OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_STORAGE corresponds to the value STORAGE of OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_STORAGE E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT = 14 // OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_TRANSCEIVER corresponds to the value TRANSCEIVER of OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_TRANSCEIVER E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT = 15 )
func (E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT) IsYANGGoEnum ¶
func (E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT) IsYANGGoEnum()
IsYANGGoEnum ensures that OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT implements the yang.GoEnum interface. This ensures that OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT can be identified as a mapped type for a YANG enumeration.
func (E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT) ΛMap ¶
func (E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT.
type E_OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT ¶
type E_OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT int64
E_OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT is a derived int64 type which is used to represent the enumerated node OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT. An additional value named OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT_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 ( // OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT_UNSET corresponds to the value UNSET of OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT_UNSET E_OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT = 0 // OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT_OPERATING_SYSTEM corresponds to the value OPERATING_SYSTEM of OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT_OPERATING_SYSTEM E_OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT = 1 )
func (E_OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT) IsYANGGoEnum ¶
func (E_OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT) IsYANGGoEnum()
IsYANGGoEnum ensures that OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT implements the yang.GoEnum interface. This ensures that OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT can be identified as a mapped type for a YANG enumeration.
func (E_OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT) ΛMap ¶
func (E_OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT.
type E_OpenconfigPlatform_Components_Component_Transceiver_State_Present ¶
type E_OpenconfigPlatform_Components_Component_Transceiver_State_Present int64
E_OpenconfigPlatform_Components_Component_Transceiver_State_Present is a derived int64 type which is used to represent the enumerated node OpenconfigPlatform_Components_Component_Transceiver_State_Present. An additional value named OpenconfigPlatform_Components_Component_Transceiver_State_Present_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 ( // OpenconfigPlatform_Components_Component_Transceiver_State_Present_UNSET corresponds to the value UNSET of OpenconfigPlatform_Components_Component_Transceiver_State_Present OpenconfigPlatform_Components_Component_Transceiver_State_Present_UNSET E_OpenconfigPlatform_Components_Component_Transceiver_State_Present = 0 // OpenconfigPlatform_Components_Component_Transceiver_State_Present_PRESENT corresponds to the value PRESENT of OpenconfigPlatform_Components_Component_Transceiver_State_Present OpenconfigPlatform_Components_Component_Transceiver_State_Present_PRESENT E_OpenconfigPlatform_Components_Component_Transceiver_State_Present = 1 // OpenconfigPlatform_Components_Component_Transceiver_State_Present_NOT_PRESENT corresponds to the value NOT_PRESENT of OpenconfigPlatform_Components_Component_Transceiver_State_Present OpenconfigPlatform_Components_Component_Transceiver_State_Present_NOT_PRESENT E_OpenconfigPlatform_Components_Component_Transceiver_State_Present = 2 )
func (E_OpenconfigPlatform_Components_Component_Transceiver_State_Present) IsYANGGoEnum ¶
func (E_OpenconfigPlatform_Components_Component_Transceiver_State_Present) IsYANGGoEnum()
IsYANGGoEnum ensures that OpenconfigPlatform_Components_Component_Transceiver_State_Present implements the yang.GoEnum interface. This ensures that OpenconfigPlatform_Components_Component_Transceiver_State_Present can be identified as a mapped type for a YANG enumeration.
func (E_OpenconfigPlatform_Components_Component_Transceiver_State_Present) ΛMap ¶
func (E_OpenconfigPlatform_Components_Component_Transceiver_State_Present) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with OpenconfigPlatform_Components_Component_Transceiver_State_Present.
type E_OpenconfigSystemLogging_SYSLOG_FACILITY ¶
type E_OpenconfigSystemLogging_SYSLOG_FACILITY int64
E_OpenconfigSystemLogging_SYSLOG_FACILITY is a derived int64 type which is used to represent the enumerated node OpenconfigSystemLogging_SYSLOG_FACILITY. An additional value named OpenconfigSystemLogging_SYSLOG_FACILITY_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 ( // OpenconfigSystemLogging_SYSLOG_FACILITY_UNSET corresponds to the value UNSET of OpenconfigSystemLogging_SYSLOG_FACILITY OpenconfigSystemLogging_SYSLOG_FACILITY_UNSET E_OpenconfigSystemLogging_SYSLOG_FACILITY = 0 // OpenconfigSystemLogging_SYSLOG_FACILITY_ALL corresponds to the value ALL of OpenconfigSystemLogging_SYSLOG_FACILITY OpenconfigSystemLogging_SYSLOG_FACILITY_ALL E_OpenconfigSystemLogging_SYSLOG_FACILITY = 1 // OpenconfigSystemLogging_SYSLOG_FACILITY_AUDIT corresponds to the value AUDIT of OpenconfigSystemLogging_SYSLOG_FACILITY OpenconfigSystemLogging_SYSLOG_FACILITY_AUDIT E_OpenconfigSystemLogging_SYSLOG_FACILITY = 2 // OpenconfigSystemLogging_SYSLOG_FACILITY_AUTH corresponds to the value AUTH of OpenconfigSystemLogging_SYSLOG_FACILITY OpenconfigSystemLogging_SYSLOG_FACILITY_AUTH E_OpenconfigSystemLogging_SYSLOG_FACILITY = 3 // OpenconfigSystemLogging_SYSLOG_FACILITY_AUTHPRIV corresponds to the value AUTHPRIV of OpenconfigSystemLogging_SYSLOG_FACILITY OpenconfigSystemLogging_SYSLOG_FACILITY_AUTHPRIV E_OpenconfigSystemLogging_SYSLOG_FACILITY = 4 // OpenconfigSystemLogging_SYSLOG_FACILITY_CONSOLE corresponds to the value CONSOLE of OpenconfigSystemLogging_SYSLOG_FACILITY OpenconfigSystemLogging_SYSLOG_FACILITY_CONSOLE E_OpenconfigSystemLogging_SYSLOG_FACILITY = 5 // OpenconfigSystemLogging_SYSLOG_FACILITY_KERNEL corresponds to the value KERNEL of OpenconfigSystemLogging_SYSLOG_FACILITY OpenconfigSystemLogging_SYSLOG_FACILITY_KERNEL E_OpenconfigSystemLogging_SYSLOG_FACILITY = 6 // OpenconfigSystemLogging_SYSLOG_FACILITY_LOCAL0 corresponds to the value LOCAL0 of OpenconfigSystemLogging_SYSLOG_FACILITY OpenconfigSystemLogging_SYSLOG_FACILITY_LOCAL0 E_OpenconfigSystemLogging_SYSLOG_FACILITY = 7 // OpenconfigSystemLogging_SYSLOG_FACILITY_LOCAL1 corresponds to the value LOCAL1 of OpenconfigSystemLogging_SYSLOG_FACILITY OpenconfigSystemLogging_SYSLOG_FACILITY_LOCAL1 E_OpenconfigSystemLogging_SYSLOG_FACILITY = 8 // OpenconfigSystemLogging_SYSLOG_FACILITY_LOCAL2 corresponds to the value LOCAL2 of OpenconfigSystemLogging_SYSLOG_FACILITY OpenconfigSystemLogging_SYSLOG_FACILITY_LOCAL2 E_OpenconfigSystemLogging_SYSLOG_FACILITY = 9 // OpenconfigSystemLogging_SYSLOG_FACILITY_LOCAL3 corresponds to the value LOCAL3 of OpenconfigSystemLogging_SYSLOG_FACILITY OpenconfigSystemLogging_SYSLOG_FACILITY_LOCAL3 E_OpenconfigSystemLogging_SYSLOG_FACILITY = 10 // OpenconfigSystemLogging_SYSLOG_FACILITY_LOCAL4 corresponds to the value LOCAL4 of OpenconfigSystemLogging_SYSLOG_FACILITY OpenconfigSystemLogging_SYSLOG_FACILITY_LOCAL4 E_OpenconfigSystemLogging_SYSLOG_FACILITY = 11 // OpenconfigSystemLogging_SYSLOG_FACILITY_LOCAL5 corresponds to the value LOCAL5 of OpenconfigSystemLogging_SYSLOG_FACILITY OpenconfigSystemLogging_SYSLOG_FACILITY_LOCAL5 E_OpenconfigSystemLogging_SYSLOG_FACILITY = 12 // OpenconfigSystemLogging_SYSLOG_FACILITY_LOCAL6 corresponds to the value LOCAL6 of OpenconfigSystemLogging_SYSLOG_FACILITY OpenconfigSystemLogging_SYSLOG_FACILITY_LOCAL6 E_OpenconfigSystemLogging_SYSLOG_FACILITY = 13 // OpenconfigSystemLogging_SYSLOG_FACILITY_LOCAL7 corresponds to the value LOCAL7 of OpenconfigSystemLogging_SYSLOG_FACILITY OpenconfigSystemLogging_SYSLOG_FACILITY_LOCAL7 E_OpenconfigSystemLogging_SYSLOG_FACILITY = 14 // OpenconfigSystemLogging_SYSLOG_FACILITY_MAIL corresponds to the value MAIL of OpenconfigSystemLogging_SYSLOG_FACILITY OpenconfigSystemLogging_SYSLOG_FACILITY_MAIL E_OpenconfigSystemLogging_SYSLOG_FACILITY = 15 // OpenconfigSystemLogging_SYSLOG_FACILITY_NTP corresponds to the value NTP of OpenconfigSystemLogging_SYSLOG_FACILITY OpenconfigSystemLogging_SYSLOG_FACILITY_NTP E_OpenconfigSystemLogging_SYSLOG_FACILITY = 16 // OpenconfigSystemLogging_SYSLOG_FACILITY_SYSLOG corresponds to the value SYSLOG of OpenconfigSystemLogging_SYSLOG_FACILITY OpenconfigSystemLogging_SYSLOG_FACILITY_SYSLOG E_OpenconfigSystemLogging_SYSLOG_FACILITY = 17 // OpenconfigSystemLogging_SYSLOG_FACILITY_SYSTEM_DAEMON corresponds to the value SYSTEM_DAEMON of OpenconfigSystemLogging_SYSLOG_FACILITY OpenconfigSystemLogging_SYSLOG_FACILITY_SYSTEM_DAEMON E_OpenconfigSystemLogging_SYSLOG_FACILITY = 18 // OpenconfigSystemLogging_SYSLOG_FACILITY_USER corresponds to the value USER of OpenconfigSystemLogging_SYSLOG_FACILITY OpenconfigSystemLogging_SYSLOG_FACILITY_USER E_OpenconfigSystemLogging_SYSLOG_FACILITY = 19 )
func (E_OpenconfigSystemLogging_SYSLOG_FACILITY) IsYANGGoEnum ¶
func (E_OpenconfigSystemLogging_SYSLOG_FACILITY) IsYANGGoEnum()
IsYANGGoEnum ensures that OpenconfigSystemLogging_SYSLOG_FACILITY implements the yang.GoEnum interface. This ensures that OpenconfigSystemLogging_SYSLOG_FACILITY can be identified as a mapped type for a YANG enumeration.
func (E_OpenconfigSystemLogging_SYSLOG_FACILITY) ΛMap ¶
func (E_OpenconfigSystemLogging_SYSLOG_FACILITY) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with OpenconfigSystemLogging_SYSLOG_FACILITY.
type E_OpenconfigSystemLogging_SyslogSeverity ¶
type E_OpenconfigSystemLogging_SyslogSeverity int64
E_OpenconfigSystemLogging_SyslogSeverity is a derived int64 type which is used to represent the enumerated node OpenconfigSystemLogging_SyslogSeverity. An additional value named OpenconfigSystemLogging_SyslogSeverity_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 ( // OpenconfigSystemLogging_SyslogSeverity_UNSET corresponds to the value UNSET of OpenconfigSystemLogging_SyslogSeverity OpenconfigSystemLogging_SyslogSeverity_UNSET E_OpenconfigSystemLogging_SyslogSeverity = 0 // OpenconfigSystemLogging_SyslogSeverity_EMERGENCY corresponds to the value EMERGENCY of OpenconfigSystemLogging_SyslogSeverity OpenconfigSystemLogging_SyslogSeverity_EMERGENCY E_OpenconfigSystemLogging_SyslogSeverity = 1 // OpenconfigSystemLogging_SyslogSeverity_ALERT corresponds to the value ALERT of OpenconfigSystemLogging_SyslogSeverity OpenconfigSystemLogging_SyslogSeverity_ALERT E_OpenconfigSystemLogging_SyslogSeverity = 2 // OpenconfigSystemLogging_SyslogSeverity_CRITICAL corresponds to the value CRITICAL of OpenconfigSystemLogging_SyslogSeverity OpenconfigSystemLogging_SyslogSeverity_CRITICAL E_OpenconfigSystemLogging_SyslogSeverity = 3 // OpenconfigSystemLogging_SyslogSeverity_ERROR corresponds to the value ERROR of OpenconfigSystemLogging_SyslogSeverity OpenconfigSystemLogging_SyslogSeverity_ERROR E_OpenconfigSystemLogging_SyslogSeverity = 4 // OpenconfigSystemLogging_SyslogSeverity_WARNING corresponds to the value WARNING of OpenconfigSystemLogging_SyslogSeverity OpenconfigSystemLogging_SyslogSeverity_WARNING E_OpenconfigSystemLogging_SyslogSeverity = 5 // OpenconfigSystemLogging_SyslogSeverity_NOTICE corresponds to the value NOTICE of OpenconfigSystemLogging_SyslogSeverity OpenconfigSystemLogging_SyslogSeverity_NOTICE E_OpenconfigSystemLogging_SyslogSeverity = 6 // OpenconfigSystemLogging_SyslogSeverity_INFORMATIONAL corresponds to the value INFORMATIONAL of OpenconfigSystemLogging_SyslogSeverity OpenconfigSystemLogging_SyslogSeverity_INFORMATIONAL E_OpenconfigSystemLogging_SyslogSeverity = 7 // OpenconfigSystemLogging_SyslogSeverity_DEBUG corresponds to the value DEBUG of OpenconfigSystemLogging_SyslogSeverity OpenconfigSystemLogging_SyslogSeverity_DEBUG E_OpenconfigSystemLogging_SyslogSeverity = 8 )
func (E_OpenconfigSystemLogging_SyslogSeverity) IsYANGGoEnum ¶
func (E_OpenconfigSystemLogging_SyslogSeverity) IsYANGGoEnum()
IsYANGGoEnum ensures that OpenconfigSystemLogging_SyslogSeverity implements the yang.GoEnum interface. This ensures that OpenconfigSystemLogging_SyslogSeverity can be identified as a mapped type for a YANG enumeration.
func (E_OpenconfigSystemLogging_SyslogSeverity) ΛMap ¶
func (E_OpenconfigSystemLogging_SyslogSeverity) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with OpenconfigSystemLogging_SyslogSeverity.
type E_OpenconfigSystem_NTP_AUTH_TYPE ¶
type E_OpenconfigSystem_NTP_AUTH_TYPE int64
E_OpenconfigSystem_NTP_AUTH_TYPE is a derived int64 type which is used to represent the enumerated node OpenconfigSystem_NTP_AUTH_TYPE. An additional value named OpenconfigSystem_NTP_AUTH_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 ( // OpenconfigSystem_NTP_AUTH_TYPE_UNSET corresponds to the value UNSET of OpenconfigSystem_NTP_AUTH_TYPE OpenconfigSystem_NTP_AUTH_TYPE_UNSET E_OpenconfigSystem_NTP_AUTH_TYPE = 0 // OpenconfigSystem_NTP_AUTH_TYPE_NTP_AUTH_MD5 corresponds to the value NTP_AUTH_MD5 of OpenconfigSystem_NTP_AUTH_TYPE OpenconfigSystem_NTP_AUTH_TYPE_NTP_AUTH_MD5 E_OpenconfigSystem_NTP_AUTH_TYPE = 1 )
func (E_OpenconfigSystem_NTP_AUTH_TYPE) IsYANGGoEnum ¶
func (E_OpenconfigSystem_NTP_AUTH_TYPE) IsYANGGoEnum()
IsYANGGoEnum ensures that OpenconfigSystem_NTP_AUTH_TYPE implements the yang.GoEnum interface. This ensures that OpenconfigSystem_NTP_AUTH_TYPE can be identified as a mapped type for a YANG enumeration.
func (E_OpenconfigSystem_NTP_AUTH_TYPE) ΛMap ¶
func (E_OpenconfigSystem_NTP_AUTH_TYPE) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with OpenconfigSystem_NTP_AUTH_TYPE.
type E_OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config_Record ¶
type E_OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config_Record int64
E_OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config_Record is a derived int64 type which is used to represent the enumerated node OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config_Record. An additional value named OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config_Record_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 ( // OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config_Record_UNSET corresponds to the value UNSET of OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config_Record OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config_Record_UNSET E_OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config_Record = 0 // OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config_Record_START_STOP corresponds to the value START_STOP of OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config_Record OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config_Record_START_STOP E_OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config_Record = 1 // OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config_Record_STOP corresponds to the value STOP of OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config_Record OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config_Record_STOP E_OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config_Record = 2 )
func (E_OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config_Record) IsYANGGoEnum ¶
func (E_OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config_Record) IsYANGGoEnum()
IsYANGGoEnum ensures that OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config_Record implements the yang.GoEnum interface. This ensures that OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config_Record can be identified as a mapped type for a YANG enumeration.
func (E_OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config_Record) ΛMap ¶
func (E_OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config_Record) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config_Record.
type E_OpenconfigSystem_System_Cpus_Cpu_State_Index ¶
type E_OpenconfigSystem_System_Cpus_Cpu_State_Index int64
E_OpenconfigSystem_System_Cpus_Cpu_State_Index is a derived int64 type which is used to represent the enumerated node OpenconfigSystem_System_Cpus_Cpu_State_Index. An additional value named OpenconfigSystem_System_Cpus_Cpu_State_Index_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 ( // OpenconfigSystem_System_Cpus_Cpu_State_Index_UNSET corresponds to the value UNSET of OpenconfigSystem_System_Cpus_Cpu_State_Index OpenconfigSystem_System_Cpus_Cpu_State_Index_UNSET E_OpenconfigSystem_System_Cpus_Cpu_State_Index = 0 // OpenconfigSystem_System_Cpus_Cpu_State_Index_ALL corresponds to the value ALL of OpenconfigSystem_System_Cpus_Cpu_State_Index OpenconfigSystem_System_Cpus_Cpu_State_Index_ALL E_OpenconfigSystem_System_Cpus_Cpu_State_Index = 1 )
func (E_OpenconfigSystem_System_Cpus_Cpu_State_Index) IsYANGGoEnum ¶
func (E_OpenconfigSystem_System_Cpus_Cpu_State_Index) IsYANGGoEnum()
IsYANGGoEnum ensures that OpenconfigSystem_System_Cpus_Cpu_State_Index implements the yang.GoEnum interface. This ensures that OpenconfigSystem_System_Cpus_Cpu_State_Index can be identified as a mapped type for a YANG enumeration.
func (E_OpenconfigSystem_System_Cpus_Cpu_State_Index) ΛMap ¶
func (E_OpenconfigSystem_System_Cpus_Cpu_State_Index) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with OpenconfigSystem_System_Cpus_Cpu_State_Index.
type E_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses ¶
type E_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses int64
E_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses is a derived int64 type which is used to represent the enumerated node OpenconfigSystem_System_GrpcServer_Config_ListenAddresses. An additional value named OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_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 ( // OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_UNSET corresponds to the value UNSET of OpenconfigSystem_System_GrpcServer_Config_ListenAddresses OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_UNSET E_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses = 0 // OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_ANY corresponds to the value ANY of OpenconfigSystem_System_GrpcServer_Config_ListenAddresses OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_ANY E_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses = 1 )
func (E_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses) IsYANGGoEnum ¶
func (E_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses) IsYANGGoEnum()
IsYANGGoEnum ensures that OpenconfigSystem_System_GrpcServer_Config_ListenAddresses implements the yang.GoEnum interface. This ensures that OpenconfigSystem_System_GrpcServer_Config_ListenAddresses can be identified as a mapped type for a YANG enumeration.
func (E_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses) ΛMap ¶
func (E_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with OpenconfigSystem_System_GrpcServer_Config_ListenAddresses.
type E_OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType ¶
type E_OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType int64
E_OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType is a derived int64 type which is used to represent the enumerated node OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType. An additional value named OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType_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 ( // OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType_UNSET corresponds to the value UNSET of OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType_UNSET E_OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType = 0 // OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType_SERVER corresponds to the value SERVER of OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType_SERVER E_OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType = 1 // OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType_PEER corresponds to the value PEER of OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType_PEER E_OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType = 2 // OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType_POOL corresponds to the value POOL of OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType_POOL E_OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType = 3 )
func (E_OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType) IsYANGGoEnum ¶
func (E_OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType) IsYANGGoEnum()
IsYANGGoEnum ensures that OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType implements the yang.GoEnum interface. This ensures that OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType can be identified as a mapped type for a YANG enumeration.
func (E_OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType) ΛMap ¶
func (E_OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType.
type E_OpenconfigSystem_System_SshServer_Config_ProtocolVersion ¶
type E_OpenconfigSystem_System_SshServer_Config_ProtocolVersion int64
E_OpenconfigSystem_System_SshServer_Config_ProtocolVersion is a derived int64 type which is used to represent the enumerated node OpenconfigSystem_System_SshServer_Config_ProtocolVersion. An additional value named OpenconfigSystem_System_SshServer_Config_ProtocolVersion_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 ( // OpenconfigSystem_System_SshServer_Config_ProtocolVersion_UNSET corresponds to the value UNSET of OpenconfigSystem_System_SshServer_Config_ProtocolVersion OpenconfigSystem_System_SshServer_Config_ProtocolVersion_UNSET E_OpenconfigSystem_System_SshServer_Config_ProtocolVersion = 0 // OpenconfigSystem_System_SshServer_Config_ProtocolVersion_V2 corresponds to the value V2 of OpenconfigSystem_System_SshServer_Config_ProtocolVersion OpenconfigSystem_System_SshServer_Config_ProtocolVersion_V2 E_OpenconfigSystem_System_SshServer_Config_ProtocolVersion = 1 // OpenconfigSystem_System_SshServer_Config_ProtocolVersion_V1 corresponds to the value V1 of OpenconfigSystem_System_SshServer_Config_ProtocolVersion OpenconfigSystem_System_SshServer_Config_ProtocolVersion_V1 E_OpenconfigSystem_System_SshServer_Config_ProtocolVersion = 2 // OpenconfigSystem_System_SshServer_Config_ProtocolVersion_V1_V2 corresponds to the value V1_V2 of OpenconfigSystem_System_SshServer_Config_ProtocolVersion OpenconfigSystem_System_SshServer_Config_ProtocolVersion_V1_V2 E_OpenconfigSystem_System_SshServer_Config_ProtocolVersion = 3 )
func (E_OpenconfigSystem_System_SshServer_Config_ProtocolVersion) IsYANGGoEnum ¶
func (E_OpenconfigSystem_System_SshServer_Config_ProtocolVersion) IsYANGGoEnum()
IsYANGGoEnum ensures that OpenconfigSystem_System_SshServer_Config_ProtocolVersion implements the yang.GoEnum interface. This ensures that OpenconfigSystem_System_SshServer_Config_ProtocolVersion can be identified as a mapped type for a YANG enumeration.
func (E_OpenconfigSystem_System_SshServer_Config_ProtocolVersion) ΛMap ¶
func (E_OpenconfigSystem_System_SshServer_Config_ProtocolVersion) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with OpenconfigSystem_System_SshServer_Config_ProtocolVersion.
type E_OpenconfigTerminalDevice_AdminStateType ¶
type E_OpenconfigTerminalDevice_AdminStateType int64
E_OpenconfigTerminalDevice_AdminStateType is a derived int64 type which is used to represent the enumerated node OpenconfigTerminalDevice_AdminStateType. An additional value named OpenconfigTerminalDevice_AdminStateType_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 ( // OpenconfigTerminalDevice_AdminStateType_UNSET corresponds to the value UNSET of OpenconfigTerminalDevice_AdminStateType OpenconfigTerminalDevice_AdminStateType_UNSET E_OpenconfigTerminalDevice_AdminStateType = 0 // OpenconfigTerminalDevice_AdminStateType_ENABLED corresponds to the value ENABLED of OpenconfigTerminalDevice_AdminStateType OpenconfigTerminalDevice_AdminStateType_ENABLED E_OpenconfigTerminalDevice_AdminStateType = 1 // OpenconfigTerminalDevice_AdminStateType_DISABLED corresponds to the value DISABLED of OpenconfigTerminalDevice_AdminStateType OpenconfigTerminalDevice_AdminStateType_DISABLED E_OpenconfigTerminalDevice_AdminStateType = 2 // OpenconfigTerminalDevice_AdminStateType_MAINT corresponds to the value MAINT of OpenconfigTerminalDevice_AdminStateType OpenconfigTerminalDevice_AdminStateType_MAINT E_OpenconfigTerminalDevice_AdminStateType = 3 )
func (E_OpenconfigTerminalDevice_AdminStateType) IsYANGGoEnum ¶
func (E_OpenconfigTerminalDevice_AdminStateType) IsYANGGoEnum()
IsYANGGoEnum ensures that OpenconfigTerminalDevice_AdminStateType implements the yang.GoEnum interface. This ensures that OpenconfigTerminalDevice_AdminStateType can be identified as a mapped type for a YANG enumeration.
func (E_OpenconfigTerminalDevice_AdminStateType) ΛMap ¶
func (E_OpenconfigTerminalDevice_AdminStateType) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with OpenconfigTerminalDevice_AdminStateType.
type E_OpenconfigTerminalDevice_LoopbackModeType ¶
type E_OpenconfigTerminalDevice_LoopbackModeType int64
E_OpenconfigTerminalDevice_LoopbackModeType is a derived int64 type which is used to represent the enumerated node OpenconfigTerminalDevice_LoopbackModeType. An additional value named OpenconfigTerminalDevice_LoopbackModeType_UNSET is added to the enumeration which is used as the nil value, indicating that the enumeration was not explicitly set by the program importing the generated structures.
const ( // OpenconfigTerminalDevice_LoopbackModeType_UNSET corresponds to the value UNSET of OpenconfigTerminalDevice_LoopbackModeType OpenconfigTerminalDevice_LoopbackModeType_UNSET E_OpenconfigTerminalDevice_LoopbackModeType = 0 // OpenconfigTerminalDevice_LoopbackModeType_NONE corresponds to the value NONE of OpenconfigTerminalDevice_LoopbackModeType OpenconfigTerminalDevice_LoopbackModeType_NONE E_OpenconfigTerminalDevice_LoopbackModeType = 1 // OpenconfigTerminalDevice_LoopbackModeType_FACILITY corresponds to the value FACILITY of OpenconfigTerminalDevice_LoopbackModeType OpenconfigTerminalDevice_LoopbackModeType_FACILITY E_OpenconfigTerminalDevice_LoopbackModeType = 2 // OpenconfigTerminalDevice_LoopbackModeType_TERMINAL corresponds to the value TERMINAL of OpenconfigTerminalDevice_LoopbackModeType OpenconfigTerminalDevice_LoopbackModeType_TERMINAL E_OpenconfigTerminalDevice_LoopbackModeType = 3 )
func (E_OpenconfigTerminalDevice_LoopbackModeType) IsYANGGoEnum ¶
func (E_OpenconfigTerminalDevice_LoopbackModeType) IsYANGGoEnum()
IsYANGGoEnum ensures that OpenconfigTerminalDevice_LoopbackModeType implements the yang.GoEnum interface. This ensures that OpenconfigTerminalDevice_LoopbackModeType can be identified as a mapped type for a YANG enumeration.
func (E_OpenconfigTerminalDevice_LoopbackModeType) ΛMap ¶
func (E_OpenconfigTerminalDevice_LoopbackModeType) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with OpenconfigTerminalDevice_LoopbackModeType.
type E_OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config_AssignmentType ¶
type E_OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config_AssignmentType int64
E_OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config_AssignmentType is a derived int64 type which is used to represent the enumerated node OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config_AssignmentType. An additional value named OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config_AssignmentType_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 ( // OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config_AssignmentType_UNSET corresponds to the value UNSET of OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config_AssignmentType OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config_AssignmentType_UNSET E_OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config_AssignmentType = 0 // OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config_AssignmentType_LOGICAL_CHANNEL corresponds to the value LOGICAL_CHANNEL of OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config_AssignmentType OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config_AssignmentType_LOGICAL_CHANNEL E_OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config_AssignmentType = 1 // OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config_AssignmentType_OPTICAL_CHANNEL corresponds to the value OPTICAL_CHANNEL of OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config_AssignmentType OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config_AssignmentType_OPTICAL_CHANNEL E_OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config_AssignmentType = 2 )
func (E_OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config_AssignmentType) IsYANGGoEnum ¶
func (E_OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config_AssignmentType) IsYANGGoEnum()
IsYANGGoEnum ensures that OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config_AssignmentType implements the yang.GoEnum interface. This ensures that OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config_AssignmentType can be identified as a mapped type for a YANG enumeration.
func (E_OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config_AssignmentType) ΛMap ¶
func (E_OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config_AssignmentType) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config_AssignmentType.
type E_OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State_LinkState ¶
type E_OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State_LinkState int64
E_OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State_LinkState is a derived int64 type which is used to represent the enumerated node OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State_LinkState. An additional value named OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State_LinkState_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 ( // OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State_LinkState_UNSET corresponds to the value UNSET of OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State_LinkState OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State_LinkState_UNSET E_OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State_LinkState = 0 // OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State_LinkState_UP corresponds to the value UP of OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State_LinkState OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State_LinkState_UP E_OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State_LinkState = 1 // OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State_LinkState_DOWN corresponds to the value DOWN of OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State_LinkState OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State_LinkState_DOWN E_OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State_LinkState = 2 // OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State_LinkState_TESTING corresponds to the value TESTING of OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State_LinkState OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State_LinkState_TESTING E_OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State_LinkState = 3 )
func (E_OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State_LinkState) IsYANGGoEnum ¶
func (E_OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State_LinkState) IsYANGGoEnum()
IsYANGGoEnum ensures that OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State_LinkState implements the yang.GoEnum interface. This ensures that OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State_LinkState can be identified as a mapped type for a YANG enumeration.
func (E_OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State_LinkState) ΛMap ¶
func (E_OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State_LinkState) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State_LinkState.
type E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE ¶
type E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE int64
E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE is a derived int64 type which is used to represent the enumerated node OpenconfigTransportTypes_ETHERNET_PMD_TYPE. An additional value named OpenconfigTransportTypes_ETHERNET_PMD_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 ( // OpenconfigTransportTypes_ETHERNET_PMD_TYPE_UNSET corresponds to the value UNSET of OpenconfigTransportTypes_ETHERNET_PMD_TYPE OpenconfigTransportTypes_ETHERNET_PMD_TYPE_UNSET E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE = 0 // OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_100GBASE_CLR4 corresponds to the value ETH_100GBASE_CLR4 of OpenconfigTransportTypes_ETHERNET_PMD_TYPE OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_100GBASE_CLR4 E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE = 1 // OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_100GBASE_CR4 corresponds to the value ETH_100GBASE_CR4 of OpenconfigTransportTypes_ETHERNET_PMD_TYPE OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_100GBASE_CR4 E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE = 2 // OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_100GBASE_CWDM4 corresponds to the value ETH_100GBASE_CWDM4 of OpenconfigTransportTypes_ETHERNET_PMD_TYPE OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_100GBASE_CWDM4 E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE = 3 // OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_100GBASE_ER4 corresponds to the value ETH_100GBASE_ER4 of OpenconfigTransportTypes_ETHERNET_PMD_TYPE OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_100GBASE_ER4 E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE = 4 // OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_100GBASE_LR4 corresponds to the value ETH_100GBASE_LR4 of OpenconfigTransportTypes_ETHERNET_PMD_TYPE OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_100GBASE_LR4 E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE = 5 // OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_100GBASE_PSM4 corresponds to the value ETH_100GBASE_PSM4 of OpenconfigTransportTypes_ETHERNET_PMD_TYPE OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_100GBASE_PSM4 E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE = 6 // OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_100GBASE_SR10 corresponds to the value ETH_100GBASE_SR10 of OpenconfigTransportTypes_ETHERNET_PMD_TYPE OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_100GBASE_SR10 E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE = 7 // OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_100GBASE_SR4 corresponds to the value ETH_100GBASE_SR4 of OpenconfigTransportTypes_ETHERNET_PMD_TYPE OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_100GBASE_SR4 E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE = 8 // OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_100G_ACC corresponds to the value ETH_100G_ACC of OpenconfigTransportTypes_ETHERNET_PMD_TYPE OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_100G_ACC E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE = 9 // OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_100G_AOC corresponds to the value ETH_100G_AOC of OpenconfigTransportTypes_ETHERNET_PMD_TYPE OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_100G_AOC E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE = 10 // OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_10GBASE_ER corresponds to the value ETH_10GBASE_ER of OpenconfigTransportTypes_ETHERNET_PMD_TYPE OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_10GBASE_ER E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE = 11 // OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_10GBASE_LR corresponds to the value ETH_10GBASE_LR of OpenconfigTransportTypes_ETHERNET_PMD_TYPE OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_10GBASE_LR E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE = 12 // OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_10GBASE_LRM corresponds to the value ETH_10GBASE_LRM of OpenconfigTransportTypes_ETHERNET_PMD_TYPE OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_10GBASE_LRM E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE = 13 // OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_10GBASE_SR corresponds to the value ETH_10GBASE_SR of OpenconfigTransportTypes_ETHERNET_PMD_TYPE OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_10GBASE_SR E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE = 14 // OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_10GBASE_ZR corresponds to the value ETH_10GBASE_ZR of OpenconfigTransportTypes_ETHERNET_PMD_TYPE OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_10GBASE_ZR E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE = 15 // OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_40GBASE_CR4 corresponds to the value ETH_40GBASE_CR4 of OpenconfigTransportTypes_ETHERNET_PMD_TYPE OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_40GBASE_CR4 E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE = 16 // OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_40GBASE_ER4 corresponds to the value ETH_40GBASE_ER4 of OpenconfigTransportTypes_ETHERNET_PMD_TYPE OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_40GBASE_ER4 E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE = 17 // OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_40GBASE_LR4 corresponds to the value ETH_40GBASE_LR4 of OpenconfigTransportTypes_ETHERNET_PMD_TYPE OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_40GBASE_LR4 E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE = 18 // OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_40GBASE_PSM4 corresponds to the value ETH_40GBASE_PSM4 of OpenconfigTransportTypes_ETHERNET_PMD_TYPE OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_40GBASE_PSM4 E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE = 19 // OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_40GBASE_SR4 corresponds to the value ETH_40GBASE_SR4 of OpenconfigTransportTypes_ETHERNET_PMD_TYPE OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_40GBASE_SR4 E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE = 20 // OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_4X10GBASE_LR corresponds to the value ETH_4X10GBASE_LR of OpenconfigTransportTypes_ETHERNET_PMD_TYPE OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_4X10GBASE_LR E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE = 21 // OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_4X10GBASE_SR corresponds to the value ETH_4X10GBASE_SR of OpenconfigTransportTypes_ETHERNET_PMD_TYPE OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_4X10GBASE_SR E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE = 22 // OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_UNDEFINED corresponds to the value ETH_UNDEFINED of OpenconfigTransportTypes_ETHERNET_PMD_TYPE OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_UNDEFINED E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE = 23 )
func (E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE) IsYANGGoEnum ¶
func (E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE) IsYANGGoEnum()
IsYANGGoEnum ensures that OpenconfigTransportTypes_ETHERNET_PMD_TYPE implements the yang.GoEnum interface. This ensures that OpenconfigTransportTypes_ETHERNET_PMD_TYPE can be identified as a mapped type for a YANG enumeration.
func (E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE) ΛMap ¶
func (E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with OpenconfigTransportTypes_ETHERNET_PMD_TYPE.
type E_OpenconfigTransportTypes_FIBER_CONNECTOR_TYPE ¶
type E_OpenconfigTransportTypes_FIBER_CONNECTOR_TYPE int64
E_OpenconfigTransportTypes_FIBER_CONNECTOR_TYPE is a derived int64 type which is used to represent the enumerated node OpenconfigTransportTypes_FIBER_CONNECTOR_TYPE. An additional value named OpenconfigTransportTypes_FIBER_CONNECTOR_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 ( // OpenconfigTransportTypes_FIBER_CONNECTOR_TYPE_UNSET corresponds to the value UNSET of OpenconfigTransportTypes_FIBER_CONNECTOR_TYPE OpenconfigTransportTypes_FIBER_CONNECTOR_TYPE_UNSET E_OpenconfigTransportTypes_FIBER_CONNECTOR_TYPE = 0 // OpenconfigTransportTypes_FIBER_CONNECTOR_TYPE_LC_CONNECTOR corresponds to the value LC_CONNECTOR of OpenconfigTransportTypes_FIBER_CONNECTOR_TYPE OpenconfigTransportTypes_FIBER_CONNECTOR_TYPE_LC_CONNECTOR E_OpenconfigTransportTypes_FIBER_CONNECTOR_TYPE = 1 // OpenconfigTransportTypes_FIBER_CONNECTOR_TYPE_MPO_CONNECTOR corresponds to the value MPO_CONNECTOR of OpenconfigTransportTypes_FIBER_CONNECTOR_TYPE OpenconfigTransportTypes_FIBER_CONNECTOR_TYPE_MPO_CONNECTOR E_OpenconfigTransportTypes_FIBER_CONNECTOR_TYPE = 2 // OpenconfigTransportTypes_FIBER_CONNECTOR_TYPE_SC_CONNECTOR corresponds to the value SC_CONNECTOR of OpenconfigTransportTypes_FIBER_CONNECTOR_TYPE OpenconfigTransportTypes_FIBER_CONNECTOR_TYPE_SC_CONNECTOR E_OpenconfigTransportTypes_FIBER_CONNECTOR_TYPE = 3 )
func (E_OpenconfigTransportTypes_FIBER_CONNECTOR_TYPE) IsYANGGoEnum ¶
func (E_OpenconfigTransportTypes_FIBER_CONNECTOR_TYPE) IsYANGGoEnum()
IsYANGGoEnum ensures that OpenconfigTransportTypes_FIBER_CONNECTOR_TYPE implements the yang.GoEnum interface. This ensures that OpenconfigTransportTypes_FIBER_CONNECTOR_TYPE can be identified as a mapped type for a YANG enumeration.
func (E_OpenconfigTransportTypes_FIBER_CONNECTOR_TYPE) ΛMap ¶
func (E_OpenconfigTransportTypes_FIBER_CONNECTOR_TYPE) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with OpenconfigTransportTypes_FIBER_CONNECTOR_TYPE.
type E_OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL ¶
type E_OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL int64
E_OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL is a derived int64 type which is used to represent the enumerated node OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL. An additional value named OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL_UNSET is added to the enumeration which is used as the nil value, indicating that the enumeration was not explicitly set by the program importing the generated structures.
const ( // OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL_UNSET corresponds to the value UNSET of OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL_UNSET E_OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL = 0 // OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL_AMP corresponds to the value AMP of OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL_AMP E_OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL = 1 // OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL_BMP corresponds to the value BMP of OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL_BMP E_OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL = 2 // OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL_CBR corresponds to the value CBR of OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL_CBR E_OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL = 3 // OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL_GFP_F corresponds to the value GFP_F of OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL_GFP_F E_OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL = 4 // OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL_GFP_T corresponds to the value GFP_T of OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL_GFP_T E_OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL = 5 // OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL_GMP corresponds to the value GMP of OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL_GMP E_OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL = 6 )
func (E_OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL) IsYANGGoEnum ¶
func (E_OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL) IsYANGGoEnum()
IsYANGGoEnum ensures that OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL implements the yang.GoEnum interface. This ensures that OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL can be identified as a mapped type for a YANG enumeration.
func (E_OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL) ΛMap ¶
func (E_OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL.
type E_OpenconfigTransportTypes_LOGICAL_ELEMENT_PROTOCOL_TYPE ¶
type E_OpenconfigTransportTypes_LOGICAL_ELEMENT_PROTOCOL_TYPE int64
E_OpenconfigTransportTypes_LOGICAL_ELEMENT_PROTOCOL_TYPE is a derived int64 type which is used to represent the enumerated node OpenconfigTransportTypes_LOGICAL_ELEMENT_PROTOCOL_TYPE. An additional value named OpenconfigTransportTypes_LOGICAL_ELEMENT_PROTOCOL_TYPE_UNSET is added to the enumeration which is used as the nil value, indicating that the enumeration was not explicitly set by the program importing the generated structures.
const ( // OpenconfigTransportTypes_LOGICAL_ELEMENT_PROTOCOL_TYPE_UNSET corresponds to the value UNSET of OpenconfigTransportTypes_LOGICAL_ELEMENT_PROTOCOL_TYPE OpenconfigTransportTypes_LOGICAL_ELEMENT_PROTOCOL_TYPE_UNSET E_OpenconfigTransportTypes_LOGICAL_ELEMENT_PROTOCOL_TYPE = 0 // OpenconfigTransportTypes_LOGICAL_ELEMENT_PROTOCOL_TYPE_PROT_ETHERNET corresponds to the value PROT_ETHERNET of OpenconfigTransportTypes_LOGICAL_ELEMENT_PROTOCOL_TYPE OpenconfigTransportTypes_LOGICAL_ELEMENT_PROTOCOL_TYPE_PROT_ETHERNET E_OpenconfigTransportTypes_LOGICAL_ELEMENT_PROTOCOL_TYPE = 1 // OpenconfigTransportTypes_LOGICAL_ELEMENT_PROTOCOL_TYPE_PROT_OTN corresponds to the value PROT_OTN of OpenconfigTransportTypes_LOGICAL_ELEMENT_PROTOCOL_TYPE OpenconfigTransportTypes_LOGICAL_ELEMENT_PROTOCOL_TYPE_PROT_OTN E_OpenconfigTransportTypes_LOGICAL_ELEMENT_PROTOCOL_TYPE = 2 )
func (E_OpenconfigTransportTypes_LOGICAL_ELEMENT_PROTOCOL_TYPE) IsYANGGoEnum ¶
func (E_OpenconfigTransportTypes_LOGICAL_ELEMENT_PROTOCOL_TYPE) IsYANGGoEnum()
IsYANGGoEnum ensures that OpenconfigTransportTypes_LOGICAL_ELEMENT_PROTOCOL_TYPE implements the yang.GoEnum interface. This ensures that OpenconfigTransportTypes_LOGICAL_ELEMENT_PROTOCOL_TYPE can be identified as a mapped type for a YANG enumeration.
func (E_OpenconfigTransportTypes_LOGICAL_ELEMENT_PROTOCOL_TYPE) ΛMap ¶
func (E_OpenconfigTransportTypes_LOGICAL_ELEMENT_PROTOCOL_TYPE) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with OpenconfigTransportTypes_LOGICAL_ELEMENT_PROTOCOL_TYPE.
type E_OpenconfigTransportTypes_OTN_APPLICATION_CODE ¶
type E_OpenconfigTransportTypes_OTN_APPLICATION_CODE int64
E_OpenconfigTransportTypes_OTN_APPLICATION_CODE is a derived int64 type which is used to represent the enumerated node OpenconfigTransportTypes_OTN_APPLICATION_CODE. An additional value named OpenconfigTransportTypes_OTN_APPLICATION_CODE_UNSET is added to the enumeration which is used as the nil value, indicating that the enumeration was not explicitly set by the program importing the generated structures.
const ( // OpenconfigTransportTypes_OTN_APPLICATION_CODE_UNSET corresponds to the value UNSET of OpenconfigTransportTypes_OTN_APPLICATION_CODE OpenconfigTransportTypes_OTN_APPLICATION_CODE_UNSET E_OpenconfigTransportTypes_OTN_APPLICATION_CODE = 0 // OpenconfigTransportTypes_OTN_APPLICATION_CODE_OTN_UNDEFINED corresponds to the value OTN_UNDEFINED of OpenconfigTransportTypes_OTN_APPLICATION_CODE OpenconfigTransportTypes_OTN_APPLICATION_CODE_OTN_UNDEFINED E_OpenconfigTransportTypes_OTN_APPLICATION_CODE = 1 // OpenconfigTransportTypes_OTN_APPLICATION_CODE_P1L1_2D1 corresponds to the value P1L1_2D1 of OpenconfigTransportTypes_OTN_APPLICATION_CODE OpenconfigTransportTypes_OTN_APPLICATION_CODE_P1L1_2D1 E_OpenconfigTransportTypes_OTN_APPLICATION_CODE = 2 // OpenconfigTransportTypes_OTN_APPLICATION_CODE_P1L1_2D2 corresponds to the value P1L1_2D2 of OpenconfigTransportTypes_OTN_APPLICATION_CODE OpenconfigTransportTypes_OTN_APPLICATION_CODE_P1L1_2D2 E_OpenconfigTransportTypes_OTN_APPLICATION_CODE = 3 // OpenconfigTransportTypes_OTN_APPLICATION_CODE_P1S1_2D2 corresponds to the value P1S1_2D2 of OpenconfigTransportTypes_OTN_APPLICATION_CODE OpenconfigTransportTypes_OTN_APPLICATION_CODE_P1S1_2D2 E_OpenconfigTransportTypes_OTN_APPLICATION_CODE = 4 )
func (E_OpenconfigTransportTypes_OTN_APPLICATION_CODE) IsYANGGoEnum ¶
func (E_OpenconfigTransportTypes_OTN_APPLICATION_CODE) IsYANGGoEnum()
IsYANGGoEnum ensures that OpenconfigTransportTypes_OTN_APPLICATION_CODE implements the yang.GoEnum interface. This ensures that OpenconfigTransportTypes_OTN_APPLICATION_CODE can be identified as a mapped type for a YANG enumeration.
func (E_OpenconfigTransportTypes_OTN_APPLICATION_CODE) ΛMap ¶
func (E_OpenconfigTransportTypes_OTN_APPLICATION_CODE) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with OpenconfigTransportTypes_OTN_APPLICATION_CODE.
type E_OpenconfigTransportTypes_SONET_APPLICATION_CODE ¶
type E_OpenconfigTransportTypes_SONET_APPLICATION_CODE int64
E_OpenconfigTransportTypes_SONET_APPLICATION_CODE is a derived int64 type which is used to represent the enumerated node OpenconfigTransportTypes_SONET_APPLICATION_CODE. An additional value named OpenconfigTransportTypes_SONET_APPLICATION_CODE_UNSET is added to the enumeration which is used as the nil value, indicating that the enumeration was not explicitly set by the program importing the generated structures.
const ( // OpenconfigTransportTypes_SONET_APPLICATION_CODE_UNSET corresponds to the value UNSET of OpenconfigTransportTypes_SONET_APPLICATION_CODE OpenconfigTransportTypes_SONET_APPLICATION_CODE_UNSET E_OpenconfigTransportTypes_SONET_APPLICATION_CODE = 0 // OpenconfigTransportTypes_SONET_APPLICATION_CODE_SONET_UNDEFINED corresponds to the value SONET_UNDEFINED of OpenconfigTransportTypes_SONET_APPLICATION_CODE OpenconfigTransportTypes_SONET_APPLICATION_CODE_SONET_UNDEFINED E_OpenconfigTransportTypes_SONET_APPLICATION_CODE = 1 // OpenconfigTransportTypes_SONET_APPLICATION_CODE_VSR2000_3R2 corresponds to the value VSR2000_3R2 of OpenconfigTransportTypes_SONET_APPLICATION_CODE OpenconfigTransportTypes_SONET_APPLICATION_CODE_VSR2000_3R2 E_OpenconfigTransportTypes_SONET_APPLICATION_CODE = 2 // OpenconfigTransportTypes_SONET_APPLICATION_CODE_VSR2000_3R3 corresponds to the value VSR2000_3R3 of OpenconfigTransportTypes_SONET_APPLICATION_CODE OpenconfigTransportTypes_SONET_APPLICATION_CODE_VSR2000_3R3 E_OpenconfigTransportTypes_SONET_APPLICATION_CODE = 3 // OpenconfigTransportTypes_SONET_APPLICATION_CODE_VSR2000_3R5 corresponds to the value VSR2000_3R5 of OpenconfigTransportTypes_SONET_APPLICATION_CODE OpenconfigTransportTypes_SONET_APPLICATION_CODE_VSR2000_3R5 E_OpenconfigTransportTypes_SONET_APPLICATION_CODE = 4 )
func (E_OpenconfigTransportTypes_SONET_APPLICATION_CODE) IsYANGGoEnum ¶
func (E_OpenconfigTransportTypes_SONET_APPLICATION_CODE) IsYANGGoEnum()
IsYANGGoEnum ensures that OpenconfigTransportTypes_SONET_APPLICATION_CODE implements the yang.GoEnum interface. This ensures that OpenconfigTransportTypes_SONET_APPLICATION_CODE can be identified as a mapped type for a YANG enumeration.
func (E_OpenconfigTransportTypes_SONET_APPLICATION_CODE) ΛMap ¶
func (E_OpenconfigTransportTypes_SONET_APPLICATION_CODE) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with OpenconfigTransportTypes_SONET_APPLICATION_CODE.
type E_OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE ¶
type E_OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE int64
E_OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE is a derived int64 type which is used to represent the enumerated node OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE. An additional value named OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_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 ( // OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE_UNSET corresponds to the value UNSET of OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE_UNSET E_OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE = 0 // OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE_CFP corresponds to the value CFP of OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE_CFP E_OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE = 1 // OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE_CFP2 corresponds to the value CFP2 of OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE_CFP2 E_OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE = 2 // OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE_CFP2_ACO corresponds to the value CFP2_ACO of OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE_CFP2_ACO E_OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE = 3 // OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE_CFP4 corresponds to the value CFP4 of OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE_CFP4 E_OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE = 4 // OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE_CPAK corresponds to the value CPAK of OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE_CPAK E_OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE = 5 // OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE_NON_PLUGGABLE corresponds to the value NON_PLUGGABLE of OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE_NON_PLUGGABLE E_OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE = 6 // OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE_OTHER corresponds to the value OTHER of OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE_OTHER E_OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE = 7 // OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE_QSFP corresponds to the value QSFP of OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE_QSFP E_OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE = 8 // OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE_QSFP28 corresponds to the value QSFP28 of OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE_QSFP28 E_OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE = 9 // OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE_QSFP_PLUS corresponds to the value QSFP_PLUS of OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE_QSFP_PLUS E_OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE = 10 // OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE_SFP corresponds to the value SFP of OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE_SFP E_OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE = 11 // OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE_SFP_PLUS corresponds to the value SFP_PLUS of OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE_SFP_PLUS E_OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE = 12 // OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE_X2 corresponds to the value X2 of OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE_X2 E_OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE = 13 // OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE_XFP corresponds to the value XFP of OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE_XFP E_OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE = 14 )
func (E_OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE) IsYANGGoEnum ¶
func (E_OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE) IsYANGGoEnum()
IsYANGGoEnum ensures that OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE implements the yang.GoEnum interface. This ensures that OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE can be identified as a mapped type for a YANG enumeration.
func (E_OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE) ΛMap ¶
func (E_OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE.
type E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE ¶
type E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE int64
E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE is a derived int64 type which is used to represent the enumerated node OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE. An additional value named OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_UNSET is added to the enumeration which is used as the nil value, indicating that the enumeration was not explicitly set by the program importing the generated structures.
const ( // OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_UNSET corresponds to the value UNSET of OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_UNSET E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE = 0 // OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_100GE corresponds to the value PROT_100GE of OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_100GE E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE = 1 // OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_100G_MLG corresponds to the value PROT_100G_MLG of OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_100G_MLG E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE = 2 // OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_10GE_LAN corresponds to the value PROT_10GE_LAN of OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_10GE_LAN E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE = 3 // OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_10GE_WAN corresponds to the value PROT_10GE_WAN of OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_10GE_WAN E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE = 4 // OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_1GE corresponds to the value PROT_1GE of OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_1GE E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE = 5 // OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_40GE corresponds to the value PROT_40GE of OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_40GE E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE = 6 // OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_OC192 corresponds to the value PROT_OC192 of OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_OC192 E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE = 7 // OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_OC48 corresponds to the value PROT_OC48 of OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_OC48 E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE = 8 // OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_OC768 corresponds to the value PROT_OC768 of OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_OC768 E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE = 9 // OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_ODU2 corresponds to the value PROT_ODU2 of OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_ODU2 E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE = 10 // OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_ODU2E corresponds to the value PROT_ODU2E of OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_ODU2E E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE = 11 // OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_ODU3 corresponds to the value PROT_ODU3 of OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_ODU3 E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE = 12 // OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_ODU4 corresponds to the value PROT_ODU4 of OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_ODU4 E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE = 13 // OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_ODUCN corresponds to the value PROT_ODUCN of OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_ODUCN E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE = 14 // OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_OTU1E corresponds to the value PROT_OTU1E of OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_OTU1E E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE = 15 // OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_OTU2 corresponds to the value PROT_OTU2 of OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_OTU2 E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE = 16 // OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_OTU2E corresponds to the value PROT_OTU2E of OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_OTU2E E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE = 17 // OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_OTU3 corresponds to the value PROT_OTU3 of OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_OTU3 E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE = 18 // OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_OTU4 corresponds to the value PROT_OTU4 of OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_OTU4 E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE = 19 // OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_OTUCN corresponds to the value PROT_OTUCN of OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_OTUCN E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE = 20 // OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_STM16 corresponds to the value PROT_STM16 of OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_STM16 E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE = 21 // OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_STM256 corresponds to the value PROT_STM256 of OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_STM256 E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE = 22 // OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_STM64 corresponds to the value PROT_STM64 of OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_STM64 E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE = 23 )
func (E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE) IsYANGGoEnum ¶
func (E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE) IsYANGGoEnum()
IsYANGGoEnum ensures that OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE implements the yang.GoEnum interface. This ensures that OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE can be identified as a mapped type for a YANG enumeration.
func (E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE) ΛMap ¶
func (E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE.
type E_OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE ¶
type E_OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE int64
E_OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE is a derived int64 type which is used to represent the enumerated node OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE. An additional value named OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_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 ( // OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_UNSET corresponds to the value UNSET of OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_UNSET E_OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE = 0 // OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_1000G corresponds to the value TRIB_RATE_1000G of OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_1000G E_OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE = 1 // OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_100G corresponds to the value TRIB_RATE_100G of OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_100G E_OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE = 2 // OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_10G corresponds to the value TRIB_RATE_10G of OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_10G E_OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE = 3 // OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_1100G corresponds to the value TRIB_RATE_1100G of OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_1100G E_OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE = 4 // OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_150G corresponds to the value TRIB_RATE_150G of OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_150G E_OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE = 5 // OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_1G corresponds to the value TRIB_RATE_1G of OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_1G E_OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE = 6 // OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_2_5G corresponds to the value TRIB_RATE_2_5G of OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_2_5G E_OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE = 7 // OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_200G corresponds to the value TRIB_RATE_200G of OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_200G E_OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE = 8 // OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_250G corresponds to the value TRIB_RATE_250G of OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_250G E_OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE = 9 // OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_300G corresponds to the value TRIB_RATE_300G of OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_300G E_OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE = 10 // OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_400G corresponds to the value TRIB_RATE_400G of OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_400G E_OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE = 11 // OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_40G corresponds to the value TRIB_RATE_40G of OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_40G E_OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE = 12 // OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_500G corresponds to the value TRIB_RATE_500G of OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_500G E_OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE = 13 // OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_600G corresponds to the value TRIB_RATE_600G of OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_600G E_OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE = 14 // OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_700G corresponds to the value TRIB_RATE_700G of OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_700G E_OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE = 15 // OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_800G corresponds to the value TRIB_RATE_800G of OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_800G E_OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE = 16 // OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_900G corresponds to the value TRIB_RATE_900G of OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_900G E_OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE = 17 )
func (E_OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE) IsYANGGoEnum ¶
func (E_OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE) IsYANGGoEnum()
IsYANGGoEnum ensures that OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE implements the yang.GoEnum interface. This ensures that OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE can be identified as a mapped type for a YANG enumeration.
func (E_OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE) ΛMap ¶
func (E_OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE.
type E_OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY ¶
type E_OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY int64
E_OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY is a derived int64 type which is used to represent the enumerated node OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY. An additional value named OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY_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 ( // OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY_UNSET corresponds to the value UNSET of OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY_UNSET E_OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY = 0 // OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY_TRIB_SLOT_1_25G corresponds to the value TRIB_SLOT_1_25G of OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY_TRIB_SLOT_1_25G E_OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY = 1 // OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY_TRIB_SLOT_2_5G corresponds to the value TRIB_SLOT_2_5G of OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY_TRIB_SLOT_2_5G E_OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY = 2 // OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY_TRIB_SLOT_5G corresponds to the value TRIB_SLOT_5G of OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY_TRIB_SLOT_5G E_OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY = 3 )
func (E_OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY) IsYANGGoEnum ¶
func (E_OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY) IsYANGGoEnum()
IsYANGGoEnum ensures that OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY implements the yang.GoEnum interface. This ensures that OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY can be identified as a mapped type for a YANG enumeration.
func (E_OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY) ΛMap ¶
func (E_OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY.
type OpenconfigInterfaces_Interfaces ¶
type OpenconfigInterfaces_Interfaces struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Interface map[string]*OpenconfigInterfaces_Interfaces_Interface `path:"interface" module:"openconfig-interfaces"` ΛInterface []ygot.Annotation `path:"@interface" ygotAnnotation:"true"` }
OpenconfigInterfaces_Interfaces represents the /openconfig-interfaces/interfaces YANG schema element.
func (*OpenconfigInterfaces_Interfaces) AppendInterface ¶
func (t *OpenconfigInterfaces_Interfaces) AppendInterface(v *OpenconfigInterfaces_Interfaces_Interface) error
AppendInterface appends the supplied OpenconfigInterfaces_Interfaces_Interface struct to the list Interface of OpenconfigInterfaces_Interfaces. If the key value(s) specified in the supplied OpenconfigInterfaces_Interfaces_Interface already exist in the list, an error is returned.
func (*OpenconfigInterfaces_Interfaces) GetInterface ¶
func (t *OpenconfigInterfaces_Interfaces) GetInterface(Name string) *OpenconfigInterfaces_Interfaces_Interface
GetInterface retrieves the value with the specified key from the Interface map field of OpenconfigInterfaces_Interfaces. 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 (*OpenconfigInterfaces_Interfaces) GetOrCreateInterface ¶
func (t *OpenconfigInterfaces_Interfaces) GetOrCreateInterface(Name string) *OpenconfigInterfaces_Interfaces_Interface
GetOrCreateInterface retrieves the value with the specified keys from the receiver OpenconfigInterfaces_Interfaces. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*OpenconfigInterfaces_Interfaces) IsYANGGoStruct ¶
func (*OpenconfigInterfaces_Interfaces) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigInterfaces_Interfaces implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigInterfaces_Interfaces) NewInterface ¶
func (t *OpenconfigInterfaces_Interfaces) NewInterface(Name string) (*OpenconfigInterfaces_Interfaces_Interface, error)
NewInterface creates a new entry in the Interface list of the OpenconfigInterfaces_Interfaces struct. The keys of the list are populated from the input arguments.
func (*OpenconfigInterfaces_Interfaces) RenameInterface ¶
func (t *OpenconfigInterfaces_Interfaces) RenameInterface(oldK, newK string) error
RenameInterface renames an entry in the list Interface within the OpenconfigInterfaces_Interfaces struct. The entry with key oldK is renamed to newK updating the key within the value.
func (*OpenconfigInterfaces_Interfaces) Validate ¶
func (t *OpenconfigInterfaces_Interfaces) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigInterfaces_Interfaces) ΛEnumTypeMap ¶
func (t *OpenconfigInterfaces_Interfaces) Λ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.
type OpenconfigInterfaces_Interfaces_Interface ¶
type OpenconfigInterfaces_Interfaces_Interface struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Config *OpenconfigInterfaces_Interfaces_Interface_Config `path:"config" module:"openconfig-interfaces"` ΛConfig []ygot.Annotation `path:"@config" ygotAnnotation:"true"` Ethernet *OpenconfigInterfaces_Interfaces_Interface_Ethernet `path:"ethernet" module:"openconfig-if-ethernet"` ΛEthernet []ygot.Annotation `path:"@ethernet" ygotAnnotation:"true"` HoldTime *OpenconfigInterfaces_Interfaces_Interface_HoldTime `path:"hold-time" module:"openconfig-interfaces"` ΛHoldTime []ygot.Annotation `path:"@hold-time" ygotAnnotation:"true"` Name *string `path:"name" module:"openconfig-interfaces"` ΛName []ygot.Annotation `path:"@name" ygotAnnotation:"true"` State *OpenconfigInterfaces_Interfaces_Interface_State `path:"state" module:"openconfig-interfaces"` ΛState []ygot.Annotation `path:"@state" ygotAnnotation:"true"` Subinterfaces *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces `path:"subinterfaces" module:"openconfig-interfaces"` ΛSubinterfaces []ygot.Annotation `path:"@subinterfaces" ygotAnnotation:"true"` }
OpenconfigInterfaces_Interfaces_Interface represents the /openconfig-interfaces/interfaces/interface YANG schema element.
func (*OpenconfigInterfaces_Interfaces_Interface) GetConfig ¶
func (t *OpenconfigInterfaces_Interfaces_Interface) GetConfig() *OpenconfigInterfaces_Interfaces_Interface_Config
GetConfig returns the value of the Config struct pointer from OpenconfigInterfaces_Interfaces_Interface. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigInterfaces_Interfaces_Interface) GetEthernet ¶
func (t *OpenconfigInterfaces_Interfaces_Interface) GetEthernet() *OpenconfigInterfaces_Interfaces_Interface_Ethernet
GetEthernet returns the value of the Ethernet struct pointer from OpenconfigInterfaces_Interfaces_Interface. If the receiver or the field Ethernet is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigInterfaces_Interfaces_Interface) GetHoldTime ¶
func (t *OpenconfigInterfaces_Interfaces_Interface) GetHoldTime() *OpenconfigInterfaces_Interfaces_Interface_HoldTime
GetHoldTime returns the value of the HoldTime struct pointer from OpenconfigInterfaces_Interfaces_Interface. If the receiver or the field HoldTime is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigInterfaces_Interfaces_Interface) GetName ¶
func (t *OpenconfigInterfaces_Interfaces_Interface) GetName() string
GetName retrieves the value of the leaf Name from the OpenconfigInterfaces_Interfaces_Interface struct. Caution should be exercised whilst using this method since 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 (*OpenconfigInterfaces_Interfaces_Interface) GetOrCreateConfig ¶
func (t *OpenconfigInterfaces_Interfaces_Interface) GetOrCreateConfig() *OpenconfigInterfaces_Interfaces_Interface_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigInterfaces_Interfaces_Interface) GetOrCreateEthernet ¶
func (t *OpenconfigInterfaces_Interfaces_Interface) GetOrCreateEthernet() *OpenconfigInterfaces_Interfaces_Interface_Ethernet
GetOrCreateEthernet retrieves the value of the Ethernet field or returns the existing field if it already exists.
func (*OpenconfigInterfaces_Interfaces_Interface) GetOrCreateHoldTime ¶
func (t *OpenconfigInterfaces_Interfaces_Interface) GetOrCreateHoldTime() *OpenconfigInterfaces_Interfaces_Interface_HoldTime
GetOrCreateHoldTime retrieves the value of the HoldTime field or returns the existing field if it already exists.
func (*OpenconfigInterfaces_Interfaces_Interface) GetOrCreateState ¶
func (t *OpenconfigInterfaces_Interfaces_Interface) GetOrCreateState() *OpenconfigInterfaces_Interfaces_Interface_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigInterfaces_Interfaces_Interface) GetOrCreateSubinterfaces ¶
func (t *OpenconfigInterfaces_Interfaces_Interface) GetOrCreateSubinterfaces() *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces
GetOrCreateSubinterfaces retrieves the value of the Subinterfaces field or returns the existing field if it already exists.
func (*OpenconfigInterfaces_Interfaces_Interface) GetState ¶
func (t *OpenconfigInterfaces_Interfaces_Interface) GetState() *OpenconfigInterfaces_Interfaces_Interface_State
GetState returns the value of the State struct pointer from OpenconfigInterfaces_Interfaces_Interface. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigInterfaces_Interfaces_Interface) GetSubinterfaces ¶
func (t *OpenconfigInterfaces_Interfaces_Interface) GetSubinterfaces() *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces
GetSubinterfaces returns the value of the Subinterfaces struct pointer from OpenconfigInterfaces_Interfaces_Interface. If the receiver or the field Subinterfaces is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigInterfaces_Interfaces_Interface) IsYANGGoStruct ¶
func (*OpenconfigInterfaces_Interfaces_Interface) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigInterfaces_Interfaces_Interface implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigInterfaces_Interfaces_Interface) Validate ¶
func (t *OpenconfigInterfaces_Interfaces_Interface) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigInterfaces_Interfaces_Interface) ΛEnumTypeMap ¶
func (t *OpenconfigInterfaces_Interfaces_Interface) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*OpenconfigInterfaces_Interfaces_Interface) ΛListKeyMap ¶
func (t *OpenconfigInterfaces_Interfaces_Interface) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the OpenconfigInterfaces_Interfaces_Interface struct, which is a YANG list entry.
type OpenconfigInterfaces_Interfaces_Interface_Config ¶
type OpenconfigInterfaces_Interfaces_Interface_Config struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Description *string `path:"description" module:"openconfig-interfaces"` ΛDescription []ygot.Annotation `path:"@description" ygotAnnotation:"true"` Enabled *bool `path:"enabled" module:"openconfig-interfaces"` ΛEnabled []ygot.Annotation `path:"@enabled" ygotAnnotation:"true"` LoopbackMode *bool `path:"loopback-mode" module:"openconfig-interfaces"` ΛLoopbackMode []ygot.Annotation `path:"@loopback-mode" ygotAnnotation:"true"` Mtu *uint16 `path:"mtu" module:"openconfig-interfaces"` ΛMtu []ygot.Annotation `path:"@mtu" ygotAnnotation:"true"` Name *string `path:"name" module:"openconfig-interfaces"` ΛName []ygot.Annotation `path:"@name" ygotAnnotation:"true"` Type E_IETFInterfaces_InterfaceType `path:"type" module:"openconfig-interfaces"` ΛType []ygot.Annotation `path:"@type" ygotAnnotation:"true"` }
OpenconfigInterfaces_Interfaces_Interface_Config represents the /openconfig-interfaces/interfaces/interface/config YANG schema element.
func (*OpenconfigInterfaces_Interfaces_Interface_Config) GetDescription ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Config) GetDescription() string
GetDescription retrieves the value of the leaf Description from the OpenconfigInterfaces_Interfaces_Interface_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Description is set, it can safely use t.GetDescription() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Description == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_Config) GetEnabled ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Config) GetEnabled() bool
GetEnabled retrieves the value of the leaf Enabled from the OpenconfigInterfaces_Interfaces_Interface_Config struct. Caution should be exercised whilst using this method since 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 (*OpenconfigInterfaces_Interfaces_Interface_Config) GetLoopbackMode ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Config) GetLoopbackMode() bool
GetLoopbackMode retrieves the value of the leaf LoopbackMode from the OpenconfigInterfaces_Interfaces_Interface_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LoopbackMode is set, it can safely use t.GetLoopbackMode() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LoopbackMode == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_Config) GetMtu ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Config) GetMtu() uint16
GetMtu retrieves the value of the leaf Mtu from the OpenconfigInterfaces_Interfaces_Interface_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Mtu is set, it can safely use t.GetMtu() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Mtu == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_Config) GetName ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Config) GetName() string
GetName retrieves the value of the leaf Name from the OpenconfigInterfaces_Interfaces_Interface_Config struct. Caution should be exercised whilst using this method since 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 (*OpenconfigInterfaces_Interfaces_Interface_Config) GetType ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Config) GetType() E_IETFInterfaces_InterfaceType
GetType retrieves the value of the leaf Type from the OpenconfigInterfaces_Interfaces_Interface_Config struct. Caution should be exercised whilst using this method since 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 (*OpenconfigInterfaces_Interfaces_Interface_Config) IsYANGGoStruct ¶
func (*OpenconfigInterfaces_Interfaces_Interface_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigInterfaces_Interfaces_Interface_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigInterfaces_Interfaces_Interface_Config) Validate ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigInterfaces_Interfaces_Interface_Config) ΛEnumTypeMap ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Config) Λ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.
type OpenconfigInterfaces_Interfaces_Interface_Ethernet ¶
type OpenconfigInterfaces_Interfaces_Interface_Ethernet struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Config *OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config `path:"config" module:"openconfig-if-ethernet"` ΛConfig []ygot.Annotation `path:"@config" ygotAnnotation:"true"` State *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State `path:"state" module:"openconfig-if-ethernet"` ΛState []ygot.Annotation `path:"@state" ygotAnnotation:"true"` }
OpenconfigInterfaces_Interfaces_Interface_Ethernet represents the /openconfig-interfaces/interfaces/interface/ethernet YANG schema element.
func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet) GetConfig ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet) GetConfig() *OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config
GetConfig returns the value of the Config struct pointer from OpenconfigInterfaces_Interfaces_Interface_Ethernet. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet) GetOrCreateConfig ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet) GetOrCreateConfig() *OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet) GetOrCreateState ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet) GetOrCreateState() *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet) GetState ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet) GetState() *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State
GetState returns the value of the State struct pointer from OpenconfigInterfaces_Interfaces_Interface_Ethernet. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet) IsYANGGoStruct ¶
func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigInterfaces_Interfaces_Interface_Ethernet implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet) Validate ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet) ΛEnumTypeMap ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
type OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config ¶
type OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` AlsDelay *uint32 `path:"als-delay" module:"openconfig-terminal-device"` ΛAlsDelay []ygot.Annotation `path:"@als-delay" ygotAnnotation:"true"` AutoNegotiate *bool `path:"auto-negotiate" module:"openconfig-if-ethernet"` ΛAutoNegotiate []ygot.Annotation `path:"@auto-negotiate" ygotAnnotation:"true"` ClientAls E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientAls `path:"client-als" module:"openconfig-terminal-device"` ΛClientAls []ygot.Annotation `path:"@client-als" ygotAnnotation:"true"` ClientFec E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientFec `path:"client-fec" module:"openconfig-terminal-device"` ΛClientFec []ygot.Annotation `path:"@client-fec" ygotAnnotation:"true"` DuplexMode E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_DuplexMode `path:"duplex-mode" module:"openconfig-if-ethernet"` ΛDuplexMode []ygot.Annotation `path:"@duplex-mode" ygotAnnotation:"true"` EnableFlowControl *bool `path:"enable-flow-control" module:"openconfig-if-ethernet"` ΛEnableFlowControl []ygot.Annotation `path:"@enable-flow-control" ygotAnnotation:"true"` MacAddress *string `path:"mac-address" module:"openconfig-if-ethernet"` ΛMacAddress []ygot.Annotation `path:"@mac-address" ygotAnnotation:"true"` PortSpeed E_OpenconfigIfEthernet_ETHERNET_SPEED `path:"port-speed" module:"openconfig-if-ethernet"` ΛPortSpeed []ygot.Annotation `path:"@port-speed" ygotAnnotation:"true"` }
OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config represents the /openconfig-interfaces/interfaces/interface/ethernet/config YANG schema element.
func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config) GetAlsDelay ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config) GetAlsDelay() uint32
GetAlsDelay retrieves the value of the leaf AlsDelay from the OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AlsDelay is set, it can safely use t.GetAlsDelay() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AlsDelay == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config) GetAutoNegotiate ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config) GetAutoNegotiate() bool
GetAutoNegotiate retrieves the value of the leaf AutoNegotiate from the OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AutoNegotiate is set, it can safely use t.GetAutoNegotiate() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AutoNegotiate == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config) GetClientAls ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config) GetClientAls() E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientAls
GetClientAls retrieves the value of the leaf ClientAls from the OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ClientAls is set, it can safely use t.GetClientAls() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ClientAls == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config) GetClientFec ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config) GetClientFec() E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientFec
GetClientFec retrieves the value of the leaf ClientFec from the OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ClientFec is set, it can safely use t.GetClientFec() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ClientFec == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config) GetDuplexMode ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config) GetDuplexMode() E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_DuplexMode
GetDuplexMode retrieves the value of the leaf DuplexMode from the OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if DuplexMode is set, it can safely use t.GetDuplexMode() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.DuplexMode == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config) GetEnableFlowControl ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config) GetEnableFlowControl() bool
GetEnableFlowControl retrieves the value of the leaf EnableFlowControl from the OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if EnableFlowControl is set, it can safely use t.GetEnableFlowControl() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.EnableFlowControl == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config) GetMacAddress ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config) GetMacAddress() string
GetMacAddress retrieves the value of the leaf MacAddress from the OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MacAddress is set, it can safely use t.GetMacAddress() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MacAddress == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config) GetPortSpeed ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config) GetPortSpeed() E_OpenconfigIfEthernet_ETHERNET_SPEED
GetPortSpeed retrieves the value of the leaf PortSpeed from the OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if PortSpeed is set, it can safely use t.GetPortSpeed() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.PortSpeed == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config) IsYANGGoStruct ¶
func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config) Validate ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config) ΛEnumTypeMap ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config) Λ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.
type OpenconfigInterfaces_Interfaces_Interface_Ethernet_State ¶
type OpenconfigInterfaces_Interfaces_Interface_Ethernet_State struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` AutoNegotiate *bool `path:"auto-negotiate" module:"openconfig-if-ethernet"` ΛAutoNegotiate []ygot.Annotation `path:"@auto-negotiate" ygotAnnotation:"true"` Counters *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters `path:"counters" module:"openconfig-if-ethernet"` ΛCounters []ygot.Annotation `path:"@counters" ygotAnnotation:"true"` DuplexMode E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_DuplexMode `path:"duplex-mode" module:"openconfig-if-ethernet"` ΛDuplexMode []ygot.Annotation `path:"@duplex-mode" ygotAnnotation:"true"` EnableFlowControl *bool `path:"enable-flow-control" module:"openconfig-if-ethernet"` ΛEnableFlowControl []ygot.Annotation `path:"@enable-flow-control" ygotAnnotation:"true"` HwMacAddress *string `path:"hw-mac-address" module:"openconfig-if-ethernet"` ΛHwMacAddress []ygot.Annotation `path:"@hw-mac-address" ygotAnnotation:"true"` MacAddress *string `path:"mac-address" module:"openconfig-if-ethernet"` ΛMacAddress []ygot.Annotation `path:"@mac-address" ygotAnnotation:"true"` NegotiatedDuplexMode E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_NegotiatedDuplexMode `path:"negotiated-duplex-mode" module:"openconfig-if-ethernet"` ΛNegotiatedDuplexMode []ygot.Annotation `path:"@negotiated-duplex-mode" ygotAnnotation:"true"` NegotiatedPortSpeed E_OpenconfigIfEthernet_ETHERNET_SPEED `path:"negotiated-port-speed" module:"openconfig-if-ethernet"` ΛNegotiatedPortSpeed []ygot.Annotation `path:"@negotiated-port-speed" ygotAnnotation:"true"` PortSpeed E_OpenconfigIfEthernet_ETHERNET_SPEED `path:"port-speed" module:"openconfig-if-ethernet"` ΛPortSpeed []ygot.Annotation `path:"@port-speed" ygotAnnotation:"true"` }
OpenconfigInterfaces_Interfaces_Interface_Ethernet_State represents the /openconfig-interfaces/interfaces/interface/ethernet/state YANG schema element.
func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_State) GetAutoNegotiate ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State) GetAutoNegotiate() bool
GetAutoNegotiate retrieves the value of the leaf AutoNegotiate from the OpenconfigInterfaces_Interfaces_Interface_Ethernet_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AutoNegotiate is set, it can safely use t.GetAutoNegotiate() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AutoNegotiate == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_State) GetCounters ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State) GetCounters() *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters
GetCounters returns the value of the Counters struct pointer from OpenconfigInterfaces_Interfaces_Interface_Ethernet_State. If the receiver or the field Counters is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_State) GetDuplexMode ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State) GetDuplexMode() E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_DuplexMode
GetDuplexMode retrieves the value of the leaf DuplexMode from the OpenconfigInterfaces_Interfaces_Interface_Ethernet_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if DuplexMode is set, it can safely use t.GetDuplexMode() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.DuplexMode == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_State) GetEnableFlowControl ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State) GetEnableFlowControl() bool
GetEnableFlowControl retrieves the value of the leaf EnableFlowControl from the OpenconfigInterfaces_Interfaces_Interface_Ethernet_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if EnableFlowControl is set, it can safely use t.GetEnableFlowControl() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.EnableFlowControl == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_State) GetHwMacAddress ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State) GetHwMacAddress() string
GetHwMacAddress retrieves the value of the leaf HwMacAddress from the OpenconfigInterfaces_Interfaces_Interface_Ethernet_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if HwMacAddress is set, it can safely use t.GetHwMacAddress() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.HwMacAddress == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_State) GetMacAddress ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State) GetMacAddress() string
GetMacAddress retrieves the value of the leaf MacAddress from the OpenconfigInterfaces_Interfaces_Interface_Ethernet_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MacAddress is set, it can safely use t.GetMacAddress() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MacAddress == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_State) GetNegotiatedDuplexMode ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State) GetNegotiatedDuplexMode() E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_NegotiatedDuplexMode
GetNegotiatedDuplexMode retrieves the value of the leaf NegotiatedDuplexMode from the OpenconfigInterfaces_Interfaces_Interface_Ethernet_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if NegotiatedDuplexMode is set, it can safely use t.GetNegotiatedDuplexMode() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.NegotiatedDuplexMode == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_State) GetNegotiatedPortSpeed ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State) GetNegotiatedPortSpeed() E_OpenconfigIfEthernet_ETHERNET_SPEED
GetNegotiatedPortSpeed retrieves the value of the leaf NegotiatedPortSpeed from the OpenconfigInterfaces_Interfaces_Interface_Ethernet_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if NegotiatedPortSpeed is set, it can safely use t.GetNegotiatedPortSpeed() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.NegotiatedPortSpeed == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_State) GetOrCreateCounters ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State) GetOrCreateCounters() *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters
GetOrCreateCounters retrieves the value of the Counters field or returns the existing field if it already exists.
func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_State) GetPortSpeed ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State) GetPortSpeed() E_OpenconfigIfEthernet_ETHERNET_SPEED
GetPortSpeed retrieves the value of the leaf PortSpeed from the OpenconfigInterfaces_Interfaces_Interface_Ethernet_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if PortSpeed is set, it can safely use t.GetPortSpeed() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.PortSpeed == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_State) IsYANGGoStruct ¶
func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigInterfaces_Interfaces_Interface_Ethernet_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_State) Validate ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_State) ΛEnumTypeMap ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State) Λ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.
type OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters ¶
type OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` In_8021QFrames *uint64 `path:"in-8021q-frames" module:"openconfig-if-ethernet"` ΛIn_8021QFrames []ygot.Annotation `path:"@in-8021q-frames" ygotAnnotation:"true"` InBlockErrors *uint64 `path:"in-block-errors" module:"openconfig-if-ethernet"` ΛInBlockErrors []ygot.Annotation `path:"@in-block-errors" ygotAnnotation:"true"` InCrcErrors *uint64 `path:"in-crc-errors" module:"openconfig-if-ethernet"` ΛInCrcErrors []ygot.Annotation `path:"@in-crc-errors" ygotAnnotation:"true"` InFragmentFrames *uint64 `path:"in-fragment-frames" module:"openconfig-if-ethernet"` ΛInFragmentFrames []ygot.Annotation `path:"@in-fragment-frames" ygotAnnotation:"true"` InJabberFrames *uint64 `path:"in-jabber-frames" module:"openconfig-if-ethernet"` ΛInJabberFrames []ygot.Annotation `path:"@in-jabber-frames" ygotAnnotation:"true"` InMacControlFrames *uint64 `path:"in-mac-control-frames" module:"openconfig-if-ethernet"` ΛInMacControlFrames []ygot.Annotation `path:"@in-mac-control-frames" ygotAnnotation:"true"` InMacPauseFrames *uint64 `path:"in-mac-pause-frames" module:"openconfig-if-ethernet"` ΛInMacPauseFrames []ygot.Annotation `path:"@in-mac-pause-frames" ygotAnnotation:"true"` InOversizeFrames *uint64 `path:"in-oversize-frames" module:"openconfig-if-ethernet"` ΛInOversizeFrames []ygot.Annotation `path:"@in-oversize-frames" ygotAnnotation:"true"` InUndersizeFrames *uint64 `path:"in-undersize-frames" module:"openconfig-if-ethernet"` ΛInUndersizeFrames []ygot.Annotation `path:"@in-undersize-frames" ygotAnnotation:"true"` Out_8021QFrames *uint64 `path:"out-8021q-frames" module:"openconfig-if-ethernet"` ΛOut_8021QFrames []ygot.Annotation `path:"@out-8021q-frames" ygotAnnotation:"true"` OutMacControlFrames *uint64 `path:"out-mac-control-frames" module:"openconfig-if-ethernet"` ΛOutMacControlFrames []ygot.Annotation `path:"@out-mac-control-frames" ygotAnnotation:"true"` OutMacPauseFrames *uint64 `path:"out-mac-pause-frames" module:"openconfig-if-ethernet"` ΛOutMacPauseFrames []ygot.Annotation `path:"@out-mac-pause-frames" ygotAnnotation:"true"` }
OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters represents the /openconfig-interfaces/interfaces/interface/ethernet/state/counters YANG schema element.
func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters) GetInBlockErrors ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters) GetInBlockErrors() uint64
GetInBlockErrors retrieves the value of the leaf InBlockErrors from the OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InBlockErrors is set, it can safely use t.GetInBlockErrors() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InBlockErrors == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters) GetInCrcErrors ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters) GetInCrcErrors() uint64
GetInCrcErrors retrieves the value of the leaf InCrcErrors from the OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InCrcErrors is set, it can safely use t.GetInCrcErrors() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InCrcErrors == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters) GetInFragmentFrames ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters) GetInFragmentFrames() uint64
GetInFragmentFrames retrieves the value of the leaf InFragmentFrames from the OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InFragmentFrames is set, it can safely use t.GetInFragmentFrames() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InFragmentFrames == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters) GetInJabberFrames ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters) GetInJabberFrames() uint64
GetInJabberFrames retrieves the value of the leaf InJabberFrames from the OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InJabberFrames is set, it can safely use t.GetInJabberFrames() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InJabberFrames == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters) GetInMacControlFrames ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters) GetInMacControlFrames() uint64
GetInMacControlFrames retrieves the value of the leaf InMacControlFrames from the OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InMacControlFrames is set, it can safely use t.GetInMacControlFrames() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InMacControlFrames == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters) GetInMacPauseFrames ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters) GetInMacPauseFrames() uint64
GetInMacPauseFrames retrieves the value of the leaf InMacPauseFrames from the OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InMacPauseFrames is set, it can safely use t.GetInMacPauseFrames() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InMacPauseFrames == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters) GetInOversizeFrames ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters) GetInOversizeFrames() uint64
GetInOversizeFrames retrieves the value of the leaf InOversizeFrames from the OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InOversizeFrames is set, it can safely use t.GetInOversizeFrames() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InOversizeFrames == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters) GetInUndersizeFrames ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters) GetInUndersizeFrames() uint64
GetInUndersizeFrames retrieves the value of the leaf InUndersizeFrames from the OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InUndersizeFrames is set, it can safely use t.GetInUndersizeFrames() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InUndersizeFrames == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters) GetIn_8021QFrames ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters) GetIn_8021QFrames() uint64
GetIn_8021QFrames retrieves the value of the leaf In_8021QFrames from the OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if In_8021QFrames is set, it can safely use t.GetIn_8021QFrames() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.In_8021QFrames == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters) GetOutMacControlFrames ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters) GetOutMacControlFrames() uint64
GetOutMacControlFrames retrieves the value of the leaf OutMacControlFrames from the OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutMacControlFrames is set, it can safely use t.GetOutMacControlFrames() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutMacControlFrames == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters) GetOutMacPauseFrames ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters) GetOutMacPauseFrames() uint64
GetOutMacPauseFrames retrieves the value of the leaf OutMacPauseFrames from the OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutMacPauseFrames is set, it can safely use t.GetOutMacPauseFrames() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutMacPauseFrames == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters) GetOut_8021QFrames ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters) GetOut_8021QFrames() uint64
GetOut_8021QFrames retrieves the value of the leaf Out_8021QFrames from the OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Out_8021QFrames is set, it can safely use t.GetOut_8021QFrames() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Out_8021QFrames == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters) IsYANGGoStruct ¶
func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters) Validate ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters) ΛEnumTypeMap ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_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.
type OpenconfigInterfaces_Interfaces_Interface_HoldTime ¶
type OpenconfigInterfaces_Interfaces_Interface_HoldTime struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Config *OpenconfigInterfaces_Interfaces_Interface_HoldTime_Config `path:"config" module:"openconfig-interfaces"` ΛConfig []ygot.Annotation `path:"@config" ygotAnnotation:"true"` State *OpenconfigInterfaces_Interfaces_Interface_HoldTime_State `path:"state" module:"openconfig-interfaces"` ΛState []ygot.Annotation `path:"@state" ygotAnnotation:"true"` }
OpenconfigInterfaces_Interfaces_Interface_HoldTime represents the /openconfig-interfaces/interfaces/interface/hold-time YANG schema element.
func (*OpenconfigInterfaces_Interfaces_Interface_HoldTime) GetConfig ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_HoldTime) GetConfig() *OpenconfigInterfaces_Interfaces_Interface_HoldTime_Config
GetConfig returns the value of the Config struct pointer from OpenconfigInterfaces_Interfaces_Interface_HoldTime. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigInterfaces_Interfaces_Interface_HoldTime) GetOrCreateConfig ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_HoldTime) GetOrCreateConfig() *OpenconfigInterfaces_Interfaces_Interface_HoldTime_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigInterfaces_Interfaces_Interface_HoldTime) GetOrCreateState ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_HoldTime) GetOrCreateState() *OpenconfigInterfaces_Interfaces_Interface_HoldTime_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigInterfaces_Interfaces_Interface_HoldTime) GetState ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_HoldTime) GetState() *OpenconfigInterfaces_Interfaces_Interface_HoldTime_State
GetState returns the value of the State struct pointer from OpenconfigInterfaces_Interfaces_Interface_HoldTime. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigInterfaces_Interfaces_Interface_HoldTime) IsYANGGoStruct ¶
func (*OpenconfigInterfaces_Interfaces_Interface_HoldTime) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigInterfaces_Interfaces_Interface_HoldTime implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigInterfaces_Interfaces_Interface_HoldTime) Validate ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_HoldTime) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigInterfaces_Interfaces_Interface_HoldTime) ΛEnumTypeMap ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_HoldTime) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
type OpenconfigInterfaces_Interfaces_Interface_HoldTime_Config ¶
type OpenconfigInterfaces_Interfaces_Interface_HoldTime_Config struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Down *uint32 `path:"down" module:"openconfig-interfaces"` ΛDown []ygot.Annotation `path:"@down" ygotAnnotation:"true"` Up *uint32 `path:"up" module:"openconfig-interfaces"` ΛUp []ygot.Annotation `path:"@up" ygotAnnotation:"true"` }
OpenconfigInterfaces_Interfaces_Interface_HoldTime_Config represents the /openconfig-interfaces/interfaces/interface/hold-time/config YANG schema element.
func (*OpenconfigInterfaces_Interfaces_Interface_HoldTime_Config) GetDown ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_HoldTime_Config) GetDown() uint32
GetDown retrieves the value of the leaf Down from the OpenconfigInterfaces_Interfaces_Interface_HoldTime_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Down is set, it can safely use t.GetDown() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Down == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_HoldTime_Config) GetUp ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_HoldTime_Config) GetUp() uint32
GetUp retrieves the value of the leaf Up from the OpenconfigInterfaces_Interfaces_Interface_HoldTime_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Up is set, it can safely use t.GetUp() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Up == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_HoldTime_Config) IsYANGGoStruct ¶
func (*OpenconfigInterfaces_Interfaces_Interface_HoldTime_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigInterfaces_Interfaces_Interface_HoldTime_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigInterfaces_Interfaces_Interface_HoldTime_Config) Validate ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_HoldTime_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigInterfaces_Interfaces_Interface_HoldTime_Config) ΛEnumTypeMap ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_HoldTime_Config) Λ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.
type OpenconfigInterfaces_Interfaces_Interface_HoldTime_State ¶
type OpenconfigInterfaces_Interfaces_Interface_HoldTime_State struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Down *uint32 `path:"down" module:"openconfig-interfaces"` ΛDown []ygot.Annotation `path:"@down" ygotAnnotation:"true"` Up *uint32 `path:"up" module:"openconfig-interfaces"` ΛUp []ygot.Annotation `path:"@up" ygotAnnotation:"true"` }
OpenconfigInterfaces_Interfaces_Interface_HoldTime_State represents the /openconfig-interfaces/interfaces/interface/hold-time/state YANG schema element.
func (*OpenconfigInterfaces_Interfaces_Interface_HoldTime_State) GetDown ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_HoldTime_State) GetDown() uint32
GetDown retrieves the value of the leaf Down from the OpenconfigInterfaces_Interfaces_Interface_HoldTime_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Down is set, it can safely use t.GetDown() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Down == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_HoldTime_State) GetUp ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_HoldTime_State) GetUp() uint32
GetUp retrieves the value of the leaf Up from the OpenconfigInterfaces_Interfaces_Interface_HoldTime_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Up is set, it can safely use t.GetUp() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Up == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_HoldTime_State) IsYANGGoStruct ¶
func (*OpenconfigInterfaces_Interfaces_Interface_HoldTime_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigInterfaces_Interfaces_Interface_HoldTime_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigInterfaces_Interfaces_Interface_HoldTime_State) Validate ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_HoldTime_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigInterfaces_Interfaces_Interface_HoldTime_State) ΛEnumTypeMap ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_HoldTime_State) Λ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.
type OpenconfigInterfaces_Interfaces_Interface_State ¶
type OpenconfigInterfaces_Interfaces_Interface_State struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` AdminStatus E_OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus `path:"admin-status" module:"openconfig-interfaces"` ΛAdminStatus []ygot.Annotation `path:"@admin-status" ygotAnnotation:"true"` Counters *OpenconfigInterfaces_Interfaces_Interface_State_Counters `path:"counters" module:"openconfig-interfaces"` ΛCounters []ygot.Annotation `path:"@counters" ygotAnnotation:"true"` Description *string `path:"description" module:"openconfig-interfaces"` ΛDescription []ygot.Annotation `path:"@description" ygotAnnotation:"true"` Enabled *bool `path:"enabled" module:"openconfig-interfaces"` ΛEnabled []ygot.Annotation `path:"@enabled" ygotAnnotation:"true"` HardwarePort *string `path:"hardware-port" module:"openconfig-platform-port"` ΛHardwarePort []ygot.Annotation `path:"@hardware-port" ygotAnnotation:"true"` Ifindex *uint32 `path:"ifindex" module:"openconfig-interfaces"` ΛIfindex []ygot.Annotation `path:"@ifindex" ygotAnnotation:"true"` LastChange *uint64 `path:"last-change" module:"openconfig-interfaces"` ΛLastChange []ygot.Annotation `path:"@last-change" ygotAnnotation:"true"` Logical *bool `path:"logical" module:"openconfig-interfaces"` ΛLogical []ygot.Annotation `path:"@logical" ygotAnnotation:"true"` LoopbackMode *bool `path:"loopback-mode" module:"openconfig-interfaces"` ΛLoopbackMode []ygot.Annotation `path:"@loopback-mode" ygotAnnotation:"true"` Mtu *uint16 `path:"mtu" module:"openconfig-interfaces"` ΛMtu []ygot.Annotation `path:"@mtu" ygotAnnotation:"true"` Name *string `path:"name" module:"openconfig-interfaces"` ΛName []ygot.Annotation `path:"@name" ygotAnnotation:"true"` OperStatus E_OpenconfigInterfaces_Interfaces_Interface_State_OperStatus `path:"oper-status" module:"openconfig-interfaces"` ΛOperStatus []ygot.Annotation `path:"@oper-status" ygotAnnotation:"true"` PhysicalChannel []uint16 `path:"physical-channel" module:"openconfig-platform-transceiver"` ΛPhysicalChannel []ygot.Annotation `path:"@physical-channel" ygotAnnotation:"true"` Transceiver *string `path:"transceiver" module:"openconfig-platform-transceiver"` ΛTransceiver []ygot.Annotation `path:"@transceiver" ygotAnnotation:"true"` Type E_IETFInterfaces_InterfaceType `path:"type" module:"openconfig-interfaces"` ΛType []ygot.Annotation `path:"@type" ygotAnnotation:"true"` }
OpenconfigInterfaces_Interfaces_Interface_State represents the /openconfig-interfaces/interfaces/interface/state YANG schema element.
func (*OpenconfigInterfaces_Interfaces_Interface_State) GetAdminStatus ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_State) GetAdminStatus() E_OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus
GetAdminStatus retrieves the value of the leaf AdminStatus from the OpenconfigInterfaces_Interfaces_Interface_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AdminStatus is set, it can safely use t.GetAdminStatus() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AdminStatus == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_State) GetCounters ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_State) GetCounters() *OpenconfigInterfaces_Interfaces_Interface_State_Counters
GetCounters returns the value of the Counters struct pointer from OpenconfigInterfaces_Interfaces_Interface_State. If the receiver or the field Counters is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigInterfaces_Interfaces_Interface_State) GetDescription ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_State) GetDescription() string
GetDescription retrieves the value of the leaf Description from the OpenconfigInterfaces_Interfaces_Interface_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Description is set, it can safely use t.GetDescription() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Description == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_State) GetEnabled ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_State) GetEnabled() bool
GetEnabled retrieves the value of the leaf Enabled from the OpenconfigInterfaces_Interfaces_Interface_State struct. Caution should be exercised whilst using this method since 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 (*OpenconfigInterfaces_Interfaces_Interface_State) GetHardwarePort ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_State) GetHardwarePort() string
GetHardwarePort retrieves the value of the leaf HardwarePort from the OpenconfigInterfaces_Interfaces_Interface_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if HardwarePort is set, it can safely use t.GetHardwarePort() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.HardwarePort == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_State) GetIfindex ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_State) GetIfindex() uint32
GetIfindex retrieves the value of the leaf Ifindex from the OpenconfigInterfaces_Interfaces_Interface_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Ifindex is set, it can safely use t.GetIfindex() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Ifindex == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_State) GetLastChange ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_State) GetLastChange() uint64
GetLastChange retrieves the value of the leaf LastChange from the OpenconfigInterfaces_Interfaces_Interface_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LastChange is set, it can safely use t.GetLastChange() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LastChange == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_State) GetLogical ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_State) GetLogical() bool
GetLogical retrieves the value of the leaf Logical from the OpenconfigInterfaces_Interfaces_Interface_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Logical is set, it can safely use t.GetLogical() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Logical == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_State) GetLoopbackMode ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_State) GetLoopbackMode() bool
GetLoopbackMode retrieves the value of the leaf LoopbackMode from the OpenconfigInterfaces_Interfaces_Interface_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LoopbackMode is set, it can safely use t.GetLoopbackMode() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LoopbackMode == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_State) GetMtu ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_State) GetMtu() uint16
GetMtu retrieves the value of the leaf Mtu from the OpenconfigInterfaces_Interfaces_Interface_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Mtu is set, it can safely use t.GetMtu() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Mtu == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_State) GetName ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_State) GetName() string
GetName retrieves the value of the leaf Name from the OpenconfigInterfaces_Interfaces_Interface_State struct. Caution should be exercised whilst using this method since 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 (*OpenconfigInterfaces_Interfaces_Interface_State) GetOperStatus ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_State) GetOperStatus() E_OpenconfigInterfaces_Interfaces_Interface_State_OperStatus
GetOperStatus retrieves the value of the leaf OperStatus from the OpenconfigInterfaces_Interfaces_Interface_State struct. Caution should be exercised whilst using this method since 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 (*OpenconfigInterfaces_Interfaces_Interface_State) GetOrCreateCounters ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_State) GetOrCreateCounters() *OpenconfigInterfaces_Interfaces_Interface_State_Counters
GetOrCreateCounters retrieves the value of the Counters field or returns the existing field if it already exists.
func (*OpenconfigInterfaces_Interfaces_Interface_State) GetPhysicalChannel ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_State) GetPhysicalChannel() []uint16
GetPhysicalChannel retrieves the value of the leaf PhysicalChannel from the OpenconfigInterfaces_Interfaces_Interface_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if PhysicalChannel is set, it can safely use t.GetPhysicalChannel() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.PhysicalChannel == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_State) GetTransceiver ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_State) GetTransceiver() string
GetTransceiver retrieves the value of the leaf Transceiver from the OpenconfigInterfaces_Interfaces_Interface_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Transceiver is set, it can safely use t.GetTransceiver() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Transceiver == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_State) GetType ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_State) GetType() E_IETFInterfaces_InterfaceType
GetType retrieves the value of the leaf Type from the OpenconfigInterfaces_Interfaces_Interface_State struct. Caution should be exercised whilst using this method since 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 (*OpenconfigInterfaces_Interfaces_Interface_State) IsYANGGoStruct ¶
func (*OpenconfigInterfaces_Interfaces_Interface_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigInterfaces_Interfaces_Interface_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigInterfaces_Interfaces_Interface_State) Validate ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigInterfaces_Interfaces_Interface_State) ΛEnumTypeMap ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_State) Λ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.
type OpenconfigInterfaces_Interfaces_Interface_State_Counters ¶
type OpenconfigInterfaces_Interfaces_Interface_State_Counters struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` CarrierTransitions *uint64 `path:"carrier-transitions" module:"openconfig-interfaces"` ΛCarrierTransitions []ygot.Annotation `path:"@carrier-transitions" ygotAnnotation:"true"` InBroadcastPkts *uint64 `path:"in-broadcast-pkts" module:"openconfig-interfaces"` ΛInBroadcastPkts []ygot.Annotation `path:"@in-broadcast-pkts" ygotAnnotation:"true"` InDiscards *uint64 `path:"in-discards" module:"openconfig-interfaces"` ΛInDiscards []ygot.Annotation `path:"@in-discards" ygotAnnotation:"true"` InErrors *uint64 `path:"in-errors" module:"openconfig-interfaces"` ΛInErrors []ygot.Annotation `path:"@in-errors" ygotAnnotation:"true"` InFcsErrors *uint64 `path:"in-fcs-errors" module:"openconfig-interfaces"` ΛInFcsErrors []ygot.Annotation `path:"@in-fcs-errors" ygotAnnotation:"true"` InMulticastPkts *uint64 `path:"in-multicast-pkts" module:"openconfig-interfaces"` ΛInMulticastPkts []ygot.Annotation `path:"@in-multicast-pkts" ygotAnnotation:"true"` InOctets *uint64 `path:"in-octets" module:"openconfig-interfaces"` ΛInOctets []ygot.Annotation `path:"@in-octets" ygotAnnotation:"true"` InPkts *uint64 `path:"in-pkts" module:"openconfig-interfaces"` ΛInPkts []ygot.Annotation `path:"@in-pkts" ygotAnnotation:"true"` InUnicastPkts *uint64 `path:"in-unicast-pkts" module:"openconfig-interfaces"` ΛInUnicastPkts []ygot.Annotation `path:"@in-unicast-pkts" ygotAnnotation:"true"` InUnknownProtos *uint64 `path:"in-unknown-protos" module:"openconfig-interfaces"` ΛInUnknownProtos []ygot.Annotation `path:"@in-unknown-protos" ygotAnnotation:"true"` LastClear *uint64 `path:"last-clear" module:"openconfig-interfaces"` ΛLastClear []ygot.Annotation `path:"@last-clear" ygotAnnotation:"true"` OutBroadcastPkts *uint64 `path:"out-broadcast-pkts" module:"openconfig-interfaces"` ΛOutBroadcastPkts []ygot.Annotation `path:"@out-broadcast-pkts" ygotAnnotation:"true"` OutDiscards *uint64 `path:"out-discards" module:"openconfig-interfaces"` ΛOutDiscards []ygot.Annotation `path:"@out-discards" ygotAnnotation:"true"` OutErrors *uint64 `path:"out-errors" module:"openconfig-interfaces"` ΛOutErrors []ygot.Annotation `path:"@out-errors" ygotAnnotation:"true"` OutMulticastPkts *uint64 `path:"out-multicast-pkts" module:"openconfig-interfaces"` ΛOutMulticastPkts []ygot.Annotation `path:"@out-multicast-pkts" ygotAnnotation:"true"` OutOctets *uint64 `path:"out-octets" module:"openconfig-interfaces"` ΛOutOctets []ygot.Annotation `path:"@out-octets" ygotAnnotation:"true"` OutPkts *uint64 `path:"out-pkts" module:"openconfig-interfaces"` ΛOutPkts []ygot.Annotation `path:"@out-pkts" ygotAnnotation:"true"` OutUnicastPkts *uint64 `path:"out-unicast-pkts" module:"openconfig-interfaces"` ΛOutUnicastPkts []ygot.Annotation `path:"@out-unicast-pkts" ygotAnnotation:"true"` }
OpenconfigInterfaces_Interfaces_Interface_State_Counters represents the /openconfig-interfaces/interfaces/interface/state/counters YANG schema element.
func (*OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetCarrierTransitions ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetCarrierTransitions() uint64
GetCarrierTransitions retrieves the value of the leaf CarrierTransitions from the OpenconfigInterfaces_Interfaces_Interface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if CarrierTransitions is set, it can safely use t.GetCarrierTransitions() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.CarrierTransitions == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetInBroadcastPkts ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetInBroadcastPkts() uint64
GetInBroadcastPkts retrieves the value of the leaf InBroadcastPkts from the OpenconfigInterfaces_Interfaces_Interface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InBroadcastPkts is set, it can safely use t.GetInBroadcastPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InBroadcastPkts == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetInDiscards ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetInDiscards() uint64
GetInDiscards retrieves the value of the leaf InDiscards from the OpenconfigInterfaces_Interfaces_Interface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InDiscards is set, it can safely use t.GetInDiscards() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InDiscards == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetInErrors ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetInErrors() uint64
GetInErrors retrieves the value of the leaf InErrors from the OpenconfigInterfaces_Interfaces_Interface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InErrors is set, it can safely use t.GetInErrors() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InErrors == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetInFcsErrors ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetInFcsErrors() uint64
GetInFcsErrors retrieves the value of the leaf InFcsErrors from the OpenconfigInterfaces_Interfaces_Interface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InFcsErrors is set, it can safely use t.GetInFcsErrors() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InFcsErrors == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetInMulticastPkts ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetInMulticastPkts() uint64
GetInMulticastPkts retrieves the value of the leaf InMulticastPkts from the OpenconfigInterfaces_Interfaces_Interface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InMulticastPkts is set, it can safely use t.GetInMulticastPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InMulticastPkts == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetInOctets ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetInOctets() uint64
GetInOctets retrieves the value of the leaf InOctets from the OpenconfigInterfaces_Interfaces_Interface_State_Counters struct. Caution should be exercised whilst using this method since 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 (*OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetInPkts ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetInPkts() uint64
GetInPkts retrieves the value of the leaf InPkts from the OpenconfigInterfaces_Interfaces_Interface_State_Counters struct. Caution should be exercised whilst using this method since 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 (*OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetInUnicastPkts ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetInUnicastPkts() uint64
GetInUnicastPkts retrieves the value of the leaf InUnicastPkts from the OpenconfigInterfaces_Interfaces_Interface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InUnicastPkts is set, it can safely use t.GetInUnicastPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InUnicastPkts == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetInUnknownProtos ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetInUnknownProtos() uint64
GetInUnknownProtos retrieves the value of the leaf InUnknownProtos from the OpenconfigInterfaces_Interfaces_Interface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InUnknownProtos is set, it can safely use t.GetInUnknownProtos() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InUnknownProtos == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetLastClear ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetLastClear() uint64
GetLastClear retrieves the value of the leaf LastClear from the OpenconfigInterfaces_Interfaces_Interface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LastClear is set, it can safely use t.GetLastClear() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LastClear == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetOutBroadcastPkts ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetOutBroadcastPkts() uint64
GetOutBroadcastPkts retrieves the value of the leaf OutBroadcastPkts from the OpenconfigInterfaces_Interfaces_Interface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutBroadcastPkts is set, it can safely use t.GetOutBroadcastPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutBroadcastPkts == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetOutDiscards ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetOutDiscards() uint64
GetOutDiscards retrieves the value of the leaf OutDiscards from the OpenconfigInterfaces_Interfaces_Interface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutDiscards is set, it can safely use t.GetOutDiscards() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutDiscards == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetOutErrors ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetOutErrors() uint64
GetOutErrors retrieves the value of the leaf OutErrors from the OpenconfigInterfaces_Interfaces_Interface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutErrors is set, it can safely use t.GetOutErrors() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutErrors == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetOutMulticastPkts ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetOutMulticastPkts() uint64
GetOutMulticastPkts retrieves the value of the leaf OutMulticastPkts from the OpenconfigInterfaces_Interfaces_Interface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutMulticastPkts is set, it can safely use t.GetOutMulticastPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutMulticastPkts == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetOutOctets ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetOutOctets() uint64
GetOutOctets retrieves the value of the leaf OutOctets from the OpenconfigInterfaces_Interfaces_Interface_State_Counters struct. Caution should be exercised whilst using this method since 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 (*OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetOutPkts ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetOutPkts() uint64
GetOutPkts retrieves the value of the leaf OutPkts from the OpenconfigInterfaces_Interfaces_Interface_State_Counters struct. Caution should be exercised whilst using this method since 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 (*OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetOutUnicastPkts ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetOutUnicastPkts() uint64
GetOutUnicastPkts retrieves the value of the leaf OutUnicastPkts from the OpenconfigInterfaces_Interfaces_Interface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutUnicastPkts is set, it can safely use t.GetOutUnicastPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutUnicastPkts == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_State_Counters) IsYANGGoStruct ¶
func (*OpenconfigInterfaces_Interfaces_Interface_State_Counters) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigInterfaces_Interfaces_Interface_State_Counters implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigInterfaces_Interfaces_Interface_State_Counters) Validate ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_State_Counters) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigInterfaces_Interfaces_Interface_State_Counters) ΛEnumTypeMap ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_State_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.
type OpenconfigInterfaces_Interfaces_Interface_Subinterfaces ¶
type OpenconfigInterfaces_Interfaces_Interface_Subinterfaces struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Subinterface map[uint32]*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface `path:"subinterface" module:"openconfig-interfaces"` ΛSubinterface []ygot.Annotation `path:"@subinterface" ygotAnnotation:"true"` }
OpenconfigInterfaces_Interfaces_Interface_Subinterfaces represents the /openconfig-interfaces/interfaces/interface/subinterfaces YANG schema element.
func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces) AppendSubinterface ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces) AppendSubinterface(v *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface) error
AppendSubinterface appends the supplied OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface struct to the list Subinterface of OpenconfigInterfaces_Interfaces_Interface_Subinterfaces. If the key value(s) specified in the supplied OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface already exist in the list, an error is returned.
func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces) GetOrCreateSubinterface ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces) GetOrCreateSubinterface(Index uint32) *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface
GetOrCreateSubinterface retrieves the value with the specified keys from the receiver OpenconfigInterfaces_Interfaces_Interface_Subinterfaces. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces) GetSubinterface ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces) GetSubinterface(Index uint32) *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface
GetSubinterface retrieves the value with the specified key from the Subinterface map field of OpenconfigInterfaces_Interfaces_Interface_Subinterfaces. 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 (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces) IsYANGGoStruct ¶
func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigInterfaces_Interfaces_Interface_Subinterfaces implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces) NewSubinterface ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces) NewSubinterface(Index uint32) (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface, error)
NewSubinterface creates a new entry in the Subinterface list of the OpenconfigInterfaces_Interfaces_Interface_Subinterfaces struct. The keys of the list are populated from the input arguments.
func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces) RenameSubinterface ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces) RenameSubinterface(oldK, newK uint32) error
RenameSubinterface renames an entry in the list Subinterface within the OpenconfigInterfaces_Interfaces_Interface_Subinterfaces struct. The entry with key oldK is renamed to newK updating the key within the value.
func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces) Validate ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces) ΛEnumTypeMap ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces) Λ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.
type OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface ¶
type OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Config *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_Config `path:"config" module:"openconfig-interfaces"` ΛConfig []ygot.Annotation `path:"@config" ygotAnnotation:"true"` Index *uint32 `path:"index" module:"openconfig-interfaces"` ΛIndex []ygot.Annotation `path:"@index" ygotAnnotation:"true"` State *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State `path:"state" module:"openconfig-interfaces"` ΛState []ygot.Annotation `path:"@state" ygotAnnotation:"true"` }
OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface represents the /openconfig-interfaces/interfaces/interface/subinterfaces/subinterface YANG schema element.
func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface) GetConfig ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface) GetConfig() *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_Config
GetConfig returns the value of the Config struct pointer from OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface) GetIndex ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface) GetIndex() uint32
GetIndex retrieves the value of the leaf Index from the OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface struct. Caution should be exercised whilst using this method since 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 (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface) GetOrCreateConfig ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface) GetOrCreateConfig() *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface) GetOrCreateState ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface) GetOrCreateState() *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface) GetState ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface) GetState() *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State
GetState returns the value of the State struct pointer from OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface) IsYANGGoStruct ¶
func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface) Validate ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface) ΛEnumTypeMap ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface) ΛListKeyMap ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface struct, which is a YANG list entry.
type OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_Config ¶
type OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_Config struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Description *string `path:"description" module:"openconfig-interfaces"` ΛDescription []ygot.Annotation `path:"@description" ygotAnnotation:"true"` Enabled *bool `path:"enabled" module:"openconfig-interfaces"` ΛEnabled []ygot.Annotation `path:"@enabled" ygotAnnotation:"true"` Index *uint32 `path:"index" module:"openconfig-interfaces"` ΛIndex []ygot.Annotation `path:"@index" ygotAnnotation:"true"` }
OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_Config represents the /openconfig-interfaces/interfaces/interface/subinterfaces/subinterface/config YANG schema element.
func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_Config) GetDescription ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_Config) GetDescription() string
GetDescription retrieves the value of the leaf Description from the OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Description is set, it can safely use t.GetDescription() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Description == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_Config) GetEnabled ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_Config) GetEnabled() bool
GetEnabled retrieves the value of the leaf Enabled from the OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_Config struct. Caution should be exercised whilst using this method since 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 (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_Config) GetIndex ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_Config) GetIndex() uint32
GetIndex retrieves the value of the leaf Index from the OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_Config struct. Caution should be exercised whilst using this method since 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 (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_Config) IsYANGGoStruct ¶
func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_Config) Validate ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_Config) ΛEnumTypeMap ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_Config) Λ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.
type OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State ¶
type OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` AdminStatus E_OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus `path:"admin-status" module:"openconfig-interfaces"` ΛAdminStatus []ygot.Annotation `path:"@admin-status" ygotAnnotation:"true"` Counters *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters `path:"counters" module:"openconfig-interfaces"` ΛCounters []ygot.Annotation `path:"@counters" ygotAnnotation:"true"` Description *string `path:"description" module:"openconfig-interfaces"` ΛDescription []ygot.Annotation `path:"@description" ygotAnnotation:"true"` Enabled *bool `path:"enabled" module:"openconfig-interfaces"` ΛEnabled []ygot.Annotation `path:"@enabled" ygotAnnotation:"true"` Ifindex *uint32 `path:"ifindex" module:"openconfig-interfaces"` ΛIfindex []ygot.Annotation `path:"@ifindex" ygotAnnotation:"true"` Index *uint32 `path:"index" module:"openconfig-interfaces"` ΛIndex []ygot.Annotation `path:"@index" ygotAnnotation:"true"` LastChange *uint64 `path:"last-change" module:"openconfig-interfaces"` ΛLastChange []ygot.Annotation `path:"@last-change" ygotAnnotation:"true"` Logical *bool `path:"logical" module:"openconfig-interfaces"` ΛLogical []ygot.Annotation `path:"@logical" ygotAnnotation:"true"` Name *string `path:"name" module:"openconfig-interfaces"` ΛName []ygot.Annotation `path:"@name" ygotAnnotation:"true"` OperStatus E_OpenconfigInterfaces_Interfaces_Interface_State_OperStatus `path:"oper-status" module:"openconfig-interfaces"` ΛOperStatus []ygot.Annotation `path:"@oper-status" ygotAnnotation:"true"` }
OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State represents the /openconfig-interfaces/interfaces/interface/subinterfaces/subinterface/state YANG schema element.
func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State) GetAdminStatus ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State) GetAdminStatus() E_OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus
GetAdminStatus retrieves the value of the leaf AdminStatus from the OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AdminStatus is set, it can safely use t.GetAdminStatus() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AdminStatus == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State) GetCounters ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State) GetCounters() *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters
GetCounters returns the value of the Counters struct pointer from OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State. If the receiver or the field Counters is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State) GetDescription ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State) GetDescription() string
GetDescription retrieves the value of the leaf Description from the OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Description is set, it can safely use t.GetDescription() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Description == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State) GetEnabled ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State) GetEnabled() bool
GetEnabled retrieves the value of the leaf Enabled from the OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State struct. Caution should be exercised whilst using this method since 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 (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State) GetIfindex ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State) GetIfindex() uint32
GetIfindex retrieves the value of the leaf Ifindex from the OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Ifindex is set, it can safely use t.GetIfindex() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Ifindex == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State) GetIndex ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State) GetIndex() uint32
GetIndex retrieves the value of the leaf Index from the OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State struct. Caution should be exercised whilst using this method since 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 (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State) GetLastChange ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State) GetLastChange() uint64
GetLastChange retrieves the value of the leaf LastChange from the OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LastChange is set, it can safely use t.GetLastChange() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LastChange == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State) GetLogical ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State) GetLogical() bool
GetLogical retrieves the value of the leaf Logical from the OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Logical is set, it can safely use t.GetLogical() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Logical == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State) GetName ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State) GetName() string
GetName retrieves the value of the leaf Name from the OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State struct. Caution should be exercised whilst using this method since 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 (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State) GetOperStatus ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State) GetOperStatus() E_OpenconfigInterfaces_Interfaces_Interface_State_OperStatus
GetOperStatus retrieves the value of the leaf OperStatus from the OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State struct. Caution should be exercised whilst using this method since 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 (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State) GetOrCreateCounters ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State) GetOrCreateCounters() *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters
GetOrCreateCounters retrieves the value of the Counters field or returns the existing field if it already exists.
func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State) IsYANGGoStruct ¶
func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State) Validate ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State) ΛEnumTypeMap ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State) Λ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.
type OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters ¶
type OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` CarrierTransitions *uint64 `path:"carrier-transitions" module:"openconfig-interfaces"` ΛCarrierTransitions []ygot.Annotation `path:"@carrier-transitions" ygotAnnotation:"true"` InBroadcastPkts *uint64 `path:"in-broadcast-pkts" module:"openconfig-interfaces"` ΛInBroadcastPkts []ygot.Annotation `path:"@in-broadcast-pkts" ygotAnnotation:"true"` InDiscards *uint64 `path:"in-discards" module:"openconfig-interfaces"` ΛInDiscards []ygot.Annotation `path:"@in-discards" ygotAnnotation:"true"` InErrors *uint64 `path:"in-errors" module:"openconfig-interfaces"` ΛInErrors []ygot.Annotation `path:"@in-errors" ygotAnnotation:"true"` InFcsErrors *uint64 `path:"in-fcs-errors" module:"openconfig-interfaces"` ΛInFcsErrors []ygot.Annotation `path:"@in-fcs-errors" ygotAnnotation:"true"` InMulticastPkts *uint64 `path:"in-multicast-pkts" module:"openconfig-interfaces"` ΛInMulticastPkts []ygot.Annotation `path:"@in-multicast-pkts" ygotAnnotation:"true"` InOctets *uint64 `path:"in-octets" module:"openconfig-interfaces"` ΛInOctets []ygot.Annotation `path:"@in-octets" ygotAnnotation:"true"` InPkts *uint64 `path:"in-pkts" module:"openconfig-interfaces"` ΛInPkts []ygot.Annotation `path:"@in-pkts" ygotAnnotation:"true"` InUnicastPkts *uint64 `path:"in-unicast-pkts" module:"openconfig-interfaces"` ΛInUnicastPkts []ygot.Annotation `path:"@in-unicast-pkts" ygotAnnotation:"true"` InUnknownProtos *uint64 `path:"in-unknown-protos" module:"openconfig-interfaces"` ΛInUnknownProtos []ygot.Annotation `path:"@in-unknown-protos" ygotAnnotation:"true"` LastClear *uint64 `path:"last-clear" module:"openconfig-interfaces"` ΛLastClear []ygot.Annotation `path:"@last-clear" ygotAnnotation:"true"` OutBroadcastPkts *uint64 `path:"out-broadcast-pkts" module:"openconfig-interfaces"` ΛOutBroadcastPkts []ygot.Annotation `path:"@out-broadcast-pkts" ygotAnnotation:"true"` OutDiscards *uint64 `path:"out-discards" module:"openconfig-interfaces"` ΛOutDiscards []ygot.Annotation `path:"@out-discards" ygotAnnotation:"true"` OutErrors *uint64 `path:"out-errors" module:"openconfig-interfaces"` ΛOutErrors []ygot.Annotation `path:"@out-errors" ygotAnnotation:"true"` OutMulticastPkts *uint64 `path:"out-multicast-pkts" module:"openconfig-interfaces"` ΛOutMulticastPkts []ygot.Annotation `path:"@out-multicast-pkts" ygotAnnotation:"true"` OutOctets *uint64 `path:"out-octets" module:"openconfig-interfaces"` ΛOutOctets []ygot.Annotation `path:"@out-octets" ygotAnnotation:"true"` OutPkts *uint64 `path:"out-pkts" module:"openconfig-interfaces"` ΛOutPkts []ygot.Annotation `path:"@out-pkts" ygotAnnotation:"true"` OutUnicastPkts *uint64 `path:"out-unicast-pkts" module:"openconfig-interfaces"` ΛOutUnicastPkts []ygot.Annotation `path:"@out-unicast-pkts" ygotAnnotation:"true"` }
OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters represents the /openconfig-interfaces/interfaces/interface/subinterfaces/subinterface/state/counters YANG schema element.
func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetCarrierTransitions ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetCarrierTransitions() uint64
GetCarrierTransitions retrieves the value of the leaf CarrierTransitions from the OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if CarrierTransitions is set, it can safely use t.GetCarrierTransitions() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.CarrierTransitions == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetInBroadcastPkts ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetInBroadcastPkts() uint64
GetInBroadcastPkts retrieves the value of the leaf InBroadcastPkts from the OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InBroadcastPkts is set, it can safely use t.GetInBroadcastPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InBroadcastPkts == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetInDiscards ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetInDiscards() uint64
GetInDiscards retrieves the value of the leaf InDiscards from the OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InDiscards is set, it can safely use t.GetInDiscards() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InDiscards == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetInErrors ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetInErrors() uint64
GetInErrors retrieves the value of the leaf InErrors from the OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InErrors is set, it can safely use t.GetInErrors() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InErrors == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetInFcsErrors ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetInFcsErrors() uint64
GetInFcsErrors retrieves the value of the leaf InFcsErrors from the OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InFcsErrors is set, it can safely use t.GetInFcsErrors() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InFcsErrors == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetInMulticastPkts ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetInMulticastPkts() uint64
GetInMulticastPkts retrieves the value of the leaf InMulticastPkts from the OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InMulticastPkts is set, it can safely use t.GetInMulticastPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InMulticastPkts == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetInOctets ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetInOctets() uint64
GetInOctets retrieves the value of the leaf InOctets from the OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters struct. Caution should be exercised whilst using this method since 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 (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetInPkts ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetInPkts() uint64
GetInPkts retrieves the value of the leaf InPkts from the OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters struct. Caution should be exercised whilst using this method since 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 (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetInUnicastPkts ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetInUnicastPkts() uint64
GetInUnicastPkts retrieves the value of the leaf InUnicastPkts from the OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InUnicastPkts is set, it can safely use t.GetInUnicastPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InUnicastPkts == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetInUnknownProtos ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetInUnknownProtos() uint64
GetInUnknownProtos retrieves the value of the leaf InUnknownProtos from the OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InUnknownProtos is set, it can safely use t.GetInUnknownProtos() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InUnknownProtos == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetLastClear ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetLastClear() uint64
GetLastClear retrieves the value of the leaf LastClear from the OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LastClear is set, it can safely use t.GetLastClear() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LastClear == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetOutBroadcastPkts ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetOutBroadcastPkts() uint64
GetOutBroadcastPkts retrieves the value of the leaf OutBroadcastPkts from the OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutBroadcastPkts is set, it can safely use t.GetOutBroadcastPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutBroadcastPkts == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetOutDiscards ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetOutDiscards() uint64
GetOutDiscards retrieves the value of the leaf OutDiscards from the OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutDiscards is set, it can safely use t.GetOutDiscards() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutDiscards == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetOutErrors ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetOutErrors() uint64
GetOutErrors retrieves the value of the leaf OutErrors from the OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutErrors is set, it can safely use t.GetOutErrors() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutErrors == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetOutMulticastPkts ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetOutMulticastPkts() uint64
GetOutMulticastPkts retrieves the value of the leaf OutMulticastPkts from the OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutMulticastPkts is set, it can safely use t.GetOutMulticastPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutMulticastPkts == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetOutOctets ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetOutOctets() uint64
GetOutOctets retrieves the value of the leaf OutOctets from the OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters struct. Caution should be exercised whilst using this method since 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 (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetOutPkts ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetOutPkts() uint64
GetOutPkts retrieves the value of the leaf OutPkts from the OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters struct. Caution should be exercised whilst using this method since 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 (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetOutUnicastPkts ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetOutUnicastPkts() uint64
GetOutUnicastPkts retrieves the value of the leaf OutUnicastPkts from the OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutUnicastPkts is set, it can safely use t.GetOutUnicastPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutUnicastPkts == nil' before retrieving the leaf's value.
func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) IsYANGGoStruct ¶
func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) Validate ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) ΛEnumTypeMap ¶
func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_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.
type OpenconfigLldp_Lldp ¶
type OpenconfigLldp_Lldp struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Config *OpenconfigLldp_Lldp_Config `path:"config" module:"openconfig-lldp"` ΛConfig []ygot.Annotation `path:"@config" ygotAnnotation:"true"` Interfaces *OpenconfigLldp_Lldp_Interfaces `path:"interfaces" module:"openconfig-lldp"` ΛInterfaces []ygot.Annotation `path:"@interfaces" ygotAnnotation:"true"` State *OpenconfigLldp_Lldp_State `path:"state" module:"openconfig-lldp"` ΛState []ygot.Annotation `path:"@state" ygotAnnotation:"true"` }
OpenconfigLldp_Lldp represents the /openconfig-lldp/lldp YANG schema element.
func (*OpenconfigLldp_Lldp) GetConfig ¶
func (t *OpenconfigLldp_Lldp) GetConfig() *OpenconfigLldp_Lldp_Config
GetConfig returns the value of the Config struct pointer from OpenconfigLldp_Lldp. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigLldp_Lldp) GetInterfaces ¶
func (t *OpenconfigLldp_Lldp) GetInterfaces() *OpenconfigLldp_Lldp_Interfaces
GetInterfaces returns the value of the Interfaces struct pointer from OpenconfigLldp_Lldp. If the receiver or the field Interfaces is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigLldp_Lldp) GetOrCreateConfig ¶
func (t *OpenconfigLldp_Lldp) GetOrCreateConfig() *OpenconfigLldp_Lldp_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigLldp_Lldp) GetOrCreateInterfaces ¶
func (t *OpenconfigLldp_Lldp) GetOrCreateInterfaces() *OpenconfigLldp_Lldp_Interfaces
GetOrCreateInterfaces retrieves the value of the Interfaces field or returns the existing field if it already exists.
func (*OpenconfigLldp_Lldp) GetOrCreateState ¶
func (t *OpenconfigLldp_Lldp) GetOrCreateState() *OpenconfigLldp_Lldp_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigLldp_Lldp) GetState ¶
func (t *OpenconfigLldp_Lldp) GetState() *OpenconfigLldp_Lldp_State
GetState returns the value of the State struct pointer from OpenconfigLldp_Lldp. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigLldp_Lldp) IsYANGGoStruct ¶
func (*OpenconfigLldp_Lldp) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigLldp_Lldp implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigLldp_Lldp) Validate ¶
func (t *OpenconfigLldp_Lldp) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigLldp_Lldp) ΛEnumTypeMap ¶
func (t *OpenconfigLldp_Lldp) Λ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.
type OpenconfigLldp_Lldp_Config ¶
type OpenconfigLldp_Lldp_Config struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` ChassisId *string `path:"chassis-id" module:"openconfig-lldp"` ΛChassisId []ygot.Annotation `path:"@chassis-id" ygotAnnotation:"true"` ChassisIdType E_OpenconfigLldp_ChassisIdType `path:"chassis-id-type" module:"openconfig-lldp"` ΛChassisIdType []ygot.Annotation `path:"@chassis-id-type" ygotAnnotation:"true"` Enabled *bool `path:"enabled" module:"openconfig-lldp"` ΛEnabled []ygot.Annotation `path:"@enabled" ygotAnnotation:"true"` HelloTimer *uint64 `path:"hello-timer" module:"openconfig-lldp"` ΛHelloTimer []ygot.Annotation `path:"@hello-timer" ygotAnnotation:"true"` SuppressTlvAdvertisement []E_OpenconfigLldpTypes_LLDP_TLV `path:"suppress-tlv-advertisement" module:"openconfig-lldp"` ΛSuppressTlvAdvertisement []ygot.Annotation `path:"@suppress-tlv-advertisement" ygotAnnotation:"true"` SystemDescription *string `path:"system-description" module:"openconfig-lldp"` ΛSystemDescription []ygot.Annotation `path:"@system-description" ygotAnnotation:"true"` SystemName *string `path:"system-name" module:"openconfig-lldp"` ΛSystemName []ygot.Annotation `path:"@system-name" ygotAnnotation:"true"` }
OpenconfigLldp_Lldp_Config represents the /openconfig-lldp/lldp/config YANG schema element.
func (*OpenconfigLldp_Lldp_Config) GetChassisId ¶
func (t *OpenconfigLldp_Lldp_Config) GetChassisId() string
GetChassisId retrieves the value of the leaf ChassisId from the OpenconfigLldp_Lldp_Config struct. Caution should be exercised whilst using this method since 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 (*OpenconfigLldp_Lldp_Config) GetChassisIdType ¶
func (t *OpenconfigLldp_Lldp_Config) GetChassisIdType() E_OpenconfigLldp_ChassisIdType
GetChassisIdType retrieves the value of the leaf ChassisIdType from the OpenconfigLldp_Lldp_Config struct. Caution should be exercised whilst using this method since 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 (*OpenconfigLldp_Lldp_Config) GetEnabled ¶
func (t *OpenconfigLldp_Lldp_Config) GetEnabled() bool
GetEnabled retrieves the value of the leaf Enabled from the OpenconfigLldp_Lldp_Config struct. Caution should be exercised whilst using this method since 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 (*OpenconfigLldp_Lldp_Config) GetHelloTimer ¶
func (t *OpenconfigLldp_Lldp_Config) GetHelloTimer() uint64
GetHelloTimer retrieves the value of the leaf HelloTimer from the OpenconfigLldp_Lldp_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if HelloTimer is set, it can safely use t.GetHelloTimer() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.HelloTimer == nil' before retrieving the leaf's value.
func (*OpenconfigLldp_Lldp_Config) GetSuppressTlvAdvertisement ¶
func (t *OpenconfigLldp_Lldp_Config) GetSuppressTlvAdvertisement() []E_OpenconfigLldpTypes_LLDP_TLV
GetSuppressTlvAdvertisement retrieves the value of the leaf SuppressTlvAdvertisement from the OpenconfigLldp_Lldp_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SuppressTlvAdvertisement is set, it can safely use t.GetSuppressTlvAdvertisement() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SuppressTlvAdvertisement == nil' before retrieving the leaf's value.
func (*OpenconfigLldp_Lldp_Config) GetSystemDescription ¶
func (t *OpenconfigLldp_Lldp_Config) GetSystemDescription() string
GetSystemDescription retrieves the value of the leaf SystemDescription from the OpenconfigLldp_Lldp_Config struct. Caution should be exercised whilst using this method since 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 (*OpenconfigLldp_Lldp_Config) GetSystemName ¶
func (t *OpenconfigLldp_Lldp_Config) GetSystemName() string
GetSystemName retrieves the value of the leaf SystemName from the OpenconfigLldp_Lldp_Config struct. Caution should be exercised whilst using this method since 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 (*OpenconfigLldp_Lldp_Config) IsYANGGoStruct ¶
func (*OpenconfigLldp_Lldp_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigLldp_Lldp_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigLldp_Lldp_Config) Validate ¶
func (t *OpenconfigLldp_Lldp_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigLldp_Lldp_Config) ΛEnumTypeMap ¶
func (t *OpenconfigLldp_Lldp_Config) Λ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.
type OpenconfigLldp_Lldp_Interfaces ¶
type OpenconfigLldp_Lldp_Interfaces struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Interface map[string]*OpenconfigLldp_Lldp_Interfaces_Interface `path:"interface" module:"openconfig-lldp"` ΛInterface []ygot.Annotation `path:"@interface" ygotAnnotation:"true"` }
OpenconfigLldp_Lldp_Interfaces represents the /openconfig-lldp/lldp/interfaces YANG schema element.
func (*OpenconfigLldp_Lldp_Interfaces) AppendInterface ¶
func (t *OpenconfigLldp_Lldp_Interfaces) AppendInterface(v *OpenconfigLldp_Lldp_Interfaces_Interface) error
AppendInterface appends the supplied OpenconfigLldp_Lldp_Interfaces_Interface struct to the list Interface of OpenconfigLldp_Lldp_Interfaces. If the key value(s) specified in the supplied OpenconfigLldp_Lldp_Interfaces_Interface already exist in the list, an error is returned.
func (*OpenconfigLldp_Lldp_Interfaces) GetInterface ¶
func (t *OpenconfigLldp_Lldp_Interfaces) GetInterface(Name string) *OpenconfigLldp_Lldp_Interfaces_Interface
GetInterface retrieves the value with the specified key from the Interface map field of OpenconfigLldp_Lldp_Interfaces. 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 (*OpenconfigLldp_Lldp_Interfaces) GetOrCreateInterface ¶
func (t *OpenconfigLldp_Lldp_Interfaces) GetOrCreateInterface(Name string) *OpenconfigLldp_Lldp_Interfaces_Interface
GetOrCreateInterface retrieves the value with the specified keys from the receiver OpenconfigLldp_Lldp_Interfaces. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*OpenconfigLldp_Lldp_Interfaces) IsYANGGoStruct ¶
func (*OpenconfigLldp_Lldp_Interfaces) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigLldp_Lldp_Interfaces implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigLldp_Lldp_Interfaces) NewInterface ¶
func (t *OpenconfigLldp_Lldp_Interfaces) NewInterface(Name string) (*OpenconfigLldp_Lldp_Interfaces_Interface, error)
NewInterface creates a new entry in the Interface list of the OpenconfigLldp_Lldp_Interfaces struct. The keys of the list are populated from the input arguments.
func (*OpenconfigLldp_Lldp_Interfaces) RenameInterface ¶
func (t *OpenconfigLldp_Lldp_Interfaces) RenameInterface(oldK, newK string) error
RenameInterface renames an entry in the list Interface within the OpenconfigLldp_Lldp_Interfaces struct. The entry with key oldK is renamed to newK updating the key within the value.
func (*OpenconfigLldp_Lldp_Interfaces) Validate ¶
func (t *OpenconfigLldp_Lldp_Interfaces) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigLldp_Lldp_Interfaces) ΛEnumTypeMap ¶
func (t *OpenconfigLldp_Lldp_Interfaces) Λ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.
type OpenconfigLldp_Lldp_Interfaces_Interface ¶
type OpenconfigLldp_Lldp_Interfaces_Interface struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Config *OpenconfigLldp_Lldp_Interfaces_Interface_Config `path:"config" module:"openconfig-lldp"` ΛConfig []ygot.Annotation `path:"@config" ygotAnnotation:"true"` Name *string `path:"name" module:"openconfig-lldp"` ΛName []ygot.Annotation `path:"@name" ygotAnnotation:"true"` Neighbors *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors `path:"neighbors" module:"openconfig-lldp"` ΛNeighbors []ygot.Annotation `path:"@neighbors" ygotAnnotation:"true"` State *OpenconfigLldp_Lldp_Interfaces_Interface_State `path:"state" module:"openconfig-lldp"` ΛState []ygot.Annotation `path:"@state" ygotAnnotation:"true"` }
OpenconfigLldp_Lldp_Interfaces_Interface represents the /openconfig-lldp/lldp/interfaces/interface YANG schema element.
func (*OpenconfigLldp_Lldp_Interfaces_Interface) GetConfig ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface) GetConfig() *OpenconfigLldp_Lldp_Interfaces_Interface_Config
GetConfig returns the value of the Config struct pointer from OpenconfigLldp_Lldp_Interfaces_Interface. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigLldp_Lldp_Interfaces_Interface) GetName ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface) GetName() string
GetName retrieves the value of the leaf Name from the OpenconfigLldp_Lldp_Interfaces_Interface struct. Caution should be exercised whilst using this method since 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 (*OpenconfigLldp_Lldp_Interfaces_Interface) GetNeighbors ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface) GetNeighbors() *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors
GetNeighbors returns the value of the Neighbors struct pointer from OpenconfigLldp_Lldp_Interfaces_Interface. If the receiver or the field Neighbors is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigLldp_Lldp_Interfaces_Interface) GetOrCreateConfig ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface) GetOrCreateConfig() *OpenconfigLldp_Lldp_Interfaces_Interface_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigLldp_Lldp_Interfaces_Interface) GetOrCreateNeighbors ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface) GetOrCreateNeighbors() *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors
GetOrCreateNeighbors retrieves the value of the Neighbors field or returns the existing field if it already exists.
func (*OpenconfigLldp_Lldp_Interfaces_Interface) GetOrCreateState ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface) GetOrCreateState() *OpenconfigLldp_Lldp_Interfaces_Interface_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigLldp_Lldp_Interfaces_Interface) GetState ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface) GetState() *OpenconfigLldp_Lldp_Interfaces_Interface_State
GetState returns the value of the State struct pointer from OpenconfigLldp_Lldp_Interfaces_Interface. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigLldp_Lldp_Interfaces_Interface) IsYANGGoStruct ¶
func (*OpenconfigLldp_Lldp_Interfaces_Interface) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigLldp_Lldp_Interfaces_Interface implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigLldp_Lldp_Interfaces_Interface) Validate ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigLldp_Lldp_Interfaces_Interface) ΛEnumTypeMap ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
func (*OpenconfigLldp_Lldp_Interfaces_Interface) ΛListKeyMap ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the OpenconfigLldp_Lldp_Interfaces_Interface struct, which is a YANG list entry.
type OpenconfigLldp_Lldp_Interfaces_Interface_Config ¶
type OpenconfigLldp_Lldp_Interfaces_Interface_Config struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Enabled *bool `path:"enabled" module:"openconfig-lldp"` ΛEnabled []ygot.Annotation `path:"@enabled" ygotAnnotation:"true"` Name *string `path:"name" module:"openconfig-lldp"` ΛName []ygot.Annotation `path:"@name" ygotAnnotation:"true"` Snooping *bool `path:"snooping" module:"openconfig-terminal-device"` ΛSnooping []ygot.Annotation `path:"@snooping" ygotAnnotation:"true"` }
OpenconfigLldp_Lldp_Interfaces_Interface_Config represents the /openconfig-lldp/lldp/interfaces/interface/config YANG schema element.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Config) GetEnabled ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Config) GetEnabled() bool
GetEnabled retrieves the value of the leaf Enabled from the OpenconfigLldp_Lldp_Interfaces_Interface_Config struct. Caution should be exercised whilst using this method since 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 (*OpenconfigLldp_Lldp_Interfaces_Interface_Config) GetName ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Config) GetName() string
GetName retrieves the value of the leaf Name from the OpenconfigLldp_Lldp_Interfaces_Interface_Config struct. Caution should be exercised whilst using this method since 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 (*OpenconfigLldp_Lldp_Interfaces_Interface_Config) GetSnooping ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Config) GetSnooping() bool
GetSnooping retrieves the value of the leaf Snooping from the OpenconfigLldp_Lldp_Interfaces_Interface_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Snooping is set, it can safely use t.GetSnooping() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Snooping == nil' before retrieving the leaf's value.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Config) IsYANGGoStruct ¶
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigLldp_Lldp_Interfaces_Interface_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Config) Validate ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Config) ΛEnumTypeMap ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Config) Λ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.
type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors ¶
type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Neighbor map[string]*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor `path:"neighbor" module:"openconfig-lldp"` ΛNeighbor []ygot.Annotation `path:"@neighbor" ygotAnnotation:"true"` }
OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors represents the /openconfig-lldp/lldp/interfaces/interface/neighbors YANG schema element.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors) AppendNeighbor ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors) AppendNeighbor(v *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor) error
AppendNeighbor appends the supplied OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor struct to the list Neighbor of OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors. If the key value(s) specified in the supplied OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor already exist in the list, an error is returned.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors) GetNeighbor ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors) GetNeighbor(Id string) *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor
GetNeighbor retrieves the value with the specified key from the Neighbor map field of OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors. 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 (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors) GetOrCreateNeighbor ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors) GetOrCreateNeighbor(Id string) *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor
GetOrCreateNeighbor retrieves the value with the specified keys from the receiver OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors) IsYANGGoStruct ¶
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors) NewNeighbor ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors) NewNeighbor(Id string) (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor, error)
NewNeighbor creates a new entry in the Neighbor list of the OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors struct. The keys of the list are populated from the input arguments.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors) RenameNeighbor ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors) RenameNeighbor(oldK, newK string) error
RenameNeighbor renames an entry in the list Neighbor within the OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors struct. The entry with key oldK is renamed to newK updating the key within the value.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors) Validate ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors) ΛEnumTypeMap ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors) Λ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.
type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor ¶
type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Capabilities *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities `path:"capabilities" module:"openconfig-lldp"` ΛCapabilities []ygot.Annotation `path:"@capabilities" ygotAnnotation:"true"` Config *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Config `path:"config" module:"openconfig-lldp"` ΛConfig []ygot.Annotation `path:"@config" ygotAnnotation:"true"` CustomTlvs *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs `path:"custom-tlvs" module:"openconfig-lldp"` ΛCustomTlvs []ygot.Annotation `path:"@custom-tlvs" ygotAnnotation:"true"` Id *string `path:"id" module:"openconfig-lldp"` ΛId []ygot.Annotation `path:"@id" ygotAnnotation:"true"` State *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State `path:"state" module:"openconfig-lldp"` ΛState []ygot.Annotation `path:"@state" ygotAnnotation:"true"` }
OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor represents the /openconfig-lldp/lldp/interfaces/interface/neighbors/neighbor YANG schema element.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor) GetCapabilities ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor) GetCapabilities() *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities
GetCapabilities returns the value of the Capabilities struct pointer from OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor. If the receiver or the field Capabilities is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor) GetConfig ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor) GetConfig() *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Config
GetConfig returns the value of the Config struct pointer from OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor) GetCustomTlvs ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor) GetCustomTlvs() *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs
GetCustomTlvs returns the value of the CustomTlvs struct pointer from OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor. If the receiver or the field CustomTlvs is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor) GetId ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor) GetId() string
GetId retrieves the value of the leaf Id from the OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Id is set, it can safely use t.GetId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Id == nil' before retrieving the leaf's value.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor) GetOrCreateCapabilities ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor) GetOrCreateCapabilities() *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities
GetOrCreateCapabilities retrieves the value of the Capabilities field or returns the existing field if it already exists.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor) GetOrCreateConfig ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor) GetOrCreateConfig() *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor) GetOrCreateCustomTlvs ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor) GetOrCreateCustomTlvs() *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs
GetOrCreateCustomTlvs retrieves the value of the CustomTlvs field or returns the existing field if it already exists.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor) GetOrCreateState ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor) GetOrCreateState() *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor) GetState ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor) GetState() *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State
GetState returns the value of the State struct pointer from OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor) IsYANGGoStruct ¶
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor) Validate ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor) ΛEnumTypeMap ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_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 (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor) ΛListKeyMap ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor struct, which is a YANG list entry.
type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities ¶
type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Capability map[E_OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY]*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability `path:"capability" module:"openconfig-lldp"` ΛCapability []ygot.Annotation `path:"@capability" ygotAnnotation:"true"` }
OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities represents the /openconfig-lldp/lldp/interfaces/interface/neighbors/neighbor/capabilities YANG schema element.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities) AppendCapability ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities) AppendCapability(v *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability) error
AppendCapability appends the supplied OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability struct to the list Capability of OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities. If the key value(s) specified in the supplied OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability already exist in the list, an error is returned.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities) GetCapability ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities) GetCapability(Name E_OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY) *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability
GetCapability retrieves the value with the specified key from the Capability map field of OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities. 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 (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities) GetOrCreateCapability ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities) GetOrCreateCapability(Name E_OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY) *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability
GetOrCreateCapability retrieves the value with the specified keys from the receiver OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities) IsYANGGoStruct ¶
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities) NewCapability ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities) NewCapability(Name E_OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY) (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability, error)
NewCapability creates a new entry in the Capability list of the OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities struct. The keys of the list are populated from the input arguments.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities) RenameCapability ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities) RenameCapability(oldK, newK E_OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY) error
RenameCapability renames an entry in the list Capability within the OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities struct. The entry with key oldK is renamed to newK updating the key within the value.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities) Validate ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities) ΛEnumTypeMap ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_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.
type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability ¶
type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Config *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability_Config `path:"config" module:"openconfig-lldp"` ΛConfig []ygot.Annotation `path:"@config" ygotAnnotation:"true"` Name E_OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY `path:"name" module:"openconfig-lldp"` ΛName []ygot.Annotation `path:"@name" ygotAnnotation:"true"` State *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability_State `path:"state" module:"openconfig-lldp"` ΛState []ygot.Annotation `path:"@state" ygotAnnotation:"true"` }
OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability represents the /openconfig-lldp/lldp/interfaces/interface/neighbors/neighbor/capabilities/capability YANG schema element.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability) GetConfig ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability) GetConfig() *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability_Config
GetConfig returns the value of the Config struct pointer from OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability) GetName ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability) GetName() E_OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY
GetName retrieves the value of the leaf Name from the OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability struct. Caution should be exercised whilst using this method since 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 (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability) GetOrCreateConfig ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability) GetOrCreateConfig() *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability) GetOrCreateState ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability) GetOrCreateState() *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability) GetState ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability) GetState() *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability_State
GetState returns the value of the State struct pointer from OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability) IsYANGGoStruct ¶
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability) Validate ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability) ΛEnumTypeMap ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability) Λ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 (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability) ΛListKeyMap ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability struct, which is a YANG list entry.
type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability_Config ¶
type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability_Config struct {
ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
}
OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability_Config represents the /openconfig-lldp/lldp/interfaces/interface/neighbors/neighbor/capabilities/capability/config YANG schema element.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability_Config) IsYANGGoStruct ¶
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability_Config) Validate ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability_Config) ΛEnumTypeMap ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability_Config) Λ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.
type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability_State ¶
type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability_State struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Enabled *bool `path:"enabled" module:"openconfig-lldp"` ΛEnabled []ygot.Annotation `path:"@enabled" ygotAnnotation:"true"` Name E_OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY `path:"name" module:"openconfig-lldp"` ΛName []ygot.Annotation `path:"@name" ygotAnnotation:"true"` }
OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability_State represents the /openconfig-lldp/lldp/interfaces/interface/neighbors/neighbor/capabilities/capability/state YANG schema element.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability_State) GetEnabled ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability_State) GetEnabled() bool
GetEnabled retrieves the value of the leaf Enabled from the OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability_State struct. Caution should be exercised whilst using this method since 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 (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability_State) GetName ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability_State) GetName() E_OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY
GetName retrieves the value of the leaf Name from the OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability_State struct. Caution should be exercised whilst using this method since 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 (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability_State) IsYANGGoStruct ¶
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability_State) Validate ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability_State) ΛEnumTypeMap ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability_State) Λ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.
type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Config ¶
type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Config struct {
ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
}
OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Config represents the /openconfig-lldp/lldp/interfaces/interface/neighbors/neighbor/config YANG schema element.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Config) IsYANGGoStruct ¶
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Config) Validate ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Config) ΛEnumTypeMap ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Config) Λ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.
type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs ¶
type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Tlv map[OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_Key]*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv `path:"tlv" module:"openconfig-lldp"` ΛTlv []ygot.Annotation `path:"@tlv" ygotAnnotation:"true"` }
OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs represents the /openconfig-lldp/lldp/interfaces/interface/neighbors/neighbor/custom-tlvs YANG schema element.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs) AppendTlv ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs) AppendTlv(v *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv) error
AppendTlv appends the supplied OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv struct to the list Tlv of OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs. If the key value(s) specified in the supplied OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv already exist in the list, an error is returned.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs) GetOrCreateTlv ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs) GetOrCreateTlv(Type int32, Oui string, OuiSubtype string) *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv
GetOrCreateTlv retrieves the value with the specified keys from the receiver OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs) GetTlv ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs) GetTlv(Type int32, Oui string, OuiSubtype string) *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv
GetTlv retrieves the value with the specified key from the Tlv map field of OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs. 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 (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs) IsYANGGoStruct ¶
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs) NewTlv ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs) NewTlv(Type int32, Oui string, OuiSubtype string) (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv, error)
NewTlv creates a new entry in the Tlv list of the OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs struct. The keys of the list are populated from the input arguments.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs) RenameTlv ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs) RenameTlv(oldK, newK OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_Key) error
RenameTlv renames an entry in the list Tlv within the OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs struct. The entry with key oldK is renamed to newK updating the key within the value.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs) Validate ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs) ΛEnumTypeMap ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs) Λ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.
type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv ¶
type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Config *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_Config `path:"config" module:"openconfig-lldp"` ΛConfig []ygot.Annotation `path:"@config" ygotAnnotation:"true"` Oui *string `path:"oui" module:"openconfig-lldp"` ΛOui []ygot.Annotation `path:"@oui" ygotAnnotation:"true"` OuiSubtype *string `path:"oui-subtype" module:"openconfig-lldp"` ΛOuiSubtype []ygot.Annotation `path:"@oui-subtype" ygotAnnotation:"true"` State *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_State `path:"state" module:"openconfig-lldp"` ΛState []ygot.Annotation `path:"@state" ygotAnnotation:"true"` Type *int32 `path:"type" module:"openconfig-lldp"` ΛType []ygot.Annotation `path:"@type" ygotAnnotation:"true"` }
OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv represents the /openconfig-lldp/lldp/interfaces/interface/neighbors/neighbor/custom-tlvs/tlv YANG schema element.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv) GetConfig ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv) GetConfig() *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_Config
GetConfig returns the value of the Config struct pointer from OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv) GetOrCreateConfig ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv) GetOrCreateConfig() *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv) GetOrCreateState ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv) GetOrCreateState() *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv) GetOui ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv) GetOui() string
GetOui retrieves the value of the leaf Oui from the OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv struct. Caution should be exercised whilst using this method since 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 (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv) GetOuiSubtype ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv) GetOuiSubtype() string
GetOuiSubtype retrieves the value of the leaf OuiSubtype from the OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv struct. Caution should be exercised whilst using this method since 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 (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv) GetState ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv) GetState() *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_State
GetState returns the value of the State struct pointer from OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv) GetType ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv) GetType() int32
GetType retrieves the value of the leaf Type from the OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv struct. Caution should be exercised whilst using this method since 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 (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv) IsYANGGoStruct ¶
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv) Validate ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv) ΛEnumTypeMap ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv) Λ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 (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv) ΛListKeyMap ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv struct, which is a YANG list entry.
type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_Config ¶
type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_Config struct {
ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
}
OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_Config represents the /openconfig-lldp/lldp/interfaces/interface/neighbors/neighbor/custom-tlvs/tlv/config YANG schema element.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_Config) IsYANGGoStruct ¶
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_Config) Validate ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_Config) ΛEnumTypeMap ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_Config) Λ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.
type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_Key ¶
type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_Key struct { Type int32 `path:"type"` Oui string `path:"oui"` OuiSubtype string `path:"oui-subtype"` }
OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_Key represents the key for list Tlv of element /openconfig-lldp/lldp/interfaces/interface/neighbors/neighbor/custom-tlvs.
type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_State ¶
type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_State struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Oui *string `path:"oui" module:"openconfig-lldp"` ΛOui []ygot.Annotation `path:"@oui" ygotAnnotation:"true"` OuiSubtype *string `path:"oui-subtype" module:"openconfig-lldp"` ΛOuiSubtype []ygot.Annotation `path:"@oui-subtype" ygotAnnotation:"true"` Type *int32 `path:"type" module:"openconfig-lldp"` ΛType []ygot.Annotation `path:"@type" ygotAnnotation:"true"` Value Binary `path:"value" module:"openconfig-lldp"` ΛValue []ygot.Annotation `path:"@value" ygotAnnotation:"true"` }
OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_State represents the /openconfig-lldp/lldp/interfaces/interface/neighbors/neighbor/custom-tlvs/tlv/state YANG schema element.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_State) GetOui ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_State) GetOui() string
GetOui retrieves the value of the leaf Oui from the OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_State struct. Caution should be exercised whilst using this method since 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 (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_State) GetOuiSubtype ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_State) GetOuiSubtype() string
GetOuiSubtype retrieves the value of the leaf OuiSubtype from the OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_State struct. Caution should be exercised whilst using this method since 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 (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_State) GetType ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_State) GetType() int32
GetType retrieves the value of the leaf Type from the OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_State struct. Caution should be exercised whilst using this method since 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 (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_State) GetValue ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_State) GetValue() Binary
GetValue retrieves the value of the leaf Value from the OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Value is set, it can safely use t.GetValue() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Value == nil' before retrieving the leaf's value.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_State) IsYANGGoStruct ¶
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_State) Validate ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_State) ΛEnumTypeMap ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_State) Λ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.
type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State ¶
type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Age *uint64 `path:"age" module:"openconfig-lldp"` ΛAge []ygot.Annotation `path:"@age" ygotAnnotation:"true"` ChassisId *string `path:"chassis-id" module:"openconfig-lldp"` ΛChassisId []ygot.Annotation `path:"@chassis-id" ygotAnnotation:"true"` ChassisIdType E_OpenconfigLldp_ChassisIdType `path:"chassis-id-type" module:"openconfig-lldp"` ΛChassisIdType []ygot.Annotation `path:"@chassis-id-type" ygotAnnotation:"true"` Id *string `path:"id" module:"openconfig-lldp"` ΛId []ygot.Annotation `path:"@id" ygotAnnotation:"true"` LastUpdate *int64 `path:"last-update" module:"openconfig-lldp"` ΛLastUpdate []ygot.Annotation `path:"@last-update" ygotAnnotation:"true"` ManagementAddress *string `path:"management-address" module:"openconfig-lldp"` ΛManagementAddress []ygot.Annotation `path:"@management-address" ygotAnnotation:"true"` ManagementAddressType *string `path:"management-address-type" module:"openconfig-lldp"` ΛManagementAddressType []ygot.Annotation `path:"@management-address-type" ygotAnnotation:"true"` PortDescription *string `path:"port-description" module:"openconfig-lldp"` ΛPortDescription []ygot.Annotation `path:"@port-description" ygotAnnotation:"true"` PortId *string `path:"port-id" module:"openconfig-lldp"` ΛPortId []ygot.Annotation `path:"@port-id" ygotAnnotation:"true"` PortIdType E_OpenconfigLldp_PortIdType `path:"port-id-type" module:"openconfig-lldp"` ΛPortIdType []ygot.Annotation `path:"@port-id-type" ygotAnnotation:"true"` SystemDescription *string `path:"system-description" module:"openconfig-lldp"` ΛSystemDescription []ygot.Annotation `path:"@system-description" ygotAnnotation:"true"` SystemName *string `path:"system-name" module:"openconfig-lldp"` ΛSystemName []ygot.Annotation `path:"@system-name" ygotAnnotation:"true"` Ttl *uint16 `path:"ttl" module:"openconfig-lldp"` ΛTtl []ygot.Annotation `path:"@ttl" ygotAnnotation:"true"` }
OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State represents the /openconfig-lldp/lldp/interfaces/interface/neighbors/neighbor/state YANG schema element.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) GetAge ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) GetAge() uint64
GetAge retrieves the value of the leaf Age from the OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State struct. Caution should be exercised whilst using this method since 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 (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) GetChassisId ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) GetChassisId() string
GetChassisId retrieves the value of the leaf ChassisId from the OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State struct. Caution should be exercised whilst using this method since 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 (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) GetChassisIdType ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) GetChassisIdType() E_OpenconfigLldp_ChassisIdType
GetChassisIdType retrieves the value of the leaf ChassisIdType from the OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State struct. Caution should be exercised whilst using this method since 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 (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) GetId ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) GetId() string
GetId retrieves the value of the leaf Id from the OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Id is set, it can safely use t.GetId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Id == nil' before retrieving the leaf's value.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) GetLastUpdate ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) GetLastUpdate() int64
GetLastUpdate retrieves the value of the leaf LastUpdate from the OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State struct. Caution should be exercised whilst using this method since 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 (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) GetManagementAddress ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) GetManagementAddress() string
GetManagementAddress retrieves the value of the leaf ManagementAddress from the OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State struct. Caution should be exercised whilst using this method since 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 (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) GetManagementAddressType ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) GetManagementAddressType() string
GetManagementAddressType retrieves the value of the leaf ManagementAddressType from the OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State struct. Caution should be exercised whilst using this method since 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 (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) GetPortDescription ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) GetPortDescription() string
GetPortDescription retrieves the value of the leaf PortDescription from the OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State struct. Caution should be exercised whilst using this method since 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 (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) GetPortId ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) GetPortId() string
GetPortId retrieves the value of the leaf PortId from the OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State struct. Caution should be exercised whilst using this method since 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 (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) GetPortIdType ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) GetPortIdType() E_OpenconfigLldp_PortIdType
GetPortIdType retrieves the value of the leaf PortIdType from the OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State struct. Caution should be exercised whilst using this method since 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 (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) GetSystemDescription ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) GetSystemDescription() string
GetSystemDescription retrieves the value of the leaf SystemDescription from the OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State struct. Caution should be exercised whilst using this method since 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 (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) GetSystemName ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) GetSystemName() string
GetSystemName retrieves the value of the leaf SystemName from the OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State struct. Caution should be exercised whilst using this method since 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 (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) GetTtl ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) GetTtl() uint16
GetTtl retrieves the value of the leaf Ttl from the OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State struct. Caution should be exercised whilst using this method since 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 (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) IsYANGGoStruct ¶
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) Validate ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) ΛEnumTypeMap ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) Λ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.
type OpenconfigLldp_Lldp_Interfaces_Interface_State ¶
type OpenconfigLldp_Lldp_Interfaces_Interface_State struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Counters *OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters `path:"counters" module:"openconfig-lldp"` ΛCounters []ygot.Annotation `path:"@counters" ygotAnnotation:"true"` Enabled *bool `path:"enabled" module:"openconfig-lldp"` ΛEnabled []ygot.Annotation `path:"@enabled" ygotAnnotation:"true"` Name *string `path:"name" module:"openconfig-lldp"` ΛName []ygot.Annotation `path:"@name" ygotAnnotation:"true"` }
OpenconfigLldp_Lldp_Interfaces_Interface_State represents the /openconfig-lldp/lldp/interfaces/interface/state YANG schema element.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_State) GetCounters ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_State) GetCounters() *OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters
GetCounters returns the value of the Counters struct pointer from OpenconfigLldp_Lldp_Interfaces_Interface_State. If the receiver or the field Counters is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_State) GetEnabled ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_State) GetEnabled() bool
GetEnabled retrieves the value of the leaf Enabled from the OpenconfigLldp_Lldp_Interfaces_Interface_State struct. Caution should be exercised whilst using this method since 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 (*OpenconfigLldp_Lldp_Interfaces_Interface_State) GetName ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_State) GetName() string
GetName retrieves the value of the leaf Name from the OpenconfigLldp_Lldp_Interfaces_Interface_State struct. Caution should be exercised whilst using this method since 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 (*OpenconfigLldp_Lldp_Interfaces_Interface_State) GetOrCreateCounters ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_State) GetOrCreateCounters() *OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters
GetOrCreateCounters retrieves the value of the Counters field or returns the existing field if it already exists.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_State) IsYANGGoStruct ¶
func (*OpenconfigLldp_Lldp_Interfaces_Interface_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigLldp_Lldp_Interfaces_Interface_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_State) Validate ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_State) ΛEnumTypeMap ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_State) Λ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.
type OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters ¶
type OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` FrameDiscard *uint64 `path:"frame-discard" module:"openconfig-lldp"` ΛFrameDiscard []ygot.Annotation `path:"@frame-discard" ygotAnnotation:"true"` FrameErrorIn *uint64 `path:"frame-error-in" module:"openconfig-lldp"` ΛFrameErrorIn []ygot.Annotation `path:"@frame-error-in" ygotAnnotation:"true"` FrameErrorOut *uint64 `path:"frame-error-out" module:"openconfig-lldp"` ΛFrameErrorOut []ygot.Annotation `path:"@frame-error-out" ygotAnnotation:"true"` FrameIn *uint64 `path:"frame-in" module:"openconfig-lldp"` ΛFrameIn []ygot.Annotation `path:"@frame-in" ygotAnnotation:"true"` FrameOut *uint64 `path:"frame-out" module:"openconfig-lldp"` ΛFrameOut []ygot.Annotation `path:"@frame-out" ygotAnnotation:"true"` LastClear *string `path:"last-clear" module:"openconfig-lldp"` ΛLastClear []ygot.Annotation `path:"@last-clear" ygotAnnotation:"true"` TlvDiscard *uint64 `path:"tlv-discard" module:"openconfig-lldp"` ΛTlvDiscard []ygot.Annotation `path:"@tlv-discard" ygotAnnotation:"true"` TlvUnknown *uint64 `path:"tlv-unknown" module:"openconfig-lldp"` ΛTlvUnknown []ygot.Annotation `path:"@tlv-unknown" ygotAnnotation:"true"` }
OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters represents the /openconfig-lldp/lldp/interfaces/interface/state/counters YANG schema element.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters) GetFrameDiscard ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters) GetFrameDiscard() uint64
GetFrameDiscard retrieves the value of the leaf FrameDiscard from the OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters struct. Caution should be exercised whilst using this method since 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 (*OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters) GetFrameErrorIn ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters) GetFrameErrorIn() uint64
GetFrameErrorIn retrieves the value of the leaf FrameErrorIn from the OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters struct. Caution should be exercised whilst using this method since 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 (*OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters) GetFrameErrorOut ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters) GetFrameErrorOut() uint64
GetFrameErrorOut retrieves the value of the leaf FrameErrorOut from the OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if FrameErrorOut is set, it can safely use t.GetFrameErrorOut() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.FrameErrorOut == nil' before retrieving the leaf's value.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters) GetFrameIn ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters) GetFrameIn() uint64
GetFrameIn retrieves the value of the leaf FrameIn from the OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters struct. Caution should be exercised whilst using this method since 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 (*OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters) GetFrameOut ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters) GetFrameOut() uint64
GetFrameOut retrieves the value of the leaf FrameOut from the OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters struct. Caution should be exercised whilst using this method since 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 (*OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters) GetLastClear ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters) GetLastClear() string
GetLastClear retrieves the value of the leaf LastClear from the OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LastClear is set, it can safely use t.GetLastClear() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LastClear == nil' before retrieving the leaf's value.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters) GetTlvDiscard ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters) GetTlvDiscard() uint64
GetTlvDiscard retrieves the value of the leaf TlvDiscard from the OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters struct. Caution should be exercised whilst using this method since 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 (*OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters) GetTlvUnknown ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters) GetTlvUnknown() uint64
GetTlvUnknown retrieves the value of the leaf TlvUnknown from the OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters struct. Caution should be exercised whilst using this method since 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 (*OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters) IsYANGGoStruct ¶
func (*OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters) Validate ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters) ΛEnumTypeMap ¶
func (t *OpenconfigLldp_Lldp_Interfaces_Interface_State_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.
type OpenconfigLldp_Lldp_State ¶
type OpenconfigLldp_Lldp_State struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` ChassisId *string `path:"chassis-id" module:"openconfig-lldp"` ΛChassisId []ygot.Annotation `path:"@chassis-id" ygotAnnotation:"true"` ChassisIdType E_OpenconfigLldp_ChassisIdType `path:"chassis-id-type" module:"openconfig-lldp"` ΛChassisIdType []ygot.Annotation `path:"@chassis-id-type" ygotAnnotation:"true"` Counters *OpenconfigLldp_Lldp_State_Counters `path:"counters" module:"openconfig-lldp"` ΛCounters []ygot.Annotation `path:"@counters" ygotAnnotation:"true"` Enabled *bool `path:"enabled" module:"openconfig-lldp"` ΛEnabled []ygot.Annotation `path:"@enabled" ygotAnnotation:"true"` HelloTimer *uint64 `path:"hello-timer" module:"openconfig-lldp"` ΛHelloTimer []ygot.Annotation `path:"@hello-timer" ygotAnnotation:"true"` SuppressTlvAdvertisement []E_OpenconfigLldpTypes_LLDP_TLV `path:"suppress-tlv-advertisement" module:"openconfig-lldp"` ΛSuppressTlvAdvertisement []ygot.Annotation `path:"@suppress-tlv-advertisement" ygotAnnotation:"true"` SystemDescription *string `path:"system-description" module:"openconfig-lldp"` ΛSystemDescription []ygot.Annotation `path:"@system-description" ygotAnnotation:"true"` SystemName *string `path:"system-name" module:"openconfig-lldp"` ΛSystemName []ygot.Annotation `path:"@system-name" ygotAnnotation:"true"` }
OpenconfigLldp_Lldp_State represents the /openconfig-lldp/lldp/state YANG schema element.
func (*OpenconfigLldp_Lldp_State) GetChassisId ¶
func (t *OpenconfigLldp_Lldp_State) GetChassisId() string
GetChassisId retrieves the value of the leaf ChassisId from the OpenconfigLldp_Lldp_State struct. Caution should be exercised whilst using this method since 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 (*OpenconfigLldp_Lldp_State) GetChassisIdType ¶
func (t *OpenconfigLldp_Lldp_State) GetChassisIdType() E_OpenconfigLldp_ChassisIdType
GetChassisIdType retrieves the value of the leaf ChassisIdType from the OpenconfigLldp_Lldp_State struct. Caution should be exercised whilst using this method since 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 (*OpenconfigLldp_Lldp_State) GetCounters ¶
func (t *OpenconfigLldp_Lldp_State) GetCounters() *OpenconfigLldp_Lldp_State_Counters
GetCounters returns the value of the Counters struct pointer from OpenconfigLldp_Lldp_State. If the receiver or the field Counters is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigLldp_Lldp_State) GetEnabled ¶
func (t *OpenconfigLldp_Lldp_State) GetEnabled() bool
GetEnabled retrieves the value of the leaf Enabled from the OpenconfigLldp_Lldp_State struct. Caution should be exercised whilst using this method since 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 (*OpenconfigLldp_Lldp_State) GetHelloTimer ¶
func (t *OpenconfigLldp_Lldp_State) GetHelloTimer() uint64
GetHelloTimer retrieves the value of the leaf HelloTimer from the OpenconfigLldp_Lldp_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if HelloTimer is set, it can safely use t.GetHelloTimer() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.HelloTimer == nil' before retrieving the leaf's value.
func (*OpenconfigLldp_Lldp_State) GetOrCreateCounters ¶
func (t *OpenconfigLldp_Lldp_State) GetOrCreateCounters() *OpenconfigLldp_Lldp_State_Counters
GetOrCreateCounters retrieves the value of the Counters field or returns the existing field if it already exists.
func (*OpenconfigLldp_Lldp_State) GetSuppressTlvAdvertisement ¶
func (t *OpenconfigLldp_Lldp_State) GetSuppressTlvAdvertisement() []E_OpenconfigLldpTypes_LLDP_TLV
GetSuppressTlvAdvertisement retrieves the value of the leaf SuppressTlvAdvertisement from the OpenconfigLldp_Lldp_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SuppressTlvAdvertisement is set, it can safely use t.GetSuppressTlvAdvertisement() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SuppressTlvAdvertisement == nil' before retrieving the leaf's value.
func (*OpenconfigLldp_Lldp_State) GetSystemDescription ¶
func (t *OpenconfigLldp_Lldp_State) GetSystemDescription() string
GetSystemDescription retrieves the value of the leaf SystemDescription from the OpenconfigLldp_Lldp_State struct. Caution should be exercised whilst using this method since 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 (*OpenconfigLldp_Lldp_State) GetSystemName ¶
func (t *OpenconfigLldp_Lldp_State) GetSystemName() string
GetSystemName retrieves the value of the leaf SystemName from the OpenconfigLldp_Lldp_State struct. Caution should be exercised whilst using this method since 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 (*OpenconfigLldp_Lldp_State) IsYANGGoStruct ¶
func (*OpenconfigLldp_Lldp_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigLldp_Lldp_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigLldp_Lldp_State) Validate ¶
func (t *OpenconfigLldp_Lldp_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigLldp_Lldp_State) ΛEnumTypeMap ¶
func (t *OpenconfigLldp_Lldp_State) Λ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.
type OpenconfigLldp_Lldp_State_Counters ¶
type OpenconfigLldp_Lldp_State_Counters struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` EntriesAgedOut *uint64 `path:"entries-aged-out" module:"openconfig-lldp"` ΛEntriesAgedOut []ygot.Annotation `path:"@entries-aged-out" ygotAnnotation:"true"` FrameDiscard *uint64 `path:"frame-discard" module:"openconfig-lldp"` ΛFrameDiscard []ygot.Annotation `path:"@frame-discard" ygotAnnotation:"true"` FrameErrorIn *uint64 `path:"frame-error-in" module:"openconfig-lldp"` ΛFrameErrorIn []ygot.Annotation `path:"@frame-error-in" ygotAnnotation:"true"` FrameIn *uint64 `path:"frame-in" module:"openconfig-lldp"` ΛFrameIn []ygot.Annotation `path:"@frame-in" ygotAnnotation:"true"` FrameOut *uint64 `path:"frame-out" module:"openconfig-lldp"` ΛFrameOut []ygot.Annotation `path:"@frame-out" ygotAnnotation:"true"` LastClear *string `path:"last-clear" module:"openconfig-lldp"` ΛLastClear []ygot.Annotation `path:"@last-clear" ygotAnnotation:"true"` TlvAccepted *uint64 `path:"tlv-accepted" module:"openconfig-lldp"` ΛTlvAccepted []ygot.Annotation `path:"@tlv-accepted" ygotAnnotation:"true"` TlvDiscard *uint64 `path:"tlv-discard" module:"openconfig-lldp"` ΛTlvDiscard []ygot.Annotation `path:"@tlv-discard" ygotAnnotation:"true"` TlvUnknown *uint64 `path:"tlv-unknown" module:"openconfig-lldp"` ΛTlvUnknown []ygot.Annotation `path:"@tlv-unknown" ygotAnnotation:"true"` }
OpenconfigLldp_Lldp_State_Counters represents the /openconfig-lldp/lldp/state/counters YANG schema element.
func (*OpenconfigLldp_Lldp_State_Counters) GetEntriesAgedOut ¶
func (t *OpenconfigLldp_Lldp_State_Counters) GetEntriesAgedOut() uint64
GetEntriesAgedOut retrieves the value of the leaf EntriesAgedOut from the OpenconfigLldp_Lldp_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if EntriesAgedOut is set, it can safely use t.GetEntriesAgedOut() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.EntriesAgedOut == nil' before retrieving the leaf's value.
func (*OpenconfigLldp_Lldp_State_Counters) GetFrameDiscard ¶
func (t *OpenconfigLldp_Lldp_State_Counters) GetFrameDiscard() uint64
GetFrameDiscard retrieves the value of the leaf FrameDiscard from the OpenconfigLldp_Lldp_State_Counters struct. Caution should be exercised whilst using this method since 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 (*OpenconfigLldp_Lldp_State_Counters) GetFrameErrorIn ¶
func (t *OpenconfigLldp_Lldp_State_Counters) GetFrameErrorIn() uint64
GetFrameErrorIn retrieves the value of the leaf FrameErrorIn from the OpenconfigLldp_Lldp_State_Counters struct. Caution should be exercised whilst using this method since 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 (*OpenconfigLldp_Lldp_State_Counters) GetFrameIn ¶
func (t *OpenconfigLldp_Lldp_State_Counters) GetFrameIn() uint64
GetFrameIn retrieves the value of the leaf FrameIn from the OpenconfigLldp_Lldp_State_Counters struct. Caution should be exercised whilst using this method since 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 (*OpenconfigLldp_Lldp_State_Counters) GetFrameOut ¶
func (t *OpenconfigLldp_Lldp_State_Counters) GetFrameOut() uint64
GetFrameOut retrieves the value of the leaf FrameOut from the OpenconfigLldp_Lldp_State_Counters struct. Caution should be exercised whilst using this method since 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 (*OpenconfigLldp_Lldp_State_Counters) GetLastClear ¶
func (t *OpenconfigLldp_Lldp_State_Counters) GetLastClear() string
GetLastClear retrieves the value of the leaf LastClear from the OpenconfigLldp_Lldp_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LastClear is set, it can safely use t.GetLastClear() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LastClear == nil' before retrieving the leaf's value.
func (*OpenconfigLldp_Lldp_State_Counters) GetTlvAccepted ¶
func (t *OpenconfigLldp_Lldp_State_Counters) GetTlvAccepted() uint64
GetTlvAccepted retrieves the value of the leaf TlvAccepted from the OpenconfigLldp_Lldp_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TlvAccepted is set, it can safely use t.GetTlvAccepted() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TlvAccepted == nil' before retrieving the leaf's value.
func (*OpenconfigLldp_Lldp_State_Counters) GetTlvDiscard ¶
func (t *OpenconfigLldp_Lldp_State_Counters) GetTlvDiscard() uint64
GetTlvDiscard retrieves the value of the leaf TlvDiscard from the OpenconfigLldp_Lldp_State_Counters struct. Caution should be exercised whilst using this method since 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 (*OpenconfigLldp_Lldp_State_Counters) GetTlvUnknown ¶
func (t *OpenconfigLldp_Lldp_State_Counters) GetTlvUnknown() uint64
GetTlvUnknown retrieves the value of the leaf TlvUnknown from the OpenconfigLldp_Lldp_State_Counters struct. Caution should be exercised whilst using this method since 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 (*OpenconfigLldp_Lldp_State_Counters) IsYANGGoStruct ¶
func (*OpenconfigLldp_Lldp_State_Counters) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigLldp_Lldp_State_Counters implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigLldp_Lldp_State_Counters) Validate ¶
func (t *OpenconfigLldp_Lldp_State_Counters) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigLldp_Lldp_State_Counters) ΛEnumTypeMap ¶
func (t *OpenconfigLldp_Lldp_State_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.
type OpenconfigPlatform_Components ¶
type OpenconfigPlatform_Components struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Component map[string]*OpenconfigPlatform_Components_Component `path:"component" module:"openconfig-platform"` ΛComponent []ygot.Annotation `path:"@component" ygotAnnotation:"true"` }
OpenconfigPlatform_Components represents the /openconfig-platform/components YANG schema element.
func (*OpenconfigPlatform_Components) AppendComponent ¶
func (t *OpenconfigPlatform_Components) AppendComponent(v *OpenconfigPlatform_Components_Component) error
AppendComponent appends the supplied OpenconfigPlatform_Components_Component struct to the list Component of OpenconfigPlatform_Components. If the key value(s) specified in the supplied OpenconfigPlatform_Components_Component already exist in the list, an error is returned.
func (*OpenconfigPlatform_Components) GetComponent ¶
func (t *OpenconfigPlatform_Components) GetComponent(Name string) *OpenconfigPlatform_Components_Component
GetComponent retrieves the value with the specified key from the Component map field of OpenconfigPlatform_Components. 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 (*OpenconfigPlatform_Components) GetOrCreateComponent ¶
func (t *OpenconfigPlatform_Components) GetOrCreateComponent(Name string) *OpenconfigPlatform_Components_Component
GetOrCreateComponent retrieves the value with the specified keys from the receiver OpenconfigPlatform_Components. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*OpenconfigPlatform_Components) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components) NewComponent ¶
func (t *OpenconfigPlatform_Components) NewComponent(Name string) (*OpenconfigPlatform_Components_Component, error)
NewComponent creates a new entry in the Component list of the OpenconfigPlatform_Components struct. The keys of the list are populated from the input arguments.
func (*OpenconfigPlatform_Components) RenameComponent ¶
func (t *OpenconfigPlatform_Components) RenameComponent(oldK, newK string) error
RenameComponent renames an entry in the list Component within the OpenconfigPlatform_Components struct. The entry with key oldK is renamed to newK updating the key within the value.
func (*OpenconfigPlatform_Components) Validate ¶
func (t *OpenconfigPlatform_Components) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components) Λ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.
type OpenconfigPlatform_Components_Component ¶
type OpenconfigPlatform_Components_Component struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Backplane *OpenconfigPlatform_Components_Component_Backplane `path:"backplane" module:"openconfig-platform"` ΛBackplane []ygot.Annotation `path:"@backplane" ygotAnnotation:"true"` Chassis *OpenconfigPlatform_Components_Component_Chassis `path:"chassis" module:"openconfig-platform"` ΛChassis []ygot.Annotation `path:"@chassis" ygotAnnotation:"true"` Config *OpenconfigPlatform_Components_Component_Config `path:"config" module:"openconfig-platform"` ΛConfig []ygot.Annotation `path:"@config" ygotAnnotation:"true"` Cpu *OpenconfigPlatform_Components_Component_Cpu `path:"cpu" module:"openconfig-platform"` ΛCpu []ygot.Annotation `path:"@cpu" ygotAnnotation:"true"` Fabric *OpenconfigPlatform_Components_Component_Fabric `path:"fabric" module:"openconfig-platform"` ΛFabric []ygot.Annotation `path:"@fabric" ygotAnnotation:"true"` Fan *OpenconfigPlatform_Components_Component_Fan `path:"fan" module:"openconfig-platform"` ΛFan []ygot.Annotation `path:"@fan" ygotAnnotation:"true"` IntegratedCircuit *OpenconfigPlatform_Components_Component_IntegratedCircuit `path:"integrated-circuit" module:"openconfig-platform"` ΛIntegratedCircuit []ygot.Annotation `path:"@integrated-circuit" ygotAnnotation:"true"` Name *string `path:"name" module:"openconfig-platform"` ΛName []ygot.Annotation `path:"@name" ygotAnnotation:"true"` OpticalChannel *OpenconfigPlatform_Components_Component_OpticalChannel `path:"optical-channel" module:"openconfig-terminal-device"` ΛOpticalChannel []ygot.Annotation `path:"@optical-channel" ygotAnnotation:"true"` Port *OpenconfigPlatform_Components_Component_Port `path:"port" module:"openconfig-platform"` ΛPort []ygot.Annotation `path:"@port" ygotAnnotation:"true"` PowerSupply *OpenconfigPlatform_Components_Component_PowerSupply `path:"power-supply" module:"openconfig-platform"` ΛPowerSupply []ygot.Annotation `path:"@power-supply" ygotAnnotation:"true"` Properties *OpenconfigPlatform_Components_Component_Properties `path:"properties" module:"openconfig-platform"` ΛProperties []ygot.Annotation `path:"@properties" ygotAnnotation:"true"` State *OpenconfigPlatform_Components_Component_State `path:"state" module:"openconfig-platform"` ΛState []ygot.Annotation `path:"@state" ygotAnnotation:"true"` Storage *OpenconfigPlatform_Components_Component_Storage `path:"storage" module:"openconfig-platform"` ΛStorage []ygot.Annotation `path:"@storage" ygotAnnotation:"true"` Subcomponents *OpenconfigPlatform_Components_Component_Subcomponents `path:"subcomponents" module:"openconfig-platform"` ΛSubcomponents []ygot.Annotation `path:"@subcomponents" ygotAnnotation:"true"` Transceiver *OpenconfigPlatform_Components_Component_Transceiver `path:"transceiver" module:"openconfig-platform-transceiver"` ΛTransceiver []ygot.Annotation `path:"@transceiver" ygotAnnotation:"true"` }
OpenconfigPlatform_Components_Component represents the /openconfig-platform/components/component YANG schema element.
func (*OpenconfigPlatform_Components_Component) GetBackplane ¶
func (t *OpenconfigPlatform_Components_Component) GetBackplane() *OpenconfigPlatform_Components_Component_Backplane
GetBackplane returns the value of the Backplane struct pointer from OpenconfigPlatform_Components_Component. If the receiver or the field Backplane is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component) GetChassis ¶
func (t *OpenconfigPlatform_Components_Component) GetChassis() *OpenconfigPlatform_Components_Component_Chassis
GetChassis returns the value of the Chassis struct pointer from OpenconfigPlatform_Components_Component. If the receiver or the field Chassis is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component) GetConfig ¶
func (t *OpenconfigPlatform_Components_Component) GetConfig() *OpenconfigPlatform_Components_Component_Config
GetConfig returns the value of the Config struct pointer from OpenconfigPlatform_Components_Component. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component) GetCpu ¶
func (t *OpenconfigPlatform_Components_Component) GetCpu() *OpenconfigPlatform_Components_Component_Cpu
GetCpu returns the value of the Cpu struct pointer from OpenconfigPlatform_Components_Component. If the receiver or the field Cpu is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component) GetFabric ¶
func (t *OpenconfigPlatform_Components_Component) GetFabric() *OpenconfigPlatform_Components_Component_Fabric
GetFabric returns the value of the Fabric struct pointer from OpenconfigPlatform_Components_Component. If the receiver or the field Fabric is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component) GetFan ¶
func (t *OpenconfigPlatform_Components_Component) GetFan() *OpenconfigPlatform_Components_Component_Fan
GetFan returns the value of the Fan struct pointer from OpenconfigPlatform_Components_Component. If the receiver or the field Fan is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component) GetIntegratedCircuit ¶
func (t *OpenconfigPlatform_Components_Component) GetIntegratedCircuit() *OpenconfigPlatform_Components_Component_IntegratedCircuit
GetIntegratedCircuit returns the value of the IntegratedCircuit struct pointer from OpenconfigPlatform_Components_Component. If the receiver or the field IntegratedCircuit is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component) GetName ¶
func (t *OpenconfigPlatform_Components_Component) GetName() string
GetName retrieves the value of the leaf Name from the OpenconfigPlatform_Components_Component struct. Caution should be exercised whilst using this method since 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 (*OpenconfigPlatform_Components_Component) GetOpticalChannel ¶
func (t *OpenconfigPlatform_Components_Component) GetOpticalChannel() *OpenconfigPlatform_Components_Component_OpticalChannel
GetOpticalChannel returns the value of the OpticalChannel struct pointer from OpenconfigPlatform_Components_Component. If the receiver or the field OpticalChannel is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component) GetOrCreateBackplane ¶
func (t *OpenconfigPlatform_Components_Component) GetOrCreateBackplane() *OpenconfigPlatform_Components_Component_Backplane
GetOrCreateBackplane retrieves the value of the Backplane field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component) GetOrCreateChassis ¶
func (t *OpenconfigPlatform_Components_Component) GetOrCreateChassis() *OpenconfigPlatform_Components_Component_Chassis
GetOrCreateChassis retrieves the value of the Chassis field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component) GetOrCreateConfig ¶
func (t *OpenconfigPlatform_Components_Component) GetOrCreateConfig() *OpenconfigPlatform_Components_Component_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component) GetOrCreateCpu ¶
func (t *OpenconfigPlatform_Components_Component) GetOrCreateCpu() *OpenconfigPlatform_Components_Component_Cpu
GetOrCreateCpu retrieves the value of the Cpu field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component) GetOrCreateFabric ¶
func (t *OpenconfigPlatform_Components_Component) GetOrCreateFabric() *OpenconfigPlatform_Components_Component_Fabric
GetOrCreateFabric retrieves the value of the Fabric field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component) GetOrCreateFan ¶
func (t *OpenconfigPlatform_Components_Component) GetOrCreateFan() *OpenconfigPlatform_Components_Component_Fan
GetOrCreateFan retrieves the value of the Fan field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component) GetOrCreateIntegratedCircuit ¶
func (t *OpenconfigPlatform_Components_Component) GetOrCreateIntegratedCircuit() *OpenconfigPlatform_Components_Component_IntegratedCircuit
GetOrCreateIntegratedCircuit retrieves the value of the IntegratedCircuit field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component) GetOrCreateOpticalChannel ¶
func (t *OpenconfigPlatform_Components_Component) GetOrCreateOpticalChannel() *OpenconfigPlatform_Components_Component_OpticalChannel
GetOrCreateOpticalChannel retrieves the value of the OpticalChannel field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component) GetOrCreatePort ¶
func (t *OpenconfigPlatform_Components_Component) GetOrCreatePort() *OpenconfigPlatform_Components_Component_Port
GetOrCreatePort retrieves the value of the Port field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component) GetOrCreatePowerSupply ¶
func (t *OpenconfigPlatform_Components_Component) GetOrCreatePowerSupply() *OpenconfigPlatform_Components_Component_PowerSupply
GetOrCreatePowerSupply retrieves the value of the PowerSupply field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component) GetOrCreateProperties ¶
func (t *OpenconfigPlatform_Components_Component) GetOrCreateProperties() *OpenconfigPlatform_Components_Component_Properties
GetOrCreateProperties retrieves the value of the Properties field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component) GetOrCreateState ¶
func (t *OpenconfigPlatform_Components_Component) GetOrCreateState() *OpenconfigPlatform_Components_Component_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component) GetOrCreateStorage ¶
func (t *OpenconfigPlatform_Components_Component) GetOrCreateStorage() *OpenconfigPlatform_Components_Component_Storage
GetOrCreateStorage retrieves the value of the Storage field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component) GetOrCreateSubcomponents ¶
func (t *OpenconfigPlatform_Components_Component) GetOrCreateSubcomponents() *OpenconfigPlatform_Components_Component_Subcomponents
GetOrCreateSubcomponents retrieves the value of the Subcomponents field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component) GetOrCreateTransceiver ¶
func (t *OpenconfigPlatform_Components_Component) GetOrCreateTransceiver() *OpenconfigPlatform_Components_Component_Transceiver
GetOrCreateTransceiver retrieves the value of the Transceiver field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component) GetPort ¶
func (t *OpenconfigPlatform_Components_Component) GetPort() *OpenconfigPlatform_Components_Component_Port
GetPort returns the value of the Port struct pointer from OpenconfigPlatform_Components_Component. If the receiver or the field Port is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component) GetPowerSupply ¶
func (t *OpenconfigPlatform_Components_Component) GetPowerSupply() *OpenconfigPlatform_Components_Component_PowerSupply
GetPowerSupply returns the value of the PowerSupply struct pointer from OpenconfigPlatform_Components_Component. If the receiver or the field PowerSupply is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component) GetProperties ¶
func (t *OpenconfigPlatform_Components_Component) GetProperties() *OpenconfigPlatform_Components_Component_Properties
GetProperties returns the value of the Properties struct pointer from OpenconfigPlatform_Components_Component. If the receiver or the field Properties is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component) GetState ¶
func (t *OpenconfigPlatform_Components_Component) GetState() *OpenconfigPlatform_Components_Component_State
GetState returns the value of the State struct pointer from OpenconfigPlatform_Components_Component. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component) GetStorage ¶
func (t *OpenconfigPlatform_Components_Component) GetStorage() *OpenconfigPlatform_Components_Component_Storage
GetStorage returns the value of the Storage struct pointer from OpenconfigPlatform_Components_Component. If the receiver or the field Storage is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component) GetSubcomponents ¶
func (t *OpenconfigPlatform_Components_Component) GetSubcomponents() *OpenconfigPlatform_Components_Component_Subcomponents
GetSubcomponents returns the value of the Subcomponents struct pointer from OpenconfigPlatform_Components_Component. If the receiver or the field Subcomponents is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component) GetTransceiver ¶
func (t *OpenconfigPlatform_Components_Component) GetTransceiver() *OpenconfigPlatform_Components_Component_Transceiver
GetTransceiver returns the value of the Transceiver struct pointer from OpenconfigPlatform_Components_Component. If the receiver or the field Transceiver is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component) Validate ¶
func (t *OpenconfigPlatform_Components_Component) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component) Λ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 (*OpenconfigPlatform_Components_Component) ΛListKeyMap ¶
func (t *OpenconfigPlatform_Components_Component) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the OpenconfigPlatform_Components_Component struct, which is a YANG list entry.
type OpenconfigPlatform_Components_Component_Backplane ¶
type OpenconfigPlatform_Components_Component_Backplane struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Config *OpenconfigPlatform_Components_Component_Backplane_Config `path:"config" module:"openconfig-platform"` ΛConfig []ygot.Annotation `path:"@config" ygotAnnotation:"true"` State *OpenconfigPlatform_Components_Component_Backplane_State `path:"state" module:"openconfig-platform"` ΛState []ygot.Annotation `path:"@state" ygotAnnotation:"true"` }
OpenconfigPlatform_Components_Component_Backplane represents the /openconfig-platform/components/component/backplane YANG schema element.
func (*OpenconfigPlatform_Components_Component_Backplane) GetConfig ¶
func (t *OpenconfigPlatform_Components_Component_Backplane) GetConfig() *OpenconfigPlatform_Components_Component_Backplane_Config
GetConfig returns the value of the Config struct pointer from OpenconfigPlatform_Components_Component_Backplane. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component_Backplane) GetOrCreateConfig ¶
func (t *OpenconfigPlatform_Components_Component_Backplane) GetOrCreateConfig() *OpenconfigPlatform_Components_Component_Backplane_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component_Backplane) GetOrCreateState ¶
func (t *OpenconfigPlatform_Components_Component_Backplane) GetOrCreateState() *OpenconfigPlatform_Components_Component_Backplane_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component_Backplane) GetState ¶
func (t *OpenconfigPlatform_Components_Component_Backplane) GetState() *OpenconfigPlatform_Components_Component_Backplane_State
GetState returns the value of the State struct pointer from OpenconfigPlatform_Components_Component_Backplane. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component_Backplane) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_Backplane) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_Backplane implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_Backplane) Validate ¶
func (t *OpenconfigPlatform_Components_Component_Backplane) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_Backplane) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_Backplane) Λ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.
type OpenconfigPlatform_Components_Component_Backplane_Config ¶
type OpenconfigPlatform_Components_Component_Backplane_Config struct {
ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
}
OpenconfigPlatform_Components_Component_Backplane_Config represents the /openconfig-platform/components/component/backplane/config YANG schema element.
func (*OpenconfigPlatform_Components_Component_Backplane_Config) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_Backplane_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_Backplane_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_Backplane_Config) Validate ¶
func (t *OpenconfigPlatform_Components_Component_Backplane_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_Backplane_Config) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_Backplane_Config) Λ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.
type OpenconfigPlatform_Components_Component_Backplane_State ¶
type OpenconfigPlatform_Components_Component_Backplane_State struct {
ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
}
OpenconfigPlatform_Components_Component_Backplane_State represents the /openconfig-platform/components/component/backplane/state YANG schema element.
func (*OpenconfigPlatform_Components_Component_Backplane_State) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_Backplane_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_Backplane_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_Backplane_State) Validate ¶
func (t *OpenconfigPlatform_Components_Component_Backplane_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_Backplane_State) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_Backplane_State) Λ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.
type OpenconfigPlatform_Components_Component_Chassis ¶
type OpenconfigPlatform_Components_Component_Chassis struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Config *OpenconfigPlatform_Components_Component_Chassis_Config `path:"config" module:"openconfig-platform"` ΛConfig []ygot.Annotation `path:"@config" ygotAnnotation:"true"` State *OpenconfigPlatform_Components_Component_Chassis_State `path:"state" module:"openconfig-platform"` ΛState []ygot.Annotation `path:"@state" ygotAnnotation:"true"` }
OpenconfigPlatform_Components_Component_Chassis represents the /openconfig-platform/components/component/chassis YANG schema element.
func (*OpenconfigPlatform_Components_Component_Chassis) GetConfig ¶
func (t *OpenconfigPlatform_Components_Component_Chassis) GetConfig() *OpenconfigPlatform_Components_Component_Chassis_Config
GetConfig returns the value of the Config struct pointer from OpenconfigPlatform_Components_Component_Chassis. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component_Chassis) GetOrCreateConfig ¶
func (t *OpenconfigPlatform_Components_Component_Chassis) GetOrCreateConfig() *OpenconfigPlatform_Components_Component_Chassis_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component_Chassis) GetOrCreateState ¶
func (t *OpenconfigPlatform_Components_Component_Chassis) GetOrCreateState() *OpenconfigPlatform_Components_Component_Chassis_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component_Chassis) GetState ¶
func (t *OpenconfigPlatform_Components_Component_Chassis) GetState() *OpenconfigPlatform_Components_Component_Chassis_State
GetState returns the value of the State struct pointer from OpenconfigPlatform_Components_Component_Chassis. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component_Chassis) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_Chassis) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_Chassis implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_Chassis) Validate ¶
func (t *OpenconfigPlatform_Components_Component_Chassis) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_Chassis) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_Chassis) Λ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.
type OpenconfigPlatform_Components_Component_Chassis_Config ¶
type OpenconfigPlatform_Components_Component_Chassis_Config struct {
ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
}
OpenconfigPlatform_Components_Component_Chassis_Config represents the /openconfig-platform/components/component/chassis/config YANG schema element.
func (*OpenconfigPlatform_Components_Component_Chassis_Config) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_Chassis_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_Chassis_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_Chassis_Config) Validate ¶
func (t *OpenconfigPlatform_Components_Component_Chassis_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_Chassis_Config) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_Chassis_Config) Λ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.
type OpenconfigPlatform_Components_Component_Chassis_State ¶
type OpenconfigPlatform_Components_Component_Chassis_State struct {
ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
}
OpenconfigPlatform_Components_Component_Chassis_State represents the /openconfig-platform/components/component/chassis/state YANG schema element.
func (*OpenconfigPlatform_Components_Component_Chassis_State) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_Chassis_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_Chassis_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_Chassis_State) Validate ¶
func (t *OpenconfigPlatform_Components_Component_Chassis_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_Chassis_State) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_Chassis_State) Λ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.
type OpenconfigPlatform_Components_Component_Config ¶
type OpenconfigPlatform_Components_Component_Config struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Name *string `path:"name" module:"openconfig-platform"` ΛName []ygot.Annotation `path:"@name" ygotAnnotation:"true"` }
OpenconfigPlatform_Components_Component_Config represents the /openconfig-platform/components/component/config YANG schema element.
func (*OpenconfigPlatform_Components_Component_Config) GetName ¶
func (t *OpenconfigPlatform_Components_Component_Config) GetName() string
GetName retrieves the value of the leaf Name from the OpenconfigPlatform_Components_Component_Config struct. Caution should be exercised whilst using this method since 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 (*OpenconfigPlatform_Components_Component_Config) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_Config) Validate ¶
func (t *OpenconfigPlatform_Components_Component_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_Config) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_Config) Λ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.
type OpenconfigPlatform_Components_Component_Cpu ¶
type OpenconfigPlatform_Components_Component_Cpu struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Config *OpenconfigPlatform_Components_Component_Cpu_Config `path:"config" module:"openconfig-platform"` ΛConfig []ygot.Annotation `path:"@config" ygotAnnotation:"true"` State *OpenconfigPlatform_Components_Component_Cpu_State `path:"state" module:"openconfig-platform"` ΛState []ygot.Annotation `path:"@state" ygotAnnotation:"true"` }
OpenconfigPlatform_Components_Component_Cpu represents the /openconfig-platform/components/component/cpu YANG schema element.
func (*OpenconfigPlatform_Components_Component_Cpu) GetConfig ¶
func (t *OpenconfigPlatform_Components_Component_Cpu) GetConfig() *OpenconfigPlatform_Components_Component_Cpu_Config
GetConfig returns the value of the Config struct pointer from OpenconfigPlatform_Components_Component_Cpu. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component_Cpu) GetOrCreateConfig ¶
func (t *OpenconfigPlatform_Components_Component_Cpu) GetOrCreateConfig() *OpenconfigPlatform_Components_Component_Cpu_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component_Cpu) GetOrCreateState ¶
func (t *OpenconfigPlatform_Components_Component_Cpu) GetOrCreateState() *OpenconfigPlatform_Components_Component_Cpu_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component_Cpu) GetState ¶
func (t *OpenconfigPlatform_Components_Component_Cpu) GetState() *OpenconfigPlatform_Components_Component_Cpu_State
GetState returns the value of the State struct pointer from OpenconfigPlatform_Components_Component_Cpu. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component_Cpu) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_Cpu) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_Cpu implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_Cpu) Validate ¶
func (t *OpenconfigPlatform_Components_Component_Cpu) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_Cpu) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_Cpu) Λ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.
type OpenconfigPlatform_Components_Component_Cpu_Config ¶
type OpenconfigPlatform_Components_Component_Cpu_Config struct {
ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
}
OpenconfigPlatform_Components_Component_Cpu_Config represents the /openconfig-platform/components/component/cpu/config YANG schema element.
func (*OpenconfigPlatform_Components_Component_Cpu_Config) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_Cpu_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_Cpu_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_Cpu_Config) Validate ¶
func (t *OpenconfigPlatform_Components_Component_Cpu_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_Cpu_Config) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_Cpu_Config) Λ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.
type OpenconfigPlatform_Components_Component_Cpu_State ¶
type OpenconfigPlatform_Components_Component_Cpu_State struct {
ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
}
OpenconfigPlatform_Components_Component_Cpu_State represents the /openconfig-platform/components/component/cpu/state YANG schema element.
func (*OpenconfigPlatform_Components_Component_Cpu_State) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_Cpu_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_Cpu_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_Cpu_State) Validate ¶
func (t *OpenconfigPlatform_Components_Component_Cpu_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_Cpu_State) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_Cpu_State) Λ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.
type OpenconfigPlatform_Components_Component_Fabric ¶
type OpenconfigPlatform_Components_Component_Fabric struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Config *OpenconfigPlatform_Components_Component_Fabric_Config `path:"config" module:"openconfig-platform"` ΛConfig []ygot.Annotation `path:"@config" ygotAnnotation:"true"` State *OpenconfigPlatform_Components_Component_Fabric_State `path:"state" module:"openconfig-platform"` ΛState []ygot.Annotation `path:"@state" ygotAnnotation:"true"` }
OpenconfigPlatform_Components_Component_Fabric represents the /openconfig-platform/components/component/fabric YANG schema element.
func (*OpenconfigPlatform_Components_Component_Fabric) GetConfig ¶
func (t *OpenconfigPlatform_Components_Component_Fabric) GetConfig() *OpenconfigPlatform_Components_Component_Fabric_Config
GetConfig returns the value of the Config struct pointer from OpenconfigPlatform_Components_Component_Fabric. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component_Fabric) GetOrCreateConfig ¶
func (t *OpenconfigPlatform_Components_Component_Fabric) GetOrCreateConfig() *OpenconfigPlatform_Components_Component_Fabric_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component_Fabric) GetOrCreateState ¶
func (t *OpenconfigPlatform_Components_Component_Fabric) GetOrCreateState() *OpenconfigPlatform_Components_Component_Fabric_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component_Fabric) GetState ¶
func (t *OpenconfigPlatform_Components_Component_Fabric) GetState() *OpenconfigPlatform_Components_Component_Fabric_State
GetState returns the value of the State struct pointer from OpenconfigPlatform_Components_Component_Fabric. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component_Fabric) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_Fabric) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_Fabric implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_Fabric) Validate ¶
func (t *OpenconfigPlatform_Components_Component_Fabric) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_Fabric) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_Fabric) Λ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.
type OpenconfigPlatform_Components_Component_Fabric_Config ¶
type OpenconfigPlatform_Components_Component_Fabric_Config struct {
ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
}
OpenconfigPlatform_Components_Component_Fabric_Config represents the /openconfig-platform/components/component/fabric/config YANG schema element.
func (*OpenconfigPlatform_Components_Component_Fabric_Config) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_Fabric_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_Fabric_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_Fabric_Config) Validate ¶
func (t *OpenconfigPlatform_Components_Component_Fabric_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_Fabric_Config) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_Fabric_Config) Λ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.
type OpenconfigPlatform_Components_Component_Fabric_State ¶
type OpenconfigPlatform_Components_Component_Fabric_State struct {
ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
}
OpenconfigPlatform_Components_Component_Fabric_State represents the /openconfig-platform/components/component/fabric/state YANG schema element.
func (*OpenconfigPlatform_Components_Component_Fabric_State) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_Fabric_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_Fabric_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_Fabric_State) Validate ¶
func (t *OpenconfigPlatform_Components_Component_Fabric_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_Fabric_State) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_Fabric_State) Λ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.
type OpenconfigPlatform_Components_Component_Fan ¶
type OpenconfigPlatform_Components_Component_Fan struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Config *OpenconfigPlatform_Components_Component_Fan_Config `path:"config" module:"openconfig-platform"` ΛConfig []ygot.Annotation `path:"@config" ygotAnnotation:"true"` State *OpenconfigPlatform_Components_Component_Fan_State `path:"state" module:"openconfig-platform"` ΛState []ygot.Annotation `path:"@state" ygotAnnotation:"true"` }
OpenconfigPlatform_Components_Component_Fan represents the /openconfig-platform/components/component/fan YANG schema element.
func (*OpenconfigPlatform_Components_Component_Fan) GetConfig ¶
func (t *OpenconfigPlatform_Components_Component_Fan) GetConfig() *OpenconfigPlatform_Components_Component_Fan_Config
GetConfig returns the value of the Config struct pointer from OpenconfigPlatform_Components_Component_Fan. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component_Fan) GetOrCreateConfig ¶
func (t *OpenconfigPlatform_Components_Component_Fan) GetOrCreateConfig() *OpenconfigPlatform_Components_Component_Fan_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component_Fan) GetOrCreateState ¶
func (t *OpenconfigPlatform_Components_Component_Fan) GetOrCreateState() *OpenconfigPlatform_Components_Component_Fan_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component_Fan) GetState ¶
func (t *OpenconfigPlatform_Components_Component_Fan) GetState() *OpenconfigPlatform_Components_Component_Fan_State
GetState returns the value of the State struct pointer from OpenconfigPlatform_Components_Component_Fan. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component_Fan) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_Fan) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_Fan implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_Fan) Validate ¶
func (t *OpenconfigPlatform_Components_Component_Fan) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_Fan) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_Fan) Λ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.
type OpenconfigPlatform_Components_Component_Fan_Config ¶
type OpenconfigPlatform_Components_Component_Fan_Config struct {
ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
}
OpenconfigPlatform_Components_Component_Fan_Config represents the /openconfig-platform/components/component/fan/config YANG schema element.
func (*OpenconfigPlatform_Components_Component_Fan_Config) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_Fan_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_Fan_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_Fan_Config) Validate ¶
func (t *OpenconfigPlatform_Components_Component_Fan_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_Fan_Config) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_Fan_Config) Λ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.
type OpenconfigPlatform_Components_Component_Fan_State ¶
type OpenconfigPlatform_Components_Component_Fan_State struct {
ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
}
OpenconfigPlatform_Components_Component_Fan_State represents the /openconfig-platform/components/component/fan/state YANG schema element.
func (*OpenconfigPlatform_Components_Component_Fan_State) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_Fan_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_Fan_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_Fan_State) Validate ¶
func (t *OpenconfigPlatform_Components_Component_Fan_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_Fan_State) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_Fan_State) Λ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.
type OpenconfigPlatform_Components_Component_IntegratedCircuit ¶
type OpenconfigPlatform_Components_Component_IntegratedCircuit struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Config *OpenconfigPlatform_Components_Component_IntegratedCircuit_Config `path:"config" module:"openconfig-platform"` ΛConfig []ygot.Annotation `path:"@config" ygotAnnotation:"true"` State *OpenconfigPlatform_Components_Component_IntegratedCircuit_State `path:"state" module:"openconfig-platform"` ΛState []ygot.Annotation `path:"@state" ygotAnnotation:"true"` }
OpenconfigPlatform_Components_Component_IntegratedCircuit represents the /openconfig-platform/components/component/integrated-circuit YANG schema element.
func (*OpenconfigPlatform_Components_Component_IntegratedCircuit) GetConfig ¶
func (t *OpenconfigPlatform_Components_Component_IntegratedCircuit) GetConfig() *OpenconfigPlatform_Components_Component_IntegratedCircuit_Config
GetConfig returns the value of the Config struct pointer from OpenconfigPlatform_Components_Component_IntegratedCircuit. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component_IntegratedCircuit) GetOrCreateConfig ¶
func (t *OpenconfigPlatform_Components_Component_IntegratedCircuit) GetOrCreateConfig() *OpenconfigPlatform_Components_Component_IntegratedCircuit_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component_IntegratedCircuit) GetOrCreateState ¶
func (t *OpenconfigPlatform_Components_Component_IntegratedCircuit) GetOrCreateState() *OpenconfigPlatform_Components_Component_IntegratedCircuit_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component_IntegratedCircuit) GetState ¶
func (t *OpenconfigPlatform_Components_Component_IntegratedCircuit) GetState() *OpenconfigPlatform_Components_Component_IntegratedCircuit_State
GetState returns the value of the State struct pointer from OpenconfigPlatform_Components_Component_IntegratedCircuit. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component_IntegratedCircuit) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_IntegratedCircuit) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_IntegratedCircuit implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_IntegratedCircuit) Validate ¶
func (t *OpenconfigPlatform_Components_Component_IntegratedCircuit) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_IntegratedCircuit) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_IntegratedCircuit) Λ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.
type OpenconfigPlatform_Components_Component_IntegratedCircuit_Config ¶
type OpenconfigPlatform_Components_Component_IntegratedCircuit_Config struct {
ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
}
OpenconfigPlatform_Components_Component_IntegratedCircuit_Config represents the /openconfig-platform/components/component/integrated-circuit/config YANG schema element.
func (*OpenconfigPlatform_Components_Component_IntegratedCircuit_Config) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_IntegratedCircuit_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_IntegratedCircuit_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_IntegratedCircuit_Config) Validate ¶
func (t *OpenconfigPlatform_Components_Component_IntegratedCircuit_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_IntegratedCircuit_Config) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_IntegratedCircuit_Config) Λ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.
type OpenconfigPlatform_Components_Component_IntegratedCircuit_State ¶
type OpenconfigPlatform_Components_Component_IntegratedCircuit_State struct {
ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
}
OpenconfigPlatform_Components_Component_IntegratedCircuit_State represents the /openconfig-platform/components/component/integrated-circuit/state YANG schema element.
func (*OpenconfigPlatform_Components_Component_IntegratedCircuit_State) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_IntegratedCircuit_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_IntegratedCircuit_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_IntegratedCircuit_State) Validate ¶
func (t *OpenconfigPlatform_Components_Component_IntegratedCircuit_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_IntegratedCircuit_State) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_IntegratedCircuit_State) Λ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.
type OpenconfigPlatform_Components_Component_OpticalChannel ¶
type OpenconfigPlatform_Components_Component_OpticalChannel struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Config *OpenconfigPlatform_Components_Component_OpticalChannel_Config `path:"config" module:"openconfig-terminal-device"` ΛConfig []ygot.Annotation `path:"@config" ygotAnnotation:"true"` State *OpenconfigPlatform_Components_Component_OpticalChannel_State `path:"state" module:"openconfig-terminal-device"` ΛState []ygot.Annotation `path:"@state" ygotAnnotation:"true"` }
OpenconfigPlatform_Components_Component_OpticalChannel represents the /openconfig-platform/components/component/optical-channel YANG schema element.
func (*OpenconfigPlatform_Components_Component_OpticalChannel) GetConfig ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel) GetConfig() *OpenconfigPlatform_Components_Component_OpticalChannel_Config
GetConfig returns the value of the Config struct pointer from OpenconfigPlatform_Components_Component_OpticalChannel. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component_OpticalChannel) GetOrCreateConfig ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel) GetOrCreateConfig() *OpenconfigPlatform_Components_Component_OpticalChannel_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component_OpticalChannel) GetOrCreateState ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel) GetOrCreateState() *OpenconfigPlatform_Components_Component_OpticalChannel_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component_OpticalChannel) GetState ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel) GetState() *OpenconfigPlatform_Components_Component_OpticalChannel_State
GetState returns the value of the State struct pointer from OpenconfigPlatform_Components_Component_OpticalChannel. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component_OpticalChannel) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_OpticalChannel) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_OpticalChannel implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_OpticalChannel) Validate ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_OpticalChannel) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel) Λ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.
type OpenconfigPlatform_Components_Component_OpticalChannel_Config ¶
type OpenconfigPlatform_Components_Component_OpticalChannel_Config struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Frequency *uint64 `path:"frequency" module:"openconfig-terminal-device"` ΛFrequency []ygot.Annotation `path:"@frequency" ygotAnnotation:"true"` LinePort *string `path:"line-port" module:"openconfig-terminal-device"` ΛLinePort []ygot.Annotation `path:"@line-port" ygotAnnotation:"true"` OperationalMode *uint16 `path:"operational-mode" module:"openconfig-terminal-device"` ΛOperationalMode []ygot.Annotation `path:"@operational-mode" ygotAnnotation:"true"` TargetOutputPower *float64 `path:"target-output-power" module:"openconfig-terminal-device"` ΛTargetOutputPower []ygot.Annotation `path:"@target-output-power" ygotAnnotation:"true"` }
OpenconfigPlatform_Components_Component_OpticalChannel_Config represents the /openconfig-platform/components/component/optical-channel/config YANG schema element.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_Config) GetFrequency ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_Config) GetFrequency() uint64
GetFrequency retrieves the value of the leaf Frequency from the OpenconfigPlatform_Components_Component_OpticalChannel_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Frequency is set, it can safely use t.GetFrequency() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Frequency == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_Config) GetLinePort ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_Config) GetLinePort() string
GetLinePort retrieves the value of the leaf LinePort from the OpenconfigPlatform_Components_Component_OpticalChannel_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LinePort is set, it can safely use t.GetLinePort() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LinePort == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_Config) GetOperationalMode ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_Config) GetOperationalMode() uint16
GetOperationalMode retrieves the value of the leaf OperationalMode from the OpenconfigPlatform_Components_Component_OpticalChannel_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OperationalMode is set, it can safely use t.GetOperationalMode() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OperationalMode == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_Config) GetTargetOutputPower ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_Config) GetTargetOutputPower() float64
GetTargetOutputPower retrieves the value of the leaf TargetOutputPower from the OpenconfigPlatform_Components_Component_OpticalChannel_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TargetOutputPower is set, it can safely use t.GetTargetOutputPower() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TargetOutputPower == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_Config) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_OpticalChannel_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_OpticalChannel_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_Config) Validate ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_Config) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_Config) Λ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.
type OpenconfigPlatform_Components_Component_OpticalChannel_State ¶
type OpenconfigPlatform_Components_Component_OpticalChannel_State struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` ChromaticDispersion *OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion `path:"chromatic-dispersion" module:"openconfig-terminal-device"` ΛChromaticDispersion []ygot.Annotation `path:"@chromatic-dispersion" ygotAnnotation:"true"` Frequency *uint64 `path:"frequency" module:"openconfig-terminal-device"` ΛFrequency []ygot.Annotation `path:"@frequency" ygotAnnotation:"true"` GroupId *uint32 `path:"group-id" module:"openconfig-terminal-device"` ΛGroupId []ygot.Annotation `path:"@group-id" ygotAnnotation:"true"` InputPower *OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower `path:"input-power" module:"openconfig-terminal-device"` ΛInputPower []ygot.Annotation `path:"@input-power" ygotAnnotation:"true"` LaserBiasCurrent *OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent `path:"laser-bias-current" module:"openconfig-terminal-device"` ΛLaserBiasCurrent []ygot.Annotation `path:"@laser-bias-current" ygotAnnotation:"true"` LinePort *string `path:"line-port" module:"openconfig-terminal-device"` ΛLinePort []ygot.Annotation `path:"@line-port" ygotAnnotation:"true"` OperationalMode *uint16 `path:"operational-mode" module:"openconfig-terminal-device"` ΛOperationalMode []ygot.Annotation `path:"@operational-mode" ygotAnnotation:"true"` OutputPower *OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower `path:"output-power" module:"openconfig-terminal-device"` ΛOutputPower []ygot.Annotation `path:"@output-power" ygotAnnotation:"true"` PolarizationDependentLoss *OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss `path:"polarization-dependent-loss" module:"openconfig-terminal-device"` ΛPolarizationDependentLoss []ygot.Annotation `path:"@polarization-dependent-loss" ygotAnnotation:"true"` PolarizationModeDispersion *OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion `path:"polarization-mode-dispersion" module:"openconfig-terminal-device"` ΛPolarizationModeDispersion []ygot.Annotation `path:"@polarization-mode-dispersion" ygotAnnotation:"true"` SecondOrderPolarizationModeDispersion *OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion `path:"second-order-polarization-mode-dispersion" module:"openconfig-terminal-device"` ΛSecondOrderPolarizationModeDispersion []ygot.Annotation `path:"@second-order-polarization-mode-dispersion" ygotAnnotation:"true"` TargetOutputPower *float64 `path:"target-output-power" module:"openconfig-terminal-device"` ΛTargetOutputPower []ygot.Annotation `path:"@target-output-power" ygotAnnotation:"true"` }
OpenconfigPlatform_Components_Component_OpticalChannel_State represents the /openconfig-platform/components/component/optical-channel/state YANG schema element.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State) GetChromaticDispersion ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State) GetChromaticDispersion() *OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion
GetChromaticDispersion returns the value of the ChromaticDispersion struct pointer from OpenconfigPlatform_Components_Component_OpticalChannel_State. If the receiver or the field ChromaticDispersion is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State) GetFrequency ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State) GetFrequency() uint64
GetFrequency retrieves the value of the leaf Frequency from the OpenconfigPlatform_Components_Component_OpticalChannel_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Frequency is set, it can safely use t.GetFrequency() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Frequency == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State) GetGroupId ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State) GetGroupId() uint32
GetGroupId retrieves the value of the leaf GroupId from the OpenconfigPlatform_Components_Component_OpticalChannel_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if GroupId is set, it can safely use t.GetGroupId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.GroupId == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State) GetInputPower ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State) GetInputPower() *OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower
GetInputPower returns the value of the InputPower struct pointer from OpenconfigPlatform_Components_Component_OpticalChannel_State. If the receiver or the field InputPower is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State) GetLaserBiasCurrent ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State) GetLaserBiasCurrent() *OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent
GetLaserBiasCurrent returns the value of the LaserBiasCurrent struct pointer from OpenconfigPlatform_Components_Component_OpticalChannel_State. If the receiver or the field LaserBiasCurrent is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State) GetLinePort ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State) GetLinePort() string
GetLinePort retrieves the value of the leaf LinePort from the OpenconfigPlatform_Components_Component_OpticalChannel_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LinePort is set, it can safely use t.GetLinePort() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LinePort == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State) GetOperationalMode ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State) GetOperationalMode() uint16
GetOperationalMode retrieves the value of the leaf OperationalMode from the OpenconfigPlatform_Components_Component_OpticalChannel_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OperationalMode is set, it can safely use t.GetOperationalMode() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OperationalMode == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State) GetOrCreateChromaticDispersion ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State) GetOrCreateChromaticDispersion() *OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion
GetOrCreateChromaticDispersion retrieves the value of the ChromaticDispersion field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State) GetOrCreateInputPower ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State) GetOrCreateInputPower() *OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower
GetOrCreateInputPower retrieves the value of the InputPower field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State) GetOrCreateLaserBiasCurrent ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State) GetOrCreateLaserBiasCurrent() *OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent
GetOrCreateLaserBiasCurrent retrieves the value of the LaserBiasCurrent field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State) GetOrCreateOutputPower ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State) GetOrCreateOutputPower() *OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower
GetOrCreateOutputPower retrieves the value of the OutputPower field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State) GetOrCreatePolarizationDependentLoss ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State) GetOrCreatePolarizationDependentLoss() *OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss
GetOrCreatePolarizationDependentLoss retrieves the value of the PolarizationDependentLoss field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State) GetOrCreatePolarizationModeDispersion ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State) GetOrCreatePolarizationModeDispersion() *OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion
GetOrCreatePolarizationModeDispersion retrieves the value of the PolarizationModeDispersion field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State) GetOrCreateSecondOrderPolarizationModeDispersion ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State) GetOrCreateSecondOrderPolarizationModeDispersion() *OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion
GetOrCreateSecondOrderPolarizationModeDispersion retrieves the value of the SecondOrderPolarizationModeDispersion field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State) GetOutputPower ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State) GetOutputPower() *OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower
GetOutputPower returns the value of the OutputPower struct pointer from OpenconfigPlatform_Components_Component_OpticalChannel_State. If the receiver or the field OutputPower is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State) GetPolarizationDependentLoss ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State) GetPolarizationDependentLoss() *OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss
GetPolarizationDependentLoss returns the value of the PolarizationDependentLoss struct pointer from OpenconfigPlatform_Components_Component_OpticalChannel_State. If the receiver or the field PolarizationDependentLoss is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State) GetPolarizationModeDispersion ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State) GetPolarizationModeDispersion() *OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion
GetPolarizationModeDispersion returns the value of the PolarizationModeDispersion struct pointer from OpenconfigPlatform_Components_Component_OpticalChannel_State. If the receiver or the field PolarizationModeDispersion is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State) GetSecondOrderPolarizationModeDispersion ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State) GetSecondOrderPolarizationModeDispersion() *OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion
GetSecondOrderPolarizationModeDispersion returns the value of the SecondOrderPolarizationModeDispersion struct pointer from OpenconfigPlatform_Components_Component_OpticalChannel_State. If the receiver or the field SecondOrderPolarizationModeDispersion is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State) GetTargetOutputPower ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State) GetTargetOutputPower() float64
GetTargetOutputPower retrieves the value of the leaf TargetOutputPower from the OpenconfigPlatform_Components_Component_OpticalChannel_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TargetOutputPower is set, it can safely use t.GetTargetOutputPower() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TargetOutputPower == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_OpticalChannel_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State) Validate ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State) Λ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.
type OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion ¶
type OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Avg *float64 `path:"avg" module:"openconfig-terminal-device"` ΛAvg []ygot.Annotation `path:"@avg" ygotAnnotation:"true"` Instant *float64 `path:"instant" module:"openconfig-terminal-device"` ΛInstant []ygot.Annotation `path:"@instant" ygotAnnotation:"true"` Interval *uint64 `path:"interval" module:"openconfig-terminal-device"` ΛInterval []ygot.Annotation `path:"@interval" ygotAnnotation:"true"` Max *float64 `path:"max" module:"openconfig-terminal-device"` ΛMax []ygot.Annotation `path:"@max" ygotAnnotation:"true"` MaxTime *uint64 `path:"max-time" module:"openconfig-terminal-device"` ΛMaxTime []ygot.Annotation `path:"@max-time" ygotAnnotation:"true"` Min *float64 `path:"min" module:"openconfig-terminal-device"` ΛMin []ygot.Annotation `path:"@min" ygotAnnotation:"true"` MinTime *uint64 `path:"min-time" module:"openconfig-terminal-device"` ΛMinTime []ygot.Annotation `path:"@min-time" ygotAnnotation:"true"` }
OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion represents the /openconfig-platform/components/component/optical-channel/state/chromatic-dispersion YANG schema element.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion) GetAvg ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion) GetAvg() float64
GetAvg retrieves the value of the leaf Avg from the OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Avg is set, it can safely use t.GetAvg() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Avg == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion) GetInstant ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion) GetInstant() float64
GetInstant retrieves the value of the leaf Instant from the OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Instant is set, it can safely use t.GetInstant() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Instant == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion) GetInterval ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion) GetInterval() uint64
GetInterval retrieves the value of the leaf Interval from the OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interval is set, it can safely use t.GetInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interval == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion) GetMax ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion) GetMax() float64
GetMax retrieves the value of the leaf Max from the OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Max is set, it can safely use t.GetMax() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Max == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion) GetMaxTime ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion) GetMaxTime() uint64
GetMaxTime retrieves the value of the leaf MaxTime from the OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MaxTime is set, it can safely use t.GetMaxTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MaxTime == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion) GetMin ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion) GetMin() float64
GetMin retrieves the value of the leaf Min from the OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Min is set, it can safely use t.GetMin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Min == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion) GetMinTime ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion) GetMinTime() uint64
GetMinTime retrieves the value of the leaf MinTime from the OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MinTime is set, it can safely use t.GetMinTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MinTime == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion) Validate ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion) Λ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.
type OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower ¶
type OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Avg *float64 `path:"avg" module:"openconfig-terminal-device"` ΛAvg []ygot.Annotation `path:"@avg" ygotAnnotation:"true"` Instant *float64 `path:"instant" module:"openconfig-terminal-device"` ΛInstant []ygot.Annotation `path:"@instant" ygotAnnotation:"true"` Interval *uint64 `path:"interval" module:"openconfig-terminal-device"` ΛInterval []ygot.Annotation `path:"@interval" ygotAnnotation:"true"` Max *float64 `path:"max" module:"openconfig-terminal-device"` ΛMax []ygot.Annotation `path:"@max" ygotAnnotation:"true"` MaxTime *uint64 `path:"max-time" module:"openconfig-terminal-device"` ΛMaxTime []ygot.Annotation `path:"@max-time" ygotAnnotation:"true"` Min *float64 `path:"min" module:"openconfig-terminal-device"` ΛMin []ygot.Annotation `path:"@min" ygotAnnotation:"true"` MinTime *uint64 `path:"min-time" module:"openconfig-terminal-device"` ΛMinTime []ygot.Annotation `path:"@min-time" ygotAnnotation:"true"` }
OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower represents the /openconfig-platform/components/component/optical-channel/state/input-power YANG schema element.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower) GetAvg ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower) GetAvg() float64
GetAvg retrieves the value of the leaf Avg from the OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Avg is set, it can safely use t.GetAvg() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Avg == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower) GetInstant ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower) GetInstant() float64
GetInstant retrieves the value of the leaf Instant from the OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Instant is set, it can safely use t.GetInstant() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Instant == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower) GetInterval ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower) GetInterval() uint64
GetInterval retrieves the value of the leaf Interval from the OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interval is set, it can safely use t.GetInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interval == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower) GetMax ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower) GetMax() float64
GetMax retrieves the value of the leaf Max from the OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Max is set, it can safely use t.GetMax() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Max == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower) GetMaxTime ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower) GetMaxTime() uint64
GetMaxTime retrieves the value of the leaf MaxTime from the OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MaxTime is set, it can safely use t.GetMaxTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MaxTime == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower) GetMin ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower) GetMin() float64
GetMin retrieves the value of the leaf Min from the OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Min is set, it can safely use t.GetMin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Min == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower) GetMinTime ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower) GetMinTime() uint64
GetMinTime retrieves the value of the leaf MinTime from the OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MinTime is set, it can safely use t.GetMinTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MinTime == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower) Validate ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower) Λ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.
type OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent ¶
type OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Avg *float64 `path:"avg" module:"openconfig-terminal-device"` ΛAvg []ygot.Annotation `path:"@avg" ygotAnnotation:"true"` Instant *float64 `path:"instant" module:"openconfig-terminal-device"` ΛInstant []ygot.Annotation `path:"@instant" ygotAnnotation:"true"` Interval *uint64 `path:"interval" module:"openconfig-terminal-device"` ΛInterval []ygot.Annotation `path:"@interval" ygotAnnotation:"true"` Max *float64 `path:"max" module:"openconfig-terminal-device"` ΛMax []ygot.Annotation `path:"@max" ygotAnnotation:"true"` MaxTime *uint64 `path:"max-time" module:"openconfig-terminal-device"` ΛMaxTime []ygot.Annotation `path:"@max-time" ygotAnnotation:"true"` Min *float64 `path:"min" module:"openconfig-terminal-device"` ΛMin []ygot.Annotation `path:"@min" ygotAnnotation:"true"` MinTime *uint64 `path:"min-time" module:"openconfig-terminal-device"` ΛMinTime []ygot.Annotation `path:"@min-time" ygotAnnotation:"true"` }
OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent represents the /openconfig-platform/components/component/optical-channel/state/laser-bias-current YANG schema element.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent) GetAvg ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent) GetAvg() float64
GetAvg retrieves the value of the leaf Avg from the OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Avg is set, it can safely use t.GetAvg() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Avg == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent) GetInstant ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent) GetInstant() float64
GetInstant retrieves the value of the leaf Instant from the OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Instant is set, it can safely use t.GetInstant() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Instant == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent) GetInterval ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent) GetInterval() uint64
GetInterval retrieves the value of the leaf Interval from the OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interval is set, it can safely use t.GetInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interval == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent) GetMax ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent) GetMax() float64
GetMax retrieves the value of the leaf Max from the OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Max is set, it can safely use t.GetMax() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Max == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent) GetMaxTime ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent) GetMaxTime() uint64
GetMaxTime retrieves the value of the leaf MaxTime from the OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MaxTime is set, it can safely use t.GetMaxTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MaxTime == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent) GetMin ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent) GetMin() float64
GetMin retrieves the value of the leaf Min from the OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Min is set, it can safely use t.GetMin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Min == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent) GetMinTime ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent) GetMinTime() uint64
GetMinTime retrieves the value of the leaf MinTime from the OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MinTime is set, it can safely use t.GetMinTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MinTime == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent) Validate ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent) Λ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.
type OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower ¶
type OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Avg *float64 `path:"avg" module:"openconfig-terminal-device"` ΛAvg []ygot.Annotation `path:"@avg" ygotAnnotation:"true"` Instant *float64 `path:"instant" module:"openconfig-terminal-device"` ΛInstant []ygot.Annotation `path:"@instant" ygotAnnotation:"true"` Interval *uint64 `path:"interval" module:"openconfig-terminal-device"` ΛInterval []ygot.Annotation `path:"@interval" ygotAnnotation:"true"` Max *float64 `path:"max" module:"openconfig-terminal-device"` ΛMax []ygot.Annotation `path:"@max" ygotAnnotation:"true"` MaxTime *uint64 `path:"max-time" module:"openconfig-terminal-device"` ΛMaxTime []ygot.Annotation `path:"@max-time" ygotAnnotation:"true"` Min *float64 `path:"min" module:"openconfig-terminal-device"` ΛMin []ygot.Annotation `path:"@min" ygotAnnotation:"true"` MinTime *uint64 `path:"min-time" module:"openconfig-terminal-device"` ΛMinTime []ygot.Annotation `path:"@min-time" ygotAnnotation:"true"` }
OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower represents the /openconfig-platform/components/component/optical-channel/state/output-power YANG schema element.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower) GetAvg ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower) GetAvg() float64
GetAvg retrieves the value of the leaf Avg from the OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Avg is set, it can safely use t.GetAvg() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Avg == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower) GetInstant ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower) GetInstant() float64
GetInstant retrieves the value of the leaf Instant from the OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Instant is set, it can safely use t.GetInstant() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Instant == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower) GetInterval ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower) GetInterval() uint64
GetInterval retrieves the value of the leaf Interval from the OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interval is set, it can safely use t.GetInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interval == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower) GetMax ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower) GetMax() float64
GetMax retrieves the value of the leaf Max from the OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Max is set, it can safely use t.GetMax() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Max == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower) GetMaxTime ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower) GetMaxTime() uint64
GetMaxTime retrieves the value of the leaf MaxTime from the OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MaxTime is set, it can safely use t.GetMaxTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MaxTime == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower) GetMin ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower) GetMin() float64
GetMin retrieves the value of the leaf Min from the OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Min is set, it can safely use t.GetMin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Min == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower) GetMinTime ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower) GetMinTime() uint64
GetMinTime retrieves the value of the leaf MinTime from the OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MinTime is set, it can safely use t.GetMinTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MinTime == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower) Validate ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower) Λ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.
type OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss ¶
type OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Avg *float64 `path:"avg" module:"openconfig-terminal-device"` ΛAvg []ygot.Annotation `path:"@avg" ygotAnnotation:"true"` Instant *float64 `path:"instant" module:"openconfig-terminal-device"` ΛInstant []ygot.Annotation `path:"@instant" ygotAnnotation:"true"` Interval *uint64 `path:"interval" module:"openconfig-terminal-device"` ΛInterval []ygot.Annotation `path:"@interval" ygotAnnotation:"true"` Max *float64 `path:"max" module:"openconfig-terminal-device"` ΛMax []ygot.Annotation `path:"@max" ygotAnnotation:"true"` MaxTime *uint64 `path:"max-time" module:"openconfig-terminal-device"` ΛMaxTime []ygot.Annotation `path:"@max-time" ygotAnnotation:"true"` Min *float64 `path:"min" module:"openconfig-terminal-device"` ΛMin []ygot.Annotation `path:"@min" ygotAnnotation:"true"` MinTime *uint64 `path:"min-time" module:"openconfig-terminal-device"` ΛMinTime []ygot.Annotation `path:"@min-time" ygotAnnotation:"true"` }
OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss represents the /openconfig-platform/components/component/optical-channel/state/polarization-dependent-loss YANG schema element.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss) GetAvg ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss) GetAvg() float64
GetAvg retrieves the value of the leaf Avg from the OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Avg is set, it can safely use t.GetAvg() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Avg == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss) GetInstant ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss) GetInstant() float64
GetInstant retrieves the value of the leaf Instant from the OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Instant is set, it can safely use t.GetInstant() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Instant == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss) GetInterval ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss) GetInterval() uint64
GetInterval retrieves the value of the leaf Interval from the OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interval is set, it can safely use t.GetInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interval == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss) GetMax ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss) GetMax() float64
GetMax retrieves the value of the leaf Max from the OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Max is set, it can safely use t.GetMax() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Max == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss) GetMaxTime ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss) GetMaxTime() uint64
GetMaxTime retrieves the value of the leaf MaxTime from the OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MaxTime is set, it can safely use t.GetMaxTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MaxTime == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss) GetMin ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss) GetMin() float64
GetMin retrieves the value of the leaf Min from the OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Min is set, it can safely use t.GetMin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Min == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss) GetMinTime ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss) GetMinTime() uint64
GetMinTime retrieves the value of the leaf MinTime from the OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MinTime is set, it can safely use t.GetMinTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MinTime == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss) Validate ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss) Λ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.
type OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion ¶
type OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Avg *float64 `path:"avg" module:"openconfig-terminal-device"` ΛAvg []ygot.Annotation `path:"@avg" ygotAnnotation:"true"` Instant *float64 `path:"instant" module:"openconfig-terminal-device"` ΛInstant []ygot.Annotation `path:"@instant" ygotAnnotation:"true"` Interval *uint64 `path:"interval" module:"openconfig-terminal-device"` ΛInterval []ygot.Annotation `path:"@interval" ygotAnnotation:"true"` Max *float64 `path:"max" module:"openconfig-terminal-device"` ΛMax []ygot.Annotation `path:"@max" ygotAnnotation:"true"` MaxTime *uint64 `path:"max-time" module:"openconfig-terminal-device"` ΛMaxTime []ygot.Annotation `path:"@max-time" ygotAnnotation:"true"` Min *float64 `path:"min" module:"openconfig-terminal-device"` ΛMin []ygot.Annotation `path:"@min" ygotAnnotation:"true"` MinTime *uint64 `path:"min-time" module:"openconfig-terminal-device"` ΛMinTime []ygot.Annotation `path:"@min-time" ygotAnnotation:"true"` }
OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion represents the /openconfig-platform/components/component/optical-channel/state/polarization-mode-dispersion YANG schema element.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion) GetAvg ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion) GetAvg() float64
GetAvg retrieves the value of the leaf Avg from the OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Avg is set, it can safely use t.GetAvg() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Avg == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion) GetInstant ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion) GetInstant() float64
GetInstant retrieves the value of the leaf Instant from the OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Instant is set, it can safely use t.GetInstant() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Instant == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion) GetInterval ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion) GetInterval() uint64
GetInterval retrieves the value of the leaf Interval from the OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interval is set, it can safely use t.GetInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interval == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion) GetMax ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion) GetMax() float64
GetMax retrieves the value of the leaf Max from the OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Max is set, it can safely use t.GetMax() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Max == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion) GetMaxTime ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion) GetMaxTime() uint64
GetMaxTime retrieves the value of the leaf MaxTime from the OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MaxTime is set, it can safely use t.GetMaxTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MaxTime == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion) GetMin ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion) GetMin() float64
GetMin retrieves the value of the leaf Min from the OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Min is set, it can safely use t.GetMin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Min == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion) GetMinTime ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion) GetMinTime() uint64
GetMinTime retrieves the value of the leaf MinTime from the OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MinTime is set, it can safely use t.GetMinTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MinTime == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion) Validate ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion) Λ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.
type OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion ¶
type OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Avg *float64 `path:"avg" module:"openconfig-terminal-device"` ΛAvg []ygot.Annotation `path:"@avg" ygotAnnotation:"true"` Instant *float64 `path:"instant" module:"openconfig-terminal-device"` ΛInstant []ygot.Annotation `path:"@instant" ygotAnnotation:"true"` Interval *uint64 `path:"interval" module:"openconfig-terminal-device"` ΛInterval []ygot.Annotation `path:"@interval" ygotAnnotation:"true"` Max *float64 `path:"max" module:"openconfig-terminal-device"` ΛMax []ygot.Annotation `path:"@max" ygotAnnotation:"true"` MaxTime *uint64 `path:"max-time" module:"openconfig-terminal-device"` ΛMaxTime []ygot.Annotation `path:"@max-time" ygotAnnotation:"true"` Min *float64 `path:"min" module:"openconfig-terminal-device"` ΛMin []ygot.Annotation `path:"@min" ygotAnnotation:"true"` MinTime *uint64 `path:"min-time" module:"openconfig-terminal-device"` ΛMinTime []ygot.Annotation `path:"@min-time" ygotAnnotation:"true"` }
OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion represents the /openconfig-platform/components/component/optical-channel/state/second-order-polarization-mode-dispersion YANG schema element.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion) GetAvg ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion) GetAvg() float64
GetAvg retrieves the value of the leaf Avg from the OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Avg is set, it can safely use t.GetAvg() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Avg == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion) GetInstant ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion) GetInstant() float64
GetInstant retrieves the value of the leaf Instant from the OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Instant is set, it can safely use t.GetInstant() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Instant == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion) GetInterval ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion) GetInterval() uint64
GetInterval retrieves the value of the leaf Interval from the OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interval is set, it can safely use t.GetInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interval == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion) GetMax ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion) GetMax() float64
GetMax retrieves the value of the leaf Max from the OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Max is set, it can safely use t.GetMax() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Max == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion) GetMaxTime ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion) GetMaxTime() uint64
GetMaxTime retrieves the value of the leaf MaxTime from the OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MaxTime is set, it can safely use t.GetMaxTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MaxTime == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion) GetMin ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion) GetMin() float64
GetMin retrieves the value of the leaf Min from the OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Min is set, it can safely use t.GetMin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Min == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion) GetMinTime ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion) GetMinTime() uint64
GetMinTime retrieves the value of the leaf MinTime from the OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MinTime is set, it can safely use t.GetMinTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MinTime == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion) Validate ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion) Λ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.
type OpenconfigPlatform_Components_Component_Port ¶
type OpenconfigPlatform_Components_Component_Port struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` BreakoutMode *OpenconfigPlatform_Components_Component_Port_BreakoutMode `path:"breakout-mode" module:"openconfig-platform-port"` ΛBreakoutMode []ygot.Annotation `path:"@breakout-mode" ygotAnnotation:"true"` Config *OpenconfigPlatform_Components_Component_Port_Config `path:"config" module:"openconfig-platform"` ΛConfig []ygot.Annotation `path:"@config" ygotAnnotation:"true"` State *OpenconfigPlatform_Components_Component_Port_State `path:"state" module:"openconfig-platform"` ΛState []ygot.Annotation `path:"@state" ygotAnnotation:"true"` }
OpenconfigPlatform_Components_Component_Port represents the /openconfig-platform/components/component/port YANG schema element.
func (*OpenconfigPlatform_Components_Component_Port) GetBreakoutMode ¶
func (t *OpenconfigPlatform_Components_Component_Port) GetBreakoutMode() *OpenconfigPlatform_Components_Component_Port_BreakoutMode
GetBreakoutMode returns the value of the BreakoutMode struct pointer from OpenconfigPlatform_Components_Component_Port. If the receiver or the field BreakoutMode is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component_Port) GetConfig ¶
func (t *OpenconfigPlatform_Components_Component_Port) GetConfig() *OpenconfigPlatform_Components_Component_Port_Config
GetConfig returns the value of the Config struct pointer from OpenconfigPlatform_Components_Component_Port. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component_Port) GetOrCreateBreakoutMode ¶
func (t *OpenconfigPlatform_Components_Component_Port) GetOrCreateBreakoutMode() *OpenconfigPlatform_Components_Component_Port_BreakoutMode
GetOrCreateBreakoutMode retrieves the value of the BreakoutMode field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component_Port) GetOrCreateConfig ¶
func (t *OpenconfigPlatform_Components_Component_Port) GetOrCreateConfig() *OpenconfigPlatform_Components_Component_Port_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component_Port) GetOrCreateState ¶
func (t *OpenconfigPlatform_Components_Component_Port) GetOrCreateState() *OpenconfigPlatform_Components_Component_Port_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component_Port) GetState ¶
func (t *OpenconfigPlatform_Components_Component_Port) GetState() *OpenconfigPlatform_Components_Component_Port_State
GetState returns the value of the State struct pointer from OpenconfigPlatform_Components_Component_Port. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component_Port) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_Port) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_Port implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_Port) Validate ¶
func (t *OpenconfigPlatform_Components_Component_Port) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_Port) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_Port) Λ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.
type OpenconfigPlatform_Components_Component_Port_BreakoutMode ¶
type OpenconfigPlatform_Components_Component_Port_BreakoutMode struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Config *OpenconfigPlatform_Components_Component_Port_BreakoutMode_Config `path:"config" module:"openconfig-platform-port"` ΛConfig []ygot.Annotation `path:"@config" ygotAnnotation:"true"` State *OpenconfigPlatform_Components_Component_Port_BreakoutMode_State `path:"state" module:"openconfig-platform-port"` ΛState []ygot.Annotation `path:"@state" ygotAnnotation:"true"` }
OpenconfigPlatform_Components_Component_Port_BreakoutMode represents the /openconfig-platform/components/component/port/breakout-mode YANG schema element.
func (*OpenconfigPlatform_Components_Component_Port_BreakoutMode) GetConfig ¶
func (t *OpenconfigPlatform_Components_Component_Port_BreakoutMode) GetConfig() *OpenconfigPlatform_Components_Component_Port_BreakoutMode_Config
GetConfig returns the value of the Config struct pointer from OpenconfigPlatform_Components_Component_Port_BreakoutMode. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component_Port_BreakoutMode) GetOrCreateConfig ¶
func (t *OpenconfigPlatform_Components_Component_Port_BreakoutMode) GetOrCreateConfig() *OpenconfigPlatform_Components_Component_Port_BreakoutMode_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component_Port_BreakoutMode) GetOrCreateState ¶
func (t *OpenconfigPlatform_Components_Component_Port_BreakoutMode) GetOrCreateState() *OpenconfigPlatform_Components_Component_Port_BreakoutMode_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component_Port_BreakoutMode) GetState ¶
func (t *OpenconfigPlatform_Components_Component_Port_BreakoutMode) GetState() *OpenconfigPlatform_Components_Component_Port_BreakoutMode_State
GetState returns the value of the State struct pointer from OpenconfigPlatform_Components_Component_Port_BreakoutMode. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component_Port_BreakoutMode) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_Port_BreakoutMode) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_Port_BreakoutMode implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_Port_BreakoutMode) Validate ¶
func (t *OpenconfigPlatform_Components_Component_Port_BreakoutMode) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_Port_BreakoutMode) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_Port_BreakoutMode) Λ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.
type OpenconfigPlatform_Components_Component_Port_BreakoutMode_Config ¶
type OpenconfigPlatform_Components_Component_Port_BreakoutMode_Config struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` ChannelSpeed E_OpenconfigIfEthernet_ETHERNET_SPEED `path:"channel-speed" module:"openconfig-platform-port"` ΛChannelSpeed []ygot.Annotation `path:"@channel-speed" ygotAnnotation:"true"` NumChannels *uint8 `path:"num-channels" module:"openconfig-platform-port"` ΛNumChannels []ygot.Annotation `path:"@num-channels" ygotAnnotation:"true"` }
OpenconfigPlatform_Components_Component_Port_BreakoutMode_Config represents the /openconfig-platform/components/component/port/breakout-mode/config YANG schema element.
func (*OpenconfigPlatform_Components_Component_Port_BreakoutMode_Config) GetChannelSpeed ¶
func (t *OpenconfigPlatform_Components_Component_Port_BreakoutMode_Config) GetChannelSpeed() E_OpenconfigIfEthernet_ETHERNET_SPEED
GetChannelSpeed retrieves the value of the leaf ChannelSpeed from the OpenconfigPlatform_Components_Component_Port_BreakoutMode_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ChannelSpeed is set, it can safely use t.GetChannelSpeed() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ChannelSpeed == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Port_BreakoutMode_Config) GetNumChannels ¶
func (t *OpenconfigPlatform_Components_Component_Port_BreakoutMode_Config) GetNumChannels() uint8
GetNumChannels retrieves the value of the leaf NumChannels from the OpenconfigPlatform_Components_Component_Port_BreakoutMode_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if NumChannels is set, it can safely use t.GetNumChannels() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.NumChannels == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Port_BreakoutMode_Config) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_Port_BreakoutMode_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_Port_BreakoutMode_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_Port_BreakoutMode_Config) Validate ¶
func (t *OpenconfigPlatform_Components_Component_Port_BreakoutMode_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_Port_BreakoutMode_Config) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_Port_BreakoutMode_Config) Λ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.
type OpenconfigPlatform_Components_Component_Port_BreakoutMode_State ¶
type OpenconfigPlatform_Components_Component_Port_BreakoutMode_State struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` ChannelSpeed E_OpenconfigIfEthernet_ETHERNET_SPEED `path:"channel-speed" module:"openconfig-platform-port"` ΛChannelSpeed []ygot.Annotation `path:"@channel-speed" ygotAnnotation:"true"` NumChannels *uint8 `path:"num-channels" module:"openconfig-platform-port"` ΛNumChannels []ygot.Annotation `path:"@num-channels" ygotAnnotation:"true"` }
OpenconfigPlatform_Components_Component_Port_BreakoutMode_State represents the /openconfig-platform/components/component/port/breakout-mode/state YANG schema element.
func (*OpenconfigPlatform_Components_Component_Port_BreakoutMode_State) GetChannelSpeed ¶
func (t *OpenconfigPlatform_Components_Component_Port_BreakoutMode_State) GetChannelSpeed() E_OpenconfigIfEthernet_ETHERNET_SPEED
GetChannelSpeed retrieves the value of the leaf ChannelSpeed from the OpenconfigPlatform_Components_Component_Port_BreakoutMode_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ChannelSpeed is set, it can safely use t.GetChannelSpeed() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ChannelSpeed == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Port_BreakoutMode_State) GetNumChannels ¶
func (t *OpenconfigPlatform_Components_Component_Port_BreakoutMode_State) GetNumChannels() uint8
GetNumChannels retrieves the value of the leaf NumChannels from the OpenconfigPlatform_Components_Component_Port_BreakoutMode_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if NumChannels is set, it can safely use t.GetNumChannels() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.NumChannels == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Port_BreakoutMode_State) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_Port_BreakoutMode_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_Port_BreakoutMode_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_Port_BreakoutMode_State) Validate ¶
func (t *OpenconfigPlatform_Components_Component_Port_BreakoutMode_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_Port_BreakoutMode_State) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_Port_BreakoutMode_State) Λ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.
type OpenconfigPlatform_Components_Component_Port_Config ¶
type OpenconfigPlatform_Components_Component_Port_Config struct {
ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
}
OpenconfigPlatform_Components_Component_Port_Config represents the /openconfig-platform/components/component/port/config YANG schema element.
func (*OpenconfigPlatform_Components_Component_Port_Config) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_Port_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_Port_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_Port_Config) Validate ¶
func (t *OpenconfigPlatform_Components_Component_Port_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_Port_Config) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_Port_Config) Λ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.
type OpenconfigPlatform_Components_Component_Port_State ¶
type OpenconfigPlatform_Components_Component_Port_State struct {
ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
}
OpenconfigPlatform_Components_Component_Port_State represents the /openconfig-platform/components/component/port/state YANG schema element.
func (*OpenconfigPlatform_Components_Component_Port_State) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_Port_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_Port_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_Port_State) Validate ¶
func (t *OpenconfigPlatform_Components_Component_Port_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_Port_State) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_Port_State) Λ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.
type OpenconfigPlatform_Components_Component_PowerSupply ¶
type OpenconfigPlatform_Components_Component_PowerSupply struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Config *OpenconfigPlatform_Components_Component_PowerSupply_Config `path:"config" module:"openconfig-platform"` ΛConfig []ygot.Annotation `path:"@config" ygotAnnotation:"true"` State *OpenconfigPlatform_Components_Component_PowerSupply_State `path:"state" module:"openconfig-platform"` ΛState []ygot.Annotation `path:"@state" ygotAnnotation:"true"` }
OpenconfigPlatform_Components_Component_PowerSupply represents the /openconfig-platform/components/component/power-supply YANG schema element.
func (*OpenconfigPlatform_Components_Component_PowerSupply) GetConfig ¶
func (t *OpenconfigPlatform_Components_Component_PowerSupply) GetConfig() *OpenconfigPlatform_Components_Component_PowerSupply_Config
GetConfig returns the value of the Config struct pointer from OpenconfigPlatform_Components_Component_PowerSupply. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component_PowerSupply) GetOrCreateConfig ¶
func (t *OpenconfigPlatform_Components_Component_PowerSupply) GetOrCreateConfig() *OpenconfigPlatform_Components_Component_PowerSupply_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component_PowerSupply) GetOrCreateState ¶
func (t *OpenconfigPlatform_Components_Component_PowerSupply) GetOrCreateState() *OpenconfigPlatform_Components_Component_PowerSupply_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component_PowerSupply) GetState ¶
func (t *OpenconfigPlatform_Components_Component_PowerSupply) GetState() *OpenconfigPlatform_Components_Component_PowerSupply_State
GetState returns the value of the State struct pointer from OpenconfigPlatform_Components_Component_PowerSupply. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component_PowerSupply) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_PowerSupply) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_PowerSupply implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_PowerSupply) Validate ¶
func (t *OpenconfigPlatform_Components_Component_PowerSupply) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_PowerSupply) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_PowerSupply) Λ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.
type OpenconfigPlatform_Components_Component_PowerSupply_Config ¶
type OpenconfigPlatform_Components_Component_PowerSupply_Config struct {
ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
}
OpenconfigPlatform_Components_Component_PowerSupply_Config represents the /openconfig-platform/components/component/power-supply/config YANG schema element.
func (*OpenconfigPlatform_Components_Component_PowerSupply_Config) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_PowerSupply_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_PowerSupply_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_PowerSupply_Config) Validate ¶
func (t *OpenconfigPlatform_Components_Component_PowerSupply_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_PowerSupply_Config) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_PowerSupply_Config) Λ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.
type OpenconfigPlatform_Components_Component_PowerSupply_State ¶
type OpenconfigPlatform_Components_Component_PowerSupply_State struct {
ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
}
OpenconfigPlatform_Components_Component_PowerSupply_State represents the /openconfig-platform/components/component/power-supply/state YANG schema element.
func (*OpenconfigPlatform_Components_Component_PowerSupply_State) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_PowerSupply_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_PowerSupply_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_PowerSupply_State) Validate ¶
func (t *OpenconfigPlatform_Components_Component_PowerSupply_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_PowerSupply_State) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_PowerSupply_State) Λ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.
type OpenconfigPlatform_Components_Component_Properties ¶
type OpenconfigPlatform_Components_Component_Properties struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Property map[string]*OpenconfigPlatform_Components_Component_Properties_Property `path:"property" module:"openconfig-platform"` ΛProperty []ygot.Annotation `path:"@property" ygotAnnotation:"true"` }
OpenconfigPlatform_Components_Component_Properties represents the /openconfig-platform/components/component/properties YANG schema element.
func (*OpenconfigPlatform_Components_Component_Properties) AppendProperty ¶
func (t *OpenconfigPlatform_Components_Component_Properties) AppendProperty(v *OpenconfigPlatform_Components_Component_Properties_Property) error
AppendProperty appends the supplied OpenconfigPlatform_Components_Component_Properties_Property struct to the list Property of OpenconfigPlatform_Components_Component_Properties. If the key value(s) specified in the supplied OpenconfigPlatform_Components_Component_Properties_Property already exist in the list, an error is returned.
func (*OpenconfigPlatform_Components_Component_Properties) GetOrCreateProperty ¶
func (t *OpenconfigPlatform_Components_Component_Properties) GetOrCreateProperty(Name string) *OpenconfigPlatform_Components_Component_Properties_Property
GetOrCreateProperty retrieves the value with the specified keys from the receiver OpenconfigPlatform_Components_Component_Properties. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*OpenconfigPlatform_Components_Component_Properties) GetProperty ¶
func (t *OpenconfigPlatform_Components_Component_Properties) GetProperty(Name string) *OpenconfigPlatform_Components_Component_Properties_Property
GetProperty retrieves the value with the specified key from the Property map field of OpenconfigPlatform_Components_Component_Properties. 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 (*OpenconfigPlatform_Components_Component_Properties) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_Properties) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_Properties implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_Properties) NewProperty ¶
func (t *OpenconfigPlatform_Components_Component_Properties) NewProperty(Name string) (*OpenconfigPlatform_Components_Component_Properties_Property, error)
NewProperty creates a new entry in the Property list of the OpenconfigPlatform_Components_Component_Properties struct. The keys of the list are populated from the input arguments.
func (*OpenconfigPlatform_Components_Component_Properties) RenameProperty ¶
func (t *OpenconfigPlatform_Components_Component_Properties) RenameProperty(oldK, newK string) error
RenameProperty renames an entry in the list Property within the OpenconfigPlatform_Components_Component_Properties struct. The entry with key oldK is renamed to newK updating the key within the value.
func (*OpenconfigPlatform_Components_Component_Properties) Validate ¶
func (t *OpenconfigPlatform_Components_Component_Properties) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_Properties) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_Properties) Λ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.
type OpenconfigPlatform_Components_Component_Properties_Property ¶
type OpenconfigPlatform_Components_Component_Properties_Property struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Config *OpenconfigPlatform_Components_Component_Properties_Property_Config `path:"config" module:"openconfig-platform"` ΛConfig []ygot.Annotation `path:"@config" ygotAnnotation:"true"` Name *string `path:"name" module:"openconfig-platform"` ΛName []ygot.Annotation `path:"@name" ygotAnnotation:"true"` State *OpenconfigPlatform_Components_Component_Properties_Property_State `path:"state" module:"openconfig-platform"` ΛState []ygot.Annotation `path:"@state" ygotAnnotation:"true"` }
OpenconfigPlatform_Components_Component_Properties_Property represents the /openconfig-platform/components/component/properties/property YANG schema element.
func (*OpenconfigPlatform_Components_Component_Properties_Property) GetConfig ¶
func (t *OpenconfigPlatform_Components_Component_Properties_Property) GetConfig() *OpenconfigPlatform_Components_Component_Properties_Property_Config
GetConfig returns the value of the Config struct pointer from OpenconfigPlatform_Components_Component_Properties_Property. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component_Properties_Property) GetName ¶
func (t *OpenconfigPlatform_Components_Component_Properties_Property) GetName() string
GetName retrieves the value of the leaf Name from the OpenconfigPlatform_Components_Component_Properties_Property struct. Caution should be exercised whilst using this method since 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 (*OpenconfigPlatform_Components_Component_Properties_Property) GetOrCreateConfig ¶
func (t *OpenconfigPlatform_Components_Component_Properties_Property) GetOrCreateConfig() *OpenconfigPlatform_Components_Component_Properties_Property_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component_Properties_Property) GetOrCreateState ¶
func (t *OpenconfigPlatform_Components_Component_Properties_Property) GetOrCreateState() *OpenconfigPlatform_Components_Component_Properties_Property_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component_Properties_Property) GetState ¶
func (t *OpenconfigPlatform_Components_Component_Properties_Property) GetState() *OpenconfigPlatform_Components_Component_Properties_Property_State
GetState returns the value of the State struct pointer from OpenconfigPlatform_Components_Component_Properties_Property. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component_Properties_Property) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_Properties_Property) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_Properties_Property implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_Properties_Property) Validate ¶
func (t *OpenconfigPlatform_Components_Component_Properties_Property) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_Properties_Property) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_Properties_Property) Λ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 (*OpenconfigPlatform_Components_Component_Properties_Property) ΛListKeyMap ¶
func (t *OpenconfigPlatform_Components_Component_Properties_Property) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the OpenconfigPlatform_Components_Component_Properties_Property struct, which is a YANG list entry.
type OpenconfigPlatform_Components_Component_Properties_Property_Config ¶
type OpenconfigPlatform_Components_Component_Properties_Property_Config struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Name *string `path:"name" module:"openconfig-platform"` ΛName []ygot.Annotation `path:"@name" ygotAnnotation:"true"` Value OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union `path:"value" module:"openconfig-platform"` ΛValue []ygot.Annotation `path:"@value" ygotAnnotation:"true"` }
OpenconfigPlatform_Components_Component_Properties_Property_Config represents the /openconfig-platform/components/component/properties/property/config YANG schema element.
func (*OpenconfigPlatform_Components_Component_Properties_Property_Config) GetName ¶
func (t *OpenconfigPlatform_Components_Component_Properties_Property_Config) GetName() string
GetName retrieves the value of the leaf Name from the OpenconfigPlatform_Components_Component_Properties_Property_Config struct. Caution should be exercised whilst using this method since 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 (*OpenconfigPlatform_Components_Component_Properties_Property_Config) GetValue ¶
func (t *OpenconfigPlatform_Components_Component_Properties_Property_Config) GetValue() OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union
GetValue retrieves the value of the leaf Value from the OpenconfigPlatform_Components_Component_Properties_Property_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Value is set, it can safely use t.GetValue() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Value == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Properties_Property_Config) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_Properties_Property_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_Properties_Property_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_Properties_Property_Config) To_OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union ¶
func (t *OpenconfigPlatform_Components_Component_Properties_Property_Config) To_OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union(i interface{}) (OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union, error)
To_OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union takes an input interface{} and attempts to convert it to a struct which implements the OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union union. It returns an error if the interface{} supplied cannot be converted to a type within the union.
func (*OpenconfigPlatform_Components_Component_Properties_Property_Config) Validate ¶
func (t *OpenconfigPlatform_Components_Component_Properties_Property_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_Properties_Property_Config) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_Properties_Property_Config) Λ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.
type OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union ¶
type OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union interface {
Is_OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union()
}
OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union is an interface that is implemented by valid types for the union for the leaf /openconfig-platform/components/component/properties/property/config/value within the YANG schema.
type OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_Bool ¶
type OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_Bool struct {
Bool bool
}
OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_Bool is used when /openconfig-platform/components/component/properties/property/config/value is to be set to a bool value.
func (*OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_Bool) Is_OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union ¶
func (*OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_Bool) Is_OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union()
Is_OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union ensures that OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_Bool implements the OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union interface.
type OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_Float64 ¶
type OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_Float64 struct {
Float64 float64
}
OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_Float64 is used when /openconfig-platform/components/component/properties/property/config/value is to be set to a float64 value.
func (*OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_Float64) Is_OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union ¶
func (*OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_Float64) Is_OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union()
Is_OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union ensures that OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_Float64 implements the OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union interface.
type OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_Int64 ¶
type OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_Int64 struct {
Int64 int64
}
OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_Int64 is used when /openconfig-platform/components/component/properties/property/config/value is to be set to a int64 value.
func (*OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_Int64) Is_OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union ¶
func (*OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_Int64) Is_OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union()
Is_OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union ensures that OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_Int64 implements the OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union interface.
type OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_String ¶
type OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_String struct {
String string
}
OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_String is used when /openconfig-platform/components/component/properties/property/config/value is to be set to a string value.
func (*OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_String) Is_OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union ¶
func (*OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_String) Is_OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union()
Is_OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union ensures that OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_String implements the OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union interface.
type OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_Uint64 ¶
type OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_Uint64 struct {
Uint64 uint64
}
OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_Uint64 is used when /openconfig-platform/components/component/properties/property/config/value is to be set to a uint64 value.
func (*OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_Uint64) Is_OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union ¶
func (*OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_Uint64) Is_OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union()
Is_OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union ensures that OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_Uint64 implements the OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union interface.
type OpenconfigPlatform_Components_Component_Properties_Property_State ¶
type OpenconfigPlatform_Components_Component_Properties_Property_State struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Configurable *bool `path:"configurable" module:"openconfig-platform"` ΛConfigurable []ygot.Annotation `path:"@configurable" ygotAnnotation:"true"` Name *string `path:"name" module:"openconfig-platform"` ΛName []ygot.Annotation `path:"@name" ygotAnnotation:"true"` Value OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union `path:"value" module:"openconfig-platform"` ΛValue []ygot.Annotation `path:"@value" ygotAnnotation:"true"` }
OpenconfigPlatform_Components_Component_Properties_Property_State represents the /openconfig-platform/components/component/properties/property/state YANG schema element.
func (*OpenconfigPlatform_Components_Component_Properties_Property_State) GetConfigurable ¶
func (t *OpenconfigPlatform_Components_Component_Properties_Property_State) GetConfigurable() bool
GetConfigurable retrieves the value of the leaf Configurable from the OpenconfigPlatform_Components_Component_Properties_Property_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Configurable is set, it can safely use t.GetConfigurable() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Configurable == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Properties_Property_State) GetName ¶
func (t *OpenconfigPlatform_Components_Component_Properties_Property_State) GetName() string
GetName retrieves the value of the leaf Name from the OpenconfigPlatform_Components_Component_Properties_Property_State struct. Caution should be exercised whilst using this method since 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 (*OpenconfigPlatform_Components_Component_Properties_Property_State) GetValue ¶
func (t *OpenconfigPlatform_Components_Component_Properties_Property_State) GetValue() OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union
GetValue retrieves the value of the leaf Value from the OpenconfigPlatform_Components_Component_Properties_Property_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Value is set, it can safely use t.GetValue() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Value == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Properties_Property_State) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_Properties_Property_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_Properties_Property_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_Properties_Property_State) To_OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union ¶
func (t *OpenconfigPlatform_Components_Component_Properties_Property_State) To_OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union(i interface{}) (OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union, error)
To_OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union takes an input interface{} and attempts to convert it to a struct which implements the OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union union. It returns an error if the interface{} supplied cannot be converted to a type within the union.
func (*OpenconfigPlatform_Components_Component_Properties_Property_State) Validate ¶
func (t *OpenconfigPlatform_Components_Component_Properties_Property_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_Properties_Property_State) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_Properties_Property_State) Λ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.
type OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union ¶
type OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union interface {
Is_OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union()
}
OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union is an interface that is implemented by valid types for the union for the leaf /openconfig-platform/components/component/properties/property/state/value within the YANG schema.
type OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_Bool ¶
type OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_Bool struct {
Bool bool
}
OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_Bool is used when /openconfig-platform/components/component/properties/property/state/value is to be set to a bool value.
func (*OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_Bool) Is_OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union ¶
func (*OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_Bool) Is_OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union()
Is_OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union ensures that OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_Bool implements the OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union interface.
type OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_Float64 ¶
type OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_Float64 struct {
Float64 float64
}
OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_Float64 is used when /openconfig-platform/components/component/properties/property/state/value is to be set to a float64 value.
func (*OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_Float64) Is_OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union ¶
func (*OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_Float64) Is_OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union()
Is_OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union ensures that OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_Float64 implements the OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union interface.
type OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_Int64 ¶
type OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_Int64 struct {
Int64 int64
}
OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_Int64 is used when /openconfig-platform/components/component/properties/property/state/value is to be set to a int64 value.
func (*OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_Int64) Is_OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union ¶
func (*OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_Int64) Is_OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union()
Is_OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union ensures that OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_Int64 implements the OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union interface.
type OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_String ¶
type OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_String struct {
String string
}
OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_String is used when /openconfig-platform/components/component/properties/property/state/value is to be set to a string value.
func (*OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_String) Is_OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union ¶
func (*OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_String) Is_OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union()
Is_OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union ensures that OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_String implements the OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union interface.
type OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_Uint64 ¶
type OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_Uint64 struct {
Uint64 uint64
}
OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_Uint64 is used when /openconfig-platform/components/component/properties/property/state/value is to be set to a uint64 value.
func (*OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_Uint64) Is_OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union ¶
func (*OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_Uint64) Is_OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union()
Is_OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union ensures that OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_Uint64 implements the OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union interface.
type OpenconfigPlatform_Components_Component_State ¶
type OpenconfigPlatform_Components_Component_State struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` AllocatedPower *uint32 `path:"allocated-power" module:"openconfig-platform"` ΛAllocatedPower []ygot.Annotation `path:"@allocated-power" ygotAnnotation:"true"` Description *string `path:"description" module:"openconfig-platform"` ΛDescription []ygot.Annotation `path:"@description" ygotAnnotation:"true"` Empty *bool `path:"empty" module:"openconfig-platform"` ΛEmpty []ygot.Annotation `path:"@empty" ygotAnnotation:"true"` EquipmentFailure *bool `path:"equipment-failure" module:"openconfig-alarms"` ΛEquipmentFailure []ygot.Annotation `path:"@equipment-failure" ygotAnnotation:"true"` EquipmentMismatch *bool `path:"equipment-mismatch" module:"openconfig-alarms"` ΛEquipmentMismatch []ygot.Annotation `path:"@equipment-mismatch" ygotAnnotation:"true"` FirmwareVersion *string `path:"firmware-version" module:"openconfig-platform"` ΛFirmwareVersion []ygot.Annotation `path:"@firmware-version" ygotAnnotation:"true"` HardwareVersion *string `path:"hardware-version" module:"openconfig-platform"` ΛHardwareVersion []ygot.Annotation `path:"@hardware-version" ygotAnnotation:"true"` Id *string `path:"id" module:"openconfig-platform"` ΛId []ygot.Annotation `path:"@id" ygotAnnotation:"true"` Location *string `path:"location" module:"openconfig-platform"` ΛLocation []ygot.Annotation `path:"@location" ygotAnnotation:"true"` Memory *OpenconfigPlatform_Components_Component_State_Memory `path:"memory" module:"openconfig-platform"` ΛMemory []ygot.Annotation `path:"@memory" ygotAnnotation:"true"` MfgDate *string `path:"mfg-date" module:"openconfig-platform"` ΛMfgDate []ygot.Annotation `path:"@mfg-date" ygotAnnotation:"true"` MfgName *string `path:"mfg-name" module:"openconfig-platform"` ΛMfgName []ygot.Annotation `path:"@mfg-name" ygotAnnotation:"true"` Name *string `path:"name" module:"openconfig-platform"` ΛName []ygot.Annotation `path:"@name" ygotAnnotation:"true"` OperStatus E_OpenconfigPlatformTypes_COMPONENT_OPER_STATUS `path:"oper-status" module:"openconfig-platform"` ΛOperStatus []ygot.Annotation `path:"@oper-status" ygotAnnotation:"true"` Parent *string `path:"parent" module:"openconfig-platform"` ΛParent []ygot.Annotation `path:"@parent" ygotAnnotation:"true"` PartNo *string `path:"part-no" module:"openconfig-platform"` ΛPartNo []ygot.Annotation `path:"@part-no" ygotAnnotation:"true"` Removable *bool `path:"removable" module:"openconfig-platform"` ΛRemovable []ygot.Annotation `path:"@removable" ygotAnnotation:"true"` SerialNo *string `path:"serial-no" module:"openconfig-platform"` ΛSerialNo []ygot.Annotation `path:"@serial-no" ygotAnnotation:"true"` SoftwareVersion *string `path:"software-version" module:"openconfig-platform"` ΛSoftwareVersion []ygot.Annotation `path:"@software-version" ygotAnnotation:"true"` Temperature *OpenconfigPlatform_Components_Component_State_Temperature `path:"temperature" module:"openconfig-platform"` ΛTemperature []ygot.Annotation `path:"@temperature" ygotAnnotation:"true"` Type OpenconfigPlatform_Components_Component_State_Type_Union `path:"type" module:"openconfig-platform"` ΛType []ygot.Annotation `path:"@type" ygotAnnotation:"true"` UsedPower *uint32 `path:"used-power" module:"openconfig-platform"` ΛUsedPower []ygot.Annotation `path:"@used-power" ygotAnnotation:"true"` }
OpenconfigPlatform_Components_Component_State represents the /openconfig-platform/components/component/state YANG schema element.
func (*OpenconfigPlatform_Components_Component_State) GetAllocatedPower ¶
func (t *OpenconfigPlatform_Components_Component_State) GetAllocatedPower() uint32
GetAllocatedPower retrieves the value of the leaf AllocatedPower from the OpenconfigPlatform_Components_Component_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AllocatedPower is set, it can safely use t.GetAllocatedPower() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AllocatedPower == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_State) GetDescription ¶
func (t *OpenconfigPlatform_Components_Component_State) GetDescription() string
GetDescription retrieves the value of the leaf Description from the OpenconfigPlatform_Components_Component_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Description is set, it can safely use t.GetDescription() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Description == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_State) GetEmpty ¶
func (t *OpenconfigPlatform_Components_Component_State) GetEmpty() bool
GetEmpty retrieves the value of the leaf Empty from the OpenconfigPlatform_Components_Component_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Empty is set, it can safely use t.GetEmpty() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Empty == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_State) GetEquipmentFailure ¶
func (t *OpenconfigPlatform_Components_Component_State) GetEquipmentFailure() bool
GetEquipmentFailure retrieves the value of the leaf EquipmentFailure from the OpenconfigPlatform_Components_Component_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if EquipmentFailure is set, it can safely use t.GetEquipmentFailure() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.EquipmentFailure == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_State) GetEquipmentMismatch ¶
func (t *OpenconfigPlatform_Components_Component_State) GetEquipmentMismatch() bool
GetEquipmentMismatch retrieves the value of the leaf EquipmentMismatch from the OpenconfigPlatform_Components_Component_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if EquipmentMismatch is set, it can safely use t.GetEquipmentMismatch() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.EquipmentMismatch == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_State) GetFirmwareVersion ¶
func (t *OpenconfigPlatform_Components_Component_State) GetFirmwareVersion() string
GetFirmwareVersion retrieves the value of the leaf FirmwareVersion from the OpenconfigPlatform_Components_Component_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if FirmwareVersion is set, it can safely use t.GetFirmwareVersion() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.FirmwareVersion == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_State) GetHardwareVersion ¶
func (t *OpenconfigPlatform_Components_Component_State) GetHardwareVersion() string
GetHardwareVersion retrieves the value of the leaf HardwareVersion from the OpenconfigPlatform_Components_Component_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if HardwareVersion is set, it can safely use t.GetHardwareVersion() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.HardwareVersion == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_State) GetId ¶
func (t *OpenconfigPlatform_Components_Component_State) GetId() string
GetId retrieves the value of the leaf Id from the OpenconfigPlatform_Components_Component_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Id is set, it can safely use t.GetId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Id == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_State) GetLocation ¶
func (t *OpenconfigPlatform_Components_Component_State) GetLocation() string
GetLocation retrieves the value of the leaf Location from the OpenconfigPlatform_Components_Component_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Location is set, it can safely use t.GetLocation() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Location == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_State) GetMemory ¶
func (t *OpenconfigPlatform_Components_Component_State) GetMemory() *OpenconfigPlatform_Components_Component_State_Memory
GetMemory returns the value of the Memory struct pointer from OpenconfigPlatform_Components_Component_State. If the receiver or the field Memory is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component_State) GetMfgDate ¶
func (t *OpenconfigPlatform_Components_Component_State) GetMfgDate() string
GetMfgDate retrieves the value of the leaf MfgDate from the OpenconfigPlatform_Components_Component_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MfgDate is set, it can safely use t.GetMfgDate() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MfgDate == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_State) GetMfgName ¶
func (t *OpenconfigPlatform_Components_Component_State) GetMfgName() string
GetMfgName retrieves the value of the leaf MfgName from the OpenconfigPlatform_Components_Component_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MfgName is set, it can safely use t.GetMfgName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MfgName == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_State) GetName ¶
func (t *OpenconfigPlatform_Components_Component_State) GetName() string
GetName retrieves the value of the leaf Name from the OpenconfigPlatform_Components_Component_State struct. Caution should be exercised whilst using this method since 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 (*OpenconfigPlatform_Components_Component_State) GetOperStatus ¶
func (t *OpenconfigPlatform_Components_Component_State) GetOperStatus() E_OpenconfigPlatformTypes_COMPONENT_OPER_STATUS
GetOperStatus retrieves the value of the leaf OperStatus from the OpenconfigPlatform_Components_Component_State struct. Caution should be exercised whilst using this method since 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 (*OpenconfigPlatform_Components_Component_State) GetOrCreateMemory ¶
func (t *OpenconfigPlatform_Components_Component_State) GetOrCreateMemory() *OpenconfigPlatform_Components_Component_State_Memory
GetOrCreateMemory retrieves the value of the Memory field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component_State) GetOrCreateTemperature ¶
func (t *OpenconfigPlatform_Components_Component_State) GetOrCreateTemperature() *OpenconfigPlatform_Components_Component_State_Temperature
GetOrCreateTemperature retrieves the value of the Temperature field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component_State) GetParent ¶
func (t *OpenconfigPlatform_Components_Component_State) GetParent() string
GetParent retrieves the value of the leaf Parent from the OpenconfigPlatform_Components_Component_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Parent is set, it can safely use t.GetParent() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Parent == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_State) GetPartNo ¶
func (t *OpenconfigPlatform_Components_Component_State) GetPartNo() string
GetPartNo retrieves the value of the leaf PartNo from the OpenconfigPlatform_Components_Component_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if PartNo is set, it can safely use t.GetPartNo() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.PartNo == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_State) GetRemovable ¶
func (t *OpenconfigPlatform_Components_Component_State) GetRemovable() bool
GetRemovable retrieves the value of the leaf Removable from the OpenconfigPlatform_Components_Component_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Removable is set, it can safely use t.GetRemovable() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Removable == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_State) GetSerialNo ¶
func (t *OpenconfigPlatform_Components_Component_State) GetSerialNo() string
GetSerialNo retrieves the value of the leaf SerialNo from the OpenconfigPlatform_Components_Component_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SerialNo is set, it can safely use t.GetSerialNo() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SerialNo == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_State) GetSoftwareVersion ¶
func (t *OpenconfigPlatform_Components_Component_State) GetSoftwareVersion() string
GetSoftwareVersion retrieves the value of the leaf SoftwareVersion from the OpenconfigPlatform_Components_Component_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SoftwareVersion is set, it can safely use t.GetSoftwareVersion() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SoftwareVersion == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_State) GetTemperature ¶
func (t *OpenconfigPlatform_Components_Component_State) GetTemperature() *OpenconfigPlatform_Components_Component_State_Temperature
GetTemperature returns the value of the Temperature struct pointer from OpenconfigPlatform_Components_Component_State. If the receiver or the field Temperature is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component_State) GetType ¶
func (t *OpenconfigPlatform_Components_Component_State) GetType() OpenconfigPlatform_Components_Component_State_Type_Union
GetType retrieves the value of the leaf Type from the OpenconfigPlatform_Components_Component_State struct. Caution should be exercised whilst using this method since 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 (*OpenconfigPlatform_Components_Component_State) GetUsedPower ¶
func (t *OpenconfigPlatform_Components_Component_State) GetUsedPower() uint32
GetUsedPower retrieves the value of the leaf UsedPower from the OpenconfigPlatform_Components_Component_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if UsedPower is set, it can safely use t.GetUsedPower() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.UsedPower == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_State) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_State) To_OpenconfigPlatform_Components_Component_State_Type_Union ¶
func (t *OpenconfigPlatform_Components_Component_State) To_OpenconfigPlatform_Components_Component_State_Type_Union(i interface{}) (OpenconfigPlatform_Components_Component_State_Type_Union, error)
To_OpenconfigPlatform_Components_Component_State_Type_Union takes an input interface{} and attempts to convert it to a struct which implements the OpenconfigPlatform_Components_Component_State_Type_Union union. It returns an error if the interface{} supplied cannot be converted to a type within the union.
func (*OpenconfigPlatform_Components_Component_State) Validate ¶
func (t *OpenconfigPlatform_Components_Component_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_State) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_State) Λ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.
type OpenconfigPlatform_Components_Component_State_Memory ¶
type OpenconfigPlatform_Components_Component_State_Memory struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Available *uint64 `path:"available" module:"openconfig-platform"` ΛAvailable []ygot.Annotation `path:"@available" ygotAnnotation:"true"` Utilized *uint64 `path:"utilized" module:"openconfig-platform"` ΛUtilized []ygot.Annotation `path:"@utilized" ygotAnnotation:"true"` }
OpenconfigPlatform_Components_Component_State_Memory represents the /openconfig-platform/components/component/state/memory YANG schema element.
func (*OpenconfigPlatform_Components_Component_State_Memory) GetAvailable ¶
func (t *OpenconfigPlatform_Components_Component_State_Memory) GetAvailable() uint64
GetAvailable retrieves the value of the leaf Available from the OpenconfigPlatform_Components_Component_State_Memory struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Available is set, it can safely use t.GetAvailable() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Available == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_State_Memory) GetUtilized ¶
func (t *OpenconfigPlatform_Components_Component_State_Memory) GetUtilized() uint64
GetUtilized retrieves the value of the leaf Utilized from the OpenconfigPlatform_Components_Component_State_Memory struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Utilized is set, it can safely use t.GetUtilized() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Utilized == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_State_Memory) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_State_Memory) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_State_Memory implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_State_Memory) Validate ¶
func (t *OpenconfigPlatform_Components_Component_State_Memory) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_State_Memory) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_State_Memory) Λ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.
type OpenconfigPlatform_Components_Component_State_Temperature ¶
type OpenconfigPlatform_Components_Component_State_Temperature struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` AlarmSeverity E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY `path:"alarm-severity" module:"openconfig-platform"` ΛAlarmSeverity []ygot.Annotation `path:"@alarm-severity" ygotAnnotation:"true"` AlarmStatus *bool `path:"alarm-status" module:"openconfig-platform"` ΛAlarmStatus []ygot.Annotation `path:"@alarm-status" ygotAnnotation:"true"` AlarmThreshold *uint32 `path:"alarm-threshold" module:"openconfig-platform"` ΛAlarmThreshold []ygot.Annotation `path:"@alarm-threshold" ygotAnnotation:"true"` Avg *float64 `path:"avg" module:"openconfig-platform"` ΛAvg []ygot.Annotation `path:"@avg" ygotAnnotation:"true"` Instant *float64 `path:"instant" module:"openconfig-platform"` ΛInstant []ygot.Annotation `path:"@instant" ygotAnnotation:"true"` Interval *uint64 `path:"interval" module:"openconfig-platform"` ΛInterval []ygot.Annotation `path:"@interval" ygotAnnotation:"true"` Max *float64 `path:"max" module:"openconfig-platform"` ΛMax []ygot.Annotation `path:"@max" ygotAnnotation:"true"` MaxTime *uint64 `path:"max-time" module:"openconfig-platform"` ΛMaxTime []ygot.Annotation `path:"@max-time" ygotAnnotation:"true"` Min *float64 `path:"min" module:"openconfig-platform"` ΛMin []ygot.Annotation `path:"@min" ygotAnnotation:"true"` MinTime *uint64 `path:"min-time" module:"openconfig-platform"` ΛMinTime []ygot.Annotation `path:"@min-time" ygotAnnotation:"true"` }
OpenconfigPlatform_Components_Component_State_Temperature represents the /openconfig-platform/components/component/state/temperature YANG schema element.
func (*OpenconfigPlatform_Components_Component_State_Temperature) GetAlarmSeverity ¶
func (t *OpenconfigPlatform_Components_Component_State_Temperature) GetAlarmSeverity() E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY
GetAlarmSeverity retrieves the value of the leaf AlarmSeverity from the OpenconfigPlatform_Components_Component_State_Temperature struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AlarmSeverity is set, it can safely use t.GetAlarmSeverity() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AlarmSeverity == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_State_Temperature) GetAlarmStatus ¶
func (t *OpenconfigPlatform_Components_Component_State_Temperature) GetAlarmStatus() bool
GetAlarmStatus retrieves the value of the leaf AlarmStatus from the OpenconfigPlatform_Components_Component_State_Temperature struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AlarmStatus is set, it can safely use t.GetAlarmStatus() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AlarmStatus == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_State_Temperature) GetAlarmThreshold ¶
func (t *OpenconfigPlatform_Components_Component_State_Temperature) GetAlarmThreshold() uint32
GetAlarmThreshold retrieves the value of the leaf AlarmThreshold from the OpenconfigPlatform_Components_Component_State_Temperature struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AlarmThreshold is set, it can safely use t.GetAlarmThreshold() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AlarmThreshold == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_State_Temperature) GetAvg ¶
func (t *OpenconfigPlatform_Components_Component_State_Temperature) GetAvg() float64
GetAvg retrieves the value of the leaf Avg from the OpenconfigPlatform_Components_Component_State_Temperature struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Avg is set, it can safely use t.GetAvg() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Avg == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_State_Temperature) GetInstant ¶
func (t *OpenconfigPlatform_Components_Component_State_Temperature) GetInstant() float64
GetInstant retrieves the value of the leaf Instant from the OpenconfigPlatform_Components_Component_State_Temperature struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Instant is set, it can safely use t.GetInstant() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Instant == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_State_Temperature) GetInterval ¶
func (t *OpenconfigPlatform_Components_Component_State_Temperature) GetInterval() uint64
GetInterval retrieves the value of the leaf Interval from the OpenconfigPlatform_Components_Component_State_Temperature struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interval is set, it can safely use t.GetInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interval == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_State_Temperature) GetMax ¶
func (t *OpenconfigPlatform_Components_Component_State_Temperature) GetMax() float64
GetMax retrieves the value of the leaf Max from the OpenconfigPlatform_Components_Component_State_Temperature struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Max is set, it can safely use t.GetMax() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Max == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_State_Temperature) GetMaxTime ¶
func (t *OpenconfigPlatform_Components_Component_State_Temperature) GetMaxTime() uint64
GetMaxTime retrieves the value of the leaf MaxTime from the OpenconfigPlatform_Components_Component_State_Temperature struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MaxTime is set, it can safely use t.GetMaxTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MaxTime == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_State_Temperature) GetMin ¶
func (t *OpenconfigPlatform_Components_Component_State_Temperature) GetMin() float64
GetMin retrieves the value of the leaf Min from the OpenconfigPlatform_Components_Component_State_Temperature struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Min is set, it can safely use t.GetMin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Min == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_State_Temperature) GetMinTime ¶
func (t *OpenconfigPlatform_Components_Component_State_Temperature) GetMinTime() uint64
GetMinTime retrieves the value of the leaf MinTime from the OpenconfigPlatform_Components_Component_State_Temperature struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MinTime is set, it can safely use t.GetMinTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MinTime == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_State_Temperature) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_State_Temperature) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_State_Temperature implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_State_Temperature) Validate ¶
func (t *OpenconfigPlatform_Components_Component_State_Temperature) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_State_Temperature) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_State_Temperature) Λ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.
type OpenconfigPlatform_Components_Component_State_Type_Union ¶
type OpenconfigPlatform_Components_Component_State_Type_Union interface {
Is_OpenconfigPlatform_Components_Component_State_Type_Union()
}
OpenconfigPlatform_Components_Component_State_Type_Union is an interface that is implemented by valid types for the union for the leaf /openconfig-platform/components/component/state/type within the YANG schema.
type OpenconfigPlatform_Components_Component_State_Type_Union_E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT ¶
type OpenconfigPlatform_Components_Component_State_Type_Union_E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT struct {
E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT
}
OpenconfigPlatform_Components_Component_State_Type_Union_E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT is used when /openconfig-platform/components/component/state/type is to be set to a E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT value.
func (*OpenconfigPlatform_Components_Component_State_Type_Union_E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT) Is_OpenconfigPlatform_Components_Component_State_Type_Union ¶
func (*OpenconfigPlatform_Components_Component_State_Type_Union_E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT) Is_OpenconfigPlatform_Components_Component_State_Type_Union()
Is_OpenconfigPlatform_Components_Component_State_Type_Union ensures that OpenconfigPlatform_Components_Component_State_Type_Union_E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT implements the OpenconfigPlatform_Components_Component_State_Type_Union interface.
type OpenconfigPlatform_Components_Component_State_Type_Union_E_OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT ¶
type OpenconfigPlatform_Components_Component_State_Type_Union_E_OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT struct {
E_OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT E_OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT
}
OpenconfigPlatform_Components_Component_State_Type_Union_E_OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT is used when /openconfig-platform/components/component/state/type is to be set to a E_OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT value.
func (*OpenconfigPlatform_Components_Component_State_Type_Union_E_OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT) Is_OpenconfigPlatform_Components_Component_State_Type_Union ¶
func (*OpenconfigPlatform_Components_Component_State_Type_Union_E_OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT) Is_OpenconfigPlatform_Components_Component_State_Type_Union()
Is_OpenconfigPlatform_Components_Component_State_Type_Union ensures that OpenconfigPlatform_Components_Component_State_Type_Union_E_OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT implements the OpenconfigPlatform_Components_Component_State_Type_Union interface.
type OpenconfigPlatform_Components_Component_Storage ¶
type OpenconfigPlatform_Components_Component_Storage struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Config *OpenconfigPlatform_Components_Component_Storage_Config `path:"config" module:"openconfig-platform"` ΛConfig []ygot.Annotation `path:"@config" ygotAnnotation:"true"` State *OpenconfigPlatform_Components_Component_Storage_State `path:"state" module:"openconfig-platform"` ΛState []ygot.Annotation `path:"@state" ygotAnnotation:"true"` }
OpenconfigPlatform_Components_Component_Storage represents the /openconfig-platform/components/component/storage YANG schema element.
func (*OpenconfigPlatform_Components_Component_Storage) GetConfig ¶
func (t *OpenconfigPlatform_Components_Component_Storage) GetConfig() *OpenconfigPlatform_Components_Component_Storage_Config
GetConfig returns the value of the Config struct pointer from OpenconfigPlatform_Components_Component_Storage. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component_Storage) GetOrCreateConfig ¶
func (t *OpenconfigPlatform_Components_Component_Storage) GetOrCreateConfig() *OpenconfigPlatform_Components_Component_Storage_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component_Storage) GetOrCreateState ¶
func (t *OpenconfigPlatform_Components_Component_Storage) GetOrCreateState() *OpenconfigPlatform_Components_Component_Storage_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component_Storage) GetState ¶
func (t *OpenconfigPlatform_Components_Component_Storage) GetState() *OpenconfigPlatform_Components_Component_Storage_State
GetState returns the value of the State struct pointer from OpenconfigPlatform_Components_Component_Storage. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component_Storage) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_Storage) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_Storage implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_Storage) Validate ¶
func (t *OpenconfigPlatform_Components_Component_Storage) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_Storage) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_Storage) Λ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.
type OpenconfigPlatform_Components_Component_Storage_Config ¶
type OpenconfigPlatform_Components_Component_Storage_Config struct {
ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
}
OpenconfigPlatform_Components_Component_Storage_Config represents the /openconfig-platform/components/component/storage/config YANG schema element.
func (*OpenconfigPlatform_Components_Component_Storage_Config) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_Storage_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_Storage_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_Storage_Config) Validate ¶
func (t *OpenconfigPlatform_Components_Component_Storage_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_Storage_Config) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_Storage_Config) Λ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.
type OpenconfigPlatform_Components_Component_Storage_State ¶
type OpenconfigPlatform_Components_Component_Storage_State struct {
ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
}
OpenconfigPlatform_Components_Component_Storage_State represents the /openconfig-platform/components/component/storage/state YANG schema element.
func (*OpenconfigPlatform_Components_Component_Storage_State) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_Storage_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_Storage_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_Storage_State) Validate ¶
func (t *OpenconfigPlatform_Components_Component_Storage_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_Storage_State) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_Storage_State) Λ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.
type OpenconfigPlatform_Components_Component_Subcomponents ¶
type OpenconfigPlatform_Components_Component_Subcomponents struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Subcomponent map[string]*OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent `path:"subcomponent" module:"openconfig-platform"` ΛSubcomponent []ygot.Annotation `path:"@subcomponent" ygotAnnotation:"true"` }
OpenconfigPlatform_Components_Component_Subcomponents represents the /openconfig-platform/components/component/subcomponents YANG schema element.
func (*OpenconfigPlatform_Components_Component_Subcomponents) AppendSubcomponent ¶
func (t *OpenconfigPlatform_Components_Component_Subcomponents) AppendSubcomponent(v *OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent) error
AppendSubcomponent appends the supplied OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent struct to the list Subcomponent of OpenconfigPlatform_Components_Component_Subcomponents. If the key value(s) specified in the supplied OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent already exist in the list, an error is returned.
func (*OpenconfigPlatform_Components_Component_Subcomponents) GetOrCreateSubcomponent ¶
func (t *OpenconfigPlatform_Components_Component_Subcomponents) GetOrCreateSubcomponent(Name string) *OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent
GetOrCreateSubcomponent retrieves the value with the specified keys from the receiver OpenconfigPlatform_Components_Component_Subcomponents. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*OpenconfigPlatform_Components_Component_Subcomponents) GetSubcomponent ¶
func (t *OpenconfigPlatform_Components_Component_Subcomponents) GetSubcomponent(Name string) *OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent
GetSubcomponent retrieves the value with the specified key from the Subcomponent map field of OpenconfigPlatform_Components_Component_Subcomponents. 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 (*OpenconfigPlatform_Components_Component_Subcomponents) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_Subcomponents) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_Subcomponents implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_Subcomponents) NewSubcomponent ¶
func (t *OpenconfigPlatform_Components_Component_Subcomponents) NewSubcomponent(Name string) (*OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent, error)
NewSubcomponent creates a new entry in the Subcomponent list of the OpenconfigPlatform_Components_Component_Subcomponents struct. The keys of the list are populated from the input arguments.
func (*OpenconfigPlatform_Components_Component_Subcomponents) RenameSubcomponent ¶
func (t *OpenconfigPlatform_Components_Component_Subcomponents) RenameSubcomponent(oldK, newK string) error
RenameSubcomponent renames an entry in the list Subcomponent within the OpenconfigPlatform_Components_Component_Subcomponents struct. The entry with key oldK is renamed to newK updating the key within the value.
func (*OpenconfigPlatform_Components_Component_Subcomponents) Validate ¶
func (t *OpenconfigPlatform_Components_Component_Subcomponents) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_Subcomponents) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_Subcomponents) Λ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.
type OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent ¶
type OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Config *OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_Config `path:"config" module:"openconfig-platform"` ΛConfig []ygot.Annotation `path:"@config" ygotAnnotation:"true"` Name *string `path:"name" module:"openconfig-platform"` ΛName []ygot.Annotation `path:"@name" ygotAnnotation:"true"` State *OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_State `path:"state" module:"openconfig-platform"` ΛState []ygot.Annotation `path:"@state" ygotAnnotation:"true"` }
OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent represents the /openconfig-platform/components/component/subcomponents/subcomponent YANG schema element.
func (*OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent) GetConfig ¶
func (t *OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent) GetConfig() *OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_Config
GetConfig returns the value of the Config struct pointer from OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent) GetName ¶
func (t *OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent) GetName() string
GetName retrieves the value of the leaf Name from the OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent struct. Caution should be exercised whilst using this method since 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 (*OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent) GetOrCreateConfig ¶
func (t *OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent) GetOrCreateConfig() *OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent) GetOrCreateState ¶
func (t *OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent) GetOrCreateState() *OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent) GetState ¶
func (t *OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent) GetState() *OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_State
GetState returns the value of the State struct pointer from OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent) Validate ¶
func (t *OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent) Λ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 (*OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent) ΛListKeyMap ¶
func (t *OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent struct, which is a YANG list entry.
type OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_Config ¶
type OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_Config struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Name *string `path:"name" module:"openconfig-platform"` ΛName []ygot.Annotation `path:"@name" ygotAnnotation:"true"` }
OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_Config represents the /openconfig-platform/components/component/subcomponents/subcomponent/config YANG schema element.
func (*OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_Config) GetName ¶
func (t *OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_Config) GetName() string
GetName retrieves the value of the leaf Name from the OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_Config struct. Caution should be exercised whilst using this method since 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 (*OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_Config) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_Config) Validate ¶
func (t *OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_Config) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_Config) Λ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.
type OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_State ¶
type OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_State struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Name *string `path:"name" module:"openconfig-platform"` ΛName []ygot.Annotation `path:"@name" ygotAnnotation:"true"` }
OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_State represents the /openconfig-platform/components/component/subcomponents/subcomponent/state YANG schema element.
func (*OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_State) GetName ¶
func (t *OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_State) GetName() string
GetName retrieves the value of the leaf Name from the OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_State struct. Caution should be exercised whilst using this method since 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 (*OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_State) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_State) Validate ¶
func (t *OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_State) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_State) Λ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.
type OpenconfigPlatform_Components_Component_Transceiver ¶
type OpenconfigPlatform_Components_Component_Transceiver struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Config *OpenconfigPlatform_Components_Component_Transceiver_Config `path:"config" module:"openconfig-platform-transceiver"` ΛConfig []ygot.Annotation `path:"@config" ygotAnnotation:"true"` PhysicalChannels *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels `path:"physical-channels" module:"openconfig-platform-transceiver"` ΛPhysicalChannels []ygot.Annotation `path:"@physical-channels" ygotAnnotation:"true"` State *OpenconfigPlatform_Components_Component_Transceiver_State `path:"state" module:"openconfig-platform-transceiver"` ΛState []ygot.Annotation `path:"@state" ygotAnnotation:"true"` }
OpenconfigPlatform_Components_Component_Transceiver represents the /openconfig-platform/components/component/transceiver YANG schema element.
func (*OpenconfigPlatform_Components_Component_Transceiver) GetConfig ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver) GetConfig() *OpenconfigPlatform_Components_Component_Transceiver_Config
GetConfig returns the value of the Config struct pointer from OpenconfigPlatform_Components_Component_Transceiver. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component_Transceiver) GetOrCreateConfig ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver) GetOrCreateConfig() *OpenconfigPlatform_Components_Component_Transceiver_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component_Transceiver) GetOrCreatePhysicalChannels ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver) GetOrCreatePhysicalChannels() *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels
GetOrCreatePhysicalChannels retrieves the value of the PhysicalChannels field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component_Transceiver) GetOrCreateState ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver) GetOrCreateState() *OpenconfigPlatform_Components_Component_Transceiver_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component_Transceiver) GetPhysicalChannels ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver) GetPhysicalChannels() *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels
GetPhysicalChannels returns the value of the PhysicalChannels struct pointer from OpenconfigPlatform_Components_Component_Transceiver. If the receiver or the field PhysicalChannels is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component_Transceiver) GetState ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver) GetState() *OpenconfigPlatform_Components_Component_Transceiver_State
GetState returns the value of the State struct pointer from OpenconfigPlatform_Components_Component_Transceiver. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component_Transceiver) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_Transceiver) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_Transceiver implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_Transceiver) Validate ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_Transceiver) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver) Λ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.
type OpenconfigPlatform_Components_Component_Transceiver_Config ¶
type OpenconfigPlatform_Components_Component_Transceiver_Config struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Enabled *bool `path:"enabled" module:"openconfig-platform-transceiver"` ΛEnabled []ygot.Annotation `path:"@enabled" ygotAnnotation:"true"` EthernetPmdPreconf E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE `path:"ethernet-pmd-preconf" module:"openconfig-platform-transceiver"` ΛEthernetPmdPreconf []ygot.Annotation `path:"@ethernet-pmd-preconf" ygotAnnotation:"true"` FecMode E_OpenconfigPlatformTypes_FEC_MODE_TYPE `path:"fec-mode" module:"openconfig-platform-transceiver"` ΛFecMode []ygot.Annotation `path:"@fec-mode" ygotAnnotation:"true"` FormFactorPreconf E_OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE `path:"form-factor-preconf" module:"openconfig-platform-transceiver"` ΛFormFactorPreconf []ygot.Annotation `path:"@form-factor-preconf" ygotAnnotation:"true"` }
OpenconfigPlatform_Components_Component_Transceiver_Config represents the /openconfig-platform/components/component/transceiver/config YANG schema element.
func (*OpenconfigPlatform_Components_Component_Transceiver_Config) GetEnabled ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_Config) GetEnabled() bool
GetEnabled retrieves the value of the leaf Enabled from the OpenconfigPlatform_Components_Component_Transceiver_Config struct. Caution should be exercised whilst using this method since 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 (*OpenconfigPlatform_Components_Component_Transceiver_Config) GetEthernetPmdPreconf ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_Config) GetEthernetPmdPreconf() E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE
GetEthernetPmdPreconf retrieves the value of the leaf EthernetPmdPreconf from the OpenconfigPlatform_Components_Component_Transceiver_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if EthernetPmdPreconf is set, it can safely use t.GetEthernetPmdPreconf() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.EthernetPmdPreconf == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_Config) GetFecMode ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_Config) GetFecMode() E_OpenconfigPlatformTypes_FEC_MODE_TYPE
GetFecMode retrieves the value of the leaf FecMode from the OpenconfigPlatform_Components_Component_Transceiver_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if FecMode is set, it can safely use t.GetFecMode() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.FecMode == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_Config) GetFormFactorPreconf ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_Config) GetFormFactorPreconf() E_OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE
GetFormFactorPreconf retrieves the value of the leaf FormFactorPreconf from the OpenconfigPlatform_Components_Component_Transceiver_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if FormFactorPreconf is set, it can safely use t.GetFormFactorPreconf() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.FormFactorPreconf == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_Config) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_Transceiver_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_Transceiver_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_Transceiver_Config) Validate ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_Transceiver_Config) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_Config) Λ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.
type OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels ¶
type OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Channel map[uint16]*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel `path:"channel" module:"openconfig-platform-transceiver"` ΛChannel []ygot.Annotation `path:"@channel" ygotAnnotation:"true"` }
OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels represents the /openconfig-platform/components/component/transceiver/physical-channels YANG schema element.
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels) AppendChannel ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels) AppendChannel(v *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel) error
AppendChannel appends the supplied OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel struct to the list Channel of OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels. If the key value(s) specified in the supplied OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel already exist in the list, an error is returned.
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels) GetChannel ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels) GetChannel(Index uint16) *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel
GetChannel retrieves the value with the specified key from the Channel map field of OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels. 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 (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels) GetOrCreateChannel ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels) GetOrCreateChannel(Index uint16) *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel
GetOrCreateChannel retrieves the value with the specified keys from the receiver OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels) NewChannel ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels) NewChannel(Index uint16) (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel, error)
NewChannel creates a new entry in the Channel list of the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels struct. The keys of the list are populated from the input arguments.
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels) RenameChannel ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels) RenameChannel(oldK, newK uint16) error
RenameChannel renames an entry in the list Channel within the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels struct. The entry with key oldK is renamed to newK updating the key within the value.
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels) Validate ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels) Λ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.
type OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel ¶
type OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Config *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_Config `path:"config" module:"openconfig-platform-transceiver"` ΛConfig []ygot.Annotation `path:"@config" ygotAnnotation:"true"` Index *uint16 `path:"index" module:"openconfig-platform-transceiver"` ΛIndex []ygot.Annotation `path:"@index" ygotAnnotation:"true"` State *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State `path:"state" module:"openconfig-platform-transceiver"` ΛState []ygot.Annotation `path:"@state" ygotAnnotation:"true"` }
OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel represents the /openconfig-platform/components/component/transceiver/physical-channels/channel YANG schema element.
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel) GetConfig ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel) GetConfig() *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_Config
GetConfig returns the value of the Config struct pointer from OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel) GetIndex ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel) GetIndex() uint16
GetIndex retrieves the value of the leaf Index from the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel struct. Caution should be exercised whilst using this method since 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 (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel) GetOrCreateConfig ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel) GetOrCreateConfig() *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel) GetOrCreateState ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel) GetOrCreateState() *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel) GetState ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel) GetState() *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State
GetState returns the value of the State struct pointer from OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel) Validate ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel) Λ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 (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel) ΛListKeyMap ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel struct, which is a YANG list entry.
type OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_Config ¶
type OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_Config struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Description *string `path:"description" module:"openconfig-platform-transceiver"` ΛDescription []ygot.Annotation `path:"@description" ygotAnnotation:"true"` Index *uint16 `path:"index" module:"openconfig-platform-transceiver"` ΛIndex []ygot.Annotation `path:"@index" ygotAnnotation:"true"` TargetOutputPower *float64 `path:"target-output-power" module:"openconfig-platform-transceiver"` ΛTargetOutputPower []ygot.Annotation `path:"@target-output-power" ygotAnnotation:"true"` TxLaser *bool `path:"tx-laser" module:"openconfig-platform-transceiver"` ΛTxLaser []ygot.Annotation `path:"@tx-laser" ygotAnnotation:"true"` }
OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_Config represents the /openconfig-platform/components/component/transceiver/physical-channels/channel/config YANG schema element.
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_Config) GetDescription ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_Config) GetDescription() string
GetDescription retrieves the value of the leaf Description from the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Description is set, it can safely use t.GetDescription() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Description == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_Config) GetIndex ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_Config) GetIndex() uint16
GetIndex retrieves the value of the leaf Index from the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_Config struct. Caution should be exercised whilst using this method since 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 (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_Config) GetTargetOutputPower ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_Config) GetTargetOutputPower() float64
GetTargetOutputPower retrieves the value of the leaf TargetOutputPower from the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TargetOutputPower is set, it can safely use t.GetTargetOutputPower() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TargetOutputPower == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_Config) GetTxLaser ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_Config) GetTxLaser() bool
GetTxLaser retrieves the value of the leaf TxLaser from the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TxLaser is set, it can safely use t.GetTxLaser() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TxLaser == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_Config) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_Config) Validate ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_Config) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_Config) Λ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.
type OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State ¶
type OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Description *string `path:"description" module:"openconfig-platform-transceiver"` ΛDescription []ygot.Annotation `path:"@description" ygotAnnotation:"true"` Index *uint16 `path:"index" module:"openconfig-platform-transceiver"` ΛIndex []ygot.Annotation `path:"@index" ygotAnnotation:"true"` InputPower *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower `path:"input-power" module:"openconfig-platform-transceiver"` ΛInputPower []ygot.Annotation `path:"@input-power" ygotAnnotation:"true"` LaserBiasCurrent *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent `path:"laser-bias-current" module:"openconfig-platform-transceiver"` ΛLaserBiasCurrent []ygot.Annotation `path:"@laser-bias-current" ygotAnnotation:"true"` OutputFrequency *uint64 `path:"output-frequency" module:"openconfig-platform-transceiver"` ΛOutputFrequency []ygot.Annotation `path:"@output-frequency" ygotAnnotation:"true"` OutputPower *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower `path:"output-power" module:"openconfig-platform-transceiver"` ΛOutputPower []ygot.Annotation `path:"@output-power" ygotAnnotation:"true"` TargetOutputPower *float64 `path:"target-output-power" module:"openconfig-platform-transceiver"` ΛTargetOutputPower []ygot.Annotation `path:"@target-output-power" ygotAnnotation:"true"` TxLaser *bool `path:"tx-laser" module:"openconfig-platform-transceiver"` ΛTxLaser []ygot.Annotation `path:"@tx-laser" ygotAnnotation:"true"` }
OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State represents the /openconfig-platform/components/component/transceiver/physical-channels/channel/state YANG schema element.
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State) GetDescription ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State) GetDescription() string
GetDescription retrieves the value of the leaf Description from the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Description is set, it can safely use t.GetDescription() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Description == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State) GetIndex ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State) GetIndex() uint16
GetIndex retrieves the value of the leaf Index from the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State struct. Caution should be exercised whilst using this method since 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 (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State) GetInputPower ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State) GetInputPower() *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower
GetInputPower returns the value of the InputPower struct pointer from OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State. If the receiver or the field InputPower is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State) GetLaserBiasCurrent ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State) GetLaserBiasCurrent() *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent
GetLaserBiasCurrent returns the value of the LaserBiasCurrent struct pointer from OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State. If the receiver or the field LaserBiasCurrent is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State) GetOrCreateInputPower ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State) GetOrCreateInputPower() *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower
GetOrCreateInputPower retrieves the value of the InputPower field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State) GetOrCreateLaserBiasCurrent ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State) GetOrCreateLaserBiasCurrent() *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent
GetOrCreateLaserBiasCurrent retrieves the value of the LaserBiasCurrent field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State) GetOrCreateOutputPower ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State) GetOrCreateOutputPower() *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower
GetOrCreateOutputPower retrieves the value of the OutputPower field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State) GetOutputFrequency ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State) GetOutputFrequency() uint64
GetOutputFrequency retrieves the value of the leaf OutputFrequency from the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutputFrequency is set, it can safely use t.GetOutputFrequency() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutputFrequency == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State) GetOutputPower ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State) GetOutputPower() *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower
GetOutputPower returns the value of the OutputPower struct pointer from OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State. If the receiver or the field OutputPower is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State) GetTargetOutputPower ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State) GetTargetOutputPower() float64
GetTargetOutputPower retrieves the value of the leaf TargetOutputPower from the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TargetOutputPower is set, it can safely use t.GetTargetOutputPower() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TargetOutputPower == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State) GetTxLaser ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State) GetTxLaser() bool
GetTxLaser retrieves the value of the leaf TxLaser from the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TxLaser is set, it can safely use t.GetTxLaser() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TxLaser == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State) Validate ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State) Λ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.
type OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower ¶
type OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Avg *float64 `path:"avg" module:"openconfig-platform-transceiver"` ΛAvg []ygot.Annotation `path:"@avg" ygotAnnotation:"true"` Instant *float64 `path:"instant" module:"openconfig-platform-transceiver"` ΛInstant []ygot.Annotation `path:"@instant" ygotAnnotation:"true"` Interval *uint64 `path:"interval" module:"openconfig-platform-transceiver"` ΛInterval []ygot.Annotation `path:"@interval" ygotAnnotation:"true"` Max *float64 `path:"max" module:"openconfig-platform-transceiver"` ΛMax []ygot.Annotation `path:"@max" ygotAnnotation:"true"` MaxTime *uint64 `path:"max-time" module:"openconfig-platform-transceiver"` ΛMaxTime []ygot.Annotation `path:"@max-time" ygotAnnotation:"true"` Min *float64 `path:"min" module:"openconfig-platform-transceiver"` ΛMin []ygot.Annotation `path:"@min" ygotAnnotation:"true"` MinTime *uint64 `path:"min-time" module:"openconfig-platform-transceiver"` ΛMinTime []ygot.Annotation `path:"@min-time" ygotAnnotation:"true"` }
OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower represents the /openconfig-platform/components/component/transceiver/physical-channels/channel/state/input-power YANG schema element.
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower) GetAvg ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower) GetAvg() float64
GetAvg retrieves the value of the leaf Avg from the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Avg is set, it can safely use t.GetAvg() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Avg == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower) GetInstant ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower) GetInstant() float64
GetInstant retrieves the value of the leaf Instant from the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Instant is set, it can safely use t.GetInstant() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Instant == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower) GetInterval ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower) GetInterval() uint64
GetInterval retrieves the value of the leaf Interval from the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interval is set, it can safely use t.GetInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interval == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower) GetMax ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower) GetMax() float64
GetMax retrieves the value of the leaf Max from the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Max is set, it can safely use t.GetMax() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Max == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower) GetMaxTime ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower) GetMaxTime() uint64
GetMaxTime retrieves the value of the leaf MaxTime from the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MaxTime is set, it can safely use t.GetMaxTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MaxTime == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower) GetMin ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower) GetMin() float64
GetMin retrieves the value of the leaf Min from the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Min is set, it can safely use t.GetMin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Min == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower) GetMinTime ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower) GetMinTime() uint64
GetMinTime retrieves the value of the leaf MinTime from the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MinTime is set, it can safely use t.GetMinTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MinTime == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower) Validate ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower) Λ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.
type OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent ¶
type OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Avg *float64 `path:"avg" module:"openconfig-platform-transceiver"` ΛAvg []ygot.Annotation `path:"@avg" ygotAnnotation:"true"` Instant *float64 `path:"instant" module:"openconfig-platform-transceiver"` ΛInstant []ygot.Annotation `path:"@instant" ygotAnnotation:"true"` Interval *uint64 `path:"interval" module:"openconfig-platform-transceiver"` ΛInterval []ygot.Annotation `path:"@interval" ygotAnnotation:"true"` Max *float64 `path:"max" module:"openconfig-platform-transceiver"` ΛMax []ygot.Annotation `path:"@max" ygotAnnotation:"true"` MaxTime *uint64 `path:"max-time" module:"openconfig-platform-transceiver"` ΛMaxTime []ygot.Annotation `path:"@max-time" ygotAnnotation:"true"` Min *float64 `path:"min" module:"openconfig-platform-transceiver"` ΛMin []ygot.Annotation `path:"@min" ygotAnnotation:"true"` MinTime *uint64 `path:"min-time" module:"openconfig-platform-transceiver"` ΛMinTime []ygot.Annotation `path:"@min-time" ygotAnnotation:"true"` }
OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent represents the /openconfig-platform/components/component/transceiver/physical-channels/channel/state/laser-bias-current YANG schema element.
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent) GetAvg ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent) GetAvg() float64
GetAvg retrieves the value of the leaf Avg from the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Avg is set, it can safely use t.GetAvg() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Avg == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent) GetInstant ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent) GetInstant() float64
GetInstant retrieves the value of the leaf Instant from the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Instant is set, it can safely use t.GetInstant() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Instant == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent) GetInterval ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent) GetInterval() uint64
GetInterval retrieves the value of the leaf Interval from the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interval is set, it can safely use t.GetInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interval == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent) GetMax ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent) GetMax() float64
GetMax retrieves the value of the leaf Max from the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Max is set, it can safely use t.GetMax() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Max == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent) GetMaxTime ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent) GetMaxTime() uint64
GetMaxTime retrieves the value of the leaf MaxTime from the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MaxTime is set, it can safely use t.GetMaxTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MaxTime == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent) GetMin ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent) GetMin() float64
GetMin retrieves the value of the leaf Min from the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Min is set, it can safely use t.GetMin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Min == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent) GetMinTime ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent) GetMinTime() uint64
GetMinTime retrieves the value of the leaf MinTime from the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MinTime is set, it can safely use t.GetMinTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MinTime == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent) Validate ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent) Λ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.
type OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower ¶
type OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Avg *float64 `path:"avg" module:"openconfig-platform-transceiver"` ΛAvg []ygot.Annotation `path:"@avg" ygotAnnotation:"true"` Instant *float64 `path:"instant" module:"openconfig-platform-transceiver"` ΛInstant []ygot.Annotation `path:"@instant" ygotAnnotation:"true"` Interval *uint64 `path:"interval" module:"openconfig-platform-transceiver"` ΛInterval []ygot.Annotation `path:"@interval" ygotAnnotation:"true"` Max *float64 `path:"max" module:"openconfig-platform-transceiver"` ΛMax []ygot.Annotation `path:"@max" ygotAnnotation:"true"` MaxTime *uint64 `path:"max-time" module:"openconfig-platform-transceiver"` ΛMaxTime []ygot.Annotation `path:"@max-time" ygotAnnotation:"true"` Min *float64 `path:"min" module:"openconfig-platform-transceiver"` ΛMin []ygot.Annotation `path:"@min" ygotAnnotation:"true"` MinTime *uint64 `path:"min-time" module:"openconfig-platform-transceiver"` ΛMinTime []ygot.Annotation `path:"@min-time" ygotAnnotation:"true"` }
OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower represents the /openconfig-platform/components/component/transceiver/physical-channels/channel/state/output-power YANG schema element.
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower) GetAvg ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower) GetAvg() float64
GetAvg retrieves the value of the leaf Avg from the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Avg is set, it can safely use t.GetAvg() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Avg == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower) GetInstant ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower) GetInstant() float64
GetInstant retrieves the value of the leaf Instant from the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Instant is set, it can safely use t.GetInstant() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Instant == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower) GetInterval ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower) GetInterval() uint64
GetInterval retrieves the value of the leaf Interval from the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interval is set, it can safely use t.GetInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interval == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower) GetMax ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower) GetMax() float64
GetMax retrieves the value of the leaf Max from the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Max is set, it can safely use t.GetMax() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Max == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower) GetMaxTime ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower) GetMaxTime() uint64
GetMaxTime retrieves the value of the leaf MaxTime from the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MaxTime is set, it can safely use t.GetMaxTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MaxTime == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower) GetMin ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower) GetMin() float64
GetMin retrieves the value of the leaf Min from the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Min is set, it can safely use t.GetMin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Min == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower) GetMinTime ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower) GetMinTime() uint64
GetMinTime retrieves the value of the leaf MinTime from the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MinTime is set, it can safely use t.GetMinTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MinTime == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower) Validate ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower) Λ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.
type OpenconfigPlatform_Components_Component_Transceiver_State ¶
type OpenconfigPlatform_Components_Component_Transceiver_State struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` ConnectorType E_OpenconfigTransportTypes_FIBER_CONNECTOR_TYPE `path:"connector-type" module:"openconfig-platform-transceiver"` ΛConnectorType []ygot.Annotation `path:"@connector-type" ygotAnnotation:"true"` DateCode *string `path:"date-code" module:"openconfig-platform-transceiver"` ΛDateCode []ygot.Annotation `path:"@date-code" ygotAnnotation:"true"` Enabled *bool `path:"enabled" module:"openconfig-platform-transceiver"` ΛEnabled []ygot.Annotation `path:"@enabled" ygotAnnotation:"true"` EthernetPmd E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE `path:"ethernet-pmd" module:"openconfig-platform-transceiver"` ΛEthernetPmd []ygot.Annotation `path:"@ethernet-pmd" ygotAnnotation:"true"` EthernetPmdPreconf E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE `path:"ethernet-pmd-preconf" module:"openconfig-platform-transceiver"` ΛEthernetPmdPreconf []ygot.Annotation `path:"@ethernet-pmd-preconf" ygotAnnotation:"true"` FaultCondition *bool `path:"fault-condition" module:"openconfig-platform-transceiver"` ΛFaultCondition []ygot.Annotation `path:"@fault-condition" ygotAnnotation:"true"` FecCorrectedBits *uint64 `path:"fec-corrected-bits" module:"openconfig-platform-transceiver"` ΛFecCorrectedBits []ygot.Annotation `path:"@fec-corrected-bits" ygotAnnotation:"true"` FecCorrectedBytes *uint64 `path:"fec-corrected-bytes" module:"openconfig-platform-transceiver"` ΛFecCorrectedBytes []ygot.Annotation `path:"@fec-corrected-bytes" ygotAnnotation:"true"` FecMode E_OpenconfigPlatformTypes_FEC_MODE_TYPE `path:"fec-mode" module:"openconfig-platform-transceiver"` ΛFecMode []ygot.Annotation `path:"@fec-mode" ygotAnnotation:"true"` FecStatus E_OpenconfigPlatformTypes_FEC_STATUS_TYPE `path:"fec-status" module:"openconfig-platform-transceiver"` ΛFecStatus []ygot.Annotation `path:"@fec-status" ygotAnnotation:"true"` FecUncorrectableBlocks *uint64 `path:"fec-uncorrectable-blocks" module:"openconfig-platform-transceiver"` ΛFecUncorrectableBlocks []ygot.Annotation `path:"@fec-uncorrectable-blocks" ygotAnnotation:"true"` FecUncorrectableWords *uint64 `path:"fec-uncorrectable-words" module:"openconfig-platform-transceiver"` ΛFecUncorrectableWords []ygot.Annotation `path:"@fec-uncorrectable-words" ygotAnnotation:"true"` FormFactor E_OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE `path:"form-factor" module:"openconfig-platform-transceiver"` ΛFormFactor []ygot.Annotation `path:"@form-factor" ygotAnnotation:"true"` FormFactorPreconf E_OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE `path:"form-factor-preconf" module:"openconfig-platform-transceiver"` ΛFormFactorPreconf []ygot.Annotation `path:"@form-factor-preconf" ygotAnnotation:"true"` InputPower *OpenconfigPlatform_Components_Component_Transceiver_State_InputPower `path:"input-power" module:"openconfig-platform-transceiver"` ΛInputPower []ygot.Annotation `path:"@input-power" ygotAnnotation:"true"` LaserBiasCurrent *OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent `path:"laser-bias-current" module:"openconfig-platform-transceiver"` ΛLaserBiasCurrent []ygot.Annotation `path:"@laser-bias-current" ygotAnnotation:"true"` OtnComplianceCode E_OpenconfigTransportTypes_OTN_APPLICATION_CODE `path:"otn-compliance-code" module:"openconfig-platform-transceiver"` ΛOtnComplianceCode []ygot.Annotation `path:"@otn-compliance-code" ygotAnnotation:"true"` OutputPower *OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower `path:"output-power" module:"openconfig-platform-transceiver"` ΛOutputPower []ygot.Annotation `path:"@output-power" ygotAnnotation:"true"` PostFecBer *OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer `path:"post-fec-ber" module:"openconfig-platform-transceiver"` ΛPostFecBer []ygot.Annotation `path:"@post-fec-ber" ygotAnnotation:"true"` PreFecBer *OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer `path:"pre-fec-ber" module:"openconfig-platform-transceiver"` ΛPreFecBer []ygot.Annotation `path:"@pre-fec-ber" ygotAnnotation:"true"` Present E_OpenconfigPlatform_Components_Component_Transceiver_State_Present `path:"present" module:"openconfig-platform-transceiver"` ΛPresent []ygot.Annotation `path:"@present" ygotAnnotation:"true"` SerialNo *string `path:"serial-no" module:"openconfig-platform-transceiver"` ΛSerialNo []ygot.Annotation `path:"@serial-no" ygotAnnotation:"true"` SonetSdhComplianceCode E_OpenconfigTransportTypes_SONET_APPLICATION_CODE `path:"sonet-sdh-compliance-code" module:"openconfig-platform-transceiver"` ΛSonetSdhComplianceCode []ygot.Annotation `path:"@sonet-sdh-compliance-code" ygotAnnotation:"true"` Vendor *string `path:"vendor" module:"openconfig-platform-transceiver"` ΛVendor []ygot.Annotation `path:"@vendor" ygotAnnotation:"true"` VendorPart *string `path:"vendor-part" module:"openconfig-platform-transceiver"` ΛVendorPart []ygot.Annotation `path:"@vendor-part" ygotAnnotation:"true"` VendorRev *string `path:"vendor-rev" module:"openconfig-platform-transceiver"` ΛVendorRev []ygot.Annotation `path:"@vendor-rev" ygotAnnotation:"true"` }
OpenconfigPlatform_Components_Component_Transceiver_State represents the /openconfig-platform/components/component/transceiver/state YANG schema element.
func (*OpenconfigPlatform_Components_Component_Transceiver_State) GetConnectorType ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State) GetConnectorType() E_OpenconfigTransportTypes_FIBER_CONNECTOR_TYPE
GetConnectorType retrieves the value of the leaf ConnectorType from the OpenconfigPlatform_Components_Component_Transceiver_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ConnectorType is set, it can safely use t.GetConnectorType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ConnectorType == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_State) GetDateCode ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State) GetDateCode() string
GetDateCode retrieves the value of the leaf DateCode from the OpenconfigPlatform_Components_Component_Transceiver_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if DateCode is set, it can safely use t.GetDateCode() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.DateCode == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_State) GetEnabled ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State) GetEnabled() bool
GetEnabled retrieves the value of the leaf Enabled from the OpenconfigPlatform_Components_Component_Transceiver_State struct. Caution should be exercised whilst using this method since 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 (*OpenconfigPlatform_Components_Component_Transceiver_State) GetEthernetPmd ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State) GetEthernetPmd() E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE
GetEthernetPmd retrieves the value of the leaf EthernetPmd from the OpenconfigPlatform_Components_Component_Transceiver_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if EthernetPmd is set, it can safely use t.GetEthernetPmd() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.EthernetPmd == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_State) GetEthernetPmdPreconf ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State) GetEthernetPmdPreconf() E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE
GetEthernetPmdPreconf retrieves the value of the leaf EthernetPmdPreconf from the OpenconfigPlatform_Components_Component_Transceiver_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if EthernetPmdPreconf is set, it can safely use t.GetEthernetPmdPreconf() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.EthernetPmdPreconf == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_State) GetFaultCondition ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State) GetFaultCondition() bool
GetFaultCondition retrieves the value of the leaf FaultCondition from the OpenconfigPlatform_Components_Component_Transceiver_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if FaultCondition is set, it can safely use t.GetFaultCondition() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.FaultCondition == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_State) GetFecCorrectedBits ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State) GetFecCorrectedBits() uint64
GetFecCorrectedBits retrieves the value of the leaf FecCorrectedBits from the OpenconfigPlatform_Components_Component_Transceiver_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if FecCorrectedBits is set, it can safely use t.GetFecCorrectedBits() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.FecCorrectedBits == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_State) GetFecCorrectedBytes ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State) GetFecCorrectedBytes() uint64
GetFecCorrectedBytes retrieves the value of the leaf FecCorrectedBytes from the OpenconfigPlatform_Components_Component_Transceiver_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if FecCorrectedBytes is set, it can safely use t.GetFecCorrectedBytes() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.FecCorrectedBytes == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_State) GetFecMode ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State) GetFecMode() E_OpenconfigPlatformTypes_FEC_MODE_TYPE
GetFecMode retrieves the value of the leaf FecMode from the OpenconfigPlatform_Components_Component_Transceiver_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if FecMode is set, it can safely use t.GetFecMode() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.FecMode == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_State) GetFecStatus ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State) GetFecStatus() E_OpenconfigPlatformTypes_FEC_STATUS_TYPE
GetFecStatus retrieves the value of the leaf FecStatus from the OpenconfigPlatform_Components_Component_Transceiver_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if FecStatus is set, it can safely use t.GetFecStatus() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.FecStatus == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_State) GetFecUncorrectableBlocks ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State) GetFecUncorrectableBlocks() uint64
GetFecUncorrectableBlocks retrieves the value of the leaf FecUncorrectableBlocks from the OpenconfigPlatform_Components_Component_Transceiver_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if FecUncorrectableBlocks is set, it can safely use t.GetFecUncorrectableBlocks() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.FecUncorrectableBlocks == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_State) GetFecUncorrectableWords ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State) GetFecUncorrectableWords() uint64
GetFecUncorrectableWords retrieves the value of the leaf FecUncorrectableWords from the OpenconfigPlatform_Components_Component_Transceiver_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if FecUncorrectableWords is set, it can safely use t.GetFecUncorrectableWords() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.FecUncorrectableWords == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_State) GetFormFactor ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State) GetFormFactor() E_OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE
GetFormFactor retrieves the value of the leaf FormFactor from the OpenconfigPlatform_Components_Component_Transceiver_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if FormFactor is set, it can safely use t.GetFormFactor() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.FormFactor == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_State) GetFormFactorPreconf ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State) GetFormFactorPreconf() E_OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE
GetFormFactorPreconf retrieves the value of the leaf FormFactorPreconf from the OpenconfigPlatform_Components_Component_Transceiver_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if FormFactorPreconf is set, it can safely use t.GetFormFactorPreconf() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.FormFactorPreconf == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_State) GetInputPower ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State) GetInputPower() *OpenconfigPlatform_Components_Component_Transceiver_State_InputPower
GetInputPower returns the value of the InputPower struct pointer from OpenconfigPlatform_Components_Component_Transceiver_State. If the receiver or the field InputPower is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component_Transceiver_State) GetLaserBiasCurrent ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State) GetLaserBiasCurrent() *OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent
GetLaserBiasCurrent returns the value of the LaserBiasCurrent struct pointer from OpenconfigPlatform_Components_Component_Transceiver_State. If the receiver or the field LaserBiasCurrent is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component_Transceiver_State) GetOrCreateInputPower ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State) GetOrCreateInputPower() *OpenconfigPlatform_Components_Component_Transceiver_State_InputPower
GetOrCreateInputPower retrieves the value of the InputPower field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component_Transceiver_State) GetOrCreateLaserBiasCurrent ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State) GetOrCreateLaserBiasCurrent() *OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent
GetOrCreateLaserBiasCurrent retrieves the value of the LaserBiasCurrent field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component_Transceiver_State) GetOrCreateOutputPower ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State) GetOrCreateOutputPower() *OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower
GetOrCreateOutputPower retrieves the value of the OutputPower field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component_Transceiver_State) GetOrCreatePostFecBer ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State) GetOrCreatePostFecBer() *OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer
GetOrCreatePostFecBer retrieves the value of the PostFecBer field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component_Transceiver_State) GetOrCreatePreFecBer ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State) GetOrCreatePreFecBer() *OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer
GetOrCreatePreFecBer retrieves the value of the PreFecBer field or returns the existing field if it already exists.
func (*OpenconfigPlatform_Components_Component_Transceiver_State) GetOtnComplianceCode ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State) GetOtnComplianceCode() E_OpenconfigTransportTypes_OTN_APPLICATION_CODE
GetOtnComplianceCode retrieves the value of the leaf OtnComplianceCode from the OpenconfigPlatform_Components_Component_Transceiver_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OtnComplianceCode is set, it can safely use t.GetOtnComplianceCode() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OtnComplianceCode == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_State) GetOutputPower ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State) GetOutputPower() *OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower
GetOutputPower returns the value of the OutputPower struct pointer from OpenconfigPlatform_Components_Component_Transceiver_State. If the receiver or the field OutputPower is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component_Transceiver_State) GetPostFecBer ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State) GetPostFecBer() *OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer
GetPostFecBer returns the value of the PostFecBer struct pointer from OpenconfigPlatform_Components_Component_Transceiver_State. If the receiver or the field PostFecBer is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component_Transceiver_State) GetPreFecBer ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State) GetPreFecBer() *OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer
GetPreFecBer returns the value of the PreFecBer struct pointer from OpenconfigPlatform_Components_Component_Transceiver_State. If the receiver or the field PreFecBer is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigPlatform_Components_Component_Transceiver_State) GetPresent ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State) GetPresent() E_OpenconfigPlatform_Components_Component_Transceiver_State_Present
GetPresent retrieves the value of the leaf Present from the OpenconfigPlatform_Components_Component_Transceiver_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Present is set, it can safely use t.GetPresent() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Present == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_State) GetSerialNo ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State) GetSerialNo() string
GetSerialNo retrieves the value of the leaf SerialNo from the OpenconfigPlatform_Components_Component_Transceiver_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SerialNo is set, it can safely use t.GetSerialNo() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SerialNo == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_State) GetSonetSdhComplianceCode ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State) GetSonetSdhComplianceCode() E_OpenconfigTransportTypes_SONET_APPLICATION_CODE
GetSonetSdhComplianceCode retrieves the value of the leaf SonetSdhComplianceCode from the OpenconfigPlatform_Components_Component_Transceiver_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SonetSdhComplianceCode is set, it can safely use t.GetSonetSdhComplianceCode() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SonetSdhComplianceCode == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_State) GetVendor ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State) GetVendor() string
GetVendor retrieves the value of the leaf Vendor from the OpenconfigPlatform_Components_Component_Transceiver_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Vendor is set, it can safely use t.GetVendor() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Vendor == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_State) GetVendorPart ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State) GetVendorPart() string
GetVendorPart retrieves the value of the leaf VendorPart from the OpenconfigPlatform_Components_Component_Transceiver_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if VendorPart is set, it can safely use t.GetVendorPart() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.VendorPart == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_State) GetVendorRev ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State) GetVendorRev() string
GetVendorRev retrieves the value of the leaf VendorRev from the OpenconfigPlatform_Components_Component_Transceiver_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if VendorRev is set, it can safely use t.GetVendorRev() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.VendorRev == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_State) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_Transceiver_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_Transceiver_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_Transceiver_State) Validate ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_Transceiver_State) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State) Λ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.
type OpenconfigPlatform_Components_Component_Transceiver_State_InputPower ¶
type OpenconfigPlatform_Components_Component_Transceiver_State_InputPower struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Avg *float64 `path:"avg" module:"openconfig-platform-transceiver"` ΛAvg []ygot.Annotation `path:"@avg" ygotAnnotation:"true"` Instant *float64 `path:"instant" module:"openconfig-platform-transceiver"` ΛInstant []ygot.Annotation `path:"@instant" ygotAnnotation:"true"` Interval *uint64 `path:"interval" module:"openconfig-platform-transceiver"` ΛInterval []ygot.Annotation `path:"@interval" ygotAnnotation:"true"` Max *float64 `path:"max" module:"openconfig-platform-transceiver"` ΛMax []ygot.Annotation `path:"@max" ygotAnnotation:"true"` MaxTime *uint64 `path:"max-time" module:"openconfig-platform-transceiver"` ΛMaxTime []ygot.Annotation `path:"@max-time" ygotAnnotation:"true"` Min *float64 `path:"min" module:"openconfig-platform-transceiver"` ΛMin []ygot.Annotation `path:"@min" ygotAnnotation:"true"` MinTime *uint64 `path:"min-time" module:"openconfig-platform-transceiver"` ΛMinTime []ygot.Annotation `path:"@min-time" ygotAnnotation:"true"` }
OpenconfigPlatform_Components_Component_Transceiver_State_InputPower represents the /openconfig-platform/components/component/transceiver/state/input-power YANG schema element.
func (*OpenconfigPlatform_Components_Component_Transceiver_State_InputPower) GetAvg ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State_InputPower) GetAvg() float64
GetAvg retrieves the value of the leaf Avg from the OpenconfigPlatform_Components_Component_Transceiver_State_InputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Avg is set, it can safely use t.GetAvg() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Avg == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_State_InputPower) GetInstant ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State_InputPower) GetInstant() float64
GetInstant retrieves the value of the leaf Instant from the OpenconfigPlatform_Components_Component_Transceiver_State_InputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Instant is set, it can safely use t.GetInstant() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Instant == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_State_InputPower) GetInterval ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State_InputPower) GetInterval() uint64
GetInterval retrieves the value of the leaf Interval from the OpenconfigPlatform_Components_Component_Transceiver_State_InputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interval is set, it can safely use t.GetInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interval == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_State_InputPower) GetMax ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State_InputPower) GetMax() float64
GetMax retrieves the value of the leaf Max from the OpenconfigPlatform_Components_Component_Transceiver_State_InputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Max is set, it can safely use t.GetMax() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Max == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_State_InputPower) GetMaxTime ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State_InputPower) GetMaxTime() uint64
GetMaxTime retrieves the value of the leaf MaxTime from the OpenconfigPlatform_Components_Component_Transceiver_State_InputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MaxTime is set, it can safely use t.GetMaxTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MaxTime == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_State_InputPower) GetMin ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State_InputPower) GetMin() float64
GetMin retrieves the value of the leaf Min from the OpenconfigPlatform_Components_Component_Transceiver_State_InputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Min is set, it can safely use t.GetMin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Min == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_State_InputPower) GetMinTime ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State_InputPower) GetMinTime() uint64
GetMinTime retrieves the value of the leaf MinTime from the OpenconfigPlatform_Components_Component_Transceiver_State_InputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MinTime is set, it can safely use t.GetMinTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MinTime == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_State_InputPower) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_Transceiver_State_InputPower) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_Transceiver_State_InputPower implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_Transceiver_State_InputPower) Validate ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State_InputPower) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_Transceiver_State_InputPower) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State_InputPower) Λ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.
type OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent ¶
type OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Avg *float64 `path:"avg" module:"openconfig-platform-transceiver"` ΛAvg []ygot.Annotation `path:"@avg" ygotAnnotation:"true"` Instant *float64 `path:"instant" module:"openconfig-platform-transceiver"` ΛInstant []ygot.Annotation `path:"@instant" ygotAnnotation:"true"` Interval *uint64 `path:"interval" module:"openconfig-platform-transceiver"` ΛInterval []ygot.Annotation `path:"@interval" ygotAnnotation:"true"` Max *float64 `path:"max" module:"openconfig-platform-transceiver"` ΛMax []ygot.Annotation `path:"@max" ygotAnnotation:"true"` MaxTime *uint64 `path:"max-time" module:"openconfig-platform-transceiver"` ΛMaxTime []ygot.Annotation `path:"@max-time" ygotAnnotation:"true"` Min *float64 `path:"min" module:"openconfig-platform-transceiver"` ΛMin []ygot.Annotation `path:"@min" ygotAnnotation:"true"` MinTime *uint64 `path:"min-time" module:"openconfig-platform-transceiver"` ΛMinTime []ygot.Annotation `path:"@min-time" ygotAnnotation:"true"` }
OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent represents the /openconfig-platform/components/component/transceiver/state/laser-bias-current YANG schema element.
func (*OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent) GetAvg ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent) GetAvg() float64
GetAvg retrieves the value of the leaf Avg from the OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Avg is set, it can safely use t.GetAvg() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Avg == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent) GetInstant ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent) GetInstant() float64
GetInstant retrieves the value of the leaf Instant from the OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Instant is set, it can safely use t.GetInstant() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Instant == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent) GetInterval ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent) GetInterval() uint64
GetInterval retrieves the value of the leaf Interval from the OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interval is set, it can safely use t.GetInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interval == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent) GetMax ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent) GetMax() float64
GetMax retrieves the value of the leaf Max from the OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Max is set, it can safely use t.GetMax() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Max == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent) GetMaxTime ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent) GetMaxTime() uint64
GetMaxTime retrieves the value of the leaf MaxTime from the OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MaxTime is set, it can safely use t.GetMaxTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MaxTime == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent) GetMin ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent) GetMin() float64
GetMin retrieves the value of the leaf Min from the OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Min is set, it can safely use t.GetMin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Min == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent) GetMinTime ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent) GetMinTime() uint64
GetMinTime retrieves the value of the leaf MinTime from the OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MinTime is set, it can safely use t.GetMinTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MinTime == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent) Validate ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent) Λ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.
type OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower ¶
type OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Avg *float64 `path:"avg" module:"openconfig-platform-transceiver"` ΛAvg []ygot.Annotation `path:"@avg" ygotAnnotation:"true"` Instant *float64 `path:"instant" module:"openconfig-platform-transceiver"` ΛInstant []ygot.Annotation `path:"@instant" ygotAnnotation:"true"` Interval *uint64 `path:"interval" module:"openconfig-platform-transceiver"` ΛInterval []ygot.Annotation `path:"@interval" ygotAnnotation:"true"` Max *float64 `path:"max" module:"openconfig-platform-transceiver"` ΛMax []ygot.Annotation `path:"@max" ygotAnnotation:"true"` MaxTime *uint64 `path:"max-time" module:"openconfig-platform-transceiver"` ΛMaxTime []ygot.Annotation `path:"@max-time" ygotAnnotation:"true"` Min *float64 `path:"min" module:"openconfig-platform-transceiver"` ΛMin []ygot.Annotation `path:"@min" ygotAnnotation:"true"` MinTime *uint64 `path:"min-time" module:"openconfig-platform-transceiver"` ΛMinTime []ygot.Annotation `path:"@min-time" ygotAnnotation:"true"` }
OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower represents the /openconfig-platform/components/component/transceiver/state/output-power YANG schema element.
func (*OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower) GetAvg ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower) GetAvg() float64
GetAvg retrieves the value of the leaf Avg from the OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Avg is set, it can safely use t.GetAvg() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Avg == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower) GetInstant ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower) GetInstant() float64
GetInstant retrieves the value of the leaf Instant from the OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Instant is set, it can safely use t.GetInstant() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Instant == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower) GetInterval ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower) GetInterval() uint64
GetInterval retrieves the value of the leaf Interval from the OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interval is set, it can safely use t.GetInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interval == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower) GetMax ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower) GetMax() float64
GetMax retrieves the value of the leaf Max from the OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Max is set, it can safely use t.GetMax() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Max == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower) GetMaxTime ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower) GetMaxTime() uint64
GetMaxTime retrieves the value of the leaf MaxTime from the OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MaxTime is set, it can safely use t.GetMaxTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MaxTime == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower) GetMin ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower) GetMin() float64
GetMin retrieves the value of the leaf Min from the OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Min is set, it can safely use t.GetMin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Min == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower) GetMinTime ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower) GetMinTime() uint64
GetMinTime retrieves the value of the leaf MinTime from the OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MinTime is set, it can safely use t.GetMinTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MinTime == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower) Validate ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower) Λ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.
type OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer ¶
type OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Avg *float64 `path:"avg" module:"openconfig-platform-transceiver"` ΛAvg []ygot.Annotation `path:"@avg" ygotAnnotation:"true"` Instant *float64 `path:"instant" module:"openconfig-platform-transceiver"` ΛInstant []ygot.Annotation `path:"@instant" ygotAnnotation:"true"` Interval *uint64 `path:"interval" module:"openconfig-platform-transceiver"` ΛInterval []ygot.Annotation `path:"@interval" ygotAnnotation:"true"` Max *float64 `path:"max" module:"openconfig-platform-transceiver"` ΛMax []ygot.Annotation `path:"@max" ygotAnnotation:"true"` MaxTime *uint64 `path:"max-time" module:"openconfig-platform-transceiver"` ΛMaxTime []ygot.Annotation `path:"@max-time" ygotAnnotation:"true"` Min *float64 `path:"min" module:"openconfig-platform-transceiver"` ΛMin []ygot.Annotation `path:"@min" ygotAnnotation:"true"` MinTime *uint64 `path:"min-time" module:"openconfig-platform-transceiver"` ΛMinTime []ygot.Annotation `path:"@min-time" ygotAnnotation:"true"` }
OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer represents the /openconfig-platform/components/component/transceiver/state/post-fec-ber YANG schema element.
func (*OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer) GetAvg ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer) GetAvg() float64
GetAvg retrieves the value of the leaf Avg from the OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Avg is set, it can safely use t.GetAvg() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Avg == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer) GetInstant ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer) GetInstant() float64
GetInstant retrieves the value of the leaf Instant from the OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Instant is set, it can safely use t.GetInstant() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Instant == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer) GetInterval ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer) GetInterval() uint64
GetInterval retrieves the value of the leaf Interval from the OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interval is set, it can safely use t.GetInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interval == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer) GetMax ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer) GetMax() float64
GetMax retrieves the value of the leaf Max from the OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Max is set, it can safely use t.GetMax() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Max == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer) GetMaxTime ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer) GetMaxTime() uint64
GetMaxTime retrieves the value of the leaf MaxTime from the OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MaxTime is set, it can safely use t.GetMaxTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MaxTime == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer) GetMin ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer) GetMin() float64
GetMin retrieves the value of the leaf Min from the OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Min is set, it can safely use t.GetMin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Min == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer) GetMinTime ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer) GetMinTime() uint64
GetMinTime retrieves the value of the leaf MinTime from the OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MinTime is set, it can safely use t.GetMinTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MinTime == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer) Validate ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer) Λ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.
type OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer ¶
type OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Avg *float64 `path:"avg" module:"openconfig-platform-transceiver"` ΛAvg []ygot.Annotation `path:"@avg" ygotAnnotation:"true"` Instant *float64 `path:"instant" module:"openconfig-platform-transceiver"` ΛInstant []ygot.Annotation `path:"@instant" ygotAnnotation:"true"` Interval *uint64 `path:"interval" module:"openconfig-platform-transceiver"` ΛInterval []ygot.Annotation `path:"@interval" ygotAnnotation:"true"` Max *float64 `path:"max" module:"openconfig-platform-transceiver"` ΛMax []ygot.Annotation `path:"@max" ygotAnnotation:"true"` MaxTime *uint64 `path:"max-time" module:"openconfig-platform-transceiver"` ΛMaxTime []ygot.Annotation `path:"@max-time" ygotAnnotation:"true"` Min *float64 `path:"min" module:"openconfig-platform-transceiver"` ΛMin []ygot.Annotation `path:"@min" ygotAnnotation:"true"` MinTime *uint64 `path:"min-time" module:"openconfig-platform-transceiver"` ΛMinTime []ygot.Annotation `path:"@min-time" ygotAnnotation:"true"` }
OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer represents the /openconfig-platform/components/component/transceiver/state/pre-fec-ber YANG schema element.
func (*OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer) GetAvg ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer) GetAvg() float64
GetAvg retrieves the value of the leaf Avg from the OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Avg is set, it can safely use t.GetAvg() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Avg == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer) GetInstant ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer) GetInstant() float64
GetInstant retrieves the value of the leaf Instant from the OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Instant is set, it can safely use t.GetInstant() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Instant == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer) GetInterval ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer) GetInterval() uint64
GetInterval retrieves the value of the leaf Interval from the OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interval is set, it can safely use t.GetInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interval == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer) GetMax ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer) GetMax() float64
GetMax retrieves the value of the leaf Max from the OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Max is set, it can safely use t.GetMax() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Max == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer) GetMaxTime ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer) GetMaxTime() uint64
GetMaxTime retrieves the value of the leaf MaxTime from the OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MaxTime is set, it can safely use t.GetMaxTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MaxTime == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer) GetMin ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer) GetMin() float64
GetMin retrieves the value of the leaf Min from the OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Min is set, it can safely use t.GetMin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Min == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer) GetMinTime ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer) GetMinTime() uint64
GetMinTime retrieves the value of the leaf MinTime from the OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MinTime is set, it can safely use t.GetMinTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MinTime == nil' before retrieving the leaf's value.
func (*OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer) IsYANGGoStruct ¶
func (*OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer) Validate ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer) ΛEnumTypeMap ¶
func (t *OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer) Λ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.
type OpenconfigSystem_System ¶
type OpenconfigSystem_System struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Aaa *OpenconfigSystem_System_Aaa `path:"aaa" module:"openconfig-system"` ΛAaa []ygot.Annotation `path:"@aaa" ygotAnnotation:"true"` Alarms *OpenconfigSystem_System_Alarms `path:"alarms" module:"openconfig-system"` ΛAlarms []ygot.Annotation `path:"@alarms" ygotAnnotation:"true"` Clock *OpenconfigSystem_System_Clock `path:"clock" module:"openconfig-system"` ΛClock []ygot.Annotation `path:"@clock" ygotAnnotation:"true"` Config *OpenconfigSystem_System_Config `path:"config" module:"openconfig-system"` ΛConfig []ygot.Annotation `path:"@config" ygotAnnotation:"true"` Cpus *OpenconfigSystem_System_Cpus `path:"cpus" module:"openconfig-system"` ΛCpus []ygot.Annotation `path:"@cpus" ygotAnnotation:"true"` Dns *OpenconfigSystem_System_Dns `path:"dns" module:"openconfig-system"` ΛDns []ygot.Annotation `path:"@dns" ygotAnnotation:"true"` GrpcServer *OpenconfigSystem_System_GrpcServer `path:"grpc-server" module:"openconfig-system"` ΛGrpcServer []ygot.Annotation `path:"@grpc-server" ygotAnnotation:"true"` Logging *OpenconfigSystem_System_Logging `path:"logging" module:"openconfig-system"` ΛLogging []ygot.Annotation `path:"@logging" ygotAnnotation:"true"` Memory *OpenconfigSystem_System_Memory `path:"memory" module:"openconfig-system"` ΛMemory []ygot.Annotation `path:"@memory" ygotAnnotation:"true"` Ntp *OpenconfigSystem_System_Ntp `path:"ntp" module:"openconfig-system"` ΛNtp []ygot.Annotation `path:"@ntp" ygotAnnotation:"true"` Processes *OpenconfigSystem_System_Processes `path:"processes" module:"openconfig-system"` ΛProcesses []ygot.Annotation `path:"@processes" ygotAnnotation:"true"` SshServer *OpenconfigSystem_System_SshServer `path:"ssh-server" module:"openconfig-system"` ΛSshServer []ygot.Annotation `path:"@ssh-server" ygotAnnotation:"true"` State *OpenconfigSystem_System_State `path:"state" module:"openconfig-system"` ΛState []ygot.Annotation `path:"@state" ygotAnnotation:"true"` TelnetServer *OpenconfigSystem_System_TelnetServer `path:"telnet-server" module:"openconfig-system"` ΛTelnetServer []ygot.Annotation `path:"@telnet-server" ygotAnnotation:"true"` }
OpenconfigSystem_System represents the /openconfig-system/system YANG schema element.
func (*OpenconfigSystem_System) GetAaa ¶
func (t *OpenconfigSystem_System) GetAaa() *OpenconfigSystem_System_Aaa
GetAaa returns the value of the Aaa struct pointer from OpenconfigSystem_System. If the receiver or the field Aaa is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System) GetAlarms ¶
func (t *OpenconfigSystem_System) GetAlarms() *OpenconfigSystem_System_Alarms
GetAlarms returns the value of the Alarms struct pointer from OpenconfigSystem_System. If the receiver or the field Alarms is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System) GetClock ¶
func (t *OpenconfigSystem_System) GetClock() *OpenconfigSystem_System_Clock
GetClock returns the value of the Clock struct pointer from OpenconfigSystem_System. If the receiver or the field Clock is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System) GetConfig ¶
func (t *OpenconfigSystem_System) GetConfig() *OpenconfigSystem_System_Config
GetConfig returns the value of the Config struct pointer from OpenconfigSystem_System. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System) GetCpus ¶
func (t *OpenconfigSystem_System) GetCpus() *OpenconfigSystem_System_Cpus
GetCpus returns the value of the Cpus struct pointer from OpenconfigSystem_System. If the receiver or the field Cpus is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System) GetDns ¶
func (t *OpenconfigSystem_System) GetDns() *OpenconfigSystem_System_Dns
GetDns returns the value of the Dns struct pointer from OpenconfigSystem_System. If the receiver or the field Dns is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System) GetGrpcServer ¶
func (t *OpenconfigSystem_System) GetGrpcServer() *OpenconfigSystem_System_GrpcServer
GetGrpcServer returns the value of the GrpcServer struct pointer from OpenconfigSystem_System. If the receiver or the field GrpcServer is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System) GetLogging ¶
func (t *OpenconfigSystem_System) GetLogging() *OpenconfigSystem_System_Logging
GetLogging returns the value of the Logging struct pointer from OpenconfigSystem_System. If the receiver or the field Logging is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System) GetMemory ¶
func (t *OpenconfigSystem_System) GetMemory() *OpenconfigSystem_System_Memory
GetMemory returns the value of the Memory struct pointer from OpenconfigSystem_System. If the receiver or the field Memory is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System) GetNtp ¶
func (t *OpenconfigSystem_System) GetNtp() *OpenconfigSystem_System_Ntp
GetNtp returns the value of the Ntp struct pointer from OpenconfigSystem_System. If the receiver or the field Ntp is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System) GetOrCreateAaa ¶
func (t *OpenconfigSystem_System) GetOrCreateAaa() *OpenconfigSystem_System_Aaa
GetOrCreateAaa retrieves the value of the Aaa field or returns the existing field if it already exists.
func (*OpenconfigSystem_System) GetOrCreateAlarms ¶
func (t *OpenconfigSystem_System) GetOrCreateAlarms() *OpenconfigSystem_System_Alarms
GetOrCreateAlarms retrieves the value of the Alarms field or returns the existing field if it already exists.
func (*OpenconfigSystem_System) GetOrCreateClock ¶
func (t *OpenconfigSystem_System) GetOrCreateClock() *OpenconfigSystem_System_Clock
GetOrCreateClock retrieves the value of the Clock field or returns the existing field if it already exists.
func (*OpenconfigSystem_System) GetOrCreateConfig ¶
func (t *OpenconfigSystem_System) GetOrCreateConfig() *OpenconfigSystem_System_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigSystem_System) GetOrCreateCpus ¶
func (t *OpenconfigSystem_System) GetOrCreateCpus() *OpenconfigSystem_System_Cpus
GetOrCreateCpus retrieves the value of the Cpus field or returns the existing field if it already exists.
func (*OpenconfigSystem_System) GetOrCreateDns ¶
func (t *OpenconfigSystem_System) GetOrCreateDns() *OpenconfigSystem_System_Dns
GetOrCreateDns retrieves the value of the Dns field or returns the existing field if it already exists.
func (*OpenconfigSystem_System) GetOrCreateGrpcServer ¶
func (t *OpenconfigSystem_System) GetOrCreateGrpcServer() *OpenconfigSystem_System_GrpcServer
GetOrCreateGrpcServer retrieves the value of the GrpcServer field or returns the existing field if it already exists.
func (*OpenconfigSystem_System) GetOrCreateLogging ¶
func (t *OpenconfigSystem_System) GetOrCreateLogging() *OpenconfigSystem_System_Logging
GetOrCreateLogging retrieves the value of the Logging field or returns the existing field if it already exists.
func (*OpenconfigSystem_System) GetOrCreateMemory ¶
func (t *OpenconfigSystem_System) GetOrCreateMemory() *OpenconfigSystem_System_Memory
GetOrCreateMemory retrieves the value of the Memory field or returns the existing field if it already exists.
func (*OpenconfigSystem_System) GetOrCreateNtp ¶
func (t *OpenconfigSystem_System) GetOrCreateNtp() *OpenconfigSystem_System_Ntp
GetOrCreateNtp retrieves the value of the Ntp field or returns the existing field if it already exists.
func (*OpenconfigSystem_System) GetOrCreateProcesses ¶
func (t *OpenconfigSystem_System) GetOrCreateProcesses() *OpenconfigSystem_System_Processes
GetOrCreateProcesses retrieves the value of the Processes field or returns the existing field if it already exists.
func (*OpenconfigSystem_System) GetOrCreateSshServer ¶
func (t *OpenconfigSystem_System) GetOrCreateSshServer() *OpenconfigSystem_System_SshServer
GetOrCreateSshServer retrieves the value of the SshServer field or returns the existing field if it already exists.
func (*OpenconfigSystem_System) GetOrCreateState ¶
func (t *OpenconfigSystem_System) GetOrCreateState() *OpenconfigSystem_System_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigSystem_System) GetOrCreateTelnetServer ¶
func (t *OpenconfigSystem_System) GetOrCreateTelnetServer() *OpenconfigSystem_System_TelnetServer
GetOrCreateTelnetServer retrieves the value of the TelnetServer field or returns the existing field if it already exists.
func (*OpenconfigSystem_System) GetProcesses ¶
func (t *OpenconfigSystem_System) GetProcesses() *OpenconfigSystem_System_Processes
GetProcesses returns the value of the Processes struct pointer from OpenconfigSystem_System. If the receiver or the field Processes is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System) GetSshServer ¶
func (t *OpenconfigSystem_System) GetSshServer() *OpenconfigSystem_System_SshServer
GetSshServer returns the value of the SshServer struct pointer from OpenconfigSystem_System. If the receiver or the field SshServer is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System) GetState ¶
func (t *OpenconfigSystem_System) GetState() *OpenconfigSystem_System_State
GetState returns the value of the State struct pointer from OpenconfigSystem_System. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System) GetTelnetServer ¶
func (t *OpenconfigSystem_System) GetTelnetServer() *OpenconfigSystem_System_TelnetServer
GetTelnetServer returns the value of the TelnetServer struct pointer from OpenconfigSystem_System. If the receiver or the field TelnetServer is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System) IsYANGGoStruct ¶
func (*OpenconfigSystem_System) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System) Validate ¶
func (t *OpenconfigSystem_System) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System) Λ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.
type OpenconfigSystem_System_Aaa ¶
type OpenconfigSystem_System_Aaa struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Accounting *OpenconfigSystem_System_Aaa_Accounting `path:"accounting" module:"openconfig-system"` ΛAccounting []ygot.Annotation `path:"@accounting" ygotAnnotation:"true"` Authentication *OpenconfigSystem_System_Aaa_Authentication `path:"authentication" module:"openconfig-system"` ΛAuthentication []ygot.Annotation `path:"@authentication" ygotAnnotation:"true"` Authorization *OpenconfigSystem_System_Aaa_Authorization `path:"authorization" module:"openconfig-system"` ΛAuthorization []ygot.Annotation `path:"@authorization" ygotAnnotation:"true"` Config *OpenconfigSystem_System_Aaa_Config `path:"config" module:"openconfig-system"` ΛConfig []ygot.Annotation `path:"@config" ygotAnnotation:"true"` ServerGroups *OpenconfigSystem_System_Aaa_ServerGroups `path:"server-groups" module:"openconfig-system"` ΛServerGroups []ygot.Annotation `path:"@server-groups" ygotAnnotation:"true"` State *OpenconfigSystem_System_Aaa_State `path:"state" module:"openconfig-system"` ΛState []ygot.Annotation `path:"@state" ygotAnnotation:"true"` }
OpenconfigSystem_System_Aaa represents the /openconfig-system/system/aaa YANG schema element.
func (*OpenconfigSystem_System_Aaa) GetAccounting ¶
func (t *OpenconfigSystem_System_Aaa) GetAccounting() *OpenconfigSystem_System_Aaa_Accounting
GetAccounting returns the value of the Accounting struct pointer from OpenconfigSystem_System_Aaa. If the receiver or the field Accounting is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Aaa) GetAuthentication ¶
func (t *OpenconfigSystem_System_Aaa) GetAuthentication() *OpenconfigSystem_System_Aaa_Authentication
GetAuthentication returns the value of the Authentication struct pointer from OpenconfigSystem_System_Aaa. If the receiver or the field Authentication is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Aaa) GetAuthorization ¶
func (t *OpenconfigSystem_System_Aaa) GetAuthorization() *OpenconfigSystem_System_Aaa_Authorization
GetAuthorization returns the value of the Authorization struct pointer from OpenconfigSystem_System_Aaa. If the receiver or the field Authorization is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Aaa) GetConfig ¶
func (t *OpenconfigSystem_System_Aaa) GetConfig() *OpenconfigSystem_System_Aaa_Config
GetConfig returns the value of the Config struct pointer from OpenconfigSystem_System_Aaa. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Aaa) GetOrCreateAccounting ¶
func (t *OpenconfigSystem_System_Aaa) GetOrCreateAccounting() *OpenconfigSystem_System_Aaa_Accounting
GetOrCreateAccounting retrieves the value of the Accounting field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Aaa) GetOrCreateAuthentication ¶
func (t *OpenconfigSystem_System_Aaa) GetOrCreateAuthentication() *OpenconfigSystem_System_Aaa_Authentication
GetOrCreateAuthentication retrieves the value of the Authentication field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Aaa) GetOrCreateAuthorization ¶
func (t *OpenconfigSystem_System_Aaa) GetOrCreateAuthorization() *OpenconfigSystem_System_Aaa_Authorization
GetOrCreateAuthorization retrieves the value of the Authorization field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Aaa) GetOrCreateConfig ¶
func (t *OpenconfigSystem_System_Aaa) GetOrCreateConfig() *OpenconfigSystem_System_Aaa_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Aaa) GetOrCreateServerGroups ¶
func (t *OpenconfigSystem_System_Aaa) GetOrCreateServerGroups() *OpenconfigSystem_System_Aaa_ServerGroups
GetOrCreateServerGroups retrieves the value of the ServerGroups field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Aaa) GetOrCreateState ¶
func (t *OpenconfigSystem_System_Aaa) GetOrCreateState() *OpenconfigSystem_System_Aaa_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Aaa) GetServerGroups ¶
func (t *OpenconfigSystem_System_Aaa) GetServerGroups() *OpenconfigSystem_System_Aaa_ServerGroups
GetServerGroups returns the value of the ServerGroups struct pointer from OpenconfigSystem_System_Aaa. If the receiver or the field ServerGroups is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Aaa) GetState ¶
func (t *OpenconfigSystem_System_Aaa) GetState() *OpenconfigSystem_System_Aaa_State
GetState returns the value of the State struct pointer from OpenconfigSystem_System_Aaa. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Aaa) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Aaa) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Aaa) Validate ¶
func (t *OpenconfigSystem_System_Aaa) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Aaa) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Aaa) Λ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.
type OpenconfigSystem_System_Aaa_Accounting ¶
type OpenconfigSystem_System_Aaa_Accounting struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Config *OpenconfigSystem_System_Aaa_Accounting_Config `path:"config" module:"openconfig-system"` ΛConfig []ygot.Annotation `path:"@config" ygotAnnotation:"true"` Events *OpenconfigSystem_System_Aaa_Accounting_Events `path:"events" module:"openconfig-system"` ΛEvents []ygot.Annotation `path:"@events" ygotAnnotation:"true"` State *OpenconfigSystem_System_Aaa_Accounting_State `path:"state" module:"openconfig-system"` ΛState []ygot.Annotation `path:"@state" ygotAnnotation:"true"` }
OpenconfigSystem_System_Aaa_Accounting represents the /openconfig-system/system/aaa/accounting YANG schema element.
func (*OpenconfigSystem_System_Aaa_Accounting) GetConfig ¶
func (t *OpenconfigSystem_System_Aaa_Accounting) GetConfig() *OpenconfigSystem_System_Aaa_Accounting_Config
GetConfig returns the value of the Config struct pointer from OpenconfigSystem_System_Aaa_Accounting. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Aaa_Accounting) GetEvents ¶
func (t *OpenconfigSystem_System_Aaa_Accounting) GetEvents() *OpenconfigSystem_System_Aaa_Accounting_Events
GetEvents returns the value of the Events struct pointer from OpenconfigSystem_System_Aaa_Accounting. If the receiver or the field Events is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Aaa_Accounting) GetOrCreateConfig ¶
func (t *OpenconfigSystem_System_Aaa_Accounting) GetOrCreateConfig() *OpenconfigSystem_System_Aaa_Accounting_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Aaa_Accounting) GetOrCreateEvents ¶
func (t *OpenconfigSystem_System_Aaa_Accounting) GetOrCreateEvents() *OpenconfigSystem_System_Aaa_Accounting_Events
GetOrCreateEvents retrieves the value of the Events field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Aaa_Accounting) GetOrCreateState ¶
func (t *OpenconfigSystem_System_Aaa_Accounting) GetOrCreateState() *OpenconfigSystem_System_Aaa_Accounting_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Aaa_Accounting) GetState ¶
func (t *OpenconfigSystem_System_Aaa_Accounting) GetState() *OpenconfigSystem_System_Aaa_Accounting_State
GetState returns the value of the State struct pointer from OpenconfigSystem_System_Aaa_Accounting. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Aaa_Accounting) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Aaa_Accounting) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_Accounting implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Aaa_Accounting) Validate ¶
func (t *OpenconfigSystem_System_Aaa_Accounting) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Aaa_Accounting) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Aaa_Accounting) Λ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.
type OpenconfigSystem_System_Aaa_Accounting_Config ¶
type OpenconfigSystem_System_Aaa_Accounting_Config struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` AccountingMethod []OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union `path:"accounting-method" module:"openconfig-system"` ΛAccountingMethod []ygot.Annotation `path:"@accounting-method" ygotAnnotation:"true"` }
OpenconfigSystem_System_Aaa_Accounting_Config represents the /openconfig-system/system/aaa/accounting/config YANG schema element.
func (*OpenconfigSystem_System_Aaa_Accounting_Config) GetAccountingMethod ¶
func (t *OpenconfigSystem_System_Aaa_Accounting_Config) GetAccountingMethod() []OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union
GetAccountingMethod retrieves the value of the leaf AccountingMethod from the OpenconfigSystem_System_Aaa_Accounting_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AccountingMethod is set, it can safely use t.GetAccountingMethod() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AccountingMethod == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Aaa_Accounting_Config) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Aaa_Accounting_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_Accounting_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Aaa_Accounting_Config) To_OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union ¶
func (t *OpenconfigSystem_System_Aaa_Accounting_Config) To_OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union(i interface{}) (OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union, error)
To_OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union takes an input interface{} and attempts to convert it to a struct which implements the OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union union. It returns an error if the interface{} supplied cannot be converted to a type within the union.
func (*OpenconfigSystem_System_Aaa_Accounting_Config) Validate ¶
func (t *OpenconfigSystem_System_Aaa_Accounting_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Aaa_Accounting_Config) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Aaa_Accounting_Config) Λ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.
type OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union ¶
type OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union interface {
Is_OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union()
}
OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union is an interface that is implemented by valid types for the union for the leaf /openconfig-system/system/aaa/accounting/config/accounting-method within the YANG schema.
type OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE ¶
type OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE struct {
E_OpenconfigAaaTypes_AAA_METHOD_TYPE E_OpenconfigAaaTypes_AAA_METHOD_TYPE
}
OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE is used when /openconfig-system/system/aaa/accounting/config/accounting-method is to be set to a E_OpenconfigAaaTypes_AAA_METHOD_TYPE value.
func (*OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE) Is_OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union ¶
func (*OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE) Is_OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union()
Is_OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union ensures that OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE implements the OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union interface.
type OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union_String ¶
type OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union_String struct {
String string
}
OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union_String is used when /openconfig-system/system/aaa/accounting/config/accounting-method is to be set to a string value.
func (*OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union_String) Is_OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union ¶
func (*OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union_String) Is_OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union()
Is_OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union ensures that OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union_String implements the OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union interface.
type OpenconfigSystem_System_Aaa_Accounting_Events ¶
type OpenconfigSystem_System_Aaa_Accounting_Events struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Event map[E_OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE]*OpenconfigSystem_System_Aaa_Accounting_Events_Event `path:"event" module:"openconfig-system"` ΛEvent []ygot.Annotation `path:"@event" ygotAnnotation:"true"` }
OpenconfigSystem_System_Aaa_Accounting_Events represents the /openconfig-system/system/aaa/accounting/events YANG schema element.
func (*OpenconfigSystem_System_Aaa_Accounting_Events) AppendEvent ¶
func (t *OpenconfigSystem_System_Aaa_Accounting_Events) AppendEvent(v *OpenconfigSystem_System_Aaa_Accounting_Events_Event) error
AppendEvent appends the supplied OpenconfigSystem_System_Aaa_Accounting_Events_Event struct to the list Event of OpenconfigSystem_System_Aaa_Accounting_Events. If the key value(s) specified in the supplied OpenconfigSystem_System_Aaa_Accounting_Events_Event already exist in the list, an error is returned.
func (*OpenconfigSystem_System_Aaa_Accounting_Events) GetEvent ¶
func (t *OpenconfigSystem_System_Aaa_Accounting_Events) GetEvent(EventType E_OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE) *OpenconfigSystem_System_Aaa_Accounting_Events_Event
GetEvent retrieves the value with the specified key from the Event map field of OpenconfigSystem_System_Aaa_Accounting_Events. 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 (*OpenconfigSystem_System_Aaa_Accounting_Events) GetOrCreateEvent ¶
func (t *OpenconfigSystem_System_Aaa_Accounting_Events) GetOrCreateEvent(EventType E_OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE) *OpenconfigSystem_System_Aaa_Accounting_Events_Event
GetOrCreateEvent retrieves the value with the specified keys from the receiver OpenconfigSystem_System_Aaa_Accounting_Events. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*OpenconfigSystem_System_Aaa_Accounting_Events) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Aaa_Accounting_Events) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_Accounting_Events implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Aaa_Accounting_Events) NewEvent ¶
func (t *OpenconfigSystem_System_Aaa_Accounting_Events) NewEvent(EventType E_OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE) (*OpenconfigSystem_System_Aaa_Accounting_Events_Event, error)
NewEvent creates a new entry in the Event list of the OpenconfigSystem_System_Aaa_Accounting_Events struct. The keys of the list are populated from the input arguments.
func (*OpenconfigSystem_System_Aaa_Accounting_Events) RenameEvent ¶
func (t *OpenconfigSystem_System_Aaa_Accounting_Events) RenameEvent(oldK, newK E_OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE) error
RenameEvent renames an entry in the list Event within the OpenconfigSystem_System_Aaa_Accounting_Events struct. The entry with key oldK is renamed to newK updating the key within the value.
func (*OpenconfigSystem_System_Aaa_Accounting_Events) Validate ¶
func (t *OpenconfigSystem_System_Aaa_Accounting_Events) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Aaa_Accounting_Events) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Aaa_Accounting_Events) Λ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.
type OpenconfigSystem_System_Aaa_Accounting_Events_Event ¶
type OpenconfigSystem_System_Aaa_Accounting_Events_Event struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Config *OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config `path:"config" module:"openconfig-system"` ΛConfig []ygot.Annotation `path:"@config" ygotAnnotation:"true"` EventType E_OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE `path:"event-type" module:"openconfig-system"` ΛEventType []ygot.Annotation `path:"@event-type" ygotAnnotation:"true"` State *OpenconfigSystem_System_Aaa_Accounting_Events_Event_State `path:"state" module:"openconfig-system"` ΛState []ygot.Annotation `path:"@state" ygotAnnotation:"true"` }
OpenconfigSystem_System_Aaa_Accounting_Events_Event represents the /openconfig-system/system/aaa/accounting/events/event YANG schema element.
func (*OpenconfigSystem_System_Aaa_Accounting_Events_Event) GetConfig ¶
func (t *OpenconfigSystem_System_Aaa_Accounting_Events_Event) GetConfig() *OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config
GetConfig returns the value of the Config struct pointer from OpenconfigSystem_System_Aaa_Accounting_Events_Event. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Aaa_Accounting_Events_Event) GetEventType ¶
func (t *OpenconfigSystem_System_Aaa_Accounting_Events_Event) GetEventType() E_OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE
GetEventType retrieves the value of the leaf EventType from the OpenconfigSystem_System_Aaa_Accounting_Events_Event struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if EventType is set, it can safely use t.GetEventType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.EventType == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Aaa_Accounting_Events_Event) GetOrCreateConfig ¶
func (t *OpenconfigSystem_System_Aaa_Accounting_Events_Event) GetOrCreateConfig() *OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Aaa_Accounting_Events_Event) GetOrCreateState ¶
func (t *OpenconfigSystem_System_Aaa_Accounting_Events_Event) GetOrCreateState() *OpenconfigSystem_System_Aaa_Accounting_Events_Event_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Aaa_Accounting_Events_Event) GetState ¶
func (t *OpenconfigSystem_System_Aaa_Accounting_Events_Event) GetState() *OpenconfigSystem_System_Aaa_Accounting_Events_Event_State
GetState returns the value of the State struct pointer from OpenconfigSystem_System_Aaa_Accounting_Events_Event. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Aaa_Accounting_Events_Event) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Aaa_Accounting_Events_Event) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_Accounting_Events_Event implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Aaa_Accounting_Events_Event) Validate ¶
func (t *OpenconfigSystem_System_Aaa_Accounting_Events_Event) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Aaa_Accounting_Events_Event) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Aaa_Accounting_Events_Event) Λ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 (*OpenconfigSystem_System_Aaa_Accounting_Events_Event) ΛListKeyMap ¶
func (t *OpenconfigSystem_System_Aaa_Accounting_Events_Event) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the OpenconfigSystem_System_Aaa_Accounting_Events_Event struct, which is a YANG list entry.
type OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config ¶
type OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` EventType E_OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE `path:"event-type" module:"openconfig-system"` ΛEventType []ygot.Annotation `path:"@event-type" ygotAnnotation:"true"` Record E_OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config_Record `path:"record" module:"openconfig-system"` ΛRecord []ygot.Annotation `path:"@record" ygotAnnotation:"true"` }
OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config represents the /openconfig-system/system/aaa/accounting/events/event/config YANG schema element.
func (*OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config) GetEventType ¶
func (t *OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config) GetEventType() E_OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE
GetEventType retrieves the value of the leaf EventType from the OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if EventType is set, it can safely use t.GetEventType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.EventType == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config) GetRecord ¶
func (t *OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config) GetRecord() E_OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config_Record
GetRecord retrieves the value of the leaf Record from the OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Record is set, it can safely use t.GetRecord() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Record == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config) Validate ¶
func (t *OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config) Λ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.
type OpenconfigSystem_System_Aaa_Accounting_Events_Event_State ¶
type OpenconfigSystem_System_Aaa_Accounting_Events_Event_State struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` EventType E_OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE `path:"event-type" module:"openconfig-system"` ΛEventType []ygot.Annotation `path:"@event-type" ygotAnnotation:"true"` Record E_OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config_Record `path:"record" module:"openconfig-system"` ΛRecord []ygot.Annotation `path:"@record" ygotAnnotation:"true"` }
OpenconfigSystem_System_Aaa_Accounting_Events_Event_State represents the /openconfig-system/system/aaa/accounting/events/event/state YANG schema element.
func (*OpenconfigSystem_System_Aaa_Accounting_Events_Event_State) GetEventType ¶
func (t *OpenconfigSystem_System_Aaa_Accounting_Events_Event_State) GetEventType() E_OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE
GetEventType retrieves the value of the leaf EventType from the OpenconfigSystem_System_Aaa_Accounting_Events_Event_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if EventType is set, it can safely use t.GetEventType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.EventType == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Aaa_Accounting_Events_Event_State) GetRecord ¶
func (t *OpenconfigSystem_System_Aaa_Accounting_Events_Event_State) GetRecord() E_OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config_Record
GetRecord retrieves the value of the leaf Record from the OpenconfigSystem_System_Aaa_Accounting_Events_Event_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Record is set, it can safely use t.GetRecord() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Record == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Aaa_Accounting_Events_Event_State) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Aaa_Accounting_Events_Event_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_Accounting_Events_Event_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Aaa_Accounting_Events_Event_State) Validate ¶
func (t *OpenconfigSystem_System_Aaa_Accounting_Events_Event_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Aaa_Accounting_Events_Event_State) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Aaa_Accounting_Events_Event_State) Λ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.
type OpenconfigSystem_System_Aaa_Accounting_State ¶
type OpenconfigSystem_System_Aaa_Accounting_State struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` AccountingMethod []OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union `path:"accounting-method" module:"openconfig-system"` ΛAccountingMethod []ygot.Annotation `path:"@accounting-method" ygotAnnotation:"true"` }
OpenconfigSystem_System_Aaa_Accounting_State represents the /openconfig-system/system/aaa/accounting/state YANG schema element.
func (*OpenconfigSystem_System_Aaa_Accounting_State) GetAccountingMethod ¶
func (t *OpenconfigSystem_System_Aaa_Accounting_State) GetAccountingMethod() []OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union
GetAccountingMethod retrieves the value of the leaf AccountingMethod from the OpenconfigSystem_System_Aaa_Accounting_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AccountingMethod is set, it can safely use t.GetAccountingMethod() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AccountingMethod == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Aaa_Accounting_State) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Aaa_Accounting_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_Accounting_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Aaa_Accounting_State) To_OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union ¶
func (t *OpenconfigSystem_System_Aaa_Accounting_State) To_OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union(i interface{}) (OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union, error)
To_OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union takes an input interface{} and attempts to convert it to a struct which implements the OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union union. It returns an error if the interface{} supplied cannot be converted to a type within the union.
func (*OpenconfigSystem_System_Aaa_Accounting_State) Validate ¶
func (t *OpenconfigSystem_System_Aaa_Accounting_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Aaa_Accounting_State) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Aaa_Accounting_State) Λ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.
type OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union ¶
type OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union interface {
Is_OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union()
}
OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union is an interface that is implemented by valid types for the union for the leaf /openconfig-system/system/aaa/accounting/state/accounting-method within the YANG schema.
type OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE ¶
type OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE struct {
E_OpenconfigAaaTypes_AAA_METHOD_TYPE E_OpenconfigAaaTypes_AAA_METHOD_TYPE
}
OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE is used when /openconfig-system/system/aaa/accounting/state/accounting-method is to be set to a E_OpenconfigAaaTypes_AAA_METHOD_TYPE value.
func (*OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE) Is_OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union ¶
func (*OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE) Is_OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union()
Is_OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union ensures that OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE implements the OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union interface.
type OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union_String ¶
type OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union_String struct {
String string
}
OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union_String is used when /openconfig-system/system/aaa/accounting/state/accounting-method is to be set to a string value.
func (*OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union_String) Is_OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union ¶
func (*OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union_String) Is_OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union()
Is_OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union ensures that OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union_String implements the OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union interface.
type OpenconfigSystem_System_Aaa_Authentication ¶
type OpenconfigSystem_System_Aaa_Authentication struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` AdminUser *OpenconfigSystem_System_Aaa_Authentication_AdminUser `path:"admin-user" module:"openconfig-system"` ΛAdminUser []ygot.Annotation `path:"@admin-user" ygotAnnotation:"true"` Config *OpenconfigSystem_System_Aaa_Authentication_Config `path:"config" module:"openconfig-system"` ΛConfig []ygot.Annotation `path:"@config" ygotAnnotation:"true"` State *OpenconfigSystem_System_Aaa_Authentication_State `path:"state" module:"openconfig-system"` ΛState []ygot.Annotation `path:"@state" ygotAnnotation:"true"` Users *OpenconfigSystem_System_Aaa_Authentication_Users `path:"users" module:"openconfig-system"` ΛUsers []ygot.Annotation `path:"@users" ygotAnnotation:"true"` }
OpenconfigSystem_System_Aaa_Authentication represents the /openconfig-system/system/aaa/authentication YANG schema element.
func (*OpenconfigSystem_System_Aaa_Authentication) GetAdminUser ¶
func (t *OpenconfigSystem_System_Aaa_Authentication) GetAdminUser() *OpenconfigSystem_System_Aaa_Authentication_AdminUser
GetAdminUser returns the value of the AdminUser struct pointer from OpenconfigSystem_System_Aaa_Authentication. If the receiver or the field AdminUser is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Aaa_Authentication) GetConfig ¶
func (t *OpenconfigSystem_System_Aaa_Authentication) GetConfig() *OpenconfigSystem_System_Aaa_Authentication_Config
GetConfig returns the value of the Config struct pointer from OpenconfigSystem_System_Aaa_Authentication. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Aaa_Authentication) GetOrCreateAdminUser ¶
func (t *OpenconfigSystem_System_Aaa_Authentication) GetOrCreateAdminUser() *OpenconfigSystem_System_Aaa_Authentication_AdminUser
GetOrCreateAdminUser retrieves the value of the AdminUser field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Aaa_Authentication) GetOrCreateConfig ¶
func (t *OpenconfigSystem_System_Aaa_Authentication) GetOrCreateConfig() *OpenconfigSystem_System_Aaa_Authentication_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Aaa_Authentication) GetOrCreateState ¶
func (t *OpenconfigSystem_System_Aaa_Authentication) GetOrCreateState() *OpenconfigSystem_System_Aaa_Authentication_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Aaa_Authentication) GetOrCreateUsers ¶
func (t *OpenconfigSystem_System_Aaa_Authentication) GetOrCreateUsers() *OpenconfigSystem_System_Aaa_Authentication_Users
GetOrCreateUsers retrieves the value of the Users field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Aaa_Authentication) GetState ¶
func (t *OpenconfigSystem_System_Aaa_Authentication) GetState() *OpenconfigSystem_System_Aaa_Authentication_State
GetState returns the value of the State struct pointer from OpenconfigSystem_System_Aaa_Authentication. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Aaa_Authentication) GetUsers ¶
func (t *OpenconfigSystem_System_Aaa_Authentication) GetUsers() *OpenconfigSystem_System_Aaa_Authentication_Users
GetUsers returns the value of the Users struct pointer from OpenconfigSystem_System_Aaa_Authentication. If the receiver or the field Users is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Aaa_Authentication) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Aaa_Authentication) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_Authentication implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Aaa_Authentication) Validate ¶
func (t *OpenconfigSystem_System_Aaa_Authentication) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Aaa_Authentication) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Aaa_Authentication) Λ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.
type OpenconfigSystem_System_Aaa_Authentication_AdminUser ¶
type OpenconfigSystem_System_Aaa_Authentication_AdminUser struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Config *OpenconfigSystem_System_Aaa_Authentication_AdminUser_Config `path:"config" module:"openconfig-system"` ΛConfig []ygot.Annotation `path:"@config" ygotAnnotation:"true"` State *OpenconfigSystem_System_Aaa_Authentication_AdminUser_State `path:"state" module:"openconfig-system"` ΛState []ygot.Annotation `path:"@state" ygotAnnotation:"true"` }
OpenconfigSystem_System_Aaa_Authentication_AdminUser represents the /openconfig-system/system/aaa/authentication/admin-user YANG schema element.
func (*OpenconfigSystem_System_Aaa_Authentication_AdminUser) GetConfig ¶
func (t *OpenconfigSystem_System_Aaa_Authentication_AdminUser) GetConfig() *OpenconfigSystem_System_Aaa_Authentication_AdminUser_Config
GetConfig returns the value of the Config struct pointer from OpenconfigSystem_System_Aaa_Authentication_AdminUser. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Aaa_Authentication_AdminUser) GetOrCreateConfig ¶
func (t *OpenconfigSystem_System_Aaa_Authentication_AdminUser) GetOrCreateConfig() *OpenconfigSystem_System_Aaa_Authentication_AdminUser_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Aaa_Authentication_AdminUser) GetOrCreateState ¶
func (t *OpenconfigSystem_System_Aaa_Authentication_AdminUser) GetOrCreateState() *OpenconfigSystem_System_Aaa_Authentication_AdminUser_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Aaa_Authentication_AdminUser) GetState ¶
func (t *OpenconfigSystem_System_Aaa_Authentication_AdminUser) GetState() *OpenconfigSystem_System_Aaa_Authentication_AdminUser_State
GetState returns the value of the State struct pointer from OpenconfigSystem_System_Aaa_Authentication_AdminUser. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Aaa_Authentication_AdminUser) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Aaa_Authentication_AdminUser) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_Authentication_AdminUser implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Aaa_Authentication_AdminUser) Validate ¶
func (t *OpenconfigSystem_System_Aaa_Authentication_AdminUser) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Aaa_Authentication_AdminUser) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Aaa_Authentication_AdminUser) Λ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.
type OpenconfigSystem_System_Aaa_Authentication_AdminUser_Config ¶
type OpenconfigSystem_System_Aaa_Authentication_AdminUser_Config struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` AdminPassword *string `path:"admin-password" module:"openconfig-system"` ΛAdminPassword []ygot.Annotation `path:"@admin-password" ygotAnnotation:"true"` AdminPasswordHashed *string `path:"admin-password-hashed" module:"openconfig-system"` ΛAdminPasswordHashed []ygot.Annotation `path:"@admin-password-hashed" ygotAnnotation:"true"` }
OpenconfigSystem_System_Aaa_Authentication_AdminUser_Config represents the /openconfig-system/system/aaa/authentication/admin-user/config YANG schema element.
func (*OpenconfigSystem_System_Aaa_Authentication_AdminUser_Config) GetAdminPassword ¶
func (t *OpenconfigSystem_System_Aaa_Authentication_AdminUser_Config) GetAdminPassword() string
GetAdminPassword retrieves the value of the leaf AdminPassword from the OpenconfigSystem_System_Aaa_Authentication_AdminUser_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AdminPassword is set, it can safely use t.GetAdminPassword() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AdminPassword == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Aaa_Authentication_AdminUser_Config) GetAdminPasswordHashed ¶
func (t *OpenconfigSystem_System_Aaa_Authentication_AdminUser_Config) GetAdminPasswordHashed() string
GetAdminPasswordHashed retrieves the value of the leaf AdminPasswordHashed from the OpenconfigSystem_System_Aaa_Authentication_AdminUser_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AdminPasswordHashed is set, it can safely use t.GetAdminPasswordHashed() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AdminPasswordHashed == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Aaa_Authentication_AdminUser_Config) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Aaa_Authentication_AdminUser_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_Authentication_AdminUser_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Aaa_Authentication_AdminUser_Config) Validate ¶
func (t *OpenconfigSystem_System_Aaa_Authentication_AdminUser_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Aaa_Authentication_AdminUser_Config) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Aaa_Authentication_AdminUser_Config) Λ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.
type OpenconfigSystem_System_Aaa_Authentication_AdminUser_State ¶
type OpenconfigSystem_System_Aaa_Authentication_AdminUser_State struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` AdminPassword *string `path:"admin-password" module:"openconfig-system"` ΛAdminPassword []ygot.Annotation `path:"@admin-password" ygotAnnotation:"true"` AdminPasswordHashed *string `path:"admin-password-hashed" module:"openconfig-system"` ΛAdminPasswordHashed []ygot.Annotation `path:"@admin-password-hashed" ygotAnnotation:"true"` AdminUsername *string `path:"admin-username" module:"openconfig-system"` ΛAdminUsername []ygot.Annotation `path:"@admin-username" ygotAnnotation:"true"` }
OpenconfigSystem_System_Aaa_Authentication_AdminUser_State represents the /openconfig-system/system/aaa/authentication/admin-user/state YANG schema element.
func (*OpenconfigSystem_System_Aaa_Authentication_AdminUser_State) GetAdminPassword ¶
func (t *OpenconfigSystem_System_Aaa_Authentication_AdminUser_State) GetAdminPassword() string
GetAdminPassword retrieves the value of the leaf AdminPassword from the OpenconfigSystem_System_Aaa_Authentication_AdminUser_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AdminPassword is set, it can safely use t.GetAdminPassword() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AdminPassword == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Aaa_Authentication_AdminUser_State) GetAdminPasswordHashed ¶
func (t *OpenconfigSystem_System_Aaa_Authentication_AdminUser_State) GetAdminPasswordHashed() string
GetAdminPasswordHashed retrieves the value of the leaf AdminPasswordHashed from the OpenconfigSystem_System_Aaa_Authentication_AdminUser_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AdminPasswordHashed is set, it can safely use t.GetAdminPasswordHashed() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AdminPasswordHashed == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Aaa_Authentication_AdminUser_State) GetAdminUsername ¶
func (t *OpenconfigSystem_System_Aaa_Authentication_AdminUser_State) GetAdminUsername() string
GetAdminUsername retrieves the value of the leaf AdminUsername from the OpenconfigSystem_System_Aaa_Authentication_AdminUser_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AdminUsername is set, it can safely use t.GetAdminUsername() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AdminUsername == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Aaa_Authentication_AdminUser_State) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Aaa_Authentication_AdminUser_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_Authentication_AdminUser_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Aaa_Authentication_AdminUser_State) Validate ¶
func (t *OpenconfigSystem_System_Aaa_Authentication_AdminUser_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Aaa_Authentication_AdminUser_State) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Aaa_Authentication_AdminUser_State) Λ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.
type OpenconfigSystem_System_Aaa_Authentication_Config ¶
type OpenconfigSystem_System_Aaa_Authentication_Config struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` AuthenticationMethod []OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union `path:"authentication-method" module:"openconfig-system"` ΛAuthenticationMethod []ygot.Annotation `path:"@authentication-method" ygotAnnotation:"true"` }
OpenconfigSystem_System_Aaa_Authentication_Config represents the /openconfig-system/system/aaa/authentication/config YANG schema element.
func (*OpenconfigSystem_System_Aaa_Authentication_Config) GetAuthenticationMethod ¶
func (t *OpenconfigSystem_System_Aaa_Authentication_Config) GetAuthenticationMethod() []OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union
GetAuthenticationMethod retrieves the value of the leaf AuthenticationMethod from the OpenconfigSystem_System_Aaa_Authentication_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AuthenticationMethod is set, it can safely use t.GetAuthenticationMethod() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AuthenticationMethod == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Aaa_Authentication_Config) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Aaa_Authentication_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_Authentication_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Aaa_Authentication_Config) To_OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union ¶
func (t *OpenconfigSystem_System_Aaa_Authentication_Config) To_OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union(i interface{}) (OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union, error)
To_OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union takes an input interface{} and attempts to convert it to a struct which implements the OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union union. It returns an error if the interface{} supplied cannot be converted to a type within the union.
func (*OpenconfigSystem_System_Aaa_Authentication_Config) Validate ¶
func (t *OpenconfigSystem_System_Aaa_Authentication_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Aaa_Authentication_Config) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Aaa_Authentication_Config) Λ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.
type OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union ¶
type OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union interface {
Is_OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union()
}
OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union is an interface that is implemented by valid types for the union for the leaf /openconfig-system/system/aaa/authentication/config/authentication-method within the YANG schema.
type OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE ¶
type OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE struct {
E_OpenconfigAaaTypes_AAA_METHOD_TYPE E_OpenconfigAaaTypes_AAA_METHOD_TYPE
}
OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE is used when /openconfig-system/system/aaa/authentication/config/authentication-method is to be set to a E_OpenconfigAaaTypes_AAA_METHOD_TYPE value.
func (*OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE) Is_OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union ¶
func (*OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE) Is_OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union()
Is_OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union ensures that OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE implements the OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union interface.
type OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union_String ¶
type OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union_String struct {
String string
}
OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union_String is used when /openconfig-system/system/aaa/authentication/config/authentication-method is to be set to a string value.
func (*OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union_String) Is_OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union ¶
func (*OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union_String) Is_OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union()
Is_OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union ensures that OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union_String implements the OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union interface.
type OpenconfigSystem_System_Aaa_Authentication_State ¶
type OpenconfigSystem_System_Aaa_Authentication_State struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` AuthenticationMethod []OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union `path:"authentication-method" module:"openconfig-system"` ΛAuthenticationMethod []ygot.Annotation `path:"@authentication-method" ygotAnnotation:"true"` }
OpenconfigSystem_System_Aaa_Authentication_State represents the /openconfig-system/system/aaa/authentication/state YANG schema element.
func (*OpenconfigSystem_System_Aaa_Authentication_State) GetAuthenticationMethod ¶
func (t *OpenconfigSystem_System_Aaa_Authentication_State) GetAuthenticationMethod() []OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union
GetAuthenticationMethod retrieves the value of the leaf AuthenticationMethod from the OpenconfigSystem_System_Aaa_Authentication_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AuthenticationMethod is set, it can safely use t.GetAuthenticationMethod() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AuthenticationMethod == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Aaa_Authentication_State) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Aaa_Authentication_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_Authentication_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Aaa_Authentication_State) To_OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union ¶
func (t *OpenconfigSystem_System_Aaa_Authentication_State) To_OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union(i interface{}) (OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union, error)
To_OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union takes an input interface{} and attempts to convert it to a struct which implements the OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union union. It returns an error if the interface{} supplied cannot be converted to a type within the union.
func (*OpenconfigSystem_System_Aaa_Authentication_State) Validate ¶
func (t *OpenconfigSystem_System_Aaa_Authentication_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Aaa_Authentication_State) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Aaa_Authentication_State) Λ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.
type OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union ¶
type OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union interface {
Is_OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union()
}
OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union is an interface that is implemented by valid types for the union for the leaf /openconfig-system/system/aaa/authentication/state/authentication-method within the YANG schema.
type OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE ¶
type OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE struct {
E_OpenconfigAaaTypes_AAA_METHOD_TYPE E_OpenconfigAaaTypes_AAA_METHOD_TYPE
}
OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE is used when /openconfig-system/system/aaa/authentication/state/authentication-method is to be set to a E_OpenconfigAaaTypes_AAA_METHOD_TYPE value.
func (*OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE) Is_OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union ¶
func (*OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE) Is_OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union()
Is_OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union ensures that OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE implements the OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union interface.
type OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union_String ¶
type OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union_String struct {
String string
}
OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union_String is used when /openconfig-system/system/aaa/authentication/state/authentication-method is to be set to a string value.
func (*OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union_String) Is_OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union ¶
func (*OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union_String) Is_OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union()
Is_OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union ensures that OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union_String implements the OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union interface.
type OpenconfigSystem_System_Aaa_Authentication_Users ¶
type OpenconfigSystem_System_Aaa_Authentication_Users struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` User map[string]*OpenconfigSystem_System_Aaa_Authentication_Users_User `path:"user" module:"openconfig-system"` ΛUser []ygot.Annotation `path:"@user" ygotAnnotation:"true"` }
OpenconfigSystem_System_Aaa_Authentication_Users represents the /openconfig-system/system/aaa/authentication/users YANG schema element.
func (*OpenconfigSystem_System_Aaa_Authentication_Users) AppendUser ¶
func (t *OpenconfigSystem_System_Aaa_Authentication_Users) AppendUser(v *OpenconfigSystem_System_Aaa_Authentication_Users_User) error
AppendUser appends the supplied OpenconfigSystem_System_Aaa_Authentication_Users_User struct to the list User of OpenconfigSystem_System_Aaa_Authentication_Users. If the key value(s) specified in the supplied OpenconfigSystem_System_Aaa_Authentication_Users_User already exist in the list, an error is returned.
func (*OpenconfigSystem_System_Aaa_Authentication_Users) GetOrCreateUser ¶
func (t *OpenconfigSystem_System_Aaa_Authentication_Users) GetOrCreateUser(Username string) *OpenconfigSystem_System_Aaa_Authentication_Users_User
GetOrCreateUser retrieves the value with the specified keys from the receiver OpenconfigSystem_System_Aaa_Authentication_Users. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*OpenconfigSystem_System_Aaa_Authentication_Users) GetUser ¶
func (t *OpenconfigSystem_System_Aaa_Authentication_Users) GetUser(Username string) *OpenconfigSystem_System_Aaa_Authentication_Users_User
GetUser retrieves the value with the specified key from the User map field of OpenconfigSystem_System_Aaa_Authentication_Users. 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 (*OpenconfigSystem_System_Aaa_Authentication_Users) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Aaa_Authentication_Users) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_Authentication_Users implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Aaa_Authentication_Users) NewUser ¶
func (t *OpenconfigSystem_System_Aaa_Authentication_Users) NewUser(Username string) (*OpenconfigSystem_System_Aaa_Authentication_Users_User, error)
NewUser creates a new entry in the User list of the OpenconfigSystem_System_Aaa_Authentication_Users struct. The keys of the list are populated from the input arguments.
func (*OpenconfigSystem_System_Aaa_Authentication_Users) RenameUser ¶
func (t *OpenconfigSystem_System_Aaa_Authentication_Users) RenameUser(oldK, newK string) error
RenameUser renames an entry in the list User within the OpenconfigSystem_System_Aaa_Authentication_Users struct. The entry with key oldK is renamed to newK updating the key within the value.
func (*OpenconfigSystem_System_Aaa_Authentication_Users) Validate ¶
func (t *OpenconfigSystem_System_Aaa_Authentication_Users) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Aaa_Authentication_Users) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Aaa_Authentication_Users) Λ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.
type OpenconfigSystem_System_Aaa_Authentication_Users_User ¶
type OpenconfigSystem_System_Aaa_Authentication_Users_User struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Config *OpenconfigSystem_System_Aaa_Authentication_Users_User_Config `path:"config" module:"openconfig-system"` ΛConfig []ygot.Annotation `path:"@config" ygotAnnotation:"true"` State *OpenconfigSystem_System_Aaa_Authentication_Users_User_State `path:"state" module:"openconfig-system"` ΛState []ygot.Annotation `path:"@state" ygotAnnotation:"true"` Username *string `path:"username" module:"openconfig-system"` ΛUsername []ygot.Annotation `path:"@username" ygotAnnotation:"true"` }
OpenconfigSystem_System_Aaa_Authentication_Users_User represents the /openconfig-system/system/aaa/authentication/users/user YANG schema element.
func (*OpenconfigSystem_System_Aaa_Authentication_Users_User) GetConfig ¶
func (t *OpenconfigSystem_System_Aaa_Authentication_Users_User) GetConfig() *OpenconfigSystem_System_Aaa_Authentication_Users_User_Config
GetConfig returns the value of the Config struct pointer from OpenconfigSystem_System_Aaa_Authentication_Users_User. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Aaa_Authentication_Users_User) GetOrCreateConfig ¶
func (t *OpenconfigSystem_System_Aaa_Authentication_Users_User) GetOrCreateConfig() *OpenconfigSystem_System_Aaa_Authentication_Users_User_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Aaa_Authentication_Users_User) GetOrCreateState ¶
func (t *OpenconfigSystem_System_Aaa_Authentication_Users_User) GetOrCreateState() *OpenconfigSystem_System_Aaa_Authentication_Users_User_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Aaa_Authentication_Users_User) GetState ¶
func (t *OpenconfigSystem_System_Aaa_Authentication_Users_User) GetState() *OpenconfigSystem_System_Aaa_Authentication_Users_User_State
GetState returns the value of the State struct pointer from OpenconfigSystem_System_Aaa_Authentication_Users_User. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Aaa_Authentication_Users_User) GetUsername ¶
func (t *OpenconfigSystem_System_Aaa_Authentication_Users_User) GetUsername() string
GetUsername retrieves the value of the leaf Username from the OpenconfigSystem_System_Aaa_Authentication_Users_User struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Username is set, it can safely use t.GetUsername() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Username == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Aaa_Authentication_Users_User) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Aaa_Authentication_Users_User) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_Authentication_Users_User implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Aaa_Authentication_Users_User) Validate ¶
func (t *OpenconfigSystem_System_Aaa_Authentication_Users_User) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Aaa_Authentication_Users_User) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Aaa_Authentication_Users_User) Λ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 (*OpenconfigSystem_System_Aaa_Authentication_Users_User) ΛListKeyMap ¶
func (t *OpenconfigSystem_System_Aaa_Authentication_Users_User) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the OpenconfigSystem_System_Aaa_Authentication_Users_User struct, which is a YANG list entry.
type OpenconfigSystem_System_Aaa_Authentication_Users_User_Config ¶
type OpenconfigSystem_System_Aaa_Authentication_Users_User_Config struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Password *string `path:"password" module:"openconfig-system"` ΛPassword []ygot.Annotation `path:"@password" ygotAnnotation:"true"` PasswordHashed *string `path:"password-hashed" module:"openconfig-system"` ΛPasswordHashed []ygot.Annotation `path:"@password-hashed" ygotAnnotation:"true"` Role OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union `path:"role" module:"openconfig-system"` ΛRole []ygot.Annotation `path:"@role" ygotAnnotation:"true"` SshKey *string `path:"ssh-key" module:"openconfig-system"` ΛSshKey []ygot.Annotation `path:"@ssh-key" ygotAnnotation:"true"` Username *string `path:"username" module:"openconfig-system"` ΛUsername []ygot.Annotation `path:"@username" ygotAnnotation:"true"` }
OpenconfigSystem_System_Aaa_Authentication_Users_User_Config represents the /openconfig-system/system/aaa/authentication/users/user/config YANG schema element.
func (*OpenconfigSystem_System_Aaa_Authentication_Users_User_Config) GetPassword ¶
func (t *OpenconfigSystem_System_Aaa_Authentication_Users_User_Config) GetPassword() string
GetPassword retrieves the value of the leaf Password from the OpenconfigSystem_System_Aaa_Authentication_Users_User_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Password is set, it can safely use t.GetPassword() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Password == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Aaa_Authentication_Users_User_Config) GetPasswordHashed ¶
func (t *OpenconfigSystem_System_Aaa_Authentication_Users_User_Config) GetPasswordHashed() string
GetPasswordHashed retrieves the value of the leaf PasswordHashed from the OpenconfigSystem_System_Aaa_Authentication_Users_User_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if PasswordHashed is set, it can safely use t.GetPasswordHashed() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.PasswordHashed == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Aaa_Authentication_Users_User_Config) GetRole ¶
func (t *OpenconfigSystem_System_Aaa_Authentication_Users_User_Config) GetRole() OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union
GetRole retrieves the value of the leaf Role from the OpenconfigSystem_System_Aaa_Authentication_Users_User_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Role is set, it can safely use t.GetRole() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Role == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Aaa_Authentication_Users_User_Config) GetSshKey ¶
func (t *OpenconfigSystem_System_Aaa_Authentication_Users_User_Config) GetSshKey() string
GetSshKey retrieves the value of the leaf SshKey from the OpenconfigSystem_System_Aaa_Authentication_Users_User_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SshKey is set, it can safely use t.GetSshKey() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SshKey == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Aaa_Authentication_Users_User_Config) GetUsername ¶
func (t *OpenconfigSystem_System_Aaa_Authentication_Users_User_Config) GetUsername() string
GetUsername retrieves the value of the leaf Username from the OpenconfigSystem_System_Aaa_Authentication_Users_User_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Username is set, it can safely use t.GetUsername() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Username == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Aaa_Authentication_Users_User_Config) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Aaa_Authentication_Users_User_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_Authentication_Users_User_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Aaa_Authentication_Users_User_Config) To_OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union ¶
func (t *OpenconfigSystem_System_Aaa_Authentication_Users_User_Config) To_OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union(i interface{}) (OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union, error)
To_OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union takes an input interface{} and attempts to convert it to a struct which implements the OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union union. It returns an error if the interface{} supplied cannot be converted to a type within the union.
func (*OpenconfigSystem_System_Aaa_Authentication_Users_User_Config) Validate ¶
func (t *OpenconfigSystem_System_Aaa_Authentication_Users_User_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Aaa_Authentication_Users_User_Config) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Aaa_Authentication_Users_User_Config) Λ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.
type OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union ¶
type OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union interface {
Is_OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union()
}
OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union is an interface that is implemented by valid types for the union for the leaf /openconfig-system/system/aaa/authentication/users/user/config/role within the YANG schema.
type OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union_E_OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES ¶
type OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union_E_OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES struct {
E_OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES E_OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES
}
OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union_E_OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES is used when /openconfig-system/system/aaa/authentication/users/user/config/role is to be set to a E_OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES value.
func (*OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union_E_OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES) Is_OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union ¶
func (*OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union_E_OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES) Is_OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union()
Is_OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union ensures that OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union_E_OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES implements the OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union interface.
type OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union_String ¶
type OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union_String struct {
String string
}
OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union_String is used when /openconfig-system/system/aaa/authentication/users/user/config/role is to be set to a string value.
func (*OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union_String) Is_OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union ¶
func (*OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union_String) Is_OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union()
Is_OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union ensures that OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union_String implements the OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union interface.
type OpenconfigSystem_System_Aaa_Authentication_Users_User_State ¶
type OpenconfigSystem_System_Aaa_Authentication_Users_User_State struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Password *string `path:"password" module:"openconfig-system"` ΛPassword []ygot.Annotation `path:"@password" ygotAnnotation:"true"` PasswordHashed *string `path:"password-hashed" module:"openconfig-system"` ΛPasswordHashed []ygot.Annotation `path:"@password-hashed" ygotAnnotation:"true"` Role OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union `path:"role" module:"openconfig-system"` ΛRole []ygot.Annotation `path:"@role" ygotAnnotation:"true"` SshKey *string `path:"ssh-key" module:"openconfig-system"` ΛSshKey []ygot.Annotation `path:"@ssh-key" ygotAnnotation:"true"` Username *string `path:"username" module:"openconfig-system"` ΛUsername []ygot.Annotation `path:"@username" ygotAnnotation:"true"` }
OpenconfigSystem_System_Aaa_Authentication_Users_User_State represents the /openconfig-system/system/aaa/authentication/users/user/state YANG schema element.
func (*OpenconfigSystem_System_Aaa_Authentication_Users_User_State) GetPassword ¶
func (t *OpenconfigSystem_System_Aaa_Authentication_Users_User_State) GetPassword() string
GetPassword retrieves the value of the leaf Password from the OpenconfigSystem_System_Aaa_Authentication_Users_User_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Password is set, it can safely use t.GetPassword() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Password == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Aaa_Authentication_Users_User_State) GetPasswordHashed ¶
func (t *OpenconfigSystem_System_Aaa_Authentication_Users_User_State) GetPasswordHashed() string
GetPasswordHashed retrieves the value of the leaf PasswordHashed from the OpenconfigSystem_System_Aaa_Authentication_Users_User_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if PasswordHashed is set, it can safely use t.GetPasswordHashed() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.PasswordHashed == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Aaa_Authentication_Users_User_State) GetRole ¶
func (t *OpenconfigSystem_System_Aaa_Authentication_Users_User_State) GetRole() OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union
GetRole retrieves the value of the leaf Role from the OpenconfigSystem_System_Aaa_Authentication_Users_User_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Role is set, it can safely use t.GetRole() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Role == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Aaa_Authentication_Users_User_State) GetSshKey ¶
func (t *OpenconfigSystem_System_Aaa_Authentication_Users_User_State) GetSshKey() string
GetSshKey retrieves the value of the leaf SshKey from the OpenconfigSystem_System_Aaa_Authentication_Users_User_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SshKey is set, it can safely use t.GetSshKey() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SshKey == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Aaa_Authentication_Users_User_State) GetUsername ¶
func (t *OpenconfigSystem_System_Aaa_Authentication_Users_User_State) GetUsername() string
GetUsername retrieves the value of the leaf Username from the OpenconfigSystem_System_Aaa_Authentication_Users_User_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Username is set, it can safely use t.GetUsername() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Username == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Aaa_Authentication_Users_User_State) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Aaa_Authentication_Users_User_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_Authentication_Users_User_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Aaa_Authentication_Users_User_State) To_OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union ¶
func (t *OpenconfigSystem_System_Aaa_Authentication_Users_User_State) To_OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union(i interface{}) (OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union, error)
To_OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union takes an input interface{} and attempts to convert it to a struct which implements the OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union union. It returns an error if the interface{} supplied cannot be converted to a type within the union.
func (*OpenconfigSystem_System_Aaa_Authentication_Users_User_State) Validate ¶
func (t *OpenconfigSystem_System_Aaa_Authentication_Users_User_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Aaa_Authentication_Users_User_State) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Aaa_Authentication_Users_User_State) Λ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.
type OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union ¶
type OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union interface {
Is_OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union()
}
OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union is an interface that is implemented by valid types for the union for the leaf /openconfig-system/system/aaa/authentication/users/user/state/role within the YANG schema.
type OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union_E_OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES ¶
type OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union_E_OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES struct {
E_OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES E_OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES
}
OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union_E_OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES is used when /openconfig-system/system/aaa/authentication/users/user/state/role is to be set to a E_OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES value.
func (*OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union_E_OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES) Is_OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union ¶
func (*OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union_E_OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES) Is_OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union()
Is_OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union ensures that OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union_E_OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES implements the OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union interface.
type OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union_String ¶
type OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union_String struct {
String string
}
OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union_String is used when /openconfig-system/system/aaa/authentication/users/user/state/role is to be set to a string value.
func (*OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union_String) Is_OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union ¶
func (*OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union_String) Is_OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union()
Is_OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union ensures that OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union_String implements the OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union interface.
type OpenconfigSystem_System_Aaa_Authorization ¶
type OpenconfigSystem_System_Aaa_Authorization struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Config *OpenconfigSystem_System_Aaa_Authorization_Config `path:"config" module:"openconfig-system"` ΛConfig []ygot.Annotation `path:"@config" ygotAnnotation:"true"` Events *OpenconfigSystem_System_Aaa_Authorization_Events `path:"events" module:"openconfig-system"` ΛEvents []ygot.Annotation `path:"@events" ygotAnnotation:"true"` State *OpenconfigSystem_System_Aaa_Authorization_State `path:"state" module:"openconfig-system"` ΛState []ygot.Annotation `path:"@state" ygotAnnotation:"true"` }
OpenconfigSystem_System_Aaa_Authorization represents the /openconfig-system/system/aaa/authorization YANG schema element.
func (*OpenconfigSystem_System_Aaa_Authorization) GetConfig ¶
func (t *OpenconfigSystem_System_Aaa_Authorization) GetConfig() *OpenconfigSystem_System_Aaa_Authorization_Config
GetConfig returns the value of the Config struct pointer from OpenconfigSystem_System_Aaa_Authorization. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Aaa_Authorization) GetEvents ¶
func (t *OpenconfigSystem_System_Aaa_Authorization) GetEvents() *OpenconfigSystem_System_Aaa_Authorization_Events
GetEvents returns the value of the Events struct pointer from OpenconfigSystem_System_Aaa_Authorization. If the receiver or the field Events is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Aaa_Authorization) GetOrCreateConfig ¶
func (t *OpenconfigSystem_System_Aaa_Authorization) GetOrCreateConfig() *OpenconfigSystem_System_Aaa_Authorization_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Aaa_Authorization) GetOrCreateEvents ¶
func (t *OpenconfigSystem_System_Aaa_Authorization) GetOrCreateEvents() *OpenconfigSystem_System_Aaa_Authorization_Events
GetOrCreateEvents retrieves the value of the Events field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Aaa_Authorization) GetOrCreateState ¶
func (t *OpenconfigSystem_System_Aaa_Authorization) GetOrCreateState() *OpenconfigSystem_System_Aaa_Authorization_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Aaa_Authorization) GetState ¶
func (t *OpenconfigSystem_System_Aaa_Authorization) GetState() *OpenconfigSystem_System_Aaa_Authorization_State
GetState returns the value of the State struct pointer from OpenconfigSystem_System_Aaa_Authorization. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Aaa_Authorization) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Aaa_Authorization) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_Authorization implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Aaa_Authorization) Validate ¶
func (t *OpenconfigSystem_System_Aaa_Authorization) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Aaa_Authorization) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Aaa_Authorization) Λ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.
type OpenconfigSystem_System_Aaa_Authorization_Config ¶
type OpenconfigSystem_System_Aaa_Authorization_Config struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` AuthorizationMethod []OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union `path:"authorization-method" module:"openconfig-system"` ΛAuthorizationMethod []ygot.Annotation `path:"@authorization-method" ygotAnnotation:"true"` }
OpenconfigSystem_System_Aaa_Authorization_Config represents the /openconfig-system/system/aaa/authorization/config YANG schema element.
func (*OpenconfigSystem_System_Aaa_Authorization_Config) GetAuthorizationMethod ¶
func (t *OpenconfigSystem_System_Aaa_Authorization_Config) GetAuthorizationMethod() []OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union
GetAuthorizationMethod retrieves the value of the leaf AuthorizationMethod from the OpenconfigSystem_System_Aaa_Authorization_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AuthorizationMethod is set, it can safely use t.GetAuthorizationMethod() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AuthorizationMethod == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Aaa_Authorization_Config) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Aaa_Authorization_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_Authorization_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Aaa_Authorization_Config) To_OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union ¶
func (t *OpenconfigSystem_System_Aaa_Authorization_Config) To_OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union(i interface{}) (OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union, error)
To_OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union takes an input interface{} and attempts to convert it to a struct which implements the OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union union. It returns an error if the interface{} supplied cannot be converted to a type within the union.
func (*OpenconfigSystem_System_Aaa_Authorization_Config) Validate ¶
func (t *OpenconfigSystem_System_Aaa_Authorization_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Aaa_Authorization_Config) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Aaa_Authorization_Config) Λ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.
type OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union ¶
type OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union interface {
Is_OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union()
}
OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union is an interface that is implemented by valid types for the union for the leaf /openconfig-system/system/aaa/authorization/config/authorization-method within the YANG schema.
type OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE ¶
type OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE struct {
E_OpenconfigAaaTypes_AAA_METHOD_TYPE E_OpenconfigAaaTypes_AAA_METHOD_TYPE
}
OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE is used when /openconfig-system/system/aaa/authorization/config/authorization-method is to be set to a E_OpenconfigAaaTypes_AAA_METHOD_TYPE value.
func (*OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE) Is_OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union ¶
func (*OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE) Is_OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union()
Is_OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union ensures that OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE implements the OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union interface.
type OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union_String ¶
type OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union_String struct {
String string
}
OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union_String is used when /openconfig-system/system/aaa/authorization/config/authorization-method is to be set to a string value.
func (*OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union_String) Is_OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union ¶
func (*OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union_String) Is_OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union()
Is_OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union ensures that OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union_String implements the OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union interface.
type OpenconfigSystem_System_Aaa_Authorization_Events ¶
type OpenconfigSystem_System_Aaa_Authorization_Events struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Event map[E_OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE]*OpenconfigSystem_System_Aaa_Authorization_Events_Event `path:"event" module:"openconfig-system"` ΛEvent []ygot.Annotation `path:"@event" ygotAnnotation:"true"` }
OpenconfigSystem_System_Aaa_Authorization_Events represents the /openconfig-system/system/aaa/authorization/events YANG schema element.
func (*OpenconfigSystem_System_Aaa_Authorization_Events) AppendEvent ¶
func (t *OpenconfigSystem_System_Aaa_Authorization_Events) AppendEvent(v *OpenconfigSystem_System_Aaa_Authorization_Events_Event) error
AppendEvent appends the supplied OpenconfigSystem_System_Aaa_Authorization_Events_Event struct to the list Event of OpenconfigSystem_System_Aaa_Authorization_Events. If the key value(s) specified in the supplied OpenconfigSystem_System_Aaa_Authorization_Events_Event already exist in the list, an error is returned.
func (*OpenconfigSystem_System_Aaa_Authorization_Events) GetEvent ¶
func (t *OpenconfigSystem_System_Aaa_Authorization_Events) GetEvent(EventType E_OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE) *OpenconfigSystem_System_Aaa_Authorization_Events_Event
GetEvent retrieves the value with the specified key from the Event map field of OpenconfigSystem_System_Aaa_Authorization_Events. 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 (*OpenconfigSystem_System_Aaa_Authorization_Events) GetOrCreateEvent ¶
func (t *OpenconfigSystem_System_Aaa_Authorization_Events) GetOrCreateEvent(EventType E_OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE) *OpenconfigSystem_System_Aaa_Authorization_Events_Event
GetOrCreateEvent retrieves the value with the specified keys from the receiver OpenconfigSystem_System_Aaa_Authorization_Events. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*OpenconfigSystem_System_Aaa_Authorization_Events) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Aaa_Authorization_Events) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_Authorization_Events implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Aaa_Authorization_Events) NewEvent ¶
func (t *OpenconfigSystem_System_Aaa_Authorization_Events) NewEvent(EventType E_OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE) (*OpenconfigSystem_System_Aaa_Authorization_Events_Event, error)
NewEvent creates a new entry in the Event list of the OpenconfigSystem_System_Aaa_Authorization_Events struct. The keys of the list are populated from the input arguments.
func (*OpenconfigSystem_System_Aaa_Authorization_Events) RenameEvent ¶
func (t *OpenconfigSystem_System_Aaa_Authorization_Events) RenameEvent(oldK, newK E_OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE) error
RenameEvent renames an entry in the list Event within the OpenconfigSystem_System_Aaa_Authorization_Events struct. The entry with key oldK is renamed to newK updating the key within the value.
func (*OpenconfigSystem_System_Aaa_Authorization_Events) Validate ¶
func (t *OpenconfigSystem_System_Aaa_Authorization_Events) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Aaa_Authorization_Events) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Aaa_Authorization_Events) Λ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.
type OpenconfigSystem_System_Aaa_Authorization_Events_Event ¶
type OpenconfigSystem_System_Aaa_Authorization_Events_Event struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Config *OpenconfigSystem_System_Aaa_Authorization_Events_Event_Config `path:"config" module:"openconfig-system"` ΛConfig []ygot.Annotation `path:"@config" ygotAnnotation:"true"` EventType E_OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE `path:"event-type" module:"openconfig-system"` ΛEventType []ygot.Annotation `path:"@event-type" ygotAnnotation:"true"` State *OpenconfigSystem_System_Aaa_Authorization_Events_Event_State `path:"state" module:"openconfig-system"` ΛState []ygot.Annotation `path:"@state" ygotAnnotation:"true"` }
OpenconfigSystem_System_Aaa_Authorization_Events_Event represents the /openconfig-system/system/aaa/authorization/events/event YANG schema element.
func (*OpenconfigSystem_System_Aaa_Authorization_Events_Event) GetConfig ¶
func (t *OpenconfigSystem_System_Aaa_Authorization_Events_Event) GetConfig() *OpenconfigSystem_System_Aaa_Authorization_Events_Event_Config
GetConfig returns the value of the Config struct pointer from OpenconfigSystem_System_Aaa_Authorization_Events_Event. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Aaa_Authorization_Events_Event) GetEventType ¶
func (t *OpenconfigSystem_System_Aaa_Authorization_Events_Event) GetEventType() E_OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE
GetEventType retrieves the value of the leaf EventType from the OpenconfigSystem_System_Aaa_Authorization_Events_Event struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if EventType is set, it can safely use t.GetEventType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.EventType == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Aaa_Authorization_Events_Event) GetOrCreateConfig ¶
func (t *OpenconfigSystem_System_Aaa_Authorization_Events_Event) GetOrCreateConfig() *OpenconfigSystem_System_Aaa_Authorization_Events_Event_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Aaa_Authorization_Events_Event) GetOrCreateState ¶
func (t *OpenconfigSystem_System_Aaa_Authorization_Events_Event) GetOrCreateState() *OpenconfigSystem_System_Aaa_Authorization_Events_Event_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Aaa_Authorization_Events_Event) GetState ¶
func (t *OpenconfigSystem_System_Aaa_Authorization_Events_Event) GetState() *OpenconfigSystem_System_Aaa_Authorization_Events_Event_State
GetState returns the value of the State struct pointer from OpenconfigSystem_System_Aaa_Authorization_Events_Event. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Aaa_Authorization_Events_Event) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Aaa_Authorization_Events_Event) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_Authorization_Events_Event implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Aaa_Authorization_Events_Event) Validate ¶
func (t *OpenconfigSystem_System_Aaa_Authorization_Events_Event) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Aaa_Authorization_Events_Event) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Aaa_Authorization_Events_Event) Λ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 (*OpenconfigSystem_System_Aaa_Authorization_Events_Event) ΛListKeyMap ¶
func (t *OpenconfigSystem_System_Aaa_Authorization_Events_Event) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the OpenconfigSystem_System_Aaa_Authorization_Events_Event struct, which is a YANG list entry.
type OpenconfigSystem_System_Aaa_Authorization_Events_Event_Config ¶
type OpenconfigSystem_System_Aaa_Authorization_Events_Event_Config struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` EventType E_OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE `path:"event-type" module:"openconfig-system"` ΛEventType []ygot.Annotation `path:"@event-type" ygotAnnotation:"true"` }
OpenconfigSystem_System_Aaa_Authorization_Events_Event_Config represents the /openconfig-system/system/aaa/authorization/events/event/config YANG schema element.
func (*OpenconfigSystem_System_Aaa_Authorization_Events_Event_Config) GetEventType ¶
func (t *OpenconfigSystem_System_Aaa_Authorization_Events_Event_Config) GetEventType() E_OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE
GetEventType retrieves the value of the leaf EventType from the OpenconfigSystem_System_Aaa_Authorization_Events_Event_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if EventType is set, it can safely use t.GetEventType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.EventType == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Aaa_Authorization_Events_Event_Config) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Aaa_Authorization_Events_Event_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_Authorization_Events_Event_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Aaa_Authorization_Events_Event_Config) Validate ¶
func (t *OpenconfigSystem_System_Aaa_Authorization_Events_Event_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Aaa_Authorization_Events_Event_Config) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Aaa_Authorization_Events_Event_Config) Λ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.
type OpenconfigSystem_System_Aaa_Authorization_Events_Event_State ¶
type OpenconfigSystem_System_Aaa_Authorization_Events_Event_State struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` EventType E_OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE `path:"event-type" module:"openconfig-system"` ΛEventType []ygot.Annotation `path:"@event-type" ygotAnnotation:"true"` }
OpenconfigSystem_System_Aaa_Authorization_Events_Event_State represents the /openconfig-system/system/aaa/authorization/events/event/state YANG schema element.
func (*OpenconfigSystem_System_Aaa_Authorization_Events_Event_State) GetEventType ¶
func (t *OpenconfigSystem_System_Aaa_Authorization_Events_Event_State) GetEventType() E_OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE
GetEventType retrieves the value of the leaf EventType from the OpenconfigSystem_System_Aaa_Authorization_Events_Event_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if EventType is set, it can safely use t.GetEventType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.EventType == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Aaa_Authorization_Events_Event_State) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Aaa_Authorization_Events_Event_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_Authorization_Events_Event_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Aaa_Authorization_Events_Event_State) Validate ¶
func (t *OpenconfigSystem_System_Aaa_Authorization_Events_Event_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Aaa_Authorization_Events_Event_State) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Aaa_Authorization_Events_Event_State) Λ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.
type OpenconfigSystem_System_Aaa_Authorization_State ¶
type OpenconfigSystem_System_Aaa_Authorization_State struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` AuthorizationMethod []OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union `path:"authorization-method" module:"openconfig-system"` ΛAuthorizationMethod []ygot.Annotation `path:"@authorization-method" ygotAnnotation:"true"` }
OpenconfigSystem_System_Aaa_Authorization_State represents the /openconfig-system/system/aaa/authorization/state YANG schema element.
func (*OpenconfigSystem_System_Aaa_Authorization_State) GetAuthorizationMethod ¶
func (t *OpenconfigSystem_System_Aaa_Authorization_State) GetAuthorizationMethod() []OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union
GetAuthorizationMethod retrieves the value of the leaf AuthorizationMethod from the OpenconfigSystem_System_Aaa_Authorization_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AuthorizationMethod is set, it can safely use t.GetAuthorizationMethod() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AuthorizationMethod == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Aaa_Authorization_State) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Aaa_Authorization_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_Authorization_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Aaa_Authorization_State) To_OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union ¶
func (t *OpenconfigSystem_System_Aaa_Authorization_State) To_OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union(i interface{}) (OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union, error)
To_OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union takes an input interface{} and attempts to convert it to a struct which implements the OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union union. It returns an error if the interface{} supplied cannot be converted to a type within the union.
func (*OpenconfigSystem_System_Aaa_Authorization_State) Validate ¶
func (t *OpenconfigSystem_System_Aaa_Authorization_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Aaa_Authorization_State) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Aaa_Authorization_State) Λ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.
type OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union ¶
type OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union interface {
Is_OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union()
}
OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union is an interface that is implemented by valid types for the union for the leaf /openconfig-system/system/aaa/authorization/state/authorization-method within the YANG schema.
type OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE ¶
type OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE struct {
E_OpenconfigAaaTypes_AAA_METHOD_TYPE E_OpenconfigAaaTypes_AAA_METHOD_TYPE
}
OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE is used when /openconfig-system/system/aaa/authorization/state/authorization-method is to be set to a E_OpenconfigAaaTypes_AAA_METHOD_TYPE value.
func (*OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE) Is_OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union ¶
func (*OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE) Is_OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union()
Is_OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union ensures that OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE implements the OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union interface.
type OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union_String ¶
type OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union_String struct {
String string
}
OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union_String is used when /openconfig-system/system/aaa/authorization/state/authorization-method is to be set to a string value.
func (*OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union_String) Is_OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union ¶
func (*OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union_String) Is_OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union()
Is_OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union ensures that OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union_String implements the OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union interface.
type OpenconfigSystem_System_Aaa_Config ¶
type OpenconfigSystem_System_Aaa_Config struct {
ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
}
OpenconfigSystem_System_Aaa_Config represents the /openconfig-system/system/aaa/config YANG schema element.
func (*OpenconfigSystem_System_Aaa_Config) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Aaa_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Aaa_Config) Validate ¶
func (t *OpenconfigSystem_System_Aaa_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Aaa_Config) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Aaa_Config) Λ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.
type OpenconfigSystem_System_Aaa_ServerGroups ¶
type OpenconfigSystem_System_Aaa_ServerGroups struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` ServerGroup map[string]*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup `path:"server-group" module:"openconfig-system"` ΛServerGroup []ygot.Annotation `path:"@server-group" ygotAnnotation:"true"` }
OpenconfigSystem_System_Aaa_ServerGroups represents the /openconfig-system/system/aaa/server-groups YANG schema element.
func (*OpenconfigSystem_System_Aaa_ServerGroups) AppendServerGroup ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups) AppendServerGroup(v *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup) error
AppendServerGroup appends the supplied OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup struct to the list ServerGroup of OpenconfigSystem_System_Aaa_ServerGroups. If the key value(s) specified in the supplied OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup already exist in the list, an error is returned.
func (*OpenconfigSystem_System_Aaa_ServerGroups) GetOrCreateServerGroup ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups) GetOrCreateServerGroup(Name string) *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup
GetOrCreateServerGroup retrieves the value with the specified keys from the receiver OpenconfigSystem_System_Aaa_ServerGroups. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*OpenconfigSystem_System_Aaa_ServerGroups) GetServerGroup ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups) GetServerGroup(Name string) *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup
GetServerGroup retrieves the value with the specified key from the ServerGroup map field of OpenconfigSystem_System_Aaa_ServerGroups. 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 (*OpenconfigSystem_System_Aaa_ServerGroups) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Aaa_ServerGroups) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_ServerGroups implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Aaa_ServerGroups) NewServerGroup ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups) NewServerGroup(Name string) (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup, error)
NewServerGroup creates a new entry in the ServerGroup list of the OpenconfigSystem_System_Aaa_ServerGroups struct. The keys of the list are populated from the input arguments.
func (*OpenconfigSystem_System_Aaa_ServerGroups) RenameServerGroup ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups) RenameServerGroup(oldK, newK string) error
RenameServerGroup renames an entry in the list ServerGroup within the OpenconfigSystem_System_Aaa_ServerGroups struct. The entry with key oldK is renamed to newK updating the key within the value.
func (*OpenconfigSystem_System_Aaa_ServerGroups) Validate ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Aaa_ServerGroups) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups) Λ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.
type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup ¶
type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Config *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Config `path:"config" module:"openconfig-system"` ΛConfig []ygot.Annotation `path:"@config" ygotAnnotation:"true"` Name *string `path:"name" module:"openconfig-system"` ΛName []ygot.Annotation `path:"@name" ygotAnnotation:"true"` Servers *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers `path:"servers" module:"openconfig-system"` ΛServers []ygot.Annotation `path:"@servers" ygotAnnotation:"true"` State *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_State `path:"state" module:"openconfig-system"` ΛState []ygot.Annotation `path:"@state" ygotAnnotation:"true"` }
OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup represents the /openconfig-system/system/aaa/server-groups/server-group YANG schema element.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup) GetConfig ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup) GetConfig() *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Config
GetConfig returns the value of the Config struct pointer from OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup) GetName ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup) GetName() string
GetName retrieves the value of the leaf Name from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup struct. Caution should be exercised whilst using this method since 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 (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup) GetOrCreateConfig ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup) GetOrCreateConfig() *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup) GetOrCreateServers ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup) GetOrCreateServers() *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers
GetOrCreateServers retrieves the value of the Servers field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup) GetOrCreateState ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup) GetOrCreateState() *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup) GetServers ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup) GetServers() *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers
GetServers returns the value of the Servers struct pointer from OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup. If the receiver or the field Servers is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup) GetState ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup) GetState() *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_State
GetState returns the value of the State struct pointer from OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup) Validate ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup) Λ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 (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup) ΛListKeyMap ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup struct, which is a YANG list entry.
type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Config ¶
type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Config struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Name *string `path:"name" module:"openconfig-system"` ΛName []ygot.Annotation `path:"@name" ygotAnnotation:"true"` Type E_OpenconfigAaaTypes_AAA_SERVER_TYPE `path:"type" module:"openconfig-system"` ΛType []ygot.Annotation `path:"@type" ygotAnnotation:"true"` }
OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Config represents the /openconfig-system/system/aaa/server-groups/server-group/config YANG schema element.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Config) GetName ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Config) GetName() string
GetName retrieves the value of the leaf Name from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Config struct. Caution should be exercised whilst using this method since 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 (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Config) GetType ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Config) GetType() E_OpenconfigAaaTypes_AAA_SERVER_TYPE
GetType retrieves the value of the leaf Type from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Config struct. Caution should be exercised whilst using this method since 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 (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Config) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Config) Validate ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Config) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Config) Λ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.
type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers ¶
type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Server map[string]*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server `path:"server" module:"openconfig-system"` ΛServer []ygot.Annotation `path:"@server" ygotAnnotation:"true"` }
OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers represents the /openconfig-system/system/aaa/server-groups/server-group/servers YANG schema element.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers) AppendServer ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers) AppendServer(v *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server) error
AppendServer appends the supplied OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server struct to the list Server of OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers. If the key value(s) specified in the supplied OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server already exist in the list, an error is returned.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers) GetOrCreateServer ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers) GetOrCreateServer(Address string) *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server
GetOrCreateServer retrieves the value with the specified keys from the receiver OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers) GetServer ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers) GetServer(Address string) *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server
GetServer retrieves the value with the specified key from the Server map field of OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers. 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 (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers) NewServer ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers) NewServer(Address string) (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server, error)
NewServer creates a new entry in the Server list of the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers struct. The keys of the list are populated from the input arguments.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers) RenameServer ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers) RenameServer(oldK, newK string) error
RenameServer renames an entry in the list Server within the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers struct. The entry with key oldK is renamed to newK updating the key within the value.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers) Validate ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers) Λ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.
type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server ¶
type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Address *string `path:"address" module:"openconfig-system"` ΛAddress []ygot.Annotation `path:"@address" ygotAnnotation:"true"` Config *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Config `path:"config" module:"openconfig-system"` ΛConfig []ygot.Annotation `path:"@config" ygotAnnotation:"true"` Radius *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius `path:"radius" module:"openconfig-system"` ΛRadius []ygot.Annotation `path:"@radius" ygotAnnotation:"true"` State *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State `path:"state" module:"openconfig-system"` ΛState []ygot.Annotation `path:"@state" ygotAnnotation:"true"` Tacacs *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs `path:"tacacs" module:"openconfig-system"` ΛTacacs []ygot.Annotation `path:"@tacacs" ygotAnnotation:"true"` }
OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server represents the /openconfig-system/system/aaa/server-groups/server-group/servers/server YANG schema element.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server) GetAddress ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server) GetAddress() string
GetAddress retrieves the value of the leaf Address from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server struct. Caution should be exercised whilst using this method since 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 (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server) GetConfig ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server) GetConfig() *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Config
GetConfig returns the value of the Config struct pointer from OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server) GetOrCreateConfig ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server) GetOrCreateConfig() *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server) GetOrCreateRadius ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server) GetOrCreateRadius() *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius
GetOrCreateRadius retrieves the value of the Radius field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server) GetOrCreateState ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server) GetOrCreateState() *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server) GetOrCreateTacacs ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server) GetOrCreateTacacs() *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs
GetOrCreateTacacs retrieves the value of the Tacacs field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server) GetRadius ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server) GetRadius() *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius
GetRadius returns the value of the Radius struct pointer from OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server. If the receiver or the field Radius is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server) GetState ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server) GetState() *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State
GetState returns the value of the State struct pointer from OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server) GetTacacs ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server) GetTacacs() *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs
GetTacacs returns the value of the Tacacs struct pointer from OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server. If the receiver or the field Tacacs is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server) Validate ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server) Λ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 (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server) ΛListKeyMap ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server struct, which is a YANG list entry.
type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Config ¶
type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Config struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Address *string `path:"address" module:"openconfig-system"` ΛAddress []ygot.Annotation `path:"@address" ygotAnnotation:"true"` Name *string `path:"name" module:"openconfig-system"` ΛName []ygot.Annotation `path:"@name" ygotAnnotation:"true"` Timeout *uint16 `path:"timeout" module:"openconfig-system"` ΛTimeout []ygot.Annotation `path:"@timeout" ygotAnnotation:"true"` }
OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Config represents the /openconfig-system/system/aaa/server-groups/server-group/servers/server/config YANG schema element.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Config) GetAddress ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Config) GetAddress() string
GetAddress retrieves the value of the leaf Address from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Config struct. Caution should be exercised whilst using this method since 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 (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Config) GetName ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Config) GetName() string
GetName retrieves the value of the leaf Name from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Config struct. Caution should be exercised whilst using this method since 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 (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Config) GetTimeout ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Config) GetTimeout() uint16
GetTimeout retrieves the value of the leaf Timeout from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Config struct. Caution should be exercised whilst using this method since 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 (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Config) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Config) Validate ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Config) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Config) Λ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.
type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius ¶
type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Config *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_Config `path:"config" module:"openconfig-system"` ΛConfig []ygot.Annotation `path:"@config" ygotAnnotation:"true"` State *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State `path:"state" module:"openconfig-system"` ΛState []ygot.Annotation `path:"@state" ygotAnnotation:"true"` }
OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius represents the /openconfig-system/system/aaa/server-groups/server-group/servers/server/radius YANG schema element.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius) GetConfig ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius) GetConfig() *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_Config
GetConfig returns the value of the Config struct pointer from OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius) GetOrCreateConfig ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius) GetOrCreateConfig() *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius) GetOrCreateState ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius) GetOrCreateState() *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius) GetState ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius) GetState() *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State
GetState returns the value of the State struct pointer from OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius) Validate ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius) Λ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.
type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_Config ¶
type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_Config struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` AcctPort *uint16 `path:"acct-port" module:"openconfig-system"` ΛAcctPort []ygot.Annotation `path:"@acct-port" ygotAnnotation:"true"` AuthPort *uint16 `path:"auth-port" module:"openconfig-system"` ΛAuthPort []ygot.Annotation `path:"@auth-port" ygotAnnotation:"true"` RetransmitAttempts *uint8 `path:"retransmit-attempts" module:"openconfig-system"` ΛRetransmitAttempts []ygot.Annotation `path:"@retransmit-attempts" ygotAnnotation:"true"` SecretKey *string `path:"secret-key" module:"openconfig-system"` ΛSecretKey []ygot.Annotation `path:"@secret-key" ygotAnnotation:"true"` SourceAddress *string `path:"source-address" module:"openconfig-system"` ΛSourceAddress []ygot.Annotation `path:"@source-address" ygotAnnotation:"true"` }
OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_Config represents the /openconfig-system/system/aaa/server-groups/server-group/servers/server/radius/config YANG schema element.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_Config) GetAcctPort ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_Config) GetAcctPort() uint16
GetAcctPort retrieves the value of the leaf AcctPort from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AcctPort is set, it can safely use t.GetAcctPort() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AcctPort == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_Config) GetAuthPort ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_Config) GetAuthPort() uint16
GetAuthPort retrieves the value of the leaf AuthPort from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AuthPort is set, it can safely use t.GetAuthPort() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AuthPort == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_Config) GetRetransmitAttempts ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_Config) GetRetransmitAttempts() uint8
GetRetransmitAttempts retrieves the value of the leaf RetransmitAttempts from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if RetransmitAttempts is set, it can safely use t.GetRetransmitAttempts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.RetransmitAttempts == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_Config) GetSecretKey ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_Config) GetSecretKey() string
GetSecretKey retrieves the value of the leaf SecretKey from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SecretKey is set, it can safely use t.GetSecretKey() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SecretKey == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_Config) GetSourceAddress ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_Config) GetSourceAddress() string
GetSourceAddress retrieves the value of the leaf SourceAddress from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_Config struct. Caution should be exercised whilst using this method since 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 (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_Config) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_Config) Validate ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_Config) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_Config) Λ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.
type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State ¶
type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` AcctPort *uint16 `path:"acct-port" module:"openconfig-system"` ΛAcctPort []ygot.Annotation `path:"@acct-port" ygotAnnotation:"true"` AuthPort *uint16 `path:"auth-port" module:"openconfig-system"` ΛAuthPort []ygot.Annotation `path:"@auth-port" ygotAnnotation:"true"` Counters *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State_Counters `path:"counters" module:"openconfig-system"` ΛCounters []ygot.Annotation `path:"@counters" ygotAnnotation:"true"` RetransmitAttempts *uint8 `path:"retransmit-attempts" module:"openconfig-system"` ΛRetransmitAttempts []ygot.Annotation `path:"@retransmit-attempts" ygotAnnotation:"true"` SecretKey *string `path:"secret-key" module:"openconfig-system"` ΛSecretKey []ygot.Annotation `path:"@secret-key" ygotAnnotation:"true"` SourceAddress *string `path:"source-address" module:"openconfig-system"` ΛSourceAddress []ygot.Annotation `path:"@source-address" ygotAnnotation:"true"` }
OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State represents the /openconfig-system/system/aaa/server-groups/server-group/servers/server/radius/state YANG schema element.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State) GetAcctPort ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State) GetAcctPort() uint16
GetAcctPort retrieves the value of the leaf AcctPort from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AcctPort is set, it can safely use t.GetAcctPort() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AcctPort == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State) GetAuthPort ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State) GetAuthPort() uint16
GetAuthPort retrieves the value of the leaf AuthPort from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AuthPort is set, it can safely use t.GetAuthPort() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AuthPort == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State) GetCounters ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State) GetCounters() *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State_Counters
GetCounters returns the value of the Counters struct pointer from OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State. If the receiver or the field Counters is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State) GetOrCreateCounters ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State) GetOrCreateCounters() *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State_Counters
GetOrCreateCounters retrieves the value of the Counters field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State) GetRetransmitAttempts ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State) GetRetransmitAttempts() uint8
GetRetransmitAttempts retrieves the value of the leaf RetransmitAttempts from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if RetransmitAttempts is set, it can safely use t.GetRetransmitAttempts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.RetransmitAttempts == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State) GetSecretKey ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State) GetSecretKey() string
GetSecretKey retrieves the value of the leaf SecretKey from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SecretKey is set, it can safely use t.GetSecretKey() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SecretKey == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State) GetSourceAddress ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State) GetSourceAddress() string
GetSourceAddress retrieves the value of the leaf SourceAddress from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State struct. Caution should be exercised whilst using this method since 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 (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State) Validate ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State) Λ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.
type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State_Counters ¶
type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State_Counters struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` AccessAccepts *uint64 `path:"access-accepts" module:"openconfig-system"` ΛAccessAccepts []ygot.Annotation `path:"@access-accepts" ygotAnnotation:"true"` AccessRejects *uint64 `path:"access-rejects" module:"openconfig-system"` ΛAccessRejects []ygot.Annotation `path:"@access-rejects" ygotAnnotation:"true"` RetriedAccessRequests *uint64 `path:"retried-access-requests" module:"openconfig-system"` ΛRetriedAccessRequests []ygot.Annotation `path:"@retried-access-requests" ygotAnnotation:"true"` TimeoutAccessRequests *uint64 `path:"timeout-access-requests" module:"openconfig-system"` ΛTimeoutAccessRequests []ygot.Annotation `path:"@timeout-access-requests" ygotAnnotation:"true"` }
OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State_Counters represents the /openconfig-system/system/aaa/server-groups/server-group/servers/server/radius/state/counters YANG schema element.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State_Counters) GetAccessAccepts ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State_Counters) GetAccessAccepts() uint64
GetAccessAccepts retrieves the value of the leaf AccessAccepts from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AccessAccepts is set, it can safely use t.GetAccessAccepts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AccessAccepts == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State_Counters) GetAccessRejects ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State_Counters) GetAccessRejects() uint64
GetAccessRejects retrieves the value of the leaf AccessRejects from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AccessRejects is set, it can safely use t.GetAccessRejects() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AccessRejects == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State_Counters) GetRetriedAccessRequests ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State_Counters) GetRetriedAccessRequests() uint64
GetRetriedAccessRequests retrieves the value of the leaf RetriedAccessRequests from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if RetriedAccessRequests is set, it can safely use t.GetRetriedAccessRequests() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.RetriedAccessRequests == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State_Counters) GetTimeoutAccessRequests ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State_Counters) GetTimeoutAccessRequests() uint64
GetTimeoutAccessRequests retrieves the value of the leaf TimeoutAccessRequests from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TimeoutAccessRequests is set, it can safely use t.GetTimeoutAccessRequests() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TimeoutAccessRequests == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State_Counters) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State_Counters) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State_Counters implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State_Counters) Validate ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State_Counters) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State_Counters) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State_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.
type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State ¶
type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Address *string `path:"address" module:"openconfig-system"` ΛAddress []ygot.Annotation `path:"@address" ygotAnnotation:"true"` ConnectionAborts *uint64 `path:"connection-aborts" module:"openconfig-system"` ΛConnectionAborts []ygot.Annotation `path:"@connection-aborts" ygotAnnotation:"true"` ConnectionCloses *uint64 `path:"connection-closes" module:"openconfig-system"` ΛConnectionCloses []ygot.Annotation `path:"@connection-closes" ygotAnnotation:"true"` ConnectionFailures *uint64 `path:"connection-failures" module:"openconfig-system"` ΛConnectionFailures []ygot.Annotation `path:"@connection-failures" ygotAnnotation:"true"` ConnectionOpens *uint64 `path:"connection-opens" module:"openconfig-system"` ΛConnectionOpens []ygot.Annotation `path:"@connection-opens" ygotAnnotation:"true"` ConnectionTimeouts *uint64 `path:"connection-timeouts" module:"openconfig-system"` ΛConnectionTimeouts []ygot.Annotation `path:"@connection-timeouts" ygotAnnotation:"true"` ErrorsReceived *uint64 `path:"errors-received" module:"openconfig-system"` ΛErrorsReceived []ygot.Annotation `path:"@errors-received" ygotAnnotation:"true"` MessagesReceived *uint64 `path:"messages-received" module:"openconfig-system"` ΛMessagesReceived []ygot.Annotation `path:"@messages-received" ygotAnnotation:"true"` MessagesSent *uint64 `path:"messages-sent" module:"openconfig-system"` ΛMessagesSent []ygot.Annotation `path:"@messages-sent" ygotAnnotation:"true"` Name *string `path:"name" module:"openconfig-system"` ΛName []ygot.Annotation `path:"@name" ygotAnnotation:"true"` Timeout *uint16 `path:"timeout" module:"openconfig-system"` ΛTimeout []ygot.Annotation `path:"@timeout" ygotAnnotation:"true"` }
OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State represents the /openconfig-system/system/aaa/server-groups/server-group/servers/server/state YANG schema element.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State) GetAddress ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State) GetAddress() string
GetAddress retrieves the value of the leaf Address from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State struct. Caution should be exercised whilst using this method since 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 (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State) GetConnectionAborts ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State) GetConnectionAborts() uint64
GetConnectionAborts retrieves the value of the leaf ConnectionAborts from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ConnectionAborts is set, it can safely use t.GetConnectionAborts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ConnectionAborts == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State) GetConnectionCloses ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State) GetConnectionCloses() uint64
GetConnectionCloses retrieves the value of the leaf ConnectionCloses from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ConnectionCloses is set, it can safely use t.GetConnectionCloses() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ConnectionCloses == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State) GetConnectionFailures ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State) GetConnectionFailures() uint64
GetConnectionFailures retrieves the value of the leaf ConnectionFailures from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ConnectionFailures is set, it can safely use t.GetConnectionFailures() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ConnectionFailures == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State) GetConnectionOpens ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State) GetConnectionOpens() uint64
GetConnectionOpens retrieves the value of the leaf ConnectionOpens from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ConnectionOpens is set, it can safely use t.GetConnectionOpens() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ConnectionOpens == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State) GetConnectionTimeouts ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State) GetConnectionTimeouts() uint64
GetConnectionTimeouts retrieves the value of the leaf ConnectionTimeouts from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ConnectionTimeouts is set, it can safely use t.GetConnectionTimeouts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ConnectionTimeouts == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State) GetErrorsReceived ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State) GetErrorsReceived() uint64
GetErrorsReceived retrieves the value of the leaf ErrorsReceived from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ErrorsReceived is set, it can safely use t.GetErrorsReceived() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ErrorsReceived == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State) GetMessagesReceived ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State) GetMessagesReceived() uint64
GetMessagesReceived retrieves the value of the leaf MessagesReceived from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MessagesReceived is set, it can safely use t.GetMessagesReceived() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MessagesReceived == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State) GetMessagesSent ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State) GetMessagesSent() uint64
GetMessagesSent retrieves the value of the leaf MessagesSent from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MessagesSent is set, it can safely use t.GetMessagesSent() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MessagesSent == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State) GetName ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State) GetName() string
GetName retrieves the value of the leaf Name from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State struct. Caution should be exercised whilst using this method since 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 (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State) GetTimeout ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State) GetTimeout() uint16
GetTimeout retrieves the value of the leaf Timeout from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State struct. Caution should be exercised whilst using this method since 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 (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State) Validate ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State) Λ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.
type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs ¶
type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Config *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_Config `path:"config" module:"openconfig-system"` ΛConfig []ygot.Annotation `path:"@config" ygotAnnotation:"true"` State *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_State `path:"state" module:"openconfig-system"` ΛState []ygot.Annotation `path:"@state" ygotAnnotation:"true"` }
OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs represents the /openconfig-system/system/aaa/server-groups/server-group/servers/server/tacacs YANG schema element.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs) GetConfig ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs) GetConfig() *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_Config
GetConfig returns the value of the Config struct pointer from OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs) GetOrCreateConfig ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs) GetOrCreateConfig() *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs) GetOrCreateState ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs) GetOrCreateState() *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs) GetState ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs) GetState() *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_State
GetState returns the value of the State struct pointer from OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs) Validate ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs) Λ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.
type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_Config ¶
type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_Config struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Port *uint16 `path:"port" module:"openconfig-system"` ΛPort []ygot.Annotation `path:"@port" ygotAnnotation:"true"` SecretKey *string `path:"secret-key" module:"openconfig-system"` ΛSecretKey []ygot.Annotation `path:"@secret-key" ygotAnnotation:"true"` SourceAddress *string `path:"source-address" module:"openconfig-system"` ΛSourceAddress []ygot.Annotation `path:"@source-address" ygotAnnotation:"true"` }
OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_Config represents the /openconfig-system/system/aaa/server-groups/server-group/servers/server/tacacs/config YANG schema element.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_Config) GetPort ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_Config) GetPort() uint16
GetPort retrieves the value of the leaf Port from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Port is set, it can safely use t.GetPort() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Port == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_Config) GetSecretKey ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_Config) GetSecretKey() string
GetSecretKey retrieves the value of the leaf SecretKey from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SecretKey is set, it can safely use t.GetSecretKey() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SecretKey == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_Config) GetSourceAddress ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_Config) GetSourceAddress() string
GetSourceAddress retrieves the value of the leaf SourceAddress from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_Config struct. Caution should be exercised whilst using this method since 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 (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_Config) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_Config) Validate ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_Config) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_Config) Λ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.
type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_State ¶
type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_State struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Port *uint16 `path:"port" module:"openconfig-system"` ΛPort []ygot.Annotation `path:"@port" ygotAnnotation:"true"` SecretKey *string `path:"secret-key" module:"openconfig-system"` ΛSecretKey []ygot.Annotation `path:"@secret-key" ygotAnnotation:"true"` SourceAddress *string `path:"source-address" module:"openconfig-system"` ΛSourceAddress []ygot.Annotation `path:"@source-address" ygotAnnotation:"true"` }
OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_State represents the /openconfig-system/system/aaa/server-groups/server-group/servers/server/tacacs/state YANG schema element.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_State) GetPort ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_State) GetPort() uint16
GetPort retrieves the value of the leaf Port from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Port is set, it can safely use t.GetPort() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Port == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_State) GetSecretKey ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_State) GetSecretKey() string
GetSecretKey retrieves the value of the leaf SecretKey from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SecretKey is set, it can safely use t.GetSecretKey() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SecretKey == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_State) GetSourceAddress ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_State) GetSourceAddress() string
GetSourceAddress retrieves the value of the leaf SourceAddress from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_State struct. Caution should be exercised whilst using this method since 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 (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_State) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_State) Validate ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_State) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_State) Λ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.
type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_State ¶
type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_State struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Name *string `path:"name" module:"openconfig-system"` ΛName []ygot.Annotation `path:"@name" ygotAnnotation:"true"` Type E_OpenconfigAaaTypes_AAA_SERVER_TYPE `path:"type" module:"openconfig-system"` ΛType []ygot.Annotation `path:"@type" ygotAnnotation:"true"` }
OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_State represents the /openconfig-system/system/aaa/server-groups/server-group/state YANG schema element.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_State) GetName ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_State) GetName() string
GetName retrieves the value of the leaf Name from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_State struct. Caution should be exercised whilst using this method since 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 (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_State) GetType ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_State) GetType() E_OpenconfigAaaTypes_AAA_SERVER_TYPE
GetType retrieves the value of the leaf Type from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_State struct. Caution should be exercised whilst using this method since 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 (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_State) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_State) Validate ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_State) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_State) Λ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.
type OpenconfigSystem_System_Aaa_State ¶
type OpenconfigSystem_System_Aaa_State struct {
ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
}
OpenconfigSystem_System_Aaa_State represents the /openconfig-system/system/aaa/state YANG schema element.
func (*OpenconfigSystem_System_Aaa_State) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Aaa_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Aaa_State) Validate ¶
func (t *OpenconfigSystem_System_Aaa_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Aaa_State) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Aaa_State) Λ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.
type OpenconfigSystem_System_Alarms ¶
type OpenconfigSystem_System_Alarms struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Alarm map[string]*OpenconfigSystem_System_Alarms_Alarm `path:"alarm" module:"openconfig-system"` ΛAlarm []ygot.Annotation `path:"@alarm" ygotAnnotation:"true"` }
OpenconfigSystem_System_Alarms represents the /openconfig-system/system/alarms YANG schema element.
func (*OpenconfigSystem_System_Alarms) AppendAlarm ¶
func (t *OpenconfigSystem_System_Alarms) AppendAlarm(v *OpenconfigSystem_System_Alarms_Alarm) error
AppendAlarm appends the supplied OpenconfigSystem_System_Alarms_Alarm struct to the list Alarm of OpenconfigSystem_System_Alarms. If the key value(s) specified in the supplied OpenconfigSystem_System_Alarms_Alarm already exist in the list, an error is returned.
func (*OpenconfigSystem_System_Alarms) GetAlarm ¶
func (t *OpenconfigSystem_System_Alarms) GetAlarm(Id string) *OpenconfigSystem_System_Alarms_Alarm
GetAlarm retrieves the value with the specified key from the Alarm map field of OpenconfigSystem_System_Alarms. 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 (*OpenconfigSystem_System_Alarms) GetOrCreateAlarm ¶
func (t *OpenconfigSystem_System_Alarms) GetOrCreateAlarm(Id string) *OpenconfigSystem_System_Alarms_Alarm
GetOrCreateAlarm retrieves the value with the specified keys from the receiver OpenconfigSystem_System_Alarms. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*OpenconfigSystem_System_Alarms) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Alarms) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Alarms implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Alarms) NewAlarm ¶
func (t *OpenconfigSystem_System_Alarms) NewAlarm(Id string) (*OpenconfigSystem_System_Alarms_Alarm, error)
NewAlarm creates a new entry in the Alarm list of the OpenconfigSystem_System_Alarms struct. The keys of the list are populated from the input arguments.
func (*OpenconfigSystem_System_Alarms) RenameAlarm ¶
func (t *OpenconfigSystem_System_Alarms) RenameAlarm(oldK, newK string) error
RenameAlarm renames an entry in the list Alarm within the OpenconfigSystem_System_Alarms struct. The entry with key oldK is renamed to newK updating the key within the value.
func (*OpenconfigSystem_System_Alarms) Validate ¶
func (t *OpenconfigSystem_System_Alarms) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Alarms) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Alarms) Λ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.
type OpenconfigSystem_System_Alarms_Alarm ¶
type OpenconfigSystem_System_Alarms_Alarm struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Config *OpenconfigSystem_System_Alarms_Alarm_Config `path:"config" module:"openconfig-system"` ΛConfig []ygot.Annotation `path:"@config" ygotAnnotation:"true"` Id *string `path:"id" module:"openconfig-system"` ΛId []ygot.Annotation `path:"@id" ygotAnnotation:"true"` State *OpenconfigSystem_System_Alarms_Alarm_State `path:"state" module:"openconfig-system"` ΛState []ygot.Annotation `path:"@state" ygotAnnotation:"true"` }
OpenconfigSystem_System_Alarms_Alarm represents the /openconfig-system/system/alarms/alarm YANG schema element.
func (*OpenconfigSystem_System_Alarms_Alarm) GetConfig ¶
func (t *OpenconfigSystem_System_Alarms_Alarm) GetConfig() *OpenconfigSystem_System_Alarms_Alarm_Config
GetConfig returns the value of the Config struct pointer from OpenconfigSystem_System_Alarms_Alarm. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Alarms_Alarm) GetId ¶
func (t *OpenconfigSystem_System_Alarms_Alarm) GetId() string
GetId retrieves the value of the leaf Id from the OpenconfigSystem_System_Alarms_Alarm struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Id is set, it can safely use t.GetId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Id == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Alarms_Alarm) GetOrCreateConfig ¶
func (t *OpenconfigSystem_System_Alarms_Alarm) GetOrCreateConfig() *OpenconfigSystem_System_Alarms_Alarm_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Alarms_Alarm) GetOrCreateState ¶
func (t *OpenconfigSystem_System_Alarms_Alarm) GetOrCreateState() *OpenconfigSystem_System_Alarms_Alarm_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Alarms_Alarm) GetState ¶
func (t *OpenconfigSystem_System_Alarms_Alarm) GetState() *OpenconfigSystem_System_Alarms_Alarm_State
GetState returns the value of the State struct pointer from OpenconfigSystem_System_Alarms_Alarm. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Alarms_Alarm) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Alarms_Alarm) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Alarms_Alarm implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Alarms_Alarm) Validate ¶
func (t *OpenconfigSystem_System_Alarms_Alarm) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Alarms_Alarm) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Alarms_Alarm) Λ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 (*OpenconfigSystem_System_Alarms_Alarm) ΛListKeyMap ¶
func (t *OpenconfigSystem_System_Alarms_Alarm) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the OpenconfigSystem_System_Alarms_Alarm struct, which is a YANG list entry.
type OpenconfigSystem_System_Alarms_Alarm_Config ¶
type OpenconfigSystem_System_Alarms_Alarm_Config struct {
ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
}
OpenconfigSystem_System_Alarms_Alarm_Config represents the /openconfig-system/system/alarms/alarm/config YANG schema element.
func (*OpenconfigSystem_System_Alarms_Alarm_Config) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Alarms_Alarm_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Alarms_Alarm_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Alarms_Alarm_Config) Validate ¶
func (t *OpenconfigSystem_System_Alarms_Alarm_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Alarms_Alarm_Config) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Alarms_Alarm_Config) Λ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.
type OpenconfigSystem_System_Alarms_Alarm_State ¶
type OpenconfigSystem_System_Alarms_Alarm_State struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Id *string `path:"id" module:"openconfig-system"` ΛId []ygot.Annotation `path:"@id" ygotAnnotation:"true"` Resource *string `path:"resource" module:"openconfig-system"` ΛResource []ygot.Annotation `path:"@resource" ygotAnnotation:"true"` Severity E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY `path:"severity" module:"openconfig-system"` ΛSeverity []ygot.Annotation `path:"@severity" ygotAnnotation:"true"` Text *string `path:"text" module:"openconfig-system"` ΛText []ygot.Annotation `path:"@text" ygotAnnotation:"true"` TimeCreated *uint64 `path:"time-created" module:"openconfig-system"` ΛTimeCreated []ygot.Annotation `path:"@time-created" ygotAnnotation:"true"` TypeId OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union `path:"type-id" module:"openconfig-system"` ΛTypeId []ygot.Annotation `path:"@type-id" ygotAnnotation:"true"` }
OpenconfigSystem_System_Alarms_Alarm_State represents the /openconfig-system/system/alarms/alarm/state YANG schema element.
func (*OpenconfigSystem_System_Alarms_Alarm_State) GetId ¶
func (t *OpenconfigSystem_System_Alarms_Alarm_State) GetId() string
GetId retrieves the value of the leaf Id from the OpenconfigSystem_System_Alarms_Alarm_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Id is set, it can safely use t.GetId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Id == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Alarms_Alarm_State) GetResource ¶
func (t *OpenconfigSystem_System_Alarms_Alarm_State) GetResource() string
GetResource retrieves the value of the leaf Resource from the OpenconfigSystem_System_Alarms_Alarm_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Resource is set, it can safely use t.GetResource() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Resource == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Alarms_Alarm_State) GetSeverity ¶
func (t *OpenconfigSystem_System_Alarms_Alarm_State) GetSeverity() E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY
GetSeverity retrieves the value of the leaf Severity from the OpenconfigSystem_System_Alarms_Alarm_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Severity is set, it can safely use t.GetSeverity() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Severity == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Alarms_Alarm_State) GetText ¶
func (t *OpenconfigSystem_System_Alarms_Alarm_State) GetText() string
GetText retrieves the value of the leaf Text from the OpenconfigSystem_System_Alarms_Alarm_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Text is set, it can safely use t.GetText() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Text == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Alarms_Alarm_State) GetTimeCreated ¶
func (t *OpenconfigSystem_System_Alarms_Alarm_State) GetTimeCreated() uint64
GetTimeCreated retrieves the value of the leaf TimeCreated from the OpenconfigSystem_System_Alarms_Alarm_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TimeCreated is set, it can safely use t.GetTimeCreated() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TimeCreated == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Alarms_Alarm_State) GetTypeId ¶
func (t *OpenconfigSystem_System_Alarms_Alarm_State) GetTypeId() OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union
GetTypeId retrieves the value of the leaf TypeId from the OpenconfigSystem_System_Alarms_Alarm_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TypeId is set, it can safely use t.GetTypeId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TypeId == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Alarms_Alarm_State) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Alarms_Alarm_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Alarms_Alarm_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Alarms_Alarm_State) To_OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union ¶
func (t *OpenconfigSystem_System_Alarms_Alarm_State) To_OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union(i interface{}) (OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union, error)
To_OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union takes an input interface{} and attempts to convert it to a struct which implements the OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union union. It returns an error if the interface{} supplied cannot be converted to a type within the union.
func (*OpenconfigSystem_System_Alarms_Alarm_State) Validate ¶
func (t *OpenconfigSystem_System_Alarms_Alarm_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Alarms_Alarm_State) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Alarms_Alarm_State) Λ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.
type OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union ¶
type OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union interface {
Is_OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union()
}
OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union is an interface that is implemented by valid types for the union for the leaf /openconfig-system/system/alarms/alarm/state/type-id within the YANG schema.
type OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union_E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID ¶
type OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union_E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID struct {
E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID
}
OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union_E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID is used when /openconfig-system/system/alarms/alarm/state/type-id is to be set to a E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID value.
func (*OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union_E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID) Is_OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union ¶
func (*OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union_E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID) Is_OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union()
Is_OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union ensures that OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union_E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID implements the OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union interface.
type OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union_String ¶
type OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union_String struct {
String string
}
OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union_String is used when /openconfig-system/system/alarms/alarm/state/type-id is to be set to a string value.
func (*OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union_String) Is_OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union ¶
func (*OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union_String) Is_OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union()
Is_OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union ensures that OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union_String implements the OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union interface.
type OpenconfigSystem_System_Clock ¶
type OpenconfigSystem_System_Clock struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Config *OpenconfigSystem_System_Clock_Config `path:"config" module:"openconfig-system"` ΛConfig []ygot.Annotation `path:"@config" ygotAnnotation:"true"` State *OpenconfigSystem_System_Clock_State `path:"state" module:"openconfig-system"` ΛState []ygot.Annotation `path:"@state" ygotAnnotation:"true"` }
OpenconfigSystem_System_Clock represents the /openconfig-system/system/clock YANG schema element.
func (*OpenconfigSystem_System_Clock) GetConfig ¶
func (t *OpenconfigSystem_System_Clock) GetConfig() *OpenconfigSystem_System_Clock_Config
GetConfig returns the value of the Config struct pointer from OpenconfigSystem_System_Clock. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Clock) GetOrCreateConfig ¶
func (t *OpenconfigSystem_System_Clock) GetOrCreateConfig() *OpenconfigSystem_System_Clock_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Clock) GetOrCreateState ¶
func (t *OpenconfigSystem_System_Clock) GetOrCreateState() *OpenconfigSystem_System_Clock_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Clock) GetState ¶
func (t *OpenconfigSystem_System_Clock) GetState() *OpenconfigSystem_System_Clock_State
GetState returns the value of the State struct pointer from OpenconfigSystem_System_Clock. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Clock) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Clock) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Clock implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Clock) Validate ¶
func (t *OpenconfigSystem_System_Clock) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Clock) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Clock) Λ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.
type OpenconfigSystem_System_Clock_Config ¶
type OpenconfigSystem_System_Clock_Config struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` TimezoneName *string `path:"timezone-name" module:"openconfig-system"` ΛTimezoneName []ygot.Annotation `path:"@timezone-name" ygotAnnotation:"true"` }
OpenconfigSystem_System_Clock_Config represents the /openconfig-system/system/clock/config YANG schema element.
func (*OpenconfigSystem_System_Clock_Config) GetTimezoneName ¶
func (t *OpenconfigSystem_System_Clock_Config) GetTimezoneName() string
GetTimezoneName retrieves the value of the leaf TimezoneName from the OpenconfigSystem_System_Clock_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TimezoneName is set, it can safely use t.GetTimezoneName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TimezoneName == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Clock_Config) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Clock_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Clock_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Clock_Config) Validate ¶
func (t *OpenconfigSystem_System_Clock_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Clock_Config) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Clock_Config) Λ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.
type OpenconfigSystem_System_Clock_State ¶
type OpenconfigSystem_System_Clock_State struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` TimezoneName *string `path:"timezone-name" module:"openconfig-system"` ΛTimezoneName []ygot.Annotation `path:"@timezone-name" ygotAnnotation:"true"` }
OpenconfigSystem_System_Clock_State represents the /openconfig-system/system/clock/state YANG schema element.
func (*OpenconfigSystem_System_Clock_State) GetTimezoneName ¶
func (t *OpenconfigSystem_System_Clock_State) GetTimezoneName() string
GetTimezoneName retrieves the value of the leaf TimezoneName from the OpenconfigSystem_System_Clock_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TimezoneName is set, it can safely use t.GetTimezoneName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TimezoneName == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Clock_State) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Clock_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Clock_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Clock_State) Validate ¶
func (t *OpenconfigSystem_System_Clock_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Clock_State) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Clock_State) Λ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.
type OpenconfigSystem_System_Config ¶
type OpenconfigSystem_System_Config struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` DomainName *string `path:"domain-name" module:"openconfig-system"` ΛDomainName []ygot.Annotation `path:"@domain-name" ygotAnnotation:"true"` Hostname *string `path:"hostname" module:"openconfig-system"` ΛHostname []ygot.Annotation `path:"@hostname" ygotAnnotation:"true"` LoginBanner *string `path:"login-banner" module:"openconfig-system"` ΛLoginBanner []ygot.Annotation `path:"@login-banner" ygotAnnotation:"true"` MotdBanner *string `path:"motd-banner" module:"openconfig-system"` ΛMotdBanner []ygot.Annotation `path:"@motd-banner" ygotAnnotation:"true"` }
OpenconfigSystem_System_Config represents the /openconfig-system/system/config YANG schema element.
func (*OpenconfigSystem_System_Config) GetDomainName ¶
func (t *OpenconfigSystem_System_Config) GetDomainName() string
GetDomainName retrieves the value of the leaf DomainName from the OpenconfigSystem_System_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if DomainName is set, it can safely use t.GetDomainName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.DomainName == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Config) GetHostname ¶
func (t *OpenconfigSystem_System_Config) GetHostname() string
GetHostname retrieves the value of the leaf Hostname from the OpenconfigSystem_System_Config struct. Caution should be exercised whilst using this method since 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 (*OpenconfigSystem_System_Config) GetLoginBanner ¶
func (t *OpenconfigSystem_System_Config) GetLoginBanner() string
GetLoginBanner retrieves the value of the leaf LoginBanner from the OpenconfigSystem_System_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LoginBanner is set, it can safely use t.GetLoginBanner() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LoginBanner == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Config) GetMotdBanner ¶
func (t *OpenconfigSystem_System_Config) GetMotdBanner() string
GetMotdBanner retrieves the value of the leaf MotdBanner from the OpenconfigSystem_System_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MotdBanner is set, it can safely use t.GetMotdBanner() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MotdBanner == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Config) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Config) Validate ¶
func (t *OpenconfigSystem_System_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Config) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Config) Λ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.
type OpenconfigSystem_System_Cpus ¶
type OpenconfigSystem_System_Cpus struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Cpu map[OpenconfigSystem_System_Cpus_Cpu_State_Index_Union]*OpenconfigSystem_System_Cpus_Cpu `path:"cpu" module:"openconfig-system"` ΛCpu []ygot.Annotation `path:"@cpu" ygotAnnotation:"true"` }
OpenconfigSystem_System_Cpus represents the /openconfig-system/system/cpus YANG schema element.
func (*OpenconfigSystem_System_Cpus) AppendCpu ¶
func (t *OpenconfigSystem_System_Cpus) AppendCpu(v *OpenconfigSystem_System_Cpus_Cpu) error
AppendCpu appends the supplied OpenconfigSystem_System_Cpus_Cpu struct to the list Cpu of OpenconfigSystem_System_Cpus. If the key value(s) specified in the supplied OpenconfigSystem_System_Cpus_Cpu already exist in the list, an error is returned.
func (*OpenconfigSystem_System_Cpus) GetCpu ¶
func (t *OpenconfigSystem_System_Cpus) GetCpu(Index OpenconfigSystem_System_Cpus_Cpu_State_Index_Union) *OpenconfigSystem_System_Cpus_Cpu
GetCpu retrieves the value with the specified key from the Cpu map field of OpenconfigSystem_System_Cpus. 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 (*OpenconfigSystem_System_Cpus) GetOrCreateCpu ¶
func (t *OpenconfigSystem_System_Cpus) GetOrCreateCpu(Index OpenconfigSystem_System_Cpus_Cpu_State_Index_Union) *OpenconfigSystem_System_Cpus_Cpu
GetOrCreateCpu retrieves the value with the specified keys from the receiver OpenconfigSystem_System_Cpus. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*OpenconfigSystem_System_Cpus) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Cpus) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Cpus implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Cpus) NewCpu ¶
func (t *OpenconfigSystem_System_Cpus) NewCpu(Index OpenconfigSystem_System_Cpus_Cpu_State_Index_Union) (*OpenconfigSystem_System_Cpus_Cpu, error)
NewCpu creates a new entry in the Cpu list of the OpenconfigSystem_System_Cpus struct. The keys of the list are populated from the input arguments.
func (*OpenconfigSystem_System_Cpus) RenameCpu ¶
func (t *OpenconfigSystem_System_Cpus) RenameCpu(oldK, newK OpenconfigSystem_System_Cpus_Cpu_State_Index_Union) error
RenameCpu renames an entry in the list Cpu within the OpenconfigSystem_System_Cpus struct. The entry with key oldK is renamed to newK updating the key within the value.
func (*OpenconfigSystem_System_Cpus) Validate ¶
func (t *OpenconfigSystem_System_Cpus) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Cpus) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Cpus) Λ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.
type OpenconfigSystem_System_Cpus_Cpu ¶
type OpenconfigSystem_System_Cpus_Cpu struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Index OpenconfigSystem_System_Cpus_Cpu_State_Index_Union `path:"index" module:"openconfig-system"` ΛIndex []ygot.Annotation `path:"@index" ygotAnnotation:"true"` State *OpenconfigSystem_System_Cpus_Cpu_State `path:"state" module:"openconfig-system"` ΛState []ygot.Annotation `path:"@state" ygotAnnotation:"true"` }
OpenconfigSystem_System_Cpus_Cpu represents the /openconfig-system/system/cpus/cpu YANG schema element.
func (*OpenconfigSystem_System_Cpus_Cpu) GetIndex ¶
func (t *OpenconfigSystem_System_Cpus_Cpu) GetIndex() OpenconfigSystem_System_Cpus_Cpu_State_Index_Union
GetIndex retrieves the value of the leaf Index from the OpenconfigSystem_System_Cpus_Cpu struct. Caution should be exercised whilst using this method since 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 (*OpenconfigSystem_System_Cpus_Cpu) GetOrCreateState ¶
func (t *OpenconfigSystem_System_Cpus_Cpu) GetOrCreateState() *OpenconfigSystem_System_Cpus_Cpu_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Cpus_Cpu) GetState ¶
func (t *OpenconfigSystem_System_Cpus_Cpu) GetState() *OpenconfigSystem_System_Cpus_Cpu_State
GetState returns the value of the State struct pointer from OpenconfigSystem_System_Cpus_Cpu. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Cpus_Cpu) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Cpus_Cpu) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Cpus_Cpu implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Cpus_Cpu) To_OpenconfigSystem_System_Cpus_Cpu_State_Index_Union ¶
func (t *OpenconfigSystem_System_Cpus_Cpu) To_OpenconfigSystem_System_Cpus_Cpu_State_Index_Union(i interface{}) (OpenconfigSystem_System_Cpus_Cpu_State_Index_Union, error)
To_OpenconfigSystem_System_Cpus_Cpu_State_Index_Union takes an input interface{} and attempts to convert it to a struct which implements the OpenconfigSystem_System_Cpus_Cpu_State_Index_Union union. It returns an error if the interface{} supplied cannot be converted to a type within the union.
func (*OpenconfigSystem_System_Cpus_Cpu) Validate ¶
func (t *OpenconfigSystem_System_Cpus_Cpu) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Cpus_Cpu) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Cpus_Cpu) Λ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 (*OpenconfigSystem_System_Cpus_Cpu) ΛListKeyMap ¶
func (t *OpenconfigSystem_System_Cpus_Cpu) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the OpenconfigSystem_System_Cpus_Cpu struct, which is a YANG list entry.
type OpenconfigSystem_System_Cpus_Cpu_State ¶
type OpenconfigSystem_System_Cpus_Cpu_State struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` HardwareInterrupt *OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt `path:"hardware-interrupt" module:"openconfig-system"` ΛHardwareInterrupt []ygot.Annotation `path:"@hardware-interrupt" ygotAnnotation:"true"` Idle *OpenconfigSystem_System_Cpus_Cpu_State_Idle `path:"idle" module:"openconfig-system"` ΛIdle []ygot.Annotation `path:"@idle" ygotAnnotation:"true"` Index OpenconfigSystem_System_Cpus_Cpu_State_Index_Union `path:"index" module:"openconfig-system"` ΛIndex []ygot.Annotation `path:"@index" ygotAnnotation:"true"` Kernel *OpenconfigSystem_System_Cpus_Cpu_State_Kernel `path:"kernel" module:"openconfig-system"` ΛKernel []ygot.Annotation `path:"@kernel" ygotAnnotation:"true"` Nice *OpenconfigSystem_System_Cpus_Cpu_State_Nice `path:"nice" module:"openconfig-system"` ΛNice []ygot.Annotation `path:"@nice" ygotAnnotation:"true"` SoftwareInterrupt *OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt `path:"software-interrupt" module:"openconfig-system"` ΛSoftwareInterrupt []ygot.Annotation `path:"@software-interrupt" ygotAnnotation:"true"` Total *OpenconfigSystem_System_Cpus_Cpu_State_Total `path:"total" module:"openconfig-system"` ΛTotal []ygot.Annotation `path:"@total" ygotAnnotation:"true"` User *OpenconfigSystem_System_Cpus_Cpu_State_User `path:"user" module:"openconfig-system"` ΛUser []ygot.Annotation `path:"@user" ygotAnnotation:"true"` Wait *OpenconfigSystem_System_Cpus_Cpu_State_Wait `path:"wait" module:"openconfig-system"` ΛWait []ygot.Annotation `path:"@wait" ygotAnnotation:"true"` }
OpenconfigSystem_System_Cpus_Cpu_State represents the /openconfig-system/system/cpus/cpu/state YANG schema element.
func (*OpenconfigSystem_System_Cpus_Cpu_State) GetHardwareInterrupt ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State) GetHardwareInterrupt() *OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt
GetHardwareInterrupt returns the value of the HardwareInterrupt struct pointer from OpenconfigSystem_System_Cpus_Cpu_State. If the receiver or the field HardwareInterrupt is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Cpus_Cpu_State) GetIdle ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State) GetIdle() *OpenconfigSystem_System_Cpus_Cpu_State_Idle
GetIdle returns the value of the Idle struct pointer from OpenconfigSystem_System_Cpus_Cpu_State. If the receiver or the field Idle is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Cpus_Cpu_State) GetIndex ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State) GetIndex() OpenconfigSystem_System_Cpus_Cpu_State_Index_Union
GetIndex retrieves the value of the leaf Index from the OpenconfigSystem_System_Cpus_Cpu_State struct. Caution should be exercised whilst using this method since 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 (*OpenconfigSystem_System_Cpus_Cpu_State) GetKernel ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State) GetKernel() *OpenconfigSystem_System_Cpus_Cpu_State_Kernel
GetKernel returns the value of the Kernel struct pointer from OpenconfigSystem_System_Cpus_Cpu_State. If the receiver or the field Kernel is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Cpus_Cpu_State) GetNice ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State) GetNice() *OpenconfigSystem_System_Cpus_Cpu_State_Nice
GetNice returns the value of the Nice struct pointer from OpenconfigSystem_System_Cpus_Cpu_State. If the receiver or the field Nice is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Cpus_Cpu_State) GetOrCreateHardwareInterrupt ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State) GetOrCreateHardwareInterrupt() *OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt
GetOrCreateHardwareInterrupt retrieves the value of the HardwareInterrupt field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Cpus_Cpu_State) GetOrCreateIdle ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State) GetOrCreateIdle() *OpenconfigSystem_System_Cpus_Cpu_State_Idle
GetOrCreateIdle retrieves the value of the Idle field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Cpus_Cpu_State) GetOrCreateKernel ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State) GetOrCreateKernel() *OpenconfigSystem_System_Cpus_Cpu_State_Kernel
GetOrCreateKernel retrieves the value of the Kernel field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Cpus_Cpu_State) GetOrCreateNice ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State) GetOrCreateNice() *OpenconfigSystem_System_Cpus_Cpu_State_Nice
GetOrCreateNice retrieves the value of the Nice field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Cpus_Cpu_State) GetOrCreateSoftwareInterrupt ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State) GetOrCreateSoftwareInterrupt() *OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt
GetOrCreateSoftwareInterrupt retrieves the value of the SoftwareInterrupt field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Cpus_Cpu_State) GetOrCreateTotal ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State) GetOrCreateTotal() *OpenconfigSystem_System_Cpus_Cpu_State_Total
GetOrCreateTotal retrieves the value of the Total field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Cpus_Cpu_State) GetOrCreateUser ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State) GetOrCreateUser() *OpenconfigSystem_System_Cpus_Cpu_State_User
GetOrCreateUser retrieves the value of the User field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Cpus_Cpu_State) GetOrCreateWait ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State) GetOrCreateWait() *OpenconfigSystem_System_Cpus_Cpu_State_Wait
GetOrCreateWait retrieves the value of the Wait field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Cpus_Cpu_State) GetSoftwareInterrupt ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State) GetSoftwareInterrupt() *OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt
GetSoftwareInterrupt returns the value of the SoftwareInterrupt struct pointer from OpenconfigSystem_System_Cpus_Cpu_State. If the receiver or the field SoftwareInterrupt is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Cpus_Cpu_State) GetTotal ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State) GetTotal() *OpenconfigSystem_System_Cpus_Cpu_State_Total
GetTotal returns the value of the Total struct pointer from OpenconfigSystem_System_Cpus_Cpu_State. If the receiver or the field Total is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Cpus_Cpu_State) GetUser ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State) GetUser() *OpenconfigSystem_System_Cpus_Cpu_State_User
GetUser returns the value of the User struct pointer from OpenconfigSystem_System_Cpus_Cpu_State. If the receiver or the field User is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Cpus_Cpu_State) GetWait ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State) GetWait() *OpenconfigSystem_System_Cpus_Cpu_State_Wait
GetWait returns the value of the Wait struct pointer from OpenconfigSystem_System_Cpus_Cpu_State. If the receiver or the field Wait is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Cpus_Cpu_State) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Cpus_Cpu_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Cpus_Cpu_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Cpus_Cpu_State) To_OpenconfigSystem_System_Cpus_Cpu_State_Index_Union ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State) To_OpenconfigSystem_System_Cpus_Cpu_State_Index_Union(i interface{}) (OpenconfigSystem_System_Cpus_Cpu_State_Index_Union, error)
To_OpenconfigSystem_System_Cpus_Cpu_State_Index_Union takes an input interface{} and attempts to convert it to a struct which implements the OpenconfigSystem_System_Cpus_Cpu_State_Index_Union union. It returns an error if the interface{} supplied cannot be converted to a type within the union.
func (*OpenconfigSystem_System_Cpus_Cpu_State) Validate ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Cpus_Cpu_State) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State) Λ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.
type OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt ¶
type OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Avg *uint8 `path:"avg" module:"openconfig-system"` ΛAvg []ygot.Annotation `path:"@avg" ygotAnnotation:"true"` Instant *uint8 `path:"instant" module:"openconfig-system"` ΛInstant []ygot.Annotation `path:"@instant" ygotAnnotation:"true"` Interval *uint64 `path:"interval" module:"openconfig-system"` ΛInterval []ygot.Annotation `path:"@interval" ygotAnnotation:"true"` Max *uint8 `path:"max" module:"openconfig-system"` ΛMax []ygot.Annotation `path:"@max" ygotAnnotation:"true"` MaxTime *uint64 `path:"max-time" module:"openconfig-system"` ΛMaxTime []ygot.Annotation `path:"@max-time" ygotAnnotation:"true"` Min *uint8 `path:"min" module:"openconfig-system"` ΛMin []ygot.Annotation `path:"@min" ygotAnnotation:"true"` MinTime *uint64 `path:"min-time" module:"openconfig-system"` ΛMinTime []ygot.Annotation `path:"@min-time" ygotAnnotation:"true"` }
OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt represents the /openconfig-system/system/cpus/cpu/state/hardware-interrupt YANG schema element.
func (*OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt) GetAvg ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt) GetAvg() uint8
GetAvg retrieves the value of the leaf Avg from the OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Avg is set, it can safely use t.GetAvg() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Avg == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt) GetInstant ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt) GetInstant() uint8
GetInstant retrieves the value of the leaf Instant from the OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Instant is set, it can safely use t.GetInstant() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Instant == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt) GetInterval ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt) GetInterval() uint64
GetInterval retrieves the value of the leaf Interval from the OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interval is set, it can safely use t.GetInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interval == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt) GetMax ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt) GetMax() uint8
GetMax retrieves the value of the leaf Max from the OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Max is set, it can safely use t.GetMax() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Max == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt) GetMaxTime ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt) GetMaxTime() uint64
GetMaxTime retrieves the value of the leaf MaxTime from the OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MaxTime is set, it can safely use t.GetMaxTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MaxTime == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt) GetMin ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt) GetMin() uint8
GetMin retrieves the value of the leaf Min from the OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Min is set, it can safely use t.GetMin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Min == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt) GetMinTime ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt) GetMinTime() uint64
GetMinTime retrieves the value of the leaf MinTime from the OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MinTime is set, it can safely use t.GetMinTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MinTime == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt) Validate ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt) Λ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.
type OpenconfigSystem_System_Cpus_Cpu_State_Idle ¶
type OpenconfigSystem_System_Cpus_Cpu_State_Idle struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Avg *uint8 `path:"avg" module:"openconfig-system"` ΛAvg []ygot.Annotation `path:"@avg" ygotAnnotation:"true"` Instant *uint8 `path:"instant" module:"openconfig-system"` ΛInstant []ygot.Annotation `path:"@instant" ygotAnnotation:"true"` Interval *uint64 `path:"interval" module:"openconfig-system"` ΛInterval []ygot.Annotation `path:"@interval" ygotAnnotation:"true"` Max *uint8 `path:"max" module:"openconfig-system"` ΛMax []ygot.Annotation `path:"@max" ygotAnnotation:"true"` MaxTime *uint64 `path:"max-time" module:"openconfig-system"` ΛMaxTime []ygot.Annotation `path:"@max-time" ygotAnnotation:"true"` Min *uint8 `path:"min" module:"openconfig-system"` ΛMin []ygot.Annotation `path:"@min" ygotAnnotation:"true"` MinTime *uint64 `path:"min-time" module:"openconfig-system"` ΛMinTime []ygot.Annotation `path:"@min-time" ygotAnnotation:"true"` }
OpenconfigSystem_System_Cpus_Cpu_State_Idle represents the /openconfig-system/system/cpus/cpu/state/idle YANG schema element.
func (*OpenconfigSystem_System_Cpus_Cpu_State_Idle) GetAvg ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_Idle) GetAvg() uint8
GetAvg retrieves the value of the leaf Avg from the OpenconfigSystem_System_Cpus_Cpu_State_Idle struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Avg is set, it can safely use t.GetAvg() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Avg == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Cpus_Cpu_State_Idle) GetInstant ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_Idle) GetInstant() uint8
GetInstant retrieves the value of the leaf Instant from the OpenconfigSystem_System_Cpus_Cpu_State_Idle struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Instant is set, it can safely use t.GetInstant() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Instant == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Cpus_Cpu_State_Idle) GetInterval ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_Idle) GetInterval() uint64
GetInterval retrieves the value of the leaf Interval from the OpenconfigSystem_System_Cpus_Cpu_State_Idle struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interval is set, it can safely use t.GetInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interval == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Cpus_Cpu_State_Idle) GetMax ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_Idle) GetMax() uint8
GetMax retrieves the value of the leaf Max from the OpenconfigSystem_System_Cpus_Cpu_State_Idle struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Max is set, it can safely use t.GetMax() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Max == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Cpus_Cpu_State_Idle) GetMaxTime ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_Idle) GetMaxTime() uint64
GetMaxTime retrieves the value of the leaf MaxTime from the OpenconfigSystem_System_Cpus_Cpu_State_Idle struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MaxTime is set, it can safely use t.GetMaxTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MaxTime == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Cpus_Cpu_State_Idle) GetMin ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_Idle) GetMin() uint8
GetMin retrieves the value of the leaf Min from the OpenconfigSystem_System_Cpus_Cpu_State_Idle struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Min is set, it can safely use t.GetMin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Min == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Cpus_Cpu_State_Idle) GetMinTime ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_Idle) GetMinTime() uint64
GetMinTime retrieves the value of the leaf MinTime from the OpenconfigSystem_System_Cpus_Cpu_State_Idle struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MinTime is set, it can safely use t.GetMinTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MinTime == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Cpus_Cpu_State_Idle) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Cpus_Cpu_State_Idle) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Cpus_Cpu_State_Idle implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Cpus_Cpu_State_Idle) Validate ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_Idle) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Cpus_Cpu_State_Idle) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_Idle) Λ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.
type OpenconfigSystem_System_Cpus_Cpu_State_Index_Union ¶
type OpenconfigSystem_System_Cpus_Cpu_State_Index_Union interface {
Is_OpenconfigSystem_System_Cpus_Cpu_State_Index_Union()
}
OpenconfigSystem_System_Cpus_Cpu_State_Index_Union is an interface that is implemented by valid types for the union for the leaf /openconfig-system/system/cpus/cpu/index within the YANG schema.
type OpenconfigSystem_System_Cpus_Cpu_State_Index_Union_E_OpenconfigSystem_System_Cpus_Cpu_State_Index ¶
type OpenconfigSystem_System_Cpus_Cpu_State_Index_Union_E_OpenconfigSystem_System_Cpus_Cpu_State_Index struct {
E_OpenconfigSystem_System_Cpus_Cpu_State_Index E_OpenconfigSystem_System_Cpus_Cpu_State_Index
}
OpenconfigSystem_System_Cpus_Cpu_State_Index_Union_E_OpenconfigSystem_System_Cpus_Cpu_State_Index is used when /openconfig-system/system/cpus/cpu/index is to be set to a E_OpenconfigSystem_System_Cpus_Cpu_State_Index value.
func (*OpenconfigSystem_System_Cpus_Cpu_State_Index_Union_E_OpenconfigSystem_System_Cpus_Cpu_State_Index) Is_OpenconfigSystem_System_Cpus_Cpu_State_Index_Union ¶
func (*OpenconfigSystem_System_Cpus_Cpu_State_Index_Union_E_OpenconfigSystem_System_Cpus_Cpu_State_Index) Is_OpenconfigSystem_System_Cpus_Cpu_State_Index_Union()
Is_OpenconfigSystem_System_Cpus_Cpu_State_Index_Union ensures that OpenconfigSystem_System_Cpus_Cpu_State_Index_Union_E_OpenconfigSystem_System_Cpus_Cpu_State_Index implements the OpenconfigSystem_System_Cpus_Cpu_State_Index_Union interface.
type OpenconfigSystem_System_Cpus_Cpu_State_Index_Union_Uint32 ¶
type OpenconfigSystem_System_Cpus_Cpu_State_Index_Union_Uint32 struct {
Uint32 uint32
}
OpenconfigSystem_System_Cpus_Cpu_State_Index_Union_Uint32 is used when /openconfig-system/system/cpus/cpu/index is to be set to a uint32 value.
func (*OpenconfigSystem_System_Cpus_Cpu_State_Index_Union_Uint32) Is_OpenconfigSystem_System_Cpus_Cpu_State_Index_Union ¶
func (*OpenconfigSystem_System_Cpus_Cpu_State_Index_Union_Uint32) Is_OpenconfigSystem_System_Cpus_Cpu_State_Index_Union()
Is_OpenconfigSystem_System_Cpus_Cpu_State_Index_Union ensures that OpenconfigSystem_System_Cpus_Cpu_State_Index_Union_Uint32 implements the OpenconfigSystem_System_Cpus_Cpu_State_Index_Union interface.
type OpenconfigSystem_System_Cpus_Cpu_State_Kernel ¶
type OpenconfigSystem_System_Cpus_Cpu_State_Kernel struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Avg *uint8 `path:"avg" module:"openconfig-system"` ΛAvg []ygot.Annotation `path:"@avg" ygotAnnotation:"true"` Instant *uint8 `path:"instant" module:"openconfig-system"` ΛInstant []ygot.Annotation `path:"@instant" ygotAnnotation:"true"` Interval *uint64 `path:"interval" module:"openconfig-system"` ΛInterval []ygot.Annotation `path:"@interval" ygotAnnotation:"true"` Max *uint8 `path:"max" module:"openconfig-system"` ΛMax []ygot.Annotation `path:"@max" ygotAnnotation:"true"` MaxTime *uint64 `path:"max-time" module:"openconfig-system"` ΛMaxTime []ygot.Annotation `path:"@max-time" ygotAnnotation:"true"` Min *uint8 `path:"min" module:"openconfig-system"` ΛMin []ygot.Annotation `path:"@min" ygotAnnotation:"true"` MinTime *uint64 `path:"min-time" module:"openconfig-system"` ΛMinTime []ygot.Annotation `path:"@min-time" ygotAnnotation:"true"` }
OpenconfigSystem_System_Cpus_Cpu_State_Kernel represents the /openconfig-system/system/cpus/cpu/state/kernel YANG schema element.
func (*OpenconfigSystem_System_Cpus_Cpu_State_Kernel) GetAvg ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_Kernel) GetAvg() uint8
GetAvg retrieves the value of the leaf Avg from the OpenconfigSystem_System_Cpus_Cpu_State_Kernel struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Avg is set, it can safely use t.GetAvg() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Avg == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Cpus_Cpu_State_Kernel) GetInstant ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_Kernel) GetInstant() uint8
GetInstant retrieves the value of the leaf Instant from the OpenconfigSystem_System_Cpus_Cpu_State_Kernel struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Instant is set, it can safely use t.GetInstant() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Instant == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Cpus_Cpu_State_Kernel) GetInterval ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_Kernel) GetInterval() uint64
GetInterval retrieves the value of the leaf Interval from the OpenconfigSystem_System_Cpus_Cpu_State_Kernel struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interval is set, it can safely use t.GetInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interval == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Cpus_Cpu_State_Kernel) GetMax ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_Kernel) GetMax() uint8
GetMax retrieves the value of the leaf Max from the OpenconfigSystem_System_Cpus_Cpu_State_Kernel struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Max is set, it can safely use t.GetMax() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Max == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Cpus_Cpu_State_Kernel) GetMaxTime ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_Kernel) GetMaxTime() uint64
GetMaxTime retrieves the value of the leaf MaxTime from the OpenconfigSystem_System_Cpus_Cpu_State_Kernel struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MaxTime is set, it can safely use t.GetMaxTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MaxTime == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Cpus_Cpu_State_Kernel) GetMin ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_Kernel) GetMin() uint8
GetMin retrieves the value of the leaf Min from the OpenconfigSystem_System_Cpus_Cpu_State_Kernel struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Min is set, it can safely use t.GetMin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Min == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Cpus_Cpu_State_Kernel) GetMinTime ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_Kernel) GetMinTime() uint64
GetMinTime retrieves the value of the leaf MinTime from the OpenconfigSystem_System_Cpus_Cpu_State_Kernel struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MinTime is set, it can safely use t.GetMinTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MinTime == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Cpus_Cpu_State_Kernel) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Cpus_Cpu_State_Kernel) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Cpus_Cpu_State_Kernel implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Cpus_Cpu_State_Kernel) Validate ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_Kernel) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Cpus_Cpu_State_Kernel) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_Kernel) Λ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.
type OpenconfigSystem_System_Cpus_Cpu_State_Nice ¶
type OpenconfigSystem_System_Cpus_Cpu_State_Nice struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Avg *uint8 `path:"avg" module:"openconfig-system"` ΛAvg []ygot.Annotation `path:"@avg" ygotAnnotation:"true"` Instant *uint8 `path:"instant" module:"openconfig-system"` ΛInstant []ygot.Annotation `path:"@instant" ygotAnnotation:"true"` Interval *uint64 `path:"interval" module:"openconfig-system"` ΛInterval []ygot.Annotation `path:"@interval" ygotAnnotation:"true"` Max *uint8 `path:"max" module:"openconfig-system"` ΛMax []ygot.Annotation `path:"@max" ygotAnnotation:"true"` MaxTime *uint64 `path:"max-time" module:"openconfig-system"` ΛMaxTime []ygot.Annotation `path:"@max-time" ygotAnnotation:"true"` Min *uint8 `path:"min" module:"openconfig-system"` ΛMin []ygot.Annotation `path:"@min" ygotAnnotation:"true"` MinTime *uint64 `path:"min-time" module:"openconfig-system"` ΛMinTime []ygot.Annotation `path:"@min-time" ygotAnnotation:"true"` }
OpenconfigSystem_System_Cpus_Cpu_State_Nice represents the /openconfig-system/system/cpus/cpu/state/nice YANG schema element.
func (*OpenconfigSystem_System_Cpus_Cpu_State_Nice) GetAvg ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_Nice) GetAvg() uint8
GetAvg retrieves the value of the leaf Avg from the OpenconfigSystem_System_Cpus_Cpu_State_Nice struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Avg is set, it can safely use t.GetAvg() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Avg == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Cpus_Cpu_State_Nice) GetInstant ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_Nice) GetInstant() uint8
GetInstant retrieves the value of the leaf Instant from the OpenconfigSystem_System_Cpus_Cpu_State_Nice struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Instant is set, it can safely use t.GetInstant() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Instant == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Cpus_Cpu_State_Nice) GetInterval ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_Nice) GetInterval() uint64
GetInterval retrieves the value of the leaf Interval from the OpenconfigSystem_System_Cpus_Cpu_State_Nice struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interval is set, it can safely use t.GetInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interval == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Cpus_Cpu_State_Nice) GetMax ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_Nice) GetMax() uint8
GetMax retrieves the value of the leaf Max from the OpenconfigSystem_System_Cpus_Cpu_State_Nice struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Max is set, it can safely use t.GetMax() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Max == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Cpus_Cpu_State_Nice) GetMaxTime ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_Nice) GetMaxTime() uint64
GetMaxTime retrieves the value of the leaf MaxTime from the OpenconfigSystem_System_Cpus_Cpu_State_Nice struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MaxTime is set, it can safely use t.GetMaxTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MaxTime == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Cpus_Cpu_State_Nice) GetMin ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_Nice) GetMin() uint8
GetMin retrieves the value of the leaf Min from the OpenconfigSystem_System_Cpus_Cpu_State_Nice struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Min is set, it can safely use t.GetMin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Min == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Cpus_Cpu_State_Nice) GetMinTime ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_Nice) GetMinTime() uint64
GetMinTime retrieves the value of the leaf MinTime from the OpenconfigSystem_System_Cpus_Cpu_State_Nice struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MinTime is set, it can safely use t.GetMinTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MinTime == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Cpus_Cpu_State_Nice) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Cpus_Cpu_State_Nice) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Cpus_Cpu_State_Nice implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Cpus_Cpu_State_Nice) Validate ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_Nice) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Cpus_Cpu_State_Nice) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_Nice) Λ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.
type OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt ¶
type OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Avg *uint8 `path:"avg" module:"openconfig-system"` ΛAvg []ygot.Annotation `path:"@avg" ygotAnnotation:"true"` Instant *uint8 `path:"instant" module:"openconfig-system"` ΛInstant []ygot.Annotation `path:"@instant" ygotAnnotation:"true"` Interval *uint64 `path:"interval" module:"openconfig-system"` ΛInterval []ygot.Annotation `path:"@interval" ygotAnnotation:"true"` Max *uint8 `path:"max" module:"openconfig-system"` ΛMax []ygot.Annotation `path:"@max" ygotAnnotation:"true"` MaxTime *uint64 `path:"max-time" module:"openconfig-system"` ΛMaxTime []ygot.Annotation `path:"@max-time" ygotAnnotation:"true"` Min *uint8 `path:"min" module:"openconfig-system"` ΛMin []ygot.Annotation `path:"@min" ygotAnnotation:"true"` MinTime *uint64 `path:"min-time" module:"openconfig-system"` ΛMinTime []ygot.Annotation `path:"@min-time" ygotAnnotation:"true"` }
OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt represents the /openconfig-system/system/cpus/cpu/state/software-interrupt YANG schema element.
func (*OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt) GetAvg ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt) GetAvg() uint8
GetAvg retrieves the value of the leaf Avg from the OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Avg is set, it can safely use t.GetAvg() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Avg == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt) GetInstant ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt) GetInstant() uint8
GetInstant retrieves the value of the leaf Instant from the OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Instant is set, it can safely use t.GetInstant() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Instant == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt) GetInterval ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt) GetInterval() uint64
GetInterval retrieves the value of the leaf Interval from the OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interval is set, it can safely use t.GetInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interval == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt) GetMax ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt) GetMax() uint8
GetMax retrieves the value of the leaf Max from the OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Max is set, it can safely use t.GetMax() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Max == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt) GetMaxTime ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt) GetMaxTime() uint64
GetMaxTime retrieves the value of the leaf MaxTime from the OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MaxTime is set, it can safely use t.GetMaxTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MaxTime == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt) GetMin ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt) GetMin() uint8
GetMin retrieves the value of the leaf Min from the OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Min is set, it can safely use t.GetMin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Min == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt) GetMinTime ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt) GetMinTime() uint64
GetMinTime retrieves the value of the leaf MinTime from the OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MinTime is set, it can safely use t.GetMinTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MinTime == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt) Validate ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt) Λ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.
type OpenconfigSystem_System_Cpus_Cpu_State_Total ¶
type OpenconfigSystem_System_Cpus_Cpu_State_Total struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Avg *uint8 `path:"avg" module:"openconfig-system"` ΛAvg []ygot.Annotation `path:"@avg" ygotAnnotation:"true"` Instant *uint8 `path:"instant" module:"openconfig-system"` ΛInstant []ygot.Annotation `path:"@instant" ygotAnnotation:"true"` Interval *uint64 `path:"interval" module:"openconfig-system"` ΛInterval []ygot.Annotation `path:"@interval" ygotAnnotation:"true"` Max *uint8 `path:"max" module:"openconfig-system"` ΛMax []ygot.Annotation `path:"@max" ygotAnnotation:"true"` MaxTime *uint64 `path:"max-time" module:"openconfig-system"` ΛMaxTime []ygot.Annotation `path:"@max-time" ygotAnnotation:"true"` Min *uint8 `path:"min" module:"openconfig-system"` ΛMin []ygot.Annotation `path:"@min" ygotAnnotation:"true"` MinTime *uint64 `path:"min-time" module:"openconfig-system"` ΛMinTime []ygot.Annotation `path:"@min-time" ygotAnnotation:"true"` }
OpenconfigSystem_System_Cpus_Cpu_State_Total represents the /openconfig-system/system/cpus/cpu/state/total YANG schema element.
func (*OpenconfigSystem_System_Cpus_Cpu_State_Total) GetAvg ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_Total) GetAvg() uint8
GetAvg retrieves the value of the leaf Avg from the OpenconfigSystem_System_Cpus_Cpu_State_Total struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Avg is set, it can safely use t.GetAvg() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Avg == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Cpus_Cpu_State_Total) GetInstant ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_Total) GetInstant() uint8
GetInstant retrieves the value of the leaf Instant from the OpenconfigSystem_System_Cpus_Cpu_State_Total struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Instant is set, it can safely use t.GetInstant() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Instant == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Cpus_Cpu_State_Total) GetInterval ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_Total) GetInterval() uint64
GetInterval retrieves the value of the leaf Interval from the OpenconfigSystem_System_Cpus_Cpu_State_Total struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interval is set, it can safely use t.GetInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interval == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Cpus_Cpu_State_Total) GetMax ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_Total) GetMax() uint8
GetMax retrieves the value of the leaf Max from the OpenconfigSystem_System_Cpus_Cpu_State_Total struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Max is set, it can safely use t.GetMax() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Max == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Cpus_Cpu_State_Total) GetMaxTime ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_Total) GetMaxTime() uint64
GetMaxTime retrieves the value of the leaf MaxTime from the OpenconfigSystem_System_Cpus_Cpu_State_Total struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MaxTime is set, it can safely use t.GetMaxTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MaxTime == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Cpus_Cpu_State_Total) GetMin ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_Total) GetMin() uint8
GetMin retrieves the value of the leaf Min from the OpenconfigSystem_System_Cpus_Cpu_State_Total struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Min is set, it can safely use t.GetMin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Min == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Cpus_Cpu_State_Total) GetMinTime ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_Total) GetMinTime() uint64
GetMinTime retrieves the value of the leaf MinTime from the OpenconfigSystem_System_Cpus_Cpu_State_Total struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MinTime is set, it can safely use t.GetMinTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MinTime == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Cpus_Cpu_State_Total) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Cpus_Cpu_State_Total) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Cpus_Cpu_State_Total implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Cpus_Cpu_State_Total) Validate ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_Total) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Cpus_Cpu_State_Total) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_Total) Λ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.
type OpenconfigSystem_System_Cpus_Cpu_State_User ¶
type OpenconfigSystem_System_Cpus_Cpu_State_User struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Avg *uint8 `path:"avg" module:"openconfig-system"` ΛAvg []ygot.Annotation `path:"@avg" ygotAnnotation:"true"` Instant *uint8 `path:"instant" module:"openconfig-system"` ΛInstant []ygot.Annotation `path:"@instant" ygotAnnotation:"true"` Interval *uint64 `path:"interval" module:"openconfig-system"` ΛInterval []ygot.Annotation `path:"@interval" ygotAnnotation:"true"` Max *uint8 `path:"max" module:"openconfig-system"` ΛMax []ygot.Annotation `path:"@max" ygotAnnotation:"true"` MaxTime *uint64 `path:"max-time" module:"openconfig-system"` ΛMaxTime []ygot.Annotation `path:"@max-time" ygotAnnotation:"true"` Min *uint8 `path:"min" module:"openconfig-system"` ΛMin []ygot.Annotation `path:"@min" ygotAnnotation:"true"` MinTime *uint64 `path:"min-time" module:"openconfig-system"` ΛMinTime []ygot.Annotation `path:"@min-time" ygotAnnotation:"true"` }
OpenconfigSystem_System_Cpus_Cpu_State_User represents the /openconfig-system/system/cpus/cpu/state/user YANG schema element.
func (*OpenconfigSystem_System_Cpus_Cpu_State_User) GetAvg ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_User) GetAvg() uint8
GetAvg retrieves the value of the leaf Avg from the OpenconfigSystem_System_Cpus_Cpu_State_User struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Avg is set, it can safely use t.GetAvg() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Avg == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Cpus_Cpu_State_User) GetInstant ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_User) GetInstant() uint8
GetInstant retrieves the value of the leaf Instant from the OpenconfigSystem_System_Cpus_Cpu_State_User struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Instant is set, it can safely use t.GetInstant() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Instant == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Cpus_Cpu_State_User) GetInterval ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_User) GetInterval() uint64
GetInterval retrieves the value of the leaf Interval from the OpenconfigSystem_System_Cpus_Cpu_State_User struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interval is set, it can safely use t.GetInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interval == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Cpus_Cpu_State_User) GetMax ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_User) GetMax() uint8
GetMax retrieves the value of the leaf Max from the OpenconfigSystem_System_Cpus_Cpu_State_User struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Max is set, it can safely use t.GetMax() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Max == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Cpus_Cpu_State_User) GetMaxTime ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_User) GetMaxTime() uint64
GetMaxTime retrieves the value of the leaf MaxTime from the OpenconfigSystem_System_Cpus_Cpu_State_User struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MaxTime is set, it can safely use t.GetMaxTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MaxTime == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Cpus_Cpu_State_User) GetMin ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_User) GetMin() uint8
GetMin retrieves the value of the leaf Min from the OpenconfigSystem_System_Cpus_Cpu_State_User struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Min is set, it can safely use t.GetMin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Min == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Cpus_Cpu_State_User) GetMinTime ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_User) GetMinTime() uint64
GetMinTime retrieves the value of the leaf MinTime from the OpenconfigSystem_System_Cpus_Cpu_State_User struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MinTime is set, it can safely use t.GetMinTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MinTime == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Cpus_Cpu_State_User) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Cpus_Cpu_State_User) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Cpus_Cpu_State_User implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Cpus_Cpu_State_User) Validate ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_User) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Cpus_Cpu_State_User) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_User) Λ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.
type OpenconfigSystem_System_Cpus_Cpu_State_Wait ¶
type OpenconfigSystem_System_Cpus_Cpu_State_Wait struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Avg *uint8 `path:"avg" module:"openconfig-system"` ΛAvg []ygot.Annotation `path:"@avg" ygotAnnotation:"true"` Instant *uint8 `path:"instant" module:"openconfig-system"` ΛInstant []ygot.Annotation `path:"@instant" ygotAnnotation:"true"` Interval *uint64 `path:"interval" module:"openconfig-system"` ΛInterval []ygot.Annotation `path:"@interval" ygotAnnotation:"true"` Max *uint8 `path:"max" module:"openconfig-system"` ΛMax []ygot.Annotation `path:"@max" ygotAnnotation:"true"` MaxTime *uint64 `path:"max-time" module:"openconfig-system"` ΛMaxTime []ygot.Annotation `path:"@max-time" ygotAnnotation:"true"` Min *uint8 `path:"min" module:"openconfig-system"` ΛMin []ygot.Annotation `path:"@min" ygotAnnotation:"true"` MinTime *uint64 `path:"min-time" module:"openconfig-system"` ΛMinTime []ygot.Annotation `path:"@min-time" ygotAnnotation:"true"` }
OpenconfigSystem_System_Cpus_Cpu_State_Wait represents the /openconfig-system/system/cpus/cpu/state/wait YANG schema element.
func (*OpenconfigSystem_System_Cpus_Cpu_State_Wait) GetAvg ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_Wait) GetAvg() uint8
GetAvg retrieves the value of the leaf Avg from the OpenconfigSystem_System_Cpus_Cpu_State_Wait struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Avg is set, it can safely use t.GetAvg() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Avg == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Cpus_Cpu_State_Wait) GetInstant ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_Wait) GetInstant() uint8
GetInstant retrieves the value of the leaf Instant from the OpenconfigSystem_System_Cpus_Cpu_State_Wait struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Instant is set, it can safely use t.GetInstant() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Instant == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Cpus_Cpu_State_Wait) GetInterval ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_Wait) GetInterval() uint64
GetInterval retrieves the value of the leaf Interval from the OpenconfigSystem_System_Cpus_Cpu_State_Wait struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interval is set, it can safely use t.GetInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interval == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Cpus_Cpu_State_Wait) GetMax ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_Wait) GetMax() uint8
GetMax retrieves the value of the leaf Max from the OpenconfigSystem_System_Cpus_Cpu_State_Wait struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Max is set, it can safely use t.GetMax() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Max == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Cpus_Cpu_State_Wait) GetMaxTime ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_Wait) GetMaxTime() uint64
GetMaxTime retrieves the value of the leaf MaxTime from the OpenconfigSystem_System_Cpus_Cpu_State_Wait struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MaxTime is set, it can safely use t.GetMaxTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MaxTime == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Cpus_Cpu_State_Wait) GetMin ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_Wait) GetMin() uint8
GetMin retrieves the value of the leaf Min from the OpenconfigSystem_System_Cpus_Cpu_State_Wait struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Min is set, it can safely use t.GetMin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Min == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Cpus_Cpu_State_Wait) GetMinTime ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_Wait) GetMinTime() uint64
GetMinTime retrieves the value of the leaf MinTime from the OpenconfigSystem_System_Cpus_Cpu_State_Wait struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MinTime is set, it can safely use t.GetMinTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MinTime == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Cpus_Cpu_State_Wait) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Cpus_Cpu_State_Wait) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Cpus_Cpu_State_Wait implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Cpus_Cpu_State_Wait) Validate ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_Wait) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Cpus_Cpu_State_Wait) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Cpus_Cpu_State_Wait) Λ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.
type OpenconfigSystem_System_Dns ¶
type OpenconfigSystem_System_Dns struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Config *OpenconfigSystem_System_Dns_Config `path:"config" module:"openconfig-system"` ΛConfig []ygot.Annotation `path:"@config" ygotAnnotation:"true"` HostEntries *OpenconfigSystem_System_Dns_HostEntries `path:"host-entries" module:"openconfig-system"` ΛHostEntries []ygot.Annotation `path:"@host-entries" ygotAnnotation:"true"` Servers *OpenconfigSystem_System_Dns_Servers `path:"servers" module:"openconfig-system"` ΛServers []ygot.Annotation `path:"@servers" ygotAnnotation:"true"` State *OpenconfigSystem_System_Dns_State `path:"state" module:"openconfig-system"` ΛState []ygot.Annotation `path:"@state" ygotAnnotation:"true"` }
OpenconfigSystem_System_Dns represents the /openconfig-system/system/dns YANG schema element.
func (*OpenconfigSystem_System_Dns) GetConfig ¶
func (t *OpenconfigSystem_System_Dns) GetConfig() *OpenconfigSystem_System_Dns_Config
GetConfig returns the value of the Config struct pointer from OpenconfigSystem_System_Dns. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Dns) GetHostEntries ¶
func (t *OpenconfigSystem_System_Dns) GetHostEntries() *OpenconfigSystem_System_Dns_HostEntries
GetHostEntries returns the value of the HostEntries struct pointer from OpenconfigSystem_System_Dns. If the receiver or the field HostEntries is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Dns) GetOrCreateConfig ¶
func (t *OpenconfigSystem_System_Dns) GetOrCreateConfig() *OpenconfigSystem_System_Dns_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Dns) GetOrCreateHostEntries ¶
func (t *OpenconfigSystem_System_Dns) GetOrCreateHostEntries() *OpenconfigSystem_System_Dns_HostEntries
GetOrCreateHostEntries retrieves the value of the HostEntries field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Dns) GetOrCreateServers ¶
func (t *OpenconfigSystem_System_Dns) GetOrCreateServers() *OpenconfigSystem_System_Dns_Servers
GetOrCreateServers retrieves the value of the Servers field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Dns) GetOrCreateState ¶
func (t *OpenconfigSystem_System_Dns) GetOrCreateState() *OpenconfigSystem_System_Dns_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Dns) GetServers ¶
func (t *OpenconfigSystem_System_Dns) GetServers() *OpenconfigSystem_System_Dns_Servers
GetServers returns the value of the Servers struct pointer from OpenconfigSystem_System_Dns. If the receiver or the field Servers is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Dns) GetState ¶
func (t *OpenconfigSystem_System_Dns) GetState() *OpenconfigSystem_System_Dns_State
GetState returns the value of the State struct pointer from OpenconfigSystem_System_Dns. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Dns) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Dns) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Dns implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Dns) Validate ¶
func (t *OpenconfigSystem_System_Dns) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Dns) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Dns) Λ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.
type OpenconfigSystem_System_Dns_Config ¶
type OpenconfigSystem_System_Dns_Config struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Search []string `path:"search" module:"openconfig-system"` ΛSearch []ygot.Annotation `path:"@search" ygotAnnotation:"true"` }
OpenconfigSystem_System_Dns_Config represents the /openconfig-system/system/dns/config YANG schema element.
func (*OpenconfigSystem_System_Dns_Config) GetSearch ¶
func (t *OpenconfigSystem_System_Dns_Config) GetSearch() []string
GetSearch retrieves the value of the leaf Search from the OpenconfigSystem_System_Dns_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Search is set, it can safely use t.GetSearch() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Search == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Dns_Config) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Dns_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Dns_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Dns_Config) Validate ¶
func (t *OpenconfigSystem_System_Dns_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Dns_Config) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Dns_Config) Λ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.
type OpenconfigSystem_System_Dns_HostEntries ¶
type OpenconfigSystem_System_Dns_HostEntries struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` HostEntry map[string]*OpenconfigSystem_System_Dns_HostEntries_HostEntry `path:"host-entry" module:"openconfig-system"` ΛHostEntry []ygot.Annotation `path:"@host-entry" ygotAnnotation:"true"` }
OpenconfigSystem_System_Dns_HostEntries represents the /openconfig-system/system/dns/host-entries YANG schema element.
func (*OpenconfigSystem_System_Dns_HostEntries) AppendHostEntry ¶
func (t *OpenconfigSystem_System_Dns_HostEntries) AppendHostEntry(v *OpenconfigSystem_System_Dns_HostEntries_HostEntry) error
AppendHostEntry appends the supplied OpenconfigSystem_System_Dns_HostEntries_HostEntry struct to the list HostEntry of OpenconfigSystem_System_Dns_HostEntries. If the key value(s) specified in the supplied OpenconfigSystem_System_Dns_HostEntries_HostEntry already exist in the list, an error is returned.
func (*OpenconfigSystem_System_Dns_HostEntries) GetHostEntry ¶
func (t *OpenconfigSystem_System_Dns_HostEntries) GetHostEntry(Hostname string) *OpenconfigSystem_System_Dns_HostEntries_HostEntry
GetHostEntry retrieves the value with the specified key from the HostEntry map field of OpenconfigSystem_System_Dns_HostEntries. 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 (*OpenconfigSystem_System_Dns_HostEntries) GetOrCreateHostEntry ¶
func (t *OpenconfigSystem_System_Dns_HostEntries) GetOrCreateHostEntry(Hostname string) *OpenconfigSystem_System_Dns_HostEntries_HostEntry
GetOrCreateHostEntry retrieves the value with the specified keys from the receiver OpenconfigSystem_System_Dns_HostEntries. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*OpenconfigSystem_System_Dns_HostEntries) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Dns_HostEntries) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Dns_HostEntries implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Dns_HostEntries) NewHostEntry ¶
func (t *OpenconfigSystem_System_Dns_HostEntries) NewHostEntry(Hostname string) (*OpenconfigSystem_System_Dns_HostEntries_HostEntry, error)
NewHostEntry creates a new entry in the HostEntry list of the OpenconfigSystem_System_Dns_HostEntries struct. The keys of the list are populated from the input arguments.
func (*OpenconfigSystem_System_Dns_HostEntries) RenameHostEntry ¶
func (t *OpenconfigSystem_System_Dns_HostEntries) RenameHostEntry(oldK, newK string) error
RenameHostEntry renames an entry in the list HostEntry within the OpenconfigSystem_System_Dns_HostEntries struct. The entry with key oldK is renamed to newK updating the key within the value.
func (*OpenconfigSystem_System_Dns_HostEntries) Validate ¶
func (t *OpenconfigSystem_System_Dns_HostEntries) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Dns_HostEntries) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Dns_HostEntries) Λ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.
type OpenconfigSystem_System_Dns_HostEntries_HostEntry ¶
type OpenconfigSystem_System_Dns_HostEntries_HostEntry struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Config *OpenconfigSystem_System_Dns_HostEntries_HostEntry_Config `path:"config" module:"openconfig-system"` ΛConfig []ygot.Annotation `path:"@config" ygotAnnotation:"true"` Hostname *string `path:"hostname" module:"openconfig-system"` ΛHostname []ygot.Annotation `path:"@hostname" ygotAnnotation:"true"` State *OpenconfigSystem_System_Dns_HostEntries_HostEntry_State `path:"state" module:"openconfig-system"` ΛState []ygot.Annotation `path:"@state" ygotAnnotation:"true"` }
OpenconfigSystem_System_Dns_HostEntries_HostEntry represents the /openconfig-system/system/dns/host-entries/host-entry YANG schema element.
func (*OpenconfigSystem_System_Dns_HostEntries_HostEntry) GetConfig ¶
func (t *OpenconfigSystem_System_Dns_HostEntries_HostEntry) GetConfig() *OpenconfigSystem_System_Dns_HostEntries_HostEntry_Config
GetConfig returns the value of the Config struct pointer from OpenconfigSystem_System_Dns_HostEntries_HostEntry. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Dns_HostEntries_HostEntry) GetHostname ¶
func (t *OpenconfigSystem_System_Dns_HostEntries_HostEntry) GetHostname() string
GetHostname retrieves the value of the leaf Hostname from the OpenconfigSystem_System_Dns_HostEntries_HostEntry struct. Caution should be exercised whilst using this method since 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 (*OpenconfigSystem_System_Dns_HostEntries_HostEntry) GetOrCreateConfig ¶
func (t *OpenconfigSystem_System_Dns_HostEntries_HostEntry) GetOrCreateConfig() *OpenconfigSystem_System_Dns_HostEntries_HostEntry_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Dns_HostEntries_HostEntry) GetOrCreateState ¶
func (t *OpenconfigSystem_System_Dns_HostEntries_HostEntry) GetOrCreateState() *OpenconfigSystem_System_Dns_HostEntries_HostEntry_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Dns_HostEntries_HostEntry) GetState ¶
func (t *OpenconfigSystem_System_Dns_HostEntries_HostEntry) GetState() *OpenconfigSystem_System_Dns_HostEntries_HostEntry_State
GetState returns the value of the State struct pointer from OpenconfigSystem_System_Dns_HostEntries_HostEntry. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Dns_HostEntries_HostEntry) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Dns_HostEntries_HostEntry) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Dns_HostEntries_HostEntry implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Dns_HostEntries_HostEntry) Validate ¶
func (t *OpenconfigSystem_System_Dns_HostEntries_HostEntry) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Dns_HostEntries_HostEntry) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Dns_HostEntries_HostEntry) Λ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 (*OpenconfigSystem_System_Dns_HostEntries_HostEntry) ΛListKeyMap ¶
func (t *OpenconfigSystem_System_Dns_HostEntries_HostEntry) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the OpenconfigSystem_System_Dns_HostEntries_HostEntry struct, which is a YANG list entry.
type OpenconfigSystem_System_Dns_HostEntries_HostEntry_Config ¶
type OpenconfigSystem_System_Dns_HostEntries_HostEntry_Config struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Alias []string `path:"alias" module:"openconfig-system"` ΛAlias []ygot.Annotation `path:"@alias" ygotAnnotation:"true"` Hostname *string `path:"hostname" module:"openconfig-system"` ΛHostname []ygot.Annotation `path:"@hostname" ygotAnnotation:"true"` Ipv4Address []string `path:"ipv4-address" module:"openconfig-system"` ΛIpv4Address []ygot.Annotation `path:"@ipv4-address" ygotAnnotation:"true"` Ipv6Address []string `path:"ipv6-address" module:"openconfig-system"` ΛIpv6Address []ygot.Annotation `path:"@ipv6-address" ygotAnnotation:"true"` }
OpenconfigSystem_System_Dns_HostEntries_HostEntry_Config represents the /openconfig-system/system/dns/host-entries/host-entry/config YANG schema element.
func (*OpenconfigSystem_System_Dns_HostEntries_HostEntry_Config) GetAlias ¶
func (t *OpenconfigSystem_System_Dns_HostEntries_HostEntry_Config) GetAlias() []string
GetAlias retrieves the value of the leaf Alias from the OpenconfigSystem_System_Dns_HostEntries_HostEntry_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Alias is set, it can safely use t.GetAlias() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Alias == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Dns_HostEntries_HostEntry_Config) GetHostname ¶
func (t *OpenconfigSystem_System_Dns_HostEntries_HostEntry_Config) GetHostname() string
GetHostname retrieves the value of the leaf Hostname from the OpenconfigSystem_System_Dns_HostEntries_HostEntry_Config struct. Caution should be exercised whilst using this method since 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 (*OpenconfigSystem_System_Dns_HostEntries_HostEntry_Config) GetIpv4Address ¶
func (t *OpenconfigSystem_System_Dns_HostEntries_HostEntry_Config) GetIpv4Address() []string
GetIpv4Address retrieves the value of the leaf Ipv4Address from the OpenconfigSystem_System_Dns_HostEntries_HostEntry_Config struct. Caution should be exercised whilst using this method since 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 (*OpenconfigSystem_System_Dns_HostEntries_HostEntry_Config) GetIpv6Address ¶
func (t *OpenconfigSystem_System_Dns_HostEntries_HostEntry_Config) GetIpv6Address() []string
GetIpv6Address retrieves the value of the leaf Ipv6Address from the OpenconfigSystem_System_Dns_HostEntries_HostEntry_Config struct. Caution should be exercised whilst using this method since 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 (*OpenconfigSystem_System_Dns_HostEntries_HostEntry_Config) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Dns_HostEntries_HostEntry_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Dns_HostEntries_HostEntry_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Dns_HostEntries_HostEntry_Config) Validate ¶
func (t *OpenconfigSystem_System_Dns_HostEntries_HostEntry_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Dns_HostEntries_HostEntry_Config) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Dns_HostEntries_HostEntry_Config) Λ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.
type OpenconfigSystem_System_Dns_HostEntries_HostEntry_State ¶
type OpenconfigSystem_System_Dns_HostEntries_HostEntry_State struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Alias []string `path:"alias" module:"openconfig-system"` ΛAlias []ygot.Annotation `path:"@alias" ygotAnnotation:"true"` Hostname *string `path:"hostname" module:"openconfig-system"` ΛHostname []ygot.Annotation `path:"@hostname" ygotAnnotation:"true"` Ipv4Address []string `path:"ipv4-address" module:"openconfig-system"` ΛIpv4Address []ygot.Annotation `path:"@ipv4-address" ygotAnnotation:"true"` Ipv6Address []string `path:"ipv6-address" module:"openconfig-system"` ΛIpv6Address []ygot.Annotation `path:"@ipv6-address" ygotAnnotation:"true"` }
OpenconfigSystem_System_Dns_HostEntries_HostEntry_State represents the /openconfig-system/system/dns/host-entries/host-entry/state YANG schema element.
func (*OpenconfigSystem_System_Dns_HostEntries_HostEntry_State) GetAlias ¶
func (t *OpenconfigSystem_System_Dns_HostEntries_HostEntry_State) GetAlias() []string
GetAlias retrieves the value of the leaf Alias from the OpenconfigSystem_System_Dns_HostEntries_HostEntry_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Alias is set, it can safely use t.GetAlias() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Alias == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Dns_HostEntries_HostEntry_State) GetHostname ¶
func (t *OpenconfigSystem_System_Dns_HostEntries_HostEntry_State) GetHostname() string
GetHostname retrieves the value of the leaf Hostname from the OpenconfigSystem_System_Dns_HostEntries_HostEntry_State struct. Caution should be exercised whilst using this method since 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 (*OpenconfigSystem_System_Dns_HostEntries_HostEntry_State) GetIpv4Address ¶
func (t *OpenconfigSystem_System_Dns_HostEntries_HostEntry_State) GetIpv4Address() []string
GetIpv4Address retrieves the value of the leaf Ipv4Address from the OpenconfigSystem_System_Dns_HostEntries_HostEntry_State struct. Caution should be exercised whilst using this method since 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 (*OpenconfigSystem_System_Dns_HostEntries_HostEntry_State) GetIpv6Address ¶
func (t *OpenconfigSystem_System_Dns_HostEntries_HostEntry_State) GetIpv6Address() []string
GetIpv6Address retrieves the value of the leaf Ipv6Address from the OpenconfigSystem_System_Dns_HostEntries_HostEntry_State struct. Caution should be exercised whilst using this method since 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 (*OpenconfigSystem_System_Dns_HostEntries_HostEntry_State) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Dns_HostEntries_HostEntry_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Dns_HostEntries_HostEntry_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Dns_HostEntries_HostEntry_State) Validate ¶
func (t *OpenconfigSystem_System_Dns_HostEntries_HostEntry_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Dns_HostEntries_HostEntry_State) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Dns_HostEntries_HostEntry_State) Λ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.
type OpenconfigSystem_System_Dns_Servers ¶
type OpenconfigSystem_System_Dns_Servers struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Server map[string]*OpenconfigSystem_System_Dns_Servers_Server `path:"server" module:"openconfig-system"` ΛServer []ygot.Annotation `path:"@server" ygotAnnotation:"true"` }
OpenconfigSystem_System_Dns_Servers represents the /openconfig-system/system/dns/servers YANG schema element.
func (*OpenconfigSystem_System_Dns_Servers) AppendServer ¶
func (t *OpenconfigSystem_System_Dns_Servers) AppendServer(v *OpenconfigSystem_System_Dns_Servers_Server) error
AppendServer appends the supplied OpenconfigSystem_System_Dns_Servers_Server struct to the list Server of OpenconfigSystem_System_Dns_Servers. If the key value(s) specified in the supplied OpenconfigSystem_System_Dns_Servers_Server already exist in the list, an error is returned.
func (*OpenconfigSystem_System_Dns_Servers) GetOrCreateServer ¶
func (t *OpenconfigSystem_System_Dns_Servers) GetOrCreateServer(Address string) *OpenconfigSystem_System_Dns_Servers_Server
GetOrCreateServer retrieves the value with the specified keys from the receiver OpenconfigSystem_System_Dns_Servers. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*OpenconfigSystem_System_Dns_Servers) GetServer ¶
func (t *OpenconfigSystem_System_Dns_Servers) GetServer(Address string) *OpenconfigSystem_System_Dns_Servers_Server
GetServer retrieves the value with the specified key from the Server map field of OpenconfigSystem_System_Dns_Servers. 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 (*OpenconfigSystem_System_Dns_Servers) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Dns_Servers) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Dns_Servers implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Dns_Servers) NewServer ¶
func (t *OpenconfigSystem_System_Dns_Servers) NewServer(Address string) (*OpenconfigSystem_System_Dns_Servers_Server, error)
NewServer creates a new entry in the Server list of the OpenconfigSystem_System_Dns_Servers struct. The keys of the list are populated from the input arguments.
func (*OpenconfigSystem_System_Dns_Servers) RenameServer ¶
func (t *OpenconfigSystem_System_Dns_Servers) RenameServer(oldK, newK string) error
RenameServer renames an entry in the list Server within the OpenconfigSystem_System_Dns_Servers struct. The entry with key oldK is renamed to newK updating the key within the value.
func (*OpenconfigSystem_System_Dns_Servers) Validate ¶
func (t *OpenconfigSystem_System_Dns_Servers) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Dns_Servers) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Dns_Servers) Λ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.
type OpenconfigSystem_System_Dns_Servers_Server ¶
type OpenconfigSystem_System_Dns_Servers_Server struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Address *string `path:"address" module:"openconfig-system"` ΛAddress []ygot.Annotation `path:"@address" ygotAnnotation:"true"` Config *OpenconfigSystem_System_Dns_Servers_Server_Config `path:"config" module:"openconfig-system"` ΛConfig []ygot.Annotation `path:"@config" ygotAnnotation:"true"` State *OpenconfigSystem_System_Dns_Servers_Server_State `path:"state" module:"openconfig-system"` ΛState []ygot.Annotation `path:"@state" ygotAnnotation:"true"` }
OpenconfigSystem_System_Dns_Servers_Server represents the /openconfig-system/system/dns/servers/server YANG schema element.
func (*OpenconfigSystem_System_Dns_Servers_Server) GetAddress ¶
func (t *OpenconfigSystem_System_Dns_Servers_Server) GetAddress() string
GetAddress retrieves the value of the leaf Address from the OpenconfigSystem_System_Dns_Servers_Server struct. Caution should be exercised whilst using this method since 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 (*OpenconfigSystem_System_Dns_Servers_Server) GetConfig ¶
func (t *OpenconfigSystem_System_Dns_Servers_Server) GetConfig() *OpenconfigSystem_System_Dns_Servers_Server_Config
GetConfig returns the value of the Config struct pointer from OpenconfigSystem_System_Dns_Servers_Server. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Dns_Servers_Server) GetOrCreateConfig ¶
func (t *OpenconfigSystem_System_Dns_Servers_Server) GetOrCreateConfig() *OpenconfigSystem_System_Dns_Servers_Server_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Dns_Servers_Server) GetOrCreateState ¶
func (t *OpenconfigSystem_System_Dns_Servers_Server) GetOrCreateState() *OpenconfigSystem_System_Dns_Servers_Server_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Dns_Servers_Server) GetState ¶
func (t *OpenconfigSystem_System_Dns_Servers_Server) GetState() *OpenconfigSystem_System_Dns_Servers_Server_State
GetState returns the value of the State struct pointer from OpenconfigSystem_System_Dns_Servers_Server. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Dns_Servers_Server) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Dns_Servers_Server) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Dns_Servers_Server implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Dns_Servers_Server) Validate ¶
func (t *OpenconfigSystem_System_Dns_Servers_Server) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Dns_Servers_Server) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Dns_Servers_Server) Λ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 (*OpenconfigSystem_System_Dns_Servers_Server) ΛListKeyMap ¶
func (t *OpenconfigSystem_System_Dns_Servers_Server) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the OpenconfigSystem_System_Dns_Servers_Server struct, which is a YANG list entry.
type OpenconfigSystem_System_Dns_Servers_Server_Config ¶
type OpenconfigSystem_System_Dns_Servers_Server_Config struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Address *string `path:"address" module:"openconfig-system"` ΛAddress []ygot.Annotation `path:"@address" ygotAnnotation:"true"` Port *uint16 `path:"port" module:"openconfig-system"` ΛPort []ygot.Annotation `path:"@port" ygotAnnotation:"true"` }
OpenconfigSystem_System_Dns_Servers_Server_Config represents the /openconfig-system/system/dns/servers/server/config YANG schema element.
func (*OpenconfigSystem_System_Dns_Servers_Server_Config) GetAddress ¶
func (t *OpenconfigSystem_System_Dns_Servers_Server_Config) GetAddress() string
GetAddress retrieves the value of the leaf Address from the OpenconfigSystem_System_Dns_Servers_Server_Config struct. Caution should be exercised whilst using this method since 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 (*OpenconfigSystem_System_Dns_Servers_Server_Config) GetPort ¶
func (t *OpenconfigSystem_System_Dns_Servers_Server_Config) GetPort() uint16
GetPort retrieves the value of the leaf Port from the OpenconfigSystem_System_Dns_Servers_Server_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Port is set, it can safely use t.GetPort() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Port == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Dns_Servers_Server_Config) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Dns_Servers_Server_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Dns_Servers_Server_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Dns_Servers_Server_Config) Validate ¶
func (t *OpenconfigSystem_System_Dns_Servers_Server_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Dns_Servers_Server_Config) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Dns_Servers_Server_Config) Λ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.
type OpenconfigSystem_System_Dns_Servers_Server_State ¶
type OpenconfigSystem_System_Dns_Servers_Server_State struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Address *string `path:"address" module:"openconfig-system"` ΛAddress []ygot.Annotation `path:"@address" ygotAnnotation:"true"` Port *uint16 `path:"port" module:"openconfig-system"` ΛPort []ygot.Annotation `path:"@port" ygotAnnotation:"true"` }
OpenconfigSystem_System_Dns_Servers_Server_State represents the /openconfig-system/system/dns/servers/server/state YANG schema element.
func (*OpenconfigSystem_System_Dns_Servers_Server_State) GetAddress ¶
func (t *OpenconfigSystem_System_Dns_Servers_Server_State) GetAddress() string
GetAddress retrieves the value of the leaf Address from the OpenconfigSystem_System_Dns_Servers_Server_State struct. Caution should be exercised whilst using this method since 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 (*OpenconfigSystem_System_Dns_Servers_Server_State) GetPort ¶
func (t *OpenconfigSystem_System_Dns_Servers_Server_State) GetPort() uint16
GetPort retrieves the value of the leaf Port from the OpenconfigSystem_System_Dns_Servers_Server_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Port is set, it can safely use t.GetPort() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Port == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Dns_Servers_Server_State) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Dns_Servers_Server_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Dns_Servers_Server_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Dns_Servers_Server_State) Validate ¶
func (t *OpenconfigSystem_System_Dns_Servers_Server_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Dns_Servers_Server_State) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Dns_Servers_Server_State) Λ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.
type OpenconfigSystem_System_Dns_State ¶
type OpenconfigSystem_System_Dns_State struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Search []string `path:"search" module:"openconfig-system"` ΛSearch []ygot.Annotation `path:"@search" ygotAnnotation:"true"` }
OpenconfigSystem_System_Dns_State represents the /openconfig-system/system/dns/state YANG schema element.
func (*OpenconfigSystem_System_Dns_State) GetSearch ¶
func (t *OpenconfigSystem_System_Dns_State) GetSearch() []string
GetSearch retrieves the value of the leaf Search from the OpenconfigSystem_System_Dns_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Search is set, it can safely use t.GetSearch() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Search == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Dns_State) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Dns_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Dns_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Dns_State) Validate ¶
func (t *OpenconfigSystem_System_Dns_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Dns_State) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Dns_State) Λ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.
type OpenconfigSystem_System_GrpcServer ¶
type OpenconfigSystem_System_GrpcServer struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Config *OpenconfigSystem_System_GrpcServer_Config `path:"config" module:"openconfig-system"` ΛConfig []ygot.Annotation `path:"@config" ygotAnnotation:"true"` State *OpenconfigSystem_System_GrpcServer_State `path:"state" module:"openconfig-system"` ΛState []ygot.Annotation `path:"@state" ygotAnnotation:"true"` }
OpenconfigSystem_System_GrpcServer represents the /openconfig-system/system/grpc-server YANG schema element.
func (*OpenconfigSystem_System_GrpcServer) GetConfig ¶
func (t *OpenconfigSystem_System_GrpcServer) GetConfig() *OpenconfigSystem_System_GrpcServer_Config
GetConfig returns the value of the Config struct pointer from OpenconfigSystem_System_GrpcServer. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_GrpcServer) GetOrCreateConfig ¶
func (t *OpenconfigSystem_System_GrpcServer) GetOrCreateConfig() *OpenconfigSystem_System_GrpcServer_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_GrpcServer) GetOrCreateState ¶
func (t *OpenconfigSystem_System_GrpcServer) GetOrCreateState() *OpenconfigSystem_System_GrpcServer_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_GrpcServer) GetState ¶
func (t *OpenconfigSystem_System_GrpcServer) GetState() *OpenconfigSystem_System_GrpcServer_State
GetState returns the value of the State struct pointer from OpenconfigSystem_System_GrpcServer. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_GrpcServer) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_GrpcServer) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_GrpcServer implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_GrpcServer) Validate ¶
func (t *OpenconfigSystem_System_GrpcServer) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_GrpcServer) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_GrpcServer) Λ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.
type OpenconfigSystem_System_GrpcServer_Config ¶
type OpenconfigSystem_System_GrpcServer_Config struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` CertificateId *string `path:"certificate-id" module:"openconfig-system"` ΛCertificateId []ygot.Annotation `path:"@certificate-id" ygotAnnotation:"true"` Enable *bool `path:"enable" module:"openconfig-system"` ΛEnable []ygot.Annotation `path:"@enable" ygotAnnotation:"true"` ListenAddresses []OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union `path:"listen-addresses" module:"openconfig-system"` ΛListenAddresses []ygot.Annotation `path:"@listen-addresses" ygotAnnotation:"true"` Port *uint16 `path:"port" module:"openconfig-system"` ΛPort []ygot.Annotation `path:"@port" ygotAnnotation:"true"` TransportSecurity *bool `path:"transport-security" module:"openconfig-system"` ΛTransportSecurity []ygot.Annotation `path:"@transport-security" ygotAnnotation:"true"` }
OpenconfigSystem_System_GrpcServer_Config represents the /openconfig-system/system/grpc-server/config YANG schema element.
func (*OpenconfigSystem_System_GrpcServer_Config) GetCertificateId ¶
func (t *OpenconfigSystem_System_GrpcServer_Config) GetCertificateId() string
GetCertificateId retrieves the value of the leaf CertificateId from the OpenconfigSystem_System_GrpcServer_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if CertificateId is set, it can safely use t.GetCertificateId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.CertificateId == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_GrpcServer_Config) GetEnable ¶
func (t *OpenconfigSystem_System_GrpcServer_Config) GetEnable() bool
GetEnable retrieves the value of the leaf Enable from the OpenconfigSystem_System_GrpcServer_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Enable is set, it can safely use t.GetEnable() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Enable == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_GrpcServer_Config) GetListenAddresses ¶
func (t *OpenconfigSystem_System_GrpcServer_Config) GetListenAddresses() []OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union
GetListenAddresses retrieves the value of the leaf ListenAddresses from the OpenconfigSystem_System_GrpcServer_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ListenAddresses is set, it can safely use t.GetListenAddresses() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ListenAddresses == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_GrpcServer_Config) GetPort ¶
func (t *OpenconfigSystem_System_GrpcServer_Config) GetPort() uint16
GetPort retrieves the value of the leaf Port from the OpenconfigSystem_System_GrpcServer_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Port is set, it can safely use t.GetPort() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Port == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_GrpcServer_Config) GetTransportSecurity ¶
func (t *OpenconfigSystem_System_GrpcServer_Config) GetTransportSecurity() bool
GetTransportSecurity retrieves the value of the leaf TransportSecurity from the OpenconfigSystem_System_GrpcServer_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TransportSecurity is set, it can safely use t.GetTransportSecurity() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TransportSecurity == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_GrpcServer_Config) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_GrpcServer_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_GrpcServer_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_GrpcServer_Config) To_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union ¶
func (t *OpenconfigSystem_System_GrpcServer_Config) To_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union(i interface{}) (OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union, error)
To_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union takes an input interface{} and attempts to convert it to a struct which implements the OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union union. It returns an error if the interface{} supplied cannot be converted to a type within the union.
func (*OpenconfigSystem_System_GrpcServer_Config) Validate ¶
func (t *OpenconfigSystem_System_GrpcServer_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_GrpcServer_Config) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_GrpcServer_Config) Λ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.
type OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union ¶
type OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union interface {
Is_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union()
}
OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union is an interface that is implemented by valid types for the union for the leaf /openconfig-system/system/grpc-server/config/listen-addresses within the YANG schema.
type OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union_E_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses ¶
type OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union_E_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses struct {
E_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses E_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses
}
OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union_E_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses is used when /openconfig-system/system/grpc-server/config/listen-addresses is to be set to a E_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses value.
func (*OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union_E_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses) Is_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union ¶
func (*OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union_E_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses) Is_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union()
Is_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union ensures that OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union_E_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses implements the OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union interface.
type OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union_String ¶
type OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union_String struct {
String string
}
OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union_String is used when /openconfig-system/system/grpc-server/config/listen-addresses is to be set to a string value.
func (*OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union_String) Is_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union ¶
func (*OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union_String) Is_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union()
Is_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union ensures that OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union_String implements the OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union interface.
type OpenconfigSystem_System_GrpcServer_State ¶
type OpenconfigSystem_System_GrpcServer_State struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` CertificateId *string `path:"certificate-id" module:"openconfig-system"` ΛCertificateId []ygot.Annotation `path:"@certificate-id" ygotAnnotation:"true"` Enable *bool `path:"enable" module:"openconfig-system"` ΛEnable []ygot.Annotation `path:"@enable" ygotAnnotation:"true"` ListenAddresses []OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union `path:"listen-addresses" module:"openconfig-system"` ΛListenAddresses []ygot.Annotation `path:"@listen-addresses" ygotAnnotation:"true"` Port *uint16 `path:"port" module:"openconfig-system"` ΛPort []ygot.Annotation `path:"@port" ygotAnnotation:"true"` TransportSecurity *bool `path:"transport-security" module:"openconfig-system"` ΛTransportSecurity []ygot.Annotation `path:"@transport-security" ygotAnnotation:"true"` }
OpenconfigSystem_System_GrpcServer_State represents the /openconfig-system/system/grpc-server/state YANG schema element.
func (*OpenconfigSystem_System_GrpcServer_State) GetCertificateId ¶
func (t *OpenconfigSystem_System_GrpcServer_State) GetCertificateId() string
GetCertificateId retrieves the value of the leaf CertificateId from the OpenconfigSystem_System_GrpcServer_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if CertificateId is set, it can safely use t.GetCertificateId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.CertificateId == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_GrpcServer_State) GetEnable ¶
func (t *OpenconfigSystem_System_GrpcServer_State) GetEnable() bool
GetEnable retrieves the value of the leaf Enable from the OpenconfigSystem_System_GrpcServer_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Enable is set, it can safely use t.GetEnable() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Enable == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_GrpcServer_State) GetListenAddresses ¶
func (t *OpenconfigSystem_System_GrpcServer_State) GetListenAddresses() []OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union
GetListenAddresses retrieves the value of the leaf ListenAddresses from the OpenconfigSystem_System_GrpcServer_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ListenAddresses is set, it can safely use t.GetListenAddresses() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ListenAddresses == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_GrpcServer_State) GetPort ¶
func (t *OpenconfigSystem_System_GrpcServer_State) GetPort() uint16
GetPort retrieves the value of the leaf Port from the OpenconfigSystem_System_GrpcServer_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Port is set, it can safely use t.GetPort() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Port == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_GrpcServer_State) GetTransportSecurity ¶
func (t *OpenconfigSystem_System_GrpcServer_State) GetTransportSecurity() bool
GetTransportSecurity retrieves the value of the leaf TransportSecurity from the OpenconfigSystem_System_GrpcServer_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TransportSecurity is set, it can safely use t.GetTransportSecurity() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TransportSecurity == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_GrpcServer_State) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_GrpcServer_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_GrpcServer_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_GrpcServer_State) To_OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union ¶
func (t *OpenconfigSystem_System_GrpcServer_State) To_OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union(i interface{}) (OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union, error)
To_OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union takes an input interface{} and attempts to convert it to a struct which implements the OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union union. It returns an error if the interface{} supplied cannot be converted to a type within the union.
func (*OpenconfigSystem_System_GrpcServer_State) Validate ¶
func (t *OpenconfigSystem_System_GrpcServer_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_GrpcServer_State) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_GrpcServer_State) Λ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.
type OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union ¶
type OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union interface {
Is_OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union()
}
OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union is an interface that is implemented by valid types for the union for the leaf /openconfig-system/system/grpc-server/state/listen-addresses within the YANG schema.
type OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union_E_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses ¶
type OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union_E_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses struct {
E_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses E_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses
}
OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union_E_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses is used when /openconfig-system/system/grpc-server/state/listen-addresses is to be set to a E_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses value.
func (*OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union_E_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses) Is_OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union ¶
func (*OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union_E_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses) Is_OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union()
Is_OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union ensures that OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union_E_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses implements the OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union interface.
type OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union_String ¶
type OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union_String struct {
String string
}
OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union_String is used when /openconfig-system/system/grpc-server/state/listen-addresses is to be set to a string value.
func (*OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union_String) Is_OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union ¶
func (*OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union_String) Is_OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union()
Is_OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union ensures that OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union_String implements the OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union interface.
type OpenconfigSystem_System_Logging ¶
type OpenconfigSystem_System_Logging struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Console *OpenconfigSystem_System_Logging_Console `path:"console" module:"openconfig-system"` ΛConsole []ygot.Annotation `path:"@console" ygotAnnotation:"true"` RemoteServers *OpenconfigSystem_System_Logging_RemoteServers `path:"remote-servers" module:"openconfig-system"` ΛRemoteServers []ygot.Annotation `path:"@remote-servers" ygotAnnotation:"true"` }
OpenconfigSystem_System_Logging represents the /openconfig-system/system/logging YANG schema element.
func (*OpenconfigSystem_System_Logging) GetConsole ¶
func (t *OpenconfigSystem_System_Logging) GetConsole() *OpenconfigSystem_System_Logging_Console
GetConsole returns the value of the Console struct pointer from OpenconfigSystem_System_Logging. If the receiver or the field Console is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Logging) GetOrCreateConsole ¶
func (t *OpenconfigSystem_System_Logging) GetOrCreateConsole() *OpenconfigSystem_System_Logging_Console
GetOrCreateConsole retrieves the value of the Console field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Logging) GetOrCreateRemoteServers ¶
func (t *OpenconfigSystem_System_Logging) GetOrCreateRemoteServers() *OpenconfigSystem_System_Logging_RemoteServers
GetOrCreateRemoteServers retrieves the value of the RemoteServers field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Logging) GetRemoteServers ¶
func (t *OpenconfigSystem_System_Logging) GetRemoteServers() *OpenconfigSystem_System_Logging_RemoteServers
GetRemoteServers returns the value of the RemoteServers struct pointer from OpenconfigSystem_System_Logging. If the receiver or the field RemoteServers is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Logging) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Logging) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Logging implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Logging) Validate ¶
func (t *OpenconfigSystem_System_Logging) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Logging) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Logging) Λ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.
type OpenconfigSystem_System_Logging_Console ¶
type OpenconfigSystem_System_Logging_Console struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Config *OpenconfigSystem_System_Logging_Console_Config `path:"config" module:"openconfig-system"` ΛConfig []ygot.Annotation `path:"@config" ygotAnnotation:"true"` Selectors *OpenconfigSystem_System_Logging_Console_Selectors `path:"selectors" module:"openconfig-system"` ΛSelectors []ygot.Annotation `path:"@selectors" ygotAnnotation:"true"` State *OpenconfigSystem_System_Logging_Console_State `path:"state" module:"openconfig-system"` ΛState []ygot.Annotation `path:"@state" ygotAnnotation:"true"` }
OpenconfigSystem_System_Logging_Console represents the /openconfig-system/system/logging/console YANG schema element.
func (*OpenconfigSystem_System_Logging_Console) GetConfig ¶
func (t *OpenconfigSystem_System_Logging_Console) GetConfig() *OpenconfigSystem_System_Logging_Console_Config
GetConfig returns the value of the Config struct pointer from OpenconfigSystem_System_Logging_Console. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Logging_Console) GetOrCreateConfig ¶
func (t *OpenconfigSystem_System_Logging_Console) GetOrCreateConfig() *OpenconfigSystem_System_Logging_Console_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Logging_Console) GetOrCreateSelectors ¶
func (t *OpenconfigSystem_System_Logging_Console) GetOrCreateSelectors() *OpenconfigSystem_System_Logging_Console_Selectors
GetOrCreateSelectors retrieves the value of the Selectors field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Logging_Console) GetOrCreateState ¶
func (t *OpenconfigSystem_System_Logging_Console) GetOrCreateState() *OpenconfigSystem_System_Logging_Console_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Logging_Console) GetSelectors ¶
func (t *OpenconfigSystem_System_Logging_Console) GetSelectors() *OpenconfigSystem_System_Logging_Console_Selectors
GetSelectors returns the value of the Selectors struct pointer from OpenconfigSystem_System_Logging_Console. If the receiver or the field Selectors is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Logging_Console) GetState ¶
func (t *OpenconfigSystem_System_Logging_Console) GetState() *OpenconfigSystem_System_Logging_Console_State
GetState returns the value of the State struct pointer from OpenconfigSystem_System_Logging_Console. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Logging_Console) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Logging_Console) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Logging_Console implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Logging_Console) Validate ¶
func (t *OpenconfigSystem_System_Logging_Console) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Logging_Console) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Logging_Console) Λ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.
type OpenconfigSystem_System_Logging_Console_Config ¶
type OpenconfigSystem_System_Logging_Console_Config struct {
ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
}
OpenconfigSystem_System_Logging_Console_Config represents the /openconfig-system/system/logging/console/config YANG schema element.
func (*OpenconfigSystem_System_Logging_Console_Config) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Logging_Console_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Logging_Console_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Logging_Console_Config) Validate ¶
func (t *OpenconfigSystem_System_Logging_Console_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Logging_Console_Config) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Logging_Console_Config) Λ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.
type OpenconfigSystem_System_Logging_Console_Selectors ¶
type OpenconfigSystem_System_Logging_Console_Selectors struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Selector map[OpenconfigSystem_System_Logging_Console_Selectors_Selector_Key]*OpenconfigSystem_System_Logging_Console_Selectors_Selector `path:"selector" module:"openconfig-system"` ΛSelector []ygot.Annotation `path:"@selector" ygotAnnotation:"true"` }
OpenconfigSystem_System_Logging_Console_Selectors represents the /openconfig-system/system/logging/console/selectors YANG schema element.
func (*OpenconfigSystem_System_Logging_Console_Selectors) AppendSelector ¶
func (t *OpenconfigSystem_System_Logging_Console_Selectors) AppendSelector(v *OpenconfigSystem_System_Logging_Console_Selectors_Selector) error
AppendSelector appends the supplied OpenconfigSystem_System_Logging_Console_Selectors_Selector struct to the list Selector of OpenconfigSystem_System_Logging_Console_Selectors. If the key value(s) specified in the supplied OpenconfigSystem_System_Logging_Console_Selectors_Selector already exist in the list, an error is returned.
func (*OpenconfigSystem_System_Logging_Console_Selectors) GetOrCreateSelector ¶
func (t *OpenconfigSystem_System_Logging_Console_Selectors) GetOrCreateSelector(Facility E_OpenconfigSystemLogging_SYSLOG_FACILITY, Severity E_OpenconfigSystemLogging_SyslogSeverity) *OpenconfigSystem_System_Logging_Console_Selectors_Selector
GetOrCreateSelector retrieves the value with the specified keys from the receiver OpenconfigSystem_System_Logging_Console_Selectors. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*OpenconfigSystem_System_Logging_Console_Selectors) GetSelector ¶
func (t *OpenconfigSystem_System_Logging_Console_Selectors) GetSelector(Facility E_OpenconfigSystemLogging_SYSLOG_FACILITY, Severity E_OpenconfigSystemLogging_SyslogSeverity) *OpenconfigSystem_System_Logging_Console_Selectors_Selector
GetSelector retrieves the value with the specified key from the Selector map field of OpenconfigSystem_System_Logging_Console_Selectors. 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 (*OpenconfigSystem_System_Logging_Console_Selectors) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Logging_Console_Selectors) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Logging_Console_Selectors implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Logging_Console_Selectors) NewSelector ¶
func (t *OpenconfigSystem_System_Logging_Console_Selectors) NewSelector(Facility E_OpenconfigSystemLogging_SYSLOG_FACILITY, Severity E_OpenconfigSystemLogging_SyslogSeverity) (*OpenconfigSystem_System_Logging_Console_Selectors_Selector, error)
NewSelector creates a new entry in the Selector list of the OpenconfigSystem_System_Logging_Console_Selectors struct. The keys of the list are populated from the input arguments.
func (*OpenconfigSystem_System_Logging_Console_Selectors) RenameSelector ¶
func (t *OpenconfigSystem_System_Logging_Console_Selectors) RenameSelector(oldK, newK OpenconfigSystem_System_Logging_Console_Selectors_Selector_Key) error
RenameSelector renames an entry in the list Selector within the OpenconfigSystem_System_Logging_Console_Selectors struct. The entry with key oldK is renamed to newK updating the key within the value.
func (*OpenconfigSystem_System_Logging_Console_Selectors) Validate ¶
func (t *OpenconfigSystem_System_Logging_Console_Selectors) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Logging_Console_Selectors) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Logging_Console_Selectors) Λ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.
type OpenconfigSystem_System_Logging_Console_Selectors_Selector ¶
type OpenconfigSystem_System_Logging_Console_Selectors_Selector struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Config *OpenconfigSystem_System_Logging_Console_Selectors_Selector_Config `path:"config" module:"openconfig-system"` ΛConfig []ygot.Annotation `path:"@config" ygotAnnotation:"true"` Facility E_OpenconfigSystemLogging_SYSLOG_FACILITY `path:"facility" module:"openconfig-system"` ΛFacility []ygot.Annotation `path:"@facility" ygotAnnotation:"true"` Severity E_OpenconfigSystemLogging_SyslogSeverity `path:"severity" module:"openconfig-system"` ΛSeverity []ygot.Annotation `path:"@severity" ygotAnnotation:"true"` State *OpenconfigSystem_System_Logging_Console_Selectors_Selector_State `path:"state" module:"openconfig-system"` ΛState []ygot.Annotation `path:"@state" ygotAnnotation:"true"` }
OpenconfigSystem_System_Logging_Console_Selectors_Selector represents the /openconfig-system/system/logging/console/selectors/selector YANG schema element.
func (*OpenconfigSystem_System_Logging_Console_Selectors_Selector) GetConfig ¶
func (t *OpenconfigSystem_System_Logging_Console_Selectors_Selector) GetConfig() *OpenconfigSystem_System_Logging_Console_Selectors_Selector_Config
GetConfig returns the value of the Config struct pointer from OpenconfigSystem_System_Logging_Console_Selectors_Selector. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Logging_Console_Selectors_Selector) GetFacility ¶
func (t *OpenconfigSystem_System_Logging_Console_Selectors_Selector) GetFacility() E_OpenconfigSystemLogging_SYSLOG_FACILITY
GetFacility retrieves the value of the leaf Facility from the OpenconfigSystem_System_Logging_Console_Selectors_Selector struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Facility is set, it can safely use t.GetFacility() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Facility == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Logging_Console_Selectors_Selector) GetOrCreateConfig ¶
func (t *OpenconfigSystem_System_Logging_Console_Selectors_Selector) GetOrCreateConfig() *OpenconfigSystem_System_Logging_Console_Selectors_Selector_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Logging_Console_Selectors_Selector) GetOrCreateState ¶
func (t *OpenconfigSystem_System_Logging_Console_Selectors_Selector) GetOrCreateState() *OpenconfigSystem_System_Logging_Console_Selectors_Selector_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Logging_Console_Selectors_Selector) GetSeverity ¶
func (t *OpenconfigSystem_System_Logging_Console_Selectors_Selector) GetSeverity() E_OpenconfigSystemLogging_SyslogSeverity
GetSeverity retrieves the value of the leaf Severity from the OpenconfigSystem_System_Logging_Console_Selectors_Selector struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Severity is set, it can safely use t.GetSeverity() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Severity == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Logging_Console_Selectors_Selector) GetState ¶
func (t *OpenconfigSystem_System_Logging_Console_Selectors_Selector) GetState() *OpenconfigSystem_System_Logging_Console_Selectors_Selector_State
GetState returns the value of the State struct pointer from OpenconfigSystem_System_Logging_Console_Selectors_Selector. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Logging_Console_Selectors_Selector) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Logging_Console_Selectors_Selector) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Logging_Console_Selectors_Selector implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Logging_Console_Selectors_Selector) Validate ¶
func (t *OpenconfigSystem_System_Logging_Console_Selectors_Selector) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Logging_Console_Selectors_Selector) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Logging_Console_Selectors_Selector) Λ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 (*OpenconfigSystem_System_Logging_Console_Selectors_Selector) ΛListKeyMap ¶
func (t *OpenconfigSystem_System_Logging_Console_Selectors_Selector) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the OpenconfigSystem_System_Logging_Console_Selectors_Selector struct, which is a YANG list entry.
type OpenconfigSystem_System_Logging_Console_Selectors_Selector_Config ¶
type OpenconfigSystem_System_Logging_Console_Selectors_Selector_Config struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Facility E_OpenconfigSystemLogging_SYSLOG_FACILITY `path:"facility" module:"openconfig-system"` ΛFacility []ygot.Annotation `path:"@facility" ygotAnnotation:"true"` Severity E_OpenconfigSystemLogging_SyslogSeverity `path:"severity" module:"openconfig-system"` ΛSeverity []ygot.Annotation `path:"@severity" ygotAnnotation:"true"` }
OpenconfigSystem_System_Logging_Console_Selectors_Selector_Config represents the /openconfig-system/system/logging/console/selectors/selector/config YANG schema element.
func (*OpenconfigSystem_System_Logging_Console_Selectors_Selector_Config) GetFacility ¶
func (t *OpenconfigSystem_System_Logging_Console_Selectors_Selector_Config) GetFacility() E_OpenconfigSystemLogging_SYSLOG_FACILITY
GetFacility retrieves the value of the leaf Facility from the OpenconfigSystem_System_Logging_Console_Selectors_Selector_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Facility is set, it can safely use t.GetFacility() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Facility == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Logging_Console_Selectors_Selector_Config) GetSeverity ¶
func (t *OpenconfigSystem_System_Logging_Console_Selectors_Selector_Config) GetSeverity() E_OpenconfigSystemLogging_SyslogSeverity
GetSeverity retrieves the value of the leaf Severity from the OpenconfigSystem_System_Logging_Console_Selectors_Selector_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Severity is set, it can safely use t.GetSeverity() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Severity == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Logging_Console_Selectors_Selector_Config) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Logging_Console_Selectors_Selector_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Logging_Console_Selectors_Selector_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Logging_Console_Selectors_Selector_Config) Validate ¶
func (t *OpenconfigSystem_System_Logging_Console_Selectors_Selector_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Logging_Console_Selectors_Selector_Config) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Logging_Console_Selectors_Selector_Config) Λ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.
type OpenconfigSystem_System_Logging_Console_Selectors_Selector_Key ¶
type OpenconfigSystem_System_Logging_Console_Selectors_Selector_Key struct { Facility E_OpenconfigSystemLogging_SYSLOG_FACILITY `path:"facility"` Severity E_OpenconfigSystemLogging_SyslogSeverity `path:"severity"` }
OpenconfigSystem_System_Logging_Console_Selectors_Selector_Key represents the key for list Selector of element /openconfig-system/system/logging/console/selectors.
type OpenconfigSystem_System_Logging_Console_Selectors_Selector_State ¶
type OpenconfigSystem_System_Logging_Console_Selectors_Selector_State struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Facility E_OpenconfigSystemLogging_SYSLOG_FACILITY `path:"facility" module:"openconfig-system"` ΛFacility []ygot.Annotation `path:"@facility" ygotAnnotation:"true"` Severity E_OpenconfigSystemLogging_SyslogSeverity `path:"severity" module:"openconfig-system"` ΛSeverity []ygot.Annotation `path:"@severity" ygotAnnotation:"true"` }
OpenconfigSystem_System_Logging_Console_Selectors_Selector_State represents the /openconfig-system/system/logging/console/selectors/selector/state YANG schema element.
func (*OpenconfigSystem_System_Logging_Console_Selectors_Selector_State) GetFacility ¶
func (t *OpenconfigSystem_System_Logging_Console_Selectors_Selector_State) GetFacility() E_OpenconfigSystemLogging_SYSLOG_FACILITY
GetFacility retrieves the value of the leaf Facility from the OpenconfigSystem_System_Logging_Console_Selectors_Selector_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Facility is set, it can safely use t.GetFacility() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Facility == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Logging_Console_Selectors_Selector_State) GetSeverity ¶
func (t *OpenconfigSystem_System_Logging_Console_Selectors_Selector_State) GetSeverity() E_OpenconfigSystemLogging_SyslogSeverity
GetSeverity retrieves the value of the leaf Severity from the OpenconfigSystem_System_Logging_Console_Selectors_Selector_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Severity is set, it can safely use t.GetSeverity() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Severity == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Logging_Console_Selectors_Selector_State) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Logging_Console_Selectors_Selector_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Logging_Console_Selectors_Selector_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Logging_Console_Selectors_Selector_State) Validate ¶
func (t *OpenconfigSystem_System_Logging_Console_Selectors_Selector_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Logging_Console_Selectors_Selector_State) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Logging_Console_Selectors_Selector_State) Λ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.
type OpenconfigSystem_System_Logging_Console_State ¶
type OpenconfigSystem_System_Logging_Console_State struct {
ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
}
OpenconfigSystem_System_Logging_Console_State represents the /openconfig-system/system/logging/console/state YANG schema element.
func (*OpenconfigSystem_System_Logging_Console_State) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Logging_Console_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Logging_Console_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Logging_Console_State) Validate ¶
func (t *OpenconfigSystem_System_Logging_Console_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Logging_Console_State) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Logging_Console_State) Λ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.
type OpenconfigSystem_System_Logging_RemoteServers ¶
type OpenconfigSystem_System_Logging_RemoteServers struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` RemoteServer map[string]*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer `path:"remote-server" module:"openconfig-system"` ΛRemoteServer []ygot.Annotation `path:"@remote-server" ygotAnnotation:"true"` }
OpenconfigSystem_System_Logging_RemoteServers represents the /openconfig-system/system/logging/remote-servers YANG schema element.
func (*OpenconfigSystem_System_Logging_RemoteServers) AppendRemoteServer ¶
func (t *OpenconfigSystem_System_Logging_RemoteServers) AppendRemoteServer(v *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer) error
AppendRemoteServer appends the supplied OpenconfigSystem_System_Logging_RemoteServers_RemoteServer struct to the list RemoteServer of OpenconfigSystem_System_Logging_RemoteServers. If the key value(s) specified in the supplied OpenconfigSystem_System_Logging_RemoteServers_RemoteServer already exist in the list, an error is returned.
func (*OpenconfigSystem_System_Logging_RemoteServers) GetOrCreateRemoteServer ¶
func (t *OpenconfigSystem_System_Logging_RemoteServers) GetOrCreateRemoteServer(Host string) *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer
GetOrCreateRemoteServer retrieves the value with the specified keys from the receiver OpenconfigSystem_System_Logging_RemoteServers. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*OpenconfigSystem_System_Logging_RemoteServers) GetRemoteServer ¶
func (t *OpenconfigSystem_System_Logging_RemoteServers) GetRemoteServer(Host string) *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer
GetRemoteServer retrieves the value with the specified key from the RemoteServer map field of OpenconfigSystem_System_Logging_RemoteServers. 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 (*OpenconfigSystem_System_Logging_RemoteServers) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Logging_RemoteServers) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Logging_RemoteServers implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Logging_RemoteServers) NewRemoteServer ¶
func (t *OpenconfigSystem_System_Logging_RemoteServers) NewRemoteServer(Host string) (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer, error)
NewRemoteServer creates a new entry in the RemoteServer list of the OpenconfigSystem_System_Logging_RemoteServers struct. The keys of the list are populated from the input arguments.
func (*OpenconfigSystem_System_Logging_RemoteServers) RenameRemoteServer ¶
func (t *OpenconfigSystem_System_Logging_RemoteServers) RenameRemoteServer(oldK, newK string) error
RenameRemoteServer renames an entry in the list RemoteServer within the OpenconfigSystem_System_Logging_RemoteServers struct. The entry with key oldK is renamed to newK updating the key within the value.
func (*OpenconfigSystem_System_Logging_RemoteServers) Validate ¶
func (t *OpenconfigSystem_System_Logging_RemoteServers) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Logging_RemoteServers) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Logging_RemoteServers) Λ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.
type OpenconfigSystem_System_Logging_RemoteServers_RemoteServer ¶
type OpenconfigSystem_System_Logging_RemoteServers_RemoteServer struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Config *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Config `path:"config" module:"openconfig-system"` ΛConfig []ygot.Annotation `path:"@config" ygotAnnotation:"true"` Host *string `path:"host" module:"openconfig-system"` ΛHost []ygot.Annotation `path:"@host" ygotAnnotation:"true"` Selectors *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors `path:"selectors" module:"openconfig-system"` ΛSelectors []ygot.Annotation `path:"@selectors" ygotAnnotation:"true"` State *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_State `path:"state" module:"openconfig-system"` ΛState []ygot.Annotation `path:"@state" ygotAnnotation:"true"` }
OpenconfigSystem_System_Logging_RemoteServers_RemoteServer represents the /openconfig-system/system/logging/remote-servers/remote-server YANG schema element.
func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer) GetConfig ¶
func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer) GetConfig() *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Config
GetConfig returns the value of the Config struct pointer from OpenconfigSystem_System_Logging_RemoteServers_RemoteServer. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer) GetHost ¶
func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer) GetHost() string
GetHost retrieves the value of the leaf Host from the OpenconfigSystem_System_Logging_RemoteServers_RemoteServer struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Host is set, it can safely use t.GetHost() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Host == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer) GetOrCreateConfig ¶
func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer) GetOrCreateConfig() *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer) GetOrCreateSelectors ¶
func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer) GetOrCreateSelectors() *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors
GetOrCreateSelectors retrieves the value of the Selectors field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer) GetOrCreateState ¶
func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer) GetOrCreateState() *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer) GetSelectors ¶
func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer) GetSelectors() *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors
GetSelectors returns the value of the Selectors struct pointer from OpenconfigSystem_System_Logging_RemoteServers_RemoteServer. If the receiver or the field Selectors is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer) GetState ¶
func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer) GetState() *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_State
GetState returns the value of the State struct pointer from OpenconfigSystem_System_Logging_RemoteServers_RemoteServer. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Logging_RemoteServers_RemoteServer implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer) Validate ¶
func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer) Λ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 (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer) ΛListKeyMap ¶
func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the OpenconfigSystem_System_Logging_RemoteServers_RemoteServer struct, which is a YANG list entry.
type OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Config ¶
type OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Config struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Host *string `path:"host" module:"openconfig-system"` ΛHost []ygot.Annotation `path:"@host" ygotAnnotation:"true"` RemotePort *uint16 `path:"remote-port" module:"openconfig-system"` ΛRemotePort []ygot.Annotation `path:"@remote-port" ygotAnnotation:"true"` SourceAddress *string `path:"source-address" module:"openconfig-system"` ΛSourceAddress []ygot.Annotation `path:"@source-address" ygotAnnotation:"true"` }
OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Config represents the /openconfig-system/system/logging/remote-servers/remote-server/config YANG schema element.
func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Config) GetHost ¶
func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Config) GetHost() string
GetHost retrieves the value of the leaf Host from the OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Host is set, it can safely use t.GetHost() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Host == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Config) GetRemotePort ¶
func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Config) GetRemotePort() uint16
GetRemotePort retrieves the value of the leaf RemotePort from the OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if RemotePort is set, it can safely use t.GetRemotePort() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.RemotePort == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Config) GetSourceAddress ¶
func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Config) GetSourceAddress() string
GetSourceAddress retrieves the value of the leaf SourceAddress from the OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Config struct. Caution should be exercised whilst using this method since 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 (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Config) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Config) Validate ¶
func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Config) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Config) Λ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.
type OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors ¶
type OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Selector map[OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_Key]*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector `path:"selector" module:"openconfig-system"` ΛSelector []ygot.Annotation `path:"@selector" ygotAnnotation:"true"` }
OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors represents the /openconfig-system/system/logging/remote-servers/remote-server/selectors YANG schema element.
func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors) AppendSelector ¶
func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors) AppendSelector(v *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector) error
AppendSelector appends the supplied OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector struct to the list Selector of OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors. If the key value(s) specified in the supplied OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector already exist in the list, an error is returned.
func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors) GetOrCreateSelector ¶
func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors) GetOrCreateSelector(Facility E_OpenconfigSystemLogging_SYSLOG_FACILITY, Severity E_OpenconfigSystemLogging_SyslogSeverity) *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector
GetOrCreateSelector retrieves the value with the specified keys from the receiver OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors) GetSelector ¶
func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors) GetSelector(Facility E_OpenconfigSystemLogging_SYSLOG_FACILITY, Severity E_OpenconfigSystemLogging_SyslogSeverity) *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector
GetSelector retrieves the value with the specified key from the Selector map field of OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors. 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 (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors) NewSelector ¶
func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors) NewSelector(Facility E_OpenconfigSystemLogging_SYSLOG_FACILITY, Severity E_OpenconfigSystemLogging_SyslogSeverity) (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector, error)
NewSelector creates a new entry in the Selector list of the OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors struct. The keys of the list are populated from the input arguments.
func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors) RenameSelector ¶
func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors) RenameSelector(oldK, newK OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_Key) error
RenameSelector renames an entry in the list Selector within the OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors struct. The entry with key oldK is renamed to newK updating the key within the value.
func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors) Validate ¶
func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors) Λ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.
type OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector ¶
type OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Config *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_Config `path:"config" module:"openconfig-system"` ΛConfig []ygot.Annotation `path:"@config" ygotAnnotation:"true"` Facility E_OpenconfigSystemLogging_SYSLOG_FACILITY `path:"facility" module:"openconfig-system"` ΛFacility []ygot.Annotation `path:"@facility" ygotAnnotation:"true"` Severity E_OpenconfigSystemLogging_SyslogSeverity `path:"severity" module:"openconfig-system"` ΛSeverity []ygot.Annotation `path:"@severity" ygotAnnotation:"true"` State *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_State `path:"state" module:"openconfig-system"` ΛState []ygot.Annotation `path:"@state" ygotAnnotation:"true"` }
OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector represents the /openconfig-system/system/logging/remote-servers/remote-server/selectors/selector YANG schema element.
func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector) GetConfig ¶
func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector) GetConfig() *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_Config
GetConfig returns the value of the Config struct pointer from OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector) GetFacility ¶
func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector) GetFacility() E_OpenconfigSystemLogging_SYSLOG_FACILITY
GetFacility retrieves the value of the leaf Facility from the OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Facility is set, it can safely use t.GetFacility() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Facility == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector) GetOrCreateConfig ¶
func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector) GetOrCreateConfig() *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector) GetOrCreateState ¶
func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector) GetOrCreateState() *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector) GetSeverity ¶
func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector) GetSeverity() E_OpenconfigSystemLogging_SyslogSeverity
GetSeverity retrieves the value of the leaf Severity from the OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Severity is set, it can safely use t.GetSeverity() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Severity == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector) GetState ¶
func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector) GetState() *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_State
GetState returns the value of the State struct pointer from OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector) Validate ¶
func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector) Λ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 (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector) ΛListKeyMap ¶
func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector struct, which is a YANG list entry.
type OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_Config ¶
type OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_Config struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Facility E_OpenconfigSystemLogging_SYSLOG_FACILITY `path:"facility" module:"openconfig-system"` ΛFacility []ygot.Annotation `path:"@facility" ygotAnnotation:"true"` Severity E_OpenconfigSystemLogging_SyslogSeverity `path:"severity" module:"openconfig-system"` ΛSeverity []ygot.Annotation `path:"@severity" ygotAnnotation:"true"` }
OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_Config represents the /openconfig-system/system/logging/remote-servers/remote-server/selectors/selector/config YANG schema element.
func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_Config) GetFacility ¶
func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_Config) GetFacility() E_OpenconfigSystemLogging_SYSLOG_FACILITY
GetFacility retrieves the value of the leaf Facility from the OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Facility is set, it can safely use t.GetFacility() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Facility == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_Config) GetSeverity ¶
func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_Config) GetSeverity() E_OpenconfigSystemLogging_SyslogSeverity
GetSeverity retrieves the value of the leaf Severity from the OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Severity is set, it can safely use t.GetSeverity() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Severity == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_Config) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_Config) Validate ¶
func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_Config) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_Config) Λ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.
type OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_Key ¶
type OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_Key struct { Facility E_OpenconfigSystemLogging_SYSLOG_FACILITY `path:"facility"` Severity E_OpenconfigSystemLogging_SyslogSeverity `path:"severity"` }
OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_Key represents the key for list Selector of element /openconfig-system/system/logging/remote-servers/remote-server/selectors.
type OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_State ¶
type OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_State struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Facility E_OpenconfigSystemLogging_SYSLOG_FACILITY `path:"facility" module:"openconfig-system"` ΛFacility []ygot.Annotation `path:"@facility" ygotAnnotation:"true"` Severity E_OpenconfigSystemLogging_SyslogSeverity `path:"severity" module:"openconfig-system"` ΛSeverity []ygot.Annotation `path:"@severity" ygotAnnotation:"true"` }
OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_State represents the /openconfig-system/system/logging/remote-servers/remote-server/selectors/selector/state YANG schema element.
func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_State) GetFacility ¶
func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_State) GetFacility() E_OpenconfigSystemLogging_SYSLOG_FACILITY
GetFacility retrieves the value of the leaf Facility from the OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Facility is set, it can safely use t.GetFacility() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Facility == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_State) GetSeverity ¶
func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_State) GetSeverity() E_OpenconfigSystemLogging_SyslogSeverity
GetSeverity retrieves the value of the leaf Severity from the OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Severity is set, it can safely use t.GetSeverity() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Severity == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_State) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_State) Validate ¶
func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_State) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_State) Λ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.
type OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_State ¶
type OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_State struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Host *string `path:"host" module:"openconfig-system"` ΛHost []ygot.Annotation `path:"@host" ygotAnnotation:"true"` RemotePort *uint16 `path:"remote-port" module:"openconfig-system"` ΛRemotePort []ygot.Annotation `path:"@remote-port" ygotAnnotation:"true"` SourceAddress *string `path:"source-address" module:"openconfig-system"` ΛSourceAddress []ygot.Annotation `path:"@source-address" ygotAnnotation:"true"` }
OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_State represents the /openconfig-system/system/logging/remote-servers/remote-server/state YANG schema element.
func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_State) GetHost ¶
func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_State) GetHost() string
GetHost retrieves the value of the leaf Host from the OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Host is set, it can safely use t.GetHost() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Host == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_State) GetRemotePort ¶
func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_State) GetRemotePort() uint16
GetRemotePort retrieves the value of the leaf RemotePort from the OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if RemotePort is set, it can safely use t.GetRemotePort() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.RemotePort == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_State) GetSourceAddress ¶
func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_State) GetSourceAddress() string
GetSourceAddress retrieves the value of the leaf SourceAddress from the OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_State struct. Caution should be exercised whilst using this method since 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 (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_State) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_State) Validate ¶
func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_State) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_State) Λ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.
type OpenconfigSystem_System_Memory ¶
type OpenconfigSystem_System_Memory struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Config *OpenconfigSystem_System_Memory_Config `path:"config" module:"openconfig-system"` ΛConfig []ygot.Annotation `path:"@config" ygotAnnotation:"true"` State *OpenconfigSystem_System_Memory_State `path:"state" module:"openconfig-system"` ΛState []ygot.Annotation `path:"@state" ygotAnnotation:"true"` }
OpenconfigSystem_System_Memory represents the /openconfig-system/system/memory YANG schema element.
func (*OpenconfigSystem_System_Memory) GetConfig ¶
func (t *OpenconfigSystem_System_Memory) GetConfig() *OpenconfigSystem_System_Memory_Config
GetConfig returns the value of the Config struct pointer from OpenconfigSystem_System_Memory. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Memory) GetOrCreateConfig ¶
func (t *OpenconfigSystem_System_Memory) GetOrCreateConfig() *OpenconfigSystem_System_Memory_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Memory) GetOrCreateState ¶
func (t *OpenconfigSystem_System_Memory) GetOrCreateState() *OpenconfigSystem_System_Memory_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Memory) GetState ¶
func (t *OpenconfigSystem_System_Memory) GetState() *OpenconfigSystem_System_Memory_State
GetState returns the value of the State struct pointer from OpenconfigSystem_System_Memory. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Memory) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Memory) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Memory implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Memory) Validate ¶
func (t *OpenconfigSystem_System_Memory) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Memory) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Memory) Λ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.
type OpenconfigSystem_System_Memory_Config ¶
type OpenconfigSystem_System_Memory_Config struct {
ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
}
OpenconfigSystem_System_Memory_Config represents the /openconfig-system/system/memory/config YANG schema element.
func (*OpenconfigSystem_System_Memory_Config) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Memory_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Memory_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Memory_Config) Validate ¶
func (t *OpenconfigSystem_System_Memory_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Memory_Config) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Memory_Config) Λ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.
type OpenconfigSystem_System_Memory_State ¶
type OpenconfigSystem_System_Memory_State struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Physical *uint64 `path:"physical" module:"openconfig-system"` ΛPhysical []ygot.Annotation `path:"@physical" ygotAnnotation:"true"` Reserved *uint64 `path:"reserved" module:"openconfig-system"` ΛReserved []ygot.Annotation `path:"@reserved" ygotAnnotation:"true"` }
OpenconfigSystem_System_Memory_State represents the /openconfig-system/system/memory/state YANG schema element.
func (*OpenconfigSystem_System_Memory_State) GetPhysical ¶
func (t *OpenconfigSystem_System_Memory_State) GetPhysical() uint64
GetPhysical retrieves the value of the leaf Physical from the OpenconfigSystem_System_Memory_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Physical is set, it can safely use t.GetPhysical() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Physical == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Memory_State) GetReserved ¶
func (t *OpenconfigSystem_System_Memory_State) GetReserved() uint64
GetReserved retrieves the value of the leaf Reserved from the OpenconfigSystem_System_Memory_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Reserved is set, it can safely use t.GetReserved() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Reserved == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Memory_State) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Memory_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Memory_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Memory_State) Validate ¶
func (t *OpenconfigSystem_System_Memory_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Memory_State) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Memory_State) Λ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.
type OpenconfigSystem_System_Ntp ¶
type OpenconfigSystem_System_Ntp struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Config *OpenconfigSystem_System_Ntp_Config `path:"config" module:"openconfig-system"` ΛConfig []ygot.Annotation `path:"@config" ygotAnnotation:"true"` NtpKeys *OpenconfigSystem_System_Ntp_NtpKeys `path:"ntp-keys" module:"openconfig-system"` ΛNtpKeys []ygot.Annotation `path:"@ntp-keys" ygotAnnotation:"true"` Servers *OpenconfigSystem_System_Ntp_Servers `path:"servers" module:"openconfig-system"` ΛServers []ygot.Annotation `path:"@servers" ygotAnnotation:"true"` State *OpenconfigSystem_System_Ntp_State `path:"state" module:"openconfig-system"` ΛState []ygot.Annotation `path:"@state" ygotAnnotation:"true"` }
OpenconfigSystem_System_Ntp represents the /openconfig-system/system/ntp YANG schema element.
func (*OpenconfigSystem_System_Ntp) GetConfig ¶
func (t *OpenconfigSystem_System_Ntp) GetConfig() *OpenconfigSystem_System_Ntp_Config
GetConfig returns the value of the Config struct pointer from OpenconfigSystem_System_Ntp. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Ntp) GetNtpKeys ¶
func (t *OpenconfigSystem_System_Ntp) GetNtpKeys() *OpenconfigSystem_System_Ntp_NtpKeys
GetNtpKeys returns the value of the NtpKeys struct pointer from OpenconfigSystem_System_Ntp. If the receiver or the field NtpKeys is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Ntp) GetOrCreateConfig ¶
func (t *OpenconfigSystem_System_Ntp) GetOrCreateConfig() *OpenconfigSystem_System_Ntp_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Ntp) GetOrCreateNtpKeys ¶
func (t *OpenconfigSystem_System_Ntp) GetOrCreateNtpKeys() *OpenconfigSystem_System_Ntp_NtpKeys
GetOrCreateNtpKeys retrieves the value of the NtpKeys field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Ntp) GetOrCreateServers ¶
func (t *OpenconfigSystem_System_Ntp) GetOrCreateServers() *OpenconfigSystem_System_Ntp_Servers
GetOrCreateServers retrieves the value of the Servers field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Ntp) GetOrCreateState ¶
func (t *OpenconfigSystem_System_Ntp) GetOrCreateState() *OpenconfigSystem_System_Ntp_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Ntp) GetServers ¶
func (t *OpenconfigSystem_System_Ntp) GetServers() *OpenconfigSystem_System_Ntp_Servers
GetServers returns the value of the Servers struct pointer from OpenconfigSystem_System_Ntp. If the receiver or the field Servers is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Ntp) GetState ¶
func (t *OpenconfigSystem_System_Ntp) GetState() *OpenconfigSystem_System_Ntp_State
GetState returns the value of the State struct pointer from OpenconfigSystem_System_Ntp. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Ntp) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Ntp) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Ntp implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Ntp) Validate ¶
func (t *OpenconfigSystem_System_Ntp) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Ntp) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Ntp) Λ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.
type OpenconfigSystem_System_Ntp_Config ¶
type OpenconfigSystem_System_Ntp_Config struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` EnableNtpAuth *bool `path:"enable-ntp-auth" module:"openconfig-system"` ΛEnableNtpAuth []ygot.Annotation `path:"@enable-ntp-auth" ygotAnnotation:"true"` Enabled *bool `path:"enabled" module:"openconfig-system"` ΛEnabled []ygot.Annotation `path:"@enabled" ygotAnnotation:"true"` NtpSourceAddress *string `path:"ntp-source-address" module:"openconfig-system"` ΛNtpSourceAddress []ygot.Annotation `path:"@ntp-source-address" ygotAnnotation:"true"` }
OpenconfigSystem_System_Ntp_Config represents the /openconfig-system/system/ntp/config YANG schema element.
func (*OpenconfigSystem_System_Ntp_Config) GetEnableNtpAuth ¶
func (t *OpenconfigSystem_System_Ntp_Config) GetEnableNtpAuth() bool
GetEnableNtpAuth retrieves the value of the leaf EnableNtpAuth from the OpenconfigSystem_System_Ntp_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if EnableNtpAuth is set, it can safely use t.GetEnableNtpAuth() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.EnableNtpAuth == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Ntp_Config) GetEnabled ¶
func (t *OpenconfigSystem_System_Ntp_Config) GetEnabled() bool
GetEnabled retrieves the value of the leaf Enabled from the OpenconfigSystem_System_Ntp_Config struct. Caution should be exercised whilst using this method since 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 (*OpenconfigSystem_System_Ntp_Config) GetNtpSourceAddress ¶
func (t *OpenconfigSystem_System_Ntp_Config) GetNtpSourceAddress() string
GetNtpSourceAddress retrieves the value of the leaf NtpSourceAddress from the OpenconfigSystem_System_Ntp_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if NtpSourceAddress is set, it can safely use t.GetNtpSourceAddress() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.NtpSourceAddress == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Ntp_Config) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Ntp_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Ntp_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Ntp_Config) Validate ¶
func (t *OpenconfigSystem_System_Ntp_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Ntp_Config) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Ntp_Config) Λ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.
type OpenconfigSystem_System_Ntp_NtpKeys ¶
type OpenconfigSystem_System_Ntp_NtpKeys struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` NtpKey map[uint16]*OpenconfigSystem_System_Ntp_NtpKeys_NtpKey `path:"ntp-key" module:"openconfig-system"` ΛNtpKey []ygot.Annotation `path:"@ntp-key" ygotAnnotation:"true"` }
OpenconfigSystem_System_Ntp_NtpKeys represents the /openconfig-system/system/ntp/ntp-keys YANG schema element.
func (*OpenconfigSystem_System_Ntp_NtpKeys) AppendNtpKey ¶
func (t *OpenconfigSystem_System_Ntp_NtpKeys) AppendNtpKey(v *OpenconfigSystem_System_Ntp_NtpKeys_NtpKey) error
AppendNtpKey appends the supplied OpenconfigSystem_System_Ntp_NtpKeys_NtpKey struct to the list NtpKey of OpenconfigSystem_System_Ntp_NtpKeys. If the key value(s) specified in the supplied OpenconfigSystem_System_Ntp_NtpKeys_NtpKey already exist in the list, an error is returned.
func (*OpenconfigSystem_System_Ntp_NtpKeys) GetNtpKey ¶
func (t *OpenconfigSystem_System_Ntp_NtpKeys) GetNtpKey(KeyId uint16) *OpenconfigSystem_System_Ntp_NtpKeys_NtpKey
GetNtpKey retrieves the value with the specified key from the NtpKey map field of OpenconfigSystem_System_Ntp_NtpKeys. 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 (*OpenconfigSystem_System_Ntp_NtpKeys) GetOrCreateNtpKey ¶
func (t *OpenconfigSystem_System_Ntp_NtpKeys) GetOrCreateNtpKey(KeyId uint16) *OpenconfigSystem_System_Ntp_NtpKeys_NtpKey
GetOrCreateNtpKey retrieves the value with the specified keys from the receiver OpenconfigSystem_System_Ntp_NtpKeys. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*OpenconfigSystem_System_Ntp_NtpKeys) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Ntp_NtpKeys) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Ntp_NtpKeys implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Ntp_NtpKeys) NewNtpKey ¶
func (t *OpenconfigSystem_System_Ntp_NtpKeys) NewNtpKey(KeyId uint16) (*OpenconfigSystem_System_Ntp_NtpKeys_NtpKey, error)
NewNtpKey creates a new entry in the NtpKey list of the OpenconfigSystem_System_Ntp_NtpKeys struct. The keys of the list are populated from the input arguments.
func (*OpenconfigSystem_System_Ntp_NtpKeys) RenameNtpKey ¶
func (t *OpenconfigSystem_System_Ntp_NtpKeys) RenameNtpKey(oldK, newK uint16) error
RenameNtpKey renames an entry in the list NtpKey within the OpenconfigSystem_System_Ntp_NtpKeys struct. The entry with key oldK is renamed to newK updating the key within the value.
func (*OpenconfigSystem_System_Ntp_NtpKeys) Validate ¶
func (t *OpenconfigSystem_System_Ntp_NtpKeys) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Ntp_NtpKeys) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Ntp_NtpKeys) Λ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.
type OpenconfigSystem_System_Ntp_NtpKeys_NtpKey ¶
type OpenconfigSystem_System_Ntp_NtpKeys_NtpKey struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Config *OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_Config `path:"config" module:"openconfig-system"` ΛConfig []ygot.Annotation `path:"@config" ygotAnnotation:"true"` KeyId *uint16 `path:"key-id" module:"openconfig-system"` ΛKeyId []ygot.Annotation `path:"@key-id" ygotAnnotation:"true"` State *OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_State `path:"state" module:"openconfig-system"` ΛState []ygot.Annotation `path:"@state" ygotAnnotation:"true"` }
OpenconfigSystem_System_Ntp_NtpKeys_NtpKey represents the /openconfig-system/system/ntp/ntp-keys/ntp-key YANG schema element.
func (*OpenconfigSystem_System_Ntp_NtpKeys_NtpKey) GetConfig ¶
func (t *OpenconfigSystem_System_Ntp_NtpKeys_NtpKey) GetConfig() *OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_Config
GetConfig returns the value of the Config struct pointer from OpenconfigSystem_System_Ntp_NtpKeys_NtpKey. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Ntp_NtpKeys_NtpKey) GetKeyId ¶
func (t *OpenconfigSystem_System_Ntp_NtpKeys_NtpKey) GetKeyId() uint16
GetKeyId retrieves the value of the leaf KeyId from the OpenconfigSystem_System_Ntp_NtpKeys_NtpKey struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if KeyId is set, it can safely use t.GetKeyId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.KeyId == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Ntp_NtpKeys_NtpKey) GetOrCreateConfig ¶
func (t *OpenconfigSystem_System_Ntp_NtpKeys_NtpKey) GetOrCreateConfig() *OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Ntp_NtpKeys_NtpKey) GetOrCreateState ¶
func (t *OpenconfigSystem_System_Ntp_NtpKeys_NtpKey) GetOrCreateState() *OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Ntp_NtpKeys_NtpKey) GetState ¶
func (t *OpenconfigSystem_System_Ntp_NtpKeys_NtpKey) GetState() *OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_State
GetState returns the value of the State struct pointer from OpenconfigSystem_System_Ntp_NtpKeys_NtpKey. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Ntp_NtpKeys_NtpKey) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Ntp_NtpKeys_NtpKey) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Ntp_NtpKeys_NtpKey implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Ntp_NtpKeys_NtpKey) Validate ¶
func (t *OpenconfigSystem_System_Ntp_NtpKeys_NtpKey) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Ntp_NtpKeys_NtpKey) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Ntp_NtpKeys_NtpKey) Λ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 (*OpenconfigSystem_System_Ntp_NtpKeys_NtpKey) ΛListKeyMap ¶
func (t *OpenconfigSystem_System_Ntp_NtpKeys_NtpKey) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the OpenconfigSystem_System_Ntp_NtpKeys_NtpKey struct, which is a YANG list entry.
type OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_Config ¶
type OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_Config struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` KeyId *uint16 `path:"key-id" module:"openconfig-system"` ΛKeyId []ygot.Annotation `path:"@key-id" ygotAnnotation:"true"` KeyType E_OpenconfigSystem_NTP_AUTH_TYPE `path:"key-type" module:"openconfig-system"` ΛKeyType []ygot.Annotation `path:"@key-type" ygotAnnotation:"true"` KeyValue *string `path:"key-value" module:"openconfig-system"` ΛKeyValue []ygot.Annotation `path:"@key-value" ygotAnnotation:"true"` }
OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_Config represents the /openconfig-system/system/ntp/ntp-keys/ntp-key/config YANG schema element.
func (*OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_Config) GetKeyId ¶
func (t *OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_Config) GetKeyId() uint16
GetKeyId retrieves the value of the leaf KeyId from the OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if KeyId is set, it can safely use t.GetKeyId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.KeyId == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_Config) GetKeyType ¶
func (t *OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_Config) GetKeyType() E_OpenconfigSystem_NTP_AUTH_TYPE
GetKeyType retrieves the value of the leaf KeyType from the OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if KeyType is set, it can safely use t.GetKeyType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.KeyType == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_Config) GetKeyValue ¶
func (t *OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_Config) GetKeyValue() string
GetKeyValue retrieves the value of the leaf KeyValue from the OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if KeyValue is set, it can safely use t.GetKeyValue() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.KeyValue == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_Config) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_Config) Validate ¶
func (t *OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_Config) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_Config) Λ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.
type OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_State ¶
type OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_State struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` KeyId *uint16 `path:"key-id" module:"openconfig-system"` ΛKeyId []ygot.Annotation `path:"@key-id" ygotAnnotation:"true"` KeyType E_OpenconfigSystem_NTP_AUTH_TYPE `path:"key-type" module:"openconfig-system"` ΛKeyType []ygot.Annotation `path:"@key-type" ygotAnnotation:"true"` KeyValue *string `path:"key-value" module:"openconfig-system"` ΛKeyValue []ygot.Annotation `path:"@key-value" ygotAnnotation:"true"` }
OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_State represents the /openconfig-system/system/ntp/ntp-keys/ntp-key/state YANG schema element.
func (*OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_State) GetKeyId ¶
func (t *OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_State) GetKeyId() uint16
GetKeyId retrieves the value of the leaf KeyId from the OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if KeyId is set, it can safely use t.GetKeyId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.KeyId == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_State) GetKeyType ¶
func (t *OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_State) GetKeyType() E_OpenconfigSystem_NTP_AUTH_TYPE
GetKeyType retrieves the value of the leaf KeyType from the OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if KeyType is set, it can safely use t.GetKeyType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.KeyType == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_State) GetKeyValue ¶
func (t *OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_State) GetKeyValue() string
GetKeyValue retrieves the value of the leaf KeyValue from the OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if KeyValue is set, it can safely use t.GetKeyValue() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.KeyValue == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_State) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_State) Validate ¶
func (t *OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_State) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_State) Λ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.
type OpenconfigSystem_System_Ntp_Servers ¶
type OpenconfigSystem_System_Ntp_Servers struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Server map[string]*OpenconfigSystem_System_Ntp_Servers_Server `path:"server" module:"openconfig-system"` ΛServer []ygot.Annotation `path:"@server" ygotAnnotation:"true"` }
OpenconfigSystem_System_Ntp_Servers represents the /openconfig-system/system/ntp/servers YANG schema element.
func (*OpenconfigSystem_System_Ntp_Servers) AppendServer ¶
func (t *OpenconfigSystem_System_Ntp_Servers) AppendServer(v *OpenconfigSystem_System_Ntp_Servers_Server) error
AppendServer appends the supplied OpenconfigSystem_System_Ntp_Servers_Server struct to the list Server of OpenconfigSystem_System_Ntp_Servers. If the key value(s) specified in the supplied OpenconfigSystem_System_Ntp_Servers_Server already exist in the list, an error is returned.
func (*OpenconfigSystem_System_Ntp_Servers) GetOrCreateServer ¶
func (t *OpenconfigSystem_System_Ntp_Servers) GetOrCreateServer(Address string) *OpenconfigSystem_System_Ntp_Servers_Server
GetOrCreateServer retrieves the value with the specified keys from the receiver OpenconfigSystem_System_Ntp_Servers. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*OpenconfigSystem_System_Ntp_Servers) GetServer ¶
func (t *OpenconfigSystem_System_Ntp_Servers) GetServer(Address string) *OpenconfigSystem_System_Ntp_Servers_Server
GetServer retrieves the value with the specified key from the Server map field of OpenconfigSystem_System_Ntp_Servers. 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 (*OpenconfigSystem_System_Ntp_Servers) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Ntp_Servers) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Ntp_Servers implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Ntp_Servers) NewServer ¶
func (t *OpenconfigSystem_System_Ntp_Servers) NewServer(Address string) (*OpenconfigSystem_System_Ntp_Servers_Server, error)
NewServer creates a new entry in the Server list of the OpenconfigSystem_System_Ntp_Servers struct. The keys of the list are populated from the input arguments.
func (*OpenconfigSystem_System_Ntp_Servers) RenameServer ¶
func (t *OpenconfigSystem_System_Ntp_Servers) RenameServer(oldK, newK string) error
RenameServer renames an entry in the list Server within the OpenconfigSystem_System_Ntp_Servers struct. The entry with key oldK is renamed to newK updating the key within the value.
func (*OpenconfigSystem_System_Ntp_Servers) Validate ¶
func (t *OpenconfigSystem_System_Ntp_Servers) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Ntp_Servers) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Ntp_Servers) Λ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.
type OpenconfigSystem_System_Ntp_Servers_Server ¶
type OpenconfigSystem_System_Ntp_Servers_Server struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Address *string `path:"address" module:"openconfig-system"` ΛAddress []ygot.Annotation `path:"@address" ygotAnnotation:"true"` Config *OpenconfigSystem_System_Ntp_Servers_Server_Config `path:"config" module:"openconfig-system"` ΛConfig []ygot.Annotation `path:"@config" ygotAnnotation:"true"` State *OpenconfigSystem_System_Ntp_Servers_Server_State `path:"state" module:"openconfig-system"` ΛState []ygot.Annotation `path:"@state" ygotAnnotation:"true"` }
OpenconfigSystem_System_Ntp_Servers_Server represents the /openconfig-system/system/ntp/servers/server YANG schema element.
func (*OpenconfigSystem_System_Ntp_Servers_Server) GetAddress ¶
func (t *OpenconfigSystem_System_Ntp_Servers_Server) GetAddress() string
GetAddress retrieves the value of the leaf Address from the OpenconfigSystem_System_Ntp_Servers_Server struct. Caution should be exercised whilst using this method since 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 (*OpenconfigSystem_System_Ntp_Servers_Server) GetConfig ¶
func (t *OpenconfigSystem_System_Ntp_Servers_Server) GetConfig() *OpenconfigSystem_System_Ntp_Servers_Server_Config
GetConfig returns the value of the Config struct pointer from OpenconfigSystem_System_Ntp_Servers_Server. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Ntp_Servers_Server) GetOrCreateConfig ¶
func (t *OpenconfigSystem_System_Ntp_Servers_Server) GetOrCreateConfig() *OpenconfigSystem_System_Ntp_Servers_Server_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Ntp_Servers_Server) GetOrCreateState ¶
func (t *OpenconfigSystem_System_Ntp_Servers_Server) GetOrCreateState() *OpenconfigSystem_System_Ntp_Servers_Server_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Ntp_Servers_Server) GetState ¶
func (t *OpenconfigSystem_System_Ntp_Servers_Server) GetState() *OpenconfigSystem_System_Ntp_Servers_Server_State
GetState returns the value of the State struct pointer from OpenconfigSystem_System_Ntp_Servers_Server. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Ntp_Servers_Server) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Ntp_Servers_Server) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Ntp_Servers_Server implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Ntp_Servers_Server) Validate ¶
func (t *OpenconfigSystem_System_Ntp_Servers_Server) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Ntp_Servers_Server) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Ntp_Servers_Server) Λ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 (*OpenconfigSystem_System_Ntp_Servers_Server) ΛListKeyMap ¶
func (t *OpenconfigSystem_System_Ntp_Servers_Server) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the OpenconfigSystem_System_Ntp_Servers_Server struct, which is a YANG list entry.
type OpenconfigSystem_System_Ntp_Servers_Server_Config ¶
type OpenconfigSystem_System_Ntp_Servers_Server_Config struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Address *string `path:"address" module:"openconfig-system"` ΛAddress []ygot.Annotation `path:"@address" ygotAnnotation:"true"` AssociationType E_OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType `path:"association-type" module:"openconfig-system"` ΛAssociationType []ygot.Annotation `path:"@association-type" ygotAnnotation:"true"` Iburst *bool `path:"iburst" module:"openconfig-system"` ΛIburst []ygot.Annotation `path:"@iburst" ygotAnnotation:"true"` Port *uint16 `path:"port" module:"openconfig-system"` ΛPort []ygot.Annotation `path:"@port" ygotAnnotation:"true"` Prefer *bool `path:"prefer" module:"openconfig-system"` ΛPrefer []ygot.Annotation `path:"@prefer" ygotAnnotation:"true"` Version *uint8 `path:"version" module:"openconfig-system"` ΛVersion []ygot.Annotation `path:"@version" ygotAnnotation:"true"` }
OpenconfigSystem_System_Ntp_Servers_Server_Config represents the /openconfig-system/system/ntp/servers/server/config YANG schema element.
func (*OpenconfigSystem_System_Ntp_Servers_Server_Config) GetAddress ¶
func (t *OpenconfigSystem_System_Ntp_Servers_Server_Config) GetAddress() string
GetAddress retrieves the value of the leaf Address from the OpenconfigSystem_System_Ntp_Servers_Server_Config struct. Caution should be exercised whilst using this method since 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 (*OpenconfigSystem_System_Ntp_Servers_Server_Config) GetAssociationType ¶
func (t *OpenconfigSystem_System_Ntp_Servers_Server_Config) GetAssociationType() E_OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType
GetAssociationType retrieves the value of the leaf AssociationType from the OpenconfigSystem_System_Ntp_Servers_Server_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AssociationType is set, it can safely use t.GetAssociationType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AssociationType == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Ntp_Servers_Server_Config) GetIburst ¶
func (t *OpenconfigSystem_System_Ntp_Servers_Server_Config) GetIburst() bool
GetIburst retrieves the value of the leaf Iburst from the OpenconfigSystem_System_Ntp_Servers_Server_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Iburst is set, it can safely use t.GetIburst() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Iburst == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Ntp_Servers_Server_Config) GetPort ¶
func (t *OpenconfigSystem_System_Ntp_Servers_Server_Config) GetPort() uint16
GetPort retrieves the value of the leaf Port from the OpenconfigSystem_System_Ntp_Servers_Server_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Port is set, it can safely use t.GetPort() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Port == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Ntp_Servers_Server_Config) GetPrefer ¶
func (t *OpenconfigSystem_System_Ntp_Servers_Server_Config) GetPrefer() bool
GetPrefer retrieves the value of the leaf Prefer from the OpenconfigSystem_System_Ntp_Servers_Server_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Prefer is set, it can safely use t.GetPrefer() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Prefer == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Ntp_Servers_Server_Config) GetVersion ¶
func (t *OpenconfigSystem_System_Ntp_Servers_Server_Config) GetVersion() uint8
GetVersion retrieves the value of the leaf Version from the OpenconfigSystem_System_Ntp_Servers_Server_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Version is set, it can safely use t.GetVersion() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Version == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Ntp_Servers_Server_Config) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Ntp_Servers_Server_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Ntp_Servers_Server_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Ntp_Servers_Server_Config) Validate ¶
func (t *OpenconfigSystem_System_Ntp_Servers_Server_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Ntp_Servers_Server_Config) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Ntp_Servers_Server_Config) Λ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.
type OpenconfigSystem_System_Ntp_Servers_Server_State ¶
type OpenconfigSystem_System_Ntp_Servers_Server_State struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Address *string `path:"address" module:"openconfig-system"` ΛAddress []ygot.Annotation `path:"@address" ygotAnnotation:"true"` AssociationType E_OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType `path:"association-type" module:"openconfig-system"` ΛAssociationType []ygot.Annotation `path:"@association-type" ygotAnnotation:"true"` Iburst *bool `path:"iburst" module:"openconfig-system"` ΛIburst []ygot.Annotation `path:"@iburst" ygotAnnotation:"true"` Offset *uint64 `path:"offset" module:"openconfig-system"` ΛOffset []ygot.Annotation `path:"@offset" ygotAnnotation:"true"` PollInterval *uint32 `path:"poll-interval" module:"openconfig-system"` ΛPollInterval []ygot.Annotation `path:"@poll-interval" ygotAnnotation:"true"` Port *uint16 `path:"port" module:"openconfig-system"` ΛPort []ygot.Annotation `path:"@port" ygotAnnotation:"true"` Prefer *bool `path:"prefer" module:"openconfig-system"` ΛPrefer []ygot.Annotation `path:"@prefer" ygotAnnotation:"true"` RootDelay *uint32 `path:"root-delay" module:"openconfig-system"` ΛRootDelay []ygot.Annotation `path:"@root-delay" ygotAnnotation:"true"` RootDispersion *uint64 `path:"root-dispersion" module:"openconfig-system"` ΛRootDispersion []ygot.Annotation `path:"@root-dispersion" ygotAnnotation:"true"` Stratum *uint8 `path:"stratum" module:"openconfig-system"` ΛStratum []ygot.Annotation `path:"@stratum" ygotAnnotation:"true"` Version *uint8 `path:"version" module:"openconfig-system"` ΛVersion []ygot.Annotation `path:"@version" ygotAnnotation:"true"` }
OpenconfigSystem_System_Ntp_Servers_Server_State represents the /openconfig-system/system/ntp/servers/server/state YANG schema element.
func (*OpenconfigSystem_System_Ntp_Servers_Server_State) GetAddress ¶
func (t *OpenconfigSystem_System_Ntp_Servers_Server_State) GetAddress() string
GetAddress retrieves the value of the leaf Address from the OpenconfigSystem_System_Ntp_Servers_Server_State struct. Caution should be exercised whilst using this method since 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 (*OpenconfigSystem_System_Ntp_Servers_Server_State) GetAssociationType ¶
func (t *OpenconfigSystem_System_Ntp_Servers_Server_State) GetAssociationType() E_OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType
GetAssociationType retrieves the value of the leaf AssociationType from the OpenconfigSystem_System_Ntp_Servers_Server_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AssociationType is set, it can safely use t.GetAssociationType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AssociationType == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Ntp_Servers_Server_State) GetIburst ¶
func (t *OpenconfigSystem_System_Ntp_Servers_Server_State) GetIburst() bool
GetIburst retrieves the value of the leaf Iburst from the OpenconfigSystem_System_Ntp_Servers_Server_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Iburst is set, it can safely use t.GetIburst() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Iburst == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Ntp_Servers_Server_State) GetOffset ¶
func (t *OpenconfigSystem_System_Ntp_Servers_Server_State) GetOffset() uint64
GetOffset retrieves the value of the leaf Offset from the OpenconfigSystem_System_Ntp_Servers_Server_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Offset is set, it can safely use t.GetOffset() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Offset == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Ntp_Servers_Server_State) GetPollInterval ¶
func (t *OpenconfigSystem_System_Ntp_Servers_Server_State) GetPollInterval() uint32
GetPollInterval retrieves the value of the leaf PollInterval from the OpenconfigSystem_System_Ntp_Servers_Server_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if PollInterval is set, it can safely use t.GetPollInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.PollInterval == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Ntp_Servers_Server_State) GetPort ¶
func (t *OpenconfigSystem_System_Ntp_Servers_Server_State) GetPort() uint16
GetPort retrieves the value of the leaf Port from the OpenconfigSystem_System_Ntp_Servers_Server_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Port is set, it can safely use t.GetPort() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Port == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Ntp_Servers_Server_State) GetPrefer ¶
func (t *OpenconfigSystem_System_Ntp_Servers_Server_State) GetPrefer() bool
GetPrefer retrieves the value of the leaf Prefer from the OpenconfigSystem_System_Ntp_Servers_Server_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Prefer is set, it can safely use t.GetPrefer() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Prefer == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Ntp_Servers_Server_State) GetRootDelay ¶
func (t *OpenconfigSystem_System_Ntp_Servers_Server_State) GetRootDelay() uint32
GetRootDelay retrieves the value of the leaf RootDelay from the OpenconfigSystem_System_Ntp_Servers_Server_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if RootDelay is set, it can safely use t.GetRootDelay() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.RootDelay == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Ntp_Servers_Server_State) GetRootDispersion ¶
func (t *OpenconfigSystem_System_Ntp_Servers_Server_State) GetRootDispersion() uint64
GetRootDispersion retrieves the value of the leaf RootDispersion from the OpenconfigSystem_System_Ntp_Servers_Server_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if RootDispersion is set, it can safely use t.GetRootDispersion() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.RootDispersion == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Ntp_Servers_Server_State) GetStratum ¶
func (t *OpenconfigSystem_System_Ntp_Servers_Server_State) GetStratum() uint8
GetStratum retrieves the value of the leaf Stratum from the OpenconfigSystem_System_Ntp_Servers_Server_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Stratum is set, it can safely use t.GetStratum() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Stratum == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Ntp_Servers_Server_State) GetVersion ¶
func (t *OpenconfigSystem_System_Ntp_Servers_Server_State) GetVersion() uint8
GetVersion retrieves the value of the leaf Version from the OpenconfigSystem_System_Ntp_Servers_Server_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Version is set, it can safely use t.GetVersion() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Version == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Ntp_Servers_Server_State) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Ntp_Servers_Server_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Ntp_Servers_Server_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Ntp_Servers_Server_State) Validate ¶
func (t *OpenconfigSystem_System_Ntp_Servers_Server_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Ntp_Servers_Server_State) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Ntp_Servers_Server_State) Λ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.
type OpenconfigSystem_System_Ntp_State ¶
type OpenconfigSystem_System_Ntp_State struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` AuthMismatch *uint64 `path:"auth-mismatch" module:"openconfig-system"` ΛAuthMismatch []ygot.Annotation `path:"@auth-mismatch" ygotAnnotation:"true"` EnableNtpAuth *bool `path:"enable-ntp-auth" module:"openconfig-system"` ΛEnableNtpAuth []ygot.Annotation `path:"@enable-ntp-auth" ygotAnnotation:"true"` Enabled *bool `path:"enabled" module:"openconfig-system"` ΛEnabled []ygot.Annotation `path:"@enabled" ygotAnnotation:"true"` NtpSourceAddress *string `path:"ntp-source-address" module:"openconfig-system"` ΛNtpSourceAddress []ygot.Annotation `path:"@ntp-source-address" ygotAnnotation:"true"` }
OpenconfigSystem_System_Ntp_State represents the /openconfig-system/system/ntp/state YANG schema element.
func (*OpenconfigSystem_System_Ntp_State) GetAuthMismatch ¶
func (t *OpenconfigSystem_System_Ntp_State) GetAuthMismatch() uint64
GetAuthMismatch retrieves the value of the leaf AuthMismatch from the OpenconfigSystem_System_Ntp_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AuthMismatch is set, it can safely use t.GetAuthMismatch() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AuthMismatch == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Ntp_State) GetEnableNtpAuth ¶
func (t *OpenconfigSystem_System_Ntp_State) GetEnableNtpAuth() bool
GetEnableNtpAuth retrieves the value of the leaf EnableNtpAuth from the OpenconfigSystem_System_Ntp_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if EnableNtpAuth is set, it can safely use t.GetEnableNtpAuth() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.EnableNtpAuth == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Ntp_State) GetEnabled ¶
func (t *OpenconfigSystem_System_Ntp_State) GetEnabled() bool
GetEnabled retrieves the value of the leaf Enabled from the OpenconfigSystem_System_Ntp_State struct. Caution should be exercised whilst using this method since 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 (*OpenconfigSystem_System_Ntp_State) GetNtpSourceAddress ¶
func (t *OpenconfigSystem_System_Ntp_State) GetNtpSourceAddress() string
GetNtpSourceAddress retrieves the value of the leaf NtpSourceAddress from the OpenconfigSystem_System_Ntp_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if NtpSourceAddress is set, it can safely use t.GetNtpSourceAddress() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.NtpSourceAddress == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Ntp_State) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Ntp_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Ntp_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Ntp_State) Validate ¶
func (t *OpenconfigSystem_System_Ntp_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Ntp_State) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Ntp_State) Λ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.
type OpenconfigSystem_System_Processes ¶
type OpenconfigSystem_System_Processes struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Process map[uint64]*OpenconfigSystem_System_Processes_Process `path:"process" module:"openconfig-system"` ΛProcess []ygot.Annotation `path:"@process" ygotAnnotation:"true"` }
OpenconfigSystem_System_Processes represents the /openconfig-system/system/processes YANG schema element.
func (*OpenconfigSystem_System_Processes) AppendProcess ¶
func (t *OpenconfigSystem_System_Processes) AppendProcess(v *OpenconfigSystem_System_Processes_Process) error
AppendProcess appends the supplied OpenconfigSystem_System_Processes_Process struct to the list Process of OpenconfigSystem_System_Processes. If the key value(s) specified in the supplied OpenconfigSystem_System_Processes_Process already exist in the list, an error is returned.
func (*OpenconfigSystem_System_Processes) GetOrCreateProcess ¶
func (t *OpenconfigSystem_System_Processes) GetOrCreateProcess(Pid uint64) *OpenconfigSystem_System_Processes_Process
GetOrCreateProcess retrieves the value with the specified keys from the receiver OpenconfigSystem_System_Processes. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*OpenconfigSystem_System_Processes) GetProcess ¶
func (t *OpenconfigSystem_System_Processes) GetProcess(Pid uint64) *OpenconfigSystem_System_Processes_Process
GetProcess retrieves the value with the specified key from the Process map field of OpenconfigSystem_System_Processes. 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 (*OpenconfigSystem_System_Processes) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Processes) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Processes implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Processes) NewProcess ¶
func (t *OpenconfigSystem_System_Processes) NewProcess(Pid uint64) (*OpenconfigSystem_System_Processes_Process, error)
NewProcess creates a new entry in the Process list of the OpenconfigSystem_System_Processes struct. The keys of the list are populated from the input arguments.
func (*OpenconfigSystem_System_Processes) RenameProcess ¶
func (t *OpenconfigSystem_System_Processes) RenameProcess(oldK, newK uint64) error
RenameProcess renames an entry in the list Process within the OpenconfigSystem_System_Processes struct. The entry with key oldK is renamed to newK updating the key within the value.
func (*OpenconfigSystem_System_Processes) Validate ¶
func (t *OpenconfigSystem_System_Processes) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Processes) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Processes) Λ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.
type OpenconfigSystem_System_Processes_Process ¶
type OpenconfigSystem_System_Processes_Process struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Pid *uint64 `path:"pid" module:"openconfig-system"` ΛPid []ygot.Annotation `path:"@pid" ygotAnnotation:"true"` State *OpenconfigSystem_System_Processes_Process_State `path:"state" module:"openconfig-system"` ΛState []ygot.Annotation `path:"@state" ygotAnnotation:"true"` }
OpenconfigSystem_System_Processes_Process represents the /openconfig-system/system/processes/process YANG schema element.
func (*OpenconfigSystem_System_Processes_Process) GetOrCreateState ¶
func (t *OpenconfigSystem_System_Processes_Process) GetOrCreateState() *OpenconfigSystem_System_Processes_Process_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_Processes_Process) GetPid ¶
func (t *OpenconfigSystem_System_Processes_Process) GetPid() uint64
GetPid retrieves the value of the leaf Pid from the OpenconfigSystem_System_Processes_Process struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Pid is set, it can safely use t.GetPid() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Pid == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Processes_Process) GetState ¶
func (t *OpenconfigSystem_System_Processes_Process) GetState() *OpenconfigSystem_System_Processes_Process_State
GetState returns the value of the State struct pointer from OpenconfigSystem_System_Processes_Process. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_Processes_Process) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Processes_Process) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Processes_Process implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Processes_Process) Validate ¶
func (t *OpenconfigSystem_System_Processes_Process) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Processes_Process) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Processes_Process) Λ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 (*OpenconfigSystem_System_Processes_Process) ΛListKeyMap ¶
func (t *OpenconfigSystem_System_Processes_Process) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the OpenconfigSystem_System_Processes_Process struct, which is a YANG list entry.
type OpenconfigSystem_System_Processes_Process_State ¶
type OpenconfigSystem_System_Processes_Process_State struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Args []string `path:"args" module:"openconfig-system"` ΛArgs []ygot.Annotation `path:"@args" ygotAnnotation:"true"` CpuUsageSystem *uint64 `path:"cpu-usage-system" module:"openconfig-system"` ΛCpuUsageSystem []ygot.Annotation `path:"@cpu-usage-system" ygotAnnotation:"true"` CpuUsageUser *uint64 `path:"cpu-usage-user" module:"openconfig-system"` ΛCpuUsageUser []ygot.Annotation `path:"@cpu-usage-user" ygotAnnotation:"true"` CpuUtilization *uint8 `path:"cpu-utilization" module:"openconfig-system"` ΛCpuUtilization []ygot.Annotation `path:"@cpu-utilization" ygotAnnotation:"true"` MemoryUsage *uint64 `path:"memory-usage" module:"openconfig-system"` ΛMemoryUsage []ygot.Annotation `path:"@memory-usage" ygotAnnotation:"true"` MemoryUtilization *uint8 `path:"memory-utilization" module:"openconfig-system"` ΛMemoryUtilization []ygot.Annotation `path:"@memory-utilization" ygotAnnotation:"true"` Name *string `path:"name" module:"openconfig-system"` ΛName []ygot.Annotation `path:"@name" ygotAnnotation:"true"` Pid *uint64 `path:"pid" module:"openconfig-system"` ΛPid []ygot.Annotation `path:"@pid" ygotAnnotation:"true"` StartTime *uint64 `path:"start-time" module:"openconfig-system"` ΛStartTime []ygot.Annotation `path:"@start-time" ygotAnnotation:"true"` Uptime *uint64 `path:"uptime" module:"openconfig-system"` ΛUptime []ygot.Annotation `path:"@uptime" ygotAnnotation:"true"` }
OpenconfigSystem_System_Processes_Process_State represents the /openconfig-system/system/processes/process/state YANG schema element.
func (*OpenconfigSystem_System_Processes_Process_State) GetArgs ¶
func (t *OpenconfigSystem_System_Processes_Process_State) GetArgs() []string
GetArgs retrieves the value of the leaf Args from the OpenconfigSystem_System_Processes_Process_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Args is set, it can safely use t.GetArgs() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Args == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Processes_Process_State) GetCpuUsageSystem ¶
func (t *OpenconfigSystem_System_Processes_Process_State) GetCpuUsageSystem() uint64
GetCpuUsageSystem retrieves the value of the leaf CpuUsageSystem from the OpenconfigSystem_System_Processes_Process_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if CpuUsageSystem is set, it can safely use t.GetCpuUsageSystem() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.CpuUsageSystem == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Processes_Process_State) GetCpuUsageUser ¶
func (t *OpenconfigSystem_System_Processes_Process_State) GetCpuUsageUser() uint64
GetCpuUsageUser retrieves the value of the leaf CpuUsageUser from the OpenconfigSystem_System_Processes_Process_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if CpuUsageUser is set, it can safely use t.GetCpuUsageUser() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.CpuUsageUser == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Processes_Process_State) GetCpuUtilization ¶
func (t *OpenconfigSystem_System_Processes_Process_State) GetCpuUtilization() uint8
GetCpuUtilization retrieves the value of the leaf CpuUtilization from the OpenconfigSystem_System_Processes_Process_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if CpuUtilization is set, it can safely use t.GetCpuUtilization() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.CpuUtilization == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Processes_Process_State) GetMemoryUsage ¶
func (t *OpenconfigSystem_System_Processes_Process_State) GetMemoryUsage() uint64
GetMemoryUsage retrieves the value of the leaf MemoryUsage from the OpenconfigSystem_System_Processes_Process_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MemoryUsage is set, it can safely use t.GetMemoryUsage() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MemoryUsage == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Processes_Process_State) GetMemoryUtilization ¶
func (t *OpenconfigSystem_System_Processes_Process_State) GetMemoryUtilization() uint8
GetMemoryUtilization retrieves the value of the leaf MemoryUtilization from the OpenconfigSystem_System_Processes_Process_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MemoryUtilization is set, it can safely use t.GetMemoryUtilization() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MemoryUtilization == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Processes_Process_State) GetName ¶
func (t *OpenconfigSystem_System_Processes_Process_State) GetName() string
GetName retrieves the value of the leaf Name from the OpenconfigSystem_System_Processes_Process_State struct. Caution should be exercised whilst using this method since 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 (*OpenconfigSystem_System_Processes_Process_State) GetPid ¶
func (t *OpenconfigSystem_System_Processes_Process_State) GetPid() uint64
GetPid retrieves the value of the leaf Pid from the OpenconfigSystem_System_Processes_Process_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Pid is set, it can safely use t.GetPid() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Pid == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Processes_Process_State) GetStartTime ¶
func (t *OpenconfigSystem_System_Processes_Process_State) GetStartTime() uint64
GetStartTime retrieves the value of the leaf StartTime from the OpenconfigSystem_System_Processes_Process_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if StartTime is set, it can safely use t.GetStartTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.StartTime == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_Processes_Process_State) GetUptime ¶
func (t *OpenconfigSystem_System_Processes_Process_State) GetUptime() uint64
GetUptime retrieves the value of the leaf Uptime from the OpenconfigSystem_System_Processes_Process_State struct. Caution should be exercised whilst using this method since 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 (*OpenconfigSystem_System_Processes_Process_State) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_Processes_Process_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_Processes_Process_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_Processes_Process_State) Validate ¶
func (t *OpenconfigSystem_System_Processes_Process_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_Processes_Process_State) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_Processes_Process_State) Λ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.
type OpenconfigSystem_System_SshServer ¶
type OpenconfigSystem_System_SshServer struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Config *OpenconfigSystem_System_SshServer_Config `path:"config" module:"openconfig-system"` ΛConfig []ygot.Annotation `path:"@config" ygotAnnotation:"true"` State *OpenconfigSystem_System_SshServer_State `path:"state" module:"openconfig-system"` ΛState []ygot.Annotation `path:"@state" ygotAnnotation:"true"` }
OpenconfigSystem_System_SshServer represents the /openconfig-system/system/ssh-server YANG schema element.
func (*OpenconfigSystem_System_SshServer) GetConfig ¶
func (t *OpenconfigSystem_System_SshServer) GetConfig() *OpenconfigSystem_System_SshServer_Config
GetConfig returns the value of the Config struct pointer from OpenconfigSystem_System_SshServer. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_SshServer) GetOrCreateConfig ¶
func (t *OpenconfigSystem_System_SshServer) GetOrCreateConfig() *OpenconfigSystem_System_SshServer_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_SshServer) GetOrCreateState ¶
func (t *OpenconfigSystem_System_SshServer) GetOrCreateState() *OpenconfigSystem_System_SshServer_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_SshServer) GetState ¶
func (t *OpenconfigSystem_System_SshServer) GetState() *OpenconfigSystem_System_SshServer_State
GetState returns the value of the State struct pointer from OpenconfigSystem_System_SshServer. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_SshServer) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_SshServer) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_SshServer implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_SshServer) Validate ¶
func (t *OpenconfigSystem_System_SshServer) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_SshServer) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_SshServer) Λ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.
type OpenconfigSystem_System_SshServer_Config ¶
type OpenconfigSystem_System_SshServer_Config struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Enable *bool `path:"enable" module:"openconfig-system"` ΛEnable []ygot.Annotation `path:"@enable" ygotAnnotation:"true"` ProtocolVersion E_OpenconfigSystem_System_SshServer_Config_ProtocolVersion `path:"protocol-version" module:"openconfig-system"` ΛProtocolVersion []ygot.Annotation `path:"@protocol-version" ygotAnnotation:"true"` RateLimit *uint16 `path:"rate-limit" module:"openconfig-system"` ΛRateLimit []ygot.Annotation `path:"@rate-limit" ygotAnnotation:"true"` SessionLimit *uint16 `path:"session-limit" module:"openconfig-system"` ΛSessionLimit []ygot.Annotation `path:"@session-limit" ygotAnnotation:"true"` Timeout *uint16 `path:"timeout" module:"openconfig-system"` ΛTimeout []ygot.Annotation `path:"@timeout" ygotAnnotation:"true"` }
OpenconfigSystem_System_SshServer_Config represents the /openconfig-system/system/ssh-server/config YANG schema element.
func (*OpenconfigSystem_System_SshServer_Config) GetEnable ¶
func (t *OpenconfigSystem_System_SshServer_Config) GetEnable() bool
GetEnable retrieves the value of the leaf Enable from the OpenconfigSystem_System_SshServer_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Enable is set, it can safely use t.GetEnable() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Enable == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_SshServer_Config) GetProtocolVersion ¶
func (t *OpenconfigSystem_System_SshServer_Config) GetProtocolVersion() E_OpenconfigSystem_System_SshServer_Config_ProtocolVersion
GetProtocolVersion retrieves the value of the leaf ProtocolVersion from the OpenconfigSystem_System_SshServer_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ProtocolVersion is set, it can safely use t.GetProtocolVersion() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ProtocolVersion == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_SshServer_Config) GetRateLimit ¶
func (t *OpenconfigSystem_System_SshServer_Config) GetRateLimit() uint16
GetRateLimit retrieves the value of the leaf RateLimit from the OpenconfigSystem_System_SshServer_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if RateLimit is set, it can safely use t.GetRateLimit() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.RateLimit == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_SshServer_Config) GetSessionLimit ¶
func (t *OpenconfigSystem_System_SshServer_Config) GetSessionLimit() uint16
GetSessionLimit retrieves the value of the leaf SessionLimit from the OpenconfigSystem_System_SshServer_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SessionLimit is set, it can safely use t.GetSessionLimit() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SessionLimit == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_SshServer_Config) GetTimeout ¶
func (t *OpenconfigSystem_System_SshServer_Config) GetTimeout() uint16
GetTimeout retrieves the value of the leaf Timeout from the OpenconfigSystem_System_SshServer_Config struct. Caution should be exercised whilst using this method since 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 (*OpenconfigSystem_System_SshServer_Config) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_SshServer_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_SshServer_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_SshServer_Config) Validate ¶
func (t *OpenconfigSystem_System_SshServer_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_SshServer_Config) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_SshServer_Config) Λ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.
type OpenconfigSystem_System_SshServer_State ¶
type OpenconfigSystem_System_SshServer_State struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Enable *bool `path:"enable" module:"openconfig-system"` ΛEnable []ygot.Annotation `path:"@enable" ygotAnnotation:"true"` ProtocolVersion E_OpenconfigSystem_System_SshServer_Config_ProtocolVersion `path:"protocol-version" module:"openconfig-system"` ΛProtocolVersion []ygot.Annotation `path:"@protocol-version" ygotAnnotation:"true"` RateLimit *uint16 `path:"rate-limit" module:"openconfig-system"` ΛRateLimit []ygot.Annotation `path:"@rate-limit" ygotAnnotation:"true"` SessionLimit *uint16 `path:"session-limit" module:"openconfig-system"` ΛSessionLimit []ygot.Annotation `path:"@session-limit" ygotAnnotation:"true"` Timeout *uint16 `path:"timeout" module:"openconfig-system"` ΛTimeout []ygot.Annotation `path:"@timeout" ygotAnnotation:"true"` }
OpenconfigSystem_System_SshServer_State represents the /openconfig-system/system/ssh-server/state YANG schema element.
func (*OpenconfigSystem_System_SshServer_State) GetEnable ¶
func (t *OpenconfigSystem_System_SshServer_State) GetEnable() bool
GetEnable retrieves the value of the leaf Enable from the OpenconfigSystem_System_SshServer_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Enable is set, it can safely use t.GetEnable() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Enable == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_SshServer_State) GetProtocolVersion ¶
func (t *OpenconfigSystem_System_SshServer_State) GetProtocolVersion() E_OpenconfigSystem_System_SshServer_Config_ProtocolVersion
GetProtocolVersion retrieves the value of the leaf ProtocolVersion from the OpenconfigSystem_System_SshServer_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ProtocolVersion is set, it can safely use t.GetProtocolVersion() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ProtocolVersion == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_SshServer_State) GetRateLimit ¶
func (t *OpenconfigSystem_System_SshServer_State) GetRateLimit() uint16
GetRateLimit retrieves the value of the leaf RateLimit from the OpenconfigSystem_System_SshServer_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if RateLimit is set, it can safely use t.GetRateLimit() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.RateLimit == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_SshServer_State) GetSessionLimit ¶
func (t *OpenconfigSystem_System_SshServer_State) GetSessionLimit() uint16
GetSessionLimit retrieves the value of the leaf SessionLimit from the OpenconfigSystem_System_SshServer_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SessionLimit is set, it can safely use t.GetSessionLimit() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SessionLimit == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_SshServer_State) GetTimeout ¶
func (t *OpenconfigSystem_System_SshServer_State) GetTimeout() uint16
GetTimeout retrieves the value of the leaf Timeout from the OpenconfigSystem_System_SshServer_State struct. Caution should be exercised whilst using this method since 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 (*OpenconfigSystem_System_SshServer_State) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_SshServer_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_SshServer_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_SshServer_State) Validate ¶
func (t *OpenconfigSystem_System_SshServer_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_SshServer_State) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_SshServer_State) Λ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.
type OpenconfigSystem_System_State ¶
type OpenconfigSystem_System_State struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` BootTime *uint64 `path:"boot-time" module:"openconfig-system"` ΛBootTime []ygot.Annotation `path:"@boot-time" ygotAnnotation:"true"` CurrentDatetime *string `path:"current-datetime" module:"openconfig-system"` ΛCurrentDatetime []ygot.Annotation `path:"@current-datetime" ygotAnnotation:"true"` DomainName *string `path:"domain-name" module:"openconfig-system"` ΛDomainName []ygot.Annotation `path:"@domain-name" ygotAnnotation:"true"` Hostname *string `path:"hostname" module:"openconfig-system"` ΛHostname []ygot.Annotation `path:"@hostname" ygotAnnotation:"true"` LoginBanner *string `path:"login-banner" module:"openconfig-system"` ΛLoginBanner []ygot.Annotation `path:"@login-banner" ygotAnnotation:"true"` MotdBanner *string `path:"motd-banner" module:"openconfig-system"` ΛMotdBanner []ygot.Annotation `path:"@motd-banner" ygotAnnotation:"true"` }
OpenconfigSystem_System_State represents the /openconfig-system/system/state YANG schema element.
func (*OpenconfigSystem_System_State) GetBootTime ¶
func (t *OpenconfigSystem_System_State) GetBootTime() uint64
GetBootTime retrieves the value of the leaf BootTime from the OpenconfigSystem_System_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if BootTime is set, it can safely use t.GetBootTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.BootTime == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_State) GetCurrentDatetime ¶
func (t *OpenconfigSystem_System_State) GetCurrentDatetime() string
GetCurrentDatetime retrieves the value of the leaf CurrentDatetime from the OpenconfigSystem_System_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if CurrentDatetime is set, it can safely use t.GetCurrentDatetime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.CurrentDatetime == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_State) GetDomainName ¶
func (t *OpenconfigSystem_System_State) GetDomainName() string
GetDomainName retrieves the value of the leaf DomainName from the OpenconfigSystem_System_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if DomainName is set, it can safely use t.GetDomainName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.DomainName == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_State) GetHostname ¶
func (t *OpenconfigSystem_System_State) GetHostname() string
GetHostname retrieves the value of the leaf Hostname from the OpenconfigSystem_System_State struct. Caution should be exercised whilst using this method since 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 (*OpenconfigSystem_System_State) GetLoginBanner ¶
func (t *OpenconfigSystem_System_State) GetLoginBanner() string
GetLoginBanner retrieves the value of the leaf LoginBanner from the OpenconfigSystem_System_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LoginBanner is set, it can safely use t.GetLoginBanner() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LoginBanner == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_State) GetMotdBanner ¶
func (t *OpenconfigSystem_System_State) GetMotdBanner() string
GetMotdBanner retrieves the value of the leaf MotdBanner from the OpenconfigSystem_System_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MotdBanner is set, it can safely use t.GetMotdBanner() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MotdBanner == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_State) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_State) Validate ¶
func (t *OpenconfigSystem_System_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_State) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_State) Λ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.
type OpenconfigSystem_System_TelnetServer ¶
type OpenconfigSystem_System_TelnetServer struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Config *OpenconfigSystem_System_TelnetServer_Config `path:"config" module:"openconfig-system"` ΛConfig []ygot.Annotation `path:"@config" ygotAnnotation:"true"` State *OpenconfigSystem_System_TelnetServer_State `path:"state" module:"openconfig-system"` ΛState []ygot.Annotation `path:"@state" ygotAnnotation:"true"` }
OpenconfigSystem_System_TelnetServer represents the /openconfig-system/system/telnet-server YANG schema element.
func (*OpenconfigSystem_System_TelnetServer) GetConfig ¶
func (t *OpenconfigSystem_System_TelnetServer) GetConfig() *OpenconfigSystem_System_TelnetServer_Config
GetConfig returns the value of the Config struct pointer from OpenconfigSystem_System_TelnetServer. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_TelnetServer) GetOrCreateConfig ¶
func (t *OpenconfigSystem_System_TelnetServer) GetOrCreateConfig() *OpenconfigSystem_System_TelnetServer_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_TelnetServer) GetOrCreateState ¶
func (t *OpenconfigSystem_System_TelnetServer) GetOrCreateState() *OpenconfigSystem_System_TelnetServer_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigSystem_System_TelnetServer) GetState ¶
func (t *OpenconfigSystem_System_TelnetServer) GetState() *OpenconfigSystem_System_TelnetServer_State
GetState returns the value of the State struct pointer from OpenconfigSystem_System_TelnetServer. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSystem_System_TelnetServer) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_TelnetServer) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_TelnetServer implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_TelnetServer) Validate ¶
func (t *OpenconfigSystem_System_TelnetServer) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_TelnetServer) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_TelnetServer) Λ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.
type OpenconfigSystem_System_TelnetServer_Config ¶
type OpenconfigSystem_System_TelnetServer_Config struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Enable *bool `path:"enable" module:"openconfig-system"` ΛEnable []ygot.Annotation `path:"@enable" ygotAnnotation:"true"` RateLimit *uint16 `path:"rate-limit" module:"openconfig-system"` ΛRateLimit []ygot.Annotation `path:"@rate-limit" ygotAnnotation:"true"` SessionLimit *uint16 `path:"session-limit" module:"openconfig-system"` ΛSessionLimit []ygot.Annotation `path:"@session-limit" ygotAnnotation:"true"` Timeout *uint16 `path:"timeout" module:"openconfig-system"` ΛTimeout []ygot.Annotation `path:"@timeout" ygotAnnotation:"true"` }
OpenconfigSystem_System_TelnetServer_Config represents the /openconfig-system/system/telnet-server/config YANG schema element.
func (*OpenconfigSystem_System_TelnetServer_Config) GetEnable ¶
func (t *OpenconfigSystem_System_TelnetServer_Config) GetEnable() bool
GetEnable retrieves the value of the leaf Enable from the OpenconfigSystem_System_TelnetServer_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Enable is set, it can safely use t.GetEnable() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Enable == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_TelnetServer_Config) GetRateLimit ¶
func (t *OpenconfigSystem_System_TelnetServer_Config) GetRateLimit() uint16
GetRateLimit retrieves the value of the leaf RateLimit from the OpenconfigSystem_System_TelnetServer_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if RateLimit is set, it can safely use t.GetRateLimit() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.RateLimit == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_TelnetServer_Config) GetSessionLimit ¶
func (t *OpenconfigSystem_System_TelnetServer_Config) GetSessionLimit() uint16
GetSessionLimit retrieves the value of the leaf SessionLimit from the OpenconfigSystem_System_TelnetServer_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SessionLimit is set, it can safely use t.GetSessionLimit() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SessionLimit == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_TelnetServer_Config) GetTimeout ¶
func (t *OpenconfigSystem_System_TelnetServer_Config) GetTimeout() uint16
GetTimeout retrieves the value of the leaf Timeout from the OpenconfigSystem_System_TelnetServer_Config struct. Caution should be exercised whilst using this method since 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 (*OpenconfigSystem_System_TelnetServer_Config) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_TelnetServer_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_TelnetServer_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_TelnetServer_Config) Validate ¶
func (t *OpenconfigSystem_System_TelnetServer_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_TelnetServer_Config) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_TelnetServer_Config) Λ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.
type OpenconfigSystem_System_TelnetServer_State ¶
type OpenconfigSystem_System_TelnetServer_State struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Enable *bool `path:"enable" module:"openconfig-system"` ΛEnable []ygot.Annotation `path:"@enable" ygotAnnotation:"true"` RateLimit *uint16 `path:"rate-limit" module:"openconfig-system"` ΛRateLimit []ygot.Annotation `path:"@rate-limit" ygotAnnotation:"true"` SessionLimit *uint16 `path:"session-limit" module:"openconfig-system"` ΛSessionLimit []ygot.Annotation `path:"@session-limit" ygotAnnotation:"true"` Timeout *uint16 `path:"timeout" module:"openconfig-system"` ΛTimeout []ygot.Annotation `path:"@timeout" ygotAnnotation:"true"` }
OpenconfigSystem_System_TelnetServer_State represents the /openconfig-system/system/telnet-server/state YANG schema element.
func (*OpenconfigSystem_System_TelnetServer_State) GetEnable ¶
func (t *OpenconfigSystem_System_TelnetServer_State) GetEnable() bool
GetEnable retrieves the value of the leaf Enable from the OpenconfigSystem_System_TelnetServer_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Enable is set, it can safely use t.GetEnable() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Enable == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_TelnetServer_State) GetRateLimit ¶
func (t *OpenconfigSystem_System_TelnetServer_State) GetRateLimit() uint16
GetRateLimit retrieves the value of the leaf RateLimit from the OpenconfigSystem_System_TelnetServer_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if RateLimit is set, it can safely use t.GetRateLimit() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.RateLimit == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_TelnetServer_State) GetSessionLimit ¶
func (t *OpenconfigSystem_System_TelnetServer_State) GetSessionLimit() uint16
GetSessionLimit retrieves the value of the leaf SessionLimit from the OpenconfigSystem_System_TelnetServer_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SessionLimit is set, it can safely use t.GetSessionLimit() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SessionLimit == nil' before retrieving the leaf's value.
func (*OpenconfigSystem_System_TelnetServer_State) GetTimeout ¶
func (t *OpenconfigSystem_System_TelnetServer_State) GetTimeout() uint16
GetTimeout retrieves the value of the leaf Timeout from the OpenconfigSystem_System_TelnetServer_State struct. Caution should be exercised whilst using this method since 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 (*OpenconfigSystem_System_TelnetServer_State) IsYANGGoStruct ¶
func (*OpenconfigSystem_System_TelnetServer_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSystem_System_TelnetServer_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSystem_System_TelnetServer_State) Validate ¶
func (t *OpenconfigSystem_System_TelnetServer_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSystem_System_TelnetServer_State) ΛEnumTypeMap ¶
func (t *OpenconfigSystem_System_TelnetServer_State) Λ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.
type OpenconfigTerminalDevice_TerminalDevice ¶
type OpenconfigTerminalDevice_TerminalDevice struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Config *OpenconfigTerminalDevice_TerminalDevice_Config `path:"config" module:"openconfig-terminal-device"` ΛConfig []ygot.Annotation `path:"@config" ygotAnnotation:"true"` LogicalChannels *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels `path:"logical-channels" module:"openconfig-terminal-device"` ΛLogicalChannels []ygot.Annotation `path:"@logical-channels" ygotAnnotation:"true"` OperationalModes *OpenconfigTerminalDevice_TerminalDevice_OperationalModes `path:"operational-modes" module:"openconfig-terminal-device"` ΛOperationalModes []ygot.Annotation `path:"@operational-modes" ygotAnnotation:"true"` State *OpenconfigTerminalDevice_TerminalDevice_State `path:"state" module:"openconfig-terminal-device"` ΛState []ygot.Annotation `path:"@state" ygotAnnotation:"true"` }
OpenconfigTerminalDevice_TerminalDevice represents the /openconfig-terminal-device/terminal-device YANG schema element.
func (*OpenconfigTerminalDevice_TerminalDevice) GetConfig ¶
func (t *OpenconfigTerminalDevice_TerminalDevice) GetConfig() *OpenconfigTerminalDevice_TerminalDevice_Config
GetConfig returns the value of the Config struct pointer from OpenconfigTerminalDevice_TerminalDevice. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigTerminalDevice_TerminalDevice) GetLogicalChannels ¶
func (t *OpenconfigTerminalDevice_TerminalDevice) GetLogicalChannels() *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels
GetLogicalChannels returns the value of the LogicalChannels struct pointer from OpenconfigTerminalDevice_TerminalDevice. If the receiver or the field LogicalChannels is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigTerminalDevice_TerminalDevice) GetOperationalModes ¶
func (t *OpenconfigTerminalDevice_TerminalDevice) GetOperationalModes() *OpenconfigTerminalDevice_TerminalDevice_OperationalModes
GetOperationalModes returns the value of the OperationalModes struct pointer from OpenconfigTerminalDevice_TerminalDevice. If the receiver or the field OperationalModes is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigTerminalDevice_TerminalDevice) GetOrCreateConfig ¶
func (t *OpenconfigTerminalDevice_TerminalDevice) GetOrCreateConfig() *OpenconfigTerminalDevice_TerminalDevice_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigTerminalDevice_TerminalDevice) GetOrCreateLogicalChannels ¶
func (t *OpenconfigTerminalDevice_TerminalDevice) GetOrCreateLogicalChannels() *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels
GetOrCreateLogicalChannels retrieves the value of the LogicalChannels field or returns the existing field if it already exists.
func (*OpenconfigTerminalDevice_TerminalDevice) GetOrCreateOperationalModes ¶
func (t *OpenconfigTerminalDevice_TerminalDevice) GetOrCreateOperationalModes() *OpenconfigTerminalDevice_TerminalDevice_OperationalModes
GetOrCreateOperationalModes retrieves the value of the OperationalModes field or returns the existing field if it already exists.
func (*OpenconfigTerminalDevice_TerminalDevice) GetOrCreateState ¶
func (t *OpenconfigTerminalDevice_TerminalDevice) GetOrCreateState() *OpenconfigTerminalDevice_TerminalDevice_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigTerminalDevice_TerminalDevice) GetState ¶
func (t *OpenconfigTerminalDevice_TerminalDevice) GetState() *OpenconfigTerminalDevice_TerminalDevice_State
GetState returns the value of the State struct pointer from OpenconfigTerminalDevice_TerminalDevice. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigTerminalDevice_TerminalDevice) IsYANGGoStruct ¶
func (*OpenconfigTerminalDevice_TerminalDevice) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigTerminalDevice_TerminalDevice implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigTerminalDevice_TerminalDevice) Validate ¶
func (t *OpenconfigTerminalDevice_TerminalDevice) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigTerminalDevice_TerminalDevice) ΛEnumTypeMap ¶
func (t *OpenconfigTerminalDevice_TerminalDevice) Λ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.
type OpenconfigTerminalDevice_TerminalDevice_Config ¶
type OpenconfigTerminalDevice_TerminalDevice_Config struct {
ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
}
OpenconfigTerminalDevice_TerminalDevice_Config represents the /openconfig-terminal-device/terminal-device/config YANG schema element.
func (*OpenconfigTerminalDevice_TerminalDevice_Config) IsYANGGoStruct ¶
func (*OpenconfigTerminalDevice_TerminalDevice_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigTerminalDevice_TerminalDevice_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigTerminalDevice_TerminalDevice_Config) Validate ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigTerminalDevice_TerminalDevice_Config) ΛEnumTypeMap ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_Config) Λ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.
type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels ¶
type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Channel map[uint32]*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel `path:"channel" module:"openconfig-terminal-device"` ΛChannel []ygot.Annotation `path:"@channel" ygotAnnotation:"true"` }
OpenconfigTerminalDevice_TerminalDevice_LogicalChannels represents the /openconfig-terminal-device/terminal-device/logical-channels YANG schema element.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels) AppendChannel ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels) AppendChannel(v *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) error
AppendChannel appends the supplied OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel struct to the list Channel of OpenconfigTerminalDevice_TerminalDevice_LogicalChannels. If the key value(s) specified in the supplied OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel already exist in the list, an error is returned.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels) GetChannel ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels) GetChannel(Index uint32) *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel
GetChannel retrieves the value with the specified key from the Channel map field of OpenconfigTerminalDevice_TerminalDevice_LogicalChannels. 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 (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels) GetOrCreateChannel ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels) GetOrCreateChannel(Index uint32) *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel
GetOrCreateChannel retrieves the value with the specified keys from the receiver OpenconfigTerminalDevice_TerminalDevice_LogicalChannels. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels) IsYANGGoStruct ¶
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigTerminalDevice_TerminalDevice_LogicalChannels implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels) NewChannel ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels) NewChannel(Index uint32) (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel, error)
NewChannel creates a new entry in the Channel list of the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels struct. The keys of the list are populated from the input arguments.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels) RenameChannel ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels) RenameChannel(oldK, newK uint32) error
RenameChannel renames an entry in the list Channel within the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels struct. The entry with key oldK is renamed to newK updating the key within the value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels) Validate ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels) ΛEnumTypeMap ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels) Λ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.
type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel ¶
type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Config *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config `path:"config" module:"openconfig-terminal-device"` ΛConfig []ygot.Annotation `path:"@config" ygotAnnotation:"true"` Ethernet *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet `path:"ethernet" module:"openconfig-terminal-device"` ΛEthernet []ygot.Annotation `path:"@ethernet" ygotAnnotation:"true"` Index *uint32 `path:"index" module:"openconfig-terminal-device"` ΛIndex []ygot.Annotation `path:"@index" ygotAnnotation:"true"` Ingress *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress `path:"ingress" module:"openconfig-terminal-device"` ΛIngress []ygot.Annotation `path:"@ingress" ygotAnnotation:"true"` LogicalChannelAssignments *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments `path:"logical-channel-assignments" module:"openconfig-terminal-device"` ΛLogicalChannelAssignments []ygot.Annotation `path:"@logical-channel-assignments" ygotAnnotation:"true"` Otn *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn `path:"otn" module:"openconfig-terminal-device"` ΛOtn []ygot.Annotation `path:"@otn" ygotAnnotation:"true"` State *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State `path:"state" module:"openconfig-terminal-device"` ΛState []ygot.Annotation `path:"@state" ygotAnnotation:"true"` }
OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel represents the /openconfig-terminal-device/terminal-device/logical-channels/channel YANG schema element.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) GetConfig ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) GetConfig() *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config
GetConfig returns the value of the Config struct pointer from OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) GetEthernet ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) GetEthernet() *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet
GetEthernet returns the value of the Ethernet struct pointer from OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel. If the receiver or the field Ethernet is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) GetIndex ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) GetIndex() uint32
GetIndex retrieves the value of the leaf Index from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel struct. Caution should be exercised whilst using this method since 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 (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) GetIngress ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) GetIngress() *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress
GetIngress returns the value of the Ingress struct pointer from OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel. If the receiver or the field Ingress is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) GetLogicalChannelAssignments ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) GetLogicalChannelAssignments() *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments
GetLogicalChannelAssignments returns the value of the LogicalChannelAssignments struct pointer from OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel. If the receiver or the field LogicalChannelAssignments is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) GetOrCreateConfig ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) GetOrCreateConfig() *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) GetOrCreateEthernet ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) GetOrCreateEthernet() *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet
GetOrCreateEthernet retrieves the value of the Ethernet field or returns the existing field if it already exists.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) GetOrCreateIngress ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) GetOrCreateIngress() *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress
GetOrCreateIngress retrieves the value of the Ingress field or returns the existing field if it already exists.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) GetOrCreateLogicalChannelAssignments ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) GetOrCreateLogicalChannelAssignments() *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments
GetOrCreateLogicalChannelAssignments retrieves the value of the LogicalChannelAssignments field or returns the existing field if it already exists.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) GetOrCreateOtn ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) GetOrCreateOtn() *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn
GetOrCreateOtn retrieves the value of the Otn field or returns the existing field if it already exists.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) GetOrCreateState ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) GetOrCreateState() *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) GetOtn ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) GetOtn() *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn
GetOtn returns the value of the Otn struct pointer from OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel. If the receiver or the field Otn is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) GetState ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) GetState() *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State
GetState returns the value of the State struct pointer from OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) IsYANGGoStruct ¶
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) Validate ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) ΛEnumTypeMap ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) Λ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 (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) ΛListKeyMap ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel struct, which is a YANG list entry.
type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config ¶
type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` AdminState E_OpenconfigTerminalDevice_AdminStateType `path:"admin-state" module:"openconfig-terminal-device"` ΛAdminState []ygot.Annotation `path:"@admin-state" ygotAnnotation:"true"` Description *string `path:"description" module:"openconfig-terminal-device"` ΛDescription []ygot.Annotation `path:"@description" ygotAnnotation:"true"` Index *uint32 `path:"index" module:"openconfig-terminal-device"` ΛIndex []ygot.Annotation `path:"@index" ygotAnnotation:"true"` LogicalChannelType E_OpenconfigTransportTypes_LOGICAL_ELEMENT_PROTOCOL_TYPE `path:"logical-channel-type" module:"openconfig-terminal-device"` ΛLogicalChannelType []ygot.Annotation `path:"@logical-channel-type" ygotAnnotation:"true"` LoopbackMode E_OpenconfigTerminalDevice_LoopbackModeType `path:"loopback-mode" module:"openconfig-terminal-device"` ΛLoopbackMode []ygot.Annotation `path:"@loopback-mode" ygotAnnotation:"true"` RateClass E_OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE `path:"rate-class" module:"openconfig-terminal-device"` ΛRateClass []ygot.Annotation `path:"@rate-class" ygotAnnotation:"true"` TestSignal *bool `path:"test-signal" module:"openconfig-terminal-device"` ΛTestSignal []ygot.Annotation `path:"@test-signal" ygotAnnotation:"true"` TribProtocol E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE `path:"trib-protocol" module:"openconfig-terminal-device"` ΛTribProtocol []ygot.Annotation `path:"@trib-protocol" ygotAnnotation:"true"` }
OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config represents the /openconfig-terminal-device/terminal-device/logical-channels/channel/config YANG schema element.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config) GetAdminState ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config) GetAdminState() E_OpenconfigTerminalDevice_AdminStateType
GetAdminState retrieves the value of the leaf AdminState from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AdminState is set, it can safely use t.GetAdminState() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AdminState == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config) GetDescription ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config) GetDescription() string
GetDescription retrieves the value of the leaf Description from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Description is set, it can safely use t.GetDescription() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Description == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config) GetIndex ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config) GetIndex() uint32
GetIndex retrieves the value of the leaf Index from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config struct. Caution should be exercised whilst using this method since 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 (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config) GetLogicalChannelType ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config) GetLogicalChannelType() E_OpenconfigTransportTypes_LOGICAL_ELEMENT_PROTOCOL_TYPE
GetLogicalChannelType retrieves the value of the leaf LogicalChannelType from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LogicalChannelType is set, it can safely use t.GetLogicalChannelType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LogicalChannelType == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config) GetLoopbackMode ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config) GetLoopbackMode() E_OpenconfigTerminalDevice_LoopbackModeType
GetLoopbackMode retrieves the value of the leaf LoopbackMode from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LoopbackMode is set, it can safely use t.GetLoopbackMode() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LoopbackMode == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config) GetRateClass ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config) GetRateClass() E_OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE
GetRateClass retrieves the value of the leaf RateClass from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if RateClass is set, it can safely use t.GetRateClass() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.RateClass == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config) GetTestSignal ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config) GetTestSignal() bool
GetTestSignal retrieves the value of the leaf TestSignal from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TestSignal is set, it can safely use t.GetTestSignal() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TestSignal == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config) GetTribProtocol ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config) GetTribProtocol() E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE
GetTribProtocol retrieves the value of the leaf TribProtocol from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TribProtocol is set, it can safely use t.GetTribProtocol() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TribProtocol == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config) IsYANGGoStruct ¶
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config) Validate ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config) ΛEnumTypeMap ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config) Λ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.
type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet ¶
type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Config *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_Config `path:"config" module:"openconfig-terminal-device"` ΛConfig []ygot.Annotation `path:"@config" ygotAnnotation:"true"` State *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State `path:"state" module:"openconfig-terminal-device"` ΛState []ygot.Annotation `path:"@state" ygotAnnotation:"true"` }
OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet represents the /openconfig-terminal-device/terminal-device/logical-channels/channel/ethernet YANG schema element.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet) GetConfig ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet) GetConfig() *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_Config
GetConfig returns the value of the Config struct pointer from OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet) GetOrCreateConfig ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet) GetOrCreateConfig() *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet) GetOrCreateState ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet) GetOrCreateState() *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet) GetState ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet) GetState() *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State
GetState returns the value of the State struct pointer from OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet) IsYANGGoStruct ¶
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet) Validate ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet) ΛEnumTypeMap ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_Config ¶
type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_Config struct {
ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
}
OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_Config represents the /openconfig-terminal-device/terminal-device/logical-channels/channel/ethernet/config YANG schema element.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_Config) IsYANGGoStruct ¶
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_Config) Validate ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_Config) ΛEnumTypeMap ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_Config) Λ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.
type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State ¶
type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` In_8021QFrames *uint64 `path:"in-8021q-frames" module:"openconfig-terminal-device"` ΛIn_8021QFrames []ygot.Annotation `path:"@in-8021q-frames" ygotAnnotation:"true"` InBlockErrors *uint64 `path:"in-block-errors" module:"openconfig-terminal-device"` ΛInBlockErrors []ygot.Annotation `path:"@in-block-errors" ygotAnnotation:"true"` InCrcErrors *uint64 `path:"in-crc-errors" module:"openconfig-terminal-device"` ΛInCrcErrors []ygot.Annotation `path:"@in-crc-errors" ygotAnnotation:"true"` InFragmentFrames *uint64 `path:"in-fragment-frames" module:"openconfig-terminal-device"` ΛInFragmentFrames []ygot.Annotation `path:"@in-fragment-frames" ygotAnnotation:"true"` InJabberFrames *uint64 `path:"in-jabber-frames" module:"openconfig-terminal-device"` ΛInJabberFrames []ygot.Annotation `path:"@in-jabber-frames" ygotAnnotation:"true"` InMacControlFrames *uint64 `path:"in-mac-control-frames" module:"openconfig-terminal-device"` ΛInMacControlFrames []ygot.Annotation `path:"@in-mac-control-frames" ygotAnnotation:"true"` InMacPauseFrames *uint64 `path:"in-mac-pause-frames" module:"openconfig-terminal-device"` ΛInMacPauseFrames []ygot.Annotation `path:"@in-mac-pause-frames" ygotAnnotation:"true"` InOversizeFrames *uint64 `path:"in-oversize-frames" module:"openconfig-terminal-device"` ΛInOversizeFrames []ygot.Annotation `path:"@in-oversize-frames" ygotAnnotation:"true"` InPcsBipErrors *uint64 `path:"in-pcs-bip-errors" module:"openconfig-terminal-device"` ΛInPcsBipErrors []ygot.Annotation `path:"@in-pcs-bip-errors" ygotAnnotation:"true"` InPcsErroredSeconds *uint64 `path:"in-pcs-errored-seconds" module:"openconfig-terminal-device"` ΛInPcsErroredSeconds []ygot.Annotation `path:"@in-pcs-errored-seconds" ygotAnnotation:"true"` InPcsSeverelyErroredSeconds *uint64 `path:"in-pcs-severely-errored-seconds" module:"openconfig-terminal-device"` ΛInPcsSeverelyErroredSeconds []ygot.Annotation `path:"@in-pcs-severely-errored-seconds" ygotAnnotation:"true"` InUndersizeFrames *uint64 `path:"in-undersize-frames" module:"openconfig-terminal-device"` ΛInUndersizeFrames []ygot.Annotation `path:"@in-undersize-frames" ygotAnnotation:"true"` Out_8021QFrames *uint64 `path:"out-8021q-frames" module:"openconfig-terminal-device"` ΛOut_8021QFrames []ygot.Annotation `path:"@out-8021q-frames" ygotAnnotation:"true"` OutBlockErrors *uint64 `path:"out-block-errors" module:"openconfig-terminal-device"` ΛOutBlockErrors []ygot.Annotation `path:"@out-block-errors" ygotAnnotation:"true"` OutCrcErrors *uint64 `path:"out-crc-errors" module:"openconfig-terminal-device"` ΛOutCrcErrors []ygot.Annotation `path:"@out-crc-errors" ygotAnnotation:"true"` OutMacControlFrames *uint64 `path:"out-mac-control-frames" module:"openconfig-terminal-device"` ΛOutMacControlFrames []ygot.Annotation `path:"@out-mac-control-frames" ygotAnnotation:"true"` OutMacPauseFrames *uint64 `path:"out-mac-pause-frames" module:"openconfig-terminal-device"` ΛOutMacPauseFrames []ygot.Annotation `path:"@out-mac-pause-frames" ygotAnnotation:"true"` OutPcsBipErrors *uint64 `path:"out-pcs-bip-errors" module:"openconfig-terminal-device"` ΛOutPcsBipErrors []ygot.Annotation `path:"@out-pcs-bip-errors" ygotAnnotation:"true"` }
OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State represents the /openconfig-terminal-device/terminal-device/logical-channels/channel/ethernet/state YANG schema element.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetInBlockErrors ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetInBlockErrors() uint64
GetInBlockErrors retrieves the value of the leaf InBlockErrors from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InBlockErrors is set, it can safely use t.GetInBlockErrors() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InBlockErrors == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetInCrcErrors ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetInCrcErrors() uint64
GetInCrcErrors retrieves the value of the leaf InCrcErrors from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InCrcErrors is set, it can safely use t.GetInCrcErrors() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InCrcErrors == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetInFragmentFrames ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetInFragmentFrames() uint64
GetInFragmentFrames retrieves the value of the leaf InFragmentFrames from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InFragmentFrames is set, it can safely use t.GetInFragmentFrames() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InFragmentFrames == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetInJabberFrames ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetInJabberFrames() uint64
GetInJabberFrames retrieves the value of the leaf InJabberFrames from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InJabberFrames is set, it can safely use t.GetInJabberFrames() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InJabberFrames == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetInMacControlFrames ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetInMacControlFrames() uint64
GetInMacControlFrames retrieves the value of the leaf InMacControlFrames from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InMacControlFrames is set, it can safely use t.GetInMacControlFrames() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InMacControlFrames == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetInMacPauseFrames ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetInMacPauseFrames() uint64
GetInMacPauseFrames retrieves the value of the leaf InMacPauseFrames from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InMacPauseFrames is set, it can safely use t.GetInMacPauseFrames() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InMacPauseFrames == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetInOversizeFrames ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetInOversizeFrames() uint64
GetInOversizeFrames retrieves the value of the leaf InOversizeFrames from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InOversizeFrames is set, it can safely use t.GetInOversizeFrames() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InOversizeFrames == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetInPcsBipErrors ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetInPcsBipErrors() uint64
GetInPcsBipErrors retrieves the value of the leaf InPcsBipErrors from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InPcsBipErrors is set, it can safely use t.GetInPcsBipErrors() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InPcsBipErrors == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetInPcsErroredSeconds ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetInPcsErroredSeconds() uint64
GetInPcsErroredSeconds retrieves the value of the leaf InPcsErroredSeconds from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InPcsErroredSeconds is set, it can safely use t.GetInPcsErroredSeconds() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InPcsErroredSeconds == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetInPcsSeverelyErroredSeconds ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetInPcsSeverelyErroredSeconds() uint64
GetInPcsSeverelyErroredSeconds retrieves the value of the leaf InPcsSeverelyErroredSeconds from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InPcsSeverelyErroredSeconds is set, it can safely use t.GetInPcsSeverelyErroredSeconds() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InPcsSeverelyErroredSeconds == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetInPcsUnavailableSeconds ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetInPcsUnavailableSeconds() uint64
GetInPcsUnavailableSeconds retrieves the value of the leaf InPcsUnavailableSeconds from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InPcsUnavailableSeconds is set, it can safely use t.GetInPcsUnavailableSeconds() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InPcsUnavailableSeconds == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetInUndersizeFrames ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetInUndersizeFrames() uint64
GetInUndersizeFrames retrieves the value of the leaf InUndersizeFrames from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InUndersizeFrames is set, it can safely use t.GetInUndersizeFrames() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InUndersizeFrames == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetIn_8021QFrames ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetIn_8021QFrames() uint64
GetIn_8021QFrames retrieves the value of the leaf In_8021QFrames from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if In_8021QFrames is set, it can safely use t.GetIn_8021QFrames() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.In_8021QFrames == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetOutBlockErrors ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetOutBlockErrors() uint64
GetOutBlockErrors retrieves the value of the leaf OutBlockErrors from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutBlockErrors is set, it can safely use t.GetOutBlockErrors() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutBlockErrors == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetOutCrcErrors ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetOutCrcErrors() uint64
GetOutCrcErrors retrieves the value of the leaf OutCrcErrors from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutCrcErrors is set, it can safely use t.GetOutCrcErrors() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutCrcErrors == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetOutMacControlFrames ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetOutMacControlFrames() uint64
GetOutMacControlFrames retrieves the value of the leaf OutMacControlFrames from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutMacControlFrames is set, it can safely use t.GetOutMacControlFrames() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutMacControlFrames == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetOutMacPauseFrames ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetOutMacPauseFrames() uint64
GetOutMacPauseFrames retrieves the value of the leaf OutMacPauseFrames from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutMacPauseFrames is set, it can safely use t.GetOutMacPauseFrames() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutMacPauseFrames == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetOutPcsBipErrors ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetOutPcsBipErrors() uint64
GetOutPcsBipErrors retrieves the value of the leaf OutPcsBipErrors from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutPcsBipErrors is set, it can safely use t.GetOutPcsBipErrors() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutPcsBipErrors == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetOut_8021QFrames ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetOut_8021QFrames() uint64
GetOut_8021QFrames retrieves the value of the leaf Out_8021QFrames from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Out_8021QFrames is set, it can safely use t.GetOut_8021QFrames() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Out_8021QFrames == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) IsYANGGoStruct ¶
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) Validate ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) ΛEnumTypeMap ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) Λ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.
type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress ¶
type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Config *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_Config `path:"config" module:"openconfig-terminal-device"` ΛConfig []ygot.Annotation `path:"@config" ygotAnnotation:"true"` State *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_State `path:"state" module:"openconfig-terminal-device"` ΛState []ygot.Annotation `path:"@state" ygotAnnotation:"true"` }
OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress represents the /openconfig-terminal-device/terminal-device/logical-channels/channel/ingress YANG schema element.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress) GetConfig ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress) GetConfig() *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_Config
GetConfig returns the value of the Config struct pointer from OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress) GetOrCreateConfig ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress) GetOrCreateConfig() *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress) GetOrCreateState ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress) GetOrCreateState() *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress) GetState ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress) GetState() *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_State
GetState returns the value of the State struct pointer from OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress) IsYANGGoStruct ¶
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress) Validate ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress) ΛEnumTypeMap ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress) Λ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.
type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_Config ¶
type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_Config struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` PhysicalChannel []uint16 `path:"physical-channel" module:"openconfig-terminal-device"` ΛPhysicalChannel []ygot.Annotation `path:"@physical-channel" ygotAnnotation:"true"` Transceiver *string `path:"transceiver" module:"openconfig-terminal-device"` ΛTransceiver []ygot.Annotation `path:"@transceiver" ygotAnnotation:"true"` }
OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_Config represents the /openconfig-terminal-device/terminal-device/logical-channels/channel/ingress/config YANG schema element.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_Config) GetPhysicalChannel ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_Config) GetPhysicalChannel() []uint16
GetPhysicalChannel retrieves the value of the leaf PhysicalChannel from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if PhysicalChannel is set, it can safely use t.GetPhysicalChannel() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.PhysicalChannel == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_Config) GetTransceiver ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_Config) GetTransceiver() string
GetTransceiver retrieves the value of the leaf Transceiver from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Transceiver is set, it can safely use t.GetTransceiver() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Transceiver == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_Config) IsYANGGoStruct ¶
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_Config) Validate ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_Config) ΛEnumTypeMap ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_Config) Λ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.
type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_State ¶
type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_State struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` PhysicalChannel []uint16 `path:"physical-channel" module:"openconfig-terminal-device"` ΛPhysicalChannel []ygot.Annotation `path:"@physical-channel" ygotAnnotation:"true"` Transceiver *string `path:"transceiver" module:"openconfig-terminal-device"` ΛTransceiver []ygot.Annotation `path:"@transceiver" ygotAnnotation:"true"` }
OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_State represents the /openconfig-terminal-device/terminal-device/logical-channels/channel/ingress/state YANG schema element.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_State) GetPhysicalChannel ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_State) GetPhysicalChannel() []uint16
GetPhysicalChannel retrieves the value of the leaf PhysicalChannel from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if PhysicalChannel is set, it can safely use t.GetPhysicalChannel() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.PhysicalChannel == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_State) GetTransceiver ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_State) GetTransceiver() string
GetTransceiver retrieves the value of the leaf Transceiver from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Transceiver is set, it can safely use t.GetTransceiver() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Transceiver == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_State) IsYANGGoStruct ¶
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_State) Validate ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_State) ΛEnumTypeMap ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_State) Λ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.
type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments ¶
type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Assignment map[uint32]*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment `path:"assignment" module:"openconfig-terminal-device"` ΛAssignment []ygot.Annotation `path:"@assignment" ygotAnnotation:"true"` }
OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments represents the /openconfig-terminal-device/terminal-device/logical-channels/channel/logical-channel-assignments YANG schema element.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments) AppendAssignment ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments) AppendAssignment(v *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment) error
AppendAssignment appends the supplied OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment struct to the list Assignment of OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments. If the key value(s) specified in the supplied OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment already exist in the list, an error is returned.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments) GetAssignment ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments) GetAssignment(Index uint32) *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment
GetAssignment retrieves the value with the specified key from the Assignment map field of OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments. 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 (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments) GetOrCreateAssignment ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments) GetOrCreateAssignment(Index uint32) *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment
GetOrCreateAssignment retrieves the value with the specified keys from the receiver OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments) IsYANGGoStruct ¶
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments) NewAssignment ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments) NewAssignment(Index uint32) (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment, error)
NewAssignment creates a new entry in the Assignment list of the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments struct. The keys of the list are populated from the input arguments.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments) RenameAssignment ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments) RenameAssignment(oldK, newK uint32) error
RenameAssignment renames an entry in the list Assignment within the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments struct. The entry with key oldK is renamed to newK updating the key within the value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments) Validate ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments) ΛEnumTypeMap ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments) Λ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.
type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment ¶
type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Config *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config `path:"config" module:"openconfig-terminal-device"` ΛConfig []ygot.Annotation `path:"@config" ygotAnnotation:"true"` Index *uint32 `path:"index" module:"openconfig-terminal-device"` ΛIndex []ygot.Annotation `path:"@index" ygotAnnotation:"true"` State *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State `path:"state" module:"openconfig-terminal-device"` ΛState []ygot.Annotation `path:"@state" ygotAnnotation:"true"` }
OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment represents the /openconfig-terminal-device/terminal-device/logical-channels/channel/logical-channel-assignments/assignment YANG schema element.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment) GetConfig ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment) GetConfig() *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config
GetConfig returns the value of the Config struct pointer from OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment) GetIndex ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment) GetIndex() uint32
GetIndex retrieves the value of the leaf Index from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment struct. Caution should be exercised whilst using this method since 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 (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment) GetOrCreateConfig ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment) GetOrCreateConfig() *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment) GetOrCreateState ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment) GetOrCreateState() *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment) GetState ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment) GetState() *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State
GetState returns the value of the State struct pointer from OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment) IsYANGGoStruct ¶
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment) Validate ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment) ΛEnumTypeMap ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment) Λ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 (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment) ΛListKeyMap ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment struct, which is a YANG list entry.
type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config ¶
type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Allocation *float64 `path:"allocation" module:"openconfig-terminal-device"` ΛAllocation []ygot.Annotation `path:"@allocation" ygotAnnotation:"true"` AssignmentType E_OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config_AssignmentType `path:"assignment-type" module:"openconfig-terminal-device"` ΛAssignmentType []ygot.Annotation `path:"@assignment-type" ygotAnnotation:"true"` Description *string `path:"description" module:"openconfig-terminal-device"` ΛDescription []ygot.Annotation `path:"@description" ygotAnnotation:"true"` Index *uint32 `path:"index" module:"openconfig-terminal-device"` ΛIndex []ygot.Annotation `path:"@index" ygotAnnotation:"true"` LogicalChannel *uint32 `path:"logical-channel" module:"openconfig-terminal-device"` ΛLogicalChannel []ygot.Annotation `path:"@logical-channel" ygotAnnotation:"true"` Mapping E_OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL `path:"mapping" module:"openconfig-terminal-device"` ΛMapping []ygot.Annotation `path:"@mapping" ygotAnnotation:"true"` OpticalChannel *string `path:"optical-channel" module:"openconfig-terminal-device"` ΛOpticalChannel []ygot.Annotation `path:"@optical-channel" ygotAnnotation:"true"` TributarySlotIndex *int32 `path:"tributary-slot-index" module:"openconfig-terminal-device"` ΛTributarySlotIndex []ygot.Annotation `path:"@tributary-slot-index" ygotAnnotation:"true"` }
OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config represents the /openconfig-terminal-device/terminal-device/logical-channels/channel/logical-channel-assignments/assignment/config YANG schema element.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config) GetAllocation ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config) GetAllocation() float64
GetAllocation retrieves the value of the leaf Allocation from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Allocation is set, it can safely use t.GetAllocation() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Allocation == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config) GetAssignmentType ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config) GetAssignmentType() E_OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config_AssignmentType
GetAssignmentType retrieves the value of the leaf AssignmentType from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AssignmentType is set, it can safely use t.GetAssignmentType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AssignmentType == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config) GetDescription ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config) GetDescription() string
GetDescription retrieves the value of the leaf Description from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Description is set, it can safely use t.GetDescription() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Description == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config) GetIndex ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config) GetIndex() uint32
GetIndex retrieves the value of the leaf Index from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config struct. Caution should be exercised whilst using this method since 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 (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config) GetLogicalChannel ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config) GetLogicalChannel() uint32
GetLogicalChannel retrieves the value of the leaf LogicalChannel from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LogicalChannel is set, it can safely use t.GetLogicalChannel() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LogicalChannel == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config) GetMapping ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config) GetMapping() E_OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL
GetMapping retrieves the value of the leaf Mapping from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Mapping is set, it can safely use t.GetMapping() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Mapping == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config) GetOpticalChannel ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config) GetOpticalChannel() string
GetOpticalChannel retrieves the value of the leaf OpticalChannel from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OpticalChannel is set, it can safely use t.GetOpticalChannel() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OpticalChannel == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config) GetTributarySlotIndex ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config) GetTributarySlotIndex() int32
GetTributarySlotIndex retrieves the value of the leaf TributarySlotIndex from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TributarySlotIndex is set, it can safely use t.GetTributarySlotIndex() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TributarySlotIndex == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config) IsYANGGoStruct ¶
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config) Validate ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config) ΛEnumTypeMap ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config) Λ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.
type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State ¶
type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Allocation *float64 `path:"allocation" module:"openconfig-terminal-device"` ΛAllocation []ygot.Annotation `path:"@allocation" ygotAnnotation:"true"` AssignmentType E_OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config_AssignmentType `path:"assignment-type" module:"openconfig-terminal-device"` ΛAssignmentType []ygot.Annotation `path:"@assignment-type" ygotAnnotation:"true"` Description *string `path:"description" module:"openconfig-terminal-device"` ΛDescription []ygot.Annotation `path:"@description" ygotAnnotation:"true"` Index *uint32 `path:"index" module:"openconfig-terminal-device"` ΛIndex []ygot.Annotation `path:"@index" ygotAnnotation:"true"` LogicalChannel *uint32 `path:"logical-channel" module:"openconfig-terminal-device"` ΛLogicalChannel []ygot.Annotation `path:"@logical-channel" ygotAnnotation:"true"` Mapping E_OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL `path:"mapping" module:"openconfig-terminal-device"` ΛMapping []ygot.Annotation `path:"@mapping" ygotAnnotation:"true"` OpticalChannel *string `path:"optical-channel" module:"openconfig-terminal-device"` ΛOpticalChannel []ygot.Annotation `path:"@optical-channel" ygotAnnotation:"true"` TributarySlotIndex *int32 `path:"tributary-slot-index" module:"openconfig-terminal-device"` ΛTributarySlotIndex []ygot.Annotation `path:"@tributary-slot-index" ygotAnnotation:"true"` }
OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State represents the /openconfig-terminal-device/terminal-device/logical-channels/channel/logical-channel-assignments/assignment/state YANG schema element.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State) GetAllocation ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State) GetAllocation() float64
GetAllocation retrieves the value of the leaf Allocation from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Allocation is set, it can safely use t.GetAllocation() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Allocation == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State) GetAssignmentType ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State) GetAssignmentType() E_OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config_AssignmentType
GetAssignmentType retrieves the value of the leaf AssignmentType from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AssignmentType is set, it can safely use t.GetAssignmentType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AssignmentType == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State) GetDescription ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State) GetDescription() string
GetDescription retrieves the value of the leaf Description from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Description is set, it can safely use t.GetDescription() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Description == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State) GetIndex ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State) GetIndex() uint32
GetIndex retrieves the value of the leaf Index from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State struct. Caution should be exercised whilst using this method since 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 (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State) GetLogicalChannel ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State) GetLogicalChannel() uint32
GetLogicalChannel retrieves the value of the leaf LogicalChannel from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LogicalChannel is set, it can safely use t.GetLogicalChannel() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LogicalChannel == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State) GetMapping ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State) GetMapping() E_OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL
GetMapping retrieves the value of the leaf Mapping from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Mapping is set, it can safely use t.GetMapping() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Mapping == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State) GetOpticalChannel ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State) GetOpticalChannel() string
GetOpticalChannel retrieves the value of the leaf OpticalChannel from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OpticalChannel is set, it can safely use t.GetOpticalChannel() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OpticalChannel == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State) GetTributarySlotIndex ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State) GetTributarySlotIndex() int32
GetTributarySlotIndex retrieves the value of the leaf TributarySlotIndex from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TributarySlotIndex is set, it can safely use t.GetTributarySlotIndex() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TributarySlotIndex == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State) IsYANGGoStruct ¶
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State) Validate ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State) ΛEnumTypeMap ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State) Λ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.
type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn ¶
type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Config *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_Config `path:"config" module:"openconfig-terminal-device"` ΛConfig []ygot.Annotation `path:"@config" ygotAnnotation:"true"` State *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State `path:"state" module:"openconfig-terminal-device"` ΛState []ygot.Annotation `path:"@state" ygotAnnotation:"true"` }
OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn represents the /openconfig-terminal-device/terminal-device/logical-channels/channel/otn YANG schema element.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn) GetConfig ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn) GetConfig() *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_Config
GetConfig returns the value of the Config struct pointer from OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn) GetOrCreateConfig ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn) GetOrCreateConfig() *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn) GetOrCreateState ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn) GetOrCreateState() *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn) GetState ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn) GetState() *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State
GetState returns the value of the State struct pointer from OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn) IsYANGGoStruct ¶
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn) Validate ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn) ΛEnumTypeMap ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn) Λ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.
type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_Config ¶
type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_Config struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` TributarySlotGranularity E_OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY `path:"tributary-slot-granularity" module:"openconfig-terminal-device"` ΛTributarySlotGranularity []ygot.Annotation `path:"@tributary-slot-granularity" ygotAnnotation:"true"` TtiMsgAuto *bool `path:"tti-msg-auto" module:"openconfig-terminal-device"` ΛTtiMsgAuto []ygot.Annotation `path:"@tti-msg-auto" ygotAnnotation:"true"` TtiMsgExpected *string `path:"tti-msg-expected" module:"openconfig-terminal-device"` ΛTtiMsgExpected []ygot.Annotation `path:"@tti-msg-expected" ygotAnnotation:"true"` TtiMsgTransmit *string `path:"tti-msg-transmit" module:"openconfig-terminal-device"` ΛTtiMsgTransmit []ygot.Annotation `path:"@tti-msg-transmit" ygotAnnotation:"true"` }
OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_Config represents the /openconfig-terminal-device/terminal-device/logical-channels/channel/otn/config YANG schema element.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_Config) GetTributarySlotGranularity ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_Config) GetTributarySlotGranularity() E_OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY
GetTributarySlotGranularity retrieves the value of the leaf TributarySlotGranularity from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TributarySlotGranularity is set, it can safely use t.GetTributarySlotGranularity() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TributarySlotGranularity == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_Config) GetTtiMsgAuto ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_Config) GetTtiMsgAuto() bool
GetTtiMsgAuto retrieves the value of the leaf TtiMsgAuto from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TtiMsgAuto is set, it can safely use t.GetTtiMsgAuto() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TtiMsgAuto == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_Config) GetTtiMsgExpected ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_Config) GetTtiMsgExpected() string
GetTtiMsgExpected retrieves the value of the leaf TtiMsgExpected from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TtiMsgExpected is set, it can safely use t.GetTtiMsgExpected() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TtiMsgExpected == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_Config) GetTtiMsgTransmit ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_Config) GetTtiMsgTransmit() string
GetTtiMsgTransmit retrieves the value of the leaf TtiMsgTransmit from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TtiMsgTransmit is set, it can safely use t.GetTtiMsgTransmit() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TtiMsgTransmit == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_Config) IsYANGGoStruct ¶
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_Config) Validate ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_Config) ΛEnumTypeMap ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_Config) Λ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.
type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State ¶
type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` BackgroundBlockErrors *uint64 `path:"background-block-errors" module:"openconfig-terminal-device"` ΛBackgroundBlockErrors []ygot.Annotation `path:"@background-block-errors" ygotAnnotation:"true"` CodeViolations *uint64 `path:"code-violations" module:"openconfig-terminal-device"` ΛCodeViolations []ygot.Annotation `path:"@code-violations" ygotAnnotation:"true"` ErroredBlocks *uint64 `path:"errored-blocks" module:"openconfig-terminal-device"` ΛErroredBlocks []ygot.Annotation `path:"@errored-blocks" ygotAnnotation:"true"` ErroredSeconds *uint64 `path:"errored-seconds" module:"openconfig-terminal-device"` ΛErroredSeconds []ygot.Annotation `path:"@errored-seconds" ygotAnnotation:"true"` Esnr *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr `path:"esnr" module:"openconfig-terminal-device"` ΛEsnr []ygot.Annotation `path:"@esnr" ygotAnnotation:"true"` FecCorrectedBits *uint64 `path:"fec-corrected-bits" module:"openconfig-terminal-device"` ΛFecCorrectedBits []ygot.Annotation `path:"@fec-corrected-bits" ygotAnnotation:"true"` FecCorrectedBytes *uint64 `path:"fec-corrected-bytes" module:"openconfig-terminal-device"` ΛFecCorrectedBytes []ygot.Annotation `path:"@fec-corrected-bytes" ygotAnnotation:"true"` FecUncorrectableBlocks *uint64 `path:"fec-uncorrectable-blocks" module:"openconfig-terminal-device"` ΛFecUncorrectableBlocks []ygot.Annotation `path:"@fec-uncorrectable-blocks" ygotAnnotation:"true"` FecUncorrectableWords *uint64 `path:"fec-uncorrectable-words" module:"openconfig-terminal-device"` ΛFecUncorrectableWords []ygot.Annotation `path:"@fec-uncorrectable-words" ygotAnnotation:"true"` PostFecBer *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer `path:"post-fec-ber" module:"openconfig-terminal-device"` ΛPostFecBer []ygot.Annotation `path:"@post-fec-ber" ygotAnnotation:"true"` PreFecBer *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer `path:"pre-fec-ber" module:"openconfig-terminal-device"` ΛPreFecBer []ygot.Annotation `path:"@pre-fec-ber" ygotAnnotation:"true"` QValue *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue `path:"q-value" module:"openconfig-terminal-device"` ΛQValue []ygot.Annotation `path:"@q-value" ygotAnnotation:"true"` RdiMsg *string `path:"rdi-msg" module:"openconfig-terminal-device"` ΛRdiMsg []ygot.Annotation `path:"@rdi-msg" ygotAnnotation:"true"` SeverelyErroredSeconds *uint64 `path:"severely-errored-seconds" module:"openconfig-terminal-device"` ΛSeverelyErroredSeconds []ygot.Annotation `path:"@severely-errored-seconds" ygotAnnotation:"true"` TributarySlotGranularity E_OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY `path:"tributary-slot-granularity" module:"openconfig-terminal-device"` ΛTributarySlotGranularity []ygot.Annotation `path:"@tributary-slot-granularity" ygotAnnotation:"true"` TtiMsgAuto *bool `path:"tti-msg-auto" module:"openconfig-terminal-device"` ΛTtiMsgAuto []ygot.Annotation `path:"@tti-msg-auto" ygotAnnotation:"true"` TtiMsgExpected *string `path:"tti-msg-expected" module:"openconfig-terminal-device"` ΛTtiMsgExpected []ygot.Annotation `path:"@tti-msg-expected" ygotAnnotation:"true"` TtiMsgRecv *string `path:"tti-msg-recv" module:"openconfig-terminal-device"` ΛTtiMsgRecv []ygot.Annotation `path:"@tti-msg-recv" ygotAnnotation:"true"` TtiMsgTransmit *string `path:"tti-msg-transmit" module:"openconfig-terminal-device"` ΛTtiMsgTransmit []ygot.Annotation `path:"@tti-msg-transmit" ygotAnnotation:"true"` }
OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State represents the /openconfig-terminal-device/terminal-device/logical-channels/channel/otn/state YANG schema element.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetBackgroundBlockErrors ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetBackgroundBlockErrors() uint64
GetBackgroundBlockErrors retrieves the value of the leaf BackgroundBlockErrors from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if BackgroundBlockErrors is set, it can safely use t.GetBackgroundBlockErrors() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.BackgroundBlockErrors == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetCodeViolations ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetCodeViolations() uint64
GetCodeViolations retrieves the value of the leaf CodeViolations from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if CodeViolations is set, it can safely use t.GetCodeViolations() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.CodeViolations == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetErroredBlocks ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetErroredBlocks() uint64
GetErroredBlocks retrieves the value of the leaf ErroredBlocks from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ErroredBlocks is set, it can safely use t.GetErroredBlocks() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ErroredBlocks == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetErroredSeconds ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetErroredSeconds() uint64
GetErroredSeconds retrieves the value of the leaf ErroredSeconds from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ErroredSeconds is set, it can safely use t.GetErroredSeconds() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ErroredSeconds == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetEsnr ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetEsnr() *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr
GetEsnr returns the value of the Esnr struct pointer from OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State. If the receiver or the field Esnr is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetFecCorrectedBits ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetFecCorrectedBits() uint64
GetFecCorrectedBits retrieves the value of the leaf FecCorrectedBits from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if FecCorrectedBits is set, it can safely use t.GetFecCorrectedBits() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.FecCorrectedBits == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetFecCorrectedBytes ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetFecCorrectedBytes() uint64
GetFecCorrectedBytes retrieves the value of the leaf FecCorrectedBytes from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if FecCorrectedBytes is set, it can safely use t.GetFecCorrectedBytes() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.FecCorrectedBytes == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetFecUncorrectableBlocks ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetFecUncorrectableBlocks() uint64
GetFecUncorrectableBlocks retrieves the value of the leaf FecUncorrectableBlocks from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if FecUncorrectableBlocks is set, it can safely use t.GetFecUncorrectableBlocks() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.FecUncorrectableBlocks == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetFecUncorrectableWords ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetFecUncorrectableWords() uint64
GetFecUncorrectableWords retrieves the value of the leaf FecUncorrectableWords from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if FecUncorrectableWords is set, it can safely use t.GetFecUncorrectableWords() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.FecUncorrectableWords == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetOrCreateEsnr ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetOrCreateEsnr() *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr
GetOrCreateEsnr retrieves the value of the Esnr field or returns the existing field if it already exists.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetOrCreatePostFecBer ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetOrCreatePostFecBer() *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer
GetOrCreatePostFecBer retrieves the value of the PostFecBer field or returns the existing field if it already exists.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetOrCreatePreFecBer ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetOrCreatePreFecBer() *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer
GetOrCreatePreFecBer retrieves the value of the PreFecBer field or returns the existing field if it already exists.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetOrCreateQValue ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetOrCreateQValue() *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue
GetOrCreateQValue retrieves the value of the QValue field or returns the existing field if it already exists.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetPostFecBer ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetPostFecBer() *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer
GetPostFecBer returns the value of the PostFecBer struct pointer from OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State. If the receiver or the field PostFecBer is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetPreFecBer ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetPreFecBer() *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer
GetPreFecBer returns the value of the PreFecBer struct pointer from OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State. If the receiver or the field PreFecBer is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetQValue ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetQValue() *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue
GetQValue returns the value of the QValue struct pointer from OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State. If the receiver or the field QValue is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetRdiMsg ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetRdiMsg() string
GetRdiMsg retrieves the value of the leaf RdiMsg from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if RdiMsg is set, it can safely use t.GetRdiMsg() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.RdiMsg == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetSeverelyErroredSeconds ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetSeverelyErroredSeconds() uint64
GetSeverelyErroredSeconds retrieves the value of the leaf SeverelyErroredSeconds from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SeverelyErroredSeconds is set, it can safely use t.GetSeverelyErroredSeconds() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SeverelyErroredSeconds == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetTributarySlotGranularity ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetTributarySlotGranularity() E_OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY
GetTributarySlotGranularity retrieves the value of the leaf TributarySlotGranularity from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TributarySlotGranularity is set, it can safely use t.GetTributarySlotGranularity() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TributarySlotGranularity == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetTtiMsgAuto ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetTtiMsgAuto() bool
GetTtiMsgAuto retrieves the value of the leaf TtiMsgAuto from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TtiMsgAuto is set, it can safely use t.GetTtiMsgAuto() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TtiMsgAuto == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetTtiMsgExpected ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetTtiMsgExpected() string
GetTtiMsgExpected retrieves the value of the leaf TtiMsgExpected from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TtiMsgExpected is set, it can safely use t.GetTtiMsgExpected() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TtiMsgExpected == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetTtiMsgRecv ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetTtiMsgRecv() string
GetTtiMsgRecv retrieves the value of the leaf TtiMsgRecv from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TtiMsgRecv is set, it can safely use t.GetTtiMsgRecv() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TtiMsgRecv == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetTtiMsgTransmit ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetTtiMsgTransmit() string
GetTtiMsgTransmit retrieves the value of the leaf TtiMsgTransmit from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TtiMsgTransmit is set, it can safely use t.GetTtiMsgTransmit() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TtiMsgTransmit == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetUnavailableSeconds ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetUnavailableSeconds() uint64
GetUnavailableSeconds retrieves the value of the leaf UnavailableSeconds from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if UnavailableSeconds is set, it can safely use t.GetUnavailableSeconds() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.UnavailableSeconds == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) IsYANGGoStruct ¶
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) Validate ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) ΛEnumTypeMap ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) Λ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.
type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr ¶
type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Avg *float64 `path:"avg" module:"openconfig-terminal-device"` ΛAvg []ygot.Annotation `path:"@avg" ygotAnnotation:"true"` Instant *float64 `path:"instant" module:"openconfig-terminal-device"` ΛInstant []ygot.Annotation `path:"@instant" ygotAnnotation:"true"` Interval *uint64 `path:"interval" module:"openconfig-terminal-device"` ΛInterval []ygot.Annotation `path:"@interval" ygotAnnotation:"true"` Max *float64 `path:"max" module:"openconfig-terminal-device"` ΛMax []ygot.Annotation `path:"@max" ygotAnnotation:"true"` MaxTime *uint64 `path:"max-time" module:"openconfig-terminal-device"` ΛMaxTime []ygot.Annotation `path:"@max-time" ygotAnnotation:"true"` Min *float64 `path:"min" module:"openconfig-terminal-device"` ΛMin []ygot.Annotation `path:"@min" ygotAnnotation:"true"` MinTime *uint64 `path:"min-time" module:"openconfig-terminal-device"` ΛMinTime []ygot.Annotation `path:"@min-time" ygotAnnotation:"true"` }
OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr represents the /openconfig-terminal-device/terminal-device/logical-channels/channel/otn/state/esnr YANG schema element.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr) GetAvg ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr) GetAvg() float64
GetAvg retrieves the value of the leaf Avg from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Avg is set, it can safely use t.GetAvg() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Avg == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr) GetInstant ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr) GetInstant() float64
GetInstant retrieves the value of the leaf Instant from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Instant is set, it can safely use t.GetInstant() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Instant == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr) GetInterval ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr) GetInterval() uint64
GetInterval retrieves the value of the leaf Interval from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interval is set, it can safely use t.GetInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interval == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr) GetMax ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr) GetMax() float64
GetMax retrieves the value of the leaf Max from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Max is set, it can safely use t.GetMax() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Max == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr) GetMaxTime ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr) GetMaxTime() uint64
GetMaxTime retrieves the value of the leaf MaxTime from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MaxTime is set, it can safely use t.GetMaxTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MaxTime == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr) GetMin ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr) GetMin() float64
GetMin retrieves the value of the leaf Min from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Min is set, it can safely use t.GetMin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Min == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr) GetMinTime ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr) GetMinTime() uint64
GetMinTime retrieves the value of the leaf MinTime from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MinTime is set, it can safely use t.GetMinTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MinTime == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr) IsYANGGoStruct ¶
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr) Validate ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr) ΛEnumTypeMap ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr) Λ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.
type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer ¶
type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Avg *float64 `path:"avg" module:"openconfig-terminal-device"` ΛAvg []ygot.Annotation `path:"@avg" ygotAnnotation:"true"` Instant *float64 `path:"instant" module:"openconfig-terminal-device"` ΛInstant []ygot.Annotation `path:"@instant" ygotAnnotation:"true"` Interval *uint64 `path:"interval" module:"openconfig-terminal-device"` ΛInterval []ygot.Annotation `path:"@interval" ygotAnnotation:"true"` Max *float64 `path:"max" module:"openconfig-terminal-device"` ΛMax []ygot.Annotation `path:"@max" ygotAnnotation:"true"` MaxTime *uint64 `path:"max-time" module:"openconfig-terminal-device"` ΛMaxTime []ygot.Annotation `path:"@max-time" ygotAnnotation:"true"` Min *float64 `path:"min" module:"openconfig-terminal-device"` ΛMin []ygot.Annotation `path:"@min" ygotAnnotation:"true"` MinTime *uint64 `path:"min-time" module:"openconfig-terminal-device"` ΛMinTime []ygot.Annotation `path:"@min-time" ygotAnnotation:"true"` }
OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer represents the /openconfig-terminal-device/terminal-device/logical-channels/channel/otn/state/post-fec-ber YANG schema element.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer) GetAvg ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer) GetAvg() float64
GetAvg retrieves the value of the leaf Avg from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Avg is set, it can safely use t.GetAvg() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Avg == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer) GetInstant ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer) GetInstant() float64
GetInstant retrieves the value of the leaf Instant from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Instant is set, it can safely use t.GetInstant() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Instant == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer) GetInterval ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer) GetInterval() uint64
GetInterval retrieves the value of the leaf Interval from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interval is set, it can safely use t.GetInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interval == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer) GetMax ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer) GetMax() float64
GetMax retrieves the value of the leaf Max from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Max is set, it can safely use t.GetMax() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Max == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer) GetMaxTime ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer) GetMaxTime() uint64
GetMaxTime retrieves the value of the leaf MaxTime from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MaxTime is set, it can safely use t.GetMaxTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MaxTime == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer) GetMin ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer) GetMin() float64
GetMin retrieves the value of the leaf Min from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Min is set, it can safely use t.GetMin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Min == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer) GetMinTime ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer) GetMinTime() uint64
GetMinTime retrieves the value of the leaf MinTime from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MinTime is set, it can safely use t.GetMinTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MinTime == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer) IsYANGGoStruct ¶
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer) Validate ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer) ΛEnumTypeMap ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer) Λ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.
type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer ¶
type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Avg *float64 `path:"avg" module:"openconfig-terminal-device"` ΛAvg []ygot.Annotation `path:"@avg" ygotAnnotation:"true"` Instant *float64 `path:"instant" module:"openconfig-terminal-device"` ΛInstant []ygot.Annotation `path:"@instant" ygotAnnotation:"true"` Interval *uint64 `path:"interval" module:"openconfig-terminal-device"` ΛInterval []ygot.Annotation `path:"@interval" ygotAnnotation:"true"` Max *float64 `path:"max" module:"openconfig-terminal-device"` ΛMax []ygot.Annotation `path:"@max" ygotAnnotation:"true"` MaxTime *uint64 `path:"max-time" module:"openconfig-terminal-device"` ΛMaxTime []ygot.Annotation `path:"@max-time" ygotAnnotation:"true"` Min *float64 `path:"min" module:"openconfig-terminal-device"` ΛMin []ygot.Annotation `path:"@min" ygotAnnotation:"true"` MinTime *uint64 `path:"min-time" module:"openconfig-terminal-device"` ΛMinTime []ygot.Annotation `path:"@min-time" ygotAnnotation:"true"` }
OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer represents the /openconfig-terminal-device/terminal-device/logical-channels/channel/otn/state/pre-fec-ber YANG schema element.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer) GetAvg ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer) GetAvg() float64
GetAvg retrieves the value of the leaf Avg from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Avg is set, it can safely use t.GetAvg() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Avg == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer) GetInstant ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer) GetInstant() float64
GetInstant retrieves the value of the leaf Instant from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Instant is set, it can safely use t.GetInstant() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Instant == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer) GetInterval ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer) GetInterval() uint64
GetInterval retrieves the value of the leaf Interval from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interval is set, it can safely use t.GetInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interval == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer) GetMax ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer) GetMax() float64
GetMax retrieves the value of the leaf Max from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Max is set, it can safely use t.GetMax() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Max == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer) GetMaxTime ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer) GetMaxTime() uint64
GetMaxTime retrieves the value of the leaf MaxTime from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MaxTime is set, it can safely use t.GetMaxTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MaxTime == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer) GetMin ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer) GetMin() float64
GetMin retrieves the value of the leaf Min from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Min is set, it can safely use t.GetMin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Min == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer) GetMinTime ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer) GetMinTime() uint64
GetMinTime retrieves the value of the leaf MinTime from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MinTime is set, it can safely use t.GetMinTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MinTime == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer) IsYANGGoStruct ¶
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer) Validate ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer) ΛEnumTypeMap ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer) Λ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.
type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue ¶
type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Avg *float64 `path:"avg" module:"openconfig-terminal-device"` ΛAvg []ygot.Annotation `path:"@avg" ygotAnnotation:"true"` Instant *float64 `path:"instant" module:"openconfig-terminal-device"` ΛInstant []ygot.Annotation `path:"@instant" ygotAnnotation:"true"` Interval *uint64 `path:"interval" module:"openconfig-terminal-device"` ΛInterval []ygot.Annotation `path:"@interval" ygotAnnotation:"true"` Max *float64 `path:"max" module:"openconfig-terminal-device"` ΛMax []ygot.Annotation `path:"@max" ygotAnnotation:"true"` MaxTime *uint64 `path:"max-time" module:"openconfig-terminal-device"` ΛMaxTime []ygot.Annotation `path:"@max-time" ygotAnnotation:"true"` Min *float64 `path:"min" module:"openconfig-terminal-device"` ΛMin []ygot.Annotation `path:"@min" ygotAnnotation:"true"` MinTime *uint64 `path:"min-time" module:"openconfig-terminal-device"` ΛMinTime []ygot.Annotation `path:"@min-time" ygotAnnotation:"true"` }
OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue represents the /openconfig-terminal-device/terminal-device/logical-channels/channel/otn/state/q-value YANG schema element.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue) GetAvg ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue) GetAvg() float64
GetAvg retrieves the value of the leaf Avg from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Avg is set, it can safely use t.GetAvg() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Avg == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue) GetInstant ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue) GetInstant() float64
GetInstant retrieves the value of the leaf Instant from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Instant is set, it can safely use t.GetInstant() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Instant == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue) GetInterval ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue) GetInterval() uint64
GetInterval retrieves the value of the leaf Interval from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interval is set, it can safely use t.GetInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interval == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue) GetMax ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue) GetMax() float64
GetMax retrieves the value of the leaf Max from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Max is set, it can safely use t.GetMax() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Max == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue) GetMaxTime ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue) GetMaxTime() uint64
GetMaxTime retrieves the value of the leaf MaxTime from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MaxTime is set, it can safely use t.GetMaxTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MaxTime == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue) GetMin ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue) GetMin() float64
GetMin retrieves the value of the leaf Min from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Min is set, it can safely use t.GetMin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Min == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue) GetMinTime ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue) GetMinTime() uint64
GetMinTime retrieves the value of the leaf MinTime from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MinTime is set, it can safely use t.GetMinTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MinTime == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue) IsYANGGoStruct ¶
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue) Validate ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue) ΛEnumTypeMap ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue) Λ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.
type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State ¶
type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` AdminState E_OpenconfigTerminalDevice_AdminStateType `path:"admin-state" module:"openconfig-terminal-device"` ΛAdminState []ygot.Annotation `path:"@admin-state" ygotAnnotation:"true"` Description *string `path:"description" module:"openconfig-terminal-device"` ΛDescription []ygot.Annotation `path:"@description" ygotAnnotation:"true"` Index *uint32 `path:"index" module:"openconfig-terminal-device"` ΛIndex []ygot.Annotation `path:"@index" ygotAnnotation:"true"` LinkState E_OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State_LinkState `path:"link-state" module:"openconfig-terminal-device"` ΛLinkState []ygot.Annotation `path:"@link-state" ygotAnnotation:"true"` LogicalChannelType E_OpenconfigTransportTypes_LOGICAL_ELEMENT_PROTOCOL_TYPE `path:"logical-channel-type" module:"openconfig-terminal-device"` ΛLogicalChannelType []ygot.Annotation `path:"@logical-channel-type" ygotAnnotation:"true"` LoopbackMode E_OpenconfigTerminalDevice_LoopbackModeType `path:"loopback-mode" module:"openconfig-terminal-device"` ΛLoopbackMode []ygot.Annotation `path:"@loopback-mode" ygotAnnotation:"true"` RateClass E_OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE `path:"rate-class" module:"openconfig-terminal-device"` ΛRateClass []ygot.Annotation `path:"@rate-class" ygotAnnotation:"true"` TestSignal *bool `path:"test-signal" module:"openconfig-terminal-device"` ΛTestSignal []ygot.Annotation `path:"@test-signal" ygotAnnotation:"true"` TribProtocol E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE `path:"trib-protocol" module:"openconfig-terminal-device"` ΛTribProtocol []ygot.Annotation `path:"@trib-protocol" ygotAnnotation:"true"` }
OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State represents the /openconfig-terminal-device/terminal-device/logical-channels/channel/state YANG schema element.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State) GetAdminState ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State) GetAdminState() E_OpenconfigTerminalDevice_AdminStateType
GetAdminState retrieves the value of the leaf AdminState from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AdminState is set, it can safely use t.GetAdminState() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AdminState == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State) GetDescription ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State) GetDescription() string
GetDescription retrieves the value of the leaf Description from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Description is set, it can safely use t.GetDescription() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Description == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State) GetIndex ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State) GetIndex() uint32
GetIndex retrieves the value of the leaf Index from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State struct. Caution should be exercised whilst using this method since 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 (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State) GetLinkState ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State) GetLinkState() E_OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State_LinkState
GetLinkState retrieves the value of the leaf LinkState from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LinkState is set, it can safely use t.GetLinkState() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LinkState == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State) GetLogicalChannelType ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State) GetLogicalChannelType() E_OpenconfigTransportTypes_LOGICAL_ELEMENT_PROTOCOL_TYPE
GetLogicalChannelType retrieves the value of the leaf LogicalChannelType from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LogicalChannelType is set, it can safely use t.GetLogicalChannelType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LogicalChannelType == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State) GetLoopbackMode ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State) GetLoopbackMode() E_OpenconfigTerminalDevice_LoopbackModeType
GetLoopbackMode retrieves the value of the leaf LoopbackMode from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LoopbackMode is set, it can safely use t.GetLoopbackMode() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LoopbackMode == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State) GetRateClass ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State) GetRateClass() E_OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE
GetRateClass retrieves the value of the leaf RateClass from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if RateClass is set, it can safely use t.GetRateClass() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.RateClass == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State) GetTestSignal ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State) GetTestSignal() bool
GetTestSignal retrieves the value of the leaf TestSignal from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TestSignal is set, it can safely use t.GetTestSignal() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TestSignal == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State) GetTribProtocol ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State) GetTribProtocol() E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE
GetTribProtocol retrieves the value of the leaf TribProtocol from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TribProtocol is set, it can safely use t.GetTribProtocol() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TribProtocol == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State) IsYANGGoStruct ¶
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State) Validate ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State) ΛEnumTypeMap ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State) Λ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.
type OpenconfigTerminalDevice_TerminalDevice_OperationalModes ¶
type OpenconfigTerminalDevice_TerminalDevice_OperationalModes struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Mode map[uint16]*OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode `path:"mode" module:"openconfig-terminal-device"` ΛMode []ygot.Annotation `path:"@mode" ygotAnnotation:"true"` }
OpenconfigTerminalDevice_TerminalDevice_OperationalModes represents the /openconfig-terminal-device/terminal-device/operational-modes YANG schema element.
func (*OpenconfigTerminalDevice_TerminalDevice_OperationalModes) AppendMode ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_OperationalModes) AppendMode(v *OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode) error
AppendMode appends the supplied OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode struct to the list Mode of OpenconfigTerminalDevice_TerminalDevice_OperationalModes. If the key value(s) specified in the supplied OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode already exist in the list, an error is returned.
func (*OpenconfigTerminalDevice_TerminalDevice_OperationalModes) GetMode ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_OperationalModes) GetMode(ModeId uint16) *OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode
GetMode retrieves the value with the specified key from the Mode map field of OpenconfigTerminalDevice_TerminalDevice_OperationalModes. 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 (*OpenconfigTerminalDevice_TerminalDevice_OperationalModes) GetOrCreateMode ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_OperationalModes) GetOrCreateMode(ModeId uint16) *OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode
GetOrCreateMode retrieves the value with the specified keys from the receiver OpenconfigTerminalDevice_TerminalDevice_OperationalModes. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*OpenconfigTerminalDevice_TerminalDevice_OperationalModes) IsYANGGoStruct ¶
func (*OpenconfigTerminalDevice_TerminalDevice_OperationalModes) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigTerminalDevice_TerminalDevice_OperationalModes implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigTerminalDevice_TerminalDevice_OperationalModes) NewMode ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_OperationalModes) NewMode(ModeId uint16) (*OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode, error)
NewMode creates a new entry in the Mode list of the OpenconfigTerminalDevice_TerminalDevice_OperationalModes struct. The keys of the list are populated from the input arguments.
func (*OpenconfigTerminalDevice_TerminalDevice_OperationalModes) RenameMode ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_OperationalModes) RenameMode(oldK, newK uint16) error
RenameMode renames an entry in the list Mode within the OpenconfigTerminalDevice_TerminalDevice_OperationalModes struct. The entry with key oldK is renamed to newK updating the key within the value.
func (*OpenconfigTerminalDevice_TerminalDevice_OperationalModes) Validate ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_OperationalModes) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigTerminalDevice_TerminalDevice_OperationalModes) ΛEnumTypeMap ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_OperationalModes) Λ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.
type OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode ¶
type OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Config *OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_Config `path:"config" module:"openconfig-terminal-device"` ΛConfig []ygot.Annotation `path:"@config" ygotAnnotation:"true"` ModeId *uint16 `path:"mode-id" module:"openconfig-terminal-device"` ΛModeId []ygot.Annotation `path:"@mode-id" ygotAnnotation:"true"` State *OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_State `path:"state" module:"openconfig-terminal-device"` ΛState []ygot.Annotation `path:"@state" ygotAnnotation:"true"` }
OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode represents the /openconfig-terminal-device/terminal-device/operational-modes/mode YANG schema element.
func (*OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode) GetConfig ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode) GetConfig() *OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_Config
GetConfig returns the value of the Config struct pointer from OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode) GetModeId ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode) GetModeId() uint16
GetModeId retrieves the value of the leaf ModeId from the OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ModeId is set, it can safely use t.GetModeId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ModeId == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode) GetOrCreateConfig ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode) GetOrCreateConfig() *OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode) GetOrCreateState ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode) GetOrCreateState() *OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode) GetState ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode) GetState() *OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_State
GetState returns the value of the State struct pointer from OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode) IsYANGGoStruct ¶
func (*OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode) Validate ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode) ΛEnumTypeMap ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode) Λ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 (*OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode) ΛListKeyMap ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode struct, which is a YANG list entry.
type OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_Config ¶
type OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_Config struct {
ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
}
OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_Config represents the /openconfig-terminal-device/terminal-device/operational-modes/mode/config YANG schema element.
func (*OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_Config) IsYANGGoStruct ¶
func (*OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_Config) Validate ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_Config) ΛEnumTypeMap ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_Config) Λ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.
type OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_State ¶
type OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_State struct { ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"` Description *string `path:"description" module:"openconfig-terminal-device"` ΛDescription []ygot.Annotation `path:"@description" ygotAnnotation:"true"` ModeId *uint16 `path:"mode-id" module:"openconfig-terminal-device"` ΛModeId []ygot.Annotation `path:"@mode-id" ygotAnnotation:"true"` VendorId *string `path:"vendor-id" module:"openconfig-terminal-device"` ΛVendorId []ygot.Annotation `path:"@vendor-id" ygotAnnotation:"true"` }
OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_State represents the /openconfig-terminal-device/terminal-device/operational-modes/mode/state YANG schema element.
func (*OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_State) GetDescription ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_State) GetDescription() string
GetDescription retrieves the value of the leaf Description from the OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Description is set, it can safely use t.GetDescription() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Description == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_State) GetModeId ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_State) GetModeId() uint16
GetModeId retrieves the value of the leaf ModeId from the OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ModeId is set, it can safely use t.GetModeId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ModeId == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_State) GetVendorId ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_State) GetVendorId() string
GetVendorId retrieves the value of the leaf VendorId from the OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if VendorId is set, it can safely use t.GetVendorId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.VendorId == nil' before retrieving the leaf's value.
func (*OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_State) IsYANGGoStruct ¶
func (*OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_State) Validate ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_State) ΛEnumTypeMap ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_State) Λ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.
type OpenconfigTerminalDevice_TerminalDevice_State ¶
type OpenconfigTerminalDevice_TerminalDevice_State struct {
ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
}
OpenconfigTerminalDevice_TerminalDevice_State represents the /openconfig-terminal-device/terminal-device/state YANG schema element.
func (*OpenconfigTerminalDevice_TerminalDevice_State) IsYANGGoStruct ¶
func (*OpenconfigTerminalDevice_TerminalDevice_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigTerminalDevice_TerminalDevice_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigTerminalDevice_TerminalDevice_State) Validate ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigTerminalDevice_TerminalDevice_State) ΛEnumTypeMap ¶
func (t *OpenconfigTerminalDevice_TerminalDevice_State) Λ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.