gostruct

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package gostruct 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).

This package was generated by /usr/local/google/home/wenbli/gocode/pkg/mod/github.com/openconfig/ygot@v0.20.0/genutil/names.go using the following YANG input files:

  • public/release/models/interfaces/openconfig-interfaces.yang
  • public/release/models/openflow/openconfig-openflow.yang
  • public/release/models/platform/openconfig-platform.yang
  • public/release/models/system/openconfig-system.yang

Imported modules were sourced from:

  • public/...
  • yang/...

Index

Constants

This section is empty.

Variables

View Source
var (
	SchemaTree map[string]*yang.Entry
	ΛEnumTypes map[string][]reflect.Type
)
View Source
var ΛEnum = map[string]map[int64]ygot.EnumDefinition{
	"E_IETFInterfaces_InterfaceType": {},
	"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_OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus": {
		1: {Name: "UP"},
		2: {Name: "DOWN"},
		3: {Name: "TESTING"},
	},
	"E_OpenconfigInterfaces_Interfaces_Interface_State_OperStatus": {
		1: {Name: "UP"},
		2: {Name: "DOWN"},
		3: {Name: "TESTING"},
		4: {Name: "UNKNOWN"},
		5: {Name: "DORMANT"},
		6: {Name: "NOT_PRESENT"},
		7: {Name: "LOWER_LAYER_DOWN"},
	},
	"E_OpenconfigMessages_DEBUG_SERVICE": {},
	"E_OpenconfigMessages_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_OpenconfigOpenflow_FailureMode": {
		1: {Name: "SECURE"},
		2: {Name: "STANDALONE"},
	},
	"E_OpenconfigOpenflow_Transport": {
		1: {Name: "TCP"},
		2: {Name: "TLS"},
	},
	"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_COMPONENT_REBOOT_REASON": {
		1: {Name: "REBOOT_CRITICAL_ERROR", DefiningModule: "openconfig-platform-types"},
		2: {Name: "REBOOT_POWER_FAILURE", DefiningModule: "openconfig-platform-types"},
		3: {Name: "REBOOT_USER_INITIATED", DefiningModule: "openconfig-platform-types"},
	},
	"E_OpenconfigPlatformTypes_ComponentRedundantRoleSwitchoverReasonTrigger": {
		1: {Name: "USER_INITIATED"},
		2: {Name: "SYSTEM_INITIATED"},
	},
	"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: "PORT", DefiningModule: "openconfig-platform-types"},
		11: {Name: "POWER_SUPPLY", DefiningModule: "openconfig-platform-types"},
		12: {Name: "SENSOR", DefiningModule: "openconfig-platform-types"},
		13: {Name: "STORAGE", DefiningModule: "openconfig-platform-types"},
		14: {Name: "TRANSCEIVER", DefiningModule: "openconfig-platform-types"},
	},
	"E_OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT": {
		1: {Name: "BIOS", DefiningModule: "openconfig-platform-types"},
		2: {Name: "BOOT_LOADER", DefiningModule: "openconfig-platform-types"},
		3: {Name: "OPERATING_SYSTEM", DefiningModule: "openconfig-platform-types"},
		4: {Name: "OPERATING_SYSTEM_UPDATE", DefiningModule: "openconfig-platform-types"},
		5: {Name: "SOFTWARE_MODULE", DefiningModule: "openconfig-platform-types"},
	},
	"E_OpenconfigPlatform_ComponentRedundantRole": {
		1: {Name: "PRIMARY"},
		2: {Name: "SECONDARY"},
	},
	"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_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"},
	},
}

ΛEnum is a map, keyed by the name of the type defined for each enum in the generated Go code, which provides a mapping between the constant int64 value of each value of the enumeration, and the string that is used to represent it in the YANG schema. The map is named ΛEnum in order to avoid clash with any valid YANG identifier.

Functions

func Schema

func Schema() (*ytypes.Schema, error)

Schema returns the details of the generated schema.

func Unmarshal

func Unmarshal(data []byte, destStruct ygot.GoStruct, opts ...ytypes.UnmarshalOpt) error

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.

func UnzipSchema

func UnzipSchema() (map[string]*yang.Entry, error)

UnzipSchema unzips the zipped schema and returns a map of yang.Entry nodes, keyed by the name of the struct that the yang.Entry describes the schema for.

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 {
	Components *OpenconfigPlatform_Components   `path:"components" module:"openconfig-platform"`
	Interfaces *OpenconfigInterfaces_Interfaces `path:"interfaces" module:"openconfig-interfaces"`
	Messages   *OpenconfigMessages_Messages     `path:"messages" module:"openconfig-messages"`
	System     *OpenconfigSystem_System         `path:"system" module:"openconfig-system"`
}

Device represents the /device YANG schema element.

func (*Device) IsYANGGoStruct

func (*Device) IsYANGGoStruct()

IsYANGGoStruct ensures that Device implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*Device) Validate

func (t *Device) Validate(opts ...ygot.ValidationOption) error

Validate validates s against the YANG schema corresponding to its type.

func (*Device) ΛBelongingModule

func (*Device) ΛBelongingModule() string

ΛBelongingModule returns the name of the module that defines the namespace of Device.

func (*Device) ΛEnumTypeMap

func (t *Device) ΛEnumTypeMap() 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 (*Device) ΛValidate

func (t *Device) ΛValidate(opts ...ygot.ValidationOption) error

Validate validates s against the YANG schema corresponding to its type.

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
)

func (E_IETFInterfaces_InterfaceType) IsYANGGoEnum

func (E_IETFInterfaces_InterfaceType) IsYANGGoEnum()

IsYANGGoEnum ensures that IETFInterfaces_InterfaceType implements the yang.GoEnum interface. This ensures that IETFInterfaces_InterfaceType can be identified as a mapped type for a YANG enumeration.

func (E_IETFInterfaces_InterfaceType) String

String returns a logging-friendly string for E_IETFInterfaces_InterfaceType.

func (E_IETFInterfaces_InterfaceType) ΛMap

Λ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

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) String

String returns a logging-friendly string for E_OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE.

func (E_OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE) ΛMap

Λ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

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) String

String returns a logging-friendly string for E_OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE.

func (E_OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE) ΛMap

Λ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) String

String returns a logging-friendly string for E_OpenconfigAaaTypes_AAA_METHOD_TYPE.

func (E_OpenconfigAaaTypes_AAA_METHOD_TYPE) ΛMap

Λ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) String

String returns a logging-friendly string for E_OpenconfigAaaTypes_AAA_SERVER_TYPE.

func (E_OpenconfigAaaTypes_AAA_SERVER_TYPE) ΛMap

Λ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

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) String

String returns a logging-friendly string for E_OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES.

func (E_OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES) ΛMap

Λ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

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) String

String returns a logging-friendly string for E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY.

func (E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY) ΛMap

Λ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

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) String

String returns a logging-friendly string for E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID.

func (E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID) ΛMap

ΛMap returns the value lookup map associated with OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID.

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

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) String

String returns a logging-friendly string for E_OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus.

func (E_OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus) ΛMap

Λ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 = 1
	// 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 = 2
	// 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 = 3
	// 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 = 4
	// 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 = 5
	// 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 = 6
	// 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 = 7
)

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) String

String returns a logging-friendly string for E_OpenconfigInterfaces_Interfaces_Interface_State_OperStatus.

func (E_OpenconfigInterfaces_Interfaces_Interface_State_OperStatus) ΛMap

ΛMap returns the value lookup map associated with OpenconfigInterfaces_Interfaces_Interface_State_OperStatus.

type E_OpenconfigMessages_DEBUG_SERVICE

type E_OpenconfigMessages_DEBUG_SERVICE int64

E_OpenconfigMessages_DEBUG_SERVICE is a derived int64 type which is used to represent the enumerated node OpenconfigMessages_DEBUG_SERVICE. An additional value named OpenconfigMessages_DEBUG_SERVICE_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 (
	// OpenconfigMessages_DEBUG_SERVICE_UNSET corresponds to the value UNSET of OpenconfigMessages_DEBUG_SERVICE
	OpenconfigMessages_DEBUG_SERVICE_UNSET E_OpenconfigMessages_DEBUG_SERVICE = 0
)

func (E_OpenconfigMessages_DEBUG_SERVICE) IsYANGGoEnum

func (E_OpenconfigMessages_DEBUG_SERVICE) IsYANGGoEnum()

IsYANGGoEnum ensures that OpenconfigMessages_DEBUG_SERVICE implements the yang.GoEnum interface. This ensures that OpenconfigMessages_DEBUG_SERVICE can be identified as a mapped type for a YANG enumeration.

func (E_OpenconfigMessages_DEBUG_SERVICE) String

String returns a logging-friendly string for E_OpenconfigMessages_DEBUG_SERVICE.

func (E_OpenconfigMessages_DEBUG_SERVICE) ΛMap

ΛMap returns the value lookup map associated with OpenconfigMessages_DEBUG_SERVICE.

type E_OpenconfigMessages_SyslogSeverity

type E_OpenconfigMessages_SyslogSeverity int64

E_OpenconfigMessages_SyslogSeverity is a derived int64 type which is used to represent the enumerated node OpenconfigMessages_SyslogSeverity. An additional value named OpenconfigMessages_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 (
	// OpenconfigMessages_SyslogSeverity_UNSET corresponds to the value UNSET of OpenconfigMessages_SyslogSeverity
	OpenconfigMessages_SyslogSeverity_UNSET E_OpenconfigMessages_SyslogSeverity = 0
	// OpenconfigMessages_SyslogSeverity_EMERGENCY corresponds to the value EMERGENCY of OpenconfigMessages_SyslogSeverity
	OpenconfigMessages_SyslogSeverity_EMERGENCY E_OpenconfigMessages_SyslogSeverity = 1
	// OpenconfigMessages_SyslogSeverity_ALERT corresponds to the value ALERT of OpenconfigMessages_SyslogSeverity
	OpenconfigMessages_SyslogSeverity_ALERT E_OpenconfigMessages_SyslogSeverity = 2
	// OpenconfigMessages_SyslogSeverity_CRITICAL corresponds to the value CRITICAL of OpenconfigMessages_SyslogSeverity
	OpenconfigMessages_SyslogSeverity_CRITICAL E_OpenconfigMessages_SyslogSeverity = 3
	// OpenconfigMessages_SyslogSeverity_ERROR corresponds to the value ERROR of OpenconfigMessages_SyslogSeverity
	OpenconfigMessages_SyslogSeverity_ERROR E_OpenconfigMessages_SyslogSeverity = 4
	// OpenconfigMessages_SyslogSeverity_WARNING corresponds to the value WARNING of OpenconfigMessages_SyslogSeverity
	OpenconfigMessages_SyslogSeverity_WARNING E_OpenconfigMessages_SyslogSeverity = 5
	// OpenconfigMessages_SyslogSeverity_NOTICE corresponds to the value NOTICE of OpenconfigMessages_SyslogSeverity
	OpenconfigMessages_SyslogSeverity_NOTICE E_OpenconfigMessages_SyslogSeverity = 6
	// OpenconfigMessages_SyslogSeverity_INFORMATIONAL corresponds to the value INFORMATIONAL of OpenconfigMessages_SyslogSeverity
	OpenconfigMessages_SyslogSeverity_INFORMATIONAL E_OpenconfigMessages_SyslogSeverity = 7
	// OpenconfigMessages_SyslogSeverity_DEBUG corresponds to the value DEBUG of OpenconfigMessages_SyslogSeverity
	OpenconfigMessages_SyslogSeverity_DEBUG E_OpenconfigMessages_SyslogSeverity = 8
)

func (E_OpenconfigMessages_SyslogSeverity) IsYANGGoEnum

func (E_OpenconfigMessages_SyslogSeverity) IsYANGGoEnum()

IsYANGGoEnum ensures that OpenconfigMessages_SyslogSeverity implements the yang.GoEnum interface. This ensures that OpenconfigMessages_SyslogSeverity can be identified as a mapped type for a YANG enumeration.

func (E_OpenconfigMessages_SyslogSeverity) String

String returns a logging-friendly string for E_OpenconfigMessages_SyslogSeverity.

func (E_OpenconfigMessages_SyslogSeverity) ΛMap

ΛMap returns the value lookup map associated with OpenconfigMessages_SyslogSeverity.

type E_OpenconfigOpenflow_FailureMode

type E_OpenconfigOpenflow_FailureMode int64

E_OpenconfigOpenflow_FailureMode is a derived int64 type which is used to represent the enumerated node OpenconfigOpenflow_FailureMode. An additional value named OpenconfigOpenflow_FailureMode_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 (
	// OpenconfigOpenflow_FailureMode_UNSET corresponds to the value UNSET of OpenconfigOpenflow_FailureMode
	OpenconfigOpenflow_FailureMode_UNSET E_OpenconfigOpenflow_FailureMode = 0
	// OpenconfigOpenflow_FailureMode_SECURE corresponds to the value SECURE of OpenconfigOpenflow_FailureMode
	OpenconfigOpenflow_FailureMode_SECURE E_OpenconfigOpenflow_FailureMode = 1
	// OpenconfigOpenflow_FailureMode_STANDALONE corresponds to the value STANDALONE of OpenconfigOpenflow_FailureMode
	OpenconfigOpenflow_FailureMode_STANDALONE E_OpenconfigOpenflow_FailureMode = 2
)

func (E_OpenconfigOpenflow_FailureMode) IsYANGGoEnum

func (E_OpenconfigOpenflow_FailureMode) IsYANGGoEnum()

IsYANGGoEnum ensures that OpenconfigOpenflow_FailureMode implements the yang.GoEnum interface. This ensures that OpenconfigOpenflow_FailureMode can be identified as a mapped type for a YANG enumeration.

func (E_OpenconfigOpenflow_FailureMode) String

String returns a logging-friendly string for E_OpenconfigOpenflow_FailureMode.

func (E_OpenconfigOpenflow_FailureMode) ΛMap

ΛMap returns the value lookup map associated with OpenconfigOpenflow_FailureMode.

type E_OpenconfigOpenflow_Transport

type E_OpenconfigOpenflow_Transport int64

E_OpenconfigOpenflow_Transport is a derived int64 type which is used to represent the enumerated node OpenconfigOpenflow_Transport. An additional value named OpenconfigOpenflow_Transport_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 (
	// OpenconfigOpenflow_Transport_UNSET corresponds to the value UNSET of OpenconfigOpenflow_Transport
	OpenconfigOpenflow_Transport_UNSET E_OpenconfigOpenflow_Transport = 0
	// OpenconfigOpenflow_Transport_TCP corresponds to the value TCP of OpenconfigOpenflow_Transport
	OpenconfigOpenflow_Transport_TCP E_OpenconfigOpenflow_Transport = 1
	// OpenconfigOpenflow_Transport_TLS corresponds to the value TLS of OpenconfigOpenflow_Transport
	OpenconfigOpenflow_Transport_TLS E_OpenconfigOpenflow_Transport = 2
)

func (E_OpenconfigOpenflow_Transport) IsYANGGoEnum

func (E_OpenconfigOpenflow_Transport) IsYANGGoEnum()

IsYANGGoEnum ensures that OpenconfigOpenflow_Transport implements the yang.GoEnum interface. This ensures that OpenconfigOpenflow_Transport can be identified as a mapped type for a YANG enumeration.

func (E_OpenconfigOpenflow_Transport) String

String returns a logging-friendly string for E_OpenconfigOpenflow_Transport.

func (E_OpenconfigOpenflow_Transport) ΛMap

ΛMap returns the value lookup map associated with OpenconfigOpenflow_Transport.

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

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) String

String returns a logging-friendly string for E_OpenconfigPlatformTypes_COMPONENT_OPER_STATUS.

func (E_OpenconfigPlatformTypes_COMPONENT_OPER_STATUS) ΛMap

ΛMap returns the value lookup map associated with OpenconfigPlatformTypes_COMPONENT_OPER_STATUS.

type E_OpenconfigPlatformTypes_COMPONENT_REBOOT_REASON

type E_OpenconfigPlatformTypes_COMPONENT_REBOOT_REASON int64

E_OpenconfigPlatformTypes_COMPONENT_REBOOT_REASON is a derived int64 type which is used to represent the enumerated node OpenconfigPlatformTypes_COMPONENT_REBOOT_REASON. An additional value named OpenconfigPlatformTypes_COMPONENT_REBOOT_REASON_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_REBOOT_REASON_UNSET corresponds to the value UNSET of OpenconfigPlatformTypes_COMPONENT_REBOOT_REASON
	OpenconfigPlatformTypes_COMPONENT_REBOOT_REASON_UNSET E_OpenconfigPlatformTypes_COMPONENT_REBOOT_REASON = 0
	// OpenconfigPlatformTypes_COMPONENT_REBOOT_REASON_REBOOT_CRITICAL_ERROR corresponds to the value REBOOT_CRITICAL_ERROR of OpenconfigPlatformTypes_COMPONENT_REBOOT_REASON
	OpenconfigPlatformTypes_COMPONENT_REBOOT_REASON_REBOOT_CRITICAL_ERROR E_OpenconfigPlatformTypes_COMPONENT_REBOOT_REASON = 1
	// OpenconfigPlatformTypes_COMPONENT_REBOOT_REASON_REBOOT_POWER_FAILURE corresponds to the value REBOOT_POWER_FAILURE of OpenconfigPlatformTypes_COMPONENT_REBOOT_REASON
	OpenconfigPlatformTypes_COMPONENT_REBOOT_REASON_REBOOT_POWER_FAILURE E_OpenconfigPlatformTypes_COMPONENT_REBOOT_REASON = 2
	// OpenconfigPlatformTypes_COMPONENT_REBOOT_REASON_REBOOT_USER_INITIATED corresponds to the value REBOOT_USER_INITIATED of OpenconfigPlatformTypes_COMPONENT_REBOOT_REASON
	OpenconfigPlatformTypes_COMPONENT_REBOOT_REASON_REBOOT_USER_INITIATED E_OpenconfigPlatformTypes_COMPONENT_REBOOT_REASON = 3
)

func (E_OpenconfigPlatformTypes_COMPONENT_REBOOT_REASON) IsYANGGoEnum

IsYANGGoEnum ensures that OpenconfigPlatformTypes_COMPONENT_REBOOT_REASON implements the yang.GoEnum interface. This ensures that OpenconfigPlatformTypes_COMPONENT_REBOOT_REASON can be identified as a mapped type for a YANG enumeration.

func (E_OpenconfigPlatformTypes_COMPONENT_REBOOT_REASON) String

String returns a logging-friendly string for E_OpenconfigPlatformTypes_COMPONENT_REBOOT_REASON.

func (E_OpenconfigPlatformTypes_COMPONENT_REBOOT_REASON) ΛMap

ΛMap returns the value lookup map associated with OpenconfigPlatformTypes_COMPONENT_REBOOT_REASON.

type E_OpenconfigPlatformTypes_ComponentRedundantRoleSwitchoverReasonTrigger

type E_OpenconfigPlatformTypes_ComponentRedundantRoleSwitchoverReasonTrigger int64

E_OpenconfigPlatformTypes_ComponentRedundantRoleSwitchoverReasonTrigger is a derived int64 type which is used to represent the enumerated node OpenconfigPlatformTypes_ComponentRedundantRoleSwitchoverReasonTrigger. An additional value named OpenconfigPlatformTypes_ComponentRedundantRoleSwitchoverReasonTrigger_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_ComponentRedundantRoleSwitchoverReasonTrigger_UNSET corresponds to the value UNSET of OpenconfigPlatformTypes_ComponentRedundantRoleSwitchoverReasonTrigger
	OpenconfigPlatformTypes_ComponentRedundantRoleSwitchoverReasonTrigger_UNSET E_OpenconfigPlatformTypes_ComponentRedundantRoleSwitchoverReasonTrigger = 0
	// OpenconfigPlatformTypes_ComponentRedundantRoleSwitchoverReasonTrigger_USER_INITIATED corresponds to the value USER_INITIATED of OpenconfigPlatformTypes_ComponentRedundantRoleSwitchoverReasonTrigger
	OpenconfigPlatformTypes_ComponentRedundantRoleSwitchoverReasonTrigger_USER_INITIATED E_OpenconfigPlatformTypes_ComponentRedundantRoleSwitchoverReasonTrigger = 1
	// OpenconfigPlatformTypes_ComponentRedundantRoleSwitchoverReasonTrigger_SYSTEM_INITIATED corresponds to the value SYSTEM_INITIATED of OpenconfigPlatformTypes_ComponentRedundantRoleSwitchoverReasonTrigger
	OpenconfigPlatformTypes_ComponentRedundantRoleSwitchoverReasonTrigger_SYSTEM_INITIATED E_OpenconfigPlatformTypes_ComponentRedundantRoleSwitchoverReasonTrigger = 2
)

func (E_OpenconfigPlatformTypes_ComponentRedundantRoleSwitchoverReasonTrigger) IsYANGGoEnum

IsYANGGoEnum ensures that OpenconfigPlatformTypes_ComponentRedundantRoleSwitchoverReasonTrigger implements the yang.GoEnum interface. This ensures that OpenconfigPlatformTypes_ComponentRedundantRoleSwitchoverReasonTrigger can be identified as a mapped type for a YANG enumeration.

func (E_OpenconfigPlatformTypes_ComponentRedundantRoleSwitchoverReasonTrigger) String

String returns a logging-friendly string for E_OpenconfigPlatformTypes_ComponentRedundantRoleSwitchoverReasonTrigger.

func (E_OpenconfigPlatformTypes_ComponentRedundantRoleSwitchoverReasonTrigger) ΛMap

ΛMap returns the value lookup map associated with OpenconfigPlatformTypes_ComponentRedundantRoleSwitchoverReasonTrigger.

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_PORT corresponds to the value PORT of OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT
	OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_PORT E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT = 10
	// 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 = 11
	// 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 = 12
	// 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 = 13
	// 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 = 14
)

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) String

String returns a logging-friendly string for E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT.

func (E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT) ΛMap

Λ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_BIOS corresponds to the value BIOS of OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT
	OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT_BIOS E_OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT = 1
	// OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT_BOOT_LOADER corresponds to the value BOOT_LOADER of OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT
	OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT_BOOT_LOADER E_OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT = 2
	// 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 = 3
	// OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT_OPERATING_SYSTEM_UPDATE corresponds to the value OPERATING_SYSTEM_UPDATE of OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT
	OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT_OPERATING_SYSTEM_UPDATE E_OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT = 4
	// OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT_SOFTWARE_MODULE corresponds to the value SOFTWARE_MODULE of OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT
	OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT_SOFTWARE_MODULE E_OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT = 5
)

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) String

String returns a logging-friendly string for E_OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT.

func (E_OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT) ΛMap

ΛMap returns the value lookup map associated with OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT.

type E_OpenconfigPlatform_ComponentRedundantRole

type E_OpenconfigPlatform_ComponentRedundantRole int64

E_OpenconfigPlatform_ComponentRedundantRole is a derived int64 type which is used to represent the enumerated node OpenconfigPlatform_ComponentRedundantRole. An additional value named OpenconfigPlatform_ComponentRedundantRole_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_ComponentRedundantRole_UNSET corresponds to the value UNSET of OpenconfigPlatform_ComponentRedundantRole
	OpenconfigPlatform_ComponentRedundantRole_UNSET E_OpenconfigPlatform_ComponentRedundantRole = 0
	// OpenconfigPlatform_ComponentRedundantRole_PRIMARY corresponds to the value PRIMARY of OpenconfigPlatform_ComponentRedundantRole
	OpenconfigPlatform_ComponentRedundantRole_PRIMARY E_OpenconfigPlatform_ComponentRedundantRole = 1
	// OpenconfigPlatform_ComponentRedundantRole_SECONDARY corresponds to the value SECONDARY of OpenconfigPlatform_ComponentRedundantRole
	OpenconfigPlatform_ComponentRedundantRole_SECONDARY E_OpenconfigPlatform_ComponentRedundantRole = 2
)

func (E_OpenconfigPlatform_ComponentRedundantRole) IsYANGGoEnum

IsYANGGoEnum ensures that OpenconfigPlatform_ComponentRedundantRole implements the yang.GoEnum interface. This ensures that OpenconfigPlatform_ComponentRedundantRole can be identified as a mapped type for a YANG enumeration.

func (E_OpenconfigPlatform_ComponentRedundantRole) String

String returns a logging-friendly string for E_OpenconfigPlatform_ComponentRedundantRole.

func (E_OpenconfigPlatform_ComponentRedundantRole) ΛMap

ΛMap returns the value lookup map associated with OpenconfigPlatform_ComponentRedundantRole.

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

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) String

String returns a logging-friendly string for E_OpenconfigSystemLogging_SYSLOG_FACILITY.

func (E_OpenconfigSystemLogging_SYSLOG_FACILITY) ΛMap

Λ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

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) String

String returns a logging-friendly string for E_OpenconfigSystemLogging_SyslogSeverity.

func (E_OpenconfigSystemLogging_SyslogSeverity) ΛMap

Λ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) String

String returns a logging-friendly string for E_OpenconfigSystem_NTP_AUTH_TYPE.

func (E_OpenconfigSystem_NTP_AUTH_TYPE) ΛMap

Λ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

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) String

String returns a logging-friendly string for E_OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config_Record.

func (E_OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config_Record) ΛMap

Λ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

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) String

String returns a logging-friendly string for E_OpenconfigSystem_System_Cpus_Cpu_State_Index.

func (E_OpenconfigSystem_System_Cpus_Cpu_State_Index) ΛMap

ΛMap returns the value lookup map associated with OpenconfigSystem_System_Cpus_Cpu_State_Index.

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

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) String

String returns a logging-friendly string for E_OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType.

func (E_OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType) ΛMap

Λ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

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) String

String returns a logging-friendly string for E_OpenconfigSystem_System_SshServer_Config_ProtocolVersion.

func (E_OpenconfigSystem_System_SshServer_Config_ProtocolVersion) ΛMap

ΛMap returns the value lookup map associated with OpenconfigSystem_System_SshServer_Config_ProtocolVersion.

type OpenconfigInterfaces_Interfaces

type OpenconfigInterfaces_Interfaces struct {
	Interface map[string]*OpenconfigInterfaces_Interfaces_Interface `path:"interface" module:"openconfig-interfaces"`
}

OpenconfigInterfaces_Interfaces represents the /openconfig-interfaces/interfaces YANG schema element.

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

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) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigInterfaces_Interfaces) ΛBelongingModule

func (*OpenconfigInterfaces_Interfaces) ΛBelongingModule() string

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigInterfaces_Interfaces.

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.

func (*OpenconfigInterfaces_Interfaces) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigInterfaces_Interfaces_Interface

type OpenconfigInterfaces_Interfaces_Interface struct {
	Config        *OpenconfigInterfaces_Interfaces_Interface_Config        `path:"config" module:"openconfig-interfaces"`
	HoldTime      *OpenconfigInterfaces_Interfaces_Interface_HoldTime      `path:"hold-time" module:"openconfig-interfaces"`
	Name          *string                                                  `path:"name" module:"openconfig-interfaces"`
	State         *OpenconfigInterfaces_Interfaces_Interface_State         `path:"state" module:"openconfig-interfaces"`
	Subinterfaces *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces `path:"subinterfaces" module:"openconfig-interfaces"`
}

OpenconfigInterfaces_Interfaces_Interface represents the /openconfig-interfaces/interfaces/interface YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigInterfaces_Interfaces_Interface) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigInterfaces_Interfaces_Interface.

func (*OpenconfigInterfaces_Interfaces_Interface) ΛEnumTypeMap

Λ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.

func (*OpenconfigInterfaces_Interfaces_Interface) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigInterfaces_Interfaces_Interface_Config

type OpenconfigInterfaces_Interfaces_Interface_Config struct {
	Description  *string                        `path:"description" module:"openconfig-interfaces"`
	Enabled      *bool                          `path:"enabled" module:"openconfig-interfaces"`
	LoopbackMode *bool                          `path:"loopback-mode" module:"openconfig-interfaces"`
	Mtu          *uint16                        `path:"mtu" module:"openconfig-interfaces"`
	Name         *string                        `path:"name" module:"openconfig-interfaces"`
	Type         E_IETFInterfaces_InterfaceType `path:"type" module:"openconfig-interfaces"`
}

OpenconfigInterfaces_Interfaces_Interface_Config represents the /openconfig-interfaces/interfaces/interface/config YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigInterfaces_Interfaces_Interface_Config) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigInterfaces_Interfaces_Interface_Config.

func (*OpenconfigInterfaces_Interfaces_Interface_Config) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigInterfaces_Interfaces_Interface_Config) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigInterfaces_Interfaces_Interface_HoldTime

type OpenconfigInterfaces_Interfaces_Interface_HoldTime struct {
	Config *OpenconfigInterfaces_Interfaces_Interface_HoldTime_Config `path:"config" module:"openconfig-interfaces"`
	State  *OpenconfigInterfaces_Interfaces_Interface_HoldTime_State  `path:"state" module:"openconfig-interfaces"`
}

OpenconfigInterfaces_Interfaces_Interface_HoldTime represents the /openconfig-interfaces/interfaces/interface/hold-time YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigInterfaces_Interfaces_Interface_HoldTime) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigInterfaces_Interfaces_Interface_HoldTime.

func (*OpenconfigInterfaces_Interfaces_Interface_HoldTime) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigInterfaces_Interfaces_Interface_HoldTime) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigInterfaces_Interfaces_Interface_HoldTime_Config

type OpenconfigInterfaces_Interfaces_Interface_HoldTime_Config struct {
	Down *uint32 `path:"down" module:"openconfig-interfaces"`
	Up   *uint32 `path:"up" module:"openconfig-interfaces"`
}

OpenconfigInterfaces_Interfaces_Interface_HoldTime_Config represents the /openconfig-interfaces/interfaces/interface/hold-time/config YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigInterfaces_Interfaces_Interface_HoldTime_Config) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigInterfaces_Interfaces_Interface_HoldTime_Config.

func (*OpenconfigInterfaces_Interfaces_Interface_HoldTime_Config) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigInterfaces_Interfaces_Interface_HoldTime_Config) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigInterfaces_Interfaces_Interface_HoldTime_State

type OpenconfigInterfaces_Interfaces_Interface_HoldTime_State struct {
	Down *uint32 `path:"down" module:"openconfig-interfaces"`
	Up   *uint32 `path:"up" module:"openconfig-interfaces"`
}

OpenconfigInterfaces_Interfaces_Interface_HoldTime_State represents the /openconfig-interfaces/interfaces/interface/hold-time/state YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigInterfaces_Interfaces_Interface_HoldTime_State) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigInterfaces_Interfaces_Interface_HoldTime_State.

func (*OpenconfigInterfaces_Interfaces_Interface_HoldTime_State) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigInterfaces_Interfaces_Interface_HoldTime_State) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigInterfaces_Interfaces_Interface_State

type OpenconfigInterfaces_Interfaces_Interface_State struct {
	AdminStatus  E_OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus `path:"admin-status" module:"openconfig-interfaces"`
	Counters     *OpenconfigInterfaces_Interfaces_Interface_State_Counters     `path:"counters" module:"openconfig-interfaces"`
	Cpu          *bool                                                         `path:"cpu" module:"openconfig-interfaces"`
	Description  *string                                                       `path:"description" module:"openconfig-interfaces"`
	Enabled      *bool                                                         `path:"enabled" module:"openconfig-interfaces"`
	Ifindex      *uint32                                                       `path:"ifindex" module:"openconfig-interfaces"`
	LastChange   *uint64                                                       `path:"last-change" module:"openconfig-interfaces"`
	Logical      *bool                                                         `path:"logical" module:"openconfig-interfaces"`
	LoopbackMode *bool                                                         `path:"loopback-mode" module:"openconfig-interfaces"`
	Management   *bool                                                         `path:"management" module:"openconfig-interfaces"`
	Mtu          *uint16                                                       `path:"mtu" module:"openconfig-interfaces"`
	Name         *string                                                       `path:"name" module:"openconfig-interfaces"`
	OperStatus   E_OpenconfigInterfaces_Interfaces_Interface_State_OperStatus  `path:"oper-status" module:"openconfig-interfaces"`
	Type         E_IETFInterfaces_InterfaceType                                `path:"type" module:"openconfig-interfaces"`
}

OpenconfigInterfaces_Interfaces_Interface_State represents the /openconfig-interfaces/interfaces/interface/state YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigInterfaces_Interfaces_Interface_State) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigInterfaces_Interfaces_Interface_State.

func (*OpenconfigInterfaces_Interfaces_Interface_State) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigInterfaces_Interfaces_Interface_State) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigInterfaces_Interfaces_Interface_State_Counters

type OpenconfigInterfaces_Interfaces_Interface_State_Counters struct {
	CarrierTransitions *uint64 `path:"carrier-transitions" module:"openconfig-interfaces"`
	InBroadcastPkts    *uint64 `path:"in-broadcast-pkts" module:"openconfig-interfaces"`
	InDiscards         *uint64 `path:"in-discards" module:"openconfig-interfaces"`
	InErrors           *uint64 `path:"in-errors" module:"openconfig-interfaces"`
	InFcsErrors        *uint64 `path:"in-fcs-errors" module:"openconfig-interfaces"`
	InMulticastPkts    *uint64 `path:"in-multicast-pkts" module:"openconfig-interfaces"`
	InOctets           *uint64 `path:"in-octets" module:"openconfig-interfaces"`
	InPkts             *uint64 `path:"in-pkts" module:"openconfig-interfaces"`
	InUnicastPkts      *uint64 `path:"in-unicast-pkts" module:"openconfig-interfaces"`
	InUnknownProtos    *uint64 `path:"in-unknown-protos" module:"openconfig-interfaces"`
	LastClear          *uint64 `path:"last-clear" module:"openconfig-interfaces"`
	OutBroadcastPkts   *uint64 `path:"out-broadcast-pkts" module:"openconfig-interfaces"`
	OutDiscards        *uint64 `path:"out-discards" module:"openconfig-interfaces"`
	OutErrors          *uint64 `path:"out-errors" module:"openconfig-interfaces"`
	OutMulticastPkts   *uint64 `path:"out-multicast-pkts" module:"openconfig-interfaces"`
	OutOctets          *uint64 `path:"out-octets" module:"openconfig-interfaces"`
	OutPkts            *uint64 `path:"out-pkts" module:"openconfig-interfaces"`
	OutUnicastPkts     *uint64 `path:"out-unicast-pkts" module:"openconfig-interfaces"`
}

OpenconfigInterfaces_Interfaces_Interface_State_Counters represents the /openconfig-interfaces/interfaces/interface/state/counters YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigInterfaces_Interfaces_Interface_State_Counters) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigInterfaces_Interfaces_Interface_State_Counters.

func (*OpenconfigInterfaces_Interfaces_Interface_State_Counters) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigInterfaces_Interfaces_Interface_State_Counters) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigInterfaces_Interfaces_Interface_Subinterfaces

type OpenconfigInterfaces_Interfaces_Interface_Subinterfaces struct {
	Subinterface map[uint32]*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface `path:"subinterface" module:"openconfig-interfaces"`
}

OpenconfigInterfaces_Interfaces_Interface_Subinterfaces represents the /openconfig-interfaces/interfaces/interface/subinterfaces YANG schema element.

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

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) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigInterfaces_Interfaces_Interface_Subinterfaces.

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces) ΛEnumTypeMap

Λ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) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface

type OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface struct {
	Config *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_Config `path:"config" module:"openconfig-interfaces"`
	Index  *uint32                                                                      `path:"index" module:"openconfig-interfaces"`
	State  *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State  `path:"state" module:"openconfig-interfaces"`
}

OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface represents the /openconfig-interfaces/interfaces/interface/subinterfaces/subinterface YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface.

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface) ΛEnumTypeMap

Λ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

ΛListKeyMap returns the keys of the OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface struct, which is a YANG list entry.

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_Config

type OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_Config struct {
	Description *string `path:"description" module:"openconfig-interfaces"`
	Enabled     *bool   `path:"enabled" module:"openconfig-interfaces"`
	Index       *uint32 `path:"index" module:"openconfig-interfaces"`
}

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) 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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_Config) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_Config.

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_Config) ΛEnumTypeMap

Λ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_Config) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State

type OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State struct {
	AdminStatus E_OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus                        `path:"admin-status" module:"openconfig-interfaces"`
	Counters    *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters `path:"counters" module:"openconfig-interfaces"`
	Cpu         *bool                                                                                `path:"cpu" module:"openconfig-interfaces"`
	Description *string                                                                              `path:"description" module:"openconfig-interfaces"`
	Enabled     *bool                                                                                `path:"enabled" module:"openconfig-interfaces"`
	Ifindex     *uint32                                                                              `path:"ifindex" module:"openconfig-interfaces"`
	Index       *uint32                                                                              `path:"index" module:"openconfig-interfaces"`
	LastChange  *uint64                                                                              `path:"last-change" module:"openconfig-interfaces"`
	Logical     *bool                                                                                `path:"logical" module:"openconfig-interfaces"`
	Management  *bool                                                                                `path:"management" module:"openconfig-interfaces"`
	Name        *string                                                                              `path:"name" module:"openconfig-interfaces"`
	OperStatus  E_OpenconfigInterfaces_Interfaces_Interface_State_OperStatus                         `path:"oper-status" module:"openconfig-interfaces"`
}

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) 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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State.

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State) ΛEnumTypeMap

Λ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_State) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters

type OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters struct {
	CarrierTransitions *uint64 `path:"carrier-transitions" module:"openconfig-interfaces"`
	InBroadcastPkts    *uint64 `path:"in-broadcast-pkts" module:"openconfig-interfaces"`
	InDiscards         *uint64 `path:"in-discards" module:"openconfig-interfaces"`
	InErrors           *uint64 `path:"in-errors" module:"openconfig-interfaces"`
	InFcsErrors        *uint64 `path:"in-fcs-errors" module:"openconfig-interfaces"`
	InMulticastPkts    *uint64 `path:"in-multicast-pkts" module:"openconfig-interfaces"`
	InOctets           *uint64 `path:"in-octets" module:"openconfig-interfaces"`
	InPkts             *uint64 `path:"in-pkts" module:"openconfig-interfaces"`
	InUnicastPkts      *uint64 `path:"in-unicast-pkts" module:"openconfig-interfaces"`
	InUnknownProtos    *uint64 `path:"in-unknown-protos" module:"openconfig-interfaces"`
	LastClear          *uint64 `path:"last-clear" module:"openconfig-interfaces"`
	OutBroadcastPkts   *uint64 `path:"out-broadcast-pkts" module:"openconfig-interfaces"`
	OutDiscards        *uint64 `path:"out-discards" module:"openconfig-interfaces"`
	OutErrors          *uint64 `path:"out-errors" module:"openconfig-interfaces"`
	OutMulticastPkts   *uint64 `path:"out-multicast-pkts" module:"openconfig-interfaces"`
	OutOctets          *uint64 `path:"out-octets" module:"openconfig-interfaces"`
	OutPkts            *uint64 `path:"out-pkts" module:"openconfig-interfaces"`
	OutUnicastPkts     *uint64 `path:"out-unicast-pkts" module:"openconfig-interfaces"`
}

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) 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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters.

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) ΛEnumTypeMap

Λ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_State_Counters) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigMessages_Messages

type OpenconfigMessages_Messages struct {
	Config       *OpenconfigMessages_Messages_Config       `path:"config" module:"openconfig-messages"`
	DebugEntries *OpenconfigMessages_Messages_DebugEntries `path:"debug-entries" module:"openconfig-messages"`
	State        *OpenconfigMessages_Messages_State        `path:"state" module:"openconfig-messages"`
}

OpenconfigMessages_Messages represents the /openconfig-messages/messages YANG schema element.

func (*OpenconfigMessages_Messages) IsYANGGoStruct

func (*OpenconfigMessages_Messages) IsYANGGoStruct()

IsYANGGoStruct ensures that OpenconfigMessages_Messages implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigMessages_Messages) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigMessages_Messages) ΛBelongingModule

func (*OpenconfigMessages_Messages) ΛBelongingModule() string

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigMessages_Messages.

func (*OpenconfigMessages_Messages) ΛEnumTypeMap

func (t *OpenconfigMessages_Messages) ΛEnumTypeMap() 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 (*OpenconfigMessages_Messages) ΛValidate

func (t *OpenconfigMessages_Messages) ΛValidate(opts ...ygot.ValidationOption) error

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigMessages_Messages_Config

type OpenconfigMessages_Messages_Config struct {
	Severity E_OpenconfigMessages_SyslogSeverity `path:"severity" module:"openconfig-messages"`
}

OpenconfigMessages_Messages_Config represents the /openconfig-messages/messages/config YANG schema element.

func (*OpenconfigMessages_Messages_Config) IsYANGGoStruct

func (*OpenconfigMessages_Messages_Config) IsYANGGoStruct()

IsYANGGoStruct ensures that OpenconfigMessages_Messages_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigMessages_Messages_Config) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigMessages_Messages_Config) ΛBelongingModule

func (*OpenconfigMessages_Messages_Config) ΛBelongingModule() string

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigMessages_Messages_Config.

func (*OpenconfigMessages_Messages_Config) ΛEnumTypeMap

func (t *OpenconfigMessages_Messages_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.

func (*OpenconfigMessages_Messages_Config) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigMessages_Messages_DebugEntries

type OpenconfigMessages_Messages_DebugEntries struct {
	DebugService map[E_OpenconfigMessages_DEBUG_SERVICE]*OpenconfigMessages_Messages_DebugEntries_DebugService `path:"debug-service" module:"openconfig-messages"`
}

OpenconfigMessages_Messages_DebugEntries represents the /openconfig-messages/messages/debug-entries YANG schema element.

func (*OpenconfigMessages_Messages_DebugEntries) IsYANGGoStruct

func (*OpenconfigMessages_Messages_DebugEntries) IsYANGGoStruct()

IsYANGGoStruct ensures that OpenconfigMessages_Messages_DebugEntries implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigMessages_Messages_DebugEntries) NewDebugService

NewDebugService creates a new entry in the DebugService list of the OpenconfigMessages_Messages_DebugEntries struct. The keys of the list are populated from the input arguments.

func (*OpenconfigMessages_Messages_DebugEntries) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigMessages_Messages_DebugEntries) ΛBelongingModule

func (*OpenconfigMessages_Messages_DebugEntries) ΛBelongingModule() string

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigMessages_Messages_DebugEntries.

func (*OpenconfigMessages_Messages_DebugEntries) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigMessages_Messages_DebugEntries) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigMessages_Messages_DebugEntries_DebugService

type OpenconfigMessages_Messages_DebugEntries_DebugService struct {
	Config  *OpenconfigMessages_Messages_DebugEntries_DebugService_Config `path:"config" module:"openconfig-messages"`
	Service E_OpenconfigMessages_DEBUG_SERVICE                            `path:"service" module:"openconfig-messages"`
	State   *OpenconfigMessages_Messages_DebugEntries_DebugService_State  `path:"state" module:"openconfig-messages"`
}

OpenconfigMessages_Messages_DebugEntries_DebugService represents the /openconfig-messages/messages/debug-entries/debug-service YANG schema element.

func (*OpenconfigMessages_Messages_DebugEntries_DebugService) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigMessages_Messages_DebugEntries_DebugService implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigMessages_Messages_DebugEntries_DebugService) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigMessages_Messages_DebugEntries_DebugService) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigMessages_Messages_DebugEntries_DebugService.

func (*OpenconfigMessages_Messages_DebugEntries_DebugService) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigMessages_Messages_DebugEntries_DebugService) ΛListKeyMap

func (t *OpenconfigMessages_Messages_DebugEntries_DebugService) ΛListKeyMap() (map[string]interface{}, error)

ΛListKeyMap returns the keys of the OpenconfigMessages_Messages_DebugEntries_DebugService struct, which is a YANG list entry.

func (*OpenconfigMessages_Messages_DebugEntries_DebugService) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigMessages_Messages_DebugEntries_DebugService_Config

type OpenconfigMessages_Messages_DebugEntries_DebugService_Config struct {
	Enabled *bool                              `path:"enabled" module:"openconfig-messages"`
	Service E_OpenconfigMessages_DEBUG_SERVICE `path:"service" module:"openconfig-messages"`
}

OpenconfigMessages_Messages_DebugEntries_DebugService_Config represents the /openconfig-messages/messages/debug-entries/debug-service/config YANG schema element.

func (*OpenconfigMessages_Messages_DebugEntries_DebugService_Config) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigMessages_Messages_DebugEntries_DebugService_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigMessages_Messages_DebugEntries_DebugService_Config) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigMessages_Messages_DebugEntries_DebugService_Config) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigMessages_Messages_DebugEntries_DebugService_Config.

func (*OpenconfigMessages_Messages_DebugEntries_DebugService_Config) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigMessages_Messages_DebugEntries_DebugService_Config) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigMessages_Messages_DebugEntries_DebugService_State

type OpenconfigMessages_Messages_DebugEntries_DebugService_State struct {
	Enabled *bool                              `path:"enabled" module:"openconfig-messages"`
	Service E_OpenconfigMessages_DEBUG_SERVICE `path:"service" module:"openconfig-messages"`
}

OpenconfigMessages_Messages_DebugEntries_DebugService_State represents the /openconfig-messages/messages/debug-entries/debug-service/state YANG schema element.

func (*OpenconfigMessages_Messages_DebugEntries_DebugService_State) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigMessages_Messages_DebugEntries_DebugService_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigMessages_Messages_DebugEntries_DebugService_State) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigMessages_Messages_DebugEntries_DebugService_State) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigMessages_Messages_DebugEntries_DebugService_State.

func (*OpenconfigMessages_Messages_DebugEntries_DebugService_State) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigMessages_Messages_DebugEntries_DebugService_State) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigMessages_Messages_State

type OpenconfigMessages_Messages_State struct {
	Message  *OpenconfigMessages_Messages_State_Message `path:"message" module:"openconfig-messages"`
	Severity E_OpenconfigMessages_SyslogSeverity        `path:"severity" module:"openconfig-messages"`
}

OpenconfigMessages_Messages_State represents the /openconfig-messages/messages/state YANG schema element.

func (*OpenconfigMessages_Messages_State) IsYANGGoStruct

func (*OpenconfigMessages_Messages_State) IsYANGGoStruct()

IsYANGGoStruct ensures that OpenconfigMessages_Messages_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigMessages_Messages_State) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigMessages_Messages_State) ΛBelongingModule

func (*OpenconfigMessages_Messages_State) ΛBelongingModule() string

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigMessages_Messages_State.

func (*OpenconfigMessages_Messages_State) ΛEnumTypeMap

func (t *OpenconfigMessages_Messages_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.

func (*OpenconfigMessages_Messages_State) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigMessages_Messages_State_Message

type OpenconfigMessages_Messages_State_Message struct {
	AppName  *string `path:"app-name" module:"openconfig-messages"`
	Msg      *string `path:"msg" module:"openconfig-messages"`
	Msgid    *string `path:"msgid" module:"openconfig-messages"`
	Priority *uint8  `path:"priority" module:"openconfig-messages"`
	Procid   *string `path:"procid" module:"openconfig-messages"`
}

OpenconfigMessages_Messages_State_Message represents the /openconfig-messages/messages/state/message YANG schema element.

func (*OpenconfigMessages_Messages_State_Message) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigMessages_Messages_State_Message implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigMessages_Messages_State_Message) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigMessages_Messages_State_Message) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigMessages_Messages_State_Message.

func (*OpenconfigMessages_Messages_State_Message) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigMessages_Messages_State_Message) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigPlatform_Components

type OpenconfigPlatform_Components struct {
	Component map[string]*OpenconfigPlatform_Components_Component `path:"component" module:"openconfig-platform"`
}

OpenconfigPlatform_Components represents the /openconfig-platform/components YANG schema element.

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

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) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigPlatform_Components) ΛBelongingModule

func (*OpenconfigPlatform_Components) ΛBelongingModule() string

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigPlatform_Components.

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.

func (*OpenconfigPlatform_Components) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigPlatform_Components_Component

type OpenconfigPlatform_Components_Component struct {
	Backplane         *OpenconfigPlatform_Components_Component_Backplane         `path:"backplane" module:"openconfig-platform"`
	Chassis           *OpenconfigPlatform_Components_Component_Chassis           `path:"chassis" module:"openconfig-platform"`
	Config            *OpenconfigPlatform_Components_Component_Config            `path:"config" module:"openconfig-platform"`
	Cpu               *OpenconfigPlatform_Components_Component_Cpu               `path:"cpu" module:"openconfig-platform"`
	Fabric            *OpenconfigPlatform_Components_Component_Fabric            `path:"fabric" module:"openconfig-platform"`
	Fan               *OpenconfigPlatform_Components_Component_Fan               `path:"fan" module:"openconfig-platform"`
	IntegratedCircuit *OpenconfigPlatform_Components_Component_IntegratedCircuit `path:"integrated-circuit" module:"openconfig-platform"`
	Name              *string                                                    `path:"name" module:"openconfig-platform"`
	Port              *OpenconfigPlatform_Components_Component_Port              `path:"port" module:"openconfig-platform"`
	PowerSupply       *OpenconfigPlatform_Components_Component_PowerSupply       `path:"power-supply" module:"openconfig-platform"`
	Properties        *OpenconfigPlatform_Components_Component_Properties        `path:"properties" module:"openconfig-platform"`
	SoftwareModule    *OpenconfigPlatform_Components_Component_SoftwareModule    `path:"software-module" module:"openconfig-platform"`
	State             *OpenconfigPlatform_Components_Component_State             `path:"state" module:"openconfig-platform"`
	Storage           *OpenconfigPlatform_Components_Component_Storage           `path:"storage" module:"openconfig-platform"`
	Subcomponents     *OpenconfigPlatform_Components_Component_Subcomponents     `path:"subcomponents" module:"openconfig-platform"`
}

OpenconfigPlatform_Components_Component represents the /openconfig-platform/components/component YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigPlatform_Components_Component) ΛBelongingModule

func (*OpenconfigPlatform_Components_Component) ΛBelongingModule() string

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigPlatform_Components_Component.

func (*OpenconfigPlatform_Components_Component) ΛEnumTypeMap

Λ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.

func (*OpenconfigPlatform_Components_Component) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigPlatform_Components_Component_Backplane

type OpenconfigPlatform_Components_Component_Backplane struct {
	Config *OpenconfigPlatform_Components_Component_Backplane_Config `path:"config" module:"openconfig-platform"`
	State  *OpenconfigPlatform_Components_Component_Backplane_State  `path:"state" module:"openconfig-platform"`
}

OpenconfigPlatform_Components_Component_Backplane represents the /openconfig-platform/components/component/backplane YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigPlatform_Components_Component_Backplane) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigPlatform_Components_Component_Backplane.

func (*OpenconfigPlatform_Components_Component_Backplane) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigPlatform_Components_Component_Backplane) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigPlatform_Components_Component_Backplane_Config

type OpenconfigPlatform_Components_Component_Backplane_Config struct {
}

OpenconfigPlatform_Components_Component_Backplane_Config represents the /openconfig-platform/components/component/backplane/config YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigPlatform_Components_Component_Backplane_Config) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigPlatform_Components_Component_Backplane_Config.

func (*OpenconfigPlatform_Components_Component_Backplane_Config) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigPlatform_Components_Component_Backplane_Config) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigPlatform_Components_Component_Backplane_State

type OpenconfigPlatform_Components_Component_Backplane_State struct {
}

OpenconfigPlatform_Components_Component_Backplane_State represents the /openconfig-platform/components/component/backplane/state YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigPlatform_Components_Component_Backplane_State) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigPlatform_Components_Component_Backplane_State.

func (*OpenconfigPlatform_Components_Component_Backplane_State) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigPlatform_Components_Component_Backplane_State) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigPlatform_Components_Component_Chassis

type OpenconfigPlatform_Components_Component_Chassis struct {
	Config *OpenconfigPlatform_Components_Component_Chassis_Config `path:"config" module:"openconfig-platform"`
	State  *OpenconfigPlatform_Components_Component_Chassis_State  `path:"state" module:"openconfig-platform"`
}

OpenconfigPlatform_Components_Component_Chassis represents the /openconfig-platform/components/component/chassis YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigPlatform_Components_Component_Chassis) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigPlatform_Components_Component_Chassis.

func (*OpenconfigPlatform_Components_Component_Chassis) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigPlatform_Components_Component_Chassis) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigPlatform_Components_Component_Chassis_Config

type OpenconfigPlatform_Components_Component_Chassis_Config struct {
}

OpenconfigPlatform_Components_Component_Chassis_Config represents the /openconfig-platform/components/component/chassis/config YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigPlatform_Components_Component_Chassis_Config) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigPlatform_Components_Component_Chassis_Config.

func (*OpenconfigPlatform_Components_Component_Chassis_Config) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigPlatform_Components_Component_Chassis_Config) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigPlatform_Components_Component_Chassis_State

type OpenconfigPlatform_Components_Component_Chassis_State struct {
}

OpenconfigPlatform_Components_Component_Chassis_State represents the /openconfig-platform/components/component/chassis/state YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigPlatform_Components_Component_Chassis_State) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigPlatform_Components_Component_Chassis_State.

func (*OpenconfigPlatform_Components_Component_Chassis_State) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigPlatform_Components_Component_Chassis_State) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigPlatform_Components_Component_Config

type OpenconfigPlatform_Components_Component_Config struct {
	Name *string `path:"name" module:"openconfig-platform"`
}

OpenconfigPlatform_Components_Component_Config represents the /openconfig-platform/components/component/config YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigPlatform_Components_Component_Config) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigPlatform_Components_Component_Config.

func (*OpenconfigPlatform_Components_Component_Config) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigPlatform_Components_Component_Config) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigPlatform_Components_Component_Cpu

type OpenconfigPlatform_Components_Component_Cpu struct {
	Config *OpenconfigPlatform_Components_Component_Cpu_Config `path:"config" module:"openconfig-platform"`
	State  *OpenconfigPlatform_Components_Component_Cpu_State  `path:"state" module:"openconfig-platform"`
}

OpenconfigPlatform_Components_Component_Cpu represents the /openconfig-platform/components/component/cpu YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigPlatform_Components_Component_Cpu) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigPlatform_Components_Component_Cpu.

func (*OpenconfigPlatform_Components_Component_Cpu) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigPlatform_Components_Component_Cpu) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigPlatform_Components_Component_Cpu_Config

type OpenconfigPlatform_Components_Component_Cpu_Config struct {
}

OpenconfigPlatform_Components_Component_Cpu_Config represents the /openconfig-platform/components/component/cpu/config YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigPlatform_Components_Component_Cpu_Config) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigPlatform_Components_Component_Cpu_Config.

func (*OpenconfigPlatform_Components_Component_Cpu_Config) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigPlatform_Components_Component_Cpu_Config) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigPlatform_Components_Component_Cpu_State

type OpenconfigPlatform_Components_Component_Cpu_State struct {
}

OpenconfigPlatform_Components_Component_Cpu_State represents the /openconfig-platform/components/component/cpu/state YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigPlatform_Components_Component_Cpu_State) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigPlatform_Components_Component_Cpu_State.

func (*OpenconfigPlatform_Components_Component_Cpu_State) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigPlatform_Components_Component_Cpu_State) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigPlatform_Components_Component_Fabric

type OpenconfigPlatform_Components_Component_Fabric struct {
	Config *OpenconfigPlatform_Components_Component_Fabric_Config `path:"config" module:"openconfig-platform"`
	State  *OpenconfigPlatform_Components_Component_Fabric_State  `path:"state" module:"openconfig-platform"`
}

OpenconfigPlatform_Components_Component_Fabric represents the /openconfig-platform/components/component/fabric YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigPlatform_Components_Component_Fabric) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigPlatform_Components_Component_Fabric.

func (*OpenconfigPlatform_Components_Component_Fabric) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigPlatform_Components_Component_Fabric) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigPlatform_Components_Component_Fabric_Config

type OpenconfigPlatform_Components_Component_Fabric_Config struct {
}

OpenconfigPlatform_Components_Component_Fabric_Config represents the /openconfig-platform/components/component/fabric/config YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigPlatform_Components_Component_Fabric_Config) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigPlatform_Components_Component_Fabric_Config.

func (*OpenconfigPlatform_Components_Component_Fabric_Config) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigPlatform_Components_Component_Fabric_Config) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigPlatform_Components_Component_Fabric_State

type OpenconfigPlatform_Components_Component_Fabric_State struct {
}

OpenconfigPlatform_Components_Component_Fabric_State represents the /openconfig-platform/components/component/fabric/state YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigPlatform_Components_Component_Fabric_State) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigPlatform_Components_Component_Fabric_State.

func (*OpenconfigPlatform_Components_Component_Fabric_State) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigPlatform_Components_Component_Fabric_State) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigPlatform_Components_Component_Fan

type OpenconfigPlatform_Components_Component_Fan struct {
	Config *OpenconfigPlatform_Components_Component_Fan_Config `path:"config" module:"openconfig-platform"`
	State  *OpenconfigPlatform_Components_Component_Fan_State  `path:"state" module:"openconfig-platform"`
}

OpenconfigPlatform_Components_Component_Fan represents the /openconfig-platform/components/component/fan YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigPlatform_Components_Component_Fan) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigPlatform_Components_Component_Fan.

func (*OpenconfigPlatform_Components_Component_Fan) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigPlatform_Components_Component_Fan) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigPlatform_Components_Component_Fan_Config

type OpenconfigPlatform_Components_Component_Fan_Config struct {
}

OpenconfigPlatform_Components_Component_Fan_Config represents the /openconfig-platform/components/component/fan/config YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigPlatform_Components_Component_Fan_Config) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigPlatform_Components_Component_Fan_Config.

func (*OpenconfigPlatform_Components_Component_Fan_Config) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigPlatform_Components_Component_Fan_Config) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigPlatform_Components_Component_Fan_State

type OpenconfigPlatform_Components_Component_Fan_State struct {
}

OpenconfigPlatform_Components_Component_Fan_State represents the /openconfig-platform/components/component/fan/state YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigPlatform_Components_Component_Fan_State) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigPlatform_Components_Component_Fan_State.

func (*OpenconfigPlatform_Components_Component_Fan_State) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigPlatform_Components_Component_Fan_State) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigPlatform_Components_Component_IntegratedCircuit

type OpenconfigPlatform_Components_Component_IntegratedCircuit struct {
	Config *OpenconfigPlatform_Components_Component_IntegratedCircuit_Config `path:"config" module:"openconfig-platform"`
	State  *OpenconfigPlatform_Components_Component_IntegratedCircuit_State  `path:"state" module:"openconfig-platform"`
}

OpenconfigPlatform_Components_Component_IntegratedCircuit represents the /openconfig-platform/components/component/integrated-circuit YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigPlatform_Components_Component_IntegratedCircuit) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigPlatform_Components_Component_IntegratedCircuit.

func (*OpenconfigPlatform_Components_Component_IntegratedCircuit) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigPlatform_Components_Component_IntegratedCircuit) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigPlatform_Components_Component_IntegratedCircuit_Config

type OpenconfigPlatform_Components_Component_IntegratedCircuit_Config struct {
}

OpenconfigPlatform_Components_Component_IntegratedCircuit_Config represents the /openconfig-platform/components/component/integrated-circuit/config YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigPlatform_Components_Component_IntegratedCircuit_Config) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigPlatform_Components_Component_IntegratedCircuit_Config.

func (*OpenconfigPlatform_Components_Component_IntegratedCircuit_Config) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigPlatform_Components_Component_IntegratedCircuit_Config) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigPlatform_Components_Component_IntegratedCircuit_State

type OpenconfigPlatform_Components_Component_IntegratedCircuit_State struct {
}

OpenconfigPlatform_Components_Component_IntegratedCircuit_State represents the /openconfig-platform/components/component/integrated-circuit/state YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigPlatform_Components_Component_IntegratedCircuit_State) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigPlatform_Components_Component_IntegratedCircuit_State.

func (*OpenconfigPlatform_Components_Component_IntegratedCircuit_State) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigPlatform_Components_Component_IntegratedCircuit_State) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigPlatform_Components_Component_Port

type OpenconfigPlatform_Components_Component_Port struct {
	Config *OpenconfigPlatform_Components_Component_Port_Config `path:"config" module:"openconfig-platform"`
	State  *OpenconfigPlatform_Components_Component_Port_State  `path:"state" module:"openconfig-platform"`
}

OpenconfigPlatform_Components_Component_Port represents the /openconfig-platform/components/component/port YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigPlatform_Components_Component_Port) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigPlatform_Components_Component_Port.

func (*OpenconfigPlatform_Components_Component_Port) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigPlatform_Components_Component_Port) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigPlatform_Components_Component_Port_Config

type OpenconfigPlatform_Components_Component_Port_Config struct {
}

OpenconfigPlatform_Components_Component_Port_Config represents the /openconfig-platform/components/component/port/config YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigPlatform_Components_Component_Port_Config) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigPlatform_Components_Component_Port_Config.

func (*OpenconfigPlatform_Components_Component_Port_Config) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigPlatform_Components_Component_Port_Config) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigPlatform_Components_Component_Port_State

type OpenconfigPlatform_Components_Component_Port_State struct {
}

OpenconfigPlatform_Components_Component_Port_State represents the /openconfig-platform/components/component/port/state YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigPlatform_Components_Component_Port_State) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigPlatform_Components_Component_Port_State.

func (*OpenconfigPlatform_Components_Component_Port_State) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigPlatform_Components_Component_Port_State) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigPlatform_Components_Component_PowerSupply

type OpenconfigPlatform_Components_Component_PowerSupply struct {
	Config *OpenconfigPlatform_Components_Component_PowerSupply_Config `path:"config" module:"openconfig-platform"`
	State  *OpenconfigPlatform_Components_Component_PowerSupply_State  `path:"state" module:"openconfig-platform"`
}

OpenconfigPlatform_Components_Component_PowerSupply represents the /openconfig-platform/components/component/power-supply YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigPlatform_Components_Component_PowerSupply) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigPlatform_Components_Component_PowerSupply.

func (*OpenconfigPlatform_Components_Component_PowerSupply) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigPlatform_Components_Component_PowerSupply) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigPlatform_Components_Component_PowerSupply_Config

type OpenconfigPlatform_Components_Component_PowerSupply_Config struct {
}

OpenconfigPlatform_Components_Component_PowerSupply_Config represents the /openconfig-platform/components/component/power-supply/config YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigPlatform_Components_Component_PowerSupply_Config) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigPlatform_Components_Component_PowerSupply_Config.

func (*OpenconfigPlatform_Components_Component_PowerSupply_Config) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigPlatform_Components_Component_PowerSupply_Config) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigPlatform_Components_Component_PowerSupply_State

type OpenconfigPlatform_Components_Component_PowerSupply_State struct {
}

OpenconfigPlatform_Components_Component_PowerSupply_State represents the /openconfig-platform/components/component/power-supply/state YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigPlatform_Components_Component_PowerSupply_State) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigPlatform_Components_Component_PowerSupply_State.

func (*OpenconfigPlatform_Components_Component_PowerSupply_State) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigPlatform_Components_Component_PowerSupply_State) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigPlatform_Components_Component_Properties

type OpenconfigPlatform_Components_Component_Properties struct {
	Property map[string]*OpenconfigPlatform_Components_Component_Properties_Property `path:"property" module:"openconfig-platform"`
}

OpenconfigPlatform_Components_Component_Properties represents the /openconfig-platform/components/component/properties YANG schema element.

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

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) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigPlatform_Components_Component_Properties) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigPlatform_Components_Component_Properties.

func (*OpenconfigPlatform_Components_Component_Properties) ΛEnumTypeMap

Λ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) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigPlatform_Components_Component_Properties_Property

type OpenconfigPlatform_Components_Component_Properties_Property struct {
	Config *OpenconfigPlatform_Components_Component_Properties_Property_Config `path:"config" module:"openconfig-platform"`
	Name   *string                                                             `path:"name" module:"openconfig-platform"`
	State  *OpenconfigPlatform_Components_Component_Properties_Property_State  `path:"state" module:"openconfig-platform"`
}

OpenconfigPlatform_Components_Component_Properties_Property represents the /openconfig-platform/components/component/properties/property YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigPlatform_Components_Component_Properties_Property) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigPlatform_Components_Component_Properties_Property.

func (*OpenconfigPlatform_Components_Component_Properties_Property) ΛEnumTypeMap

Λ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.

func (*OpenconfigPlatform_Components_Component_Properties_Property) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigPlatform_Components_Component_Properties_Property_Config

type OpenconfigPlatform_Components_Component_Properties_Property_Config struct {
	Name  *string                                                                        `path:"name" module:"openconfig-platform"`
	Value OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union `path:"value" module:"openconfig-platform"`
}

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) 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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigPlatform_Components_Component_Properties_Property_Config) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigPlatform_Components_Component_Properties_Property_Config.

func (*OpenconfigPlatform_Components_Component_Properties_Property_Config) ΛEnumTypeMap

Λ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_Config) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

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 {
	Configurable *bool                                                                         `path:"configurable" module:"openconfig-platform"`
	Name         *string                                                                       `path:"name" module:"openconfig-platform"`
	Value        OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union `path:"value" module:"openconfig-platform"`
}

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) 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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigPlatform_Components_Component_Properties_Property_State) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigPlatform_Components_Component_Properties_Property_State.

func (*OpenconfigPlatform_Components_Component_Properties_Property_State) ΛEnumTypeMap

Λ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_State) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

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_SoftwareModule

type OpenconfigPlatform_Components_Component_SoftwareModule struct {
	Config *OpenconfigPlatform_Components_Component_SoftwareModule_Config `path:"config" module:"openconfig-platform"`
	State  *OpenconfigPlatform_Components_Component_SoftwareModule_State  `path:"state" module:"openconfig-platform"`
}

OpenconfigPlatform_Components_Component_SoftwareModule represents the /openconfig-platform/components/component/software-module YANG schema element.

func (*OpenconfigPlatform_Components_Component_SoftwareModule) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_SoftwareModule 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_SoftwareModule) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigPlatform_Components_Component_SoftwareModule) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigPlatform_Components_Component_SoftwareModule.

func (*OpenconfigPlatform_Components_Component_SoftwareModule) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigPlatform_Components_Component_SoftwareModule) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigPlatform_Components_Component_SoftwareModule_Config

type OpenconfigPlatform_Components_Component_SoftwareModule_Config struct {
}

OpenconfigPlatform_Components_Component_SoftwareModule_Config represents the /openconfig-platform/components/component/software-module/config YANG schema element.

func (*OpenconfigPlatform_Components_Component_SoftwareModule_Config) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_SoftwareModule_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_SoftwareModule_Config) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigPlatform_Components_Component_SoftwareModule_Config) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigPlatform_Components_Component_SoftwareModule_Config.

func (*OpenconfigPlatform_Components_Component_SoftwareModule_Config) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigPlatform_Components_Component_SoftwareModule_Config) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigPlatform_Components_Component_SoftwareModule_State

type OpenconfigPlatform_Components_Component_SoftwareModule_State struct {
}

OpenconfigPlatform_Components_Component_SoftwareModule_State represents the /openconfig-platform/components/component/software-module/state YANG schema element.

func (*OpenconfigPlatform_Components_Component_SoftwareModule_State) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_SoftwareModule_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_SoftwareModule_State) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigPlatform_Components_Component_SoftwareModule_State) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigPlatform_Components_Component_SoftwareModule_State.

func (*OpenconfigPlatform_Components_Component_SoftwareModule_State) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigPlatform_Components_Component_SoftwareModule_State) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigPlatform_Components_Component_State

type OpenconfigPlatform_Components_Component_State struct {
	AllocatedPower       *uint32                                                             `path:"allocated-power" module:"openconfig-platform"`
	Description          *string                                                             `path:"description" module:"openconfig-platform"`
	Empty                *bool                                                               `path:"empty" module:"openconfig-platform"`
	EquipmentFailure     *bool                                                               `path:"equipment-failure" module:"openconfig-alarms"`
	EquipmentMismatch    *bool                                                               `path:"equipment-mismatch" module:"openconfig-alarms"`
	FirmwareVersion      *string                                                             `path:"firmware-version" module:"openconfig-platform"`
	HardwareVersion      *string                                                             `path:"hardware-version" module:"openconfig-platform"`
	Id                   *string                                                             `path:"id" module:"openconfig-platform"`
	LastRebootReason     E_OpenconfigPlatformTypes_COMPONENT_REBOOT_REASON                   `path:"last-reboot-reason" module:"openconfig-platform"`
	LastRebootTime       *uint64                                                             `path:"last-reboot-time" module:"openconfig-platform"`
	LastSwitchoverReason *OpenconfigPlatform_Components_Component_State_LastSwitchoverReason `path:"last-switchover-reason" module:"openconfig-platform"`
	LastSwitchoverTime   *uint64                                                             `path:"last-switchover-time" module:"openconfig-platform"`
	Location             *string                                                             `path:"location" module:"openconfig-platform"`
	Memory               *OpenconfigPlatform_Components_Component_State_Memory               `path:"memory" module:"openconfig-platform"`
	MfgDate              *string                                                             `path:"mfg-date" module:"openconfig-platform"`
	MfgName              *string                                                             `path:"mfg-name" module:"openconfig-platform"`
	Name                 *string                                                             `path:"name" module:"openconfig-platform"`
	OperStatus           E_OpenconfigPlatformTypes_COMPONENT_OPER_STATUS                     `path:"oper-status" module:"openconfig-platform"`
	Parent               *string                                                             `path:"parent" module:"openconfig-platform"`
	PartNo               *string                                                             `path:"part-no" module:"openconfig-platform"`
	Pcie                 *OpenconfigPlatform_Components_Component_State_Pcie                 `path:"pcie" module:"openconfig-platform"`
	RedundantRole        E_OpenconfigPlatform_ComponentRedundantRole                         `path:"redundant-role" module:"openconfig-platform"`
	Removable            *bool                                                               `path:"removable" module:"openconfig-platform"`
	SerialNo             *string                                                             `path:"serial-no" module:"openconfig-platform"`
	SoftwareVersion      *string                                                             `path:"software-version" module:"openconfig-platform"`
	Temperature          *OpenconfigPlatform_Components_Component_State_Temperature          `path:"temperature" module:"openconfig-platform"`
	Type                 OpenconfigPlatform_Components_Component_State_Type_Union            `path:"type" module:"openconfig-platform"`
	UsedPower            *uint32                                                             `path:"used-power" module:"openconfig-platform"`
}

OpenconfigPlatform_Components_Component_State represents the /openconfig-platform/components/component/state YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigPlatform_Components_Component_State) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigPlatform_Components_Component_State.

func (*OpenconfigPlatform_Components_Component_State) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigPlatform_Components_Component_State) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigPlatform_Components_Component_State_LastSwitchoverReason

type OpenconfigPlatform_Components_Component_State_LastSwitchoverReason struct {
	Details *string                                                                 `path:"details" module:"openconfig-platform"`
	Trigger E_OpenconfigPlatformTypes_ComponentRedundantRoleSwitchoverReasonTrigger `path:"trigger" module:"openconfig-platform"`
}

OpenconfigPlatform_Components_Component_State_LastSwitchoverReason represents the /openconfig-platform/components/component/state/last-switchover-reason YANG schema element.

func (*OpenconfigPlatform_Components_Component_State_LastSwitchoverReason) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_State_LastSwitchoverReason 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_LastSwitchoverReason) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigPlatform_Components_Component_State_LastSwitchoverReason) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigPlatform_Components_Component_State_LastSwitchoverReason.

func (*OpenconfigPlatform_Components_Component_State_LastSwitchoverReason) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigPlatform_Components_Component_State_LastSwitchoverReason) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigPlatform_Components_Component_State_Memory

type OpenconfigPlatform_Components_Component_State_Memory struct {
	Available *uint64 `path:"available" module:"openconfig-platform"`
	Utilized  *uint64 `path:"utilized" module:"openconfig-platform"`
}

OpenconfigPlatform_Components_Component_State_Memory represents the /openconfig-platform/components/component/state/memory YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigPlatform_Components_Component_State_Memory) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigPlatform_Components_Component_State_Memory.

func (*OpenconfigPlatform_Components_Component_State_Memory) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigPlatform_Components_Component_State_Memory) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigPlatform_Components_Component_State_Pcie

type OpenconfigPlatform_Components_Component_State_Pcie struct {
	CorrectableErrors *OpenconfigPlatform_Components_Component_State_Pcie_CorrectableErrors `path:"correctable-errors" module:"openconfig-platform"`
	FatalErrors       *OpenconfigPlatform_Components_Component_State_Pcie_FatalErrors       `path:"fatal-errors" module:"openconfig-platform"`
	NonFatalErrors    *OpenconfigPlatform_Components_Component_State_Pcie_NonFatalErrors    `path:"non-fatal-errors" module:"openconfig-platform"`
}

OpenconfigPlatform_Components_Component_State_Pcie represents the /openconfig-platform/components/component/state/pcie YANG schema element.

func (*OpenconfigPlatform_Components_Component_State_Pcie) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_State_Pcie 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_Pcie) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigPlatform_Components_Component_State_Pcie) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigPlatform_Components_Component_State_Pcie.

func (*OpenconfigPlatform_Components_Component_State_Pcie) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigPlatform_Components_Component_State_Pcie) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigPlatform_Components_Component_State_Pcie_CorrectableErrors

type OpenconfigPlatform_Components_Component_State_Pcie_CorrectableErrors struct {
	AdvisoryNonFatalErrors *uint64 `path:"advisory-non-fatal-errors" module:"openconfig-platform"`
	BadDllpErrors          *uint64 `path:"bad-dllp-errors" module:"openconfig-platform"`
	BadTlpErrors           *uint64 `path:"bad-tlp-errors" module:"openconfig-platform"`
	HdrLogOverflowErrors   *uint64 `path:"hdr-log-overflow-errors" module:"openconfig-platform"`
	InternalErrors         *uint64 `path:"internal-errors" module:"openconfig-platform"`
	ReceiverErrors         *uint64 `path:"receiver-errors" module:"openconfig-platform"`
	RelayRolloverErrors    *uint64 `path:"relay-rollover-errors" module:"openconfig-platform"`
	ReplayTimeoutErrors    *uint64 `path:"replay-timeout-errors" module:"openconfig-platform"`
	TotalErrors            *uint64 `path:"total-errors" module:"openconfig-platform"`
}

OpenconfigPlatform_Components_Component_State_Pcie_CorrectableErrors represents the /openconfig-platform/components/component/state/pcie/correctable-errors YANG schema element.

func (*OpenconfigPlatform_Components_Component_State_Pcie_CorrectableErrors) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_State_Pcie_CorrectableErrors 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_Pcie_CorrectableErrors) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigPlatform_Components_Component_State_Pcie_CorrectableErrors) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigPlatform_Components_Component_State_Pcie_CorrectableErrors.

func (*OpenconfigPlatform_Components_Component_State_Pcie_CorrectableErrors) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigPlatform_Components_Component_State_Pcie_CorrectableErrors) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigPlatform_Components_Component_State_Pcie_FatalErrors

type OpenconfigPlatform_Components_Component_State_Pcie_FatalErrors struct {
	AcsViolationErrors         *uint64 `path:"acs-violation-errors" module:"openconfig-platform"`
	AtomicOpBlockedErrors      *uint64 `path:"atomic-op-blocked-errors" module:"openconfig-platform"`
	BlockedTlpErrors           *uint64 `path:"blocked-tlp-errors" module:"openconfig-platform"`
	CompletionAbortErrors      *uint64 `path:"completion-abort-errors" module:"openconfig-platform"`
	CompletionTimeoutErrors    *uint64 `path:"completion-timeout-errors" module:"openconfig-platform"`
	DataLinkErrors             *uint64 `path:"data-link-errors" module:"openconfig-platform"`
	EcrcErrors                 *uint64 `path:"ecrc-errors" module:"openconfig-platform"`
	FlowControlProtocolErrors  *uint64 `path:"flow-control-protocol-errors" module:"openconfig-platform"`
	InternalErrors             *uint64 `path:"internal-errors" module:"openconfig-platform"`
	MalformedTlpErrors         *uint64 `path:"malformed-tlp-errors" module:"openconfig-platform"`
	PoisonedTlpErrors          *uint64 `path:"poisoned-tlp-errors" module:"openconfig-platform"`
	ReceiverOverflowErrors     *uint64 `path:"receiver-overflow-errors" module:"openconfig-platform"`
	SurpriseDownErrors         *uint64 `path:"surprise-down-errors" module:"openconfig-platform"`
	TlpPrefixBlockedErrors     *uint64 `path:"tlp-prefix-blocked-errors" module:"openconfig-platform"`
	TotalErrors                *uint64 `path:"total-errors" module:"openconfig-platform"`
	UndefinedErrors            *uint64 `path:"undefined-errors" module:"openconfig-platform"`
	UnexpectedCompletionErrors *uint64 `path:"unexpected-completion-errors" module:"openconfig-platform"`
	UnsupportedRequestErrors   *uint64 `path:"unsupported-request-errors" module:"openconfig-platform"`
}

OpenconfigPlatform_Components_Component_State_Pcie_FatalErrors represents the /openconfig-platform/components/component/state/pcie/fatal-errors YANG schema element.

func (*OpenconfigPlatform_Components_Component_State_Pcie_FatalErrors) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_State_Pcie_FatalErrors 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_Pcie_FatalErrors) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigPlatform_Components_Component_State_Pcie_FatalErrors) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigPlatform_Components_Component_State_Pcie_FatalErrors.

func (*OpenconfigPlatform_Components_Component_State_Pcie_FatalErrors) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigPlatform_Components_Component_State_Pcie_FatalErrors) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigPlatform_Components_Component_State_Pcie_NonFatalErrors

type OpenconfigPlatform_Components_Component_State_Pcie_NonFatalErrors struct {
	AcsViolationErrors         *uint64 `path:"acs-violation-errors" module:"openconfig-platform"`
	AtomicOpBlockedErrors      *uint64 `path:"atomic-op-blocked-errors" module:"openconfig-platform"`
	BlockedTlpErrors           *uint64 `path:"blocked-tlp-errors" module:"openconfig-platform"`
	CompletionAbortErrors      *uint64 `path:"completion-abort-errors" module:"openconfig-platform"`
	CompletionTimeoutErrors    *uint64 `path:"completion-timeout-errors" module:"openconfig-platform"`
	DataLinkErrors             *uint64 `path:"data-link-errors" module:"openconfig-platform"`
	EcrcErrors                 *uint64 `path:"ecrc-errors" module:"openconfig-platform"`
	FlowControlProtocolErrors  *uint64 `path:"flow-control-protocol-errors" module:"openconfig-platform"`
	InternalErrors             *uint64 `path:"internal-errors" module:"openconfig-platform"`
	MalformedTlpErrors         *uint64 `path:"malformed-tlp-errors" module:"openconfig-platform"`
	PoisonedTlpErrors          *uint64 `path:"poisoned-tlp-errors" module:"openconfig-platform"`
	ReceiverOverflowErrors     *uint64 `path:"receiver-overflow-errors" module:"openconfig-platform"`
	SurpriseDownErrors         *uint64 `path:"surprise-down-errors" module:"openconfig-platform"`
	TlpPrefixBlockedErrors     *uint64 `path:"tlp-prefix-blocked-errors" module:"openconfig-platform"`
	TotalErrors                *uint64 `path:"total-errors" module:"openconfig-platform"`
	UndefinedErrors            *uint64 `path:"undefined-errors" module:"openconfig-platform"`
	UnexpectedCompletionErrors *uint64 `path:"unexpected-completion-errors" module:"openconfig-platform"`
	UnsupportedRequestErrors   *uint64 `path:"unsupported-request-errors" module:"openconfig-platform"`
}

OpenconfigPlatform_Components_Component_State_Pcie_NonFatalErrors represents the /openconfig-platform/components/component/state/pcie/non-fatal-errors YANG schema element.

func (*OpenconfigPlatform_Components_Component_State_Pcie_NonFatalErrors) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigPlatform_Components_Component_State_Pcie_NonFatalErrors 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_Pcie_NonFatalErrors) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigPlatform_Components_Component_State_Pcie_NonFatalErrors) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigPlatform_Components_Component_State_Pcie_NonFatalErrors.

func (*OpenconfigPlatform_Components_Component_State_Pcie_NonFatalErrors) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigPlatform_Components_Component_State_Pcie_NonFatalErrors) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigPlatform_Components_Component_State_Temperature

type OpenconfigPlatform_Components_Component_State_Temperature struct {
	AlarmSeverity  E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY `path:"alarm-severity" module:"openconfig-platform"`
	AlarmStatus    *bool                                            `path:"alarm-status" module:"openconfig-platform"`
	AlarmThreshold *uint32                                          `path:"alarm-threshold" module:"openconfig-platform"`
	Avg            *float64                                         `path:"avg" module:"openconfig-platform"`
	Instant        *float64                                         `path:"instant" module:"openconfig-platform"`
	Interval       *uint64                                          `path:"interval" module:"openconfig-platform"`
	Max            *float64                                         `path:"max" module:"openconfig-platform"`
	MaxTime        *uint64                                          `path:"max-time" module:"openconfig-platform"`
	Min            *float64                                         `path:"min" module:"openconfig-platform"`
	MinTime        *uint64                                          `path:"min-time" module:"openconfig-platform"`
}

OpenconfigPlatform_Components_Component_State_Temperature represents the /openconfig-platform/components/component/state/temperature YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigPlatform_Components_Component_State_Temperature) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigPlatform_Components_Component_State_Temperature.

func (*OpenconfigPlatform_Components_Component_State_Temperature) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigPlatform_Components_Component_State_Temperature) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

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

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

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 {
	Config *OpenconfigPlatform_Components_Component_Storage_Config `path:"config" module:"openconfig-platform"`
	State  *OpenconfigPlatform_Components_Component_Storage_State  `path:"state" module:"openconfig-platform"`
}

OpenconfigPlatform_Components_Component_Storage represents the /openconfig-platform/components/component/storage YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigPlatform_Components_Component_Storage) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigPlatform_Components_Component_Storage.

func (*OpenconfigPlatform_Components_Component_Storage) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigPlatform_Components_Component_Storage) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigPlatform_Components_Component_Storage_Config

type OpenconfigPlatform_Components_Component_Storage_Config struct {
}

OpenconfigPlatform_Components_Component_Storage_Config represents the /openconfig-platform/components/component/storage/config YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigPlatform_Components_Component_Storage_Config) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigPlatform_Components_Component_Storage_Config.

func (*OpenconfigPlatform_Components_Component_Storage_Config) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigPlatform_Components_Component_Storage_Config) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigPlatform_Components_Component_Storage_State

type OpenconfigPlatform_Components_Component_Storage_State struct {
}

OpenconfigPlatform_Components_Component_Storage_State represents the /openconfig-platform/components/component/storage/state YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigPlatform_Components_Component_Storage_State) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigPlatform_Components_Component_Storage_State.

func (*OpenconfigPlatform_Components_Component_Storage_State) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigPlatform_Components_Component_Storage_State) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigPlatform_Components_Component_Subcomponents

type OpenconfigPlatform_Components_Component_Subcomponents struct {
	Subcomponent map[string]*OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent `path:"subcomponent" module:"openconfig-platform"`
}

OpenconfigPlatform_Components_Component_Subcomponents represents the /openconfig-platform/components/component/subcomponents YANG schema element.

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

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) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigPlatform_Components_Component_Subcomponents) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigPlatform_Components_Component_Subcomponents.

func (*OpenconfigPlatform_Components_Component_Subcomponents) ΛEnumTypeMap

Λ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) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent

type OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent struct {
	Config *OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_Config `path:"config" module:"openconfig-platform"`
	Name   *string                                                                    `path:"name" module:"openconfig-platform"`
	State  *OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_State  `path:"state" module:"openconfig-platform"`
}

OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent represents the /openconfig-platform/components/component/subcomponents/subcomponent YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent.

func (*OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent) ΛEnumTypeMap

Λ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

ΛListKeyMap returns the keys of the OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent struct, which is a YANG list entry.

func (*OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_Config

type OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_Config struct {
	Name *string `path:"name" module:"openconfig-platform"`
}

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) 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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_Config) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_Config.

func (*OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_Config) ΛEnumTypeMap

Λ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_Config) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_State

type OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_State struct {
	Name *string `path:"name" module:"openconfig-platform"`
}

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) 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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_State) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_State.

func (*OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_State) ΛEnumTypeMap

Λ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_State) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System

type OpenconfigSystem_System struct {
	Aaa          *OpenconfigSystem_System_Aaa          `path:"aaa" module:"openconfig-system"`
	Alarms       *OpenconfigSystem_System_Alarms       `path:"alarms" module:"openconfig-system"`
	Clock        *OpenconfigSystem_System_Clock        `path:"clock" module:"openconfig-system"`
	Config       *OpenconfigSystem_System_Config       `path:"config" module:"openconfig-system"`
	Cpus         *OpenconfigSystem_System_Cpus         `path:"cpus" module:"openconfig-system"`
	Dns          *OpenconfigSystem_System_Dns          `path:"dns" module:"openconfig-system"`
	License      *OpenconfigSystem_System_License      `path:"license" module:"openconfig-system"`
	Logging      *OpenconfigSystem_System_Logging      `path:"logging" module:"openconfig-system"`
	Memory       *OpenconfigSystem_System_Memory       `path:"memory" module:"openconfig-system"`
	Messages     *OpenconfigSystem_System_Messages     `path:"messages" module:"openconfig-system"`
	MountPoints  *OpenconfigSystem_System_MountPoints  `path:"mount-points" module:"openconfig-system"`
	Ntp          *OpenconfigSystem_System_Ntp          `path:"ntp" module:"openconfig-system"`
	Openflow     *OpenconfigSystem_System_Openflow     `path:"openflow" module:"openconfig-openflow"`
	Processes    *OpenconfigSystem_System_Processes    `path:"processes" module:"openconfig-system"`
	SshServer    *OpenconfigSystem_System_SshServer    `path:"ssh-server" module:"openconfig-system"`
	State        *OpenconfigSystem_System_State        `path:"state" module:"openconfig-system"`
	TelnetServer *OpenconfigSystem_System_TelnetServer `path:"telnet-server" module:"openconfig-system"`
}

OpenconfigSystem_System represents the /openconfig-system/system YANG schema element.

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) ΛBelongingModule

func (*OpenconfigSystem_System) ΛBelongingModule() string

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System.

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.

func (*OpenconfigSystem_System) ΛValidate

func (t *OpenconfigSystem_System) ΛValidate(opts ...ygot.ValidationOption) error

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Aaa

type OpenconfigSystem_System_Aaa struct {
	Accounting     *OpenconfigSystem_System_Aaa_Accounting     `path:"accounting" module:"openconfig-system"`
	Authentication *OpenconfigSystem_System_Aaa_Authentication `path:"authentication" module:"openconfig-system"`
	Authorization  *OpenconfigSystem_System_Aaa_Authorization  `path:"authorization" module:"openconfig-system"`
	Config         *OpenconfigSystem_System_Aaa_Config         `path:"config" module:"openconfig-system"`
	ServerGroups   *OpenconfigSystem_System_Aaa_ServerGroups   `path:"server-groups" module:"openconfig-system"`
	State          *OpenconfigSystem_System_Aaa_State          `path:"state" module:"openconfig-system"`
}

OpenconfigSystem_System_Aaa represents the /openconfig-system/system/aaa YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa) ΛBelongingModule

func (*OpenconfigSystem_System_Aaa) ΛBelongingModule() string

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Aaa.

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.

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.

type OpenconfigSystem_System_Aaa_Accounting

type OpenconfigSystem_System_Aaa_Accounting struct {
	Config *OpenconfigSystem_System_Aaa_Accounting_Config `path:"config" module:"openconfig-system"`
	Events *OpenconfigSystem_System_Aaa_Accounting_Events `path:"events" module:"openconfig-system"`
	State  *OpenconfigSystem_System_Aaa_Accounting_State  `path:"state" module:"openconfig-system"`
}

OpenconfigSystem_System_Aaa_Accounting represents the /openconfig-system/system/aaa/accounting YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_Accounting) ΛBelongingModule

func (*OpenconfigSystem_System_Aaa_Accounting) ΛBelongingModule() string

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Aaa_Accounting.

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.

func (*OpenconfigSystem_System_Aaa_Accounting) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Aaa_Accounting_Config

type OpenconfigSystem_System_Aaa_Accounting_Config struct {
	AccountingMethod []OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union `path:"accounting-method" module:"openconfig-system"`
}

OpenconfigSystem_System_Aaa_Accounting_Config represents the /openconfig-system/system/aaa/accounting/config YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_Accounting_Config) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Aaa_Accounting_Config.

func (*OpenconfigSystem_System_Aaa_Accounting_Config) ΛEnumTypeMap

Λ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_Config) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

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 {
	Event map[E_OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE]*OpenconfigSystem_System_Aaa_Accounting_Events_Event `path:"event" module:"openconfig-system"`
}

OpenconfigSystem_System_Aaa_Accounting_Events represents the /openconfig-system/system/aaa/accounting/events YANG schema element.

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

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) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_Accounting_Events) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Aaa_Accounting_Events.

func (*OpenconfigSystem_System_Aaa_Accounting_Events) ΛEnumTypeMap

Λ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) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Aaa_Accounting_Events_Event

type OpenconfigSystem_System_Aaa_Accounting_Events_Event struct {
	Config    *OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config `path:"config" module:"openconfig-system"`
	EventType E_OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE              `path:"event-type" module:"openconfig-system"`
	State     *OpenconfigSystem_System_Aaa_Accounting_Events_Event_State  `path:"state" module:"openconfig-system"`
}

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) 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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_Accounting_Events_Event) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Aaa_Accounting_Events_Event.

func (*OpenconfigSystem_System_Aaa_Accounting_Events_Event) ΛEnumTypeMap

Λ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.

func (*OpenconfigSystem_System_Aaa_Accounting_Events_Event) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config

type OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config struct {
	EventType E_OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE                      `path:"event-type" module:"openconfig-system"`
	Record    E_OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config_Record `path:"record" module:"openconfig-system"`
}

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) 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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config.

func (*OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config) ΛEnumTypeMap

Λ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_Config) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Aaa_Accounting_Events_Event_State

type OpenconfigSystem_System_Aaa_Accounting_Events_Event_State struct {
	EventType E_OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE                      `path:"event-type" module:"openconfig-system"`
	Record    E_OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config_Record `path:"record" module:"openconfig-system"`
}

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) 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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_Accounting_Events_Event_State) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Aaa_Accounting_Events_Event_State.

func (*OpenconfigSystem_System_Aaa_Accounting_Events_Event_State) ΛEnumTypeMap

Λ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_State) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Aaa_Accounting_State

type OpenconfigSystem_System_Aaa_Accounting_State struct {
	AccountingMethod []OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union `path:"accounting-method" module:"openconfig-system"`
}

OpenconfigSystem_System_Aaa_Accounting_State represents the /openconfig-system/system/aaa/accounting/state YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_Accounting_State) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Aaa_Accounting_State.

func (*OpenconfigSystem_System_Aaa_Accounting_State) ΛEnumTypeMap

Λ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_State) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

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 {
	AdminUser *OpenconfigSystem_System_Aaa_Authentication_AdminUser `path:"admin-user" module:"openconfig-system"`
	Config    *OpenconfigSystem_System_Aaa_Authentication_Config    `path:"config" module:"openconfig-system"`
	State     *OpenconfigSystem_System_Aaa_Authentication_State     `path:"state" module:"openconfig-system"`
	Users     *OpenconfigSystem_System_Aaa_Authentication_Users     `path:"users" module:"openconfig-system"`
}

OpenconfigSystem_System_Aaa_Authentication represents the /openconfig-system/system/aaa/authentication YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_Authentication) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Aaa_Authentication.

func (*OpenconfigSystem_System_Aaa_Authentication) ΛEnumTypeMap

Λ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) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Aaa_Authentication_AdminUser

type OpenconfigSystem_System_Aaa_Authentication_AdminUser struct {
	Config *OpenconfigSystem_System_Aaa_Authentication_AdminUser_Config `path:"config" module:"openconfig-system"`
	State  *OpenconfigSystem_System_Aaa_Authentication_AdminUser_State  `path:"state" module:"openconfig-system"`
}

OpenconfigSystem_System_Aaa_Authentication_AdminUser represents the /openconfig-system/system/aaa/authentication/admin-user YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_Authentication_AdminUser) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Aaa_Authentication_AdminUser.

func (*OpenconfigSystem_System_Aaa_Authentication_AdminUser) ΛEnumTypeMap

Λ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_AdminUser) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Aaa_Authentication_AdminUser_Config

type OpenconfigSystem_System_Aaa_Authentication_AdminUser_Config struct {
	AdminPassword       *string `path:"admin-password" module:"openconfig-system"`
	AdminPasswordHashed *string `path:"admin-password-hashed" module:"openconfig-system"`
}

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) 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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_Authentication_AdminUser_Config) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Aaa_Authentication_AdminUser_Config.

func (*OpenconfigSystem_System_Aaa_Authentication_AdminUser_Config) ΛEnumTypeMap

Λ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_AdminUser_Config) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Aaa_Authentication_AdminUser_State

type OpenconfigSystem_System_Aaa_Authentication_AdminUser_State struct {
	AdminPassword       *string `path:"admin-password" module:"openconfig-system"`
	AdminPasswordHashed *string `path:"admin-password-hashed" module:"openconfig-system"`
	AdminUsername       *string `path:"admin-username" module:"openconfig-system"`
}

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) 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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_Authentication_AdminUser_State) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Aaa_Authentication_AdminUser_State.

func (*OpenconfigSystem_System_Aaa_Authentication_AdminUser_State) ΛEnumTypeMap

Λ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_AdminUser_State) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Aaa_Authentication_Config

type OpenconfigSystem_System_Aaa_Authentication_Config struct {
	AuthenticationMethod []OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union `path:"authentication-method" module:"openconfig-system"`
}

OpenconfigSystem_System_Aaa_Authentication_Config represents the /openconfig-system/system/aaa/authentication/config YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_Authentication_Config) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Aaa_Authentication_Config.

func (*OpenconfigSystem_System_Aaa_Authentication_Config) ΛEnumTypeMap

Λ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_Config) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

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 {
	AuthenticationMethod []OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union `path:"authentication-method" module:"openconfig-system"`
}

OpenconfigSystem_System_Aaa_Authentication_State represents the /openconfig-system/system/aaa/authentication/state YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_Authentication_State) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Aaa_Authentication_State.

func (*OpenconfigSystem_System_Aaa_Authentication_State) ΛEnumTypeMap

Λ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_State) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

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 {
	User map[string]*OpenconfigSystem_System_Aaa_Authentication_Users_User `path:"user" module:"openconfig-system"`
}

OpenconfigSystem_System_Aaa_Authentication_Users represents the /openconfig-system/system/aaa/authentication/users YANG schema element.

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

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) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_Authentication_Users) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Aaa_Authentication_Users.

func (*OpenconfigSystem_System_Aaa_Authentication_Users) ΛEnumTypeMap

Λ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) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Aaa_Authentication_Users_User

type OpenconfigSystem_System_Aaa_Authentication_Users_User struct {
	Config   *OpenconfigSystem_System_Aaa_Authentication_Users_User_Config `path:"config" module:"openconfig-system"`
	State    *OpenconfigSystem_System_Aaa_Authentication_Users_User_State  `path:"state" module:"openconfig-system"`
	Username *string                                                       `path:"username" module:"openconfig-system"`
}

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) 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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_Authentication_Users_User) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Aaa_Authentication_Users_User.

func (*OpenconfigSystem_System_Aaa_Authentication_Users_User) ΛEnumTypeMap

Λ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.

func (*OpenconfigSystem_System_Aaa_Authentication_Users_User) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Aaa_Authentication_Users_User_Config

type OpenconfigSystem_System_Aaa_Authentication_Users_User_Config struct {
	Password       *string                                                                 `path:"password" module:"openconfig-system"`
	PasswordHashed *string                                                                 `path:"password-hashed" module:"openconfig-system"`
	Role           OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union `path:"role" module:"openconfig-system"`
	SshKey         *string                                                                 `path:"ssh-key" module:"openconfig-system"`
	Username       *string                                                                 `path:"username" module:"openconfig-system"`
}

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) 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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_Authentication_Users_User_Config) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Aaa_Authentication_Users_User_Config.

func (*OpenconfigSystem_System_Aaa_Authentication_Users_User_Config) ΛEnumTypeMap

Λ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_Config) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

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 {
	Password       *string                                                                `path:"password" module:"openconfig-system"`
	PasswordHashed *string                                                                `path:"password-hashed" module:"openconfig-system"`
	Role           OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union `path:"role" module:"openconfig-system"`
	SshKey         *string                                                                `path:"ssh-key" module:"openconfig-system"`
	Username       *string                                                                `path:"username" module:"openconfig-system"`
}

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) 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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_Authentication_Users_User_State) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Aaa_Authentication_Users_User_State.

func (*OpenconfigSystem_System_Aaa_Authentication_Users_User_State) ΛEnumTypeMap

Λ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_State) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

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 {
	Config *OpenconfigSystem_System_Aaa_Authorization_Config `path:"config" module:"openconfig-system"`
	Events *OpenconfigSystem_System_Aaa_Authorization_Events `path:"events" module:"openconfig-system"`
	State  *OpenconfigSystem_System_Aaa_Authorization_State  `path:"state" module:"openconfig-system"`
}

OpenconfigSystem_System_Aaa_Authorization represents the /openconfig-system/system/aaa/authorization YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_Authorization) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Aaa_Authorization.

func (*OpenconfigSystem_System_Aaa_Authorization) ΛEnumTypeMap

Λ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) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Aaa_Authorization_Config

type OpenconfigSystem_System_Aaa_Authorization_Config struct {
	AuthorizationMethod []OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union `path:"authorization-method" module:"openconfig-system"`
}

OpenconfigSystem_System_Aaa_Authorization_Config represents the /openconfig-system/system/aaa/authorization/config YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_Authorization_Config) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Aaa_Authorization_Config.

func (*OpenconfigSystem_System_Aaa_Authorization_Config) ΛEnumTypeMap

Λ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_Config) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

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 {
	Event map[E_OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE]*OpenconfigSystem_System_Aaa_Authorization_Events_Event `path:"event" module:"openconfig-system"`
}

OpenconfigSystem_System_Aaa_Authorization_Events represents the /openconfig-system/system/aaa/authorization/events YANG schema element.

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

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) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_Authorization_Events) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Aaa_Authorization_Events.

func (*OpenconfigSystem_System_Aaa_Authorization_Events) ΛEnumTypeMap

Λ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) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Aaa_Authorization_Events_Event

type OpenconfigSystem_System_Aaa_Authorization_Events_Event struct {
	Config    *OpenconfigSystem_System_Aaa_Authorization_Events_Event_Config `path:"config" module:"openconfig-system"`
	EventType E_OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE              `path:"event-type" module:"openconfig-system"`
	State     *OpenconfigSystem_System_Aaa_Authorization_Events_Event_State  `path:"state" module:"openconfig-system"`
}

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) 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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_Authorization_Events_Event) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Aaa_Authorization_Events_Event.

func (*OpenconfigSystem_System_Aaa_Authorization_Events_Event) ΛEnumTypeMap

Λ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.

func (*OpenconfigSystem_System_Aaa_Authorization_Events_Event) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Aaa_Authorization_Events_Event_Config

type OpenconfigSystem_System_Aaa_Authorization_Events_Event_Config struct {
	EventType E_OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE `path:"event-type" module:"openconfig-system"`
}

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) 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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_Authorization_Events_Event_Config) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Aaa_Authorization_Events_Event_Config.

func (*OpenconfigSystem_System_Aaa_Authorization_Events_Event_Config) ΛEnumTypeMap

Λ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_Config) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Aaa_Authorization_Events_Event_State

type OpenconfigSystem_System_Aaa_Authorization_Events_Event_State struct {
	EventType E_OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE `path:"event-type" module:"openconfig-system"`
}

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) 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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_Authorization_Events_Event_State) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Aaa_Authorization_Events_Event_State.

func (*OpenconfigSystem_System_Aaa_Authorization_Events_Event_State) ΛEnumTypeMap

Λ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_State) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Aaa_Authorization_State

type OpenconfigSystem_System_Aaa_Authorization_State struct {
	AuthorizationMethod []OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union `path:"authorization-method" module:"openconfig-system"`
}

OpenconfigSystem_System_Aaa_Authorization_State represents the /openconfig-system/system/aaa/authorization/state YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_Authorization_State) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Aaa_Authorization_State.

func (*OpenconfigSystem_System_Aaa_Authorization_State) ΛEnumTypeMap

Λ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_State) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

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 {
}

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_Config) ΛBelongingModule

func (*OpenconfigSystem_System_Aaa_Config) ΛBelongingModule() string

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Aaa_Config.

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.

func (*OpenconfigSystem_System_Aaa_Config) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Aaa_ServerGroups

type OpenconfigSystem_System_Aaa_ServerGroups struct {
	ServerGroup map[string]*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup `path:"server-group" module:"openconfig-system"`
}

OpenconfigSystem_System_Aaa_ServerGroups represents the /openconfig-system/system/aaa/server-groups YANG schema element.

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

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) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_ServerGroups) ΛBelongingModule

func (*OpenconfigSystem_System_Aaa_ServerGroups) ΛBelongingModule() string

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Aaa_ServerGroups.

func (*OpenconfigSystem_System_Aaa_ServerGroups) ΛEnumTypeMap

Λ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) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup

type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup struct {
	Config  *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Config  `path:"config" module:"openconfig-system"`
	Name    *string                                                       `path:"name" module:"openconfig-system"`
	Servers *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers `path:"servers" module:"openconfig-system"`
	State   *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_State   `path:"state" module:"openconfig-system"`
}

OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup represents the /openconfig-system/system/aaa/server-groups/server-group YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup) ΛEnumTypeMap

Λ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.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Config

type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Config struct {
	Name *string                              `path:"name" module:"openconfig-system"`
	Type E_OpenconfigAaaTypes_AAA_SERVER_TYPE `path:"type" module:"openconfig-system"`
}

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) 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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Config) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Config.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Config) ΛEnumTypeMap

Λ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_Config) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers

type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers struct {
	Server map[string]*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server `path:"server" module:"openconfig-system"`
}

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) 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

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) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers) ΛEnumTypeMap

Λ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) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server

type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server struct {
	Address *string                                                                     `path:"address" module:"openconfig-system"`
	Config  *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Config `path:"config" module:"openconfig-system"`
	Radius  *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius `path:"radius" module:"openconfig-system"`
	State   *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State  `path:"state" module:"openconfig-system"`
	Tacacs  *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs `path:"tacacs" module:"openconfig-system"`
}

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) 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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server) ΛEnumTypeMap

Λ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

ΛListKeyMap returns the keys of the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server struct, which is a YANG list entry.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Config

type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Config struct {
	Address *string `path:"address" module:"openconfig-system"`
	Name    *string `path:"name" module:"openconfig-system"`
	Timeout *uint16 `path:"timeout" module:"openconfig-system"`
}

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) 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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Config) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Config.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Config) ΛEnumTypeMap

Λ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_Config) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius

type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius struct {
	Config *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_Config `path:"config" module:"openconfig-system"`
	State  *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State  `path:"state" module:"openconfig-system"`
}

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) 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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius) ΛEnumTypeMap

Λ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_Radius) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_Config

type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_Config struct {
	AcctPort           *uint16 `path:"acct-port" module:"openconfig-system"`
	AuthPort           *uint16 `path:"auth-port" module:"openconfig-system"`
	RetransmitAttempts *uint8  `path:"retransmit-attempts" module:"openconfig-system"`
	SecretKey          *string `path:"secret-key" module:"openconfig-system"`
	SecretKeyHashed    *string `path:"secret-key-hashed" module:"openconfig-system"`
	SourceAddress      *string `path:"source-address" module:"openconfig-system"`
}

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) 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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_Config) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_Config.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_Config) ΛEnumTypeMap

Λ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_Radius_Config) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State

type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State struct {
	AcctPort           *uint16                                                                                    `path:"acct-port" module:"openconfig-system"`
	AuthPort           *uint16                                                                                    `path:"auth-port" module:"openconfig-system"`
	Counters           *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State_Counters `path:"counters" module:"openconfig-system"`
	RetransmitAttempts *uint8                                                                                     `path:"retransmit-attempts" module:"openconfig-system"`
	SecretKey          *string                                                                                    `path:"secret-key" module:"openconfig-system"`
	SecretKeyHashed    *string                                                                                    `path:"secret-key-hashed" module:"openconfig-system"`
	SourceAddress      *string                                                                                    `path:"source-address" module:"openconfig-system"`
}

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) 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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State) ΛEnumTypeMap

Λ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_Radius_State) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State_Counters

type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State_Counters struct {
	AccessAccepts         *uint64 `path:"access-accepts" module:"openconfig-system"`
	AccessRejects         *uint64 `path:"access-rejects" module:"openconfig-system"`
	RetriedAccessRequests *uint64 `path:"retried-access-requests" module:"openconfig-system"`
	TimeoutAccessRequests *uint64 `path:"timeout-access-requests" module:"openconfig-system"`
}

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) 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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State_Counters) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State_Counters.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State_Counters) ΛEnumTypeMap

Λ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_Radius_State_Counters) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State

type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State struct {
	Address            *string `path:"address" module:"openconfig-system"`
	ConnectionAborts   *uint64 `path:"connection-aborts" module:"openconfig-system"`
	ConnectionCloses   *uint64 `path:"connection-closes" module:"openconfig-system"`
	ConnectionFailures *uint64 `path:"connection-failures" module:"openconfig-system"`
	ConnectionOpens    *uint64 `path:"connection-opens" module:"openconfig-system"`
	ConnectionTimeouts *uint64 `path:"connection-timeouts" module:"openconfig-system"`
	ErrorsReceived     *uint64 `path:"errors-received" module:"openconfig-system"`
	MessagesReceived   *uint64 `path:"messages-received" module:"openconfig-system"`
	MessagesSent       *uint64 `path:"messages-sent" module:"openconfig-system"`
	Name               *string `path:"name" module:"openconfig-system"`
	Timeout            *uint16 `path:"timeout" module:"openconfig-system"`
}

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) 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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State) ΛEnumTypeMap

Λ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_State) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs

type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs struct {
	Config *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_Config `path:"config" module:"openconfig-system"`
	State  *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_State  `path:"state" module:"openconfig-system"`
}

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) 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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs) ΛEnumTypeMap

Λ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_Tacacs) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_Config

type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_Config struct {
	Port            *uint16 `path:"port" module:"openconfig-system"`
	SecretKey       *string `path:"secret-key" module:"openconfig-system"`
	SecretKeyHashed *string `path:"secret-key-hashed" module:"openconfig-system"`
	SourceAddress   *string `path:"source-address" module:"openconfig-system"`
}

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) 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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_Config) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_Config.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_Config) ΛEnumTypeMap

Λ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_Tacacs_Config) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_State

type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_State struct {
	Port            *uint16 `path:"port" module:"openconfig-system"`
	SecretKey       *string `path:"secret-key" module:"openconfig-system"`
	SecretKeyHashed *string `path:"secret-key-hashed" module:"openconfig-system"`
	SourceAddress   *string `path:"source-address" module:"openconfig-system"`
}

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) 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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_State) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_State.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_State) ΛEnumTypeMap

Λ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_Tacacs_State) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_State

type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_State struct {
	Name *string                              `path:"name" module:"openconfig-system"`
	Type E_OpenconfigAaaTypes_AAA_SERVER_TYPE `path:"type" module:"openconfig-system"`
}

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) 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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_State) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_State.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_State) ΛEnumTypeMap

Λ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_State) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Aaa_State

type OpenconfigSystem_System_Aaa_State struct {
}

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_State) ΛBelongingModule

func (*OpenconfigSystem_System_Aaa_State) ΛBelongingModule() string

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Aaa_State.

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.

func (*OpenconfigSystem_System_Aaa_State) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Alarms

type OpenconfigSystem_System_Alarms struct {
	Alarm map[string]*OpenconfigSystem_System_Alarms_Alarm `path:"alarm" module:"openconfig-system"`
}

OpenconfigSystem_System_Alarms represents the /openconfig-system/system/alarms YANG schema element.

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

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) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Alarms) ΛBelongingModule

func (*OpenconfigSystem_System_Alarms) ΛBelongingModule() string

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Alarms.

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.

func (*OpenconfigSystem_System_Alarms) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Alarms_Alarm

type OpenconfigSystem_System_Alarms_Alarm struct {
	Config *OpenconfigSystem_System_Alarms_Alarm_Config `path:"config" module:"openconfig-system"`
	Id     *string                                      `path:"id" module:"openconfig-system"`
	State  *OpenconfigSystem_System_Alarms_Alarm_State  `path:"state" module:"openconfig-system"`
}

OpenconfigSystem_System_Alarms_Alarm represents the /openconfig-system/system/alarms/alarm YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Alarms_Alarm) ΛBelongingModule

func (*OpenconfigSystem_System_Alarms_Alarm) ΛBelongingModule() string

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Alarms_Alarm.

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.

func (*OpenconfigSystem_System_Alarms_Alarm) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Alarms_Alarm_Config

type OpenconfigSystem_System_Alarms_Alarm_Config struct {
}

OpenconfigSystem_System_Alarms_Alarm_Config represents the /openconfig-system/system/alarms/alarm/config YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Alarms_Alarm_Config) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Alarms_Alarm_Config.

func (*OpenconfigSystem_System_Alarms_Alarm_Config) ΛEnumTypeMap

Λ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_Config) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Alarms_Alarm_State

type OpenconfigSystem_System_Alarms_Alarm_State struct {
	Id          *string                                                 `path:"id" module:"openconfig-system"`
	Resource    *string                                                 `path:"resource" module:"openconfig-system"`
	Severity    E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY        `path:"severity" module:"openconfig-system"`
	Text        *string                                                 `path:"text" module:"openconfig-system"`
	TimeCreated *uint64                                                 `path:"time-created" module:"openconfig-system"`
	TypeId      OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union `path:"type-id" module:"openconfig-system"`
}

OpenconfigSystem_System_Alarms_Alarm_State represents the /openconfig-system/system/alarms/alarm/state YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Alarms_Alarm_State) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Alarms_Alarm_State.

func (*OpenconfigSystem_System_Alarms_Alarm_State) ΛEnumTypeMap

Λ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_State) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

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 {
	Config *OpenconfigSystem_System_Clock_Config `path:"config" module:"openconfig-system"`
	State  *OpenconfigSystem_System_Clock_State  `path:"state" module:"openconfig-system"`
}

OpenconfigSystem_System_Clock represents the /openconfig-system/system/clock YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Clock) ΛBelongingModule

func (*OpenconfigSystem_System_Clock) ΛBelongingModule() string

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Clock.

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.

func (*OpenconfigSystem_System_Clock) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Clock_Config

type OpenconfigSystem_System_Clock_Config struct {
	TimezoneName *string `path:"timezone-name" module:"openconfig-system"`
}

OpenconfigSystem_System_Clock_Config represents the /openconfig-system/system/clock/config YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Clock_Config) ΛBelongingModule

func (*OpenconfigSystem_System_Clock_Config) ΛBelongingModule() string

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Clock_Config.

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.

func (*OpenconfigSystem_System_Clock_Config) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Clock_State

type OpenconfigSystem_System_Clock_State struct {
	TimezoneName *string `path:"timezone-name" module:"openconfig-system"`
}

OpenconfigSystem_System_Clock_State represents the /openconfig-system/system/clock/state YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Clock_State) ΛBelongingModule

func (*OpenconfigSystem_System_Clock_State) ΛBelongingModule() string

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Clock_State.

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.

func (*OpenconfigSystem_System_Clock_State) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Config

type OpenconfigSystem_System_Config struct {
	DomainName  *string `path:"domain-name" module:"openconfig-system"`
	Hostname    *string `path:"hostname" module:"openconfig-system"`
	LoginBanner *string `path:"login-banner" module:"openconfig-system"`
	MotdBanner  *string `path:"motd-banner" module:"openconfig-system"`
}

OpenconfigSystem_System_Config represents the /openconfig-system/system/config YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Config) ΛBelongingModule

func (*OpenconfigSystem_System_Config) ΛBelongingModule() string

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Config.

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.

func (*OpenconfigSystem_System_Config) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Cpus

type OpenconfigSystem_System_Cpus struct {
	Cpu map[OpenconfigSystem_System_Cpus_Cpu_State_Index_Union]*OpenconfigSystem_System_Cpus_Cpu `path:"cpu" module:"openconfig-system"`
}

OpenconfigSystem_System_Cpus represents the /openconfig-system/system/cpus YANG schema element.

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

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) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Cpus) ΛBelongingModule

func (*OpenconfigSystem_System_Cpus) ΛBelongingModule() string

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Cpus.

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.

func (*OpenconfigSystem_System_Cpus) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Cpus_Cpu

type OpenconfigSystem_System_Cpus_Cpu struct {
	Index OpenconfigSystem_System_Cpus_Cpu_State_Index_Union `path:"index" module:"openconfig-system"`
	State *OpenconfigSystem_System_Cpus_Cpu_State            `path:"state" module:"openconfig-system"`
}

OpenconfigSystem_System_Cpus_Cpu represents the /openconfig-system/system/cpus/cpu YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Cpus_Cpu) ΛBelongingModule

func (*OpenconfigSystem_System_Cpus_Cpu) ΛBelongingModule() string

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Cpus_Cpu.

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.

func (*OpenconfigSystem_System_Cpus_Cpu) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Cpus_Cpu_State

type OpenconfigSystem_System_Cpus_Cpu_State struct {
	HardwareInterrupt *OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt `path:"hardware-interrupt" module:"openconfig-system"`
	Idle              *OpenconfigSystem_System_Cpus_Cpu_State_Idle              `path:"idle" module:"openconfig-system"`
	Index             OpenconfigSystem_System_Cpus_Cpu_State_Index_Union        `path:"index" module:"openconfig-system"`
	Kernel            *OpenconfigSystem_System_Cpus_Cpu_State_Kernel            `path:"kernel" module:"openconfig-system"`
	Nice              *OpenconfigSystem_System_Cpus_Cpu_State_Nice              `path:"nice" module:"openconfig-system"`
	SoftwareInterrupt *OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt `path:"software-interrupt" module:"openconfig-system"`
	Total             *OpenconfigSystem_System_Cpus_Cpu_State_Total             `path:"total" module:"openconfig-system"`
	User              *OpenconfigSystem_System_Cpus_Cpu_State_User              `path:"user" module:"openconfig-system"`
	Wait              *OpenconfigSystem_System_Cpus_Cpu_State_Wait              `path:"wait" module:"openconfig-system"`
}

OpenconfigSystem_System_Cpus_Cpu_State represents the /openconfig-system/system/cpus/cpu/state YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Cpus_Cpu_State) ΛBelongingModule

func (*OpenconfigSystem_System_Cpus_Cpu_State) ΛBelongingModule() string

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Cpus_Cpu_State.

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.

func (*OpenconfigSystem_System_Cpus_Cpu_State) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt

type OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt struct {
	Avg      *uint8  `path:"avg" module:"openconfig-system"`
	Instant  *uint8  `path:"instant" module:"openconfig-system"`
	Interval *uint64 `path:"interval" module:"openconfig-system"`
	Max      *uint8  `path:"max" module:"openconfig-system"`
	MaxTime  *uint64 `path:"max-time" module:"openconfig-system"`
	Min      *uint8  `path:"min" module:"openconfig-system"`
	MinTime  *uint64 `path:"min-time" module:"openconfig-system"`
}

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) 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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt.

func (*OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt) ΛEnumTypeMap

Λ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_State_HardwareInterrupt) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Cpus_Cpu_State_Idle

type OpenconfigSystem_System_Cpus_Cpu_State_Idle struct {
	Avg      *uint8  `path:"avg" module:"openconfig-system"`
	Instant  *uint8  `path:"instant" module:"openconfig-system"`
	Interval *uint64 `path:"interval" module:"openconfig-system"`
	Max      *uint8  `path:"max" module:"openconfig-system"`
	MaxTime  *uint64 `path:"max-time" module:"openconfig-system"`
	Min      *uint8  `path:"min" module:"openconfig-system"`
	MinTime  *uint64 `path:"min-time" module:"openconfig-system"`
}

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) 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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Cpus_Cpu_State_Idle) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Cpus_Cpu_State_Idle.

func (*OpenconfigSystem_System_Cpus_Cpu_State_Idle) ΛEnumTypeMap

Λ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_State_Idle) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

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 {
	Avg      *uint8  `path:"avg" module:"openconfig-system"`
	Instant  *uint8  `path:"instant" module:"openconfig-system"`
	Interval *uint64 `path:"interval" module:"openconfig-system"`
	Max      *uint8  `path:"max" module:"openconfig-system"`
	MaxTime  *uint64 `path:"max-time" module:"openconfig-system"`
	Min      *uint8  `path:"min" module:"openconfig-system"`
	MinTime  *uint64 `path:"min-time" module:"openconfig-system"`
}

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) 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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Cpus_Cpu_State_Kernel) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Cpus_Cpu_State_Kernel.

func (*OpenconfigSystem_System_Cpus_Cpu_State_Kernel) ΛEnumTypeMap

Λ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_State_Kernel) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Cpus_Cpu_State_Nice

type OpenconfigSystem_System_Cpus_Cpu_State_Nice struct {
	Avg      *uint8  `path:"avg" module:"openconfig-system"`
	Instant  *uint8  `path:"instant" module:"openconfig-system"`
	Interval *uint64 `path:"interval" module:"openconfig-system"`
	Max      *uint8  `path:"max" module:"openconfig-system"`
	MaxTime  *uint64 `path:"max-time" module:"openconfig-system"`
	Min      *uint8  `path:"min" module:"openconfig-system"`
	MinTime  *uint64 `path:"min-time" module:"openconfig-system"`
}

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) 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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Cpus_Cpu_State_Nice) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Cpus_Cpu_State_Nice.

func (*OpenconfigSystem_System_Cpus_Cpu_State_Nice) ΛEnumTypeMap

Λ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_State_Nice) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt

type OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt struct {
	Avg      *uint8  `path:"avg" module:"openconfig-system"`
	Instant  *uint8  `path:"instant" module:"openconfig-system"`
	Interval *uint64 `path:"interval" module:"openconfig-system"`
	Max      *uint8  `path:"max" module:"openconfig-system"`
	MaxTime  *uint64 `path:"max-time" module:"openconfig-system"`
	Min      *uint8  `path:"min" module:"openconfig-system"`
	MinTime  *uint64 `path:"min-time" module:"openconfig-system"`
}

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) 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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt.

func (*OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt) ΛEnumTypeMap

Λ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_State_SoftwareInterrupt) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Cpus_Cpu_State_Total

type OpenconfigSystem_System_Cpus_Cpu_State_Total struct {
	Avg      *uint8  `path:"avg" module:"openconfig-system"`
	Instant  *uint8  `path:"instant" module:"openconfig-system"`
	Interval *uint64 `path:"interval" module:"openconfig-system"`
	Max      *uint8  `path:"max" module:"openconfig-system"`
	MaxTime  *uint64 `path:"max-time" module:"openconfig-system"`
	Min      *uint8  `path:"min" module:"openconfig-system"`
	MinTime  *uint64 `path:"min-time" module:"openconfig-system"`
}

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) 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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Cpus_Cpu_State_Total) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Cpus_Cpu_State_Total.

func (*OpenconfigSystem_System_Cpus_Cpu_State_Total) ΛEnumTypeMap

Λ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_State_Total) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Cpus_Cpu_State_User

type OpenconfigSystem_System_Cpus_Cpu_State_User struct {
	Avg      *uint8  `path:"avg" module:"openconfig-system"`
	Instant  *uint8  `path:"instant" module:"openconfig-system"`
	Interval *uint64 `path:"interval" module:"openconfig-system"`
	Max      *uint8  `path:"max" module:"openconfig-system"`
	MaxTime  *uint64 `path:"max-time" module:"openconfig-system"`
	Min      *uint8  `path:"min" module:"openconfig-system"`
	MinTime  *uint64 `path:"min-time" module:"openconfig-system"`
}

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) 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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Cpus_Cpu_State_User) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Cpus_Cpu_State_User.

func (*OpenconfigSystem_System_Cpus_Cpu_State_User) ΛEnumTypeMap

Λ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_State_User) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Cpus_Cpu_State_Wait

type OpenconfigSystem_System_Cpus_Cpu_State_Wait struct {
	Avg      *uint8  `path:"avg" module:"openconfig-system"`
	Instant  *uint8  `path:"instant" module:"openconfig-system"`
	Interval *uint64 `path:"interval" module:"openconfig-system"`
	Max      *uint8  `path:"max" module:"openconfig-system"`
	MaxTime  *uint64 `path:"max-time" module:"openconfig-system"`
	Min      *uint8  `path:"min" module:"openconfig-system"`
	MinTime  *uint64 `path:"min-time" module:"openconfig-system"`
}

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) 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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Cpus_Cpu_State_Wait) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Cpus_Cpu_State_Wait.

func (*OpenconfigSystem_System_Cpus_Cpu_State_Wait) ΛEnumTypeMap

Λ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_State_Wait) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Dns

type OpenconfigSystem_System_Dns struct {
	Config      *OpenconfigSystem_System_Dns_Config      `path:"config" module:"openconfig-system"`
	HostEntries *OpenconfigSystem_System_Dns_HostEntries `path:"host-entries" module:"openconfig-system"`
	Servers     *OpenconfigSystem_System_Dns_Servers     `path:"servers" module:"openconfig-system"`
	State       *OpenconfigSystem_System_Dns_State       `path:"state" module:"openconfig-system"`
}

OpenconfigSystem_System_Dns represents the /openconfig-system/system/dns YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Dns) ΛBelongingModule

func (*OpenconfigSystem_System_Dns) ΛBelongingModule() string

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Dns.

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.

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.

type OpenconfigSystem_System_Dns_Config

type OpenconfigSystem_System_Dns_Config struct {
	Search []string `path:"search" module:"openconfig-system"`
}

OpenconfigSystem_System_Dns_Config represents the /openconfig-system/system/dns/config YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Dns_Config) ΛBelongingModule

func (*OpenconfigSystem_System_Dns_Config) ΛBelongingModule() string

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Dns_Config.

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.

func (*OpenconfigSystem_System_Dns_Config) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Dns_HostEntries

type OpenconfigSystem_System_Dns_HostEntries struct {
	HostEntry map[string]*OpenconfigSystem_System_Dns_HostEntries_HostEntry `path:"host-entry" module:"openconfig-system"`
}

OpenconfigSystem_System_Dns_HostEntries represents the /openconfig-system/system/dns/host-entries YANG schema element.

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

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) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Dns_HostEntries) ΛBelongingModule

func (*OpenconfigSystem_System_Dns_HostEntries) ΛBelongingModule() string

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Dns_HostEntries.

func (*OpenconfigSystem_System_Dns_HostEntries) ΛEnumTypeMap

Λ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) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Dns_HostEntries_HostEntry

type OpenconfigSystem_System_Dns_HostEntries_HostEntry struct {
	Config   *OpenconfigSystem_System_Dns_HostEntries_HostEntry_Config `path:"config" module:"openconfig-system"`
	Hostname *string                                                   `path:"hostname" module:"openconfig-system"`
	State    *OpenconfigSystem_System_Dns_HostEntries_HostEntry_State  `path:"state" module:"openconfig-system"`
}

OpenconfigSystem_System_Dns_HostEntries_HostEntry represents the /openconfig-system/system/dns/host-entries/host-entry YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Dns_HostEntries_HostEntry) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Dns_HostEntries_HostEntry.

func (*OpenconfigSystem_System_Dns_HostEntries_HostEntry) ΛEnumTypeMap

Λ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.

func (*OpenconfigSystem_System_Dns_HostEntries_HostEntry) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Dns_HostEntries_HostEntry_Config

type OpenconfigSystem_System_Dns_HostEntries_HostEntry_Config struct {
	Alias       []string `path:"alias" module:"openconfig-system"`
	Hostname    *string  `path:"hostname" module:"openconfig-system"`
	Ipv4Address []string `path:"ipv4-address" module:"openconfig-system"`
	Ipv6Address []string `path:"ipv6-address" module:"openconfig-system"`
}

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) 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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Dns_HostEntries_HostEntry_Config) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Dns_HostEntries_HostEntry_Config.

func (*OpenconfigSystem_System_Dns_HostEntries_HostEntry_Config) ΛEnumTypeMap

Λ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_Config) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Dns_HostEntries_HostEntry_State

type OpenconfigSystem_System_Dns_HostEntries_HostEntry_State struct {
	Alias       []string `path:"alias" module:"openconfig-system"`
	Hostname    *string  `path:"hostname" module:"openconfig-system"`
	Ipv4Address []string `path:"ipv4-address" module:"openconfig-system"`
	Ipv6Address []string `path:"ipv6-address" module:"openconfig-system"`
}

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) 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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Dns_HostEntries_HostEntry_State) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Dns_HostEntries_HostEntry_State.

func (*OpenconfigSystem_System_Dns_HostEntries_HostEntry_State) ΛEnumTypeMap

Λ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_State) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Dns_Servers

type OpenconfigSystem_System_Dns_Servers struct {
	Server map[string]*OpenconfigSystem_System_Dns_Servers_Server `path:"server" module:"openconfig-system"`
}

OpenconfigSystem_System_Dns_Servers represents the /openconfig-system/system/dns/servers YANG schema element.

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

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) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Dns_Servers) ΛBelongingModule

func (*OpenconfigSystem_System_Dns_Servers) ΛBelongingModule() string

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Dns_Servers.

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.

func (*OpenconfigSystem_System_Dns_Servers) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Dns_Servers_Server

type OpenconfigSystem_System_Dns_Servers_Server struct {
	Address *string                                            `path:"address" module:"openconfig-system"`
	Config  *OpenconfigSystem_System_Dns_Servers_Server_Config `path:"config" module:"openconfig-system"`
	State   *OpenconfigSystem_System_Dns_Servers_Server_State  `path:"state" module:"openconfig-system"`
}

OpenconfigSystem_System_Dns_Servers_Server represents the /openconfig-system/system/dns/servers/server YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Dns_Servers_Server) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Dns_Servers_Server.

func (*OpenconfigSystem_System_Dns_Servers_Server) ΛEnumTypeMap

Λ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.

func (*OpenconfigSystem_System_Dns_Servers_Server) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Dns_Servers_Server_Config

type OpenconfigSystem_System_Dns_Servers_Server_Config struct {
	Address *string `path:"address" module:"openconfig-system"`
	Port    *uint16 `path:"port" module:"openconfig-system"`
}

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) 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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Dns_Servers_Server_Config) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Dns_Servers_Server_Config.

func (*OpenconfigSystem_System_Dns_Servers_Server_Config) ΛEnumTypeMap

Λ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_Config) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Dns_Servers_Server_State

type OpenconfigSystem_System_Dns_Servers_Server_State struct {
	Address *string `path:"address" module:"openconfig-system"`
	Port    *uint16 `path:"port" module:"openconfig-system"`
}

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) 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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Dns_Servers_Server_State) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Dns_Servers_Server_State.

func (*OpenconfigSystem_System_Dns_Servers_Server_State) ΛEnumTypeMap

Λ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_State) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Dns_State

type OpenconfigSystem_System_Dns_State struct {
	Search []string `path:"search" module:"openconfig-system"`
}

OpenconfigSystem_System_Dns_State represents the /openconfig-system/system/dns/state YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Dns_State) ΛBelongingModule

func (*OpenconfigSystem_System_Dns_State) ΛBelongingModule() string

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Dns_State.

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.

func (*OpenconfigSystem_System_Dns_State) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_License

type OpenconfigSystem_System_License struct {
	Licenses *OpenconfigSystem_System_License_Licenses `path:"licenses" module:"openconfig-system"`
}

OpenconfigSystem_System_License represents the /openconfig-system/system/license YANG schema element.

func (*OpenconfigSystem_System_License) IsYANGGoStruct

func (*OpenconfigSystem_System_License) IsYANGGoStruct()

IsYANGGoStruct ensures that OpenconfigSystem_System_License 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_License) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_License) ΛBelongingModule

func (*OpenconfigSystem_System_License) ΛBelongingModule() string

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_License.

func (*OpenconfigSystem_System_License) ΛEnumTypeMap

func (t *OpenconfigSystem_System_License) ΛEnumTypeMap() 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_License) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_License_Licenses

type OpenconfigSystem_System_License_Licenses struct {
	License map[string]*OpenconfigSystem_System_License_Licenses_License `path:"license" module:"openconfig-system"`
}

OpenconfigSystem_System_License_Licenses represents the /openconfig-system/system/license/licenses YANG schema element.

func (*OpenconfigSystem_System_License_Licenses) IsYANGGoStruct

func (*OpenconfigSystem_System_License_Licenses) IsYANGGoStruct()

IsYANGGoStruct ensures that OpenconfigSystem_System_License_Licenses 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_License_Licenses) NewLicense

NewLicense creates a new entry in the License list of the OpenconfigSystem_System_License_Licenses struct. The keys of the list are populated from the input arguments.

func (*OpenconfigSystem_System_License_Licenses) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_License_Licenses) ΛBelongingModule

func (*OpenconfigSystem_System_License_Licenses) ΛBelongingModule() string

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_License_Licenses.

func (*OpenconfigSystem_System_License_Licenses) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigSystem_System_License_Licenses) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_License_Licenses_License

type OpenconfigSystem_System_License_Licenses_License struct {
	Config    *OpenconfigSystem_System_License_Licenses_License_Config `path:"config" module:"openconfig-system"`
	LicenseId *string                                                  `path:"license-id" module:"openconfig-system"`
	State     *OpenconfigSystem_System_License_Licenses_License_State  `path:"state" module:"openconfig-system"`
}

OpenconfigSystem_System_License_Licenses_License represents the /openconfig-system/system/license/licenses/license YANG schema element.

func (*OpenconfigSystem_System_License_Licenses_License) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_License_Licenses_License 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_License_Licenses_License) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_License_Licenses_License) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_License_Licenses_License.

func (*OpenconfigSystem_System_License_Licenses_License) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigSystem_System_License_Licenses_License) ΛListKeyMap

func (t *OpenconfigSystem_System_License_Licenses_License) ΛListKeyMap() (map[string]interface{}, error)

ΛListKeyMap returns the keys of the OpenconfigSystem_System_License_Licenses_License struct, which is a YANG list entry.

func (*OpenconfigSystem_System_License_Licenses_License) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_License_Licenses_License_Config

type OpenconfigSystem_System_License_Licenses_License_Config struct {
	Active      *bool                                                                     `path:"active" module:"openconfig-system"`
	LicenseData OpenconfigSystem_System_License_Licenses_License_Config_LicenseData_Union `path:"license-data" module:"openconfig-system"`
	LicenseId   *string                                                                   `path:"license-id" module:"openconfig-system"`
}

OpenconfigSystem_System_License_Licenses_License_Config represents the /openconfig-system/system/license/licenses/license/config YANG schema element.

func (*OpenconfigSystem_System_License_Licenses_License_Config) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_License_Licenses_License_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_License_Licenses_License_Config) To_OpenconfigSystem_System_License_Licenses_License_Config_LicenseData_Union

func (t *OpenconfigSystem_System_License_Licenses_License_Config) To_OpenconfigSystem_System_License_Licenses_License_Config_LicenseData_Union(i interface{}) (OpenconfigSystem_System_License_Licenses_License_Config_LicenseData_Union, error)

To_OpenconfigSystem_System_License_Licenses_License_Config_LicenseData_Union takes an input interface{} and attempts to convert it to a struct which implements the OpenconfigSystem_System_License_Licenses_License_Config_LicenseData_Union union. It returns an error if the interface{} supplied cannot be converted to a type within the union.

func (*OpenconfigSystem_System_License_Licenses_License_Config) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_License_Licenses_License_Config) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_License_Licenses_License_Config.

func (*OpenconfigSystem_System_License_Licenses_License_Config) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigSystem_System_License_Licenses_License_Config) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_License_Licenses_License_Config_LicenseData_Union

type OpenconfigSystem_System_License_Licenses_License_Config_LicenseData_Union interface {
	Is_OpenconfigSystem_System_License_Licenses_License_Config_LicenseData_Union()
}

OpenconfigSystem_System_License_Licenses_License_Config_LicenseData_Union is an interface that is implemented by valid types for the union for the leaf /openconfig-system/system/license/licenses/license/config/license-data within the YANG schema.

type OpenconfigSystem_System_License_Licenses_License_Config_LicenseData_Union_Binary

type OpenconfigSystem_System_License_Licenses_License_Config_LicenseData_Union_Binary struct {
	Binary Binary
}

OpenconfigSystem_System_License_Licenses_License_Config_LicenseData_Union_Binary is used when /openconfig-system/system/license/licenses/license/config/license-data is to be set to a Binary value.

func (*OpenconfigSystem_System_License_Licenses_License_Config_LicenseData_Union_Binary) Is_OpenconfigSystem_System_License_Licenses_License_Config_LicenseData_Union

func (*OpenconfigSystem_System_License_Licenses_License_Config_LicenseData_Union_Binary) Is_OpenconfigSystem_System_License_Licenses_License_Config_LicenseData_Union()

Is_OpenconfigSystem_System_License_Licenses_License_Config_LicenseData_Union ensures that OpenconfigSystem_System_License_Licenses_License_Config_LicenseData_Union_Binary implements the OpenconfigSystem_System_License_Licenses_License_Config_LicenseData_Union interface.

type OpenconfigSystem_System_License_Licenses_License_Config_LicenseData_Union_String

type OpenconfigSystem_System_License_Licenses_License_Config_LicenseData_Union_String struct {
	String string
}

OpenconfigSystem_System_License_Licenses_License_Config_LicenseData_Union_String is used when /openconfig-system/system/license/licenses/license/config/license-data is to be set to a string value.

func (*OpenconfigSystem_System_License_Licenses_License_Config_LicenseData_Union_String) Is_OpenconfigSystem_System_License_Licenses_License_Config_LicenseData_Union

func (*OpenconfigSystem_System_License_Licenses_License_Config_LicenseData_Union_String) Is_OpenconfigSystem_System_License_Licenses_License_Config_LicenseData_Union()

Is_OpenconfigSystem_System_License_Licenses_License_Config_LicenseData_Union ensures that OpenconfigSystem_System_License_Licenses_License_Config_LicenseData_Union_String implements the OpenconfigSystem_System_License_Licenses_License_Config_LicenseData_Union interface.

type OpenconfigSystem_System_License_Licenses_License_State

type OpenconfigSystem_System_License_Licenses_License_State struct {
	Active         *bool                                                                    `path:"active" module:"openconfig-system"`
	Description    *string                                                                  `path:"description" module:"openconfig-system"`
	ExpirationDate *uint64                                                                  `path:"expiration-date" module:"openconfig-system"`
	Expired        *bool                                                                    `path:"expired" module:"openconfig-system"`
	InUse          *bool                                                                    `path:"in-use" module:"openconfig-system"`
	IssueDate      *uint64                                                                  `path:"issue-date" module:"openconfig-system"`
	LicenseData    OpenconfigSystem_System_License_Licenses_License_State_LicenseData_Union `path:"license-data" module:"openconfig-system"`
	LicenseId      *string                                                                  `path:"license-id" module:"openconfig-system"`
	Valid          *bool                                                                    `path:"valid" module:"openconfig-system"`
}

OpenconfigSystem_System_License_Licenses_License_State represents the /openconfig-system/system/license/licenses/license/state YANG schema element.

func (*OpenconfigSystem_System_License_Licenses_License_State) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_License_Licenses_License_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_License_Licenses_License_State) To_OpenconfigSystem_System_License_Licenses_License_State_LicenseData_Union

func (t *OpenconfigSystem_System_License_Licenses_License_State) To_OpenconfigSystem_System_License_Licenses_License_State_LicenseData_Union(i interface{}) (OpenconfigSystem_System_License_Licenses_License_State_LicenseData_Union, error)

To_OpenconfigSystem_System_License_Licenses_License_State_LicenseData_Union takes an input interface{} and attempts to convert it to a struct which implements the OpenconfigSystem_System_License_Licenses_License_State_LicenseData_Union union. It returns an error if the interface{} supplied cannot be converted to a type within the union.

func (*OpenconfigSystem_System_License_Licenses_License_State) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_License_Licenses_License_State) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_License_Licenses_License_State.

func (*OpenconfigSystem_System_License_Licenses_License_State) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigSystem_System_License_Licenses_License_State) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_License_Licenses_License_State_LicenseData_Union

type OpenconfigSystem_System_License_Licenses_License_State_LicenseData_Union interface {
	Is_OpenconfigSystem_System_License_Licenses_License_State_LicenseData_Union()
}

OpenconfigSystem_System_License_Licenses_License_State_LicenseData_Union is an interface that is implemented by valid types for the union for the leaf /openconfig-system/system/license/licenses/license/state/license-data within the YANG schema.

type OpenconfigSystem_System_License_Licenses_License_State_LicenseData_Union_Binary

type OpenconfigSystem_System_License_Licenses_License_State_LicenseData_Union_Binary struct {
	Binary Binary
}

OpenconfigSystem_System_License_Licenses_License_State_LicenseData_Union_Binary is used when /openconfig-system/system/license/licenses/license/state/license-data is to be set to a Binary value.

func (*OpenconfigSystem_System_License_Licenses_License_State_LicenseData_Union_Binary) Is_OpenconfigSystem_System_License_Licenses_License_State_LicenseData_Union

func (*OpenconfigSystem_System_License_Licenses_License_State_LicenseData_Union_Binary) Is_OpenconfigSystem_System_License_Licenses_License_State_LicenseData_Union()

Is_OpenconfigSystem_System_License_Licenses_License_State_LicenseData_Union ensures that OpenconfigSystem_System_License_Licenses_License_State_LicenseData_Union_Binary implements the OpenconfigSystem_System_License_Licenses_License_State_LicenseData_Union interface.

type OpenconfigSystem_System_License_Licenses_License_State_LicenseData_Union_String

type OpenconfigSystem_System_License_Licenses_License_State_LicenseData_Union_String struct {
	String string
}

OpenconfigSystem_System_License_Licenses_License_State_LicenseData_Union_String is used when /openconfig-system/system/license/licenses/license/state/license-data is to be set to a string value.

func (*OpenconfigSystem_System_License_Licenses_License_State_LicenseData_Union_String) Is_OpenconfigSystem_System_License_Licenses_License_State_LicenseData_Union

func (*OpenconfigSystem_System_License_Licenses_License_State_LicenseData_Union_String) Is_OpenconfigSystem_System_License_Licenses_License_State_LicenseData_Union()

Is_OpenconfigSystem_System_License_Licenses_License_State_LicenseData_Union ensures that OpenconfigSystem_System_License_Licenses_License_State_LicenseData_Union_String implements the OpenconfigSystem_System_License_Licenses_License_State_LicenseData_Union interface.

type OpenconfigSystem_System_Logging

type OpenconfigSystem_System_Logging struct {
	Console       *OpenconfigSystem_System_Logging_Console       `path:"console" module:"openconfig-system"`
	RemoteServers *OpenconfigSystem_System_Logging_RemoteServers `path:"remote-servers" module:"openconfig-system"`
}

OpenconfigSystem_System_Logging represents the /openconfig-system/system/logging YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Logging) ΛBelongingModule

func (*OpenconfigSystem_System_Logging) ΛBelongingModule() string

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Logging.

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.

func (*OpenconfigSystem_System_Logging) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Logging_Console

type OpenconfigSystem_System_Logging_Console struct {
	Config    *OpenconfigSystem_System_Logging_Console_Config    `path:"config" module:"openconfig-system"`
	Selectors *OpenconfigSystem_System_Logging_Console_Selectors `path:"selectors" module:"openconfig-system"`
	State     *OpenconfigSystem_System_Logging_Console_State     `path:"state" module:"openconfig-system"`
}

OpenconfigSystem_System_Logging_Console represents the /openconfig-system/system/logging/console YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Logging_Console) ΛBelongingModule

func (*OpenconfigSystem_System_Logging_Console) ΛBelongingModule() string

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Logging_Console.

func (*OpenconfigSystem_System_Logging_Console) ΛEnumTypeMap

Λ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) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Logging_Console_Config

type OpenconfigSystem_System_Logging_Console_Config struct {
}

OpenconfigSystem_System_Logging_Console_Config represents the /openconfig-system/system/logging/console/config YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Logging_Console_Config) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Logging_Console_Config.

func (*OpenconfigSystem_System_Logging_Console_Config) ΛEnumTypeMap

Λ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_Config) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Logging_Console_Selectors

type OpenconfigSystem_System_Logging_Console_Selectors struct {
	Selector map[OpenconfigSystem_System_Logging_Console_Selectors_Selector_Key]*OpenconfigSystem_System_Logging_Console_Selectors_Selector `path:"selector" module:"openconfig-system"`
}

OpenconfigSystem_System_Logging_Console_Selectors represents the /openconfig-system/system/logging/console/selectors YANG schema element.

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

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) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Logging_Console_Selectors) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Logging_Console_Selectors.

func (*OpenconfigSystem_System_Logging_Console_Selectors) ΛEnumTypeMap

Λ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) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Logging_Console_Selectors_Selector

type OpenconfigSystem_System_Logging_Console_Selectors_Selector struct {
	Config   *OpenconfigSystem_System_Logging_Console_Selectors_Selector_Config `path:"config" module:"openconfig-system"`
	Facility E_OpenconfigSystemLogging_SYSLOG_FACILITY                          `path:"facility" module:"openconfig-system"`
	Severity E_OpenconfigSystemLogging_SyslogSeverity                           `path:"severity" module:"openconfig-system"`
	State    *OpenconfigSystem_System_Logging_Console_Selectors_Selector_State  `path:"state" module:"openconfig-system"`
}

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) 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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Logging_Console_Selectors_Selector) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Logging_Console_Selectors_Selector.

func (*OpenconfigSystem_System_Logging_Console_Selectors_Selector) ΛEnumTypeMap

Λ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.

func (*OpenconfigSystem_System_Logging_Console_Selectors_Selector) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Logging_Console_Selectors_Selector_Config

type OpenconfigSystem_System_Logging_Console_Selectors_Selector_Config struct {
	Facility E_OpenconfigSystemLogging_SYSLOG_FACILITY `path:"facility" module:"openconfig-system"`
	Severity E_OpenconfigSystemLogging_SyslogSeverity  `path:"severity" module:"openconfig-system"`
}

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) 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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Logging_Console_Selectors_Selector_Config) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Logging_Console_Selectors_Selector_Config.

func (*OpenconfigSystem_System_Logging_Console_Selectors_Selector_Config) ΛEnumTypeMap

Λ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_Config) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

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 {
	Facility E_OpenconfigSystemLogging_SYSLOG_FACILITY `path:"facility" module:"openconfig-system"`
	Severity E_OpenconfigSystemLogging_SyslogSeverity  `path:"severity" module:"openconfig-system"`
}

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) 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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Logging_Console_Selectors_Selector_State) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Logging_Console_Selectors_Selector_State.

func (*OpenconfigSystem_System_Logging_Console_Selectors_Selector_State) ΛEnumTypeMap

Λ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_State) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Logging_Console_State

type OpenconfigSystem_System_Logging_Console_State struct {
}

OpenconfigSystem_System_Logging_Console_State represents the /openconfig-system/system/logging/console/state YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Logging_Console_State) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Logging_Console_State.

func (*OpenconfigSystem_System_Logging_Console_State) ΛEnumTypeMap

Λ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_State) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Logging_RemoteServers

type OpenconfigSystem_System_Logging_RemoteServers struct {
	RemoteServer map[string]*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer `path:"remote-server" module:"openconfig-system"`
}

OpenconfigSystem_System_Logging_RemoteServers represents the /openconfig-system/system/logging/remote-servers YANG schema element.

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

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) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Logging_RemoteServers) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Logging_RemoteServers.

func (*OpenconfigSystem_System_Logging_RemoteServers) ΛEnumTypeMap

Λ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) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Logging_RemoteServers_RemoteServer

type OpenconfigSystem_System_Logging_RemoteServers_RemoteServer struct {
	Config    *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Config    `path:"config" module:"openconfig-system"`
	Host      *string                                                               `path:"host" module:"openconfig-system"`
	Selectors *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors `path:"selectors" module:"openconfig-system"`
	State     *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_State     `path:"state" module:"openconfig-system"`
}

OpenconfigSystem_System_Logging_RemoteServers_RemoteServer represents the /openconfig-system/system/logging/remote-servers/remote-server YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Logging_RemoteServers_RemoteServer.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer) ΛEnumTypeMap

Λ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.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Config

type OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Config struct {
	Host          *string `path:"host" module:"openconfig-system"`
	RemotePort    *uint16 `path:"remote-port" module:"openconfig-system"`
	SourceAddress *string `path:"source-address" module:"openconfig-system"`
}

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) 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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Config) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Config.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Config) ΛEnumTypeMap

Λ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_Config) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors

type OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors struct {
	Selector map[OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_Key]*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector `path:"selector" module:"openconfig-system"`
}

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) 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

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) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors) ΛEnumTypeMap

Λ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) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector

type OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector struct {
	Config   *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_Config `path:"config" module:"openconfig-system"`
	Facility E_OpenconfigSystemLogging_SYSLOG_FACILITY                                             `path:"facility" module:"openconfig-system"`
	Severity E_OpenconfigSystemLogging_SyslogSeverity                                              `path:"severity" module:"openconfig-system"`
	State    *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_State  `path:"state" module:"openconfig-system"`
}

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) 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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector) ΛEnumTypeMap

Λ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

ΛListKeyMap returns the keys of the OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector struct, which is a YANG list entry.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_Config

type OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_Config struct {
	Facility E_OpenconfigSystemLogging_SYSLOG_FACILITY `path:"facility" module:"openconfig-system"`
	Severity E_OpenconfigSystemLogging_SyslogSeverity  `path:"severity" module:"openconfig-system"`
}

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) 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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_Config) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_Config.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_Config) ΛEnumTypeMap

Λ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_Config) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

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 {
	Facility E_OpenconfigSystemLogging_SYSLOG_FACILITY `path:"facility" module:"openconfig-system"`
	Severity E_OpenconfigSystemLogging_SyslogSeverity  `path:"severity" module:"openconfig-system"`
}

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) 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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_State) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_State.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_State) ΛEnumTypeMap

Λ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_State) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_State

type OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_State struct {
	Host          *string `path:"host" module:"openconfig-system"`
	RemotePort    *uint16 `path:"remote-port" module:"openconfig-system"`
	SourceAddress *string `path:"source-address" module:"openconfig-system"`
}

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) 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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_State) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_State.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_State) ΛEnumTypeMap

Λ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_State) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Memory

type OpenconfigSystem_System_Memory struct {
	Config *OpenconfigSystem_System_Memory_Config `path:"config" module:"openconfig-system"`
	State  *OpenconfigSystem_System_Memory_State  `path:"state" module:"openconfig-system"`
}

OpenconfigSystem_System_Memory represents the /openconfig-system/system/memory YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Memory) ΛBelongingModule

func (*OpenconfigSystem_System_Memory) ΛBelongingModule() string

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Memory.

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.

func (*OpenconfigSystem_System_Memory) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Memory_Config

type OpenconfigSystem_System_Memory_Config struct {
}

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Memory_Config) ΛBelongingModule

func (*OpenconfigSystem_System_Memory_Config) ΛBelongingModule() string

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Memory_Config.

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.

func (*OpenconfigSystem_System_Memory_Config) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Memory_State

type OpenconfigSystem_System_Memory_State struct {
	Counters *OpenconfigSystem_System_Memory_State_Counters `path:"counters" module:"openconfig-system"`
	Free     *uint64                                        `path:"free" module:"openconfig-system"`
	Physical *uint64                                        `path:"physical" module:"openconfig-system"`
	Reserved *uint64                                        `path:"reserved" module:"openconfig-system"`
	Used     *uint64                                        `path:"used" module:"openconfig-system"`
}

OpenconfigSystem_System_Memory_State represents the /openconfig-system/system/memory/state YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Memory_State) ΛBelongingModule

func (*OpenconfigSystem_System_Memory_State) ΛBelongingModule() string

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Memory_State.

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.

func (*OpenconfigSystem_System_Memory_State) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Memory_State_Counters

type OpenconfigSystem_System_Memory_State_Counters struct {
	CorrectableEccErrors   *uint64 `path:"correctable-ecc-errors" module:"openconfig-system"`
	TotalEccErrors         *uint64 `path:"total-ecc-errors" module:"openconfig-system"`
	UncorrectableEccErrors *uint64 `path:"uncorrectable-ecc-errors" module:"openconfig-system"`
}

OpenconfigSystem_System_Memory_State_Counters represents the /openconfig-system/system/memory/state/counters YANG schema element.

func (*OpenconfigSystem_System_Memory_State_Counters) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Memory_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_Memory_State_Counters) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Memory_State_Counters) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Memory_State_Counters.

func (*OpenconfigSystem_System_Memory_State_Counters) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigSystem_System_Memory_State_Counters) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Messages

type OpenconfigSystem_System_Messages struct {
	Config       *OpenconfigSystem_System_Messages_Config       `path:"config" module:"openconfig-system"`
	DebugEntries *OpenconfigSystem_System_Messages_DebugEntries `path:"debug-entries" module:"openconfig-system"`
	State        *OpenconfigSystem_System_Messages_State        `path:"state" module:"openconfig-system"`
}

OpenconfigSystem_System_Messages represents the /openconfig-system/system/messages YANG schema element.

func (*OpenconfigSystem_System_Messages) IsYANGGoStruct

func (*OpenconfigSystem_System_Messages) IsYANGGoStruct()

IsYANGGoStruct ensures that OpenconfigSystem_System_Messages 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_Messages) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Messages) ΛBelongingModule

func (*OpenconfigSystem_System_Messages) ΛBelongingModule() string

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Messages.

func (*OpenconfigSystem_System_Messages) ΛEnumTypeMap

func (t *OpenconfigSystem_System_Messages) ΛEnumTypeMap() 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_Messages) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Messages_Config

type OpenconfigSystem_System_Messages_Config struct {
	Severity E_OpenconfigMessages_SyslogSeverity `path:"severity" module:"openconfig-system"`
}

OpenconfigSystem_System_Messages_Config represents the /openconfig-system/system/messages/config YANG schema element.

func (*OpenconfigSystem_System_Messages_Config) IsYANGGoStruct

func (*OpenconfigSystem_System_Messages_Config) IsYANGGoStruct()

IsYANGGoStruct ensures that OpenconfigSystem_System_Messages_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_Messages_Config) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Messages_Config) ΛBelongingModule

func (*OpenconfigSystem_System_Messages_Config) ΛBelongingModule() string

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Messages_Config.

func (*OpenconfigSystem_System_Messages_Config) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigSystem_System_Messages_Config) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Messages_DebugEntries

type OpenconfigSystem_System_Messages_DebugEntries struct {
	DebugService map[E_OpenconfigMessages_DEBUG_SERVICE]*OpenconfigSystem_System_Messages_DebugEntries_DebugService `path:"debug-service" module:"openconfig-system"`
}

OpenconfigSystem_System_Messages_DebugEntries represents the /openconfig-system/system/messages/debug-entries YANG schema element.

func (*OpenconfigSystem_System_Messages_DebugEntries) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Messages_DebugEntries 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_Messages_DebugEntries) NewDebugService

NewDebugService creates a new entry in the DebugService list of the OpenconfigSystem_System_Messages_DebugEntries struct. The keys of the list are populated from the input arguments.

func (*OpenconfigSystem_System_Messages_DebugEntries) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Messages_DebugEntries) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Messages_DebugEntries.

func (*OpenconfigSystem_System_Messages_DebugEntries) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigSystem_System_Messages_DebugEntries) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Messages_DebugEntries_DebugService

type OpenconfigSystem_System_Messages_DebugEntries_DebugService struct {
	Config  *OpenconfigSystem_System_Messages_DebugEntries_DebugService_Config `path:"config" module:"openconfig-system"`
	Service E_OpenconfigMessages_DEBUG_SERVICE                                 `path:"service" module:"openconfig-system"`
	State   *OpenconfigSystem_System_Messages_DebugEntries_DebugService_State  `path:"state" module:"openconfig-system"`
}

OpenconfigSystem_System_Messages_DebugEntries_DebugService represents the /openconfig-system/system/messages/debug-entries/debug-service YANG schema element.

func (*OpenconfigSystem_System_Messages_DebugEntries_DebugService) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Messages_DebugEntries_DebugService 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_Messages_DebugEntries_DebugService) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Messages_DebugEntries_DebugService) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Messages_DebugEntries_DebugService.

func (*OpenconfigSystem_System_Messages_DebugEntries_DebugService) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigSystem_System_Messages_DebugEntries_DebugService) ΛListKeyMap

func (t *OpenconfigSystem_System_Messages_DebugEntries_DebugService) ΛListKeyMap() (map[string]interface{}, error)

ΛListKeyMap returns the keys of the OpenconfigSystem_System_Messages_DebugEntries_DebugService struct, which is a YANG list entry.

func (*OpenconfigSystem_System_Messages_DebugEntries_DebugService) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Messages_DebugEntries_DebugService_Config

type OpenconfigSystem_System_Messages_DebugEntries_DebugService_Config struct {
	Enabled *bool                              `path:"enabled" module:"openconfig-system"`
	Service E_OpenconfigMessages_DEBUG_SERVICE `path:"service" module:"openconfig-system"`
}

OpenconfigSystem_System_Messages_DebugEntries_DebugService_Config represents the /openconfig-system/system/messages/debug-entries/debug-service/config YANG schema element.

func (*OpenconfigSystem_System_Messages_DebugEntries_DebugService_Config) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Messages_DebugEntries_DebugService_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_Messages_DebugEntries_DebugService_Config) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Messages_DebugEntries_DebugService_Config) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Messages_DebugEntries_DebugService_Config.

func (*OpenconfigSystem_System_Messages_DebugEntries_DebugService_Config) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigSystem_System_Messages_DebugEntries_DebugService_Config) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Messages_DebugEntries_DebugService_State

type OpenconfigSystem_System_Messages_DebugEntries_DebugService_State struct {
	Enabled *bool                              `path:"enabled" module:"openconfig-system"`
	Service E_OpenconfigMessages_DEBUG_SERVICE `path:"service" module:"openconfig-system"`
}

OpenconfigSystem_System_Messages_DebugEntries_DebugService_State represents the /openconfig-system/system/messages/debug-entries/debug-service/state YANG schema element.

func (*OpenconfigSystem_System_Messages_DebugEntries_DebugService_State) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Messages_DebugEntries_DebugService_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_Messages_DebugEntries_DebugService_State) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Messages_DebugEntries_DebugService_State) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Messages_DebugEntries_DebugService_State.

func (*OpenconfigSystem_System_Messages_DebugEntries_DebugService_State) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigSystem_System_Messages_DebugEntries_DebugService_State) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Messages_State

type OpenconfigSystem_System_Messages_State struct {
	Message  *OpenconfigSystem_System_Messages_State_Message `path:"message" module:"openconfig-system"`
	Severity E_OpenconfigMessages_SyslogSeverity             `path:"severity" module:"openconfig-system"`
}

OpenconfigSystem_System_Messages_State represents the /openconfig-system/system/messages/state YANG schema element.

func (*OpenconfigSystem_System_Messages_State) IsYANGGoStruct

func (*OpenconfigSystem_System_Messages_State) IsYANGGoStruct()

IsYANGGoStruct ensures that OpenconfigSystem_System_Messages_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_Messages_State) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Messages_State) ΛBelongingModule

func (*OpenconfigSystem_System_Messages_State) ΛBelongingModule() string

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Messages_State.

func (*OpenconfigSystem_System_Messages_State) ΛEnumTypeMap

func (t *OpenconfigSystem_System_Messages_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.

func (*OpenconfigSystem_System_Messages_State) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Messages_State_Message

type OpenconfigSystem_System_Messages_State_Message struct {
	AppName  *string `path:"app-name" module:"openconfig-system"`
	Msg      *string `path:"msg" module:"openconfig-system"`
	Msgid    *string `path:"msgid" module:"openconfig-system"`
	Priority *uint8  `path:"priority" module:"openconfig-system"`
	Procid   *string `path:"procid" module:"openconfig-system"`
}

OpenconfigSystem_System_Messages_State_Message represents the /openconfig-system/system/messages/state/message YANG schema element.

func (*OpenconfigSystem_System_Messages_State_Message) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Messages_State_Message 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_Messages_State_Message) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Messages_State_Message) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Messages_State_Message.

func (*OpenconfigSystem_System_Messages_State_Message) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigSystem_System_Messages_State_Message) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_MountPoints

type OpenconfigSystem_System_MountPoints struct {
	MountPoint map[string]*OpenconfigSystem_System_MountPoints_MountPoint `path:"mount-point" module:"openconfig-system"`
}

OpenconfigSystem_System_MountPoints represents the /openconfig-system/system/mount-points YANG schema element.

func (*OpenconfigSystem_System_MountPoints) IsYANGGoStruct

func (*OpenconfigSystem_System_MountPoints) IsYANGGoStruct()

IsYANGGoStruct ensures that OpenconfigSystem_System_MountPoints 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_MountPoints) NewMountPoint

NewMountPoint creates a new entry in the MountPoint list of the OpenconfigSystem_System_MountPoints struct. The keys of the list are populated from the input arguments.

func (*OpenconfigSystem_System_MountPoints) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_MountPoints) ΛBelongingModule

func (*OpenconfigSystem_System_MountPoints) ΛBelongingModule() string

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_MountPoints.

func (*OpenconfigSystem_System_MountPoints) ΛEnumTypeMap

func (t *OpenconfigSystem_System_MountPoints) ΛEnumTypeMap() 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_MountPoints) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_MountPoints_MountPoint

type OpenconfigSystem_System_MountPoints_MountPoint struct {
	Name  *string                                               `path:"name" module:"openconfig-system"`
	State *OpenconfigSystem_System_MountPoints_MountPoint_State `path:"state" module:"openconfig-system"`
}

OpenconfigSystem_System_MountPoints_MountPoint represents the /openconfig-system/system/mount-points/mount-point YANG schema element.

func (*OpenconfigSystem_System_MountPoints_MountPoint) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_MountPoints_MountPoint 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_MountPoints_MountPoint) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_MountPoints_MountPoint) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_MountPoints_MountPoint.

func (*OpenconfigSystem_System_MountPoints_MountPoint) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigSystem_System_MountPoints_MountPoint) ΛListKeyMap

func (t *OpenconfigSystem_System_MountPoints_MountPoint) ΛListKeyMap() (map[string]interface{}, error)

ΛListKeyMap returns the keys of the OpenconfigSystem_System_MountPoints_MountPoint struct, which is a YANG list entry.

func (*OpenconfigSystem_System_MountPoints_MountPoint) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_MountPoints_MountPoint_State

type OpenconfigSystem_System_MountPoints_MountPoint_State struct {
	Available        *uint64 `path:"available" module:"openconfig-system"`
	Name             *string `path:"name" module:"openconfig-system"`
	Size             *uint64 `path:"size" module:"openconfig-system"`
	StorageComponent *string `path:"storage-component" module:"openconfig-system"`
	Utilized         *uint64 `path:"utilized" module:"openconfig-system"`
}

OpenconfigSystem_System_MountPoints_MountPoint_State represents the /openconfig-system/system/mount-points/mount-point/state YANG schema element.

func (*OpenconfigSystem_System_MountPoints_MountPoint_State) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_MountPoints_MountPoint_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_MountPoints_MountPoint_State) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_MountPoints_MountPoint_State) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_MountPoints_MountPoint_State.

func (*OpenconfigSystem_System_MountPoints_MountPoint_State) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigSystem_System_MountPoints_MountPoint_State) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Ntp

type OpenconfigSystem_System_Ntp struct {
	Config  *OpenconfigSystem_System_Ntp_Config  `path:"config" module:"openconfig-system"`
	NtpKeys *OpenconfigSystem_System_Ntp_NtpKeys `path:"ntp-keys" module:"openconfig-system"`
	Servers *OpenconfigSystem_System_Ntp_Servers `path:"servers" module:"openconfig-system"`
	State   *OpenconfigSystem_System_Ntp_State   `path:"state" module:"openconfig-system"`
}

OpenconfigSystem_System_Ntp represents the /openconfig-system/system/ntp YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Ntp) ΛBelongingModule

func (*OpenconfigSystem_System_Ntp) ΛBelongingModule() string

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Ntp.

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.

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.

type OpenconfigSystem_System_Ntp_Config

type OpenconfigSystem_System_Ntp_Config struct {
	EnableNtpAuth    *bool   `path:"enable-ntp-auth" module:"openconfig-system"`
	Enabled          *bool   `path:"enabled" module:"openconfig-system"`
	NtpSourceAddress *string `path:"ntp-source-address" module:"openconfig-system"`
}

OpenconfigSystem_System_Ntp_Config represents the /openconfig-system/system/ntp/config YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Ntp_Config) ΛBelongingModule

func (*OpenconfigSystem_System_Ntp_Config) ΛBelongingModule() string

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Ntp_Config.

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.

func (*OpenconfigSystem_System_Ntp_Config) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Ntp_NtpKeys

type OpenconfigSystem_System_Ntp_NtpKeys struct {
	NtpKey map[uint16]*OpenconfigSystem_System_Ntp_NtpKeys_NtpKey `path:"ntp-key" module:"openconfig-system"`
}

OpenconfigSystem_System_Ntp_NtpKeys represents the /openconfig-system/system/ntp/ntp-keys YANG schema element.

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

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) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Ntp_NtpKeys) ΛBelongingModule

func (*OpenconfigSystem_System_Ntp_NtpKeys) ΛBelongingModule() string

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Ntp_NtpKeys.

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.

func (*OpenconfigSystem_System_Ntp_NtpKeys) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Ntp_NtpKeys_NtpKey

type OpenconfigSystem_System_Ntp_NtpKeys_NtpKey struct {
	Config *OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_Config `path:"config" module:"openconfig-system"`
	KeyId  *uint16                                            `path:"key-id" module:"openconfig-system"`
	State  *OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_State  `path:"state" module:"openconfig-system"`
}

OpenconfigSystem_System_Ntp_NtpKeys_NtpKey represents the /openconfig-system/system/ntp/ntp-keys/ntp-key YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Ntp_NtpKeys_NtpKey) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Ntp_NtpKeys_NtpKey.

func (*OpenconfigSystem_System_Ntp_NtpKeys_NtpKey) ΛEnumTypeMap

Λ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.

func (*OpenconfigSystem_System_Ntp_NtpKeys_NtpKey) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_Config

type OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_Config struct {
	KeyId    *uint16                          `path:"key-id" module:"openconfig-system"`
	KeyType  E_OpenconfigSystem_NTP_AUTH_TYPE `path:"key-type" module:"openconfig-system"`
	KeyValue *string                          `path:"key-value" module:"openconfig-system"`
}

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) 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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_Config) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_Config.

func (*OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_Config) ΛEnumTypeMap

Λ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_Config) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_State

type OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_State struct {
	KeyId    *uint16                          `path:"key-id" module:"openconfig-system"`
	KeyType  E_OpenconfigSystem_NTP_AUTH_TYPE `path:"key-type" module:"openconfig-system"`
	KeyValue *string                          `path:"key-value" module:"openconfig-system"`
}

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) 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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_State) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_State.

func (*OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_State) ΛEnumTypeMap

Λ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_State) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Ntp_Servers

type OpenconfigSystem_System_Ntp_Servers struct {
	Server map[string]*OpenconfigSystem_System_Ntp_Servers_Server `path:"server" module:"openconfig-system"`
}

OpenconfigSystem_System_Ntp_Servers represents the /openconfig-system/system/ntp/servers YANG schema element.

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

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) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Ntp_Servers) ΛBelongingModule

func (*OpenconfigSystem_System_Ntp_Servers) ΛBelongingModule() string

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Ntp_Servers.

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.

func (*OpenconfigSystem_System_Ntp_Servers) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Ntp_Servers_Server

type OpenconfigSystem_System_Ntp_Servers_Server struct {
	Address *string                                            `path:"address" module:"openconfig-system"`
	Config  *OpenconfigSystem_System_Ntp_Servers_Server_Config `path:"config" module:"openconfig-system"`
	State   *OpenconfigSystem_System_Ntp_Servers_Server_State  `path:"state" module:"openconfig-system"`
}

OpenconfigSystem_System_Ntp_Servers_Server represents the /openconfig-system/system/ntp/servers/server YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Ntp_Servers_Server) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Ntp_Servers_Server.

func (*OpenconfigSystem_System_Ntp_Servers_Server) ΛEnumTypeMap

Λ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.

func (*OpenconfigSystem_System_Ntp_Servers_Server) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Ntp_Servers_Server_Config

type OpenconfigSystem_System_Ntp_Servers_Server_Config struct {
	Address         *string                                                             `path:"address" module:"openconfig-system"`
	AssociationType E_OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType `path:"association-type" module:"openconfig-system"`
	Iburst          *bool                                                               `path:"iburst" module:"openconfig-system"`
	Port            *uint16                                                             `path:"port" module:"openconfig-system"`
	Prefer          *bool                                                               `path:"prefer" module:"openconfig-system"`
	Version         *uint8                                                              `path:"version" module:"openconfig-system"`
}

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) 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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Ntp_Servers_Server_Config) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Ntp_Servers_Server_Config.

func (*OpenconfigSystem_System_Ntp_Servers_Server_Config) ΛEnumTypeMap

Λ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_Config) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Ntp_Servers_Server_State

type OpenconfigSystem_System_Ntp_Servers_Server_State struct {
	Address         *string                                                             `path:"address" module:"openconfig-system"`
	AssociationType E_OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType `path:"association-type" module:"openconfig-system"`
	Iburst          *bool                                                               `path:"iburst" module:"openconfig-system"`
	Offset          *uint64                                                             `path:"offset" module:"openconfig-system"`
	PollInterval    *uint32                                                             `path:"poll-interval" module:"openconfig-system"`
	Port            *uint16                                                             `path:"port" module:"openconfig-system"`
	Prefer          *bool                                                               `path:"prefer" module:"openconfig-system"`
	RootDelay       *uint32                                                             `path:"root-delay" module:"openconfig-system"`
	RootDispersion  *uint64                                                             `path:"root-dispersion" module:"openconfig-system"`
	Stratum         *uint8                                                              `path:"stratum" module:"openconfig-system"`
	Version         *uint8                                                              `path:"version" module:"openconfig-system"`
}

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) 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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Ntp_Servers_Server_State) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Ntp_Servers_Server_State.

func (*OpenconfigSystem_System_Ntp_Servers_Server_State) ΛEnumTypeMap

Λ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_State) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Ntp_State

type OpenconfigSystem_System_Ntp_State struct {
	AuthMismatch     *uint64 `path:"auth-mismatch" module:"openconfig-system"`
	EnableNtpAuth    *bool   `path:"enable-ntp-auth" module:"openconfig-system"`
	Enabled          *bool   `path:"enabled" module:"openconfig-system"`
	NtpSourceAddress *string `path:"ntp-source-address" module:"openconfig-system"`
}

OpenconfigSystem_System_Ntp_State represents the /openconfig-system/system/ntp/state YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Ntp_State) ΛBelongingModule

func (*OpenconfigSystem_System_Ntp_State) ΛBelongingModule() string

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Ntp_State.

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.

func (*OpenconfigSystem_System_Ntp_State) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Openflow

type OpenconfigSystem_System_Openflow struct {
	Agent       *OpenconfigSystem_System_Openflow_Agent       `path:"agent" module:"openconfig-openflow"`
	Controllers *OpenconfigSystem_System_Openflow_Controllers `path:"controllers" module:"openconfig-openflow"`
}

OpenconfigSystem_System_Openflow represents the /openconfig-system/system/openflow YANG schema element.

func (*OpenconfigSystem_System_Openflow) IsYANGGoStruct

func (*OpenconfigSystem_System_Openflow) IsYANGGoStruct()

IsYANGGoStruct ensures that OpenconfigSystem_System_Openflow 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_Openflow) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Openflow) ΛBelongingModule

func (*OpenconfigSystem_System_Openflow) ΛBelongingModule() string

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Openflow.

func (*OpenconfigSystem_System_Openflow) ΛEnumTypeMap

func (t *OpenconfigSystem_System_Openflow) ΛEnumTypeMap() 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_Openflow) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Openflow_Agent

type OpenconfigSystem_System_Openflow_Agent struct {
	Config *OpenconfigSystem_System_Openflow_Agent_Config `path:"config" module:"openconfig-openflow"`
	State  *OpenconfigSystem_System_Openflow_Agent_State  `path:"state" module:"openconfig-openflow"`
}

OpenconfigSystem_System_Openflow_Agent represents the /openconfig-system/system/openflow/agent YANG schema element.

func (*OpenconfigSystem_System_Openflow_Agent) IsYANGGoStruct

func (*OpenconfigSystem_System_Openflow_Agent) IsYANGGoStruct()

IsYANGGoStruct ensures that OpenconfigSystem_System_Openflow_Agent 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_Openflow_Agent) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Openflow_Agent) ΛBelongingModule

func (*OpenconfigSystem_System_Openflow_Agent) ΛBelongingModule() string

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Openflow_Agent.

func (*OpenconfigSystem_System_Openflow_Agent) ΛEnumTypeMap

func (t *OpenconfigSystem_System_Openflow_Agent) ΛEnumTypeMap() 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_Openflow_Agent) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Openflow_Agent_Config

type OpenconfigSystem_System_Openflow_Agent_Config struct {
	BackoffInterval *uint32                          `path:"backoff-interval" module:"openconfig-openflow"`
	DatapathId      *string                          `path:"datapath-id" module:"openconfig-openflow"`
	FailureMode     E_OpenconfigOpenflow_FailureMode `path:"failure-mode" module:"openconfig-openflow"`
	InactivityProbe *uint32                          `path:"inactivity-probe" module:"openconfig-openflow"`
	MaxBackoff      *uint32                          `path:"max-backoff" module:"openconfig-openflow"`
}

OpenconfigSystem_System_Openflow_Agent_Config represents the /openconfig-system/system/openflow/agent/config YANG schema element.

func (*OpenconfigSystem_System_Openflow_Agent_Config) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Openflow_Agent_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_Openflow_Agent_Config) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Openflow_Agent_Config) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Openflow_Agent_Config.

func (*OpenconfigSystem_System_Openflow_Agent_Config) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigSystem_System_Openflow_Agent_Config) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Openflow_Agent_State

type OpenconfigSystem_System_Openflow_Agent_State struct {
	BackoffInterval *uint32                          `path:"backoff-interval" module:"openconfig-openflow"`
	DatapathId      *string                          `path:"datapath-id" module:"openconfig-openflow"`
	FailureMode     E_OpenconfigOpenflow_FailureMode `path:"failure-mode" module:"openconfig-openflow"`
	InactivityProbe *uint32                          `path:"inactivity-probe" module:"openconfig-openflow"`
	MaxBackoff      *uint32                          `path:"max-backoff" module:"openconfig-openflow"`
}

OpenconfigSystem_System_Openflow_Agent_State represents the /openconfig-system/system/openflow/agent/state YANG schema element.

func (*OpenconfigSystem_System_Openflow_Agent_State) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Openflow_Agent_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_Openflow_Agent_State) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Openflow_Agent_State) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Openflow_Agent_State.

func (*OpenconfigSystem_System_Openflow_Agent_State) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigSystem_System_Openflow_Agent_State) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Openflow_Controllers

type OpenconfigSystem_System_Openflow_Controllers struct {
	Controller map[string]*OpenconfigSystem_System_Openflow_Controllers_Controller `path:"controller" module:"openconfig-openflow"`
}

OpenconfigSystem_System_Openflow_Controllers represents the /openconfig-system/system/openflow/controllers YANG schema element.

func (*OpenconfigSystem_System_Openflow_Controllers) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Openflow_Controllers 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_Openflow_Controllers) NewController

NewController creates a new entry in the Controller list of the OpenconfigSystem_System_Openflow_Controllers struct. The keys of the list are populated from the input arguments.

func (*OpenconfigSystem_System_Openflow_Controllers) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Openflow_Controllers) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Openflow_Controllers.

func (*OpenconfigSystem_System_Openflow_Controllers) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigSystem_System_Openflow_Controllers) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Openflow_Controllers_Controller

type OpenconfigSystem_System_Openflow_Controllers_Controller struct {
	Config      *OpenconfigSystem_System_Openflow_Controllers_Controller_Config      `path:"config" module:"openconfig-openflow"`
	Connections *OpenconfigSystem_System_Openflow_Controllers_Controller_Connections `path:"connections" module:"openconfig-openflow"`
	Name        *string                                                              `path:"name" module:"openconfig-openflow"`
	State       *OpenconfigSystem_System_Openflow_Controllers_Controller_State       `path:"state" module:"openconfig-openflow"`
}

OpenconfigSystem_System_Openflow_Controllers_Controller represents the /openconfig-system/system/openflow/controllers/controller YANG schema element.

func (*OpenconfigSystem_System_Openflow_Controllers_Controller) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Openflow_Controllers_Controller 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_Openflow_Controllers_Controller) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Openflow_Controllers_Controller) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Openflow_Controllers_Controller.

func (*OpenconfigSystem_System_Openflow_Controllers_Controller) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigSystem_System_Openflow_Controllers_Controller) ΛListKeyMap

func (t *OpenconfigSystem_System_Openflow_Controllers_Controller) ΛListKeyMap() (map[string]interface{}, error)

ΛListKeyMap returns the keys of the OpenconfigSystem_System_Openflow_Controllers_Controller struct, which is a YANG list entry.

func (*OpenconfigSystem_System_Openflow_Controllers_Controller) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Openflow_Controllers_Controller_Config

type OpenconfigSystem_System_Openflow_Controllers_Controller_Config struct {
	Name *string `path:"name" module:"openconfig-openflow"`
}

OpenconfigSystem_System_Openflow_Controllers_Controller_Config represents the /openconfig-system/system/openflow/controllers/controller/config YANG schema element.

func (*OpenconfigSystem_System_Openflow_Controllers_Controller_Config) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Openflow_Controllers_Controller_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_Openflow_Controllers_Controller_Config) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Openflow_Controllers_Controller_Config) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Openflow_Controllers_Controller_Config.

func (*OpenconfigSystem_System_Openflow_Controllers_Controller_Config) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigSystem_System_Openflow_Controllers_Controller_Config) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Openflow_Controllers_Controller_Connections

type OpenconfigSystem_System_Openflow_Controllers_Controller_Connections struct {
	Connection map[uint8]*OpenconfigSystem_System_Openflow_Controllers_Controller_Connections_Connection `path:"connection" module:"openconfig-openflow"`
}

OpenconfigSystem_System_Openflow_Controllers_Controller_Connections represents the /openconfig-system/system/openflow/controllers/controller/connections YANG schema element.

func (*OpenconfigSystem_System_Openflow_Controllers_Controller_Connections) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Openflow_Controllers_Controller_Connections 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_Openflow_Controllers_Controller_Connections) NewConnection

NewConnection creates a new entry in the Connection list of the OpenconfigSystem_System_Openflow_Controllers_Controller_Connections struct. The keys of the list are populated from the input arguments.

func (*OpenconfigSystem_System_Openflow_Controllers_Controller_Connections) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Openflow_Controllers_Controller_Connections) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Openflow_Controllers_Controller_Connections.

func (*OpenconfigSystem_System_Openflow_Controllers_Controller_Connections) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigSystem_System_Openflow_Controllers_Controller_Connections) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Openflow_Controllers_Controller_Connections_Connection

type OpenconfigSystem_System_Openflow_Controllers_Controller_Connections_Connection struct {
	AuxId  *uint8                                                                                 `path:"aux-id" module:"openconfig-openflow"`
	Config *OpenconfigSystem_System_Openflow_Controllers_Controller_Connections_Connection_Config `path:"config" module:"openconfig-openflow"`
	State  *OpenconfigSystem_System_Openflow_Controllers_Controller_Connections_Connection_State  `path:"state" module:"openconfig-openflow"`
}

OpenconfigSystem_System_Openflow_Controllers_Controller_Connections_Connection represents the /openconfig-system/system/openflow/controllers/controller/connections/connection YANG schema element.

func (*OpenconfigSystem_System_Openflow_Controllers_Controller_Connections_Connection) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Openflow_Controllers_Controller_Connections_Connection 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_Openflow_Controllers_Controller_Connections_Connection) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Openflow_Controllers_Controller_Connections_Connection) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Openflow_Controllers_Controller_Connections_Connection.

func (*OpenconfigSystem_System_Openflow_Controllers_Controller_Connections_Connection) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigSystem_System_Openflow_Controllers_Controller_Connections_Connection) ΛListKeyMap

ΛListKeyMap returns the keys of the OpenconfigSystem_System_Openflow_Controllers_Controller_Connections_Connection struct, which is a YANG list entry.

func (*OpenconfigSystem_System_Openflow_Controllers_Controller_Connections_Connection) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Openflow_Controllers_Controller_Connections_Connection_Config

type OpenconfigSystem_System_Openflow_Controllers_Controller_Connections_Connection_Config struct {
	Address         *string                        `path:"address" module:"openconfig-openflow"`
	AuxId           *uint8                         `path:"aux-id" module:"openconfig-openflow"`
	CertificateId   *string                        `path:"certificate-id" module:"openconfig-openflow"`
	Port            *uint16                        `path:"port" module:"openconfig-openflow"`
	Priority        *uint8                         `path:"priority" module:"openconfig-openflow"`
	SourceInterface *string                        `path:"source-interface" module:"openconfig-openflow"`
	Transport       E_OpenconfigOpenflow_Transport `path:"transport" module:"openconfig-openflow"`
}

OpenconfigSystem_System_Openflow_Controllers_Controller_Connections_Connection_Config represents the /openconfig-system/system/openflow/controllers/controller/connections/connection/config YANG schema element.

func (*OpenconfigSystem_System_Openflow_Controllers_Controller_Connections_Connection_Config) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Openflow_Controllers_Controller_Connections_Connection_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_Openflow_Controllers_Controller_Connections_Connection_Config) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Openflow_Controllers_Controller_Connections_Connection_Config) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Openflow_Controllers_Controller_Connections_Connection_Config.

func (*OpenconfigSystem_System_Openflow_Controllers_Controller_Connections_Connection_Config) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigSystem_System_Openflow_Controllers_Controller_Connections_Connection_Config) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Openflow_Controllers_Controller_Connections_Connection_State

type OpenconfigSystem_System_Openflow_Controllers_Controller_Connections_Connection_State struct {
	Address         *string                        `path:"address" module:"openconfig-openflow"`
	AuxId           *uint8                         `path:"aux-id" module:"openconfig-openflow"`
	CertificateId   *string                        `path:"certificate-id" module:"openconfig-openflow"`
	Connected       *bool                          `path:"connected" module:"openconfig-openflow"`
	Port            *uint16                        `path:"port" module:"openconfig-openflow"`
	Priority        *uint8                         `path:"priority" module:"openconfig-openflow"`
	SourceInterface *string                        `path:"source-interface" module:"openconfig-openflow"`
	Transport       E_OpenconfigOpenflow_Transport `path:"transport" module:"openconfig-openflow"`
}

OpenconfigSystem_System_Openflow_Controllers_Controller_Connections_Connection_State represents the /openconfig-system/system/openflow/controllers/controller/connections/connection/state YANG schema element.

func (*OpenconfigSystem_System_Openflow_Controllers_Controller_Connections_Connection_State) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Openflow_Controllers_Controller_Connections_Connection_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_Openflow_Controllers_Controller_Connections_Connection_State) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Openflow_Controllers_Controller_Connections_Connection_State) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Openflow_Controllers_Controller_Connections_Connection_State.

func (*OpenconfigSystem_System_Openflow_Controllers_Controller_Connections_Connection_State) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigSystem_System_Openflow_Controllers_Controller_Connections_Connection_State) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Openflow_Controllers_Controller_State

type OpenconfigSystem_System_Openflow_Controllers_Controller_State struct {
	Name *string `path:"name" module:"openconfig-openflow"`
}

OpenconfigSystem_System_Openflow_Controllers_Controller_State represents the /openconfig-system/system/openflow/controllers/controller/state YANG schema element.

func (*OpenconfigSystem_System_Openflow_Controllers_Controller_State) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Openflow_Controllers_Controller_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_Openflow_Controllers_Controller_State) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Openflow_Controllers_Controller_State) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Openflow_Controllers_Controller_State.

func (*OpenconfigSystem_System_Openflow_Controllers_Controller_State) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigSystem_System_Openflow_Controllers_Controller_State) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Processes

type OpenconfigSystem_System_Processes struct {
	Process map[uint64]*OpenconfigSystem_System_Processes_Process `path:"process" module:"openconfig-system"`
}

OpenconfigSystem_System_Processes represents the /openconfig-system/system/processes YANG schema element.

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

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) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Processes) ΛBelongingModule

func (*OpenconfigSystem_System_Processes) ΛBelongingModule() string

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Processes.

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.

func (*OpenconfigSystem_System_Processes) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Processes_Process

type OpenconfigSystem_System_Processes_Process struct {
	Pid   *uint64                                          `path:"pid" module:"openconfig-system"`
	State *OpenconfigSystem_System_Processes_Process_State `path:"state" module:"openconfig-system"`
}

OpenconfigSystem_System_Processes_Process represents the /openconfig-system/system/processes/process YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Processes_Process) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Processes_Process.

func (*OpenconfigSystem_System_Processes_Process) ΛEnumTypeMap

Λ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.

func (*OpenconfigSystem_System_Processes_Process) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_Processes_Process_State

type OpenconfigSystem_System_Processes_Process_State struct {
	Args              []string `path:"args" module:"openconfig-system"`
	CpuUsageSystem    *uint64  `path:"cpu-usage-system" module:"openconfig-system"`
	CpuUsageUser      *uint64  `path:"cpu-usage-user" module:"openconfig-system"`
	CpuUtilization    *uint8   `path:"cpu-utilization" module:"openconfig-system"`
	MemoryUsage       *uint64  `path:"memory-usage" module:"openconfig-system"`
	MemoryUtilization *uint8   `path:"memory-utilization" module:"openconfig-system"`
	Name              *string  `path:"name" module:"openconfig-system"`
	Pid               *uint64  `path:"pid" module:"openconfig-system"`
	StartTime         *uint64  `path:"start-time" module:"openconfig-system"`
}

OpenconfigSystem_System_Processes_Process_State represents the /openconfig-system/system/processes/process/state YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Processes_Process_State) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_Processes_Process_State.

func (*OpenconfigSystem_System_Processes_Process_State) ΛEnumTypeMap

Λ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_State) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_SshServer

type OpenconfigSystem_System_SshServer struct {
	Config *OpenconfigSystem_System_SshServer_Config `path:"config" module:"openconfig-system"`
	State  *OpenconfigSystem_System_SshServer_State  `path:"state" module:"openconfig-system"`
}

OpenconfigSystem_System_SshServer represents the /openconfig-system/system/ssh-server YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_SshServer) ΛBelongingModule

func (*OpenconfigSystem_System_SshServer) ΛBelongingModule() string

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_SshServer.

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.

func (*OpenconfigSystem_System_SshServer) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_SshServer_Config

type OpenconfigSystem_System_SshServer_Config struct {
	Enable          *bool                                                      `path:"enable" module:"openconfig-system"`
	ProtocolVersion E_OpenconfigSystem_System_SshServer_Config_ProtocolVersion `path:"protocol-version" module:"openconfig-system"`
	RateLimit       *uint16                                                    `path:"rate-limit" module:"openconfig-system"`
	SessionLimit    *uint16                                                    `path:"session-limit" module:"openconfig-system"`
	Timeout         *uint16                                                    `path:"timeout" module:"openconfig-system"`
}

OpenconfigSystem_System_SshServer_Config represents the /openconfig-system/system/ssh-server/config YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_SshServer_Config) ΛBelongingModule

func (*OpenconfigSystem_System_SshServer_Config) ΛBelongingModule() string

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_SshServer_Config.

func (*OpenconfigSystem_System_SshServer_Config) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigSystem_System_SshServer_Config) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_SshServer_State

type OpenconfigSystem_System_SshServer_State struct {
	Enable          *bool                                                      `path:"enable" module:"openconfig-system"`
	ProtocolVersion E_OpenconfigSystem_System_SshServer_Config_ProtocolVersion `path:"protocol-version" module:"openconfig-system"`
	RateLimit       *uint16                                                    `path:"rate-limit" module:"openconfig-system"`
	SessionLimit    *uint16                                                    `path:"session-limit" module:"openconfig-system"`
	Timeout         *uint16                                                    `path:"timeout" module:"openconfig-system"`
}

OpenconfigSystem_System_SshServer_State represents the /openconfig-system/system/ssh-server/state YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_SshServer_State) ΛBelongingModule

func (*OpenconfigSystem_System_SshServer_State) ΛBelongingModule() string

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_SshServer_State.

func (*OpenconfigSystem_System_SshServer_State) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigSystem_System_SshServer_State) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_State

type OpenconfigSystem_System_State struct {
	BootTime        *uint64 `path:"boot-time" module:"openconfig-system"`
	CurrentDatetime *string `path:"current-datetime" module:"openconfig-system"`
	DomainName      *string `path:"domain-name" module:"openconfig-system"`
	Hostname        *string `path:"hostname" module:"openconfig-system"`
	LoginBanner     *string `path:"login-banner" module:"openconfig-system"`
	MotdBanner      *string `path:"motd-banner" module:"openconfig-system"`
}

OpenconfigSystem_System_State represents the /openconfig-system/system/state YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_State) ΛBelongingModule

func (*OpenconfigSystem_System_State) ΛBelongingModule() string

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_State.

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.

func (*OpenconfigSystem_System_State) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_TelnetServer

type OpenconfigSystem_System_TelnetServer struct {
	Config *OpenconfigSystem_System_TelnetServer_Config `path:"config" module:"openconfig-system"`
	State  *OpenconfigSystem_System_TelnetServer_State  `path:"state" module:"openconfig-system"`
}

OpenconfigSystem_System_TelnetServer represents the /openconfig-system/system/telnet-server YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_TelnetServer) ΛBelongingModule

func (*OpenconfigSystem_System_TelnetServer) ΛBelongingModule() string

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_TelnetServer.

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.

func (*OpenconfigSystem_System_TelnetServer) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_TelnetServer_Config

type OpenconfigSystem_System_TelnetServer_Config struct {
	Enable       *bool   `path:"enable" module:"openconfig-system"`
	RateLimit    *uint16 `path:"rate-limit" module:"openconfig-system"`
	SessionLimit *uint16 `path:"session-limit" module:"openconfig-system"`
	Timeout      *uint16 `path:"timeout" module:"openconfig-system"`
}

OpenconfigSystem_System_TelnetServer_Config represents the /openconfig-system/system/telnet-server/config YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_TelnetServer_Config) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_TelnetServer_Config.

func (*OpenconfigSystem_System_TelnetServer_Config) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigSystem_System_TelnetServer_Config) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type OpenconfigSystem_System_TelnetServer_State

type OpenconfigSystem_System_TelnetServer_State struct {
	Enable       *bool   `path:"enable" module:"openconfig-system"`
	RateLimit    *uint16 `path:"rate-limit" module:"openconfig-system"`
	SessionLimit *uint16 `path:"session-limit" module:"openconfig-system"`
	Timeout      *uint16 `path:"timeout" module:"openconfig-system"`
}

OpenconfigSystem_System_TelnetServer_State represents the /openconfig-system/system/telnet-server/state YANG schema element.

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_TelnetServer_State) ΛBelongingModule

ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSystem_System_TelnetServer_State.

func (*OpenconfigSystem_System_TelnetServer_State) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigSystem_System_TelnetServer_State) ΛValidate

Validate validates s against the YANG schema corresponding to its type.

type YANGEmpty

type YANGEmpty bool

YANGEmpty is a type that is used for fields that have a YANG type of empty. It is used such that empty fields can be distinguished from boolean fields in the generated code.

Jump to

Keyboard shortcuts

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