ietf

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package ietf 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 /home/c.paillet/git/data-aggregation-api/.build/ygot/genutil/names.go using the following YANG input files:

  • yang/standard/ietf/RFC/ietf-system.yang
  • yang/standard/ietf/RFC/ietf-snmp.yang
  • yang/standard/ietf/RFC/ietf-snmp-community.yang

Imported modules were sourced from:

  • yang/...
  • deps/...

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_IETFNetconfAcm_ActionType": {
		1: {Name: "permit"},
		2: {Name: "deny"},
	},
	"E_IETFSnmp_SecurityLevel": {
		2: {Name: "no-auth-no-priv"},
		3: {Name: "auth-no-priv"},
		4: {Name: "auth-priv"},
	},
	"E_IETFSnmp_SecurityModelOrAny_Enum": {
		1: {Name: "any"},
	},
	"E_IETFSnmp_SecurityModel_Enum": {
		2: {Name: "v1"},
		3: {Name: "v2c"},
		4: {Name: "usm"},
		5: {Name: "tsm"},
	},
	"E_IETFSnmp_Snmp_Notify_Type": {
		2: {Name: "trap"},
		3: {Name: "inform"},
	},
	"E_IETFSnmp_Snmp_Proxy_Type": {
		2: {Name: "read"},
		3: {Name: "write"},
		4: {Name: "trap"},
		5: {Name: "inform"},
	},
	"E_IETFSnmp_Snmp_Target_Mms_Enum": {
		1: {Name: "unknown"},
	},
	"E_IETFSnmp_Snmp_Vacm_Group_Access_ContextMatch": {
		2: {Name: "exact"},
		3: {Name: "prefix"},
	},
	"E_IETFSystem_AuthenticationMethod": {
		1: {Name: "local-users", DefiningModule: "ietf-system"},
		2: {Name: "radius", DefiningModule: "ietf-system"},
	},
	"E_IETFSystem_RadiusAuthenticationType": {
		1: {Name: "radius-chap", DefiningModule: "ietf-system"},
		2: {Name: "radius-pap", DefiningModule: "ietf-system"},
	},
	"E_IETFSystem_System_Ntp_Server_AssociationType": {
		1: {Name: "server"},
		2: {Name: "peer"},
		3: {Name: "pool"},
	},
	"E_IETFX509CertToName_CertToName": {
		1: {Name: "common-name", DefiningModule: "ietf-x509-cert-to-name"},
		2: {Name: "san-any", DefiningModule: "ietf-x509-cert-to-name"},
		3: {Name: "san-dns-name", DefiningModule: "ietf-x509-cert-to-name"},
		4: {Name: "san-ip-address", DefiningModule: "ietf-x509-cert-to-name"},
		5: {Name: "san-rfc822-name", DefiningModule: "ietf-x509-cert-to-name"},
		6: {Name: "specified", DefiningModule: "ietf-x509-cert-to-name"},
	},
}

Λ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 {
	ΛMetadata    []ygot.Annotation       `path:"@" ygotAnnotation:"true"`
	Nacm         *IETFNetconfAcm_Nacm    `path:"nacm" module:"ietf-netconf-acm"`
	ΛNacm        []ygot.Annotation       `path:"@nacm" ygotAnnotation:"true"`
	Snmp         *IETFSnmp_Snmp          `path:"snmp" module:"ietf-snmp"`
	ΛSnmp        []ygot.Annotation       `path:"@snmp" ygotAnnotation:"true"`
	System       *IETFSystem_System      `path:"system" module:"ietf-system"`
	ΛSystem      []ygot.Annotation       `path:"@system" ygotAnnotation:"true"`
	SystemState  *IETFSystem_SystemState `path:"system-state" module:"ietf-system"`
	ΛSystemState []ygot.Annotation       `path:"@system-state" ygotAnnotation:"true"`
}

Device represents the /device YANG schema element.

func (*Device) GetNacm

func (t *Device) GetNacm() *IETFNetconfAcm_Nacm

GetNacm returns the value of the Nacm struct pointer from Device. If the receiver or the field Nacm is nil, nil is returned such that the Get* methods can be safely chained.

func (*Device) GetOrCreateNacm

func (t *Device) GetOrCreateNacm() *IETFNetconfAcm_Nacm

GetOrCreateNacm retrieves the value of the Nacm field or returns the existing field if it already exists.

func (*Device) GetOrCreateSnmp

func (t *Device) GetOrCreateSnmp() *IETFSnmp_Snmp

GetOrCreateSnmp retrieves the value of the Snmp field or returns the existing field if it already exists.

func (*Device) GetOrCreateSystem

func (t *Device) GetOrCreateSystem() *IETFSystem_System

GetOrCreateSystem retrieves the value of the System field or returns the existing field if it already exists.

func (*Device) GetOrCreateSystemState

func (t *Device) GetOrCreateSystemState() *IETFSystem_SystemState

GetOrCreateSystemState retrieves the value of the SystemState field or returns the existing field if it already exists.

func (*Device) GetSnmp

func (t *Device) GetSnmp() *IETFSnmp_Snmp

GetSnmp returns the value of the Snmp struct pointer from Device. If the receiver or the field Snmp is nil, nil is returned such that the Get* methods can be safely chained.

func (*Device) GetSystem

func (t *Device) GetSystem() *IETFSystem_System

GetSystem returns the value of the System struct pointer from Device. If the receiver or the field System is nil, nil is returned such that the Get* methods can be safely chained.

func (*Device) GetSystemState

func (t *Device) GetSystemState() *IETFSystem_SystemState

GetSystemState returns the value of the SystemState struct pointer from Device. If the receiver or the field SystemState is nil, nil is returned such that the Get* methods can be safely chained.

func (*Device) IsYANGGoStruct

func (*Device) IsYANGGoStruct()

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

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_IETFNetconfAcm_ActionType

type E_IETFNetconfAcm_ActionType int64

E_IETFNetconfAcm_ActionType is a derived int64 type which is used to represent the enumerated node IETFNetconfAcm_ActionType. An additional value named IETFNetconfAcm_ActionType_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 (
	// IETFNetconfAcm_ActionType_UNSET corresponds to the value UNSET of IETFNetconfAcm_ActionType
	IETFNetconfAcm_ActionType_UNSET E_IETFNetconfAcm_ActionType = 0
	// IETFNetconfAcm_ActionType_permit corresponds to the value permit of IETFNetconfAcm_ActionType
	IETFNetconfAcm_ActionType_permit E_IETFNetconfAcm_ActionType = 1
	// IETFNetconfAcm_ActionType_deny corresponds to the value deny of IETFNetconfAcm_ActionType
	IETFNetconfAcm_ActionType_deny E_IETFNetconfAcm_ActionType = 2
)

func (E_IETFNetconfAcm_ActionType) IsYANGGoEnum

func (E_IETFNetconfAcm_ActionType) IsYANGGoEnum()

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

func (E_IETFNetconfAcm_ActionType) String

String returns a logging-friendly string for E_IETFNetconfAcm_ActionType.

func (E_IETFNetconfAcm_ActionType) ΛMap

ΛMap returns the value lookup map associated with IETFNetconfAcm_ActionType.

type E_IETFSnmp_SecurityLevel

type E_IETFSnmp_SecurityLevel int64

E_IETFSnmp_SecurityLevel is a derived int64 type which is used to represent the enumerated node IETFSnmp_SecurityLevel. An additional value named IETFSnmp_SecurityLevel_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 (
	// IETFSnmp_SecurityLevel_UNSET corresponds to the value UNSET of IETFSnmp_SecurityLevel
	IETFSnmp_SecurityLevel_UNSET E_IETFSnmp_SecurityLevel = 0
	// IETFSnmp_SecurityLevel_no_auth_no_priv corresponds to the value no_auth_no_priv of IETFSnmp_SecurityLevel
	IETFSnmp_SecurityLevel_no_auth_no_priv E_IETFSnmp_SecurityLevel = 2
	// IETFSnmp_SecurityLevel_auth_no_priv corresponds to the value auth_no_priv of IETFSnmp_SecurityLevel
	IETFSnmp_SecurityLevel_auth_no_priv E_IETFSnmp_SecurityLevel = 3
	// IETFSnmp_SecurityLevel_auth_priv corresponds to the value auth_priv of IETFSnmp_SecurityLevel
	IETFSnmp_SecurityLevel_auth_priv E_IETFSnmp_SecurityLevel = 4
)

func (E_IETFSnmp_SecurityLevel) IsYANGGoEnum

func (E_IETFSnmp_SecurityLevel) IsYANGGoEnum()

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

func (E_IETFSnmp_SecurityLevel) String

func (e E_IETFSnmp_SecurityLevel) String() string

String returns a logging-friendly string for E_IETFSnmp_SecurityLevel.

func (E_IETFSnmp_SecurityLevel) ΛMap

ΛMap returns the value lookup map associated with IETFSnmp_SecurityLevel.

type E_IETFSnmp_SecurityModelOrAny_Enum

type E_IETFSnmp_SecurityModelOrAny_Enum int64

E_IETFSnmp_SecurityModelOrAny_Enum is a derived int64 type which is used to represent the enumerated node IETFSnmp_SecurityModelOrAny_Enum. An additional value named IETFSnmp_SecurityModelOrAny_Enum_UNSET is added to the enumeration which is used as the nil value, indicating that the enumeration was not explicitly set by the program importing the generated structures.

const (
	// IETFSnmp_SecurityModelOrAny_Enum_UNSET corresponds to the value UNSET of IETFSnmp_SecurityModelOrAny_Enum
	IETFSnmp_SecurityModelOrAny_Enum_UNSET E_IETFSnmp_SecurityModelOrAny_Enum = 0
	// IETFSnmp_SecurityModelOrAny_Enum_any corresponds to the value any of IETFSnmp_SecurityModelOrAny_Enum
	IETFSnmp_SecurityModelOrAny_Enum_any E_IETFSnmp_SecurityModelOrAny_Enum = 1
)

func (E_IETFSnmp_SecurityModelOrAny_Enum) Documentation_for_IETFSnmp_Snmp_Vacm_Group_Access_SecurityModel_Union

func (E_IETFSnmp_SecurityModelOrAny_Enum) Documentation_for_IETFSnmp_Snmp_Vacm_Group_Access_SecurityModel_Union()

Documentation_for_IETFSnmp_Snmp_Vacm_Group_Access_SecurityModel_Union ensures that E_IETFSnmp_SecurityModelOrAny_Enum implements the IETFSnmp_Snmp_Vacm_Group_Access_SecurityModel_Union interface.

func (E_IETFSnmp_SecurityModelOrAny_Enum) IsYANGGoEnum

func (E_IETFSnmp_SecurityModelOrAny_Enum) IsYANGGoEnum()

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

func (E_IETFSnmp_SecurityModelOrAny_Enum) String

String returns a logging-friendly string for E_IETFSnmp_SecurityModelOrAny_Enum.

func (E_IETFSnmp_SecurityModelOrAny_Enum) ΛMap

ΛMap returns the value lookup map associated with IETFSnmp_SecurityModelOrAny_Enum.

type E_IETFSnmp_SecurityModel_Enum

type E_IETFSnmp_SecurityModel_Enum int64

E_IETFSnmp_SecurityModel_Enum is a derived int64 type which is used to represent the enumerated node IETFSnmp_SecurityModel_Enum. An additional value named IETFSnmp_SecurityModel_Enum_UNSET is added to the enumeration which is used as the nil value, indicating that the enumeration was not explicitly set by the program importing the generated structures.

const (
	// IETFSnmp_SecurityModel_Enum_UNSET corresponds to the value UNSET of IETFSnmp_SecurityModel_Enum
	IETFSnmp_SecurityModel_Enum_UNSET E_IETFSnmp_SecurityModel_Enum = 0
	// IETFSnmp_SecurityModel_Enum_v1 corresponds to the value v1 of IETFSnmp_SecurityModel_Enum
	IETFSnmp_SecurityModel_Enum_v1 E_IETFSnmp_SecurityModel_Enum = 2
	// IETFSnmp_SecurityModel_Enum_v2c corresponds to the value v2c of IETFSnmp_SecurityModel_Enum
	IETFSnmp_SecurityModel_Enum_v2c E_IETFSnmp_SecurityModel_Enum = 3
	// IETFSnmp_SecurityModel_Enum_usm corresponds to the value usm of IETFSnmp_SecurityModel_Enum
	IETFSnmp_SecurityModel_Enum_usm E_IETFSnmp_SecurityModel_Enum = 4
	// IETFSnmp_SecurityModel_Enum_tsm corresponds to the value tsm of IETFSnmp_SecurityModel_Enum
	IETFSnmp_SecurityModel_Enum_tsm E_IETFSnmp_SecurityModel_Enum = 5
)

func (E_IETFSnmp_SecurityModel_Enum) Documentation_for_IETFSnmp_Snmp_Vacm_Group_Access_SecurityModel_Union

func (E_IETFSnmp_SecurityModel_Enum) Documentation_for_IETFSnmp_Snmp_Vacm_Group_Access_SecurityModel_Union()

Documentation_for_IETFSnmp_Snmp_Vacm_Group_Access_SecurityModel_Union ensures that E_IETFSnmp_SecurityModel_Enum implements the IETFSnmp_Snmp_Vacm_Group_Access_SecurityModel_Union interface.

func (E_IETFSnmp_SecurityModel_Enum) Documentation_for_IETFSnmp_Snmp_Vacm_Group_Member_SecurityModel_Union

func (E_IETFSnmp_SecurityModel_Enum) Documentation_for_IETFSnmp_Snmp_Vacm_Group_Member_SecurityModel_Union()

Documentation_for_IETFSnmp_Snmp_Vacm_Group_Member_SecurityModel_Union ensures that E_IETFSnmp_SecurityModel_Enum implements the IETFSnmp_Snmp_Vacm_Group_Member_SecurityModel_Union interface.

func (E_IETFSnmp_SecurityModel_Enum) IsYANGGoEnum

func (E_IETFSnmp_SecurityModel_Enum) IsYANGGoEnum()

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

func (E_IETFSnmp_SecurityModel_Enum) String

String returns a logging-friendly string for E_IETFSnmp_SecurityModel_Enum.

func (E_IETFSnmp_SecurityModel_Enum) ΛMap

ΛMap returns the value lookup map associated with IETFSnmp_SecurityModel_Enum.

type E_IETFSnmp_Snmp_Notify_Type

type E_IETFSnmp_Snmp_Notify_Type int64

E_IETFSnmp_Snmp_Notify_Type is a derived int64 type which is used to represent the enumerated node IETFSnmp_Snmp_Notify_Type. An additional value named IETFSnmp_Snmp_Notify_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 (
	// IETFSnmp_Snmp_Notify_Type_UNSET corresponds to the value UNSET of IETFSnmp_Snmp_Notify_Type
	IETFSnmp_Snmp_Notify_Type_UNSET E_IETFSnmp_Snmp_Notify_Type = 0
	// IETFSnmp_Snmp_Notify_Type_trap corresponds to the value trap of IETFSnmp_Snmp_Notify_Type
	IETFSnmp_Snmp_Notify_Type_trap E_IETFSnmp_Snmp_Notify_Type = 2
	// IETFSnmp_Snmp_Notify_Type_inform corresponds to the value inform of IETFSnmp_Snmp_Notify_Type
	IETFSnmp_Snmp_Notify_Type_inform E_IETFSnmp_Snmp_Notify_Type = 3
)

func (E_IETFSnmp_Snmp_Notify_Type) IsYANGGoEnum

func (E_IETFSnmp_Snmp_Notify_Type) IsYANGGoEnum()

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

func (E_IETFSnmp_Snmp_Notify_Type) String

String returns a logging-friendly string for E_IETFSnmp_Snmp_Notify_Type.

func (E_IETFSnmp_Snmp_Notify_Type) ΛMap

ΛMap returns the value lookup map associated with IETFSnmp_Snmp_Notify_Type.

type E_IETFSnmp_Snmp_Proxy_Type

type E_IETFSnmp_Snmp_Proxy_Type int64

E_IETFSnmp_Snmp_Proxy_Type is a derived int64 type which is used to represent the enumerated node IETFSnmp_Snmp_Proxy_Type. An additional value named IETFSnmp_Snmp_Proxy_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 (
	// IETFSnmp_Snmp_Proxy_Type_UNSET corresponds to the value UNSET of IETFSnmp_Snmp_Proxy_Type
	IETFSnmp_Snmp_Proxy_Type_UNSET E_IETFSnmp_Snmp_Proxy_Type = 0
	// IETFSnmp_Snmp_Proxy_Type_read corresponds to the value read of IETFSnmp_Snmp_Proxy_Type
	IETFSnmp_Snmp_Proxy_Type_read E_IETFSnmp_Snmp_Proxy_Type = 2
	// IETFSnmp_Snmp_Proxy_Type_write corresponds to the value write of IETFSnmp_Snmp_Proxy_Type
	IETFSnmp_Snmp_Proxy_Type_write E_IETFSnmp_Snmp_Proxy_Type = 3
	// IETFSnmp_Snmp_Proxy_Type_trap corresponds to the value trap of IETFSnmp_Snmp_Proxy_Type
	IETFSnmp_Snmp_Proxy_Type_trap E_IETFSnmp_Snmp_Proxy_Type = 4
	// IETFSnmp_Snmp_Proxy_Type_inform corresponds to the value inform of IETFSnmp_Snmp_Proxy_Type
	IETFSnmp_Snmp_Proxy_Type_inform E_IETFSnmp_Snmp_Proxy_Type = 5
)

func (E_IETFSnmp_Snmp_Proxy_Type) IsYANGGoEnum

func (E_IETFSnmp_Snmp_Proxy_Type) IsYANGGoEnum()

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

func (E_IETFSnmp_Snmp_Proxy_Type) String

String returns a logging-friendly string for E_IETFSnmp_Snmp_Proxy_Type.

func (E_IETFSnmp_Snmp_Proxy_Type) ΛMap

ΛMap returns the value lookup map associated with IETFSnmp_Snmp_Proxy_Type.

type E_IETFSnmp_Snmp_Target_Mms_Enum

type E_IETFSnmp_Snmp_Target_Mms_Enum int64

E_IETFSnmp_Snmp_Target_Mms_Enum is a derived int64 type which is used to represent the enumerated node IETFSnmp_Snmp_Target_Mms_Enum. An additional value named IETFSnmp_Snmp_Target_Mms_Enum_UNSET is added to the enumeration which is used as the nil value, indicating that the enumeration was not explicitly set by the program importing the generated structures.

const (
	// IETFSnmp_Snmp_Target_Mms_Enum_UNSET corresponds to the value UNSET of IETFSnmp_Snmp_Target_Mms_Enum
	IETFSnmp_Snmp_Target_Mms_Enum_UNSET E_IETFSnmp_Snmp_Target_Mms_Enum = 0
	// IETFSnmp_Snmp_Target_Mms_Enum_unknown corresponds to the value unknown of IETFSnmp_Snmp_Target_Mms_Enum
	IETFSnmp_Snmp_Target_Mms_Enum_unknown E_IETFSnmp_Snmp_Target_Mms_Enum = 1
)

func (E_IETFSnmp_Snmp_Target_Mms_Enum) Documentation_for_IETFSnmp_Snmp_Target_Mms_Union

func (E_IETFSnmp_Snmp_Target_Mms_Enum) Documentation_for_IETFSnmp_Snmp_Target_Mms_Union()

Documentation_for_IETFSnmp_Snmp_Target_Mms_Union ensures that E_IETFSnmp_Snmp_Target_Mms_Enum implements the IETFSnmp_Snmp_Target_Mms_Union interface.

func (E_IETFSnmp_Snmp_Target_Mms_Enum) IsYANGGoEnum

func (E_IETFSnmp_Snmp_Target_Mms_Enum) IsYANGGoEnum()

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

func (E_IETFSnmp_Snmp_Target_Mms_Enum) String

String returns a logging-friendly string for E_IETFSnmp_Snmp_Target_Mms_Enum.

func (E_IETFSnmp_Snmp_Target_Mms_Enum) ΛMap

ΛMap returns the value lookup map associated with IETFSnmp_Snmp_Target_Mms_Enum.

type E_IETFSnmp_Snmp_Vacm_Group_Access_ContextMatch

type E_IETFSnmp_Snmp_Vacm_Group_Access_ContextMatch int64

E_IETFSnmp_Snmp_Vacm_Group_Access_ContextMatch is a derived int64 type which is used to represent the enumerated node IETFSnmp_Snmp_Vacm_Group_Access_ContextMatch. An additional value named IETFSnmp_Snmp_Vacm_Group_Access_ContextMatch_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 (
	// IETFSnmp_Snmp_Vacm_Group_Access_ContextMatch_UNSET corresponds to the value UNSET of IETFSnmp_Snmp_Vacm_Group_Access_ContextMatch
	IETFSnmp_Snmp_Vacm_Group_Access_ContextMatch_UNSET E_IETFSnmp_Snmp_Vacm_Group_Access_ContextMatch = 0
	// IETFSnmp_Snmp_Vacm_Group_Access_ContextMatch_exact corresponds to the value exact of IETFSnmp_Snmp_Vacm_Group_Access_ContextMatch
	IETFSnmp_Snmp_Vacm_Group_Access_ContextMatch_exact E_IETFSnmp_Snmp_Vacm_Group_Access_ContextMatch = 2
	// IETFSnmp_Snmp_Vacm_Group_Access_ContextMatch_prefix corresponds to the value prefix of IETFSnmp_Snmp_Vacm_Group_Access_ContextMatch
	IETFSnmp_Snmp_Vacm_Group_Access_ContextMatch_prefix E_IETFSnmp_Snmp_Vacm_Group_Access_ContextMatch = 3
)

func (E_IETFSnmp_Snmp_Vacm_Group_Access_ContextMatch) IsYANGGoEnum

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

func (E_IETFSnmp_Snmp_Vacm_Group_Access_ContextMatch) String

String returns a logging-friendly string for E_IETFSnmp_Snmp_Vacm_Group_Access_ContextMatch.

func (E_IETFSnmp_Snmp_Vacm_Group_Access_ContextMatch) ΛMap

ΛMap returns the value lookup map associated with IETFSnmp_Snmp_Vacm_Group_Access_ContextMatch.

type E_IETFSystem_AuthenticationMethod

type E_IETFSystem_AuthenticationMethod int64

E_IETFSystem_AuthenticationMethod is a derived int64 type which is used to represent the enumerated node IETFSystem_AuthenticationMethod. An additional value named IETFSystem_AuthenticationMethod_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 (
	// IETFSystem_AuthenticationMethod_UNSET corresponds to the value UNSET of IETFSystem_AuthenticationMethod
	IETFSystem_AuthenticationMethod_UNSET E_IETFSystem_AuthenticationMethod = 0
	// IETFSystem_AuthenticationMethod_local_users corresponds to the value local_users of IETFSystem_AuthenticationMethod
	IETFSystem_AuthenticationMethod_local_users E_IETFSystem_AuthenticationMethod = 1
	// IETFSystem_AuthenticationMethod_radius corresponds to the value radius of IETFSystem_AuthenticationMethod
	IETFSystem_AuthenticationMethod_radius E_IETFSystem_AuthenticationMethod = 2
)

func (E_IETFSystem_AuthenticationMethod) IsYANGGoEnum

func (E_IETFSystem_AuthenticationMethod) IsYANGGoEnum()

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

func (E_IETFSystem_AuthenticationMethod) String

String returns a logging-friendly string for E_IETFSystem_AuthenticationMethod.

func (E_IETFSystem_AuthenticationMethod) ΛMap

ΛMap returns the value lookup map associated with IETFSystem_AuthenticationMethod.

type E_IETFSystem_RadiusAuthenticationType

type E_IETFSystem_RadiusAuthenticationType int64

E_IETFSystem_RadiusAuthenticationType is a derived int64 type which is used to represent the enumerated node IETFSystem_RadiusAuthenticationType. An additional value named IETFSystem_RadiusAuthenticationType_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 (
	// IETFSystem_RadiusAuthenticationType_UNSET corresponds to the value UNSET of IETFSystem_RadiusAuthenticationType
	IETFSystem_RadiusAuthenticationType_UNSET E_IETFSystem_RadiusAuthenticationType = 0
	// IETFSystem_RadiusAuthenticationType_radius_chap corresponds to the value radius_chap of IETFSystem_RadiusAuthenticationType
	IETFSystem_RadiusAuthenticationType_radius_chap E_IETFSystem_RadiusAuthenticationType = 1
	// IETFSystem_RadiusAuthenticationType_radius_pap corresponds to the value radius_pap of IETFSystem_RadiusAuthenticationType
	IETFSystem_RadiusAuthenticationType_radius_pap E_IETFSystem_RadiusAuthenticationType = 2
)

func (E_IETFSystem_RadiusAuthenticationType) IsYANGGoEnum

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

func (E_IETFSystem_RadiusAuthenticationType) String

String returns a logging-friendly string for E_IETFSystem_RadiusAuthenticationType.

func (E_IETFSystem_RadiusAuthenticationType) ΛMap

ΛMap returns the value lookup map associated with IETFSystem_RadiusAuthenticationType.

type E_IETFSystem_System_Ntp_Server_AssociationType

type E_IETFSystem_System_Ntp_Server_AssociationType int64

E_IETFSystem_System_Ntp_Server_AssociationType is a derived int64 type which is used to represent the enumerated node IETFSystem_System_Ntp_Server_AssociationType. An additional value named IETFSystem_System_Ntp_Server_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 (
	// IETFSystem_System_Ntp_Server_AssociationType_UNSET corresponds to the value UNSET of IETFSystem_System_Ntp_Server_AssociationType
	IETFSystem_System_Ntp_Server_AssociationType_UNSET E_IETFSystem_System_Ntp_Server_AssociationType = 0
	// IETFSystem_System_Ntp_Server_AssociationType_server corresponds to the value server of IETFSystem_System_Ntp_Server_AssociationType
	IETFSystem_System_Ntp_Server_AssociationType_server E_IETFSystem_System_Ntp_Server_AssociationType = 1
	// IETFSystem_System_Ntp_Server_AssociationType_peer corresponds to the value peer of IETFSystem_System_Ntp_Server_AssociationType
	IETFSystem_System_Ntp_Server_AssociationType_peer E_IETFSystem_System_Ntp_Server_AssociationType = 2
	// IETFSystem_System_Ntp_Server_AssociationType_pool corresponds to the value pool of IETFSystem_System_Ntp_Server_AssociationType
	IETFSystem_System_Ntp_Server_AssociationType_pool E_IETFSystem_System_Ntp_Server_AssociationType = 3
)

func (E_IETFSystem_System_Ntp_Server_AssociationType) IsYANGGoEnum

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

func (E_IETFSystem_System_Ntp_Server_AssociationType) String

String returns a logging-friendly string for E_IETFSystem_System_Ntp_Server_AssociationType.

func (E_IETFSystem_System_Ntp_Server_AssociationType) ΛMap

ΛMap returns the value lookup map associated with IETFSystem_System_Ntp_Server_AssociationType.

type E_IETFX509CertToName_CertToName

type E_IETFX509CertToName_CertToName int64

E_IETFX509CertToName_CertToName is a derived int64 type which is used to represent the enumerated node IETFX509CertToName_CertToName. An additional value named IETFX509CertToName_CertToName_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 (
	// IETFX509CertToName_CertToName_UNSET corresponds to the value UNSET of IETFX509CertToName_CertToName
	IETFX509CertToName_CertToName_UNSET E_IETFX509CertToName_CertToName = 0
	// IETFX509CertToName_CertToName_common_name corresponds to the value common_name of IETFX509CertToName_CertToName
	IETFX509CertToName_CertToName_common_name E_IETFX509CertToName_CertToName = 1
	// IETFX509CertToName_CertToName_san_any corresponds to the value san_any of IETFX509CertToName_CertToName
	IETFX509CertToName_CertToName_san_any E_IETFX509CertToName_CertToName = 2
	// IETFX509CertToName_CertToName_san_dns_name corresponds to the value san_dns_name of IETFX509CertToName_CertToName
	IETFX509CertToName_CertToName_san_dns_name E_IETFX509CertToName_CertToName = 3
	// IETFX509CertToName_CertToName_san_ip_address corresponds to the value san_ip_address of IETFX509CertToName_CertToName
	IETFX509CertToName_CertToName_san_ip_address E_IETFX509CertToName_CertToName = 4
	// IETFX509CertToName_CertToName_san_rfc822_name corresponds to the value san_rfc822_name of IETFX509CertToName_CertToName
	IETFX509CertToName_CertToName_san_rfc822_name E_IETFX509CertToName_CertToName = 5
	// IETFX509CertToName_CertToName_specified corresponds to the value specified of IETFX509CertToName_CertToName
	IETFX509CertToName_CertToName_specified E_IETFX509CertToName_CertToName = 6
)

func (E_IETFX509CertToName_CertToName) IsYANGGoEnum

func (E_IETFX509CertToName_CertToName) IsYANGGoEnum()

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

func (E_IETFX509CertToName_CertToName) String

String returns a logging-friendly string for E_IETFX509CertToName_CertToName.

func (E_IETFX509CertToName_CertToName) ΛMap

ΛMap returns the value lookup map associated with IETFX509CertToName_CertToName.

type IETFNetconfAcm_Nacm

type IETFNetconfAcm_Nacm struct {
	ΛMetadata             []ygot.Annotation                        `path:"@" ygotAnnotation:"true"`
	DeniedDataWrites      *uint32                                  `path:"denied-data-writes" module:"ietf-netconf-acm"`
	ΛDeniedDataWrites     []ygot.Annotation                        `path:"@denied-data-writes" ygotAnnotation:"true"`
	DeniedNotifications   *uint32                                  `path:"denied-notifications" module:"ietf-netconf-acm"`
	ΛDeniedNotifications  []ygot.Annotation                        `path:"@denied-notifications" ygotAnnotation:"true"`
	DeniedOperations      *uint32                                  `path:"denied-operations" module:"ietf-netconf-acm"`
	ΛDeniedOperations     []ygot.Annotation                        `path:"@denied-operations" ygotAnnotation:"true"`
	EnableExternalGroups  *bool                                    `path:"enable-external-groups" module:"ietf-netconf-acm"`
	ΛEnableExternalGroups []ygot.Annotation                        `path:"@enable-external-groups" ygotAnnotation:"true"`
	EnableNacm            *bool                                    `path:"enable-nacm" module:"ietf-netconf-acm"`
	ΛEnableNacm           []ygot.Annotation                        `path:"@enable-nacm" ygotAnnotation:"true"`
	ExecDefault           E_IETFNetconfAcm_ActionType              `path:"exec-default" module:"ietf-netconf-acm"`
	ΛExecDefault          []ygot.Annotation                        `path:"@exec-default" ygotAnnotation:"true"`
	Groups                *IETFNetconfAcm_Nacm_Groups              `path:"groups" module:"ietf-netconf-acm"`
	ΛGroups               []ygot.Annotation                        `path:"@groups" ygotAnnotation:"true"`
	ReadDefault           E_IETFNetconfAcm_ActionType              `path:"read-default" module:"ietf-netconf-acm"`
	ΛReadDefault          []ygot.Annotation                        `path:"@read-default" ygotAnnotation:"true"`
	RuleList              *IETFNetconfAcm_Nacm_RuleList_OrderedMap `path:"rule-list" module:"ietf-netconf-acm"`
	ΛRuleList             []ygot.Annotation                        `path:"@rule-list" ygotAnnotation:"true"`
	WriteDefault          E_IETFNetconfAcm_ActionType              `path:"write-default" module:"ietf-netconf-acm"`
	ΛWriteDefault         []ygot.Annotation                        `path:"@write-default" ygotAnnotation:"true"`
}

IETFNetconfAcm_Nacm represents the /ietf-netconf-acm/nacm YANG schema element.

func (*IETFNetconfAcm_Nacm) AppendNewRuleList

func (s *IETFNetconfAcm_Nacm) AppendNewRuleList(Name string) (*IETFNetconfAcm_Nacm_RuleList, error)

AppendNewRuleList creates a new entry in the RuleList ordered map of the IETFNetconfAcm_Nacm struct. The keys of the list are populated from the input arguments.

func (*IETFNetconfAcm_Nacm) AppendRuleList

AppendRuleList appends the supplied IETFNetconfAcm_Nacm_RuleList struct to the list RuleList of IETFNetconfAcm_Nacm. If the key value(s) specified in the supplied IETFNetconfAcm_Nacm_RuleList already exist in the list, an error is returned.

func (*IETFNetconfAcm_Nacm) DeleteRuleList

func (s *IETFNetconfAcm_Nacm) DeleteRuleList(Name string) bool

DeleteRuleList deletes the value with the specified keys from the receiver IETFNetconfAcm_Nacm. If there is no such element, the function is a no-op.

func (*IETFNetconfAcm_Nacm) GetDeniedDataWrites

func (t *IETFNetconfAcm_Nacm) GetDeniedDataWrites() uint32

GetDeniedDataWrites retrieves the value of the leaf DeniedDataWrites from the IETFNetconfAcm_Nacm struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if DeniedDataWrites is set, it can safely use t.GetDeniedDataWrites() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.DeniedDataWrites == nil' before retrieving the leaf's value.

func (*IETFNetconfAcm_Nacm) GetDeniedNotifications

func (t *IETFNetconfAcm_Nacm) GetDeniedNotifications() uint32

GetDeniedNotifications retrieves the value of the leaf DeniedNotifications from the IETFNetconfAcm_Nacm struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if DeniedNotifications is set, it can safely use t.GetDeniedNotifications() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.DeniedNotifications == nil' before retrieving the leaf's value.

func (*IETFNetconfAcm_Nacm) GetDeniedOperations

func (t *IETFNetconfAcm_Nacm) GetDeniedOperations() uint32

GetDeniedOperations retrieves the value of the leaf DeniedOperations from the IETFNetconfAcm_Nacm struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if DeniedOperations is set, it can safely use t.GetDeniedOperations() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.DeniedOperations == nil' before retrieving the leaf's value.

func (*IETFNetconfAcm_Nacm) GetEnableExternalGroups

func (t *IETFNetconfAcm_Nacm) GetEnableExternalGroups() bool

GetEnableExternalGroups retrieves the value of the leaf EnableExternalGroups from the IETFNetconfAcm_Nacm struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if EnableExternalGroups is set, it can safely use t.GetEnableExternalGroups() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.EnableExternalGroups == nil' before retrieving the leaf's value.

func (*IETFNetconfAcm_Nacm) GetEnableNacm

func (t *IETFNetconfAcm_Nacm) GetEnableNacm() bool

GetEnableNacm retrieves the value of the leaf EnableNacm from the IETFNetconfAcm_Nacm struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if EnableNacm is set, it can safely use t.GetEnableNacm() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.EnableNacm == nil' before retrieving the leaf's value.

func (*IETFNetconfAcm_Nacm) GetExecDefault

GetExecDefault retrieves the value of the leaf ExecDefault from the IETFNetconfAcm_Nacm struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ExecDefault is set, it can safely use t.GetExecDefault() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ExecDefault == nil' before retrieving the leaf's value.

func (*IETFNetconfAcm_Nacm) GetGroups

GetGroups returns the value of the Groups struct pointer from IETFNetconfAcm_Nacm. If the receiver or the field Groups is nil, nil is returned such that the Get* methods can be safely chained.

func (*IETFNetconfAcm_Nacm) GetOrCreateGroups

func (t *IETFNetconfAcm_Nacm) GetOrCreateGroups() *IETFNetconfAcm_Nacm_Groups

GetOrCreateGroups retrieves the value of the Groups field or returns the existing field if it already exists.

func (*IETFNetconfAcm_Nacm) GetOrCreateRuleListMap

func (s *IETFNetconfAcm_Nacm) GetOrCreateRuleListMap() *IETFNetconfAcm_Nacm_RuleList_OrderedMap

GetOrCreateRuleListMap returns the ordered map field RuleList from IETFNetconfAcm_Nacm.

It initializes the field if not already initialized.

func (*IETFNetconfAcm_Nacm) GetReadDefault

GetReadDefault retrieves the value of the leaf ReadDefault from the IETFNetconfAcm_Nacm struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ReadDefault is set, it can safely use t.GetReadDefault() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ReadDefault == nil' before retrieving the leaf's value.

func (*IETFNetconfAcm_Nacm) GetRuleList

GetRuleList retrieves the value with the specified key from the RuleList map field of IETFNetconfAcm_Nacm. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.

func (*IETFNetconfAcm_Nacm) GetWriteDefault

func (t *IETFNetconfAcm_Nacm) GetWriteDefault() E_IETFNetconfAcm_ActionType

GetWriteDefault retrieves the value of the leaf WriteDefault from the IETFNetconfAcm_Nacm struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if WriteDefault is set, it can safely use t.GetWriteDefault() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.WriteDefault == nil' before retrieving the leaf's value.

func (*IETFNetconfAcm_Nacm) IsYANGGoStruct

func (*IETFNetconfAcm_Nacm) IsYANGGoStruct()

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

func (*IETFNetconfAcm_Nacm) Validate

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

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

func (*IETFNetconfAcm_Nacm) ΛBelongingModule

func (*IETFNetconfAcm_Nacm) ΛBelongingModule() string

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

func (*IETFNetconfAcm_Nacm) ΛEnumTypeMap

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

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

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

type IETFNetconfAcm_Nacm_Groups

type IETFNetconfAcm_Nacm_Groups struct {
	ΛMetadata []ygot.Annotation                            `path:"@" ygotAnnotation:"true"`
	Group     map[string]*IETFNetconfAcm_Nacm_Groups_Group `path:"group" module:"ietf-netconf-acm"`
	ΛGroup    []ygot.Annotation                            `path:"@group" ygotAnnotation:"true"`
}

IETFNetconfAcm_Nacm_Groups represents the /ietf-netconf-acm/nacm/groups YANG schema element.

func (*IETFNetconfAcm_Nacm_Groups) AppendGroup

AppendGroup appends the supplied IETFNetconfAcm_Nacm_Groups_Group struct to the list Group of IETFNetconfAcm_Nacm_Groups. If the key value(s) specified in the supplied IETFNetconfAcm_Nacm_Groups_Group already exist in the list, an error is returned.

func (*IETFNetconfAcm_Nacm_Groups) GetGroup

GetGroup retrieves the value with the specified key from the Group map field of IETFNetconfAcm_Nacm_Groups. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.

func (*IETFNetconfAcm_Nacm_Groups) GetOrCreateGroup

GetOrCreateGroup retrieves the value with the specified keys from the receiver IETFNetconfAcm_Nacm_Groups. If the entry does not exist, then it is created. It returns the existing or new list member.

func (*IETFNetconfAcm_Nacm_Groups) GetOrCreateGroupMap

GetOrCreateGroupMap returns the list (map) from IETFNetconfAcm_Nacm_Groups.

It initializes the field if not already initialized.

func (*IETFNetconfAcm_Nacm_Groups) IsYANGGoStruct

func (*IETFNetconfAcm_Nacm_Groups) IsYANGGoStruct()

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

func (*IETFNetconfAcm_Nacm_Groups) NewGroup

NewGroup creates a new entry in the Group list of the IETFNetconfAcm_Nacm_Groups struct. The keys of the list are populated from the input arguments.

func (*IETFNetconfAcm_Nacm_Groups) RenameGroup

func (t *IETFNetconfAcm_Nacm_Groups) RenameGroup(oldK, newK string) error

RenameGroup renames an entry in the list Group within the IETFNetconfAcm_Nacm_Groups struct. The entry with key oldK is renamed to newK updating the key within the value.

func (*IETFNetconfAcm_Nacm_Groups) Validate

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

func (*IETFNetconfAcm_Nacm_Groups) ΛBelongingModule

func (*IETFNetconfAcm_Nacm_Groups) ΛBelongingModule() string

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

func (*IETFNetconfAcm_Nacm_Groups) ΛEnumTypeMap

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

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

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

type IETFNetconfAcm_Nacm_Groups_Group

type IETFNetconfAcm_Nacm_Groups_Group struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Name      *string           `path:"name" module:"ietf-netconf-acm"`
	ΛName     []ygot.Annotation `path:"@name" ygotAnnotation:"true"`
	UserName  []string          `path:"user-name" module:"ietf-netconf-acm"`
	ΛUserName []ygot.Annotation `path:"@user-name" ygotAnnotation:"true"`
}

IETFNetconfAcm_Nacm_Groups_Group represents the /ietf-netconf-acm/nacm/groups/group YANG schema element.

func (*IETFNetconfAcm_Nacm_Groups_Group) GetName

GetName retrieves the value of the leaf Name from the IETFNetconfAcm_Nacm_Groups_Group struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Name is set, it can safely use t.GetName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Name == nil' before retrieving the leaf's value.

func (*IETFNetconfAcm_Nacm_Groups_Group) GetUserName

func (t *IETFNetconfAcm_Nacm_Groups_Group) GetUserName() []string

GetUserName retrieves the value of the leaf UserName from the IETFNetconfAcm_Nacm_Groups_Group struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if UserName is set, it can safely use t.GetUserName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.UserName == nil' before retrieving the leaf's value.

func (*IETFNetconfAcm_Nacm_Groups_Group) IsYANGGoStruct

func (*IETFNetconfAcm_Nacm_Groups_Group) IsYANGGoStruct()

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

func (*IETFNetconfAcm_Nacm_Groups_Group) Validate

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

func (*IETFNetconfAcm_Nacm_Groups_Group) ΛBelongingModule

func (*IETFNetconfAcm_Nacm_Groups_Group) ΛBelongingModule() string

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

func (*IETFNetconfAcm_Nacm_Groups_Group) ΛEnumTypeMap

func (t *IETFNetconfAcm_Nacm_Groups_Group) ΛEnumTypeMap() 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 (*IETFNetconfAcm_Nacm_Groups_Group) ΛListKeyMap

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

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

func (*IETFNetconfAcm_Nacm_Groups_Group) ΛValidate

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

type IETFNetconfAcm_Nacm_RuleList

type IETFNetconfAcm_Nacm_RuleList struct {
	ΛMetadata []ygot.Annotation                             `path:"@" ygotAnnotation:"true"`
	Group     []string                                      `path:"group" module:"ietf-netconf-acm"`
	ΛGroup    []ygot.Annotation                             `path:"@group" ygotAnnotation:"true"`
	Name      *string                                       `path:"name" module:"ietf-netconf-acm"`
	ΛName     []ygot.Annotation                             `path:"@name" ygotAnnotation:"true"`
	Rule      *IETFNetconfAcm_Nacm_RuleList_Rule_OrderedMap `path:"rule" module:"ietf-netconf-acm"`
	ΛRule     []ygot.Annotation                             `path:"@rule" ygotAnnotation:"true"`
}

IETFNetconfAcm_Nacm_RuleList represents the /ietf-netconf-acm/nacm/rule-list YANG schema element.

func (*IETFNetconfAcm_Nacm_RuleList) AppendNewRule

AppendNewRule creates a new entry in the Rule ordered map of the IETFNetconfAcm_Nacm_RuleList struct. The keys of the list are populated from the input arguments.

func (*IETFNetconfAcm_Nacm_RuleList) AppendRule

AppendRule appends the supplied IETFNetconfAcm_Nacm_RuleList_Rule struct to the list Rule of IETFNetconfAcm_Nacm_RuleList. If the key value(s) specified in the supplied IETFNetconfAcm_Nacm_RuleList_Rule already exist in the list, an error is returned.

func (*IETFNetconfAcm_Nacm_RuleList) DeleteRule

func (s *IETFNetconfAcm_Nacm_RuleList) DeleteRule(Name string) bool

DeleteRule deletes the value with the specified keys from the receiver IETFNetconfAcm_Nacm_RuleList. If there is no such element, the function is a no-op.

func (*IETFNetconfAcm_Nacm_RuleList) GetGroup

func (t *IETFNetconfAcm_Nacm_RuleList) GetGroup() []string

GetGroup retrieves the value of the leaf Group from the IETFNetconfAcm_Nacm_RuleList struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Group is set, it can safely use t.GetGroup() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Group == nil' before retrieving the leaf's value.

func (*IETFNetconfAcm_Nacm_RuleList) GetName

func (t *IETFNetconfAcm_Nacm_RuleList) GetName() string

GetName retrieves the value of the leaf Name from the IETFNetconfAcm_Nacm_RuleList struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Name is set, it can safely use t.GetName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Name == nil' before retrieving the leaf's value.

func (*IETFNetconfAcm_Nacm_RuleList) GetOrCreateRuleMap

GetOrCreateRuleMap returns the ordered map field Rule from IETFNetconfAcm_Nacm_RuleList.

It initializes the field if not already initialized.

func (*IETFNetconfAcm_Nacm_RuleList) GetRule

GetRule retrieves the value with the specified key from the Rule map field of IETFNetconfAcm_Nacm_RuleList. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.

func (*IETFNetconfAcm_Nacm_RuleList) IsYANGGoStruct

func (*IETFNetconfAcm_Nacm_RuleList) IsYANGGoStruct()

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

func (*IETFNetconfAcm_Nacm_RuleList) Validate

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

func (*IETFNetconfAcm_Nacm_RuleList) ΛBelongingModule

func (*IETFNetconfAcm_Nacm_RuleList) ΛBelongingModule() string

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

func (*IETFNetconfAcm_Nacm_RuleList) ΛEnumTypeMap

func (t *IETFNetconfAcm_Nacm_RuleList) ΛEnumTypeMap() 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 (*IETFNetconfAcm_Nacm_RuleList) ΛListKeyMap

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

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

func (*IETFNetconfAcm_Nacm_RuleList) ΛValidate

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

type IETFNetconfAcm_Nacm_RuleList_OrderedMap

type IETFNetconfAcm_Nacm_RuleList_OrderedMap struct {
	// contains filtered or unexported fields
}

IETFNetconfAcm_Nacm_RuleList_OrderedMap is an ordered map that represents the "ordered-by user" list elements at /ietf-netconf-acm/nacm/rule-list.

func (*IETFNetconfAcm_Nacm_RuleList_OrderedMap) Append

Append appends a IETFNetconfAcm_Nacm_RuleList, returning an error if the key already exists in the ordered list or if the key is unspecified.

func (*IETFNetconfAcm_Nacm_RuleList_OrderedMap) AppendNew

AppendNew creates and appends a new IETFNetconfAcm_Nacm_RuleList, returning the newly-initialized v. It returns an error if the v already exists.

func (*IETFNetconfAcm_Nacm_RuleList_OrderedMap) Delete

Delete deletes an element.

func (*IETFNetconfAcm_Nacm_RuleList_OrderedMap) Get

Get returns the value corresponding to the key. If the key is not found, nil is returned.

func (*IETFNetconfAcm_Nacm_RuleList_OrderedMap) IsYANGOrderedList

func (*IETFNetconfAcm_Nacm_RuleList_OrderedMap) IsYANGOrderedList()

IsYANGOrderedList ensures that IETFNetconfAcm_Nacm_RuleList_OrderedMap implements the ygot.GoOrderedMap interface.

func (*IETFNetconfAcm_Nacm_RuleList_OrderedMap) Keys

Keys returns a copy of the list's keys.

func (*IETFNetconfAcm_Nacm_RuleList_OrderedMap) Len

Len returns a size of IETFNetconfAcm_Nacm_RuleList_OrderedMap

func (*IETFNetconfAcm_Nacm_RuleList_OrderedMap) Values

Values returns the current set of the list's values in order.

type IETFNetconfAcm_Nacm_RuleList_Rule

type IETFNetconfAcm_Nacm_RuleList_Rule struct {
	ΛMetadata         []ygot.Annotation                                        `path:"@" ygotAnnotation:"true"`
	AccessOperations  IETFNetconfAcm_Nacm_RuleList_Rule_AccessOperations_Union `path:"access-operations" module:"ietf-netconf-acm"`
	ΛAccessOperations []ygot.Annotation                                        `path:"@access-operations" ygotAnnotation:"true"`
	Action            E_IETFNetconfAcm_ActionType                              `path:"action" module:"ietf-netconf-acm"`
	ΛAction           []ygot.Annotation                                        `path:"@action" ygotAnnotation:"true"`
	Comment           *string                                                  `path:"comment" module:"ietf-netconf-acm"`
	ΛComment          []ygot.Annotation                                        `path:"@comment" ygotAnnotation:"true"`
	ModuleName        *string                                                  `path:"module-name" module:"ietf-netconf-acm"`
	ΛModuleName       []ygot.Annotation                                        `path:"@module-name" ygotAnnotation:"true"`
	Name              *string                                                  `path:"name" module:"ietf-netconf-acm"`
	ΛName             []ygot.Annotation                                        `path:"@name" ygotAnnotation:"true"`
	NotificationName  *string                                                  `path:"notification-name" module:"ietf-netconf-acm"`
	ΛNotificationName []ygot.Annotation                                        `path:"@notification-name" ygotAnnotation:"true"`
	Path              *string                                                  `path:"path" module:"ietf-netconf-acm"`
	ΛPath             []ygot.Annotation                                        `path:"@path" ygotAnnotation:"true"`
	RpcName           *string                                                  `path:"rpc-name" module:"ietf-netconf-acm"`
	ΛRpcName          []ygot.Annotation                                        `path:"@rpc-name" ygotAnnotation:"true"`
}

IETFNetconfAcm_Nacm_RuleList_Rule represents the /ietf-netconf-acm/nacm/rule-list/rule YANG schema element.

func (*IETFNetconfAcm_Nacm_RuleList_Rule) GetAccessOperations

GetAccessOperations retrieves the value of the leaf AccessOperations from the IETFNetconfAcm_Nacm_RuleList_Rule struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AccessOperations is set, it can safely use t.GetAccessOperations() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AccessOperations == nil' before retrieving the leaf's value.

func (*IETFNetconfAcm_Nacm_RuleList_Rule) GetAction

GetAction retrieves the value of the leaf Action from the IETFNetconfAcm_Nacm_RuleList_Rule struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Action is set, it can safely use t.GetAction() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Action == nil' before retrieving the leaf's value.

func (*IETFNetconfAcm_Nacm_RuleList_Rule) GetComment

func (t *IETFNetconfAcm_Nacm_RuleList_Rule) GetComment() string

GetComment retrieves the value of the leaf Comment from the IETFNetconfAcm_Nacm_RuleList_Rule struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Comment is set, it can safely use t.GetComment() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Comment == nil' before retrieving the leaf's value.

func (*IETFNetconfAcm_Nacm_RuleList_Rule) GetModuleName

func (t *IETFNetconfAcm_Nacm_RuleList_Rule) GetModuleName() string

GetModuleName retrieves the value of the leaf ModuleName from the IETFNetconfAcm_Nacm_RuleList_Rule struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ModuleName is set, it can safely use t.GetModuleName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ModuleName == nil' before retrieving the leaf's value.

func (*IETFNetconfAcm_Nacm_RuleList_Rule) GetName

GetName retrieves the value of the leaf Name from the IETFNetconfAcm_Nacm_RuleList_Rule struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Name is set, it can safely use t.GetName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Name == nil' before retrieving the leaf's value.

func (*IETFNetconfAcm_Nacm_RuleList_Rule) GetNotificationName

func (t *IETFNetconfAcm_Nacm_RuleList_Rule) GetNotificationName() string

GetNotificationName retrieves the value of the leaf NotificationName from the IETFNetconfAcm_Nacm_RuleList_Rule struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if NotificationName is set, it can safely use t.GetNotificationName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.NotificationName == nil' before retrieving the leaf's value.

func (*IETFNetconfAcm_Nacm_RuleList_Rule) GetPath

GetPath retrieves the value of the leaf Path from the IETFNetconfAcm_Nacm_RuleList_Rule struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Path is set, it can safely use t.GetPath() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Path == nil' before retrieving the leaf's value.

func (*IETFNetconfAcm_Nacm_RuleList_Rule) GetRpcName

func (t *IETFNetconfAcm_Nacm_RuleList_Rule) GetRpcName() string

GetRpcName retrieves the value of the leaf RpcName from the IETFNetconfAcm_Nacm_RuleList_Rule struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if RpcName is set, it can safely use t.GetRpcName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.RpcName == nil' before retrieving the leaf's value.

func (*IETFNetconfAcm_Nacm_RuleList_Rule) IsYANGGoStruct

func (*IETFNetconfAcm_Nacm_RuleList_Rule) IsYANGGoStruct()

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

func (*IETFNetconfAcm_Nacm_RuleList_Rule) To_IETFNetconfAcm_Nacm_RuleList_Rule_AccessOperations_Union

func (t *IETFNetconfAcm_Nacm_RuleList_Rule) To_IETFNetconfAcm_Nacm_RuleList_Rule_AccessOperations_Union(i interface{}) (IETFNetconfAcm_Nacm_RuleList_Rule_AccessOperations_Union, error)

To_IETFNetconfAcm_Nacm_RuleList_Rule_AccessOperations_Union takes an input interface{} and attempts to convert it to a struct which implements the IETFNetconfAcm_Nacm_RuleList_Rule_AccessOperations_Union union. It returns an error if the interface{} supplied cannot be converted to a type within the union.

func (*IETFNetconfAcm_Nacm_RuleList_Rule) Validate

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

func (*IETFNetconfAcm_Nacm_RuleList_Rule) ΛBelongingModule

func (*IETFNetconfAcm_Nacm_RuleList_Rule) ΛBelongingModule() string

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

func (*IETFNetconfAcm_Nacm_RuleList_Rule) ΛEnumTypeMap

func (t *IETFNetconfAcm_Nacm_RuleList_Rule) ΛEnumTypeMap() map[string][]reflect.Type

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

func (*IETFNetconfAcm_Nacm_RuleList_Rule) ΛListKeyMap

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

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

func (*IETFNetconfAcm_Nacm_RuleList_Rule) ΛValidate

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

type IETFNetconfAcm_Nacm_RuleList_Rule_AccessOperations_Union

type IETFNetconfAcm_Nacm_RuleList_Rule_AccessOperations_Union interface {
	// Union type can be one of [*UnionUnsupported, UnionString]
	Documentation_for_IETFNetconfAcm_Nacm_RuleList_Rule_AccessOperations_Union()
}

IETFNetconfAcm_Nacm_RuleList_Rule_AccessOperations_Union is an interface that is implemented by valid types for the union for the leaf /ietf-netconf-acm/nacm/rule-list/rule/access-operations within the YANG schema. Union type can be one of [*UnionUnsupported, UnionString].

type IETFNetconfAcm_Nacm_RuleList_Rule_OrderedMap

type IETFNetconfAcm_Nacm_RuleList_Rule_OrderedMap struct {
	// contains filtered or unexported fields
}

IETFNetconfAcm_Nacm_RuleList_Rule_OrderedMap is an ordered map that represents the "ordered-by user" list elements at /ietf-netconf-acm/nacm/rule-list/rule.

func (*IETFNetconfAcm_Nacm_RuleList_Rule_OrderedMap) Append

Append appends a IETFNetconfAcm_Nacm_RuleList_Rule, returning an error if the key already exists in the ordered list or if the key is unspecified.

func (*IETFNetconfAcm_Nacm_RuleList_Rule_OrderedMap) AppendNew

AppendNew creates and appends a new IETFNetconfAcm_Nacm_RuleList_Rule, returning the newly-initialized v. It returns an error if the v already exists.

func (*IETFNetconfAcm_Nacm_RuleList_Rule_OrderedMap) Delete

Delete deletes an element.

func (*IETFNetconfAcm_Nacm_RuleList_Rule_OrderedMap) Get

Get returns the value corresponding to the key. If the key is not found, nil is returned.

func (*IETFNetconfAcm_Nacm_RuleList_Rule_OrderedMap) IsYANGOrderedList

func (*IETFNetconfAcm_Nacm_RuleList_Rule_OrderedMap) IsYANGOrderedList()

IsYANGOrderedList ensures that IETFNetconfAcm_Nacm_RuleList_Rule_OrderedMap implements the ygot.GoOrderedMap interface.

func (*IETFNetconfAcm_Nacm_RuleList_Rule_OrderedMap) Keys

Keys returns a copy of the list's keys.

func (*IETFNetconfAcm_Nacm_RuleList_Rule_OrderedMap) Len

Len returns a size of IETFNetconfAcm_Nacm_RuleList_Rule_OrderedMap

func (*IETFNetconfAcm_Nacm_RuleList_Rule_OrderedMap) Values

Values returns the current set of the list's values in order.

type IETFSnmp_Snmp

type IETFSnmp_Snmp struct {
	ΛMetadata            []ygot.Annotation                             `path:"@" ygotAnnotation:"true"`
	Community            map[string]*IETFSnmp_Snmp_Community           `path:"community" module:"ietf-snmp"`
	ΛCommunity           []ygot.Annotation                             `path:"@community" ygotAnnotation:"true"`
	Engine               *IETFSnmp_Snmp_Engine                         `path:"engine" module:"ietf-snmp"`
	ΛEngine              []ygot.Annotation                             `path:"@engine" ygotAnnotation:"true"`
	Notify               map[string]*IETFSnmp_Snmp_Notify              `path:"notify" module:"ietf-snmp"`
	ΛNotify              []ygot.Annotation                             `path:"@notify" ygotAnnotation:"true"`
	NotifyFilterProfile  map[string]*IETFSnmp_Snmp_NotifyFilterProfile `path:"notify-filter-profile" module:"ietf-snmp"`
	ΛNotifyFilterProfile []ygot.Annotation                             `path:"@notify-filter-profile" ygotAnnotation:"true"`
	Proxy                map[string]*IETFSnmp_Snmp_Proxy               `path:"proxy" module:"ietf-snmp"`
	ΛProxy               []ygot.Annotation                             `path:"@proxy" ygotAnnotation:"true"`
	Target               map[string]*IETFSnmp_Snmp_Target              `path:"target" module:"ietf-snmp"`
	ΛTarget              []ygot.Annotation                             `path:"@target" ygotAnnotation:"true"`
	TargetParams         map[string]*IETFSnmp_Snmp_TargetParams        `path:"target-params" module:"ietf-snmp"`
	ΛTargetParams        []ygot.Annotation                             `path:"@target-params" ygotAnnotation:"true"`
	Tlstm                *IETFSnmp_Snmp_Tlstm                          `path:"tlstm" module:"ietf-snmp"`
	ΛTlstm               []ygot.Annotation                             `path:"@tlstm" ygotAnnotation:"true"`
	Tsm                  *IETFSnmp_Snmp_Tsm                            `path:"tsm" module:"ietf-snmp"`
	ΛTsm                 []ygot.Annotation                             `path:"@tsm" ygotAnnotation:"true"`
	Usm                  *IETFSnmp_Snmp_Usm                            `path:"usm" module:"ietf-snmp"`
	ΛUsm                 []ygot.Annotation                             `path:"@usm" ygotAnnotation:"true"`
	Vacm                 *IETFSnmp_Snmp_Vacm                           `path:"vacm" module:"ietf-snmp"`
	ΛVacm                []ygot.Annotation                             `path:"@vacm" ygotAnnotation:"true"`
}

IETFSnmp_Snmp represents the /ietf-snmp/snmp YANG schema element.

func (*IETFSnmp_Snmp) AppendCommunity

func (t *IETFSnmp_Snmp) AppendCommunity(v *IETFSnmp_Snmp_Community) error

AppendCommunity appends the supplied IETFSnmp_Snmp_Community struct to the list Community of IETFSnmp_Snmp. If the key value(s) specified in the supplied IETFSnmp_Snmp_Community already exist in the list, an error is returned.

func (*IETFSnmp_Snmp) AppendNotify

func (t *IETFSnmp_Snmp) AppendNotify(v *IETFSnmp_Snmp_Notify) error

AppendNotify appends the supplied IETFSnmp_Snmp_Notify struct to the list Notify of IETFSnmp_Snmp. If the key value(s) specified in the supplied IETFSnmp_Snmp_Notify already exist in the list, an error is returned.

func (*IETFSnmp_Snmp) AppendNotifyFilterProfile

func (t *IETFSnmp_Snmp) AppendNotifyFilterProfile(v *IETFSnmp_Snmp_NotifyFilterProfile) error

AppendNotifyFilterProfile appends the supplied IETFSnmp_Snmp_NotifyFilterProfile struct to the list NotifyFilterProfile of IETFSnmp_Snmp. If the key value(s) specified in the supplied IETFSnmp_Snmp_NotifyFilterProfile already exist in the list, an error is returned.

func (*IETFSnmp_Snmp) AppendProxy

func (t *IETFSnmp_Snmp) AppendProxy(v *IETFSnmp_Snmp_Proxy) error

AppendProxy appends the supplied IETFSnmp_Snmp_Proxy struct to the list Proxy of IETFSnmp_Snmp. If the key value(s) specified in the supplied IETFSnmp_Snmp_Proxy already exist in the list, an error is returned.

func (*IETFSnmp_Snmp) AppendTarget

func (t *IETFSnmp_Snmp) AppendTarget(v *IETFSnmp_Snmp_Target) error

AppendTarget appends the supplied IETFSnmp_Snmp_Target struct to the list Target of IETFSnmp_Snmp. If the key value(s) specified in the supplied IETFSnmp_Snmp_Target already exist in the list, an error is returned.

func (*IETFSnmp_Snmp) AppendTargetParams

func (t *IETFSnmp_Snmp) AppendTargetParams(v *IETFSnmp_Snmp_TargetParams) error

AppendTargetParams appends the supplied IETFSnmp_Snmp_TargetParams struct to the list TargetParams of IETFSnmp_Snmp. If the key value(s) specified in the supplied IETFSnmp_Snmp_TargetParams already exist in the list, an error is returned.

func (*IETFSnmp_Snmp) GetCommunity

func (t *IETFSnmp_Snmp) GetCommunity(Index string) *IETFSnmp_Snmp_Community

GetCommunity retrieves the value with the specified key from the Community map field of IETFSnmp_Snmp. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.

func (*IETFSnmp_Snmp) GetEngine

func (t *IETFSnmp_Snmp) GetEngine() *IETFSnmp_Snmp_Engine

GetEngine returns the value of the Engine struct pointer from IETFSnmp_Snmp. If the receiver or the field Engine is nil, nil is returned such that the Get* methods can be safely chained.

func (*IETFSnmp_Snmp) GetNotify

func (t *IETFSnmp_Snmp) GetNotify(Name string) *IETFSnmp_Snmp_Notify

GetNotify retrieves the value with the specified key from the Notify map field of IETFSnmp_Snmp. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.

func (*IETFSnmp_Snmp) GetNotifyFilterProfile

func (t *IETFSnmp_Snmp) GetNotifyFilterProfile(Name string) *IETFSnmp_Snmp_NotifyFilterProfile

GetNotifyFilterProfile retrieves the value with the specified key from the NotifyFilterProfile map field of IETFSnmp_Snmp. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.

func (*IETFSnmp_Snmp) GetOrCreateCommunity

func (t *IETFSnmp_Snmp) GetOrCreateCommunity(Index string) *IETFSnmp_Snmp_Community

GetOrCreateCommunity retrieves the value with the specified keys from the receiver IETFSnmp_Snmp. If the entry does not exist, then it is created. It returns the existing or new list member.

func (*IETFSnmp_Snmp) GetOrCreateCommunityMap

func (t *IETFSnmp_Snmp) GetOrCreateCommunityMap() map[string]*IETFSnmp_Snmp_Community

GetOrCreateCommunityMap returns the list (map) from IETFSnmp_Snmp.

It initializes the field if not already initialized.

func (*IETFSnmp_Snmp) GetOrCreateEngine

func (t *IETFSnmp_Snmp) GetOrCreateEngine() *IETFSnmp_Snmp_Engine

GetOrCreateEngine retrieves the value of the Engine field or returns the existing field if it already exists.

func (*IETFSnmp_Snmp) GetOrCreateNotify

func (t *IETFSnmp_Snmp) GetOrCreateNotify(Name string) *IETFSnmp_Snmp_Notify

GetOrCreateNotify retrieves the value with the specified keys from the receiver IETFSnmp_Snmp. If the entry does not exist, then it is created. It returns the existing or new list member.

func (*IETFSnmp_Snmp) GetOrCreateNotifyFilterProfile

func (t *IETFSnmp_Snmp) GetOrCreateNotifyFilterProfile(Name string) *IETFSnmp_Snmp_NotifyFilterProfile

GetOrCreateNotifyFilterProfile retrieves the value with the specified keys from the receiver IETFSnmp_Snmp. If the entry does not exist, then it is created. It returns the existing or new list member.

func (*IETFSnmp_Snmp) GetOrCreateNotifyFilterProfileMap

func (t *IETFSnmp_Snmp) GetOrCreateNotifyFilterProfileMap() map[string]*IETFSnmp_Snmp_NotifyFilterProfile

GetOrCreateNotifyFilterProfileMap returns the list (map) from IETFSnmp_Snmp.

It initializes the field if not already initialized.

func (*IETFSnmp_Snmp) GetOrCreateNotifyMap

func (t *IETFSnmp_Snmp) GetOrCreateNotifyMap() map[string]*IETFSnmp_Snmp_Notify

GetOrCreateNotifyMap returns the list (map) from IETFSnmp_Snmp.

It initializes the field if not already initialized.

func (*IETFSnmp_Snmp) GetOrCreateProxy

func (t *IETFSnmp_Snmp) GetOrCreateProxy(Name string) *IETFSnmp_Snmp_Proxy

GetOrCreateProxy retrieves the value with the specified keys from the receiver IETFSnmp_Snmp. If the entry does not exist, then it is created. It returns the existing or new list member.

func (*IETFSnmp_Snmp) GetOrCreateProxyMap

func (t *IETFSnmp_Snmp) GetOrCreateProxyMap() map[string]*IETFSnmp_Snmp_Proxy

GetOrCreateProxyMap returns the list (map) from IETFSnmp_Snmp.

It initializes the field if not already initialized.

func (*IETFSnmp_Snmp) GetOrCreateTarget

func (t *IETFSnmp_Snmp) GetOrCreateTarget(Name string) *IETFSnmp_Snmp_Target

GetOrCreateTarget retrieves the value with the specified keys from the receiver IETFSnmp_Snmp. If the entry does not exist, then it is created. It returns the existing or new list member.

func (*IETFSnmp_Snmp) GetOrCreateTargetMap

func (t *IETFSnmp_Snmp) GetOrCreateTargetMap() map[string]*IETFSnmp_Snmp_Target

GetOrCreateTargetMap returns the list (map) from IETFSnmp_Snmp.

It initializes the field if not already initialized.

func (*IETFSnmp_Snmp) GetOrCreateTargetParams

func (t *IETFSnmp_Snmp) GetOrCreateTargetParams(Name string) *IETFSnmp_Snmp_TargetParams

GetOrCreateTargetParams retrieves the value with the specified keys from the receiver IETFSnmp_Snmp. If the entry does not exist, then it is created. It returns the existing or new list member.

func (*IETFSnmp_Snmp) GetOrCreateTargetParamsMap

func (t *IETFSnmp_Snmp) GetOrCreateTargetParamsMap() map[string]*IETFSnmp_Snmp_TargetParams

GetOrCreateTargetParamsMap returns the list (map) from IETFSnmp_Snmp.

It initializes the field if not already initialized.

func (*IETFSnmp_Snmp) GetOrCreateTlstm

func (t *IETFSnmp_Snmp) GetOrCreateTlstm() *IETFSnmp_Snmp_Tlstm

GetOrCreateTlstm retrieves the value of the Tlstm field or returns the existing field if it already exists.

func (*IETFSnmp_Snmp) GetOrCreateTsm

func (t *IETFSnmp_Snmp) GetOrCreateTsm() *IETFSnmp_Snmp_Tsm

GetOrCreateTsm retrieves the value of the Tsm field or returns the existing field if it already exists.

func (*IETFSnmp_Snmp) GetOrCreateUsm

func (t *IETFSnmp_Snmp) GetOrCreateUsm() *IETFSnmp_Snmp_Usm

GetOrCreateUsm retrieves the value of the Usm field or returns the existing field if it already exists.

func (*IETFSnmp_Snmp) GetOrCreateVacm

func (t *IETFSnmp_Snmp) GetOrCreateVacm() *IETFSnmp_Snmp_Vacm

GetOrCreateVacm retrieves the value of the Vacm field or returns the existing field if it already exists.

func (*IETFSnmp_Snmp) GetProxy

func (t *IETFSnmp_Snmp) GetProxy(Name string) *IETFSnmp_Snmp_Proxy

GetProxy retrieves the value with the specified key from the Proxy map field of IETFSnmp_Snmp. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.

func (*IETFSnmp_Snmp) GetTarget

func (t *IETFSnmp_Snmp) GetTarget(Name string) *IETFSnmp_Snmp_Target

GetTarget retrieves the value with the specified key from the Target map field of IETFSnmp_Snmp. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.

func (*IETFSnmp_Snmp) GetTargetParams

func (t *IETFSnmp_Snmp) GetTargetParams(Name string) *IETFSnmp_Snmp_TargetParams

GetTargetParams retrieves the value with the specified key from the TargetParams map field of IETFSnmp_Snmp. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.

func (*IETFSnmp_Snmp) GetTlstm

func (t *IETFSnmp_Snmp) GetTlstm() *IETFSnmp_Snmp_Tlstm

GetTlstm returns the value of the Tlstm struct pointer from IETFSnmp_Snmp. If the receiver or the field Tlstm is nil, nil is returned such that the Get* methods can be safely chained.

func (*IETFSnmp_Snmp) GetTsm

func (t *IETFSnmp_Snmp) GetTsm() *IETFSnmp_Snmp_Tsm

GetTsm returns the value of the Tsm struct pointer from IETFSnmp_Snmp. If the receiver or the field Tsm is nil, nil is returned such that the Get* methods can be safely chained.

func (*IETFSnmp_Snmp) GetUsm

func (t *IETFSnmp_Snmp) GetUsm() *IETFSnmp_Snmp_Usm

GetUsm returns the value of the Usm struct pointer from IETFSnmp_Snmp. If the receiver or the field Usm is nil, nil is returned such that the Get* methods can be safely chained.

func (*IETFSnmp_Snmp) GetVacm

func (t *IETFSnmp_Snmp) GetVacm() *IETFSnmp_Snmp_Vacm

GetVacm returns the value of the Vacm struct pointer from IETFSnmp_Snmp. If the receiver or the field Vacm is nil, nil is returned such that the Get* methods can be safely chained.

func (*IETFSnmp_Snmp) IsYANGGoStruct

func (*IETFSnmp_Snmp) IsYANGGoStruct()

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

func (*IETFSnmp_Snmp) NewCommunity

func (t *IETFSnmp_Snmp) NewCommunity(Index string) (*IETFSnmp_Snmp_Community, error)

NewCommunity creates a new entry in the Community list of the IETFSnmp_Snmp struct. The keys of the list are populated from the input arguments.

func (*IETFSnmp_Snmp) NewNotify

func (t *IETFSnmp_Snmp) NewNotify(Name string) (*IETFSnmp_Snmp_Notify, error)

NewNotify creates a new entry in the Notify list of the IETFSnmp_Snmp struct. The keys of the list are populated from the input arguments.

func (*IETFSnmp_Snmp) NewNotifyFilterProfile

func (t *IETFSnmp_Snmp) NewNotifyFilterProfile(Name string) (*IETFSnmp_Snmp_NotifyFilterProfile, error)

NewNotifyFilterProfile creates a new entry in the NotifyFilterProfile list of the IETFSnmp_Snmp struct. The keys of the list are populated from the input arguments.

func (*IETFSnmp_Snmp) NewProxy

func (t *IETFSnmp_Snmp) NewProxy(Name string) (*IETFSnmp_Snmp_Proxy, error)

NewProxy creates a new entry in the Proxy list of the IETFSnmp_Snmp struct. The keys of the list are populated from the input arguments.

func (*IETFSnmp_Snmp) NewTarget

func (t *IETFSnmp_Snmp) NewTarget(Name string) (*IETFSnmp_Snmp_Target, error)

NewTarget creates a new entry in the Target list of the IETFSnmp_Snmp struct. The keys of the list are populated from the input arguments.

func (*IETFSnmp_Snmp) NewTargetParams

func (t *IETFSnmp_Snmp) NewTargetParams(Name string) (*IETFSnmp_Snmp_TargetParams, error)

NewTargetParams creates a new entry in the TargetParams list of the IETFSnmp_Snmp struct. The keys of the list are populated from the input arguments.

func (*IETFSnmp_Snmp) RenameCommunity

func (t *IETFSnmp_Snmp) RenameCommunity(oldK, newK string) error

RenameCommunity renames an entry in the list Community within the IETFSnmp_Snmp struct. The entry with key oldK is renamed to newK updating the key within the value.

func (*IETFSnmp_Snmp) RenameNotify

func (t *IETFSnmp_Snmp) RenameNotify(oldK, newK string) error

RenameNotify renames an entry in the list Notify within the IETFSnmp_Snmp struct. The entry with key oldK is renamed to newK updating the key within the value.

func (*IETFSnmp_Snmp) RenameNotifyFilterProfile

func (t *IETFSnmp_Snmp) RenameNotifyFilterProfile(oldK, newK string) error

RenameNotifyFilterProfile renames an entry in the list NotifyFilterProfile within the IETFSnmp_Snmp struct. The entry with key oldK is renamed to newK updating the key within the value.

func (*IETFSnmp_Snmp) RenameProxy

func (t *IETFSnmp_Snmp) RenameProxy(oldK, newK string) error

RenameProxy renames an entry in the list Proxy within the IETFSnmp_Snmp struct. The entry with key oldK is renamed to newK updating the key within the value.

func (*IETFSnmp_Snmp) RenameTarget

func (t *IETFSnmp_Snmp) RenameTarget(oldK, newK string) error

RenameTarget renames an entry in the list Target within the IETFSnmp_Snmp struct. The entry with key oldK is renamed to newK updating the key within the value.

func (*IETFSnmp_Snmp) RenameTargetParams

func (t *IETFSnmp_Snmp) RenameTargetParams(oldK, newK string) error

RenameTargetParams renames an entry in the list TargetParams within the IETFSnmp_Snmp struct. The entry with key oldK is renamed to newK updating the key within the value.

func (*IETFSnmp_Snmp) Validate

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

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

func (*IETFSnmp_Snmp) ΛBelongingModule

func (*IETFSnmp_Snmp) ΛBelongingModule() string

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

func (*IETFSnmp_Snmp) ΛEnumTypeMap

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

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

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

type IETFSnmp_Snmp_Community

type IETFSnmp_Snmp_Community struct {
	ΛMetadata     []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	BinaryName    Binary            `path:"binary-name" module:"ietf-snmp"`
	ΛBinaryName   []ygot.Annotation `path:"@binary-name" ygotAnnotation:"true"`
	Context       *string           `path:"context" module:"ietf-snmp"`
	ΛContext      []ygot.Annotation `path:"@context" ygotAnnotation:"true"`
	EngineId      *string           `path:"engine-id" module:"ietf-snmp"`
	ΛEngineId     []ygot.Annotation `path:"@engine-id" ygotAnnotation:"true"`
	Index         *string           `path:"index" module:"ietf-snmp"`
	ΛIndex        []ygot.Annotation `path:"@index" ygotAnnotation:"true"`
	SecurityName  *string           `path:"security-name" module:"ietf-snmp"`
	ΛSecurityName []ygot.Annotation `path:"@security-name" ygotAnnotation:"true"`
	TargetTag     *string           `path:"target-tag" module:"ietf-snmp"`
	ΛTargetTag    []ygot.Annotation `path:"@target-tag" ygotAnnotation:"true"`
	TextName      *string           `path:"text-name" module:"ietf-snmp"`
	ΛTextName     []ygot.Annotation `path:"@text-name" ygotAnnotation:"true"`
}

IETFSnmp_Snmp_Community represents the /ietf-snmp/snmp/community YANG schema element.

func (*IETFSnmp_Snmp_Community) GetBinaryName

func (t *IETFSnmp_Snmp_Community) GetBinaryName() Binary

GetBinaryName retrieves the value of the leaf BinaryName from the IETFSnmp_Snmp_Community struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if BinaryName is set, it can safely use t.GetBinaryName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.BinaryName == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Community) GetContext

func (t *IETFSnmp_Snmp_Community) GetContext() string

GetContext retrieves the value of the leaf Context from the IETFSnmp_Snmp_Community struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Context is set, it can safely use t.GetContext() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Context == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Community) GetEngineId

func (t *IETFSnmp_Snmp_Community) GetEngineId() string

GetEngineId retrieves the value of the leaf EngineId from the IETFSnmp_Snmp_Community struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if EngineId is set, it can safely use t.GetEngineId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.EngineId == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Community) GetIndex

func (t *IETFSnmp_Snmp_Community) GetIndex() string

GetIndex retrieves the value of the leaf Index from the IETFSnmp_Snmp_Community struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Index is set, it can safely use t.GetIndex() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Index == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Community) GetSecurityName

func (t *IETFSnmp_Snmp_Community) GetSecurityName() string

GetSecurityName retrieves the value of the leaf SecurityName from the IETFSnmp_Snmp_Community struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SecurityName is set, it can safely use t.GetSecurityName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SecurityName == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Community) GetTargetTag

func (t *IETFSnmp_Snmp_Community) GetTargetTag() string

GetTargetTag retrieves the value of the leaf TargetTag from the IETFSnmp_Snmp_Community struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TargetTag is set, it can safely use t.GetTargetTag() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TargetTag == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Community) GetTextName

func (t *IETFSnmp_Snmp_Community) GetTextName() string

GetTextName retrieves the value of the leaf TextName from the IETFSnmp_Snmp_Community struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TextName is set, it can safely use t.GetTextName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TextName == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Community) IsYANGGoStruct

func (*IETFSnmp_Snmp_Community) IsYANGGoStruct()

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

func (*IETFSnmp_Snmp_Community) Validate

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

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

func (*IETFSnmp_Snmp_Community) ΛBelongingModule

func (*IETFSnmp_Snmp_Community) ΛBelongingModule() string

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

func (*IETFSnmp_Snmp_Community) ΛEnumTypeMap

func (t *IETFSnmp_Snmp_Community) ΛEnumTypeMap() map[string][]reflect.Type

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

func (*IETFSnmp_Snmp_Community) ΛListKeyMap

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

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

func (*IETFSnmp_Snmp_Community) ΛValidate

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

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

type IETFSnmp_Snmp_Engine

type IETFSnmp_Snmp_Engine struct {
	ΛMetadata          []ygot.Annotation                       `path:"@" ygotAnnotation:"true"`
	EnableAuthenTraps  *bool                                   `path:"enable-authen-traps" module:"ietf-snmp"`
	ΛEnableAuthenTraps []ygot.Annotation                       `path:"@enable-authen-traps" ygotAnnotation:"true"`
	Enabled            *bool                                   `path:"enabled" module:"ietf-snmp"`
	ΛEnabled           []ygot.Annotation                       `path:"@enabled" ygotAnnotation:"true"`
	EngineId           *string                                 `path:"engine-id" module:"ietf-snmp"`
	ΛEngineId          []ygot.Annotation                       `path:"@engine-id" ygotAnnotation:"true"`
	Listen             map[string]*IETFSnmp_Snmp_Engine_Listen `path:"listen" module:"ietf-snmp"`
	ΛListen            []ygot.Annotation                       `path:"@listen" ygotAnnotation:"true"`
	Version            *IETFSnmp_Snmp_Engine_Version           `path:"version" module:"ietf-snmp"`
	ΛVersion           []ygot.Annotation                       `path:"@version" ygotAnnotation:"true"`
}

IETFSnmp_Snmp_Engine represents the /ietf-snmp/snmp/engine YANG schema element.

func (*IETFSnmp_Snmp_Engine) AppendListen

AppendListen appends the supplied IETFSnmp_Snmp_Engine_Listen struct to the list Listen of IETFSnmp_Snmp_Engine. If the key value(s) specified in the supplied IETFSnmp_Snmp_Engine_Listen already exist in the list, an error is returned.

func (*IETFSnmp_Snmp_Engine) GetEnableAuthenTraps

func (t *IETFSnmp_Snmp_Engine) GetEnableAuthenTraps() bool

GetEnableAuthenTraps retrieves the value of the leaf EnableAuthenTraps from the IETFSnmp_Snmp_Engine struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if EnableAuthenTraps is set, it can safely use t.GetEnableAuthenTraps() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.EnableAuthenTraps == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Engine) GetEnabled

func (t *IETFSnmp_Snmp_Engine) GetEnabled() bool

GetEnabled retrieves the value of the leaf Enabled from the IETFSnmp_Snmp_Engine struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Enabled is set, it can safely use t.GetEnabled() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Enabled == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Engine) GetEngineId

func (t *IETFSnmp_Snmp_Engine) GetEngineId() string

GetEngineId retrieves the value of the leaf EngineId from the IETFSnmp_Snmp_Engine struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if EngineId is set, it can safely use t.GetEngineId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.EngineId == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Engine) GetListen

GetListen retrieves the value with the specified key from the Listen map field of IETFSnmp_Snmp_Engine. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.

func (*IETFSnmp_Snmp_Engine) GetOrCreateListen

func (t *IETFSnmp_Snmp_Engine) GetOrCreateListen(Name string) *IETFSnmp_Snmp_Engine_Listen

GetOrCreateListen retrieves the value with the specified keys from the receiver IETFSnmp_Snmp_Engine. If the entry does not exist, then it is created. It returns the existing or new list member.

func (*IETFSnmp_Snmp_Engine) GetOrCreateListenMap

func (t *IETFSnmp_Snmp_Engine) GetOrCreateListenMap() map[string]*IETFSnmp_Snmp_Engine_Listen

GetOrCreateListenMap returns the list (map) from IETFSnmp_Snmp_Engine.

It initializes the field if not already initialized.

func (*IETFSnmp_Snmp_Engine) GetOrCreateVersion

func (t *IETFSnmp_Snmp_Engine) GetOrCreateVersion() *IETFSnmp_Snmp_Engine_Version

GetOrCreateVersion retrieves the value of the Version field or returns the existing field if it already exists.

func (*IETFSnmp_Snmp_Engine) GetVersion

GetVersion returns the value of the Version struct pointer from IETFSnmp_Snmp_Engine. If the receiver or the field Version is nil, nil is returned such that the Get* methods can be safely chained.

func (*IETFSnmp_Snmp_Engine) IsYANGGoStruct

func (*IETFSnmp_Snmp_Engine) IsYANGGoStruct()

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

func (*IETFSnmp_Snmp_Engine) NewListen

NewListen creates a new entry in the Listen list of the IETFSnmp_Snmp_Engine struct. The keys of the list are populated from the input arguments.

func (*IETFSnmp_Snmp_Engine) RenameListen

func (t *IETFSnmp_Snmp_Engine) RenameListen(oldK, newK string) error

RenameListen renames an entry in the list Listen within the IETFSnmp_Snmp_Engine struct. The entry with key oldK is renamed to newK updating the key within the value.

func (*IETFSnmp_Snmp_Engine) Validate

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

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

func (*IETFSnmp_Snmp_Engine) ΛBelongingModule

func (*IETFSnmp_Snmp_Engine) ΛBelongingModule() string

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

func (*IETFSnmp_Snmp_Engine) ΛEnumTypeMap

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

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

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

type IETFSnmp_Snmp_Engine_Listen

type IETFSnmp_Snmp_Engine_Listen struct {
	ΛMetadata []ygot.Annotation                 `path:"@" ygotAnnotation:"true"`
	Dtls      *IETFSnmp_Snmp_Engine_Listen_Dtls `path:"dtls" module:"ietf-snmp"`
	ΛDtls     []ygot.Annotation                 `path:"@dtls" ygotAnnotation:"true"`
	Name      *string                           `path:"name" module:"ietf-snmp"`
	ΛName     []ygot.Annotation                 `path:"@name" ygotAnnotation:"true"`
	Ssh       *IETFSnmp_Snmp_Engine_Listen_Ssh  `path:"ssh" module:"ietf-snmp"`
	ΛSsh      []ygot.Annotation                 `path:"@ssh" ygotAnnotation:"true"`
	Tls       *IETFSnmp_Snmp_Engine_Listen_Tls  `path:"tls" module:"ietf-snmp"`
	ΛTls      []ygot.Annotation                 `path:"@tls" ygotAnnotation:"true"`
	Udp       *IETFSnmp_Snmp_Engine_Listen_Udp  `path:"udp" module:"ietf-snmp"`
	ΛUdp      []ygot.Annotation                 `path:"@udp" ygotAnnotation:"true"`
}

IETFSnmp_Snmp_Engine_Listen represents the /ietf-snmp/snmp/engine/listen YANG schema element.

func (*IETFSnmp_Snmp_Engine_Listen) GetDtls

GetDtls returns the value of the Dtls struct pointer from IETFSnmp_Snmp_Engine_Listen. If the receiver or the field Dtls is nil, nil is returned such that the Get* methods can be safely chained.

func (*IETFSnmp_Snmp_Engine_Listen) GetName

func (t *IETFSnmp_Snmp_Engine_Listen) GetName() string

GetName retrieves the value of the leaf Name from the IETFSnmp_Snmp_Engine_Listen struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Name is set, it can safely use t.GetName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Name == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Engine_Listen) GetOrCreateDtls

GetOrCreateDtls retrieves the value of the Dtls field or returns the existing field if it already exists.

func (*IETFSnmp_Snmp_Engine_Listen) GetOrCreateSsh

GetOrCreateSsh retrieves the value of the Ssh field or returns the existing field if it already exists.

func (*IETFSnmp_Snmp_Engine_Listen) GetOrCreateTls

GetOrCreateTls retrieves the value of the Tls field or returns the existing field if it already exists.

func (*IETFSnmp_Snmp_Engine_Listen) GetOrCreateUdp

GetOrCreateUdp retrieves the value of the Udp field or returns the existing field if it already exists.

func (*IETFSnmp_Snmp_Engine_Listen) GetSsh

GetSsh returns the value of the Ssh struct pointer from IETFSnmp_Snmp_Engine_Listen. If the receiver or the field Ssh is nil, nil is returned such that the Get* methods can be safely chained.

func (*IETFSnmp_Snmp_Engine_Listen) GetTls

GetTls returns the value of the Tls struct pointer from IETFSnmp_Snmp_Engine_Listen. If the receiver or the field Tls is nil, nil is returned such that the Get* methods can be safely chained.

func (*IETFSnmp_Snmp_Engine_Listen) GetUdp

GetUdp returns the value of the Udp struct pointer from IETFSnmp_Snmp_Engine_Listen. If the receiver or the field Udp is nil, nil is returned such that the Get* methods can be safely chained.

func (*IETFSnmp_Snmp_Engine_Listen) IsYANGGoStruct

func (*IETFSnmp_Snmp_Engine_Listen) IsYANGGoStruct()

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

func (*IETFSnmp_Snmp_Engine_Listen) Validate

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

func (*IETFSnmp_Snmp_Engine_Listen) ΛBelongingModule

func (*IETFSnmp_Snmp_Engine_Listen) ΛBelongingModule() string

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

func (*IETFSnmp_Snmp_Engine_Listen) ΛEnumTypeMap

func (t *IETFSnmp_Snmp_Engine_Listen) ΛEnumTypeMap() 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 (*IETFSnmp_Snmp_Engine_Listen) ΛListKeyMap

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

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

func (*IETFSnmp_Snmp_Engine_Listen) ΛValidate

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

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

type IETFSnmp_Snmp_Engine_Listen_Dtls

type IETFSnmp_Snmp_Engine_Listen_Dtls struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Ip        *string           `path:"ip" module:"ietf-snmp"`
	ΛIp       []ygot.Annotation `path:"@ip" ygotAnnotation:"true"`
	Port      *uint16           `path:"port" module:"ietf-snmp"`
	ΛPort     []ygot.Annotation `path:"@port" ygotAnnotation:"true"`
}

IETFSnmp_Snmp_Engine_Listen_Dtls represents the /ietf-snmp/snmp/engine/listen/dtls YANG schema element.

func (*IETFSnmp_Snmp_Engine_Listen_Dtls) GetIp

GetIp retrieves the value of the leaf Ip from the IETFSnmp_Snmp_Engine_Listen_Dtls struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Ip is set, it can safely use t.GetIp() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Ip == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Engine_Listen_Dtls) GetPort

GetPort retrieves the value of the leaf Port from the IETFSnmp_Snmp_Engine_Listen_Dtls struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Port is set, it can safely use t.GetPort() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Port == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Engine_Listen_Dtls) IsYANGGoStruct

func (*IETFSnmp_Snmp_Engine_Listen_Dtls) IsYANGGoStruct()

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

func (*IETFSnmp_Snmp_Engine_Listen_Dtls) Validate

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

func (*IETFSnmp_Snmp_Engine_Listen_Dtls) ΛBelongingModule

func (*IETFSnmp_Snmp_Engine_Listen_Dtls) ΛBelongingModule() string

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

func (*IETFSnmp_Snmp_Engine_Listen_Dtls) ΛEnumTypeMap

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

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

type IETFSnmp_Snmp_Engine_Listen_Ssh

type IETFSnmp_Snmp_Engine_Listen_Ssh struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Ip        *string           `path:"ip" module:"ietf-snmp"`
	ΛIp       []ygot.Annotation `path:"@ip" ygotAnnotation:"true"`
	Port      *uint16           `path:"port" module:"ietf-snmp"`
	ΛPort     []ygot.Annotation `path:"@port" ygotAnnotation:"true"`
}

IETFSnmp_Snmp_Engine_Listen_Ssh represents the /ietf-snmp/snmp/engine/listen/ssh YANG schema element.

func (*IETFSnmp_Snmp_Engine_Listen_Ssh) GetIp

GetIp retrieves the value of the leaf Ip from the IETFSnmp_Snmp_Engine_Listen_Ssh struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Ip is set, it can safely use t.GetIp() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Ip == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Engine_Listen_Ssh) GetPort

GetPort retrieves the value of the leaf Port from the IETFSnmp_Snmp_Engine_Listen_Ssh struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Port is set, it can safely use t.GetPort() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Port == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Engine_Listen_Ssh) IsYANGGoStruct

func (*IETFSnmp_Snmp_Engine_Listen_Ssh) IsYANGGoStruct()

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

func (*IETFSnmp_Snmp_Engine_Listen_Ssh) Validate

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

func (*IETFSnmp_Snmp_Engine_Listen_Ssh) ΛBelongingModule

func (*IETFSnmp_Snmp_Engine_Listen_Ssh) ΛBelongingModule() string

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

func (*IETFSnmp_Snmp_Engine_Listen_Ssh) ΛEnumTypeMap

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

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

type IETFSnmp_Snmp_Engine_Listen_Tls

type IETFSnmp_Snmp_Engine_Listen_Tls struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Ip        *string           `path:"ip" module:"ietf-snmp"`
	ΛIp       []ygot.Annotation `path:"@ip" ygotAnnotation:"true"`
	Port      *uint16           `path:"port" module:"ietf-snmp"`
	ΛPort     []ygot.Annotation `path:"@port" ygotAnnotation:"true"`
}

IETFSnmp_Snmp_Engine_Listen_Tls represents the /ietf-snmp/snmp/engine/listen/tls YANG schema element.

func (*IETFSnmp_Snmp_Engine_Listen_Tls) GetIp

GetIp retrieves the value of the leaf Ip from the IETFSnmp_Snmp_Engine_Listen_Tls struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Ip is set, it can safely use t.GetIp() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Ip == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Engine_Listen_Tls) GetPort

GetPort retrieves the value of the leaf Port from the IETFSnmp_Snmp_Engine_Listen_Tls struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Port is set, it can safely use t.GetPort() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Port == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Engine_Listen_Tls) IsYANGGoStruct

func (*IETFSnmp_Snmp_Engine_Listen_Tls) IsYANGGoStruct()

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

func (*IETFSnmp_Snmp_Engine_Listen_Tls) Validate

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

func (*IETFSnmp_Snmp_Engine_Listen_Tls) ΛBelongingModule

func (*IETFSnmp_Snmp_Engine_Listen_Tls) ΛBelongingModule() string

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

func (*IETFSnmp_Snmp_Engine_Listen_Tls) ΛEnumTypeMap

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

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

type IETFSnmp_Snmp_Engine_Listen_Udp

type IETFSnmp_Snmp_Engine_Listen_Udp struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Ip        *string           `path:"ip" module:"ietf-snmp"`
	ΛIp       []ygot.Annotation `path:"@ip" ygotAnnotation:"true"`
	Port      *uint16           `path:"port" module:"ietf-snmp"`
	ΛPort     []ygot.Annotation `path:"@port" ygotAnnotation:"true"`
}

IETFSnmp_Snmp_Engine_Listen_Udp represents the /ietf-snmp/snmp/engine/listen/udp YANG schema element.

func (*IETFSnmp_Snmp_Engine_Listen_Udp) GetIp

GetIp retrieves the value of the leaf Ip from the IETFSnmp_Snmp_Engine_Listen_Udp struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Ip is set, it can safely use t.GetIp() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Ip == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Engine_Listen_Udp) GetPort

GetPort retrieves the value of the leaf Port from the IETFSnmp_Snmp_Engine_Listen_Udp struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Port is set, it can safely use t.GetPort() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Port == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Engine_Listen_Udp) IsYANGGoStruct

func (*IETFSnmp_Snmp_Engine_Listen_Udp) IsYANGGoStruct()

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

func (*IETFSnmp_Snmp_Engine_Listen_Udp) Validate

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

func (*IETFSnmp_Snmp_Engine_Listen_Udp) ΛBelongingModule

func (*IETFSnmp_Snmp_Engine_Listen_Udp) ΛBelongingModule() string

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

func (*IETFSnmp_Snmp_Engine_Listen_Udp) ΛEnumTypeMap

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

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

type IETFSnmp_Snmp_Engine_Version

type IETFSnmp_Snmp_Engine_Version struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	V1        YANGEmpty         `path:"v1" module:"ietf-snmp"`
	ΛV1       []ygot.Annotation `path:"@v1" ygotAnnotation:"true"`
	V2C       YANGEmpty         `path:"v2c" module:"ietf-snmp"`
	ΛV2C      []ygot.Annotation `path:"@v2c" ygotAnnotation:"true"`
	V3        YANGEmpty         `path:"v3" module:"ietf-snmp"`
	ΛV3       []ygot.Annotation `path:"@v3" ygotAnnotation:"true"`
}

IETFSnmp_Snmp_Engine_Version represents the /ietf-snmp/snmp/engine/version YANG schema element.

func (*IETFSnmp_Snmp_Engine_Version) GetV1

GetV1 retrieves the value of the leaf V1 from the IETFSnmp_Snmp_Engine_Version struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if V1 is set, it can safely use t.GetV1() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.V1 == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Engine_Version) GetV2C

GetV2C retrieves the value of the leaf V2C from the IETFSnmp_Snmp_Engine_Version struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if V2C is set, it can safely use t.GetV2C() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.V2C == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Engine_Version) GetV3

GetV3 retrieves the value of the leaf V3 from the IETFSnmp_Snmp_Engine_Version struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if V3 is set, it can safely use t.GetV3() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.V3 == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Engine_Version) IsYANGGoStruct

func (*IETFSnmp_Snmp_Engine_Version) IsYANGGoStruct()

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

func (*IETFSnmp_Snmp_Engine_Version) Validate

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

func (*IETFSnmp_Snmp_Engine_Version) ΛBelongingModule

func (*IETFSnmp_Snmp_Engine_Version) ΛBelongingModule() string

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

func (*IETFSnmp_Snmp_Engine_Version) ΛEnumTypeMap

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

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

type IETFSnmp_Snmp_Notify

type IETFSnmp_Snmp_Notify struct {
	ΛMetadata []ygot.Annotation           `path:"@" ygotAnnotation:"true"`
	Name      *string                     `path:"name" module:"ietf-snmp"`
	ΛName     []ygot.Annotation           `path:"@name" ygotAnnotation:"true"`
	Tag       *string                     `path:"tag" module:"ietf-snmp"`
	ΛTag      []ygot.Annotation           `path:"@tag" ygotAnnotation:"true"`
	Type      E_IETFSnmp_Snmp_Notify_Type `path:"type" module:"ietf-snmp"`
	ΛType     []ygot.Annotation           `path:"@type" ygotAnnotation:"true"`
}

IETFSnmp_Snmp_Notify represents the /ietf-snmp/snmp/notify YANG schema element.

func (*IETFSnmp_Snmp_Notify) GetName

func (t *IETFSnmp_Snmp_Notify) GetName() string

GetName retrieves the value of the leaf Name from the IETFSnmp_Snmp_Notify struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Name is set, it can safely use t.GetName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Name == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Notify) GetTag

func (t *IETFSnmp_Snmp_Notify) GetTag() string

GetTag retrieves the value of the leaf Tag from the IETFSnmp_Snmp_Notify struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Tag is set, it can safely use t.GetTag() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Tag == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Notify) GetType

GetType retrieves the value of the leaf Type from the IETFSnmp_Snmp_Notify struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Type is set, it can safely use t.GetType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Type == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Notify) IsYANGGoStruct

func (*IETFSnmp_Snmp_Notify) IsYANGGoStruct()

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

func (*IETFSnmp_Snmp_Notify) Validate

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

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

func (*IETFSnmp_Snmp_Notify) ΛBelongingModule

func (*IETFSnmp_Snmp_Notify) ΛBelongingModule() string

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

func (*IETFSnmp_Snmp_Notify) ΛEnumTypeMap

func (t *IETFSnmp_Snmp_Notify) ΛEnumTypeMap() 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 (*IETFSnmp_Snmp_Notify) ΛListKeyMap

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

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

func (*IETFSnmp_Snmp_Notify) ΛValidate

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

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

type IETFSnmp_Snmp_NotifyFilterProfile

type IETFSnmp_Snmp_NotifyFilterProfile struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Exclude   []string          `path:"exclude" module:"ietf-snmp"`
	ΛExclude  []ygot.Annotation `path:"@exclude" ygotAnnotation:"true"`
	Include   []string          `path:"include" module:"ietf-snmp"`
	ΛInclude  []ygot.Annotation `path:"@include" ygotAnnotation:"true"`
	Name      *string           `path:"name" module:"ietf-snmp"`
	ΛName     []ygot.Annotation `path:"@name" ygotAnnotation:"true"`
}

IETFSnmp_Snmp_NotifyFilterProfile represents the /ietf-snmp/snmp/notify-filter-profile YANG schema element.

func (*IETFSnmp_Snmp_NotifyFilterProfile) GetExclude

func (t *IETFSnmp_Snmp_NotifyFilterProfile) GetExclude() []string

GetExclude retrieves the value of the leaf Exclude from the IETFSnmp_Snmp_NotifyFilterProfile struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Exclude is set, it can safely use t.GetExclude() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Exclude == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_NotifyFilterProfile) GetInclude

func (t *IETFSnmp_Snmp_NotifyFilterProfile) GetInclude() []string

GetInclude retrieves the value of the leaf Include from the IETFSnmp_Snmp_NotifyFilterProfile struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Include is set, it can safely use t.GetInclude() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Include == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_NotifyFilterProfile) GetName

GetName retrieves the value of the leaf Name from the IETFSnmp_Snmp_NotifyFilterProfile struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Name is set, it can safely use t.GetName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Name == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_NotifyFilterProfile) IsYANGGoStruct

func (*IETFSnmp_Snmp_NotifyFilterProfile) IsYANGGoStruct()

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

func (*IETFSnmp_Snmp_NotifyFilterProfile) Validate

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

func (*IETFSnmp_Snmp_NotifyFilterProfile) ΛBelongingModule

func (*IETFSnmp_Snmp_NotifyFilterProfile) ΛBelongingModule() string

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

func (*IETFSnmp_Snmp_NotifyFilterProfile) ΛEnumTypeMap

func (t *IETFSnmp_Snmp_NotifyFilterProfile) ΛEnumTypeMap() 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 (*IETFSnmp_Snmp_NotifyFilterProfile) ΛListKeyMap

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

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

func (*IETFSnmp_Snmp_NotifyFilterProfile) ΛValidate

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

type IETFSnmp_Snmp_Proxy

type IETFSnmp_Snmp_Proxy struct {
	ΛMetadata          []ygot.Annotation          `path:"@" ygotAnnotation:"true"`
	ContextEngineId    *string                    `path:"context-engine-id" module:"ietf-snmp"`
	ΛContextEngineId   []ygot.Annotation          `path:"@context-engine-id" ygotAnnotation:"true"`
	ContextName        *string                    `path:"context-name" module:"ietf-snmp"`
	ΛContextName       []ygot.Annotation          `path:"@context-name" ygotAnnotation:"true"`
	MultipleTargetOut  *string                    `path:"multiple-target-out" module:"ietf-snmp"`
	ΛMultipleTargetOut []ygot.Annotation          `path:"@multiple-target-out" ygotAnnotation:"true"`
	Name               *string                    `path:"name" module:"ietf-snmp"`
	ΛName              []ygot.Annotation          `path:"@name" ygotAnnotation:"true"`
	SingleTargetOut    *string                    `path:"single-target-out" module:"ietf-snmp"`
	ΛSingleTargetOut   []ygot.Annotation          `path:"@single-target-out" ygotAnnotation:"true"`
	TargetParamsIn     *string                    `path:"target-params-in" module:"ietf-snmp"`
	ΛTargetParamsIn    []ygot.Annotation          `path:"@target-params-in" ygotAnnotation:"true"`
	Type               E_IETFSnmp_Snmp_Proxy_Type `path:"type" module:"ietf-snmp"`
	ΛType              []ygot.Annotation          `path:"@type" ygotAnnotation:"true"`
}

IETFSnmp_Snmp_Proxy represents the /ietf-snmp/snmp/proxy YANG schema element.

func (*IETFSnmp_Snmp_Proxy) GetContextEngineId

func (t *IETFSnmp_Snmp_Proxy) GetContextEngineId() string

GetContextEngineId retrieves the value of the leaf ContextEngineId from the IETFSnmp_Snmp_Proxy struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ContextEngineId is set, it can safely use t.GetContextEngineId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ContextEngineId == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Proxy) GetContextName

func (t *IETFSnmp_Snmp_Proxy) GetContextName() string

GetContextName retrieves the value of the leaf ContextName from the IETFSnmp_Snmp_Proxy struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ContextName is set, it can safely use t.GetContextName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ContextName == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Proxy) GetMultipleTargetOut

func (t *IETFSnmp_Snmp_Proxy) GetMultipleTargetOut() string

GetMultipleTargetOut retrieves the value of the leaf MultipleTargetOut from the IETFSnmp_Snmp_Proxy struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MultipleTargetOut is set, it can safely use t.GetMultipleTargetOut() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MultipleTargetOut == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Proxy) GetName

func (t *IETFSnmp_Snmp_Proxy) GetName() string

GetName retrieves the value of the leaf Name from the IETFSnmp_Snmp_Proxy struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Name is set, it can safely use t.GetName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Name == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Proxy) GetSingleTargetOut

func (t *IETFSnmp_Snmp_Proxy) GetSingleTargetOut() string

GetSingleTargetOut retrieves the value of the leaf SingleTargetOut from the IETFSnmp_Snmp_Proxy struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SingleTargetOut is set, it can safely use t.GetSingleTargetOut() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SingleTargetOut == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Proxy) GetTargetParamsIn

func (t *IETFSnmp_Snmp_Proxy) GetTargetParamsIn() string

GetTargetParamsIn retrieves the value of the leaf TargetParamsIn from the IETFSnmp_Snmp_Proxy struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TargetParamsIn is set, it can safely use t.GetTargetParamsIn() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TargetParamsIn == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Proxy) GetType

GetType retrieves the value of the leaf Type from the IETFSnmp_Snmp_Proxy struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Type is set, it can safely use t.GetType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Type == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Proxy) IsYANGGoStruct

func (*IETFSnmp_Snmp_Proxy) IsYANGGoStruct()

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

func (*IETFSnmp_Snmp_Proxy) Validate

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

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

func (*IETFSnmp_Snmp_Proxy) ΛBelongingModule

func (*IETFSnmp_Snmp_Proxy) ΛBelongingModule() string

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

func (*IETFSnmp_Snmp_Proxy) ΛEnumTypeMap

func (t *IETFSnmp_Snmp_Proxy) ΛEnumTypeMap() 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 (*IETFSnmp_Snmp_Proxy) ΛListKeyMap

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

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

func (*IETFSnmp_Snmp_Proxy) ΛValidate

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

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

type IETFSnmp_Snmp_Target

type IETFSnmp_Snmp_Target struct {
	ΛMetadata     []ygot.Annotation              `path:"@" ygotAnnotation:"true"`
	Dtls          *IETFSnmp_Snmp_Target_Dtls     `path:"dtls" module:"ietf-snmp"`
	ΛDtls         []ygot.Annotation              `path:"@dtls" ygotAnnotation:"true"`
	Mms           IETFSnmp_Snmp_Target_Mms_Union `path:"mms" module:"ietf-snmp"`
	ΛMms          []ygot.Annotation              `path:"@mms" ygotAnnotation:"true"`
	Name          *string                        `path:"name" module:"ietf-snmp"`
	ΛName         []ygot.Annotation              `path:"@name" ygotAnnotation:"true"`
	Retries       *uint8                         `path:"retries" module:"ietf-snmp"`
	ΛRetries      []ygot.Annotation              `path:"@retries" ygotAnnotation:"true"`
	Ssh           *IETFSnmp_Snmp_Target_Ssh      `path:"ssh" module:"ietf-snmp"`
	ΛSsh          []ygot.Annotation              `path:"@ssh" ygotAnnotation:"true"`
	Tag           []string                       `path:"tag" module:"ietf-snmp"`
	ΛTag          []ygot.Annotation              `path:"@tag" ygotAnnotation:"true"`
	TargetParams  *string                        `path:"target-params" module:"ietf-snmp"`
	ΛTargetParams []ygot.Annotation              `path:"@target-params" ygotAnnotation:"true"`
	Timeout       *uint32                        `path:"timeout" module:"ietf-snmp"`
	ΛTimeout      []ygot.Annotation              `path:"@timeout" ygotAnnotation:"true"`
	Tls           *IETFSnmp_Snmp_Target_Tls      `path:"tls" module:"ietf-snmp"`
	ΛTls          []ygot.Annotation              `path:"@tls" ygotAnnotation:"true"`
	Udp           *IETFSnmp_Snmp_Target_Udp      `path:"udp" module:"ietf-snmp"`
	ΛUdp          []ygot.Annotation              `path:"@udp" ygotAnnotation:"true"`
}

IETFSnmp_Snmp_Target represents the /ietf-snmp/snmp/target YANG schema element.

func (*IETFSnmp_Snmp_Target) GetDtls

GetDtls returns the value of the Dtls struct pointer from IETFSnmp_Snmp_Target. If the receiver or the field Dtls is nil, nil is returned such that the Get* methods can be safely chained.

func (*IETFSnmp_Snmp_Target) GetMms

GetMms retrieves the value of the leaf Mms from the IETFSnmp_Snmp_Target struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Mms is set, it can safely use t.GetMms() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Mms == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Target) GetName

func (t *IETFSnmp_Snmp_Target) GetName() string

GetName retrieves the value of the leaf Name from the IETFSnmp_Snmp_Target struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Name is set, it can safely use t.GetName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Name == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Target) GetOrCreateDtls

func (t *IETFSnmp_Snmp_Target) GetOrCreateDtls() *IETFSnmp_Snmp_Target_Dtls

GetOrCreateDtls retrieves the value of the Dtls field or returns the existing field if it already exists.

func (*IETFSnmp_Snmp_Target) GetOrCreateSsh

func (t *IETFSnmp_Snmp_Target) GetOrCreateSsh() *IETFSnmp_Snmp_Target_Ssh

GetOrCreateSsh retrieves the value of the Ssh field or returns the existing field if it already exists.

func (*IETFSnmp_Snmp_Target) GetOrCreateTls

func (t *IETFSnmp_Snmp_Target) GetOrCreateTls() *IETFSnmp_Snmp_Target_Tls

GetOrCreateTls retrieves the value of the Tls field or returns the existing field if it already exists.

func (*IETFSnmp_Snmp_Target) GetOrCreateUdp

func (t *IETFSnmp_Snmp_Target) GetOrCreateUdp() *IETFSnmp_Snmp_Target_Udp

GetOrCreateUdp retrieves the value of the Udp field or returns the existing field if it already exists.

func (*IETFSnmp_Snmp_Target) GetRetries

func (t *IETFSnmp_Snmp_Target) GetRetries() uint8

GetRetries retrieves the value of the leaf Retries from the IETFSnmp_Snmp_Target struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Retries is set, it can safely use t.GetRetries() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Retries == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Target) GetSsh

GetSsh returns the value of the Ssh struct pointer from IETFSnmp_Snmp_Target. If the receiver or the field Ssh is nil, nil is returned such that the Get* methods can be safely chained.

func (*IETFSnmp_Snmp_Target) GetTag

func (t *IETFSnmp_Snmp_Target) GetTag() []string

GetTag retrieves the value of the leaf Tag from the IETFSnmp_Snmp_Target struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Tag is set, it can safely use t.GetTag() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Tag == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Target) GetTargetParams

func (t *IETFSnmp_Snmp_Target) GetTargetParams() string

GetTargetParams retrieves the value of the leaf TargetParams from the IETFSnmp_Snmp_Target struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TargetParams is set, it can safely use t.GetTargetParams() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TargetParams == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Target) GetTimeout

func (t *IETFSnmp_Snmp_Target) GetTimeout() uint32

GetTimeout retrieves the value of the leaf Timeout from the IETFSnmp_Snmp_Target struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Timeout is set, it can safely use t.GetTimeout() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Timeout == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Target) GetTls

GetTls returns the value of the Tls struct pointer from IETFSnmp_Snmp_Target. If the receiver or the field Tls is nil, nil is returned such that the Get* methods can be safely chained.

func (*IETFSnmp_Snmp_Target) GetUdp

GetUdp returns the value of the Udp struct pointer from IETFSnmp_Snmp_Target. If the receiver or the field Udp is nil, nil is returned such that the Get* methods can be safely chained.

func (*IETFSnmp_Snmp_Target) IsYANGGoStruct

func (*IETFSnmp_Snmp_Target) IsYANGGoStruct()

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

func (*IETFSnmp_Snmp_Target) To_IETFSnmp_Snmp_Target_Mms_Union

func (t *IETFSnmp_Snmp_Target) To_IETFSnmp_Snmp_Target_Mms_Union(i interface{}) (IETFSnmp_Snmp_Target_Mms_Union, error)

To_IETFSnmp_Snmp_Target_Mms_Union takes an input interface{} and attempts to convert it to a struct which implements the IETFSnmp_Snmp_Target_Mms_Union union. It returns an error if the interface{} supplied cannot be converted to a type within the union.

func (*IETFSnmp_Snmp_Target) Validate

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

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

func (*IETFSnmp_Snmp_Target) ΛBelongingModule

func (*IETFSnmp_Snmp_Target) ΛBelongingModule() string

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

func (*IETFSnmp_Snmp_Target) ΛEnumTypeMap

func (t *IETFSnmp_Snmp_Target) ΛEnumTypeMap() map[string][]reflect.Type

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

func (*IETFSnmp_Snmp_Target) ΛListKeyMap

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

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

func (*IETFSnmp_Snmp_Target) ΛValidate

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

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

type IETFSnmp_Snmp_TargetParams

type IETFSnmp_Snmp_TargetParams struct {
	ΛMetadata            []ygot.Annotation               `path:"@" ygotAnnotation:"true"`
	Name                 *string                         `path:"name" module:"ietf-snmp"`
	ΛName                []ygot.Annotation               `path:"@name" ygotAnnotation:"true"`
	NotifyFilterProfile  *string                         `path:"notify-filter-profile" module:"ietf-snmp"`
	ΛNotifyFilterProfile []ygot.Annotation               `path:"@notify-filter-profile" ygotAnnotation:"true"`
	Tsm                  *IETFSnmp_Snmp_TargetParams_Tsm `path:"tsm" module:"ietf-snmp"`
	ΛTsm                 []ygot.Annotation               `path:"@tsm" ygotAnnotation:"true"`
	Usm                  *IETFSnmp_Snmp_TargetParams_Usm `path:"usm" module:"ietf-snmp"`
	ΛUsm                 []ygot.Annotation               `path:"@usm" ygotAnnotation:"true"`
	V1                   *IETFSnmp_Snmp_TargetParams_V1  `path:"v1" module:"ietf-snmp"`
	ΛV1                  []ygot.Annotation               `path:"@v1" ygotAnnotation:"true"`
	V2C                  *IETFSnmp_Snmp_TargetParams_V2C `path:"v2c" module:"ietf-snmp"`
	ΛV2C                 []ygot.Annotation               `path:"@v2c" ygotAnnotation:"true"`
}

IETFSnmp_Snmp_TargetParams represents the /ietf-snmp/snmp/target-params YANG schema element.

func (*IETFSnmp_Snmp_TargetParams) GetName

func (t *IETFSnmp_Snmp_TargetParams) GetName() string

GetName retrieves the value of the leaf Name from the IETFSnmp_Snmp_TargetParams struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Name is set, it can safely use t.GetName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Name == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_TargetParams) GetNotifyFilterProfile

func (t *IETFSnmp_Snmp_TargetParams) GetNotifyFilterProfile() string

GetNotifyFilterProfile retrieves the value of the leaf NotifyFilterProfile from the IETFSnmp_Snmp_TargetParams struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if NotifyFilterProfile is set, it can safely use t.GetNotifyFilterProfile() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.NotifyFilterProfile == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_TargetParams) GetOrCreateTsm

GetOrCreateTsm retrieves the value of the Tsm field or returns the existing field if it already exists.

func (*IETFSnmp_Snmp_TargetParams) GetOrCreateUsm

GetOrCreateUsm retrieves the value of the Usm field or returns the existing field if it already exists.

func (*IETFSnmp_Snmp_TargetParams) GetOrCreateV1

GetOrCreateV1 retrieves the value of the V1 field or returns the existing field if it already exists.

func (*IETFSnmp_Snmp_TargetParams) GetOrCreateV2C

GetOrCreateV2C retrieves the value of the V2C field or returns the existing field if it already exists.

func (*IETFSnmp_Snmp_TargetParams) GetTsm

GetTsm returns the value of the Tsm struct pointer from IETFSnmp_Snmp_TargetParams. If the receiver or the field Tsm is nil, nil is returned such that the Get* methods can be safely chained.

func (*IETFSnmp_Snmp_TargetParams) GetUsm

GetUsm returns the value of the Usm struct pointer from IETFSnmp_Snmp_TargetParams. If the receiver or the field Usm is nil, nil is returned such that the Get* methods can be safely chained.

func (*IETFSnmp_Snmp_TargetParams) GetV1

GetV1 returns the value of the V1 struct pointer from IETFSnmp_Snmp_TargetParams. If the receiver or the field V1 is nil, nil is returned such that the Get* methods can be safely chained.

func (*IETFSnmp_Snmp_TargetParams) GetV2C

GetV2C returns the value of the V2C struct pointer from IETFSnmp_Snmp_TargetParams. If the receiver or the field V2C is nil, nil is returned such that the Get* methods can be safely chained.

func (*IETFSnmp_Snmp_TargetParams) IsYANGGoStruct

func (*IETFSnmp_Snmp_TargetParams) IsYANGGoStruct()

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

func (*IETFSnmp_Snmp_TargetParams) Validate

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

func (*IETFSnmp_Snmp_TargetParams) ΛBelongingModule

func (*IETFSnmp_Snmp_TargetParams) ΛBelongingModule() string

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

func (*IETFSnmp_Snmp_TargetParams) ΛEnumTypeMap

func (t *IETFSnmp_Snmp_TargetParams) ΛEnumTypeMap() 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 (*IETFSnmp_Snmp_TargetParams) ΛListKeyMap

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

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

func (*IETFSnmp_Snmp_TargetParams) ΛValidate

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

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

type IETFSnmp_Snmp_TargetParams_Tsm

type IETFSnmp_Snmp_TargetParams_Tsm struct {
	ΛMetadata      []ygot.Annotation        `path:"@" ygotAnnotation:"true"`
	SecurityLevel  E_IETFSnmp_SecurityLevel `path:"security-level" module:"ietf-snmp"`
	ΛSecurityLevel []ygot.Annotation        `path:"@security-level" ygotAnnotation:"true"`
	SecurityName   *string                  `path:"security-name" module:"ietf-snmp"`
	ΛSecurityName  []ygot.Annotation        `path:"@security-name" ygotAnnotation:"true"`
}

IETFSnmp_Snmp_TargetParams_Tsm represents the /ietf-snmp/snmp/target-params/tsm YANG schema element.

func (*IETFSnmp_Snmp_TargetParams_Tsm) GetSecurityLevel

GetSecurityLevel retrieves the value of the leaf SecurityLevel from the IETFSnmp_Snmp_TargetParams_Tsm struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SecurityLevel is set, it can safely use t.GetSecurityLevel() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SecurityLevel == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_TargetParams_Tsm) GetSecurityName

func (t *IETFSnmp_Snmp_TargetParams_Tsm) GetSecurityName() string

GetSecurityName retrieves the value of the leaf SecurityName from the IETFSnmp_Snmp_TargetParams_Tsm struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SecurityName is set, it can safely use t.GetSecurityName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SecurityName == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_TargetParams_Tsm) IsYANGGoStruct

func (*IETFSnmp_Snmp_TargetParams_Tsm) IsYANGGoStruct()

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

func (*IETFSnmp_Snmp_TargetParams_Tsm) Validate

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

func (*IETFSnmp_Snmp_TargetParams_Tsm) ΛBelongingModule

func (*IETFSnmp_Snmp_TargetParams_Tsm) ΛBelongingModule() string

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

func (*IETFSnmp_Snmp_TargetParams_Tsm) ΛEnumTypeMap

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

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

type IETFSnmp_Snmp_TargetParams_Usm

type IETFSnmp_Snmp_TargetParams_Usm struct {
	ΛMetadata      []ygot.Annotation        `path:"@" ygotAnnotation:"true"`
	SecurityLevel  E_IETFSnmp_SecurityLevel `path:"security-level" module:"ietf-snmp"`
	ΛSecurityLevel []ygot.Annotation        `path:"@security-level" ygotAnnotation:"true"`
	UserName       *string                  `path:"user-name" module:"ietf-snmp"`
	ΛUserName      []ygot.Annotation        `path:"@user-name" ygotAnnotation:"true"`
}

IETFSnmp_Snmp_TargetParams_Usm represents the /ietf-snmp/snmp/target-params/usm YANG schema element.

func (*IETFSnmp_Snmp_TargetParams_Usm) GetSecurityLevel

GetSecurityLevel retrieves the value of the leaf SecurityLevel from the IETFSnmp_Snmp_TargetParams_Usm struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SecurityLevel is set, it can safely use t.GetSecurityLevel() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SecurityLevel == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_TargetParams_Usm) GetUserName

func (t *IETFSnmp_Snmp_TargetParams_Usm) GetUserName() string

GetUserName retrieves the value of the leaf UserName from the IETFSnmp_Snmp_TargetParams_Usm struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if UserName is set, it can safely use t.GetUserName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.UserName == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_TargetParams_Usm) IsYANGGoStruct

func (*IETFSnmp_Snmp_TargetParams_Usm) IsYANGGoStruct()

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

func (*IETFSnmp_Snmp_TargetParams_Usm) Validate

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

func (*IETFSnmp_Snmp_TargetParams_Usm) ΛBelongingModule

func (*IETFSnmp_Snmp_TargetParams_Usm) ΛBelongingModule() string

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

func (*IETFSnmp_Snmp_TargetParams_Usm) ΛEnumTypeMap

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

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

type IETFSnmp_Snmp_TargetParams_V1

type IETFSnmp_Snmp_TargetParams_V1 struct {
	ΛMetadata     []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	SecurityName  *string           `path:"security-name" module:"ietf-snmp"`
	ΛSecurityName []ygot.Annotation `path:"@security-name" ygotAnnotation:"true"`
}

IETFSnmp_Snmp_TargetParams_V1 represents the /ietf-snmp/snmp/target-params/v1 YANG schema element.

func (*IETFSnmp_Snmp_TargetParams_V1) GetSecurityName

func (t *IETFSnmp_Snmp_TargetParams_V1) GetSecurityName() string

GetSecurityName retrieves the value of the leaf SecurityName from the IETFSnmp_Snmp_TargetParams_V1 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SecurityName is set, it can safely use t.GetSecurityName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SecurityName == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_TargetParams_V1) IsYANGGoStruct

func (*IETFSnmp_Snmp_TargetParams_V1) IsYANGGoStruct()

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

func (*IETFSnmp_Snmp_TargetParams_V1) Validate

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

func (*IETFSnmp_Snmp_TargetParams_V1) ΛBelongingModule

func (*IETFSnmp_Snmp_TargetParams_V1) ΛBelongingModule() string

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

func (*IETFSnmp_Snmp_TargetParams_V1) ΛEnumTypeMap

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

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

type IETFSnmp_Snmp_TargetParams_V2C

type IETFSnmp_Snmp_TargetParams_V2C struct {
	ΛMetadata     []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	SecurityName  *string           `path:"security-name" module:"ietf-snmp"`
	ΛSecurityName []ygot.Annotation `path:"@security-name" ygotAnnotation:"true"`
}

IETFSnmp_Snmp_TargetParams_V2C represents the /ietf-snmp/snmp/target-params/v2c YANG schema element.

func (*IETFSnmp_Snmp_TargetParams_V2C) GetSecurityName

func (t *IETFSnmp_Snmp_TargetParams_V2C) GetSecurityName() string

GetSecurityName retrieves the value of the leaf SecurityName from the IETFSnmp_Snmp_TargetParams_V2C struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SecurityName is set, it can safely use t.GetSecurityName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SecurityName == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_TargetParams_V2C) IsYANGGoStruct

func (*IETFSnmp_Snmp_TargetParams_V2C) IsYANGGoStruct()

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

func (*IETFSnmp_Snmp_TargetParams_V2C) Validate

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

func (*IETFSnmp_Snmp_TargetParams_V2C) ΛBelongingModule

func (*IETFSnmp_Snmp_TargetParams_V2C) ΛBelongingModule() string

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

func (*IETFSnmp_Snmp_TargetParams_V2C) ΛEnumTypeMap

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

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

type IETFSnmp_Snmp_Target_Dtls

type IETFSnmp_Snmp_Target_Dtls struct {
	ΛMetadata          []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	ClientFingerprint  *string           `path:"client-fingerprint" module:"ietf-snmp"`
	ΛClientFingerprint []ygot.Annotation `path:"@client-fingerprint" ygotAnnotation:"true"`
	Ip                 *string           `path:"ip" module:"ietf-snmp"`
	ΛIp                []ygot.Annotation `path:"@ip" ygotAnnotation:"true"`
	Port               *uint16           `path:"port" module:"ietf-snmp"`
	ΛPort              []ygot.Annotation `path:"@port" ygotAnnotation:"true"`
	ServerFingerprint  *string           `path:"server-fingerprint" module:"ietf-snmp"`
	ΛServerFingerprint []ygot.Annotation `path:"@server-fingerprint" ygotAnnotation:"true"`
	ServerIdentity     *string           `path:"server-identity" module:"ietf-snmp"`
	ΛServerIdentity    []ygot.Annotation `path:"@server-identity" ygotAnnotation:"true"`
}

IETFSnmp_Snmp_Target_Dtls represents the /ietf-snmp/snmp/target/dtls YANG schema element.

func (*IETFSnmp_Snmp_Target_Dtls) GetClientFingerprint

func (t *IETFSnmp_Snmp_Target_Dtls) GetClientFingerprint() string

GetClientFingerprint retrieves the value of the leaf ClientFingerprint from the IETFSnmp_Snmp_Target_Dtls struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ClientFingerprint is set, it can safely use t.GetClientFingerprint() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ClientFingerprint == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Target_Dtls) GetIp

func (t *IETFSnmp_Snmp_Target_Dtls) GetIp() string

GetIp retrieves the value of the leaf Ip from the IETFSnmp_Snmp_Target_Dtls struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Ip is set, it can safely use t.GetIp() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Ip == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Target_Dtls) GetPort

func (t *IETFSnmp_Snmp_Target_Dtls) GetPort() uint16

GetPort retrieves the value of the leaf Port from the IETFSnmp_Snmp_Target_Dtls struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Port is set, it can safely use t.GetPort() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Port == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Target_Dtls) GetServerFingerprint

func (t *IETFSnmp_Snmp_Target_Dtls) GetServerFingerprint() string

GetServerFingerprint retrieves the value of the leaf ServerFingerprint from the IETFSnmp_Snmp_Target_Dtls struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ServerFingerprint is set, it can safely use t.GetServerFingerprint() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ServerFingerprint == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Target_Dtls) GetServerIdentity

func (t *IETFSnmp_Snmp_Target_Dtls) GetServerIdentity() string

GetServerIdentity retrieves the value of the leaf ServerIdentity from the IETFSnmp_Snmp_Target_Dtls struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ServerIdentity is set, it can safely use t.GetServerIdentity() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ServerIdentity == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Target_Dtls) IsYANGGoStruct

func (*IETFSnmp_Snmp_Target_Dtls) IsYANGGoStruct()

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

func (*IETFSnmp_Snmp_Target_Dtls) Validate

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

func (*IETFSnmp_Snmp_Target_Dtls) ΛBelongingModule

func (*IETFSnmp_Snmp_Target_Dtls) ΛBelongingModule() string

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

func (*IETFSnmp_Snmp_Target_Dtls) ΛEnumTypeMap

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

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

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

type IETFSnmp_Snmp_Target_Mms_Union

type IETFSnmp_Snmp_Target_Mms_Union interface {
	// Union type can be one of [E_IETFSnmp_Snmp_Target_Mms_Enum, UnionInt32]
	Documentation_for_IETFSnmp_Snmp_Target_Mms_Union()
}

IETFSnmp_Snmp_Target_Mms_Union is an interface that is implemented by valid types for the union for the leaf /ietf-snmp/snmp/target/mms within the YANG schema. Union type can be one of [E_IETFSnmp_Snmp_Target_Mms_Enum, UnionInt32].

type IETFSnmp_Snmp_Target_Ssh

type IETFSnmp_Snmp_Target_Ssh struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Ip        *string           `path:"ip" module:"ietf-snmp"`
	ΛIp       []ygot.Annotation `path:"@ip" ygotAnnotation:"true"`
	Port      *uint16           `path:"port" module:"ietf-snmp"`
	ΛPort     []ygot.Annotation `path:"@port" ygotAnnotation:"true"`
	Username  *string           `path:"username" module:"ietf-snmp"`
	ΛUsername []ygot.Annotation `path:"@username" ygotAnnotation:"true"`
}

IETFSnmp_Snmp_Target_Ssh represents the /ietf-snmp/snmp/target/ssh YANG schema element.

func (*IETFSnmp_Snmp_Target_Ssh) GetIp

func (t *IETFSnmp_Snmp_Target_Ssh) GetIp() string

GetIp retrieves the value of the leaf Ip from the IETFSnmp_Snmp_Target_Ssh struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Ip is set, it can safely use t.GetIp() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Ip == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Target_Ssh) GetPort

func (t *IETFSnmp_Snmp_Target_Ssh) GetPort() uint16

GetPort retrieves the value of the leaf Port from the IETFSnmp_Snmp_Target_Ssh struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Port is set, it can safely use t.GetPort() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Port == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Target_Ssh) GetUsername

func (t *IETFSnmp_Snmp_Target_Ssh) GetUsername() string

GetUsername retrieves the value of the leaf Username from the IETFSnmp_Snmp_Target_Ssh struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Username is set, it can safely use t.GetUsername() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Username == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Target_Ssh) IsYANGGoStruct

func (*IETFSnmp_Snmp_Target_Ssh) IsYANGGoStruct()

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

func (*IETFSnmp_Snmp_Target_Ssh) Validate

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

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

func (*IETFSnmp_Snmp_Target_Ssh) ΛBelongingModule

func (*IETFSnmp_Snmp_Target_Ssh) ΛBelongingModule() string

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

func (*IETFSnmp_Snmp_Target_Ssh) ΛEnumTypeMap

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

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

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

type IETFSnmp_Snmp_Target_Tls

type IETFSnmp_Snmp_Target_Tls struct {
	ΛMetadata          []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	ClientFingerprint  *string           `path:"client-fingerprint" module:"ietf-snmp"`
	ΛClientFingerprint []ygot.Annotation `path:"@client-fingerprint" ygotAnnotation:"true"`
	Ip                 *string           `path:"ip" module:"ietf-snmp"`
	ΛIp                []ygot.Annotation `path:"@ip" ygotAnnotation:"true"`
	Port               *uint16           `path:"port" module:"ietf-snmp"`
	ΛPort              []ygot.Annotation `path:"@port" ygotAnnotation:"true"`
	ServerFingerprint  *string           `path:"server-fingerprint" module:"ietf-snmp"`
	ΛServerFingerprint []ygot.Annotation `path:"@server-fingerprint" ygotAnnotation:"true"`
	ServerIdentity     *string           `path:"server-identity" module:"ietf-snmp"`
	ΛServerIdentity    []ygot.Annotation `path:"@server-identity" ygotAnnotation:"true"`
}

IETFSnmp_Snmp_Target_Tls represents the /ietf-snmp/snmp/target/tls YANG schema element.

func (*IETFSnmp_Snmp_Target_Tls) GetClientFingerprint

func (t *IETFSnmp_Snmp_Target_Tls) GetClientFingerprint() string

GetClientFingerprint retrieves the value of the leaf ClientFingerprint from the IETFSnmp_Snmp_Target_Tls struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ClientFingerprint is set, it can safely use t.GetClientFingerprint() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ClientFingerprint == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Target_Tls) GetIp

func (t *IETFSnmp_Snmp_Target_Tls) GetIp() string

GetIp retrieves the value of the leaf Ip from the IETFSnmp_Snmp_Target_Tls struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Ip is set, it can safely use t.GetIp() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Ip == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Target_Tls) GetPort

func (t *IETFSnmp_Snmp_Target_Tls) GetPort() uint16

GetPort retrieves the value of the leaf Port from the IETFSnmp_Snmp_Target_Tls struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Port is set, it can safely use t.GetPort() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Port == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Target_Tls) GetServerFingerprint

func (t *IETFSnmp_Snmp_Target_Tls) GetServerFingerprint() string

GetServerFingerprint retrieves the value of the leaf ServerFingerprint from the IETFSnmp_Snmp_Target_Tls struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ServerFingerprint is set, it can safely use t.GetServerFingerprint() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ServerFingerprint == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Target_Tls) GetServerIdentity

func (t *IETFSnmp_Snmp_Target_Tls) GetServerIdentity() string

GetServerIdentity retrieves the value of the leaf ServerIdentity from the IETFSnmp_Snmp_Target_Tls struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ServerIdentity is set, it can safely use t.GetServerIdentity() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ServerIdentity == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Target_Tls) IsYANGGoStruct

func (*IETFSnmp_Snmp_Target_Tls) IsYANGGoStruct()

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

func (*IETFSnmp_Snmp_Target_Tls) Validate

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

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

func (*IETFSnmp_Snmp_Target_Tls) ΛBelongingModule

func (*IETFSnmp_Snmp_Target_Tls) ΛBelongingModule() string

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

func (*IETFSnmp_Snmp_Target_Tls) ΛEnumTypeMap

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

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

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

type IETFSnmp_Snmp_Target_Udp

type IETFSnmp_Snmp_Target_Udp struct {
	ΛMetadata     []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Ip            *string           `path:"ip" module:"ietf-snmp"`
	ΛIp           []ygot.Annotation `path:"@ip" ygotAnnotation:"true"`
	Port          *uint16           `path:"port" module:"ietf-snmp"`
	ΛPort         []ygot.Annotation `path:"@port" ygotAnnotation:"true"`
	PrefixLength  *uint8            `path:"prefix-length" module:"ietf-snmp"`
	ΛPrefixLength []ygot.Annotation `path:"@prefix-length" ygotAnnotation:"true"`
}

IETFSnmp_Snmp_Target_Udp represents the /ietf-snmp/snmp/target/udp YANG schema element.

func (*IETFSnmp_Snmp_Target_Udp) GetIp

func (t *IETFSnmp_Snmp_Target_Udp) GetIp() string

GetIp retrieves the value of the leaf Ip from the IETFSnmp_Snmp_Target_Udp struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Ip is set, it can safely use t.GetIp() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Ip == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Target_Udp) GetPort

func (t *IETFSnmp_Snmp_Target_Udp) GetPort() uint16

GetPort retrieves the value of the leaf Port from the IETFSnmp_Snmp_Target_Udp struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Port is set, it can safely use t.GetPort() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Port == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Target_Udp) GetPrefixLength

func (t *IETFSnmp_Snmp_Target_Udp) GetPrefixLength() uint8

GetPrefixLength retrieves the value of the leaf PrefixLength from the IETFSnmp_Snmp_Target_Udp struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if PrefixLength is set, it can safely use t.GetPrefixLength() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.PrefixLength == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Target_Udp) IsYANGGoStruct

func (*IETFSnmp_Snmp_Target_Udp) IsYANGGoStruct()

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

func (*IETFSnmp_Snmp_Target_Udp) Validate

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

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

func (*IETFSnmp_Snmp_Target_Udp) ΛBelongingModule

func (*IETFSnmp_Snmp_Target_Udp) ΛBelongingModule() string

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

func (*IETFSnmp_Snmp_Target_Udp) ΛEnumTypeMap

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

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

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

type IETFSnmp_Snmp_Tlstm

type IETFSnmp_Snmp_Tlstm struct {
	ΛMetadata   []ygot.Annotation                          `path:"@" ygotAnnotation:"true"`
	CertToName  map[uint32]*IETFSnmp_Snmp_Tlstm_CertToName `path:"cert-to-name" module:"ietf-snmp"`
	ΛCertToName []ygot.Annotation                          `path:"@cert-to-name" ygotAnnotation:"true"`
}

IETFSnmp_Snmp_Tlstm represents the /ietf-snmp/snmp/tlstm YANG schema element.

func (*IETFSnmp_Snmp_Tlstm) AppendCertToName

AppendCertToName appends the supplied IETFSnmp_Snmp_Tlstm_CertToName struct to the list CertToName of IETFSnmp_Snmp_Tlstm. If the key value(s) specified in the supplied IETFSnmp_Snmp_Tlstm_CertToName already exist in the list, an error is returned.

func (*IETFSnmp_Snmp_Tlstm) GetCertToName

GetCertToName retrieves the value with the specified key from the CertToName map field of IETFSnmp_Snmp_Tlstm. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.

func (*IETFSnmp_Snmp_Tlstm) GetOrCreateCertToName

func (t *IETFSnmp_Snmp_Tlstm) GetOrCreateCertToName(Id uint32) *IETFSnmp_Snmp_Tlstm_CertToName

GetOrCreateCertToName retrieves the value with the specified keys from the receiver IETFSnmp_Snmp_Tlstm. If the entry does not exist, then it is created. It returns the existing or new list member.

func (*IETFSnmp_Snmp_Tlstm) GetOrCreateCertToNameMap

func (t *IETFSnmp_Snmp_Tlstm) GetOrCreateCertToNameMap() map[uint32]*IETFSnmp_Snmp_Tlstm_CertToName

GetOrCreateCertToNameMap returns the list (map) from IETFSnmp_Snmp_Tlstm.

It initializes the field if not already initialized.

func (*IETFSnmp_Snmp_Tlstm) IsYANGGoStruct

func (*IETFSnmp_Snmp_Tlstm) IsYANGGoStruct()

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

func (*IETFSnmp_Snmp_Tlstm) NewCertToName

NewCertToName creates a new entry in the CertToName list of the IETFSnmp_Snmp_Tlstm struct. The keys of the list are populated from the input arguments.

func (*IETFSnmp_Snmp_Tlstm) RenameCertToName

func (t *IETFSnmp_Snmp_Tlstm) RenameCertToName(oldK, newK uint32) error

RenameCertToName renames an entry in the list CertToName within the IETFSnmp_Snmp_Tlstm struct. The entry with key oldK is renamed to newK updating the key within the value.

func (*IETFSnmp_Snmp_Tlstm) Validate

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

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

func (*IETFSnmp_Snmp_Tlstm) ΛBelongingModule

func (*IETFSnmp_Snmp_Tlstm) ΛBelongingModule() string

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

func (*IETFSnmp_Snmp_Tlstm) ΛEnumTypeMap

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

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

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

type IETFSnmp_Snmp_Tlstm_CertToName

type IETFSnmp_Snmp_Tlstm_CertToName struct {
	ΛMetadata    []ygot.Annotation               `path:"@" ygotAnnotation:"true"`
	Fingerprint  *string                         `path:"fingerprint" module:"ietf-snmp"`
	ΛFingerprint []ygot.Annotation               `path:"@fingerprint" ygotAnnotation:"true"`
	Id           *uint32                         `path:"id" module:"ietf-snmp"`
	ΛId          []ygot.Annotation               `path:"@id" ygotAnnotation:"true"`
	MapType      E_IETFX509CertToName_CertToName `path:"map-type" module:"ietf-snmp"`
	ΛMapType     []ygot.Annotation               `path:"@map-type" ygotAnnotation:"true"`
	Name         *string                         `path:"name" module:"ietf-snmp"`
	ΛName        []ygot.Annotation               `path:"@name" ygotAnnotation:"true"`
}

IETFSnmp_Snmp_Tlstm_CertToName represents the /ietf-snmp/snmp/tlstm/cert-to-name YANG schema element.

func (*IETFSnmp_Snmp_Tlstm_CertToName) GetFingerprint

func (t *IETFSnmp_Snmp_Tlstm_CertToName) GetFingerprint() string

GetFingerprint retrieves the value of the leaf Fingerprint from the IETFSnmp_Snmp_Tlstm_CertToName struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Fingerprint is set, it can safely use t.GetFingerprint() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Fingerprint == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Tlstm_CertToName) GetId

GetId retrieves the value of the leaf Id from the IETFSnmp_Snmp_Tlstm_CertToName struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Id is set, it can safely use t.GetId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Id == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Tlstm_CertToName) GetMapType

GetMapType retrieves the value of the leaf MapType from the IETFSnmp_Snmp_Tlstm_CertToName struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MapType is set, it can safely use t.GetMapType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MapType == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Tlstm_CertToName) GetName

GetName retrieves the value of the leaf Name from the IETFSnmp_Snmp_Tlstm_CertToName struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Name is set, it can safely use t.GetName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Name == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Tlstm_CertToName) IsYANGGoStruct

func (*IETFSnmp_Snmp_Tlstm_CertToName) IsYANGGoStruct()

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

func (*IETFSnmp_Snmp_Tlstm_CertToName) Validate

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

func (*IETFSnmp_Snmp_Tlstm_CertToName) ΛBelongingModule

func (*IETFSnmp_Snmp_Tlstm_CertToName) ΛBelongingModule() string

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

func (*IETFSnmp_Snmp_Tlstm_CertToName) ΛEnumTypeMap

func (t *IETFSnmp_Snmp_Tlstm_CertToName) ΛEnumTypeMap() 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 (*IETFSnmp_Snmp_Tlstm_CertToName) ΛListKeyMap

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

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

func (*IETFSnmp_Snmp_Tlstm_CertToName) ΛValidate

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

type IETFSnmp_Snmp_Tsm

type IETFSnmp_Snmp_Tsm struct {
	ΛMetadata  []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	UsePrefix  *bool             `path:"use-prefix" module:"ietf-snmp"`
	ΛUsePrefix []ygot.Annotation `path:"@use-prefix" ygotAnnotation:"true"`
}

IETFSnmp_Snmp_Tsm represents the /ietf-snmp/snmp/tsm YANG schema element.

func (*IETFSnmp_Snmp_Tsm) GetUsePrefix

func (t *IETFSnmp_Snmp_Tsm) GetUsePrefix() bool

GetUsePrefix retrieves the value of the leaf UsePrefix from the IETFSnmp_Snmp_Tsm struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if UsePrefix is set, it can safely use t.GetUsePrefix() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.UsePrefix == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Tsm) IsYANGGoStruct

func (*IETFSnmp_Snmp_Tsm) IsYANGGoStruct()

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

func (*IETFSnmp_Snmp_Tsm) Validate

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

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

func (*IETFSnmp_Snmp_Tsm) ΛBelongingModule

func (*IETFSnmp_Snmp_Tsm) ΛBelongingModule() string

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

func (*IETFSnmp_Snmp_Tsm) ΛEnumTypeMap

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

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

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

type IETFSnmp_Snmp_Usm

type IETFSnmp_Snmp_Usm struct {
	ΛMetadata []ygot.Annotation                    `path:"@" ygotAnnotation:"true"`
	Local     *IETFSnmp_Snmp_Usm_Local             `path:"local" module:"ietf-snmp"`
	ΛLocal    []ygot.Annotation                    `path:"@local" ygotAnnotation:"true"`
	Remote    map[string]*IETFSnmp_Snmp_Usm_Remote `path:"remote" module:"ietf-snmp"`
	ΛRemote   []ygot.Annotation                    `path:"@remote" ygotAnnotation:"true"`
}

IETFSnmp_Snmp_Usm represents the /ietf-snmp/snmp/usm YANG schema element.

func (*IETFSnmp_Snmp_Usm) AppendRemote

func (t *IETFSnmp_Snmp_Usm) AppendRemote(v *IETFSnmp_Snmp_Usm_Remote) error

AppendRemote appends the supplied IETFSnmp_Snmp_Usm_Remote struct to the list Remote of IETFSnmp_Snmp_Usm. If the key value(s) specified in the supplied IETFSnmp_Snmp_Usm_Remote already exist in the list, an error is returned.

func (*IETFSnmp_Snmp_Usm) GetLocal

GetLocal returns the value of the Local struct pointer from IETFSnmp_Snmp_Usm. If the receiver or the field Local is nil, nil is returned such that the Get* methods can be safely chained.

func (*IETFSnmp_Snmp_Usm) GetOrCreateLocal

func (t *IETFSnmp_Snmp_Usm) GetOrCreateLocal() *IETFSnmp_Snmp_Usm_Local

GetOrCreateLocal retrieves the value of the Local field or returns the existing field if it already exists.

func (*IETFSnmp_Snmp_Usm) GetOrCreateRemote

func (t *IETFSnmp_Snmp_Usm) GetOrCreateRemote(EngineId string) *IETFSnmp_Snmp_Usm_Remote

GetOrCreateRemote retrieves the value with the specified keys from the receiver IETFSnmp_Snmp_Usm. If the entry does not exist, then it is created. It returns the existing or new list member.

func (*IETFSnmp_Snmp_Usm) GetOrCreateRemoteMap

func (t *IETFSnmp_Snmp_Usm) GetOrCreateRemoteMap() map[string]*IETFSnmp_Snmp_Usm_Remote

GetOrCreateRemoteMap returns the list (map) from IETFSnmp_Snmp_Usm.

It initializes the field if not already initialized.

func (*IETFSnmp_Snmp_Usm) GetRemote

func (t *IETFSnmp_Snmp_Usm) GetRemote(EngineId string) *IETFSnmp_Snmp_Usm_Remote

GetRemote retrieves the value with the specified key from the Remote map field of IETFSnmp_Snmp_Usm. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.

func (*IETFSnmp_Snmp_Usm) IsYANGGoStruct

func (*IETFSnmp_Snmp_Usm) IsYANGGoStruct()

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

func (*IETFSnmp_Snmp_Usm) NewRemote

func (t *IETFSnmp_Snmp_Usm) NewRemote(EngineId string) (*IETFSnmp_Snmp_Usm_Remote, error)

NewRemote creates a new entry in the Remote list of the IETFSnmp_Snmp_Usm struct. The keys of the list are populated from the input arguments.

func (*IETFSnmp_Snmp_Usm) RenameRemote

func (t *IETFSnmp_Snmp_Usm) RenameRemote(oldK, newK string) error

RenameRemote renames an entry in the list Remote within the IETFSnmp_Snmp_Usm struct. The entry with key oldK is renamed to newK updating the key within the value.

func (*IETFSnmp_Snmp_Usm) Validate

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

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

func (*IETFSnmp_Snmp_Usm) ΛBelongingModule

func (*IETFSnmp_Snmp_Usm) ΛBelongingModule() string

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

func (*IETFSnmp_Snmp_Usm) ΛEnumTypeMap

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

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

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

type IETFSnmp_Snmp_Usm_Local

type IETFSnmp_Snmp_Usm_Local struct {
	ΛMetadata []ygot.Annotation                        `path:"@" ygotAnnotation:"true"`
	User      map[string]*IETFSnmp_Snmp_Usm_Local_User `path:"user" module:"ietf-snmp"`
	ΛUser     []ygot.Annotation                        `path:"@user" ygotAnnotation:"true"`
}

IETFSnmp_Snmp_Usm_Local represents the /ietf-snmp/snmp/usm/local YANG schema element.

func (*IETFSnmp_Snmp_Usm_Local) AppendUser

AppendUser appends the supplied IETFSnmp_Snmp_Usm_Local_User struct to the list User of IETFSnmp_Snmp_Usm_Local. If the key value(s) specified in the supplied IETFSnmp_Snmp_Usm_Local_User already exist in the list, an error is returned.

func (*IETFSnmp_Snmp_Usm_Local) GetOrCreateUser

GetOrCreateUser retrieves the value with the specified keys from the receiver IETFSnmp_Snmp_Usm_Local. If the entry does not exist, then it is created. It returns the existing or new list member.

func (*IETFSnmp_Snmp_Usm_Local) GetOrCreateUserMap

func (t *IETFSnmp_Snmp_Usm_Local) GetOrCreateUserMap() map[string]*IETFSnmp_Snmp_Usm_Local_User

GetOrCreateUserMap returns the list (map) from IETFSnmp_Snmp_Usm_Local.

It initializes the field if not already initialized.

func (*IETFSnmp_Snmp_Usm_Local) GetUser

GetUser retrieves the value with the specified key from the User map field of IETFSnmp_Snmp_Usm_Local. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.

func (*IETFSnmp_Snmp_Usm_Local) IsYANGGoStruct

func (*IETFSnmp_Snmp_Usm_Local) IsYANGGoStruct()

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

func (*IETFSnmp_Snmp_Usm_Local) NewUser

NewUser creates a new entry in the User list of the IETFSnmp_Snmp_Usm_Local struct. The keys of the list are populated from the input arguments.

func (*IETFSnmp_Snmp_Usm_Local) RenameUser

func (t *IETFSnmp_Snmp_Usm_Local) RenameUser(oldK, newK string) error

RenameUser renames an entry in the list User within the IETFSnmp_Snmp_Usm_Local struct. The entry with key oldK is renamed to newK updating the key within the value.

func (*IETFSnmp_Snmp_Usm_Local) Validate

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

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

func (*IETFSnmp_Snmp_Usm_Local) ΛBelongingModule

func (*IETFSnmp_Snmp_Usm_Local) ΛBelongingModule() string

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

func (*IETFSnmp_Snmp_Usm_Local) ΛEnumTypeMap

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

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

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

type IETFSnmp_Snmp_Usm_Local_User

type IETFSnmp_Snmp_Usm_Local_User struct {
	ΛMetadata []ygot.Annotation                  `path:"@" ygotAnnotation:"true"`
	Auth      *IETFSnmp_Snmp_Usm_Local_User_Auth `path:"auth" module:"ietf-snmp"`
	ΛAuth     []ygot.Annotation                  `path:"@auth" ygotAnnotation:"true"`
	Name      *string                            `path:"name" module:"ietf-snmp"`
	ΛName     []ygot.Annotation                  `path:"@name" ygotAnnotation:"true"`
	Priv      *IETFSnmp_Snmp_Usm_Local_User_Priv `path:"priv" module:"ietf-snmp"`
	ΛPriv     []ygot.Annotation                  `path:"@priv" ygotAnnotation:"true"`
}

IETFSnmp_Snmp_Usm_Local_User represents the /ietf-snmp/snmp/usm/local/user YANG schema element.

func (*IETFSnmp_Snmp_Usm_Local_User) GetAuth

GetAuth returns the value of the Auth struct pointer from IETFSnmp_Snmp_Usm_Local_User. If the receiver or the field Auth is nil, nil is returned such that the Get* methods can be safely chained.

func (*IETFSnmp_Snmp_Usm_Local_User) GetName

func (t *IETFSnmp_Snmp_Usm_Local_User) GetName() string

GetName retrieves the value of the leaf Name from the IETFSnmp_Snmp_Usm_Local_User struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Name is set, it can safely use t.GetName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Name == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Usm_Local_User) GetOrCreateAuth

GetOrCreateAuth retrieves the value of the Auth field or returns the existing field if it already exists.

func (*IETFSnmp_Snmp_Usm_Local_User) GetOrCreatePriv

GetOrCreatePriv retrieves the value of the Priv field or returns the existing field if it already exists.

func (*IETFSnmp_Snmp_Usm_Local_User) GetPriv

GetPriv returns the value of the Priv struct pointer from IETFSnmp_Snmp_Usm_Local_User. If the receiver or the field Priv is nil, nil is returned such that the Get* methods can be safely chained.

func (*IETFSnmp_Snmp_Usm_Local_User) IsYANGGoStruct

func (*IETFSnmp_Snmp_Usm_Local_User) IsYANGGoStruct()

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

func (*IETFSnmp_Snmp_Usm_Local_User) Validate

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

func (*IETFSnmp_Snmp_Usm_Local_User) ΛBelongingModule

func (*IETFSnmp_Snmp_Usm_Local_User) ΛBelongingModule() string

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

func (*IETFSnmp_Snmp_Usm_Local_User) ΛEnumTypeMap

func (t *IETFSnmp_Snmp_Usm_Local_User) ΛEnumTypeMap() map[string][]reflect.Type

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

func (*IETFSnmp_Snmp_Usm_Local_User) ΛListKeyMap

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

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

func (*IETFSnmp_Snmp_Usm_Local_User) ΛValidate

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

type IETFSnmp_Snmp_Usm_Local_User_Auth

type IETFSnmp_Snmp_Usm_Local_User_Auth struct {
	ΛMetadata []ygot.Annotation                      `path:"@" ygotAnnotation:"true"`
	Md5       *IETFSnmp_Snmp_Usm_Local_User_Auth_Md5 `path:"md5" module:"ietf-snmp"`
	ΛMd5      []ygot.Annotation                      `path:"@md5" ygotAnnotation:"true"`
	Sha       *IETFSnmp_Snmp_Usm_Local_User_Auth_Sha `path:"sha" module:"ietf-snmp"`
	ΛSha      []ygot.Annotation                      `path:"@sha" ygotAnnotation:"true"`
}

IETFSnmp_Snmp_Usm_Local_User_Auth represents the /ietf-snmp/snmp/usm/local/user/auth YANG schema element.

func (*IETFSnmp_Snmp_Usm_Local_User_Auth) GetMd5

GetMd5 returns the value of the Md5 struct pointer from IETFSnmp_Snmp_Usm_Local_User_Auth. If the receiver or the field Md5 is nil, nil is returned such that the Get* methods can be safely chained.

func (*IETFSnmp_Snmp_Usm_Local_User_Auth) GetOrCreateMd5

GetOrCreateMd5 retrieves the value of the Md5 field or returns the existing field if it already exists.

func (*IETFSnmp_Snmp_Usm_Local_User_Auth) GetOrCreateSha

GetOrCreateSha retrieves the value of the Sha field or returns the existing field if it already exists.

func (*IETFSnmp_Snmp_Usm_Local_User_Auth) GetSha

GetSha returns the value of the Sha struct pointer from IETFSnmp_Snmp_Usm_Local_User_Auth. If the receiver or the field Sha is nil, nil is returned such that the Get* methods can be safely chained.

func (*IETFSnmp_Snmp_Usm_Local_User_Auth) IsYANGGoStruct

func (*IETFSnmp_Snmp_Usm_Local_User_Auth) IsYANGGoStruct()

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

func (*IETFSnmp_Snmp_Usm_Local_User_Auth) Validate

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

func (*IETFSnmp_Snmp_Usm_Local_User_Auth) ΛBelongingModule

func (*IETFSnmp_Snmp_Usm_Local_User_Auth) ΛBelongingModule() string

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

func (*IETFSnmp_Snmp_Usm_Local_User_Auth) ΛEnumTypeMap

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

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

type IETFSnmp_Snmp_Usm_Local_User_Auth_Md5

type IETFSnmp_Snmp_Usm_Local_User_Auth_Md5 struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Key       *string           `path:"key" module:"ietf-snmp"`
	ΛKey      []ygot.Annotation `path:"@key" ygotAnnotation:"true"`
}

IETFSnmp_Snmp_Usm_Local_User_Auth_Md5 represents the /ietf-snmp/snmp/usm/local/user/auth/md5 YANG schema element.

func (*IETFSnmp_Snmp_Usm_Local_User_Auth_Md5) GetKey

GetKey retrieves the value of the leaf Key from the IETFSnmp_Snmp_Usm_Local_User_Auth_Md5 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Key is set, it can safely use t.GetKey() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Key == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Usm_Local_User_Auth_Md5) IsYANGGoStruct

func (*IETFSnmp_Snmp_Usm_Local_User_Auth_Md5) IsYANGGoStruct()

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

func (*IETFSnmp_Snmp_Usm_Local_User_Auth_Md5) Validate

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

func (*IETFSnmp_Snmp_Usm_Local_User_Auth_Md5) ΛBelongingModule

func (*IETFSnmp_Snmp_Usm_Local_User_Auth_Md5) ΛBelongingModule() string

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

func (*IETFSnmp_Snmp_Usm_Local_User_Auth_Md5) ΛEnumTypeMap

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

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

type IETFSnmp_Snmp_Usm_Local_User_Auth_Sha

type IETFSnmp_Snmp_Usm_Local_User_Auth_Sha struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Key       *string           `path:"key" module:"ietf-snmp"`
	ΛKey      []ygot.Annotation `path:"@key" ygotAnnotation:"true"`
}

IETFSnmp_Snmp_Usm_Local_User_Auth_Sha represents the /ietf-snmp/snmp/usm/local/user/auth/sha YANG schema element.

func (*IETFSnmp_Snmp_Usm_Local_User_Auth_Sha) GetKey

GetKey retrieves the value of the leaf Key from the IETFSnmp_Snmp_Usm_Local_User_Auth_Sha struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Key is set, it can safely use t.GetKey() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Key == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Usm_Local_User_Auth_Sha) IsYANGGoStruct

func (*IETFSnmp_Snmp_Usm_Local_User_Auth_Sha) IsYANGGoStruct()

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

func (*IETFSnmp_Snmp_Usm_Local_User_Auth_Sha) Validate

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

func (*IETFSnmp_Snmp_Usm_Local_User_Auth_Sha) ΛBelongingModule

func (*IETFSnmp_Snmp_Usm_Local_User_Auth_Sha) ΛBelongingModule() string

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

func (*IETFSnmp_Snmp_Usm_Local_User_Auth_Sha) ΛEnumTypeMap

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

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

type IETFSnmp_Snmp_Usm_Local_User_Priv

type IETFSnmp_Snmp_Usm_Local_User_Priv struct {
	ΛMetadata []ygot.Annotation                      `path:"@" ygotAnnotation:"true"`
	Aes       *IETFSnmp_Snmp_Usm_Local_User_Priv_Aes `path:"aes" module:"ietf-snmp"`
	ΛAes      []ygot.Annotation                      `path:"@aes" ygotAnnotation:"true"`
	Des       *IETFSnmp_Snmp_Usm_Local_User_Priv_Des `path:"des" module:"ietf-snmp"`
	ΛDes      []ygot.Annotation                      `path:"@des" ygotAnnotation:"true"`
}

IETFSnmp_Snmp_Usm_Local_User_Priv represents the /ietf-snmp/snmp/usm/local/user/priv YANG schema element.

func (*IETFSnmp_Snmp_Usm_Local_User_Priv) GetAes

GetAes returns the value of the Aes struct pointer from IETFSnmp_Snmp_Usm_Local_User_Priv. If the receiver or the field Aes is nil, nil is returned such that the Get* methods can be safely chained.

func (*IETFSnmp_Snmp_Usm_Local_User_Priv) GetDes

GetDes returns the value of the Des struct pointer from IETFSnmp_Snmp_Usm_Local_User_Priv. If the receiver or the field Des is nil, nil is returned such that the Get* methods can be safely chained.

func (*IETFSnmp_Snmp_Usm_Local_User_Priv) GetOrCreateAes

GetOrCreateAes retrieves the value of the Aes field or returns the existing field if it already exists.

func (*IETFSnmp_Snmp_Usm_Local_User_Priv) GetOrCreateDes

GetOrCreateDes retrieves the value of the Des field or returns the existing field if it already exists.

func (*IETFSnmp_Snmp_Usm_Local_User_Priv) IsYANGGoStruct

func (*IETFSnmp_Snmp_Usm_Local_User_Priv) IsYANGGoStruct()

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

func (*IETFSnmp_Snmp_Usm_Local_User_Priv) Validate

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

func (*IETFSnmp_Snmp_Usm_Local_User_Priv) ΛBelongingModule

func (*IETFSnmp_Snmp_Usm_Local_User_Priv) ΛBelongingModule() string

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

func (*IETFSnmp_Snmp_Usm_Local_User_Priv) ΛEnumTypeMap

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

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

type IETFSnmp_Snmp_Usm_Local_User_Priv_Aes

type IETFSnmp_Snmp_Usm_Local_User_Priv_Aes struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Key       *string           `path:"key" module:"ietf-snmp"`
	ΛKey      []ygot.Annotation `path:"@key" ygotAnnotation:"true"`
}

IETFSnmp_Snmp_Usm_Local_User_Priv_Aes represents the /ietf-snmp/snmp/usm/local/user/priv/aes YANG schema element.

func (*IETFSnmp_Snmp_Usm_Local_User_Priv_Aes) GetKey

GetKey retrieves the value of the leaf Key from the IETFSnmp_Snmp_Usm_Local_User_Priv_Aes struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Key is set, it can safely use t.GetKey() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Key == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Usm_Local_User_Priv_Aes) IsYANGGoStruct

func (*IETFSnmp_Snmp_Usm_Local_User_Priv_Aes) IsYANGGoStruct()

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

func (*IETFSnmp_Snmp_Usm_Local_User_Priv_Aes) Validate

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

func (*IETFSnmp_Snmp_Usm_Local_User_Priv_Aes) ΛBelongingModule

func (*IETFSnmp_Snmp_Usm_Local_User_Priv_Aes) ΛBelongingModule() string

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

func (*IETFSnmp_Snmp_Usm_Local_User_Priv_Aes) ΛEnumTypeMap

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

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

type IETFSnmp_Snmp_Usm_Local_User_Priv_Des

type IETFSnmp_Snmp_Usm_Local_User_Priv_Des struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Key       *string           `path:"key" module:"ietf-snmp"`
	ΛKey      []ygot.Annotation `path:"@key" ygotAnnotation:"true"`
}

IETFSnmp_Snmp_Usm_Local_User_Priv_Des represents the /ietf-snmp/snmp/usm/local/user/priv/des YANG schema element.

func (*IETFSnmp_Snmp_Usm_Local_User_Priv_Des) GetKey

GetKey retrieves the value of the leaf Key from the IETFSnmp_Snmp_Usm_Local_User_Priv_Des struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Key is set, it can safely use t.GetKey() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Key == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Usm_Local_User_Priv_Des) IsYANGGoStruct

func (*IETFSnmp_Snmp_Usm_Local_User_Priv_Des) IsYANGGoStruct()

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

func (*IETFSnmp_Snmp_Usm_Local_User_Priv_Des) Validate

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

func (*IETFSnmp_Snmp_Usm_Local_User_Priv_Des) ΛBelongingModule

func (*IETFSnmp_Snmp_Usm_Local_User_Priv_Des) ΛBelongingModule() string

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

func (*IETFSnmp_Snmp_Usm_Local_User_Priv_Des) ΛEnumTypeMap

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

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

type IETFSnmp_Snmp_Usm_Remote

type IETFSnmp_Snmp_Usm_Remote struct {
	ΛMetadata []ygot.Annotation                         `path:"@" ygotAnnotation:"true"`
	EngineId  *string                                   `path:"engine-id" module:"ietf-snmp"`
	ΛEngineId []ygot.Annotation                         `path:"@engine-id" ygotAnnotation:"true"`
	User      map[string]*IETFSnmp_Snmp_Usm_Remote_User `path:"user" module:"ietf-snmp"`
	ΛUser     []ygot.Annotation                         `path:"@user" ygotAnnotation:"true"`
}

IETFSnmp_Snmp_Usm_Remote represents the /ietf-snmp/snmp/usm/remote YANG schema element.

func (*IETFSnmp_Snmp_Usm_Remote) AppendUser

AppendUser appends the supplied IETFSnmp_Snmp_Usm_Remote_User struct to the list User of IETFSnmp_Snmp_Usm_Remote. If the key value(s) specified in the supplied IETFSnmp_Snmp_Usm_Remote_User already exist in the list, an error is returned.

func (*IETFSnmp_Snmp_Usm_Remote) GetEngineId

func (t *IETFSnmp_Snmp_Usm_Remote) GetEngineId() string

GetEngineId retrieves the value of the leaf EngineId from the IETFSnmp_Snmp_Usm_Remote struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if EngineId is set, it can safely use t.GetEngineId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.EngineId == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Usm_Remote) GetOrCreateUser

GetOrCreateUser retrieves the value with the specified keys from the receiver IETFSnmp_Snmp_Usm_Remote. If the entry does not exist, then it is created. It returns the existing or new list member.

func (*IETFSnmp_Snmp_Usm_Remote) GetOrCreateUserMap

func (t *IETFSnmp_Snmp_Usm_Remote) GetOrCreateUserMap() map[string]*IETFSnmp_Snmp_Usm_Remote_User

GetOrCreateUserMap returns the list (map) from IETFSnmp_Snmp_Usm_Remote.

It initializes the field if not already initialized.

func (*IETFSnmp_Snmp_Usm_Remote) GetUser

GetUser retrieves the value with the specified key from the User map field of IETFSnmp_Snmp_Usm_Remote. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.

func (*IETFSnmp_Snmp_Usm_Remote) IsYANGGoStruct

func (*IETFSnmp_Snmp_Usm_Remote) IsYANGGoStruct()

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

func (*IETFSnmp_Snmp_Usm_Remote) NewUser

NewUser creates a new entry in the User list of the IETFSnmp_Snmp_Usm_Remote struct. The keys of the list are populated from the input arguments.

func (*IETFSnmp_Snmp_Usm_Remote) RenameUser

func (t *IETFSnmp_Snmp_Usm_Remote) RenameUser(oldK, newK string) error

RenameUser renames an entry in the list User within the IETFSnmp_Snmp_Usm_Remote struct. The entry with key oldK is renamed to newK updating the key within the value.

func (*IETFSnmp_Snmp_Usm_Remote) Validate

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

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

func (*IETFSnmp_Snmp_Usm_Remote) ΛBelongingModule

func (*IETFSnmp_Snmp_Usm_Remote) ΛBelongingModule() string

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

func (*IETFSnmp_Snmp_Usm_Remote) ΛEnumTypeMap

func (t *IETFSnmp_Snmp_Usm_Remote) ΛEnumTypeMap() 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 (*IETFSnmp_Snmp_Usm_Remote) ΛListKeyMap

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

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

func (*IETFSnmp_Snmp_Usm_Remote) ΛValidate

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

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

type IETFSnmp_Snmp_Usm_Remote_User

type IETFSnmp_Snmp_Usm_Remote_User struct {
	ΛMetadata []ygot.Annotation                   `path:"@" ygotAnnotation:"true"`
	Auth      *IETFSnmp_Snmp_Usm_Remote_User_Auth `path:"auth" module:"ietf-snmp"`
	ΛAuth     []ygot.Annotation                   `path:"@auth" ygotAnnotation:"true"`
	Name      *string                             `path:"name" module:"ietf-snmp"`
	ΛName     []ygot.Annotation                   `path:"@name" ygotAnnotation:"true"`
	Priv      *IETFSnmp_Snmp_Usm_Remote_User_Priv `path:"priv" module:"ietf-snmp"`
	ΛPriv     []ygot.Annotation                   `path:"@priv" ygotAnnotation:"true"`
}

IETFSnmp_Snmp_Usm_Remote_User represents the /ietf-snmp/snmp/usm/remote/user YANG schema element.

func (*IETFSnmp_Snmp_Usm_Remote_User) GetAuth

GetAuth returns the value of the Auth struct pointer from IETFSnmp_Snmp_Usm_Remote_User. If the receiver or the field Auth is nil, nil is returned such that the Get* methods can be safely chained.

func (*IETFSnmp_Snmp_Usm_Remote_User) GetName

GetName retrieves the value of the leaf Name from the IETFSnmp_Snmp_Usm_Remote_User struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Name is set, it can safely use t.GetName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Name == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Usm_Remote_User) GetOrCreateAuth

GetOrCreateAuth retrieves the value of the Auth field or returns the existing field if it already exists.

func (*IETFSnmp_Snmp_Usm_Remote_User) GetOrCreatePriv

GetOrCreatePriv retrieves the value of the Priv field or returns the existing field if it already exists.

func (*IETFSnmp_Snmp_Usm_Remote_User) GetPriv

GetPriv returns the value of the Priv struct pointer from IETFSnmp_Snmp_Usm_Remote_User. If the receiver or the field Priv is nil, nil is returned such that the Get* methods can be safely chained.

func (*IETFSnmp_Snmp_Usm_Remote_User) IsYANGGoStruct

func (*IETFSnmp_Snmp_Usm_Remote_User) IsYANGGoStruct()

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

func (*IETFSnmp_Snmp_Usm_Remote_User) Validate

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

func (*IETFSnmp_Snmp_Usm_Remote_User) ΛBelongingModule

func (*IETFSnmp_Snmp_Usm_Remote_User) ΛBelongingModule() string

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

func (*IETFSnmp_Snmp_Usm_Remote_User) ΛEnumTypeMap

func (t *IETFSnmp_Snmp_Usm_Remote_User) ΛEnumTypeMap() map[string][]reflect.Type

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

func (*IETFSnmp_Snmp_Usm_Remote_User) ΛListKeyMap

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

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

func (*IETFSnmp_Snmp_Usm_Remote_User) ΛValidate

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

type IETFSnmp_Snmp_Usm_Remote_User_Auth

type IETFSnmp_Snmp_Usm_Remote_User_Auth struct {
	ΛMetadata []ygot.Annotation                       `path:"@" ygotAnnotation:"true"`
	Md5       *IETFSnmp_Snmp_Usm_Remote_User_Auth_Md5 `path:"md5" module:"ietf-snmp"`
	ΛMd5      []ygot.Annotation                       `path:"@md5" ygotAnnotation:"true"`
	Sha       *IETFSnmp_Snmp_Usm_Remote_User_Auth_Sha `path:"sha" module:"ietf-snmp"`
	ΛSha      []ygot.Annotation                       `path:"@sha" ygotAnnotation:"true"`
}

IETFSnmp_Snmp_Usm_Remote_User_Auth represents the /ietf-snmp/snmp/usm/remote/user/auth YANG schema element.

func (*IETFSnmp_Snmp_Usm_Remote_User_Auth) GetMd5

GetMd5 returns the value of the Md5 struct pointer from IETFSnmp_Snmp_Usm_Remote_User_Auth. If the receiver or the field Md5 is nil, nil is returned such that the Get* methods can be safely chained.

func (*IETFSnmp_Snmp_Usm_Remote_User_Auth) GetOrCreateMd5

GetOrCreateMd5 retrieves the value of the Md5 field or returns the existing field if it already exists.

func (*IETFSnmp_Snmp_Usm_Remote_User_Auth) GetOrCreateSha

GetOrCreateSha retrieves the value of the Sha field or returns the existing field if it already exists.

func (*IETFSnmp_Snmp_Usm_Remote_User_Auth) GetSha

GetSha returns the value of the Sha struct pointer from IETFSnmp_Snmp_Usm_Remote_User_Auth. If the receiver or the field Sha is nil, nil is returned such that the Get* methods can be safely chained.

func (*IETFSnmp_Snmp_Usm_Remote_User_Auth) IsYANGGoStruct

func (*IETFSnmp_Snmp_Usm_Remote_User_Auth) IsYANGGoStruct()

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

func (*IETFSnmp_Snmp_Usm_Remote_User_Auth) Validate

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

func (*IETFSnmp_Snmp_Usm_Remote_User_Auth) ΛBelongingModule

func (*IETFSnmp_Snmp_Usm_Remote_User_Auth) ΛBelongingModule() string

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

func (*IETFSnmp_Snmp_Usm_Remote_User_Auth) ΛEnumTypeMap

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

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

type IETFSnmp_Snmp_Usm_Remote_User_Auth_Md5

type IETFSnmp_Snmp_Usm_Remote_User_Auth_Md5 struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Key       *string           `path:"key" module:"ietf-snmp"`
	ΛKey      []ygot.Annotation `path:"@key" ygotAnnotation:"true"`
}

IETFSnmp_Snmp_Usm_Remote_User_Auth_Md5 represents the /ietf-snmp/snmp/usm/remote/user/auth/md5 YANG schema element.

func (*IETFSnmp_Snmp_Usm_Remote_User_Auth_Md5) GetKey

GetKey retrieves the value of the leaf Key from the IETFSnmp_Snmp_Usm_Remote_User_Auth_Md5 struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Key is set, it can safely use t.GetKey() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Key == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Usm_Remote_User_Auth_Md5) IsYANGGoStruct

func (*IETFSnmp_Snmp_Usm_Remote_User_Auth_Md5) IsYANGGoStruct()

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

func (*IETFSnmp_Snmp_Usm_Remote_User_Auth_Md5) Validate

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

func (*IETFSnmp_Snmp_Usm_Remote_User_Auth_Md5) ΛBelongingModule

func (*IETFSnmp_Snmp_Usm_Remote_User_Auth_Md5) ΛBelongingModule() string

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

func (*IETFSnmp_Snmp_Usm_Remote_User_Auth_Md5) ΛEnumTypeMap

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

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

type IETFSnmp_Snmp_Usm_Remote_User_Auth_Sha

type IETFSnmp_Snmp_Usm_Remote_User_Auth_Sha struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Key       *string           `path:"key" module:"ietf-snmp"`
	ΛKey      []ygot.Annotation `path:"@key" ygotAnnotation:"true"`
}

IETFSnmp_Snmp_Usm_Remote_User_Auth_Sha represents the /ietf-snmp/snmp/usm/remote/user/auth/sha YANG schema element.

func (*IETFSnmp_Snmp_Usm_Remote_User_Auth_Sha) GetKey

GetKey retrieves the value of the leaf Key from the IETFSnmp_Snmp_Usm_Remote_User_Auth_Sha struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Key is set, it can safely use t.GetKey() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Key == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Usm_Remote_User_Auth_Sha) IsYANGGoStruct

func (*IETFSnmp_Snmp_Usm_Remote_User_Auth_Sha) IsYANGGoStruct()

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

func (*IETFSnmp_Snmp_Usm_Remote_User_Auth_Sha) Validate

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

func (*IETFSnmp_Snmp_Usm_Remote_User_Auth_Sha) ΛBelongingModule

func (*IETFSnmp_Snmp_Usm_Remote_User_Auth_Sha) ΛBelongingModule() string

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

func (*IETFSnmp_Snmp_Usm_Remote_User_Auth_Sha) ΛEnumTypeMap

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

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

type IETFSnmp_Snmp_Usm_Remote_User_Priv

type IETFSnmp_Snmp_Usm_Remote_User_Priv struct {
	ΛMetadata []ygot.Annotation                       `path:"@" ygotAnnotation:"true"`
	Aes       *IETFSnmp_Snmp_Usm_Remote_User_Priv_Aes `path:"aes" module:"ietf-snmp"`
	ΛAes      []ygot.Annotation                       `path:"@aes" ygotAnnotation:"true"`
	Des       *IETFSnmp_Snmp_Usm_Remote_User_Priv_Des `path:"des" module:"ietf-snmp"`
	ΛDes      []ygot.Annotation                       `path:"@des" ygotAnnotation:"true"`
}

IETFSnmp_Snmp_Usm_Remote_User_Priv represents the /ietf-snmp/snmp/usm/remote/user/priv YANG schema element.

func (*IETFSnmp_Snmp_Usm_Remote_User_Priv) GetAes

GetAes returns the value of the Aes struct pointer from IETFSnmp_Snmp_Usm_Remote_User_Priv. If the receiver or the field Aes is nil, nil is returned such that the Get* methods can be safely chained.

func (*IETFSnmp_Snmp_Usm_Remote_User_Priv) GetDes

GetDes returns the value of the Des struct pointer from IETFSnmp_Snmp_Usm_Remote_User_Priv. If the receiver or the field Des is nil, nil is returned such that the Get* methods can be safely chained.

func (*IETFSnmp_Snmp_Usm_Remote_User_Priv) GetOrCreateAes

GetOrCreateAes retrieves the value of the Aes field or returns the existing field if it already exists.

func (*IETFSnmp_Snmp_Usm_Remote_User_Priv) GetOrCreateDes

GetOrCreateDes retrieves the value of the Des field or returns the existing field if it already exists.

func (*IETFSnmp_Snmp_Usm_Remote_User_Priv) IsYANGGoStruct

func (*IETFSnmp_Snmp_Usm_Remote_User_Priv) IsYANGGoStruct()

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

func (*IETFSnmp_Snmp_Usm_Remote_User_Priv) Validate

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

func (*IETFSnmp_Snmp_Usm_Remote_User_Priv) ΛBelongingModule

func (*IETFSnmp_Snmp_Usm_Remote_User_Priv) ΛBelongingModule() string

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

func (*IETFSnmp_Snmp_Usm_Remote_User_Priv) ΛEnumTypeMap

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

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

type IETFSnmp_Snmp_Usm_Remote_User_Priv_Aes

type IETFSnmp_Snmp_Usm_Remote_User_Priv_Aes struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Key       *string           `path:"key" module:"ietf-snmp"`
	ΛKey      []ygot.Annotation `path:"@key" ygotAnnotation:"true"`
}

IETFSnmp_Snmp_Usm_Remote_User_Priv_Aes represents the /ietf-snmp/snmp/usm/remote/user/priv/aes YANG schema element.

func (*IETFSnmp_Snmp_Usm_Remote_User_Priv_Aes) GetKey

GetKey retrieves the value of the leaf Key from the IETFSnmp_Snmp_Usm_Remote_User_Priv_Aes struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Key is set, it can safely use t.GetKey() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Key == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Usm_Remote_User_Priv_Aes) IsYANGGoStruct

func (*IETFSnmp_Snmp_Usm_Remote_User_Priv_Aes) IsYANGGoStruct()

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

func (*IETFSnmp_Snmp_Usm_Remote_User_Priv_Aes) Validate

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

func (*IETFSnmp_Snmp_Usm_Remote_User_Priv_Aes) ΛBelongingModule

func (*IETFSnmp_Snmp_Usm_Remote_User_Priv_Aes) ΛBelongingModule() string

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

func (*IETFSnmp_Snmp_Usm_Remote_User_Priv_Aes) ΛEnumTypeMap

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

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

type IETFSnmp_Snmp_Usm_Remote_User_Priv_Des

type IETFSnmp_Snmp_Usm_Remote_User_Priv_Des struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Key       *string           `path:"key" module:"ietf-snmp"`
	ΛKey      []ygot.Annotation `path:"@key" ygotAnnotation:"true"`
}

IETFSnmp_Snmp_Usm_Remote_User_Priv_Des represents the /ietf-snmp/snmp/usm/remote/user/priv/des YANG schema element.

func (*IETFSnmp_Snmp_Usm_Remote_User_Priv_Des) GetKey

GetKey retrieves the value of the leaf Key from the IETFSnmp_Snmp_Usm_Remote_User_Priv_Des struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Key is set, it can safely use t.GetKey() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Key == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Usm_Remote_User_Priv_Des) IsYANGGoStruct

func (*IETFSnmp_Snmp_Usm_Remote_User_Priv_Des) IsYANGGoStruct()

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

func (*IETFSnmp_Snmp_Usm_Remote_User_Priv_Des) Validate

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

func (*IETFSnmp_Snmp_Usm_Remote_User_Priv_Des) ΛBelongingModule

func (*IETFSnmp_Snmp_Usm_Remote_User_Priv_Des) ΛBelongingModule() string

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

func (*IETFSnmp_Snmp_Usm_Remote_User_Priv_Des) ΛEnumTypeMap

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

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

type IETFSnmp_Snmp_Vacm

type IETFSnmp_Snmp_Vacm struct {
	ΛMetadata []ygot.Annotation                    `path:"@" ygotAnnotation:"true"`
	Group     map[string]*IETFSnmp_Snmp_Vacm_Group `path:"group" module:"ietf-snmp"`
	ΛGroup    []ygot.Annotation                    `path:"@group" ygotAnnotation:"true"`
	View      map[string]*IETFSnmp_Snmp_Vacm_View  `path:"view" module:"ietf-snmp"`
	ΛView     []ygot.Annotation                    `path:"@view" ygotAnnotation:"true"`
}

IETFSnmp_Snmp_Vacm represents the /ietf-snmp/snmp/vacm YANG schema element.

func (*IETFSnmp_Snmp_Vacm) AppendGroup

AppendGroup appends the supplied IETFSnmp_Snmp_Vacm_Group struct to the list Group of IETFSnmp_Snmp_Vacm. If the key value(s) specified in the supplied IETFSnmp_Snmp_Vacm_Group already exist in the list, an error is returned.

func (*IETFSnmp_Snmp_Vacm) AppendView

AppendView appends the supplied IETFSnmp_Snmp_Vacm_View struct to the list View of IETFSnmp_Snmp_Vacm. If the key value(s) specified in the supplied IETFSnmp_Snmp_Vacm_View already exist in the list, an error is returned.

func (*IETFSnmp_Snmp_Vacm) GetGroup

GetGroup retrieves the value with the specified key from the Group map field of IETFSnmp_Snmp_Vacm. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.

func (*IETFSnmp_Snmp_Vacm) GetOrCreateGroup

func (t *IETFSnmp_Snmp_Vacm) GetOrCreateGroup(Name string) *IETFSnmp_Snmp_Vacm_Group

GetOrCreateGroup retrieves the value with the specified keys from the receiver IETFSnmp_Snmp_Vacm. If the entry does not exist, then it is created. It returns the existing or new list member.

func (*IETFSnmp_Snmp_Vacm) GetOrCreateGroupMap

func (t *IETFSnmp_Snmp_Vacm) GetOrCreateGroupMap() map[string]*IETFSnmp_Snmp_Vacm_Group

GetOrCreateGroupMap returns the list (map) from IETFSnmp_Snmp_Vacm.

It initializes the field if not already initialized.

func (*IETFSnmp_Snmp_Vacm) GetOrCreateView

func (t *IETFSnmp_Snmp_Vacm) GetOrCreateView(Name string) *IETFSnmp_Snmp_Vacm_View

GetOrCreateView retrieves the value with the specified keys from the receiver IETFSnmp_Snmp_Vacm. If the entry does not exist, then it is created. It returns the existing or new list member.

func (*IETFSnmp_Snmp_Vacm) GetOrCreateViewMap

func (t *IETFSnmp_Snmp_Vacm) GetOrCreateViewMap() map[string]*IETFSnmp_Snmp_Vacm_View

GetOrCreateViewMap returns the list (map) from IETFSnmp_Snmp_Vacm.

It initializes the field if not already initialized.

func (*IETFSnmp_Snmp_Vacm) GetView

GetView retrieves the value with the specified key from the View map field of IETFSnmp_Snmp_Vacm. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.

func (*IETFSnmp_Snmp_Vacm) IsYANGGoStruct

func (*IETFSnmp_Snmp_Vacm) IsYANGGoStruct()

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

func (*IETFSnmp_Snmp_Vacm) NewGroup

NewGroup creates a new entry in the Group list of the IETFSnmp_Snmp_Vacm struct. The keys of the list are populated from the input arguments.

func (*IETFSnmp_Snmp_Vacm) NewView

NewView creates a new entry in the View list of the IETFSnmp_Snmp_Vacm struct. The keys of the list are populated from the input arguments.

func (*IETFSnmp_Snmp_Vacm) RenameGroup

func (t *IETFSnmp_Snmp_Vacm) RenameGroup(oldK, newK string) error

RenameGroup renames an entry in the list Group within the IETFSnmp_Snmp_Vacm struct. The entry with key oldK is renamed to newK updating the key within the value.

func (*IETFSnmp_Snmp_Vacm) RenameView

func (t *IETFSnmp_Snmp_Vacm) RenameView(oldK, newK string) error

RenameView renames an entry in the list View within the IETFSnmp_Snmp_Vacm struct. The entry with key oldK is renamed to newK updating the key within the value.

func (*IETFSnmp_Snmp_Vacm) Validate

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

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

func (*IETFSnmp_Snmp_Vacm) ΛBelongingModule

func (*IETFSnmp_Snmp_Vacm) ΛBelongingModule() string

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

func (*IETFSnmp_Snmp_Vacm) ΛEnumTypeMap

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

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

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

type IETFSnmp_Snmp_Vacm_Group

type IETFSnmp_Snmp_Vacm_Group struct {
	ΛMetadata []ygot.Annotation                                                        `path:"@" ygotAnnotation:"true"`
	Access    map[IETFSnmp_Snmp_Vacm_Group_Access_Key]*IETFSnmp_Snmp_Vacm_Group_Access `path:"access" module:"ietf-snmp"`
	ΛAccess   []ygot.Annotation                                                        `path:"@access" ygotAnnotation:"true"`
	Member    map[string]*IETFSnmp_Snmp_Vacm_Group_Member                              `path:"member" module:"ietf-snmp"`
	ΛMember   []ygot.Annotation                                                        `path:"@member" ygotAnnotation:"true"`
	Name      *string                                                                  `path:"name" module:"ietf-snmp"`
	ΛName     []ygot.Annotation                                                        `path:"@name" ygotAnnotation:"true"`
}

IETFSnmp_Snmp_Vacm_Group represents the /ietf-snmp/snmp/vacm/group YANG schema element.

func (*IETFSnmp_Snmp_Vacm_Group) AppendAccess

AppendAccess appends the supplied IETFSnmp_Snmp_Vacm_Group_Access struct to the list Access of IETFSnmp_Snmp_Vacm_Group. If the key value(s) specified in the supplied IETFSnmp_Snmp_Vacm_Group_Access already exist in the list, an error is returned.

func (*IETFSnmp_Snmp_Vacm_Group) AppendMember

AppendMember appends the supplied IETFSnmp_Snmp_Vacm_Group_Member struct to the list Member of IETFSnmp_Snmp_Vacm_Group. If the key value(s) specified in the supplied IETFSnmp_Snmp_Vacm_Group_Member already exist in the list, an error is returned.

func (*IETFSnmp_Snmp_Vacm_Group) GetAccess

GetAccess retrieves the value with the specified key from the Access map field of IETFSnmp_Snmp_Vacm_Group. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.

func (*IETFSnmp_Snmp_Vacm_Group) GetMember

GetMember retrieves the value with the specified key from the Member map field of IETFSnmp_Snmp_Vacm_Group. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.

func (*IETFSnmp_Snmp_Vacm_Group) GetName

func (t *IETFSnmp_Snmp_Vacm_Group) GetName() string

GetName retrieves the value of the leaf Name from the IETFSnmp_Snmp_Vacm_Group struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Name is set, it can safely use t.GetName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Name == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Vacm_Group) GetOrCreateAccess

GetOrCreateAccess retrieves the value with the specified keys from the receiver IETFSnmp_Snmp_Vacm_Group. If the entry does not exist, then it is created. It returns the existing or new list member.

func (*IETFSnmp_Snmp_Vacm_Group) GetOrCreateAccessMap

GetOrCreateAccessMap returns the list (map) from IETFSnmp_Snmp_Vacm_Group.

It initializes the field if not already initialized.

func (*IETFSnmp_Snmp_Vacm_Group) GetOrCreateMember

func (t *IETFSnmp_Snmp_Vacm_Group) GetOrCreateMember(SecurityName string) *IETFSnmp_Snmp_Vacm_Group_Member

GetOrCreateMember retrieves the value with the specified keys from the receiver IETFSnmp_Snmp_Vacm_Group. If the entry does not exist, then it is created. It returns the existing or new list member.

func (*IETFSnmp_Snmp_Vacm_Group) GetOrCreateMemberMap

func (t *IETFSnmp_Snmp_Vacm_Group) GetOrCreateMemberMap() map[string]*IETFSnmp_Snmp_Vacm_Group_Member

GetOrCreateMemberMap returns the list (map) from IETFSnmp_Snmp_Vacm_Group.

It initializes the field if not already initialized.

func (*IETFSnmp_Snmp_Vacm_Group) IsYANGGoStruct

func (*IETFSnmp_Snmp_Vacm_Group) IsYANGGoStruct()

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

func (*IETFSnmp_Snmp_Vacm_Group) NewAccess

NewAccess creates a new entry in the Access list of the IETFSnmp_Snmp_Vacm_Group struct. The keys of the list are populated from the input arguments.

func (*IETFSnmp_Snmp_Vacm_Group) NewMember

NewMember creates a new entry in the Member list of the IETFSnmp_Snmp_Vacm_Group struct. The keys of the list are populated from the input arguments.

func (*IETFSnmp_Snmp_Vacm_Group) RenameAccess

RenameAccess renames an entry in the list Access within the IETFSnmp_Snmp_Vacm_Group struct. The entry with key oldK is renamed to newK updating the key within the value.

func (*IETFSnmp_Snmp_Vacm_Group) RenameMember

func (t *IETFSnmp_Snmp_Vacm_Group) RenameMember(oldK, newK string) error

RenameMember renames an entry in the list Member within the IETFSnmp_Snmp_Vacm_Group struct. The entry with key oldK is renamed to newK updating the key within the value.

func (*IETFSnmp_Snmp_Vacm_Group) Validate

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

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

func (*IETFSnmp_Snmp_Vacm_Group) ΛBelongingModule

func (*IETFSnmp_Snmp_Vacm_Group) ΛBelongingModule() string

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

func (*IETFSnmp_Snmp_Vacm_Group) ΛEnumTypeMap

func (t *IETFSnmp_Snmp_Vacm_Group) ΛEnumTypeMap() 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 (*IETFSnmp_Snmp_Vacm_Group) ΛListKeyMap

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

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

func (*IETFSnmp_Snmp_Vacm_Group) ΛValidate

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

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

type IETFSnmp_Snmp_Vacm_Group_Access

type IETFSnmp_Snmp_Vacm_Group_Access struct {
	ΛMetadata      []ygot.Annotation                                   `path:"@" ygotAnnotation:"true"`
	Context        *string                                             `path:"context" module:"ietf-snmp"`
	ΛContext       []ygot.Annotation                                   `path:"@context" ygotAnnotation:"true"`
	ContextMatch   E_IETFSnmp_Snmp_Vacm_Group_Access_ContextMatch      `path:"context-match" module:"ietf-snmp"`
	ΛContextMatch  []ygot.Annotation                                   `path:"@context-match" ygotAnnotation:"true"`
	NotifyView     *string                                             `path:"notify-view" module:"ietf-snmp"`
	ΛNotifyView    []ygot.Annotation                                   `path:"@notify-view" ygotAnnotation:"true"`
	ReadView       *string                                             `path:"read-view" module:"ietf-snmp"`
	ΛReadView      []ygot.Annotation                                   `path:"@read-view" ygotAnnotation:"true"`
	SecurityLevel  E_IETFSnmp_SecurityLevel                            `path:"security-level" module:"ietf-snmp"`
	ΛSecurityLevel []ygot.Annotation                                   `path:"@security-level" ygotAnnotation:"true"`
	SecurityModel  IETFSnmp_Snmp_Vacm_Group_Access_SecurityModel_Union `path:"security-model" module:"ietf-snmp"`
	ΛSecurityModel []ygot.Annotation                                   `path:"@security-model" ygotAnnotation:"true"`
	WriteView      *string                                             `path:"write-view" module:"ietf-snmp"`
	ΛWriteView     []ygot.Annotation                                   `path:"@write-view" ygotAnnotation:"true"`
}

IETFSnmp_Snmp_Vacm_Group_Access represents the /ietf-snmp/snmp/vacm/group/access YANG schema element.

func (*IETFSnmp_Snmp_Vacm_Group_Access) GetContext

func (t *IETFSnmp_Snmp_Vacm_Group_Access) GetContext() string

GetContext retrieves the value of the leaf Context from the IETFSnmp_Snmp_Vacm_Group_Access struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Context is set, it can safely use t.GetContext() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Context == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Vacm_Group_Access) GetContextMatch

GetContextMatch retrieves the value of the leaf ContextMatch from the IETFSnmp_Snmp_Vacm_Group_Access struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ContextMatch is set, it can safely use t.GetContextMatch() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ContextMatch == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Vacm_Group_Access) GetNotifyView

func (t *IETFSnmp_Snmp_Vacm_Group_Access) GetNotifyView() string

GetNotifyView retrieves the value of the leaf NotifyView from the IETFSnmp_Snmp_Vacm_Group_Access struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if NotifyView is set, it can safely use t.GetNotifyView() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.NotifyView == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Vacm_Group_Access) GetReadView

func (t *IETFSnmp_Snmp_Vacm_Group_Access) GetReadView() string

GetReadView retrieves the value of the leaf ReadView from the IETFSnmp_Snmp_Vacm_Group_Access struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ReadView is set, it can safely use t.GetReadView() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ReadView == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Vacm_Group_Access) GetSecurityLevel

GetSecurityLevel retrieves the value of the leaf SecurityLevel from the IETFSnmp_Snmp_Vacm_Group_Access struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SecurityLevel is set, it can safely use t.GetSecurityLevel() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SecurityLevel == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Vacm_Group_Access) GetSecurityModel

GetSecurityModel retrieves the value of the leaf SecurityModel from the IETFSnmp_Snmp_Vacm_Group_Access struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SecurityModel is set, it can safely use t.GetSecurityModel() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SecurityModel == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Vacm_Group_Access) GetWriteView

func (t *IETFSnmp_Snmp_Vacm_Group_Access) GetWriteView() string

GetWriteView retrieves the value of the leaf WriteView from the IETFSnmp_Snmp_Vacm_Group_Access struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if WriteView is set, it can safely use t.GetWriteView() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.WriteView == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Vacm_Group_Access) IsYANGGoStruct

func (*IETFSnmp_Snmp_Vacm_Group_Access) IsYANGGoStruct()

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

func (*IETFSnmp_Snmp_Vacm_Group_Access) To_IETFSnmp_Snmp_Vacm_Group_Access_SecurityModel_Union

func (t *IETFSnmp_Snmp_Vacm_Group_Access) To_IETFSnmp_Snmp_Vacm_Group_Access_SecurityModel_Union(i interface{}) (IETFSnmp_Snmp_Vacm_Group_Access_SecurityModel_Union, error)

To_IETFSnmp_Snmp_Vacm_Group_Access_SecurityModel_Union takes an input interface{} and attempts to convert it to a struct which implements the IETFSnmp_Snmp_Vacm_Group_Access_SecurityModel_Union union. It returns an error if the interface{} supplied cannot be converted to a type within the union.

func (*IETFSnmp_Snmp_Vacm_Group_Access) Validate

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

func (*IETFSnmp_Snmp_Vacm_Group_Access) ΛBelongingModule

func (*IETFSnmp_Snmp_Vacm_Group_Access) ΛBelongingModule() string

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

func (*IETFSnmp_Snmp_Vacm_Group_Access) ΛEnumTypeMap

func (t *IETFSnmp_Snmp_Vacm_Group_Access) ΛEnumTypeMap() 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 (*IETFSnmp_Snmp_Vacm_Group_Access) ΛListKeyMap

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

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

func (*IETFSnmp_Snmp_Vacm_Group_Access) ΛValidate

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

type IETFSnmp_Snmp_Vacm_Group_Access_Key

type IETFSnmp_Snmp_Vacm_Group_Access_Key struct {
	Context       string                                              `path:"context"`
	SecurityModel IETFSnmp_Snmp_Vacm_Group_Access_SecurityModel_Union `path:"security-model"`
	SecurityLevel E_IETFSnmp_SecurityLevel                            `path:"security-level"`
}

IETFSnmp_Snmp_Vacm_Group_Access_Key represents the key for list Access of element /ietf-snmp/snmp/vacm/group.

func (IETFSnmp_Snmp_Vacm_Group_Access_Key) IsYANGGoKeyStruct

func (IETFSnmp_Snmp_Vacm_Group_Access_Key) IsYANGGoKeyStruct()

IsYANGGoKeyStruct ensures that IETFSnmp_Snmp_Vacm_Group_Access_Key partially implements the yang.GoKeyStruct interface. This allows functions that need to handle this key struct to identify it as being generated by gogen.

func (IETFSnmp_Snmp_Vacm_Group_Access_Key) ΛListKeyMap

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

ΛListKeyMap returns the values of the IETFSnmp_Snmp_Vacm_Group_Access_Key key struct.

type IETFSnmp_Snmp_Vacm_Group_Access_SecurityModel_Union

type IETFSnmp_Snmp_Vacm_Group_Access_SecurityModel_Union interface {
	// Union type can be one of [E_IETFSnmp_SecurityModelOrAny_Enum, E_IETFSnmp_SecurityModel_Enum, UnionInt32]
	Documentation_for_IETFSnmp_Snmp_Vacm_Group_Access_SecurityModel_Union()
}

IETFSnmp_Snmp_Vacm_Group_Access_SecurityModel_Union is an interface that is implemented by valid types for the union for the leaf /ietf-snmp/snmp/vacm/group/access/security-model within the YANG schema. Union type can be one of [E_IETFSnmp_SecurityModelOrAny_Enum, E_IETFSnmp_SecurityModel_Enum, UnionInt32].

type IETFSnmp_Snmp_Vacm_Group_Member

type IETFSnmp_Snmp_Vacm_Group_Member struct {
	ΛMetadata      []ygot.Annotation                                     `path:"@" ygotAnnotation:"true"`
	SecurityModel  []IETFSnmp_Snmp_Vacm_Group_Member_SecurityModel_Union `path:"security-model" module:"ietf-snmp"`
	ΛSecurityModel []ygot.Annotation                                     `path:"@security-model" ygotAnnotation:"true"`
	SecurityName   *string                                               `path:"security-name" module:"ietf-snmp"`
	ΛSecurityName  []ygot.Annotation                                     `path:"@security-name" ygotAnnotation:"true"`
}

IETFSnmp_Snmp_Vacm_Group_Member represents the /ietf-snmp/snmp/vacm/group/member YANG schema element.

func (*IETFSnmp_Snmp_Vacm_Group_Member) GetSecurityModel

GetSecurityModel retrieves the value of the leaf SecurityModel from the IETFSnmp_Snmp_Vacm_Group_Member struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SecurityModel is set, it can safely use t.GetSecurityModel() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SecurityModel == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Vacm_Group_Member) GetSecurityName

func (t *IETFSnmp_Snmp_Vacm_Group_Member) GetSecurityName() string

GetSecurityName retrieves the value of the leaf SecurityName from the IETFSnmp_Snmp_Vacm_Group_Member struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SecurityName is set, it can safely use t.GetSecurityName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SecurityName == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Vacm_Group_Member) IsYANGGoStruct

func (*IETFSnmp_Snmp_Vacm_Group_Member) IsYANGGoStruct()

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

func (*IETFSnmp_Snmp_Vacm_Group_Member) To_IETFSnmp_Snmp_Vacm_Group_Member_SecurityModel_Union

func (t *IETFSnmp_Snmp_Vacm_Group_Member) To_IETFSnmp_Snmp_Vacm_Group_Member_SecurityModel_Union(i interface{}) (IETFSnmp_Snmp_Vacm_Group_Member_SecurityModel_Union, error)

To_IETFSnmp_Snmp_Vacm_Group_Member_SecurityModel_Union takes an input interface{} and attempts to convert it to a struct which implements the IETFSnmp_Snmp_Vacm_Group_Member_SecurityModel_Union union. It returns an error if the interface{} supplied cannot be converted to a type within the union.

func (*IETFSnmp_Snmp_Vacm_Group_Member) Validate

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

func (*IETFSnmp_Snmp_Vacm_Group_Member) ΛBelongingModule

func (*IETFSnmp_Snmp_Vacm_Group_Member) ΛBelongingModule() string

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

func (*IETFSnmp_Snmp_Vacm_Group_Member) ΛEnumTypeMap

func (t *IETFSnmp_Snmp_Vacm_Group_Member) ΛEnumTypeMap() 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 (*IETFSnmp_Snmp_Vacm_Group_Member) ΛListKeyMap

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

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

func (*IETFSnmp_Snmp_Vacm_Group_Member) ΛValidate

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

type IETFSnmp_Snmp_Vacm_Group_Member_SecurityModel_Union

type IETFSnmp_Snmp_Vacm_Group_Member_SecurityModel_Union interface {
	// Union type can be one of [E_IETFSnmp_SecurityModel_Enum, UnionInt32]
	Documentation_for_IETFSnmp_Snmp_Vacm_Group_Member_SecurityModel_Union()
}

IETFSnmp_Snmp_Vacm_Group_Member_SecurityModel_Union is an interface that is implemented by valid types for the union for the leaf /ietf-snmp/snmp/vacm/group/member/security-model within the YANG schema. Union type can be one of [E_IETFSnmp_SecurityModel_Enum, UnionInt32].

type IETFSnmp_Snmp_Vacm_View

type IETFSnmp_Snmp_Vacm_View struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Exclude   []string          `path:"exclude" module:"ietf-snmp"`
	ΛExclude  []ygot.Annotation `path:"@exclude" ygotAnnotation:"true"`
	Include   []string          `path:"include" module:"ietf-snmp"`
	ΛInclude  []ygot.Annotation `path:"@include" ygotAnnotation:"true"`
	Name      *string           `path:"name" module:"ietf-snmp"`
	ΛName     []ygot.Annotation `path:"@name" ygotAnnotation:"true"`
}

IETFSnmp_Snmp_Vacm_View represents the /ietf-snmp/snmp/vacm/view YANG schema element.

func (*IETFSnmp_Snmp_Vacm_View) GetExclude

func (t *IETFSnmp_Snmp_Vacm_View) GetExclude() []string

GetExclude retrieves the value of the leaf Exclude from the IETFSnmp_Snmp_Vacm_View struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Exclude is set, it can safely use t.GetExclude() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Exclude == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Vacm_View) GetInclude

func (t *IETFSnmp_Snmp_Vacm_View) GetInclude() []string

GetInclude retrieves the value of the leaf Include from the IETFSnmp_Snmp_Vacm_View struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Include is set, it can safely use t.GetInclude() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Include == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Vacm_View) GetName

func (t *IETFSnmp_Snmp_Vacm_View) GetName() string

GetName retrieves the value of the leaf Name from the IETFSnmp_Snmp_Vacm_View struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Name is set, it can safely use t.GetName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Name == nil' before retrieving the leaf's value.

func (*IETFSnmp_Snmp_Vacm_View) IsYANGGoStruct

func (*IETFSnmp_Snmp_Vacm_View) IsYANGGoStruct()

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

func (*IETFSnmp_Snmp_Vacm_View) Validate

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

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

func (*IETFSnmp_Snmp_Vacm_View) ΛBelongingModule

func (*IETFSnmp_Snmp_Vacm_View) ΛBelongingModule() string

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

func (*IETFSnmp_Snmp_Vacm_View) ΛEnumTypeMap

func (t *IETFSnmp_Snmp_Vacm_View) ΛEnumTypeMap() 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 (*IETFSnmp_Snmp_Vacm_View) ΛListKeyMap

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

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

func (*IETFSnmp_Snmp_Vacm_View) ΛValidate

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

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

type IETFSystem_System

type IETFSystem_System struct {
	ΛMetadata       []ygot.Annotation                 `path:"@" ygotAnnotation:"true"`
	Authentication  *IETFSystem_System_Authentication `path:"authentication" module:"ietf-system"`
	ΛAuthentication []ygot.Annotation                 `path:"@authentication" ygotAnnotation:"true"`
	Clock           *IETFSystem_System_Clock          `path:"clock" module:"ietf-system"`
	ΛClock          []ygot.Annotation                 `path:"@clock" ygotAnnotation:"true"`
	Contact         *string                           `path:"contact" module:"ietf-system"`
	ΛContact        []ygot.Annotation                 `path:"@contact" ygotAnnotation:"true"`
	DnsResolver     *IETFSystem_System_DnsResolver    `path:"dns-resolver" module:"ietf-system"`
	ΛDnsResolver    []ygot.Annotation                 `path:"@dns-resolver" ygotAnnotation:"true"`
	Hostname        *string                           `path:"hostname" module:"ietf-system"`
	ΛHostname       []ygot.Annotation                 `path:"@hostname" ygotAnnotation:"true"`
	Location        *string                           `path:"location" module:"ietf-system"`
	ΛLocation       []ygot.Annotation                 `path:"@location" ygotAnnotation:"true"`
	Ntp             *IETFSystem_System_Ntp            `path:"ntp" module:"ietf-system"`
	ΛNtp            []ygot.Annotation                 `path:"@ntp" ygotAnnotation:"true"`
	Radius          *IETFSystem_System_Radius         `path:"radius" module:"ietf-system"`
	ΛRadius         []ygot.Annotation                 `path:"@radius" ygotAnnotation:"true"`
}

IETFSystem_System represents the /ietf-system/system YANG schema element.

func (*IETFSystem_System) GetAuthentication

func (t *IETFSystem_System) GetAuthentication() *IETFSystem_System_Authentication

GetAuthentication returns the value of the Authentication struct pointer from IETFSystem_System. If the receiver or the field Authentication is nil, nil is returned such that the Get* methods can be safely chained.

func (*IETFSystem_System) GetClock

GetClock returns the value of the Clock struct pointer from IETFSystem_System. If the receiver or the field Clock is nil, nil is returned such that the Get* methods can be safely chained.

func (*IETFSystem_System) GetContact

func (t *IETFSystem_System) GetContact() string

GetContact retrieves the value of the leaf Contact from the IETFSystem_System struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Contact is set, it can safely use t.GetContact() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Contact == nil' before retrieving the leaf's value.

func (*IETFSystem_System) GetDnsResolver

func (t *IETFSystem_System) GetDnsResolver() *IETFSystem_System_DnsResolver

GetDnsResolver returns the value of the DnsResolver struct pointer from IETFSystem_System. If the receiver or the field DnsResolver is nil, nil is returned such that the Get* methods can be safely chained.

func (*IETFSystem_System) GetHostname

func (t *IETFSystem_System) GetHostname() string

GetHostname retrieves the value of the leaf Hostname from the IETFSystem_System struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Hostname is set, it can safely use t.GetHostname() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Hostname == nil' before retrieving the leaf's value.

func (*IETFSystem_System) GetLocation

func (t *IETFSystem_System) GetLocation() string

GetLocation retrieves the value of the leaf Location from the IETFSystem_System struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Location is set, it can safely use t.GetLocation() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Location == nil' before retrieving the leaf's value.

func (*IETFSystem_System) GetNtp

GetNtp returns the value of the Ntp struct pointer from IETFSystem_System. If the receiver or the field Ntp is nil, nil is returned such that the Get* methods can be safely chained.

func (*IETFSystem_System) GetOrCreateAuthentication

func (t *IETFSystem_System) GetOrCreateAuthentication() *IETFSystem_System_Authentication

GetOrCreateAuthentication retrieves the value of the Authentication field or returns the existing field if it already exists.

func (*IETFSystem_System) GetOrCreateClock

func (t *IETFSystem_System) GetOrCreateClock() *IETFSystem_System_Clock

GetOrCreateClock retrieves the value of the Clock field or returns the existing field if it already exists.

func (*IETFSystem_System) GetOrCreateDnsResolver

func (t *IETFSystem_System) GetOrCreateDnsResolver() *IETFSystem_System_DnsResolver

GetOrCreateDnsResolver retrieves the value of the DnsResolver field or returns the existing field if it already exists.

func (*IETFSystem_System) GetOrCreateNtp

func (t *IETFSystem_System) GetOrCreateNtp() *IETFSystem_System_Ntp

GetOrCreateNtp retrieves the value of the Ntp field or returns the existing field if it already exists.

func (*IETFSystem_System) GetOrCreateRadius

func (t *IETFSystem_System) GetOrCreateRadius() *IETFSystem_System_Radius

GetOrCreateRadius retrieves the value of the Radius field or returns the existing field if it already exists.

func (*IETFSystem_System) GetRadius

GetRadius returns the value of the Radius struct pointer from IETFSystem_System. If the receiver or the field Radius is nil, nil is returned such that the Get* methods can be safely chained.

func (*IETFSystem_System) IsYANGGoStruct

func (*IETFSystem_System) IsYANGGoStruct()

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

func (*IETFSystem_System) Validate

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

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

func (*IETFSystem_System) ΛBelongingModule

func (*IETFSystem_System) ΛBelongingModule() string

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

func (*IETFSystem_System) ΛEnumTypeMap

func (t *IETFSystem_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 (*IETFSystem_System) ΛValidate

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

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

type IETFSystem_SystemState

type IETFSystem_SystemState struct {
	ΛMetadata []ygot.Annotation                `path:"@" ygotAnnotation:"true"`
	Clock     *IETFSystem_SystemState_Clock    `path:"clock" module:"ietf-system"`
	ΛClock    []ygot.Annotation                `path:"@clock" ygotAnnotation:"true"`
	Platform  *IETFSystem_SystemState_Platform `path:"platform" module:"ietf-system"`
	ΛPlatform []ygot.Annotation                `path:"@platform" ygotAnnotation:"true"`
}

IETFSystem_SystemState represents the /ietf-system/system-state YANG schema element.

func (*IETFSystem_SystemState) GetClock

GetClock returns the value of the Clock struct pointer from IETFSystem_SystemState. If the receiver or the field Clock is nil, nil is returned such that the Get* methods can be safely chained.

func (*IETFSystem_SystemState) GetOrCreateClock

GetOrCreateClock retrieves the value of the Clock field or returns the existing field if it already exists.

func (*IETFSystem_SystemState) GetOrCreatePlatform

func (t *IETFSystem_SystemState) GetOrCreatePlatform() *IETFSystem_SystemState_Platform

GetOrCreatePlatform retrieves the value of the Platform field or returns the existing field if it already exists.

func (*IETFSystem_SystemState) GetPlatform

GetPlatform returns the value of the Platform struct pointer from IETFSystem_SystemState. If the receiver or the field Platform is nil, nil is returned such that the Get* methods can be safely chained.

func (*IETFSystem_SystemState) IsYANGGoStruct

func (*IETFSystem_SystemState) IsYANGGoStruct()

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

func (*IETFSystem_SystemState) Validate

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

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

func (*IETFSystem_SystemState) ΛBelongingModule

func (*IETFSystem_SystemState) ΛBelongingModule() string

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

func (*IETFSystem_SystemState) ΛEnumTypeMap

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

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

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

type IETFSystem_SystemState_Clock

type IETFSystem_SystemState_Clock struct {
	ΛMetadata        []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	BootDatetime     *string           `path:"boot-datetime" module:"ietf-system"`
	ΛBootDatetime    []ygot.Annotation `path:"@boot-datetime" ygotAnnotation:"true"`
	CurrentDatetime  *string           `path:"current-datetime" module:"ietf-system"`
	ΛCurrentDatetime []ygot.Annotation `path:"@current-datetime" ygotAnnotation:"true"`
}

IETFSystem_SystemState_Clock represents the /ietf-system/system-state/clock YANG schema element.

func (*IETFSystem_SystemState_Clock) GetBootDatetime

func (t *IETFSystem_SystemState_Clock) GetBootDatetime() string

GetBootDatetime retrieves the value of the leaf BootDatetime from the IETFSystem_SystemState_Clock struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if BootDatetime is set, it can safely use t.GetBootDatetime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.BootDatetime == nil' before retrieving the leaf's value.

func (*IETFSystem_SystemState_Clock) GetCurrentDatetime

func (t *IETFSystem_SystemState_Clock) GetCurrentDatetime() string

GetCurrentDatetime retrieves the value of the leaf CurrentDatetime from the IETFSystem_SystemState_Clock struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if CurrentDatetime is set, it can safely use t.GetCurrentDatetime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.CurrentDatetime == nil' before retrieving the leaf's value.

func (*IETFSystem_SystemState_Clock) IsYANGGoStruct

func (*IETFSystem_SystemState_Clock) IsYANGGoStruct()

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

func (*IETFSystem_SystemState_Clock) Validate

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

func (*IETFSystem_SystemState_Clock) ΛBelongingModule

func (*IETFSystem_SystemState_Clock) ΛBelongingModule() string

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

func (*IETFSystem_SystemState_Clock) ΛEnumTypeMap

func (t *IETFSystem_SystemState_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 (*IETFSystem_SystemState_Clock) ΛValidate

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

type IETFSystem_SystemState_Platform

type IETFSystem_SystemState_Platform struct {
	ΛMetadata  []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Machine    *string           `path:"machine" module:"ietf-system"`
	ΛMachine   []ygot.Annotation `path:"@machine" ygotAnnotation:"true"`
	OsName     *string           `path:"os-name" module:"ietf-system"`
	ΛOsName    []ygot.Annotation `path:"@os-name" ygotAnnotation:"true"`
	OsRelease  *string           `path:"os-release" module:"ietf-system"`
	ΛOsRelease []ygot.Annotation `path:"@os-release" ygotAnnotation:"true"`
	OsVersion  *string           `path:"os-version" module:"ietf-system"`
	ΛOsVersion []ygot.Annotation `path:"@os-version" ygotAnnotation:"true"`
}

IETFSystem_SystemState_Platform represents the /ietf-system/system-state/platform YANG schema element.

func (*IETFSystem_SystemState_Platform) GetMachine

func (t *IETFSystem_SystemState_Platform) GetMachine() string

GetMachine retrieves the value of the leaf Machine from the IETFSystem_SystemState_Platform struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Machine is set, it can safely use t.GetMachine() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Machine == nil' before retrieving the leaf's value.

func (*IETFSystem_SystemState_Platform) GetOsName

func (t *IETFSystem_SystemState_Platform) GetOsName() string

GetOsName retrieves the value of the leaf OsName from the IETFSystem_SystemState_Platform struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OsName is set, it can safely use t.GetOsName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OsName == nil' before retrieving the leaf's value.

func (*IETFSystem_SystemState_Platform) GetOsRelease

func (t *IETFSystem_SystemState_Platform) GetOsRelease() string

GetOsRelease retrieves the value of the leaf OsRelease from the IETFSystem_SystemState_Platform struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OsRelease is set, it can safely use t.GetOsRelease() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OsRelease == nil' before retrieving the leaf's value.

func (*IETFSystem_SystemState_Platform) GetOsVersion

func (t *IETFSystem_SystemState_Platform) GetOsVersion() string

GetOsVersion retrieves the value of the leaf OsVersion from the IETFSystem_SystemState_Platform struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OsVersion is set, it can safely use t.GetOsVersion() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OsVersion == nil' before retrieving the leaf's value.

func (*IETFSystem_SystemState_Platform) IsYANGGoStruct

func (*IETFSystem_SystemState_Platform) IsYANGGoStruct()

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

func (*IETFSystem_SystemState_Platform) Validate

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

func (*IETFSystem_SystemState_Platform) ΛBelongingModule

func (*IETFSystem_SystemState_Platform) ΛBelongingModule() string

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

func (*IETFSystem_SystemState_Platform) ΛEnumTypeMap

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

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

type IETFSystem_System_Authentication

type IETFSystem_System_Authentication struct {
	ΛMetadata                []ygot.Annotation                                 `path:"@" ygotAnnotation:"true"`
	User                     map[string]*IETFSystem_System_Authentication_User `path:"user" module:"ietf-system"`
	ΛUser                    []ygot.Annotation                                 `path:"@user" ygotAnnotation:"true"`
	UserAuthenticationOrder  []E_IETFSystem_AuthenticationMethod               `path:"user-authentication-order" module:"ietf-system"`
	ΛUserAuthenticationOrder []ygot.Annotation                                 `path:"@user-authentication-order" ygotAnnotation:"true"`
}

IETFSystem_System_Authentication represents the /ietf-system/system/authentication YANG schema element.

func (*IETFSystem_System_Authentication) AppendUser

AppendUser appends the supplied IETFSystem_System_Authentication_User struct to the list User of IETFSystem_System_Authentication. If the key value(s) specified in the supplied IETFSystem_System_Authentication_User already exist in the list, an error is returned.

func (*IETFSystem_System_Authentication) GetOrCreateUser

GetOrCreateUser retrieves the value with the specified keys from the receiver IETFSystem_System_Authentication. If the entry does not exist, then it is created. It returns the existing or new list member.

func (*IETFSystem_System_Authentication) GetOrCreateUserMap

GetOrCreateUserMap returns the list (map) from IETFSystem_System_Authentication.

It initializes the field if not already initialized.

func (*IETFSystem_System_Authentication) GetUser

GetUser retrieves the value with the specified key from the User map field of IETFSystem_System_Authentication. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.

func (*IETFSystem_System_Authentication) GetUserAuthenticationOrder

func (t *IETFSystem_System_Authentication) GetUserAuthenticationOrder() []E_IETFSystem_AuthenticationMethod

GetUserAuthenticationOrder retrieves the value of the leaf UserAuthenticationOrder from the IETFSystem_System_Authentication struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if UserAuthenticationOrder is set, it can safely use t.GetUserAuthenticationOrder() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.UserAuthenticationOrder == nil' before retrieving the leaf's value.

func (*IETFSystem_System_Authentication) IsYANGGoStruct

func (*IETFSystem_System_Authentication) IsYANGGoStruct()

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

func (*IETFSystem_System_Authentication) NewUser

NewUser creates a new entry in the User list of the IETFSystem_System_Authentication struct. The keys of the list are populated from the input arguments.

func (*IETFSystem_System_Authentication) RenameUser

func (t *IETFSystem_System_Authentication) RenameUser(oldK, newK string) error

RenameUser renames an entry in the list User within the IETFSystem_System_Authentication struct. The entry with key oldK is renamed to newK updating the key within the value.

func (*IETFSystem_System_Authentication) Validate

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

func (*IETFSystem_System_Authentication) ΛBelongingModule

func (*IETFSystem_System_Authentication) ΛBelongingModule() string

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

func (*IETFSystem_System_Authentication) ΛEnumTypeMap

func (t *IETFSystem_System_Authentication) ΛEnumTypeMap() map[string][]reflect.Type

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

func (*IETFSystem_System_Authentication) ΛValidate

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

type IETFSystem_System_Authentication_User

type IETFSystem_System_Authentication_User struct {
	ΛMetadata      []ygot.Annotation                                               `path:"@" ygotAnnotation:"true"`
	AuthorizedKey  map[string]*IETFSystem_System_Authentication_User_AuthorizedKey `path:"authorized-key" module:"ietf-system"`
	ΛAuthorizedKey []ygot.Annotation                                               `path:"@authorized-key" ygotAnnotation:"true"`
	Name           *string                                                         `path:"name" module:"ietf-system"`
	ΛName          []ygot.Annotation                                               `path:"@name" ygotAnnotation:"true"`
	Password       *string                                                         `path:"password" module:"ietf-system"`
	ΛPassword      []ygot.Annotation                                               `path:"@password" ygotAnnotation:"true"`
}

IETFSystem_System_Authentication_User represents the /ietf-system/system/authentication/user YANG schema element.

func (*IETFSystem_System_Authentication_User) AppendAuthorizedKey

AppendAuthorizedKey appends the supplied IETFSystem_System_Authentication_User_AuthorizedKey struct to the list AuthorizedKey of IETFSystem_System_Authentication_User. If the key value(s) specified in the supplied IETFSystem_System_Authentication_User_AuthorizedKey already exist in the list, an error is returned.

func (*IETFSystem_System_Authentication_User) GetAuthorizedKey

GetAuthorizedKey retrieves the value with the specified key from the AuthorizedKey map field of IETFSystem_System_Authentication_User. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.

func (*IETFSystem_System_Authentication_User) GetName

GetName retrieves the value of the leaf Name from the IETFSystem_System_Authentication_User struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Name is set, it can safely use t.GetName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Name == nil' before retrieving the leaf's value.

func (*IETFSystem_System_Authentication_User) GetOrCreateAuthorizedKey

GetOrCreateAuthorizedKey retrieves the value with the specified keys from the receiver IETFSystem_System_Authentication_User. If the entry does not exist, then it is created. It returns the existing or new list member.

func (*IETFSystem_System_Authentication_User) GetOrCreateAuthorizedKeyMap

GetOrCreateAuthorizedKeyMap returns the list (map) from IETFSystem_System_Authentication_User.

It initializes the field if not already initialized.

func (*IETFSystem_System_Authentication_User) GetPassword

GetPassword retrieves the value of the leaf Password from the IETFSystem_System_Authentication_User struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Password is set, it can safely use t.GetPassword() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Password == nil' before retrieving the leaf's value.

func (*IETFSystem_System_Authentication_User) IsYANGGoStruct

func (*IETFSystem_System_Authentication_User) IsYANGGoStruct()

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

func (*IETFSystem_System_Authentication_User) NewAuthorizedKey

NewAuthorizedKey creates a new entry in the AuthorizedKey list of the IETFSystem_System_Authentication_User struct. The keys of the list are populated from the input arguments.

func (*IETFSystem_System_Authentication_User) RenameAuthorizedKey

func (t *IETFSystem_System_Authentication_User) RenameAuthorizedKey(oldK, newK string) error

RenameAuthorizedKey renames an entry in the list AuthorizedKey within the IETFSystem_System_Authentication_User struct. The entry with key oldK is renamed to newK updating the key within the value.

func (*IETFSystem_System_Authentication_User) Validate

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

func (*IETFSystem_System_Authentication_User) ΛBelongingModule

func (*IETFSystem_System_Authentication_User) ΛBelongingModule() string

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

func (*IETFSystem_System_Authentication_User) ΛEnumTypeMap

func (t *IETFSystem_System_Authentication_User) ΛEnumTypeMap() map[string][]reflect.Type

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

func (*IETFSystem_System_Authentication_User) ΛListKeyMap

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

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

func (*IETFSystem_System_Authentication_User) ΛValidate

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

type IETFSystem_System_Authentication_User_AuthorizedKey

type IETFSystem_System_Authentication_User_AuthorizedKey struct {
	ΛMetadata  []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Algorithm  *string           `path:"algorithm" module:"ietf-system"`
	ΛAlgorithm []ygot.Annotation `path:"@algorithm" ygotAnnotation:"true"`
	KeyData    Binary            `path:"key-data" module:"ietf-system"`
	ΛKeyData   []ygot.Annotation `path:"@key-data" ygotAnnotation:"true"`
	Name       *string           `path:"name" module:"ietf-system"`
	ΛName      []ygot.Annotation `path:"@name" ygotAnnotation:"true"`
}

IETFSystem_System_Authentication_User_AuthorizedKey represents the /ietf-system/system/authentication/user/authorized-key YANG schema element.

func (*IETFSystem_System_Authentication_User_AuthorizedKey) GetAlgorithm

GetAlgorithm retrieves the value of the leaf Algorithm from the IETFSystem_System_Authentication_User_AuthorizedKey struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Algorithm is set, it can safely use t.GetAlgorithm() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Algorithm == nil' before retrieving the leaf's value.

func (*IETFSystem_System_Authentication_User_AuthorizedKey) GetKeyData

GetKeyData retrieves the value of the leaf KeyData from the IETFSystem_System_Authentication_User_AuthorizedKey struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if KeyData is set, it can safely use t.GetKeyData() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.KeyData == nil' before retrieving the leaf's value.

func (*IETFSystem_System_Authentication_User_AuthorizedKey) GetName

GetName retrieves the value of the leaf Name from the IETFSystem_System_Authentication_User_AuthorizedKey struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Name is set, it can safely use t.GetName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Name == nil' before retrieving the leaf's value.

func (*IETFSystem_System_Authentication_User_AuthorizedKey) IsYANGGoStruct

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

func (*IETFSystem_System_Authentication_User_AuthorizedKey) Validate

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

func (*IETFSystem_System_Authentication_User_AuthorizedKey) ΛBelongingModule

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

func (*IETFSystem_System_Authentication_User_AuthorizedKey) ΛEnumTypeMap

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

func (*IETFSystem_System_Authentication_User_AuthorizedKey) ΛListKeyMap

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

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

func (*IETFSystem_System_Authentication_User_AuthorizedKey) ΛValidate

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

type IETFSystem_System_Clock

type IETFSystem_System_Clock struct {
	ΛMetadata          []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	TimezoneName       *string           `path:"timezone-name" module:"ietf-system"`
	ΛTimezoneName      []ygot.Annotation `path:"@timezone-name" ygotAnnotation:"true"`
	TimezoneUtcOffset  *int16            `path:"timezone-utc-offset" module:"ietf-system"`
	ΛTimezoneUtcOffset []ygot.Annotation `path:"@timezone-utc-offset" ygotAnnotation:"true"`
}

IETFSystem_System_Clock represents the /ietf-system/system/clock YANG schema element.

func (*IETFSystem_System_Clock) GetTimezoneName

func (t *IETFSystem_System_Clock) GetTimezoneName() string

GetTimezoneName retrieves the value of the leaf TimezoneName from the IETFSystem_System_Clock struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TimezoneName is set, it can safely use t.GetTimezoneName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TimezoneName == nil' before retrieving the leaf's value.

func (*IETFSystem_System_Clock) GetTimezoneUtcOffset

func (t *IETFSystem_System_Clock) GetTimezoneUtcOffset() int16

GetTimezoneUtcOffset retrieves the value of the leaf TimezoneUtcOffset from the IETFSystem_System_Clock struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TimezoneUtcOffset is set, it can safely use t.GetTimezoneUtcOffset() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TimezoneUtcOffset == nil' before retrieving the leaf's value.

func (*IETFSystem_System_Clock) IsYANGGoStruct

func (*IETFSystem_System_Clock) IsYANGGoStruct()

IsYANGGoStruct ensures that IETFSystem_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 (*IETFSystem_System_Clock) Validate

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

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

func (*IETFSystem_System_Clock) ΛBelongingModule

func (*IETFSystem_System_Clock) ΛBelongingModule() string

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

func (*IETFSystem_System_Clock) ΛEnumTypeMap

func (t *IETFSystem_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 (*IETFSystem_System_Clock) ΛValidate

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

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

type IETFSystem_System_DnsResolver

type IETFSystem_System_DnsResolver struct {
	ΛMetadata []ygot.Annotation                                `path:"@" ygotAnnotation:"true"`
	Options   *IETFSystem_System_DnsResolver_Options           `path:"options" module:"ietf-system"`
	ΛOptions  []ygot.Annotation                                `path:"@options" ygotAnnotation:"true"`
	Search    []string                                         `path:"search" module:"ietf-system"`
	ΛSearch   []ygot.Annotation                                `path:"@search" ygotAnnotation:"true"`
	Server    *IETFSystem_System_DnsResolver_Server_OrderedMap `path:"server" module:"ietf-system"`
	ΛServer   []ygot.Annotation                                `path:"@server" ygotAnnotation:"true"`
}

IETFSystem_System_DnsResolver represents the /ietf-system/system/dns-resolver YANG schema element.

func (*IETFSystem_System_DnsResolver) AppendNewServer

AppendNewServer creates a new entry in the Server ordered map of the IETFSystem_System_DnsResolver struct. The keys of the list are populated from the input arguments.

func (*IETFSystem_System_DnsResolver) AppendServer

AppendServer appends the supplied IETFSystem_System_DnsResolver_Server struct to the list Server of IETFSystem_System_DnsResolver. If the key value(s) specified in the supplied IETFSystem_System_DnsResolver_Server already exist in the list, an error is returned.

func (*IETFSystem_System_DnsResolver) DeleteServer

func (s *IETFSystem_System_DnsResolver) DeleteServer(Name string) bool

DeleteServer deletes the value with the specified keys from the receiver IETFSystem_System_DnsResolver. If there is no such element, the function is a no-op.

func (*IETFSystem_System_DnsResolver) GetOptions

GetOptions returns the value of the Options struct pointer from IETFSystem_System_DnsResolver. If the receiver or the field Options is nil, nil is returned such that the Get* methods can be safely chained.

func (*IETFSystem_System_DnsResolver) GetOrCreateOptions

GetOrCreateOptions retrieves the value of the Options field or returns the existing field if it already exists.

func (*IETFSystem_System_DnsResolver) GetOrCreateServerMap

GetOrCreateServerMap returns the ordered map field Server from IETFSystem_System_DnsResolver.

It initializes the field if not already initialized.

func (*IETFSystem_System_DnsResolver) GetSearch

func (t *IETFSystem_System_DnsResolver) GetSearch() []string

GetSearch retrieves the value of the leaf Search from the IETFSystem_System_DnsResolver struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Search is set, it can safely use t.GetSearch() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Search == nil' before retrieving the leaf's value.

func (*IETFSystem_System_DnsResolver) GetServer

GetServer retrieves the value with the specified key from the Server map field of IETFSystem_System_DnsResolver. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.

func (*IETFSystem_System_DnsResolver) IsYANGGoStruct

func (*IETFSystem_System_DnsResolver) IsYANGGoStruct()

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

func (*IETFSystem_System_DnsResolver) Validate

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

func (*IETFSystem_System_DnsResolver) ΛBelongingModule

func (*IETFSystem_System_DnsResolver) ΛBelongingModule() string

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

func (*IETFSystem_System_DnsResolver) ΛEnumTypeMap

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

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

type IETFSystem_System_DnsResolver_Options

type IETFSystem_System_DnsResolver_Options struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Attempts  *uint8            `path:"attempts" module:"ietf-system"`
	ΛAttempts []ygot.Annotation `path:"@attempts" ygotAnnotation:"true"`
	Timeout   *uint8            `path:"timeout" module:"ietf-system"`
	ΛTimeout  []ygot.Annotation `path:"@timeout" ygotAnnotation:"true"`
}

IETFSystem_System_DnsResolver_Options represents the /ietf-system/system/dns-resolver/options YANG schema element.

func (*IETFSystem_System_DnsResolver_Options) GetAttempts

GetAttempts retrieves the value of the leaf Attempts from the IETFSystem_System_DnsResolver_Options struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Attempts is set, it can safely use t.GetAttempts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Attempts == nil' before retrieving the leaf's value.

func (*IETFSystem_System_DnsResolver_Options) GetTimeout

GetTimeout retrieves the value of the leaf Timeout from the IETFSystem_System_DnsResolver_Options struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Timeout is set, it can safely use t.GetTimeout() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Timeout == nil' before retrieving the leaf's value.

func (*IETFSystem_System_DnsResolver_Options) IsYANGGoStruct

func (*IETFSystem_System_DnsResolver_Options) IsYANGGoStruct()

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

func (*IETFSystem_System_DnsResolver_Options) Validate

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

func (*IETFSystem_System_DnsResolver_Options) ΛBelongingModule

func (*IETFSystem_System_DnsResolver_Options) ΛBelongingModule() string

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

func (*IETFSystem_System_DnsResolver_Options) ΛEnumTypeMap

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

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

type IETFSystem_System_DnsResolver_Server

type IETFSystem_System_DnsResolver_Server struct {
	ΛMetadata  []ygot.Annotation                               `path:"@" ygotAnnotation:"true"`
	Name       *string                                         `path:"name" module:"ietf-system"`
	ΛName      []ygot.Annotation                               `path:"@name" ygotAnnotation:"true"`
	UdpAndTcp  *IETFSystem_System_DnsResolver_Server_UdpAndTcp `path:"udp-and-tcp" module:"ietf-system"`
	ΛUdpAndTcp []ygot.Annotation                               `path:"@udp-and-tcp" ygotAnnotation:"true"`
}

IETFSystem_System_DnsResolver_Server represents the /ietf-system/system/dns-resolver/server YANG schema element.

func (*IETFSystem_System_DnsResolver_Server) GetName

GetName retrieves the value of the leaf Name from the IETFSystem_System_DnsResolver_Server struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Name is set, it can safely use t.GetName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Name == nil' before retrieving the leaf's value.

func (*IETFSystem_System_DnsResolver_Server) GetOrCreateUdpAndTcp

GetOrCreateUdpAndTcp retrieves the value of the UdpAndTcp field or returns the existing field if it already exists.

func (*IETFSystem_System_DnsResolver_Server) GetUdpAndTcp

GetUdpAndTcp returns the value of the UdpAndTcp struct pointer from IETFSystem_System_DnsResolver_Server. If the receiver or the field UdpAndTcp is nil, nil is returned such that the Get* methods can be safely chained.

func (*IETFSystem_System_DnsResolver_Server) IsYANGGoStruct

func (*IETFSystem_System_DnsResolver_Server) IsYANGGoStruct()

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

func (*IETFSystem_System_DnsResolver_Server) Validate

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

func (*IETFSystem_System_DnsResolver_Server) ΛBelongingModule

func (*IETFSystem_System_DnsResolver_Server) ΛBelongingModule() string

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

func (*IETFSystem_System_DnsResolver_Server) ΛEnumTypeMap

func (t *IETFSystem_System_DnsResolver_Server) ΛEnumTypeMap() map[string][]reflect.Type

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

func (*IETFSystem_System_DnsResolver_Server) ΛListKeyMap

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

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

func (*IETFSystem_System_DnsResolver_Server) ΛValidate

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

type IETFSystem_System_DnsResolver_Server_OrderedMap

type IETFSystem_System_DnsResolver_Server_OrderedMap struct {
	// contains filtered or unexported fields
}

IETFSystem_System_DnsResolver_Server_OrderedMap is an ordered map that represents the "ordered-by user" list elements at /ietf-system/system/dns-resolver/server.

func (*IETFSystem_System_DnsResolver_Server_OrderedMap) Append

Append appends a IETFSystem_System_DnsResolver_Server, returning an error if the key already exists in the ordered list or if the key is unspecified.

func (*IETFSystem_System_DnsResolver_Server_OrderedMap) AppendNew

AppendNew creates and appends a new IETFSystem_System_DnsResolver_Server, returning the newly-initialized v. It returns an error if the v already exists.

func (*IETFSystem_System_DnsResolver_Server_OrderedMap) Delete

Delete deletes an element.

func (*IETFSystem_System_DnsResolver_Server_OrderedMap) Get

Get returns the value corresponding to the key. If the key is not found, nil is returned.

func (*IETFSystem_System_DnsResolver_Server_OrderedMap) IsYANGOrderedList

IsYANGOrderedList ensures that IETFSystem_System_DnsResolver_Server_OrderedMap implements the ygot.GoOrderedMap interface.

func (*IETFSystem_System_DnsResolver_Server_OrderedMap) Keys

Keys returns a copy of the list's keys.

func (*IETFSystem_System_DnsResolver_Server_OrderedMap) Len

Len returns a size of IETFSystem_System_DnsResolver_Server_OrderedMap

func (*IETFSystem_System_DnsResolver_Server_OrderedMap) Values

Values returns the current set of the list's values in order.

type IETFSystem_System_DnsResolver_Server_UdpAndTcp

type IETFSystem_System_DnsResolver_Server_UdpAndTcp struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Address   *string           `path:"address" module:"ietf-system"`
	ΛAddress  []ygot.Annotation `path:"@address" ygotAnnotation:"true"`
	Port      *uint16           `path:"port" module:"ietf-system"`
	ΛPort     []ygot.Annotation `path:"@port" ygotAnnotation:"true"`
}

IETFSystem_System_DnsResolver_Server_UdpAndTcp represents the /ietf-system/system/dns-resolver/server/udp-and-tcp YANG schema element.

func (*IETFSystem_System_DnsResolver_Server_UdpAndTcp) GetAddress

GetAddress retrieves the value of the leaf Address from the IETFSystem_System_DnsResolver_Server_UdpAndTcp struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Address is set, it can safely use t.GetAddress() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Address == nil' before retrieving the leaf's value.

func (*IETFSystem_System_DnsResolver_Server_UdpAndTcp) GetPort

GetPort retrieves the value of the leaf Port from the IETFSystem_System_DnsResolver_Server_UdpAndTcp struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Port is set, it can safely use t.GetPort() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Port == nil' before retrieving the leaf's value.

func (*IETFSystem_System_DnsResolver_Server_UdpAndTcp) IsYANGGoStruct

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

func (*IETFSystem_System_DnsResolver_Server_UdpAndTcp) Validate

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

func (*IETFSystem_System_DnsResolver_Server_UdpAndTcp) ΛBelongingModule

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

func (*IETFSystem_System_DnsResolver_Server_UdpAndTcp) ΛEnumTypeMap

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

func (*IETFSystem_System_DnsResolver_Server_UdpAndTcp) ΛValidate

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

type IETFSystem_System_Ntp

type IETFSystem_System_Ntp struct {
	ΛMetadata []ygot.Annotation                        `path:"@" ygotAnnotation:"true"`
	Enabled   *bool                                    `path:"enabled" module:"ietf-system"`
	ΛEnabled  []ygot.Annotation                        `path:"@enabled" ygotAnnotation:"true"`
	Server    map[string]*IETFSystem_System_Ntp_Server `path:"server" module:"ietf-system"`
	ΛServer   []ygot.Annotation                        `path:"@server" ygotAnnotation:"true"`
}

IETFSystem_System_Ntp represents the /ietf-system/system/ntp YANG schema element.

func (*IETFSystem_System_Ntp) AppendServer

AppendServer appends the supplied IETFSystem_System_Ntp_Server struct to the list Server of IETFSystem_System_Ntp. If the key value(s) specified in the supplied IETFSystem_System_Ntp_Server already exist in the list, an error is returned.

func (*IETFSystem_System_Ntp) GetEnabled

func (t *IETFSystem_System_Ntp) GetEnabled() bool

GetEnabled retrieves the value of the leaf Enabled from the IETFSystem_System_Ntp struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Enabled is set, it can safely use t.GetEnabled() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Enabled == nil' before retrieving the leaf's value.

func (*IETFSystem_System_Ntp) GetOrCreateServer

func (t *IETFSystem_System_Ntp) GetOrCreateServer(Name string) *IETFSystem_System_Ntp_Server

GetOrCreateServer retrieves the value with the specified keys from the receiver IETFSystem_System_Ntp. If the entry does not exist, then it is created. It returns the existing or new list member.

func (*IETFSystem_System_Ntp) GetOrCreateServerMap

func (t *IETFSystem_System_Ntp) GetOrCreateServerMap() map[string]*IETFSystem_System_Ntp_Server

GetOrCreateServerMap returns the list (map) from IETFSystem_System_Ntp.

It initializes the field if not already initialized.

func (*IETFSystem_System_Ntp) GetServer

GetServer retrieves the value with the specified key from the Server map field of IETFSystem_System_Ntp. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.

func (*IETFSystem_System_Ntp) IsYANGGoStruct

func (*IETFSystem_System_Ntp) IsYANGGoStruct()

IsYANGGoStruct ensures that IETFSystem_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 (*IETFSystem_System_Ntp) NewServer

NewServer creates a new entry in the Server list of the IETFSystem_System_Ntp struct. The keys of the list are populated from the input arguments.

func (*IETFSystem_System_Ntp) RenameServer

func (t *IETFSystem_System_Ntp) RenameServer(oldK, newK string) error

RenameServer renames an entry in the list Server within the IETFSystem_System_Ntp struct. The entry with key oldK is renamed to newK updating the key within the value.

func (*IETFSystem_System_Ntp) Validate

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

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

func (*IETFSystem_System_Ntp) ΛBelongingModule

func (*IETFSystem_System_Ntp) ΛBelongingModule() string

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

func (*IETFSystem_System_Ntp) ΛEnumTypeMap

func (t *IETFSystem_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 (*IETFSystem_System_Ntp) ΛValidate

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

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

type IETFSystem_System_Ntp_Server

type IETFSystem_System_Ntp_Server struct {
	ΛMetadata        []ygot.Annotation                              `path:"@" ygotAnnotation:"true"`
	AssociationType  E_IETFSystem_System_Ntp_Server_AssociationType `path:"association-type" module:"ietf-system"`
	ΛAssociationType []ygot.Annotation                              `path:"@association-type" ygotAnnotation:"true"`
	Iburst           *bool                                          `path:"iburst" module:"ietf-system"`
	ΛIburst          []ygot.Annotation                              `path:"@iburst" ygotAnnotation:"true"`
	Name             *string                                        `path:"name" module:"ietf-system"`
	ΛName            []ygot.Annotation                              `path:"@name" ygotAnnotation:"true"`
	Prefer           *bool                                          `path:"prefer" module:"ietf-system"`
	ΛPrefer          []ygot.Annotation                              `path:"@prefer" ygotAnnotation:"true"`
	Udp              *IETFSystem_System_Ntp_Server_Udp              `path:"udp" module:"ietf-system"`
	ΛUdp             []ygot.Annotation                              `path:"@udp" ygotAnnotation:"true"`
}

IETFSystem_System_Ntp_Server represents the /ietf-system/system/ntp/server YANG schema element.

func (*IETFSystem_System_Ntp_Server) GetAssociationType

GetAssociationType retrieves the value of the leaf AssociationType from the IETFSystem_System_Ntp_Server struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AssociationType is set, it can safely use t.GetAssociationType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AssociationType == nil' before retrieving the leaf's value.

func (*IETFSystem_System_Ntp_Server) GetIburst

func (t *IETFSystem_System_Ntp_Server) GetIburst() bool

GetIburst retrieves the value of the leaf Iburst from the IETFSystem_System_Ntp_Server struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Iburst is set, it can safely use t.GetIburst() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Iburst == nil' before retrieving the leaf's value.

func (*IETFSystem_System_Ntp_Server) GetName

func (t *IETFSystem_System_Ntp_Server) GetName() string

GetName retrieves the value of the leaf Name from the IETFSystem_System_Ntp_Server struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Name is set, it can safely use t.GetName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Name == nil' before retrieving the leaf's value.

func (*IETFSystem_System_Ntp_Server) GetOrCreateUdp

GetOrCreateUdp retrieves the value of the Udp field or returns the existing field if it already exists.

func (*IETFSystem_System_Ntp_Server) GetPrefer

func (t *IETFSystem_System_Ntp_Server) GetPrefer() bool

GetPrefer retrieves the value of the leaf Prefer from the IETFSystem_System_Ntp_Server struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Prefer is set, it can safely use t.GetPrefer() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Prefer == nil' before retrieving the leaf's value.

func (*IETFSystem_System_Ntp_Server) GetUdp

GetUdp returns the value of the Udp struct pointer from IETFSystem_System_Ntp_Server. If the receiver or the field Udp is nil, nil is returned such that the Get* methods can be safely chained.

func (*IETFSystem_System_Ntp_Server) IsYANGGoStruct

func (*IETFSystem_System_Ntp_Server) IsYANGGoStruct()

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

func (*IETFSystem_System_Ntp_Server) Validate

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

func (*IETFSystem_System_Ntp_Server) ΛBelongingModule

func (*IETFSystem_System_Ntp_Server) ΛBelongingModule() string

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

func (*IETFSystem_System_Ntp_Server) ΛEnumTypeMap

func (t *IETFSystem_System_Ntp_Server) ΛEnumTypeMap() map[string][]reflect.Type

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

func (*IETFSystem_System_Ntp_Server) ΛListKeyMap

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

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

func (*IETFSystem_System_Ntp_Server) ΛValidate

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

type IETFSystem_System_Ntp_Server_Udp

type IETFSystem_System_Ntp_Server_Udp struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Address   *string           `path:"address" module:"ietf-system"`
	ΛAddress  []ygot.Annotation `path:"@address" ygotAnnotation:"true"`
	Port      *uint16           `path:"port" module:"ietf-system"`
	ΛPort     []ygot.Annotation `path:"@port" ygotAnnotation:"true"`
}

IETFSystem_System_Ntp_Server_Udp represents the /ietf-system/system/ntp/server/udp YANG schema element.

func (*IETFSystem_System_Ntp_Server_Udp) GetAddress

func (t *IETFSystem_System_Ntp_Server_Udp) GetAddress() string

GetAddress retrieves the value of the leaf Address from the IETFSystem_System_Ntp_Server_Udp struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Address is set, it can safely use t.GetAddress() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Address == nil' before retrieving the leaf's value.

func (*IETFSystem_System_Ntp_Server_Udp) GetPort

GetPort retrieves the value of the leaf Port from the IETFSystem_System_Ntp_Server_Udp struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Port is set, it can safely use t.GetPort() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Port == nil' before retrieving the leaf's value.

func (*IETFSystem_System_Ntp_Server_Udp) IsYANGGoStruct

func (*IETFSystem_System_Ntp_Server_Udp) IsYANGGoStruct()

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

func (*IETFSystem_System_Ntp_Server_Udp) Validate

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

func (*IETFSystem_System_Ntp_Server_Udp) ΛBelongingModule

func (*IETFSystem_System_Ntp_Server_Udp) ΛBelongingModule() string

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

func (*IETFSystem_System_Ntp_Server_Udp) ΛEnumTypeMap

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

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

type IETFSystem_System_Radius

type IETFSystem_System_Radius struct {
	ΛMetadata []ygot.Annotation                           `path:"@" ygotAnnotation:"true"`
	Options   *IETFSystem_System_Radius_Options           `path:"options" module:"ietf-system"`
	ΛOptions  []ygot.Annotation                           `path:"@options" ygotAnnotation:"true"`
	Server    *IETFSystem_System_Radius_Server_OrderedMap `path:"server" module:"ietf-system"`
	ΛServer   []ygot.Annotation                           `path:"@server" ygotAnnotation:"true"`
}

IETFSystem_System_Radius represents the /ietf-system/system/radius YANG schema element.

func (*IETFSystem_System_Radius) AppendNewServer

AppendNewServer creates a new entry in the Server ordered map of the IETFSystem_System_Radius struct. The keys of the list are populated from the input arguments.

func (*IETFSystem_System_Radius) AppendServer

AppendServer appends the supplied IETFSystem_System_Radius_Server struct to the list Server of IETFSystem_System_Radius. If the key value(s) specified in the supplied IETFSystem_System_Radius_Server already exist in the list, an error is returned.

func (*IETFSystem_System_Radius) DeleteServer

func (s *IETFSystem_System_Radius) DeleteServer(Name string) bool

DeleteServer deletes the value with the specified keys from the receiver IETFSystem_System_Radius. If there is no such element, the function is a no-op.

func (*IETFSystem_System_Radius) GetOptions

GetOptions returns the value of the Options struct pointer from IETFSystem_System_Radius. If the receiver or the field Options is nil, nil is returned such that the Get* methods can be safely chained.

func (*IETFSystem_System_Radius) GetOrCreateOptions

GetOrCreateOptions retrieves the value of the Options field or returns the existing field if it already exists.

func (*IETFSystem_System_Radius) GetOrCreateServerMap

GetOrCreateServerMap returns the ordered map field Server from IETFSystem_System_Radius.

It initializes the field if not already initialized.

func (*IETFSystem_System_Radius) GetServer

GetServer retrieves the value with the specified key from the Server map field of IETFSystem_System_Radius. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.

func (*IETFSystem_System_Radius) IsYANGGoStruct

func (*IETFSystem_System_Radius) IsYANGGoStruct()

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

func (*IETFSystem_System_Radius) Validate

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

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

func (*IETFSystem_System_Radius) ΛBelongingModule

func (*IETFSystem_System_Radius) ΛBelongingModule() string

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

func (*IETFSystem_System_Radius) ΛEnumTypeMap

func (t *IETFSystem_System_Radius) ΛEnumTypeMap() map[string][]reflect.Type

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

func (*IETFSystem_System_Radius) ΛValidate

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

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

type IETFSystem_System_Radius_Options

type IETFSystem_System_Radius_Options struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Attempts  *uint8            `path:"attempts" module:"ietf-system"`
	ΛAttempts []ygot.Annotation `path:"@attempts" ygotAnnotation:"true"`
	Timeout   *uint8            `path:"timeout" module:"ietf-system"`
	ΛTimeout  []ygot.Annotation `path:"@timeout" ygotAnnotation:"true"`
}

IETFSystem_System_Radius_Options represents the /ietf-system/system/radius/options YANG schema element.

func (*IETFSystem_System_Radius_Options) GetAttempts

func (t *IETFSystem_System_Radius_Options) GetAttempts() uint8

GetAttempts retrieves the value of the leaf Attempts from the IETFSystem_System_Radius_Options struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Attempts is set, it can safely use t.GetAttempts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Attempts == nil' before retrieving the leaf's value.

func (*IETFSystem_System_Radius_Options) GetTimeout

func (t *IETFSystem_System_Radius_Options) GetTimeout() uint8

GetTimeout retrieves the value of the leaf Timeout from the IETFSystem_System_Radius_Options struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Timeout is set, it can safely use t.GetTimeout() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Timeout == nil' before retrieving the leaf's value.

func (*IETFSystem_System_Radius_Options) IsYANGGoStruct

func (*IETFSystem_System_Radius_Options) IsYANGGoStruct()

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

func (*IETFSystem_System_Radius_Options) Validate

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

func (*IETFSystem_System_Radius_Options) ΛBelongingModule

func (*IETFSystem_System_Radius_Options) ΛBelongingModule() string

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

func (*IETFSystem_System_Radius_Options) ΛEnumTypeMap

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

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

type IETFSystem_System_Radius_Server

type IETFSystem_System_Radius_Server struct {
	ΛMetadata           []ygot.Annotation                     `path:"@" ygotAnnotation:"true"`
	AuthenticationType  E_IETFSystem_RadiusAuthenticationType `path:"authentication-type" module:"ietf-system"`
	ΛAuthenticationType []ygot.Annotation                     `path:"@authentication-type" ygotAnnotation:"true"`
	Name                *string                               `path:"name" module:"ietf-system"`
	ΛName               []ygot.Annotation                     `path:"@name" ygotAnnotation:"true"`
	Udp                 *IETFSystem_System_Radius_Server_Udp  `path:"udp" module:"ietf-system"`
	ΛUdp                []ygot.Annotation                     `path:"@udp" ygotAnnotation:"true"`
}

IETFSystem_System_Radius_Server represents the /ietf-system/system/radius/server YANG schema element.

func (*IETFSystem_System_Radius_Server) GetAuthenticationType

GetAuthenticationType retrieves the value of the leaf AuthenticationType from the IETFSystem_System_Radius_Server struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AuthenticationType is set, it can safely use t.GetAuthenticationType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AuthenticationType == nil' before retrieving the leaf's value.

func (*IETFSystem_System_Radius_Server) GetName

GetName retrieves the value of the leaf Name from the IETFSystem_System_Radius_Server struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Name is set, it can safely use t.GetName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Name == nil' before retrieving the leaf's value.

func (*IETFSystem_System_Radius_Server) GetOrCreateUdp

GetOrCreateUdp retrieves the value of the Udp field or returns the existing field if it already exists.

func (*IETFSystem_System_Radius_Server) GetUdp

GetUdp returns the value of the Udp struct pointer from IETFSystem_System_Radius_Server. If the receiver or the field Udp is nil, nil is returned such that the Get* methods can be safely chained.

func (*IETFSystem_System_Radius_Server) IsYANGGoStruct

func (*IETFSystem_System_Radius_Server) IsYANGGoStruct()

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

func (*IETFSystem_System_Radius_Server) Validate

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

func (*IETFSystem_System_Radius_Server) ΛBelongingModule

func (*IETFSystem_System_Radius_Server) ΛBelongingModule() string

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

func (*IETFSystem_System_Radius_Server) ΛEnumTypeMap

func (t *IETFSystem_System_Radius_Server) ΛEnumTypeMap() map[string][]reflect.Type

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

func (*IETFSystem_System_Radius_Server) ΛListKeyMap

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

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

func (*IETFSystem_System_Radius_Server) ΛValidate

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

type IETFSystem_System_Radius_Server_OrderedMap

type IETFSystem_System_Radius_Server_OrderedMap struct {
	// contains filtered or unexported fields
}

IETFSystem_System_Radius_Server_OrderedMap is an ordered map that represents the "ordered-by user" list elements at /ietf-system/system/radius/server.

func (*IETFSystem_System_Radius_Server_OrderedMap) Append

Append appends a IETFSystem_System_Radius_Server, returning an error if the key already exists in the ordered list or if the key is unspecified.

func (*IETFSystem_System_Radius_Server_OrderedMap) AppendNew

AppendNew creates and appends a new IETFSystem_System_Radius_Server, returning the newly-initialized v. It returns an error if the v already exists.

func (*IETFSystem_System_Radius_Server_OrderedMap) Delete

Delete deletes an element.

func (*IETFSystem_System_Radius_Server_OrderedMap) Get

Get returns the value corresponding to the key. If the key is not found, nil is returned.

func (*IETFSystem_System_Radius_Server_OrderedMap) IsYANGOrderedList

func (*IETFSystem_System_Radius_Server_OrderedMap) IsYANGOrderedList()

IsYANGOrderedList ensures that IETFSystem_System_Radius_Server_OrderedMap implements the ygot.GoOrderedMap interface.

func (*IETFSystem_System_Radius_Server_OrderedMap) Keys

Keys returns a copy of the list's keys.

func (*IETFSystem_System_Radius_Server_OrderedMap) Len

Len returns a size of IETFSystem_System_Radius_Server_OrderedMap

func (*IETFSystem_System_Radius_Server_OrderedMap) Values

Values returns the current set of the list's values in order.

type IETFSystem_System_Radius_Server_Udp

type IETFSystem_System_Radius_Server_Udp struct {
	ΛMetadata           []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Address             *string           `path:"address" module:"ietf-system"`
	ΛAddress            []ygot.Annotation `path:"@address" ygotAnnotation:"true"`
	AuthenticationPort  *uint16           `path:"authentication-port" module:"ietf-system"`
	ΛAuthenticationPort []ygot.Annotation `path:"@authentication-port" ygotAnnotation:"true"`
	SharedSecret        *string           `path:"shared-secret" module:"ietf-system"`
	ΛSharedSecret       []ygot.Annotation `path:"@shared-secret" ygotAnnotation:"true"`
}

IETFSystem_System_Radius_Server_Udp represents the /ietf-system/system/radius/server/udp YANG schema element.

func (*IETFSystem_System_Radius_Server_Udp) GetAddress

GetAddress retrieves the value of the leaf Address from the IETFSystem_System_Radius_Server_Udp struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Address is set, it can safely use t.GetAddress() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Address == nil' before retrieving the leaf's value.

func (*IETFSystem_System_Radius_Server_Udp) GetAuthenticationPort

func (t *IETFSystem_System_Radius_Server_Udp) GetAuthenticationPort() uint16

GetAuthenticationPort retrieves the value of the leaf AuthenticationPort from the IETFSystem_System_Radius_Server_Udp struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AuthenticationPort is set, it can safely use t.GetAuthenticationPort() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AuthenticationPort == nil' before retrieving the leaf's value.

func (*IETFSystem_System_Radius_Server_Udp) GetSharedSecret

func (t *IETFSystem_System_Radius_Server_Udp) GetSharedSecret() string

GetSharedSecret retrieves the value of the leaf SharedSecret from the IETFSystem_System_Radius_Server_Udp struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SharedSecret is set, it can safely use t.GetSharedSecret() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SharedSecret == nil' before retrieving the leaf's value.

func (*IETFSystem_System_Radius_Server_Udp) IsYANGGoStruct

func (*IETFSystem_System_Radius_Server_Udp) IsYANGGoStruct()

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

func (*IETFSystem_System_Radius_Server_Udp) Validate

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

func (*IETFSystem_System_Radius_Server_Udp) ΛBelongingModule

func (*IETFSystem_System_Radius_Server_Udp) ΛBelongingModule() string

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

func (*IETFSystem_System_Radius_Server_Udp) ΛEnumTypeMap

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

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

type UnionBool

type UnionBool bool

UnionBool is a bool type assignable to unions of which it is a subtype.

type UnionFloat64

type UnionFloat64 float64

UnionFloat64 is a float64 type assignable to unions of which it is a subtype.

type UnionInt16

type UnionInt16 int16

UnionInt16 is an int16 type assignable to unions of which it is a subtype.

type UnionInt32

type UnionInt32 int32

UnionInt32 is an int32 type assignable to unions of which it is a subtype.

func (UnionInt32) Documentation_for_IETFSnmp_Snmp_Target_Mms_Union

func (UnionInt32) Documentation_for_IETFSnmp_Snmp_Target_Mms_Union()

Documentation_for_IETFSnmp_Snmp_Target_Mms_Union ensures that UnionInt32 implements the IETFSnmp_Snmp_Target_Mms_Union interface.

func (UnionInt32) Documentation_for_IETFSnmp_Snmp_Vacm_Group_Access_SecurityModel_Union

func (UnionInt32) Documentation_for_IETFSnmp_Snmp_Vacm_Group_Access_SecurityModel_Union()

Documentation_for_IETFSnmp_Snmp_Vacm_Group_Access_SecurityModel_Union ensures that UnionInt32 implements the IETFSnmp_Snmp_Vacm_Group_Access_SecurityModel_Union interface.

func (UnionInt32) Documentation_for_IETFSnmp_Snmp_Vacm_Group_Member_SecurityModel_Union

func (UnionInt32) Documentation_for_IETFSnmp_Snmp_Vacm_Group_Member_SecurityModel_Union()

Documentation_for_IETFSnmp_Snmp_Vacm_Group_Member_SecurityModel_Union ensures that UnionInt32 implements the IETFSnmp_Snmp_Vacm_Group_Member_SecurityModel_Union interface.

type UnionInt64

type UnionInt64 int64

UnionInt64 is an int64 type assignable to unions of which it is a subtype.

type UnionInt8

type UnionInt8 int8

UnionInt8 is an int8 type assignable to unions of which it is a subtype.

type UnionString

type UnionString string

UnionString is a string type assignable to unions of which it is a subtype.

func (UnionString) Documentation_for_IETFNetconfAcm_Nacm_RuleList_Rule_AccessOperations_Union

func (UnionString) Documentation_for_IETFNetconfAcm_Nacm_RuleList_Rule_AccessOperations_Union()

Documentation_for_IETFNetconfAcm_Nacm_RuleList_Rule_AccessOperations_Union ensures that UnionString implements the IETFNetconfAcm_Nacm_RuleList_Rule_AccessOperations_Union interface.

type UnionUint16

type UnionUint16 uint16

UnionUint16 is a uint16 type assignable to unions of which it is a subtype.

type UnionUint32

type UnionUint32 uint32

UnionUint32 is a uint32 type assignable to unions of which it is a subtype.

type UnionUint64

type UnionUint64 uint64

UnionUint64 is a uint64 type assignable to unions of which it is a subtype.

type UnionUint8

type UnionUint8 uint8

UnionUint8 is a uint8 type assignable to unions of which it is a subtype.

type UnionUnsupported

type UnionUnsupported struct {
	Value interface{}
}

UnionUnsupported is an interface{} wrapper type for unsupported types. It is assignable to unions of which it is a subtype.

func (*UnionUnsupported) Documentation_for_IETFNetconfAcm_Nacm_RuleList_Rule_AccessOperations_Union

func (*UnionUnsupported) Documentation_for_IETFNetconfAcm_Nacm_RuleList_Rule_AccessOperations_Union()

Documentation_for_IETFNetconfAcm_Nacm_RuleList_Rule_AccessOperations_Union ensures that *UnionUnsupported implements the IETFNetconfAcm_Nacm_RuleList_Rule_AccessOperations_Union interface.

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