uexampleoc

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

README

OpenConfig Uncompressed ygot Example Go Structs

This directory contains an example generated set of structs from a subset of the OpenConfig models. This particular build has an uncompressed output, and is used for integration tests.

This package WILL change without warning, and SHOULD NOT be imported into your application. Rather, you should generate bindings directly using the ygot package.

Documentation

Overview

Package uexampleoc is a generated package which contains definitions of structs which represent a YANG schema. The generated schema can be compressed by a series of transformations (compression was false in this case).

NOTE WELL: This is an example code file that is distributed with ygot. It should not be used within your application, as it WILL change, without warning. Rather, you should generate structs directly from OpenConfig models using the ygot package.

This package was generated by github.com/openconfig/ygot using the following YANG input files:

  • public/release/models/system/openconfig-system.yang
  • public/release/models/platform/openconfig-platform.yang
  • public/release/models/optical-transport/openconfig-terminal-device.yang

Imported modules were sourced from:

  • public/...
  • deps/...

Index

Constants

This section is empty.

Variables

View Source
var (
	SchemaTree map[string]*yang.Entry
)
View Source
var ΛEnum = map[string]map[int64]ygot.EnumDefinition{
	"E_IETFInterfaces_InterfaceType": {
		1:   {Name: "a12MppSwitch", DefiningModule: "iana-if-type"},
		2:   {Name: "aal2", DefiningModule: "iana-if-type"},
		3:   {Name: "aal5", DefiningModule: "iana-if-type"},
		4:   {Name: "actelisMetaLOOP", DefiningModule: "iana-if-type"},
		5:   {Name: "adsl", DefiningModule: "iana-if-type"},
		6:   {Name: "adsl2", DefiningModule: "iana-if-type"},
		7:   {Name: "adsl2plus", DefiningModule: "iana-if-type"},
		8:   {Name: "aflane8023", DefiningModule: "iana-if-type"},
		9:   {Name: "aflane8025", DefiningModule: "iana-if-type"},
		10:  {Name: "aluELP", DefiningModule: "iana-if-type"},
		11:  {Name: "aluEpon", DefiningModule: "iana-if-type"},
		12:  {Name: "aluEponLogicalLink", DefiningModule: "iana-if-type"},
		13:  {Name: "aluEponOnu", DefiningModule: "iana-if-type"},
		14:  {Name: "aluEponPhysicalUni", DefiningModule: "iana-if-type"},
		15:  {Name: "aluGponOnu", DefiningModule: "iana-if-type"},
		16:  {Name: "aluGponPhysicalUni", DefiningModule: "iana-if-type"},
		17:  {Name: "arap", DefiningModule: "iana-if-type"},
		18:  {Name: "arcnet", DefiningModule: "iana-if-type"},
		19:  {Name: "arcnetPlus", DefiningModule: "iana-if-type"},
		20:  {Name: "async", DefiningModule: "iana-if-type"},
		21:  {Name: "atm", DefiningModule: "iana-if-type"},
		22:  {Name: "atmDxi", DefiningModule: "iana-if-type"},
		23:  {Name: "atmFuni", DefiningModule: "iana-if-type"},
		24:  {Name: "atmIma", DefiningModule: "iana-if-type"},
		25:  {Name: "atmLogical", DefiningModule: "iana-if-type"},
		26:  {Name: "atmRadio", DefiningModule: "iana-if-type"},
		27:  {Name: "atmSubInterface", DefiningModule: "iana-if-type"},
		28:  {Name: "atmVciEndPt", DefiningModule: "iana-if-type"},
		29:  {Name: "atmVirtual", DefiningModule: "iana-if-type"},
		30:  {Name: "atmbond", DefiningModule: "iana-if-type"},
		31:  {Name: "aviciOpticalEther", DefiningModule: "iana-if-type"},
		32:  {Name: "basicISDN", DefiningModule: "iana-if-type"},
		33:  {Name: "bgppolicyaccounting", DefiningModule: "iana-if-type"},
		34:  {Name: "bits", DefiningModule: "iana-if-type"},
		35:  {Name: "bridge", DefiningModule: "iana-if-type"},
		36:  {Name: "bsc", DefiningModule: "iana-if-type"},
		37:  {Name: "cableDownstreamRfPort", DefiningModule: "iana-if-type"},
		38:  {Name: "capwapDot11Bss", DefiningModule: "iana-if-type"},
		39:  {Name: "capwapDot11Profile", DefiningModule: "iana-if-type"},
		40:  {Name: "capwapWtpVirtualRadio", DefiningModule: "iana-if-type"},
		41:  {Name: "cblVectaStar", DefiningModule: "iana-if-type"},
		42:  {Name: "cctEmul", DefiningModule: "iana-if-type"},
		43:  {Name: "ces", DefiningModule: "iana-if-type"},
		44:  {Name: "channel", DefiningModule: "iana-if-type"},
		45:  {Name: "ciscoISLvlan", DefiningModule: "iana-if-type"},
		46:  {Name: "cnr", DefiningModule: "iana-if-type"},
		47:  {Name: "coffee", DefiningModule: "iana-if-type"},
		48:  {Name: "compositeLink", DefiningModule: "iana-if-type"},
		49:  {Name: "dcn", DefiningModule: "iana-if-type"},
		50:  {Name: "ddnX25", DefiningModule: "iana-if-type"},
		51:  {Name: "digitalPowerline", DefiningModule: "iana-if-type"},
		52:  {Name: "digitalWrapperOverheadChannel", DefiningModule: "iana-if-type"},
		53:  {Name: "dlsw", DefiningModule: "iana-if-type"},
		54:  {Name: "docsCableDownstream", DefiningModule: "iana-if-type"},
		55:  {Name: "docsCableMCmtsDownstream", DefiningModule: "iana-if-type"},
		56:  {Name: "docsCableMaclayer", DefiningModule: "iana-if-type"},
		57:  {Name: "docsCableUpstream", DefiningModule: "iana-if-type"},
		58:  {Name: "docsCableUpstreamChannel", DefiningModule: "iana-if-type"},
		59:  {Name: "docsCableUpstreamRfPort", DefiningModule: "iana-if-type"},
		60:  {Name: "ds0", DefiningModule: "iana-if-type"},
		61:  {Name: "ds0Bundle", DefiningModule: "iana-if-type"},
		62:  {Name: "ds1", DefiningModule: "iana-if-type"},
		63:  {Name: "ds1FDL", DefiningModule: "iana-if-type"},
		64:  {Name: "ds3", DefiningModule: "iana-if-type"},
		65:  {Name: "dtm", DefiningModule: "iana-if-type"},
		66:  {Name: "dvbAsiIn", DefiningModule: "iana-if-type"},
		67:  {Name: "dvbAsiOut", DefiningModule: "iana-if-type"},
		68:  {Name: "dvbRccDownstream", DefiningModule: "iana-if-type"},
		69:  {Name: "dvbRccMacLayer", DefiningModule: "iana-if-type"},
		70:  {Name: "dvbRccUpstream", DefiningModule: "iana-if-type"},
		71:  {Name: "dvbRcsMacLayer", DefiningModule: "iana-if-type"},
		72:  {Name: "dvbRcsTdma", DefiningModule: "iana-if-type"},
		73:  {Name: "dvbTdm", DefiningModule: "iana-if-type"},
		74:  {Name: "e1", DefiningModule: "iana-if-type"},
		75:  {Name: "econet", DefiningModule: "iana-if-type"},
		76:  {Name: "eon", DefiningModule: "iana-if-type"},
		77:  {Name: "eplrs", DefiningModule: "iana-if-type"},
		78:  {Name: "escon", DefiningModule: "iana-if-type"},
		79:  {Name: "ethernet3Mbit", DefiningModule: "iana-if-type"},
		80:  {Name: "ethernetCsmacd", DefiningModule: "iana-if-type"},
		81:  {Name: "fast", DefiningModule: "iana-if-type"},
		82:  {Name: "fastEther", DefiningModule: "iana-if-type"},
		83:  {Name: "fastEtherFX", DefiningModule: "iana-if-type"},
		84:  {Name: "fcipLink", DefiningModule: "iana-if-type"},
		85:  {Name: "fddi", DefiningModule: "iana-if-type"},
		86:  {Name: "fibreChannel", DefiningModule: "iana-if-type"},
		87:  {Name: "frDlciEndPt", DefiningModule: "iana-if-type"},
		88:  {Name: "frForward", DefiningModule: "iana-if-type"},
		89:  {Name: "frameRelay", DefiningModule: "iana-if-type"},
		90:  {Name: "frameRelayInterconnect", DefiningModule: "iana-if-type"},
		91:  {Name: "frameRelayMPI", DefiningModule: "iana-if-type"},
		92:  {Name: "frameRelayService", DefiningModule: "iana-if-type"},
		93:  {Name: "frf16MfrBundle", DefiningModule: "iana-if-type"},
		94:  {Name: "g703at2mb", DefiningModule: "iana-if-type"},
		95:  {Name: "g703at64k", DefiningModule: "iana-if-type"},
		96:  {Name: "g9981", DefiningModule: "iana-if-type"},
		97:  {Name: "g9982", DefiningModule: "iana-if-type"},
		98:  {Name: "g9983", DefiningModule: "iana-if-type"},
		99:  {Name: "gfp", DefiningModule: "iana-if-type"},
		100: {Name: "gigabitEthernet", DefiningModule: "iana-if-type"},
		101: {Name: "gpon", DefiningModule: "iana-if-type"},
		102: {Name: "gr303IDT", DefiningModule: "iana-if-type"},
		103: {Name: "gr303RDT", DefiningModule: "iana-if-type"},
		104: {Name: "gtp", DefiningModule: "iana-if-type"},
		105: {Name: "h323Gatekeeper", DefiningModule: "iana-if-type"},
		106: {Name: "h323Proxy", DefiningModule: "iana-if-type"},
		107: {Name: "hdh1822", DefiningModule: "iana-if-type"},
		108: {Name: "hdlc", DefiningModule: "iana-if-type"},
		109: {Name: "hdsl2", DefiningModule: "iana-if-type"},
		110: {Name: "hiperlan2", DefiningModule: "iana-if-type"},
		111: {Name: "hippi", DefiningModule: "iana-if-type"},
		112: {Name: "hippiInterface", DefiningModule: "iana-if-type"},
		113: {Name: "homepna", DefiningModule: "iana-if-type"},
		114: {Name: "hostPad", DefiningModule: "iana-if-type"},
		115: {Name: "hssi", DefiningModule: "iana-if-type"},
		116: {Name: "hyperchannel", DefiningModule: "iana-if-type"},
		117: {Name: "iana-interface-type", DefiningModule: "iana-if-type"},
		118: {Name: "ibm370parChan", DefiningModule: "iana-if-type"},
		119: {Name: "idsl", DefiningModule: "iana-if-type"},
		120: {Name: "ieee1394", DefiningModule: "iana-if-type"},
		121: {Name: "ieee80211", DefiningModule: "iana-if-type"},
		122: {Name: "ieee80212", DefiningModule: "iana-if-type"},
		123: {Name: "ieee802154", DefiningModule: "iana-if-type"},
		124: {Name: "ieee80216WMAN", DefiningModule: "iana-if-type"},
		125: {Name: "ieee8023adLag", DefiningModule: "iana-if-type"},
		126: {Name: "if-gsn", DefiningModule: "iana-if-type"},
		127: {Name: "ifPwType", DefiningModule: "iana-if-type"},
		128: {Name: "ifVfiType", DefiningModule: "iana-if-type"},
		129: {Name: "ilan", DefiningModule: "iana-if-type"},
		130: {Name: "imt", DefiningModule: "iana-if-type"},
		131: {Name: "infiniband", DefiningModule: "iana-if-type"},
		132: {Name: "interleave", DefiningModule: "iana-if-type"},
		133: {Name: "ip", DefiningModule: "iana-if-type"},
		134: {Name: "ipForward", DefiningModule: "iana-if-type"},
		135: {Name: "ipOverAtm", DefiningModule: "iana-if-type"},
		136: {Name: "ipOverCdlc", DefiningModule: "iana-if-type"},
		137: {Name: "ipOverClaw", DefiningModule: "iana-if-type"},
		138: {Name: "ipSwitch", DefiningModule: "iana-if-type"},
		139: {Name: "isdn", DefiningModule: "iana-if-type"},
		140: {Name: "isdns", DefiningModule: "iana-if-type"},
		141: {Name: "isdnu", DefiningModule: "iana-if-type"},
		142: {Name: "iso88022llc", DefiningModule: "iana-if-type"},
		143: {Name: "iso88023Csmacd", DefiningModule: "iana-if-type"},
		144: {Name: "iso88024TokenBus", DefiningModule: "iana-if-type"},
		145: {Name: "iso88025CRFPInt", DefiningModule: "iana-if-type"},
		146: {Name: "iso88025Dtr", DefiningModule: "iana-if-type"},
		147: {Name: "iso88025Fiber", DefiningModule: "iana-if-type"},
		148: {Name: "iso88025TokenRing", DefiningModule: "iana-if-type"},
		149: {Name: "iso88026Man", DefiningModule: "iana-if-type"},
		150: {Name: "isup", DefiningModule: "iana-if-type"},
		151: {Name: "l2vlan", DefiningModule: "iana-if-type"},
		152: {Name: "l3ipvlan", DefiningModule: "iana-if-type"},
		153: {Name: "l3ipxvlan", DefiningModule: "iana-if-type"},
		154: {Name: "lapb", DefiningModule: "iana-if-type"},
		155: {Name: "lapd", DefiningModule: "iana-if-type"},
		156: {Name: "lapf", DefiningModule: "iana-if-type"},
		157: {Name: "linegroup", DefiningModule: "iana-if-type"},
		158: {Name: "lmp", DefiningModule: "iana-if-type"},
		159: {Name: "localTalk", DefiningModule: "iana-if-type"},
		160: {Name: "macSecControlledIF", DefiningModule: "iana-if-type"},
		161: {Name: "macSecUncontrolledIF", DefiningModule: "iana-if-type"},
		162: {Name: "mediaMailOverIp", DefiningModule: "iana-if-type"},
		163: {Name: "mfSigLink", DefiningModule: "iana-if-type"},
		164: {Name: "miox25", DefiningModule: "iana-if-type"},
		165: {Name: "mocaVersion1", DefiningModule: "iana-if-type"},
		166: {Name: "modem", DefiningModule: "iana-if-type"},
		167: {Name: "mpc", DefiningModule: "iana-if-type"},
		168: {Name: "mpegTransport", DefiningModule: "iana-if-type"},
		169: {Name: "mpls", DefiningModule: "iana-if-type"},
		170: {Name: "mplsTunnel", DefiningModule: "iana-if-type"},
		171: {Name: "msdsl", DefiningModule: "iana-if-type"},
		172: {Name: "mvl", DefiningModule: "iana-if-type"},
		173: {Name: "myrinet", DefiningModule: "iana-if-type"},
		174: {Name: "nfas", DefiningModule: "iana-if-type"},
		175: {Name: "nsip", DefiningModule: "iana-if-type"},
		176: {Name: "opticalChannel", DefiningModule: "iana-if-type"},
		177: {Name: "opticalChannelGroup", DefiningModule: "iana-if-type"},
		178: {Name: "opticalTransport", DefiningModule: "iana-if-type"},
		179: {Name: "other", DefiningModule: "iana-if-type"},
		180: {Name: "otnOdu", DefiningModule: "iana-if-type"},
		181: {Name: "otnOtu", DefiningModule: "iana-if-type"},
		182: {Name: "para", DefiningModule: "iana-if-type"},
		183: {Name: "pdnEtherLoop1", DefiningModule: "iana-if-type"},
		184: {Name: "pdnEtherLoop2", DefiningModule: "iana-if-type"},
		185: {Name: "pip", DefiningModule: "iana-if-type"},
		186: {Name: "plc", DefiningModule: "iana-if-type"},
		187: {Name: "pon155", DefiningModule: "iana-if-type"},
		188: {Name: "pon622", DefiningModule: "iana-if-type"},
		189: {Name: "pos", DefiningModule: "iana-if-type"},
		190: {Name: "ppp", DefiningModule: "iana-if-type"},
		191: {Name: "pppMultilinkBundle", DefiningModule: "iana-if-type"},
		192: {Name: "primaryISDN", DefiningModule: "iana-if-type"},
		193: {Name: "propAtm", DefiningModule: "iana-if-type"},
		194: {Name: "propBWAp2Mp", DefiningModule: "iana-if-type"},
		195: {Name: "propCnls", DefiningModule: "iana-if-type"},
		196: {Name: "propDocsWirelessDownstream", DefiningModule: "iana-if-type"},
		197: {Name: "propDocsWirelessMaclayer", DefiningModule: "iana-if-type"},
		198: {Name: "propDocsWirelessUpstream", DefiningModule: "iana-if-type"},
		199: {Name: "propMultiplexor", DefiningModule: "iana-if-type"},
		200: {Name: "propPointToPointSerial", DefiningModule: "iana-if-type"},
		201: {Name: "propVirtual", DefiningModule: "iana-if-type"},
		202: {Name: "propWirelessP2P", DefiningModule: "iana-if-type"},
		203: {Name: "proteon10Mbit", DefiningModule: "iana-if-type"},
		204: {Name: "proteon80Mbit", DefiningModule: "iana-if-type"},
		205: {Name: "q2931", DefiningModule: "iana-if-type"},
		206: {Name: "qam", DefiningModule: "iana-if-type"},
		207: {Name: "qllc", DefiningModule: "iana-if-type"},
		208: {Name: "radioMAC", DefiningModule: "iana-if-type"},
		209: {Name: "radsl", DefiningModule: "iana-if-type"},
		210: {Name: "reachDSL", DefiningModule: "iana-if-type"},
		211: {Name: "regular1822", DefiningModule: "iana-if-type"},
		212: {Name: "rfc1483", DefiningModule: "iana-if-type"},
		213: {Name: "rfc877x25", DefiningModule: "iana-if-type"},
		214: {Name: "rpr", DefiningModule: "iana-if-type"},
		215: {Name: "rs232", DefiningModule: "iana-if-type"},
		216: {Name: "rsrb", DefiningModule: "iana-if-type"},
		217: {Name: "sdlc", DefiningModule: "iana-if-type"},
		218: {Name: "sdsl", DefiningModule: "iana-if-type"},
		219: {Name: "shdsl", DefiningModule: "iana-if-type"},
		220: {Name: "sip", DefiningModule: "iana-if-type"},
		221: {Name: "sipSig", DefiningModule: "iana-if-type"},
		222: {Name: "sipTg", DefiningModule: "iana-if-type"},
		223: {Name: "sixToFour", DefiningModule: "iana-if-type"},
		224: {Name: "slip", DefiningModule: "iana-if-type"},
		225: {Name: "smdsDxi", DefiningModule: "iana-if-type"},
		226: {Name: "smdsIcip", DefiningModule: "iana-if-type"},
		227: {Name: "softwareLoopback", DefiningModule: "iana-if-type"},
		228: {Name: "sonet", DefiningModule: "iana-if-type"},
		229: {Name: "sonetOverheadChannel", DefiningModule: "iana-if-type"},
		230: {Name: "sonetPath", DefiningModule: "iana-if-type"},
		231: {Name: "sonetVT", DefiningModule: "iana-if-type"},
		232: {Name: "srp", DefiningModule: "iana-if-type"},
		233: {Name: "ss7SigLink", DefiningModule: "iana-if-type"},
		234: {Name: "stackToStack", DefiningModule: "iana-if-type"},
		235: {Name: "starLan", DefiningModule: "iana-if-type"},
		236: {Name: "tdlc", DefiningModule: "iana-if-type"},
		237: {Name: "teLink", DefiningModule: "iana-if-type"},
		238: {Name: "termPad", DefiningModule: "iana-if-type"},
		239: {Name: "tr008", DefiningModule: "iana-if-type"},
		240: {Name: "transpHdlc", DefiningModule: "iana-if-type"},
		241: {Name: "tunnel", DefiningModule: "iana-if-type"},
		242: {Name: "ultra", DefiningModule: "iana-if-type"},
		243: {Name: "usb", DefiningModule: "iana-if-type"},
		244: {Name: "v11", DefiningModule: "iana-if-type"},
		245: {Name: "v35", DefiningModule: "iana-if-type"},
		246: {Name: "v36", DefiningModule: "iana-if-type"},
		247: {Name: "v37", DefiningModule: "iana-if-type"},
		248: {Name: "vdsl", DefiningModule: "iana-if-type"},
		249: {Name: "vdsl2", DefiningModule: "iana-if-type"},
		250: {Name: "virtualIpAddress", DefiningModule: "iana-if-type"},
		251: {Name: "virtualTg", DefiningModule: "iana-if-type"},
		252: {Name: "vmwareNicTeam", DefiningModule: "iana-if-type"},
		253: {Name: "vmwareVirtualNic", DefiningModule: "iana-if-type"},
		254: {Name: "voiceDID", DefiningModule: "iana-if-type"},
		255: {Name: "voiceEBS", DefiningModule: "iana-if-type"},
		256: {Name: "voiceEM", DefiningModule: "iana-if-type"},
		257: {Name: "voiceEMFGD", DefiningModule: "iana-if-type"},
		258: {Name: "voiceEncap", DefiningModule: "iana-if-type"},
		259: {Name: "voiceFGDEANA", DefiningModule: "iana-if-type"},
		260: {Name: "voiceFGDOS", DefiningModule: "iana-if-type"},
		261: {Name: "voiceFXO", DefiningModule: "iana-if-type"},
		262: {Name: "voiceFXS", DefiningModule: "iana-if-type"},
		263: {Name: "voiceOverAtm", DefiningModule: "iana-if-type"},
		264: {Name: "voiceOverCable", DefiningModule: "iana-if-type"},
		265: {Name: "voiceOverFrameRelay", DefiningModule: "iana-if-type"},
		266: {Name: "voiceOverIp", DefiningModule: "iana-if-type"},
		267: {Name: "wwanPP", DefiningModule: "iana-if-type"},
		268: {Name: "wwanPP2", DefiningModule: "iana-if-type"},
		269: {Name: "x213", DefiningModule: "iana-if-type"},
		270: {Name: "x25huntGroup", DefiningModule: "iana-if-type"},
		271: {Name: "x25mlp", DefiningModule: "iana-if-type"},
		272: {Name: "x25ple", DefiningModule: "iana-if-type"},
		273: {Name: "x86Laps", DefiningModule: "iana-if-type"},
	},
	"E_OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE": {
		1: {Name: "AAA_ACCOUNTING_EVENT_COMMAND", DefiningModule: "openconfig-aaa-types"},
		2: {Name: "AAA_ACCOUNTING_EVENT_LOGIN", DefiningModule: "openconfig-aaa-types"},
	},
	"E_OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE": {
		1: {Name: "AAA_AUTHORIZATION_EVENT_COMMAND", DefiningModule: "openconfig-aaa-types"},
		2: {Name: "AAA_AUTHORIZATION_EVENT_CONFIG", DefiningModule: "openconfig-aaa-types"},
	},
	"E_OpenconfigAaaTypes_AAA_METHOD_TYPE": {
		1: {Name: "LOCAL", DefiningModule: "openconfig-aaa-types"},
		2: {Name: "RADIUS_ALL", DefiningModule: "openconfig-aaa-types"},
		3: {Name: "TACACS_ALL", DefiningModule: "openconfig-aaa-types"},
	},
	"E_OpenconfigAaaTypes_AAA_SERVER_TYPE": {
		1: {Name: "RADIUS", DefiningModule: "openconfig-aaa"},
		2: {Name: "TACACS", DefiningModule: "openconfig-aaa"},
	},
	"E_OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES": {
		1: {Name: "SYSTEM_ROLE_ADMIN", DefiningModule: "openconfig-aaa-types"},
	},
	"E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY": {
		1: {Name: "CRITICAL", DefiningModule: "openconfig-alarm-types"},
		2: {Name: "MAJOR", DefiningModule: "openconfig-alarm-types"},
		3: {Name: "MINOR", DefiningModule: "openconfig-alarm-types"},
		4: {Name: "UNKNOWN", DefiningModule: "openconfig-alarm-types"},
		5: {Name: "WARNING", DefiningModule: "openconfig-alarm-types"},
	},
	"E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID": {
		1: {Name: "AIS", DefiningModule: "openconfig-alarm-types"},
		2: {Name: "EQPT", DefiningModule: "openconfig-alarm-types"},
		3: {Name: "LOS", DefiningModule: "openconfig-alarm-types"},
		4: {Name: "OTS", DefiningModule: "openconfig-alarm-types"},
	},
	"E_OpenconfigIfEthernet_ETHERNET_SPEED": {
		1:  {Name: "SPEED_100GB", DefiningModule: "openconfig-if-ethernet"},
		2:  {Name: "SPEED_100MB", DefiningModule: "openconfig-if-ethernet"},
		3:  {Name: "SPEED_10GB", DefiningModule: "openconfig-if-ethernet"},
		4:  {Name: "SPEED_10MB", DefiningModule: "openconfig-if-ethernet"},
		5:  {Name: "SPEED_1GB", DefiningModule: "openconfig-if-ethernet"},
		6:  {Name: "SPEED_2500MB", DefiningModule: "openconfig-if-ethernet"},
		7:  {Name: "SPEED_25GB", DefiningModule: "openconfig-if-ethernet"},
		8:  {Name: "SPEED_40GB", DefiningModule: "openconfig-if-ethernet"},
		9:  {Name: "SPEED_50GB", DefiningModule: "openconfig-if-ethernet"},
		10: {Name: "SPEED_5GB", DefiningModule: "openconfig-if-ethernet"},
		11: {Name: "SPEED_UNKNOWN", DefiningModule: "openconfig-if-ethernet"},
	},
	"E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientAls": {
		1: {Name: "NONE"},
		2: {Name: "LASER_SHUTDOWN"},
		3: {Name: "ETHERNET"},
	},
	"E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientFec": {
		1: {Name: "ENABLED"},
		2: {Name: "DISABLED"},
		3: {Name: "AUTO"},
	},
	"E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_DuplexMode": {
		1: {Name: "FULL"},
		2: {Name: "HALF"},
	},
	"E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_NegotiatedDuplexMode": {
		1: {Name: "FULL"},
		2: {Name: "HALF"},
	},
	"E_OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus": {
		1: {Name: "UP"},
		2: {Name: "DOWN"},
		3: {Name: "TESTING"},
	},
	"E_OpenconfigInterfaces_Interfaces_Interface_State_OperStatus": {
		2: {Name: "UP"},
		3: {Name: "DOWN"},
		4: {Name: "TESTING"},
		5: {Name: "UNKNOWN"},
		6: {Name: "DORMANT"},
		7: {Name: "NOT_PRESENT"},
		8: {Name: "LOWER_LAYER_DOWN"},
	},
	"E_OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY": {
		1:  {Name: "C_VLAN", DefiningModule: "openconfig-lldp-types"},
		2:  {Name: "DOCSIS_CABLE_DEVICE", DefiningModule: "openconfig-lldp-types"},
		3:  {Name: "MAC_BRIDGE", DefiningModule: "openconfig-lldp-types"},
		4:  {Name: "OTHER", DefiningModule: "openconfig-lldp-types"},
		5:  {Name: "REPEATER", DefiningModule: "openconfig-lldp-types"},
		6:  {Name: "ROUTER", DefiningModule: "openconfig-lldp-types"},
		7:  {Name: "STATION_ONLY", DefiningModule: "openconfig-lldp-types"},
		8:  {Name: "S_VLAN", DefiningModule: "openconfig-lldp-types"},
		9:  {Name: "TELEPHONE", DefiningModule: "openconfig-lldp-types"},
		10: {Name: "TWO_PORT_MAC_RELAY", DefiningModule: "openconfig-lldp-types"},
		11: {Name: "WLAN_ACCESS_POINT", DefiningModule: "openconfig-lldp-types"},
	},
	"E_OpenconfigLldpTypes_LLDP_TLV": {
		1: {Name: "CHASSIS_ID", DefiningModule: "openconfig-lldp-types"},
		2: {Name: "MANAGEMENT_ADDRESS", DefiningModule: "openconfig-lldp-types"},
		3: {Name: "PORT_DESCRIPTION", DefiningModule: "openconfig-lldp-types"},
		4: {Name: "PORT_ID", DefiningModule: "openconfig-lldp-types"},
		5: {Name: "SYSTEM_CAPABILITIES", DefiningModule: "openconfig-lldp-types"},
		6: {Name: "SYSTEM_DESCRIPTION", DefiningModule: "openconfig-lldp-types"},
		7: {Name: "SYSTEM_NAME", DefiningModule: "openconfig-lldp-types"},
	},
	"E_OpenconfigLldp_ChassisIdType": {
		1: {Name: "CHASSIS_COMPONENT"},
		2: {Name: "INTERFACE_ALIAS"},
		3: {Name: "PORT_COMPONENT"},
		4: {Name: "MAC_ADDRESS"},
		5: {Name: "NETWORK_ADDRESS"},
		6: {Name: "INTERFACE_NAME"},
		7: {Name: "LOCAL"},
	},
	"E_OpenconfigLldp_PortIdType": {
		1: {Name: "INTERFACE_ALIAS"},
		2: {Name: "PORT_COMPONENT"},
		3: {Name: "MAC_ADDRESS"},
		4: {Name: "NETWORK_ADDRESS"},
		5: {Name: "INTERFACE_NAME"},
		6: {Name: "AGENT_CIRCUIT_ID"},
		7: {Name: "LOCAL"},
	},
	"E_OpenconfigPlatformTypes_COMPONENT_OPER_STATUS": {
		1: {Name: "ACTIVE", DefiningModule: "openconfig-platform-types"},
		2: {Name: "DISABLED", DefiningModule: "openconfig-platform-types"},
		3: {Name: "INACTIVE", DefiningModule: "openconfig-platform-types"},
	},
	"E_OpenconfigPlatformTypes_FEC_MODE_TYPE": {
		1: {Name: "FEC_AUTO", DefiningModule: "openconfig-platform-types"},
		2: {Name: "FEC_DISABLED", DefiningModule: "openconfig-platform-types"},
		3: {Name: "FEC_ENABLED", DefiningModule: "openconfig-platform-types"},
	},
	"E_OpenconfigPlatformTypes_FEC_STATUS_TYPE": {
		1: {Name: "FEC_STATUS_LOCKED", DefiningModule: "openconfig-platform-types"},
		2: {Name: "FEC_STATUS_UNLOCKED", DefiningModule: "openconfig-platform-types"},
	},
	"E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT": {
		1:  {Name: "BACKPLANE", DefiningModule: "openconfig-platform-types"},
		2:  {Name: "CHASSIS", DefiningModule: "openconfig-platform-types"},
		3:  {Name: "CONTROLLER_CARD", DefiningModule: "openconfig-platform-types"},
		4:  {Name: "CPU", DefiningModule: "openconfig-platform-types"},
		5:  {Name: "FABRIC", DefiningModule: "openconfig-platform-types"},
		6:  {Name: "FAN", DefiningModule: "openconfig-platform-types"},
		7:  {Name: "FRU", DefiningModule: "openconfig-platform-types"},
		8:  {Name: "INTEGRATED_CIRCUIT", DefiningModule: "openconfig-platform-types"},
		9:  {Name: "LINECARD", DefiningModule: "openconfig-platform-types"},
		10: {Name: "OPTICAL_CHANNEL", DefiningModule: "openconfig-transport-types"},
		11: {Name: "PORT", DefiningModule: "openconfig-platform-types"},
		12: {Name: "POWER_SUPPLY", DefiningModule: "openconfig-platform-types"},
		13: {Name: "SENSOR", DefiningModule: "openconfig-platform-types"},
		14: {Name: "STORAGE", DefiningModule: "openconfig-platform-types"},
		15: {Name: "TRANSCEIVER", DefiningModule: "openconfig-platform-types"},
	},
	"E_OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT": {
		1: {Name: "OPERATING_SYSTEM", DefiningModule: "openconfig-platform-types"},
	},
	"E_OpenconfigPlatform_Components_Component_Transceiver_State_Present": {
		1: {Name: "PRESENT"},
		2: {Name: "NOT_PRESENT"},
	},
	"E_OpenconfigSystemLogging_SYSLOG_FACILITY": {
		1:  {Name: "ALL", DefiningModule: "openconfig-system-logging"},
		2:  {Name: "AUDIT", DefiningModule: "openconfig-system-logging"},
		3:  {Name: "AUTH", DefiningModule: "openconfig-system-logging"},
		4:  {Name: "AUTHPRIV", DefiningModule: "openconfig-system-logging"},
		5:  {Name: "CONSOLE", DefiningModule: "openconfig-system-logging"},
		6:  {Name: "KERNEL", DefiningModule: "openconfig-system-logging"},
		7:  {Name: "LOCAL0", DefiningModule: "openconfig-system-logging"},
		8:  {Name: "LOCAL1", DefiningModule: "openconfig-system-logging"},
		9:  {Name: "LOCAL2", DefiningModule: "openconfig-system-logging"},
		10: {Name: "LOCAL3", DefiningModule: "openconfig-system-logging"},
		11: {Name: "LOCAL4", DefiningModule: "openconfig-system-logging"},
		12: {Name: "LOCAL5", DefiningModule: "openconfig-system-logging"},
		13: {Name: "LOCAL6", DefiningModule: "openconfig-system-logging"},
		14: {Name: "LOCAL7", DefiningModule: "openconfig-system-logging"},
		15: {Name: "MAIL", DefiningModule: "openconfig-system-logging"},
		16: {Name: "NTP", DefiningModule: "openconfig-system-logging"},
		17: {Name: "SYSLOG", DefiningModule: "openconfig-system-logging"},
		18: {Name: "SYSTEM_DAEMON", DefiningModule: "openconfig-system-logging"},
		19: {Name: "USER", DefiningModule: "openconfig-system-logging"},
	},
	"E_OpenconfigSystemLogging_SyslogSeverity": {
		1: {Name: "EMERGENCY"},
		2: {Name: "ALERT"},
		3: {Name: "CRITICAL"},
		4: {Name: "ERROR"},
		5: {Name: "WARNING"},
		6: {Name: "NOTICE"},
		7: {Name: "INFORMATIONAL"},
		8: {Name: "DEBUG"},
	},
	"E_OpenconfigSystem_NTP_AUTH_TYPE": {
		1: {Name: "NTP_AUTH_MD5", DefiningModule: "openconfig-system"},
	},
	"E_OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config_Record": {
		1: {Name: "START_STOP"},
		2: {Name: "STOP"},
	},
	"E_OpenconfigSystem_System_Cpus_Cpu_State_Index": {
		1: {Name: "ALL"},
	},
	"E_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses": {
		1: {Name: "ANY"},
	},
	"E_OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType": {
		1: {Name: "SERVER"},
		2: {Name: "PEER"},
		3: {Name: "POOL"},
	},
	"E_OpenconfigSystem_System_SshServer_Config_ProtocolVersion": {
		1: {Name: "V2"},
		2: {Name: "V1"},
		3: {Name: "V1_V2"},
	},
	"E_OpenconfigTerminalDevice_AdminStateType": {
		1: {Name: "ENABLED"},
		2: {Name: "DISABLED"},
		3: {Name: "MAINT"},
	},
	"E_OpenconfigTerminalDevice_LoopbackModeType": {
		1: {Name: "NONE"},
		2: {Name: "FACILITY"},
		3: {Name: "TERMINAL"},
	},
	"E_OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config_AssignmentType": {
		1: {Name: "LOGICAL_CHANNEL"},
		2: {Name: "OPTICAL_CHANNEL"},
	},
	"E_OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State_LinkState": {
		1: {Name: "UP"},
		2: {Name: "DOWN"},
		3: {Name: "TESTING"},
	},
	"E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE": {
		1:  {Name: "ETH_100GBASE_CLR4", DefiningModule: "openconfig-transport-types"},
		2:  {Name: "ETH_100GBASE_CR4", DefiningModule: "openconfig-transport-types"},
		3:  {Name: "ETH_100GBASE_CWDM4", DefiningModule: "openconfig-transport-types"},
		4:  {Name: "ETH_100GBASE_ER4", DefiningModule: "openconfig-transport-types"},
		5:  {Name: "ETH_100GBASE_LR4", DefiningModule: "openconfig-transport-types"},
		6:  {Name: "ETH_100GBASE_PSM4", DefiningModule: "openconfig-transport-types"},
		7:  {Name: "ETH_100GBASE_SR10", DefiningModule: "openconfig-transport-types"},
		8:  {Name: "ETH_100GBASE_SR4", DefiningModule: "openconfig-transport-types"},
		9:  {Name: "ETH_100G_ACC", DefiningModule: "openconfig-transport-types"},
		10: {Name: "ETH_100G_AOC", DefiningModule: "openconfig-transport-types"},
		11: {Name: "ETH_10GBASE_ER", DefiningModule: "openconfig-transport-types"},
		12: {Name: "ETH_10GBASE_LR", DefiningModule: "openconfig-transport-types"},
		13: {Name: "ETH_10GBASE_LRM", DefiningModule: "openconfig-transport-types"},
		14: {Name: "ETH_10GBASE_SR", DefiningModule: "openconfig-transport-types"},
		15: {Name: "ETH_10GBASE_ZR", DefiningModule: "openconfig-transport-types"},
		16: {Name: "ETH_40GBASE_CR4", DefiningModule: "openconfig-transport-types"},
		17: {Name: "ETH_40GBASE_ER4", DefiningModule: "openconfig-transport-types"},
		18: {Name: "ETH_40GBASE_LR4", DefiningModule: "openconfig-transport-types"},
		19: {Name: "ETH_40GBASE_PSM4", DefiningModule: "openconfig-transport-types"},
		20: {Name: "ETH_40GBASE_SR4", DefiningModule: "openconfig-transport-types"},
		21: {Name: "ETH_4X10GBASE_LR", DefiningModule: "openconfig-transport-types"},
		22: {Name: "ETH_4X10GBASE_SR", DefiningModule: "openconfig-transport-types"},
		23: {Name: "ETH_UNDEFINED", DefiningModule: "openconfig-transport-types"},
	},
	"E_OpenconfigTransportTypes_FIBER_CONNECTOR_TYPE": {
		1: {Name: "LC_CONNECTOR", DefiningModule: "openconfig-transport-types"},
		2: {Name: "MPO_CONNECTOR", DefiningModule: "openconfig-transport-types"},
		3: {Name: "SC_CONNECTOR", DefiningModule: "openconfig-transport-types"},
	},
	"E_OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL": {
		1: {Name: "AMP", DefiningModule: "openconfig-transport-types"},
		2: {Name: "BMP", DefiningModule: "openconfig-transport-types"},
		3: {Name: "CBR", DefiningModule: "openconfig-transport-types"},
		4: {Name: "GFP_F", DefiningModule: "openconfig-transport-types"},
		5: {Name: "GFP_T", DefiningModule: "openconfig-transport-types"},
		6: {Name: "GMP", DefiningModule: "openconfig-transport-types"},
	},
	"E_OpenconfigTransportTypes_LOGICAL_ELEMENT_PROTOCOL_TYPE": {
		1: {Name: "PROT_ETHERNET", DefiningModule: "openconfig-transport-types"},
		2: {Name: "PROT_OTN", DefiningModule: "openconfig-transport-types"},
	},
	"E_OpenconfigTransportTypes_OTN_APPLICATION_CODE": {
		1: {Name: "OTN_UNDEFINED", DefiningModule: "openconfig-transport-types"},
		2: {Name: "P1L1_2D1", DefiningModule: "openconfig-transport-types"},
		3: {Name: "P1L1_2D2", DefiningModule: "openconfig-transport-types"},
		4: {Name: "P1S1_2D2", DefiningModule: "openconfig-transport-types"},
	},
	"E_OpenconfigTransportTypes_SONET_APPLICATION_CODE": {
		1: {Name: "SONET_UNDEFINED", DefiningModule: "openconfig-transport-types"},
		2: {Name: "VSR2000_3R2", DefiningModule: "openconfig-transport-types"},
		3: {Name: "VSR2000_3R3", DefiningModule: "openconfig-transport-types"},
		4: {Name: "VSR2000_3R5", DefiningModule: "openconfig-transport-types"},
	},
	"E_OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE": {
		1:  {Name: "CFP", DefiningModule: "openconfig-transport-types"},
		2:  {Name: "CFP2", DefiningModule: "openconfig-transport-types"},
		3:  {Name: "CFP2_ACO", DefiningModule: "openconfig-transport-types"},
		4:  {Name: "CFP4", DefiningModule: "openconfig-transport-types"},
		5:  {Name: "CPAK", DefiningModule: "openconfig-transport-types"},
		6:  {Name: "NON_PLUGGABLE", DefiningModule: "openconfig-transport-types"},
		7:  {Name: "OTHER", DefiningModule: "openconfig-transport-types"},
		8:  {Name: "QSFP", DefiningModule: "openconfig-transport-types"},
		9:  {Name: "QSFP28", DefiningModule: "openconfig-transport-types"},
		10: {Name: "QSFP_PLUS", DefiningModule: "openconfig-transport-types"},
		11: {Name: "SFP", DefiningModule: "openconfig-transport-types"},
		12: {Name: "SFP_PLUS", DefiningModule: "openconfig-transport-types"},
		13: {Name: "X2", DefiningModule: "openconfig-transport-types"},
		14: {Name: "XFP", DefiningModule: "openconfig-transport-types"},
	},
	"E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE": {
		1:  {Name: "PROT_100GE", DefiningModule: "openconfig-transport-types"},
		2:  {Name: "PROT_100G_MLG", DefiningModule: "openconfig-transport-types"},
		3:  {Name: "PROT_10GE_LAN", DefiningModule: "openconfig-transport-types"},
		4:  {Name: "PROT_10GE_WAN", DefiningModule: "openconfig-transport-types"},
		5:  {Name: "PROT_1GE", DefiningModule: "openconfig-transport-types"},
		6:  {Name: "PROT_40GE", DefiningModule: "openconfig-transport-types"},
		7:  {Name: "PROT_OC192", DefiningModule: "openconfig-transport-types"},
		8:  {Name: "PROT_OC48", DefiningModule: "openconfig-transport-types"},
		9:  {Name: "PROT_OC768", DefiningModule: "openconfig-transport-types"},
		10: {Name: "PROT_ODU2", DefiningModule: "openconfig-transport-types"},
		11: {Name: "PROT_ODU2E", DefiningModule: "openconfig-transport-types"},
		12: {Name: "PROT_ODU3", DefiningModule: "openconfig-transport-types"},
		13: {Name: "PROT_ODU4", DefiningModule: "openconfig-transport-types"},
		14: {Name: "PROT_ODUCN", DefiningModule: "openconfig-transport-types"},
		15: {Name: "PROT_OTU1E", DefiningModule: "openconfig-transport-types"},
		16: {Name: "PROT_OTU2", DefiningModule: "openconfig-transport-types"},
		17: {Name: "PROT_OTU2E", DefiningModule: "openconfig-transport-types"},
		18: {Name: "PROT_OTU3", DefiningModule: "openconfig-transport-types"},
		19: {Name: "PROT_OTU4", DefiningModule: "openconfig-transport-types"},
		20: {Name: "PROT_OTUCN", DefiningModule: "openconfig-transport-types"},
		21: {Name: "PROT_STM16", DefiningModule: "openconfig-transport-types"},
		22: {Name: "PROT_STM256", DefiningModule: "openconfig-transport-types"},
		23: {Name: "PROT_STM64", DefiningModule: "openconfig-transport-types"},
	},
	"E_OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE": {
		1:  {Name: "TRIB_RATE_1000G", DefiningModule: "openconfig-transport-types"},
		2:  {Name: "TRIB_RATE_100G", DefiningModule: "openconfig-transport-types"},
		3:  {Name: "TRIB_RATE_10G", DefiningModule: "openconfig-transport-types"},
		4:  {Name: "TRIB_RATE_1100G", DefiningModule: "openconfig-transport-types"},
		5:  {Name: "TRIB_RATE_150G", DefiningModule: "openconfig-transport-types"},
		6:  {Name: "TRIB_RATE_1G", DefiningModule: "openconfig-transport-types"},
		7:  {Name: "TRIB_RATE_2.5G", DefiningModule: "openconfig-transport-types"},
		8:  {Name: "TRIB_RATE_200G", DefiningModule: "openconfig-transport-types"},
		9:  {Name: "TRIB_RATE_250G", DefiningModule: "openconfig-transport-types"},
		10: {Name: "TRIB_RATE_300G", DefiningModule: "openconfig-transport-types"},
		11: {Name: "TRIB_RATE_400G", DefiningModule: "openconfig-transport-types"},
		12: {Name: "TRIB_RATE_40G", DefiningModule: "openconfig-transport-types"},
		13: {Name: "TRIB_RATE_500G", DefiningModule: "openconfig-transport-types"},
		14: {Name: "TRIB_RATE_600G", DefiningModule: "openconfig-transport-types"},
		15: {Name: "TRIB_RATE_700G", DefiningModule: "openconfig-transport-types"},
		16: {Name: "TRIB_RATE_800G", DefiningModule: "openconfig-transport-types"},
		17: {Name: "TRIB_RATE_900G", DefiningModule: "openconfig-transport-types"},
	},
	"E_OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY": {
		1: {Name: "TRIB_SLOT_1.25G", DefiningModule: "openconfig-transport-types"},
		2: {Name: "TRIB_SLOT_2.5G", DefiningModule: "openconfig-transport-types"},
		3: {Name: "TRIB_SLOT_5G", DefiningModule: "openconfig-transport-types"},
	},
}

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

View Source
var ΛEnumTypes = map[string][]reflect.Type{
	"/components/component/port/breakout-mode/config/channel-speed": {
		reflect.TypeOf((E_OpenconfigIfEthernet_ETHERNET_SPEED)(0)),
	},
	"/components/component/port/breakout-mode/state/channel-speed": {
		reflect.TypeOf((E_OpenconfigIfEthernet_ETHERNET_SPEED)(0)),
	},
	"/components/component/state/oper-status": {
		reflect.TypeOf((E_OpenconfigPlatformTypes_COMPONENT_OPER_STATUS)(0)),
	},
	"/components/component/state/temperature/alarm-severity": {
		reflect.TypeOf((E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY)(0)),
	},
	"/components/component/state/type": {
		reflect.TypeOf((E_OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT)(0)),
		reflect.TypeOf((E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT)(0)),
	},
	"/components/component/transceiver/config/ethernet-pmd-preconf": {
		reflect.TypeOf((E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE)(0)),
	},
	"/components/component/transceiver/config/fec-mode": {
		reflect.TypeOf((E_OpenconfigPlatformTypes_FEC_MODE_TYPE)(0)),
	},
	"/components/component/transceiver/config/form-factor-preconf": {
		reflect.TypeOf((E_OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE)(0)),
	},
	"/components/component/transceiver/state/connector-type": {
		reflect.TypeOf((E_OpenconfigTransportTypes_FIBER_CONNECTOR_TYPE)(0)),
	},
	"/components/component/transceiver/state/ethernet-pmd": {
		reflect.TypeOf((E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE)(0)),
	},
	"/components/component/transceiver/state/ethernet-pmd-preconf": {
		reflect.TypeOf((E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE)(0)),
	},
	"/components/component/transceiver/state/fec-mode": {
		reflect.TypeOf((E_OpenconfigPlatformTypes_FEC_MODE_TYPE)(0)),
	},
	"/components/component/transceiver/state/fec-status": {
		reflect.TypeOf((E_OpenconfigPlatformTypes_FEC_STATUS_TYPE)(0)),
	},
	"/components/component/transceiver/state/form-factor": {
		reflect.TypeOf((E_OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE)(0)),
	},
	"/components/component/transceiver/state/form-factor-preconf": {
		reflect.TypeOf((E_OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE)(0)),
	},
	"/components/component/transceiver/state/otn-compliance-code": {
		reflect.TypeOf((E_OpenconfigTransportTypes_OTN_APPLICATION_CODE)(0)),
	},
	"/components/component/transceiver/state/present": {
		reflect.TypeOf((E_OpenconfigPlatform_Components_Component_Transceiver_State_Present)(0)),
	},
	"/components/component/transceiver/state/sonet-sdh-compliance-code": {
		reflect.TypeOf((E_OpenconfigTransportTypes_SONET_APPLICATION_CODE)(0)),
	},
	"/interfaces/interface/config/type": {
		reflect.TypeOf((E_IETFInterfaces_InterfaceType)(0)),
	},
	"/interfaces/interface/ethernet/config/client-als": {
		reflect.TypeOf((E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientAls)(0)),
	},
	"/interfaces/interface/ethernet/config/client-fec": {
		reflect.TypeOf((E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientFec)(0)),
	},
	"/interfaces/interface/ethernet/config/duplex-mode": {
		reflect.TypeOf((E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_DuplexMode)(0)),
	},
	"/interfaces/interface/ethernet/config/port-speed": {
		reflect.TypeOf((E_OpenconfigIfEthernet_ETHERNET_SPEED)(0)),
	},
	"/interfaces/interface/ethernet/state/duplex-mode": {
		reflect.TypeOf((E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_DuplexMode)(0)),
	},
	"/interfaces/interface/ethernet/state/negotiated-duplex-mode": {
		reflect.TypeOf((E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_NegotiatedDuplexMode)(0)),
	},
	"/interfaces/interface/ethernet/state/negotiated-port-speed": {
		reflect.TypeOf((E_OpenconfigIfEthernet_ETHERNET_SPEED)(0)),
	},
	"/interfaces/interface/ethernet/state/port-speed": {
		reflect.TypeOf((E_OpenconfigIfEthernet_ETHERNET_SPEED)(0)),
	},
	"/interfaces/interface/state/admin-status": {
		reflect.TypeOf((E_OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus)(0)),
	},
	"/interfaces/interface/state/oper-status": {
		reflect.TypeOf((E_OpenconfigInterfaces_Interfaces_Interface_State_OperStatus)(0)),
	},
	"/interfaces/interface/state/type": {
		reflect.TypeOf((E_IETFInterfaces_InterfaceType)(0)),
	},
	"/interfaces/interface/subinterfaces/subinterface/state/admin-status": {
		reflect.TypeOf((E_OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus)(0)),
	},
	"/interfaces/interface/subinterfaces/subinterface/state/oper-status": {
		reflect.TypeOf((E_OpenconfigInterfaces_Interfaces_Interface_State_OperStatus)(0)),
	},
	"/lldp/config/chassis-id-type": {
		reflect.TypeOf((E_OpenconfigLldp_ChassisIdType)(0)),
	},
	"/lldp/config/suppress-tlv-advertisement": {
		reflect.TypeOf((E_OpenconfigLldpTypes_LLDP_TLV)(0)),
	},
	"/lldp/interfaces/interface/neighbors/neighbor/capabilities/capability/name": {
		reflect.TypeOf((E_OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY)(0)),
	},
	"/lldp/interfaces/interface/neighbors/neighbor/capabilities/capability/state/name": {
		reflect.TypeOf((E_OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY)(0)),
	},
	"/lldp/interfaces/interface/neighbors/neighbor/state/chassis-id-type": {
		reflect.TypeOf((E_OpenconfigLldp_ChassisIdType)(0)),
	},
	"/lldp/interfaces/interface/neighbors/neighbor/state/port-id-type": {
		reflect.TypeOf((E_OpenconfigLldp_PortIdType)(0)),
	},
	"/lldp/state/chassis-id-type": {
		reflect.TypeOf((E_OpenconfigLldp_ChassisIdType)(0)),
	},
	"/lldp/state/suppress-tlv-advertisement": {
		reflect.TypeOf((E_OpenconfigLldpTypes_LLDP_TLV)(0)),
	},
	"/system/aaa/accounting/config/accounting-method": {
		reflect.TypeOf((E_OpenconfigAaaTypes_AAA_METHOD_TYPE)(0)),
	},
	"/system/aaa/accounting/events/event/config/event-type": {
		reflect.TypeOf((E_OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE)(0)),
	},
	"/system/aaa/accounting/events/event/config/record": {
		reflect.TypeOf((E_OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config_Record)(0)),
	},
	"/system/aaa/accounting/events/event/event-type": {
		reflect.TypeOf((E_OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE)(0)),
	},
	"/system/aaa/accounting/events/event/state/event-type": {
		reflect.TypeOf((E_OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE)(0)),
	},
	"/system/aaa/accounting/events/event/state/record": {
		reflect.TypeOf((E_OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config_Record)(0)),
	},
	"/system/aaa/accounting/state/accounting-method": {
		reflect.TypeOf((E_OpenconfigAaaTypes_AAA_METHOD_TYPE)(0)),
	},
	"/system/aaa/authentication/config/authentication-method": {
		reflect.TypeOf((E_OpenconfigAaaTypes_AAA_METHOD_TYPE)(0)),
	},
	"/system/aaa/authentication/state/authentication-method": {
		reflect.TypeOf((E_OpenconfigAaaTypes_AAA_METHOD_TYPE)(0)),
	},
	"/system/aaa/authentication/users/user/config/role": {
		reflect.TypeOf((E_OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES)(0)),
	},
	"/system/aaa/authentication/users/user/state/role": {
		reflect.TypeOf((E_OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES)(0)),
	},
	"/system/aaa/authorization/config/authorization-method": {
		reflect.TypeOf((E_OpenconfigAaaTypes_AAA_METHOD_TYPE)(0)),
	},
	"/system/aaa/authorization/events/event/config/event-type": {
		reflect.TypeOf((E_OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE)(0)),
	},
	"/system/aaa/authorization/events/event/event-type": {
		reflect.TypeOf((E_OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE)(0)),
	},
	"/system/aaa/authorization/events/event/state/event-type": {
		reflect.TypeOf((E_OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE)(0)),
	},
	"/system/aaa/authorization/state/authorization-method": {
		reflect.TypeOf((E_OpenconfigAaaTypes_AAA_METHOD_TYPE)(0)),
	},
	"/system/aaa/server-groups/server-group/config/type": {
		reflect.TypeOf((E_OpenconfigAaaTypes_AAA_SERVER_TYPE)(0)),
	},
	"/system/aaa/server-groups/server-group/state/type": {
		reflect.TypeOf((E_OpenconfigAaaTypes_AAA_SERVER_TYPE)(0)),
	},
	"/system/alarms/alarm/state/severity": {
		reflect.TypeOf((E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY)(0)),
	},
	"/system/alarms/alarm/state/type-id": {
		reflect.TypeOf((E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID)(0)),
	},
	"/system/cpus/cpu/index": {
		reflect.TypeOf((E_OpenconfigSystem_System_Cpus_Cpu_State_Index)(0)),
	},
	"/system/cpus/cpu/state/index": {
		reflect.TypeOf((E_OpenconfigSystem_System_Cpus_Cpu_State_Index)(0)),
	},
	"/system/grpc-server/config/listen-addresses": {
		reflect.TypeOf((E_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses)(0)),
	},
	"/system/grpc-server/state/listen-addresses": {
		reflect.TypeOf((E_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses)(0)),
	},
	"/system/logging/console/selectors/selector/config/facility": {
		reflect.TypeOf((E_OpenconfigSystemLogging_SYSLOG_FACILITY)(0)),
	},
	"/system/logging/console/selectors/selector/config/severity": {
		reflect.TypeOf((E_OpenconfigSystemLogging_SyslogSeverity)(0)),
	},
	"/system/logging/console/selectors/selector/facility": {
		reflect.TypeOf((E_OpenconfigSystemLogging_SYSLOG_FACILITY)(0)),
	},
	"/system/logging/console/selectors/selector/severity": {
		reflect.TypeOf((E_OpenconfigSystemLogging_SyslogSeverity)(0)),
	},
	"/system/logging/console/selectors/selector/state/facility": {
		reflect.TypeOf((E_OpenconfigSystemLogging_SYSLOG_FACILITY)(0)),
	},
	"/system/logging/console/selectors/selector/state/severity": {
		reflect.TypeOf((E_OpenconfigSystemLogging_SyslogSeverity)(0)),
	},
	"/system/logging/remote-servers/remote-server/selectors/selector/config/facility": {
		reflect.TypeOf((E_OpenconfigSystemLogging_SYSLOG_FACILITY)(0)),
	},
	"/system/logging/remote-servers/remote-server/selectors/selector/config/severity": {
		reflect.TypeOf((E_OpenconfigSystemLogging_SyslogSeverity)(0)),
	},
	"/system/logging/remote-servers/remote-server/selectors/selector/facility": {
		reflect.TypeOf((E_OpenconfigSystemLogging_SYSLOG_FACILITY)(0)),
	},
	"/system/logging/remote-servers/remote-server/selectors/selector/severity": {
		reflect.TypeOf((E_OpenconfigSystemLogging_SyslogSeverity)(0)),
	},
	"/system/logging/remote-servers/remote-server/selectors/selector/state/facility": {
		reflect.TypeOf((E_OpenconfigSystemLogging_SYSLOG_FACILITY)(0)),
	},
	"/system/logging/remote-servers/remote-server/selectors/selector/state/severity": {
		reflect.TypeOf((E_OpenconfigSystemLogging_SyslogSeverity)(0)),
	},
	"/system/ntp/ntp-keys/ntp-key/config/key-type": {
		reflect.TypeOf((E_OpenconfigSystem_NTP_AUTH_TYPE)(0)),
	},
	"/system/ntp/ntp-keys/ntp-key/state/key-type": {
		reflect.TypeOf((E_OpenconfigSystem_NTP_AUTH_TYPE)(0)),
	},
	"/system/ntp/servers/server/config/association-type": {
		reflect.TypeOf((E_OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType)(0)),
	},
	"/system/ntp/servers/server/state/association-type": {
		reflect.TypeOf((E_OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType)(0)),
	},
	"/system/ssh-server/config/protocol-version": {
		reflect.TypeOf((E_OpenconfigSystem_System_SshServer_Config_ProtocolVersion)(0)),
	},
	"/system/ssh-server/state/protocol-version": {
		reflect.TypeOf((E_OpenconfigSystem_System_SshServer_Config_ProtocolVersion)(0)),
	},
	"/terminal-device/logical-channels/channel/config/admin-state": {
		reflect.TypeOf((E_OpenconfigTerminalDevice_AdminStateType)(0)),
	},
	"/terminal-device/logical-channels/channel/config/logical-channel-type": {
		reflect.TypeOf((E_OpenconfigTransportTypes_LOGICAL_ELEMENT_PROTOCOL_TYPE)(0)),
	},
	"/terminal-device/logical-channels/channel/config/loopback-mode": {
		reflect.TypeOf((E_OpenconfigTerminalDevice_LoopbackModeType)(0)),
	},
	"/terminal-device/logical-channels/channel/config/rate-class": {
		reflect.TypeOf((E_OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE)(0)),
	},
	"/terminal-device/logical-channels/channel/config/trib-protocol": {
		reflect.TypeOf((E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE)(0)),
	},
	"/terminal-device/logical-channels/channel/logical-channel-assignments/assignment/config/assignment-type": {
		reflect.TypeOf((E_OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config_AssignmentType)(0)),
	},
	"/terminal-device/logical-channels/channel/logical-channel-assignments/assignment/config/mapping": {
		reflect.TypeOf((E_OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL)(0)),
	},
	"/terminal-device/logical-channels/channel/logical-channel-assignments/assignment/state/assignment-type": {
		reflect.TypeOf((E_OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config_AssignmentType)(0)),
	},
	"/terminal-device/logical-channels/channel/logical-channel-assignments/assignment/state/mapping": {
		reflect.TypeOf((E_OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL)(0)),
	},
	"/terminal-device/logical-channels/channel/otn/config/tributary-slot-granularity": {
		reflect.TypeOf((E_OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY)(0)),
	},
	"/terminal-device/logical-channels/channel/otn/state/tributary-slot-granularity": {
		reflect.TypeOf((E_OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY)(0)),
	},
	"/terminal-device/logical-channels/channel/state/admin-state": {
		reflect.TypeOf((E_OpenconfigTerminalDevice_AdminStateType)(0)),
	},
	"/terminal-device/logical-channels/channel/state/link-state": {
		reflect.TypeOf((E_OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State_LinkState)(0)),
	},
	"/terminal-device/logical-channels/channel/state/logical-channel-type": {
		reflect.TypeOf((E_OpenconfigTransportTypes_LOGICAL_ELEMENT_PROTOCOL_TYPE)(0)),
	},
	"/terminal-device/logical-channels/channel/state/loopback-mode": {
		reflect.TypeOf((E_OpenconfigTerminalDevice_LoopbackModeType)(0)),
	},
	"/terminal-device/logical-channels/channel/state/rate-class": {
		reflect.TypeOf((E_OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE)(0)),
	},
	"/terminal-device/logical-channels/channel/state/trib-protocol": {
		reflect.TypeOf((E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE)(0)),
	},
}

ΛEnumTypes is a map, keyed by a YANG schema path, of the enumerated types that correspond with the leaf. The type is represented as a reflect.Type. The naming of the map ensures that there are no clashes with valid YANG identifiers.

Functions

func 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"`
	Components      *OpenconfigPlatform_Components           `path:"components" module:"openconfig-platform"`
	ΛComponents     []ygot.Annotation                        `path:"@components" ygotAnnotation:"true"`
	Interfaces      *OpenconfigInterfaces_Interfaces         `path:"interfaces" module:"openconfig-interfaces"`
	ΛInterfaces     []ygot.Annotation                        `path:"@interfaces" ygotAnnotation:"true"`
	Lldp            *OpenconfigLldp_Lldp                     `path:"lldp" module:"openconfig-lldp"`
	ΛLldp           []ygot.Annotation                        `path:"@lldp" ygotAnnotation:"true"`
	System          *OpenconfigSystem_System                 `path:"system" module:"openconfig-system"`
	ΛSystem         []ygot.Annotation                        `path:"@system" ygotAnnotation:"true"`
	TerminalDevice  *OpenconfigTerminalDevice_TerminalDevice `path:"terminal-device" module:"openconfig-terminal-device"`
	ΛTerminalDevice []ygot.Annotation                        `path:"@terminal-device" ygotAnnotation:"true"`
}

Device represents the /device YANG schema element.

func (*Device) GetComponents

func (t *Device) GetComponents() *OpenconfigPlatform_Components

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

func (*Device) GetInterfaces

func (t *Device) GetInterfaces() *OpenconfigInterfaces_Interfaces

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

func (*Device) GetLldp

func (t *Device) GetLldp() *OpenconfigLldp_Lldp

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

func (*Device) GetOrCreateComponents

func (t *Device) GetOrCreateComponents() *OpenconfigPlatform_Components

GetOrCreateComponents retrieves the value of the Components field or returns the existing field if it already exists.

func (*Device) GetOrCreateInterfaces

func (t *Device) GetOrCreateInterfaces() *OpenconfigInterfaces_Interfaces

GetOrCreateInterfaces retrieves the value of the Interfaces field or returns the existing field if it already exists.

func (*Device) GetOrCreateLldp

func (t *Device) GetOrCreateLldp() *OpenconfigLldp_Lldp

GetOrCreateLldp retrieves the value of the Lldp field or returns the existing field if it already exists.

func (*Device) GetOrCreateSystem

func (t *Device) GetOrCreateSystem() *OpenconfigSystem_System

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

func (*Device) GetOrCreateTerminalDevice

func (t *Device) GetOrCreateTerminalDevice() *OpenconfigTerminalDevice_TerminalDevice

GetOrCreateTerminalDevice retrieves the value of the TerminalDevice field or returns the existing field if it already exists.

func (*Device) GetSystem

func (t *Device) GetSystem() *OpenconfigSystem_System

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

func (*Device) GetTerminalDevice

func (t *Device) GetTerminalDevice() *OpenconfigTerminalDevice_TerminalDevice

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

func (*Device) IsYANGGoStruct

func (*Device) IsYANGGoStruct()

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

func (*Device) Validate

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

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

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.

type E_IETFInterfaces_InterfaceType

type E_IETFInterfaces_InterfaceType int64

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

const (
	// IETFInterfaces_InterfaceType_UNSET corresponds to the value UNSET of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_UNSET E_IETFInterfaces_InterfaceType = 0
	// IETFInterfaces_InterfaceType_a12MppSwitch corresponds to the value a12MppSwitch of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_a12MppSwitch E_IETFInterfaces_InterfaceType = 1
	// IETFInterfaces_InterfaceType_aal2 corresponds to the value aal2 of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_aal2 E_IETFInterfaces_InterfaceType = 2
	// IETFInterfaces_InterfaceType_aal5 corresponds to the value aal5 of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_aal5 E_IETFInterfaces_InterfaceType = 3
	// IETFInterfaces_InterfaceType_actelisMetaLOOP corresponds to the value actelisMetaLOOP of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_actelisMetaLOOP E_IETFInterfaces_InterfaceType = 4
	// IETFInterfaces_InterfaceType_adsl corresponds to the value adsl of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_adsl E_IETFInterfaces_InterfaceType = 5
	// IETFInterfaces_InterfaceType_adsl2 corresponds to the value adsl2 of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_adsl2 E_IETFInterfaces_InterfaceType = 6
	// IETFInterfaces_InterfaceType_adsl2plus corresponds to the value adsl2plus of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_adsl2plus E_IETFInterfaces_InterfaceType = 7
	// IETFInterfaces_InterfaceType_aflane8023 corresponds to the value aflane8023 of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_aflane8023 E_IETFInterfaces_InterfaceType = 8
	// IETFInterfaces_InterfaceType_aflane8025 corresponds to the value aflane8025 of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_aflane8025 E_IETFInterfaces_InterfaceType = 9
	// IETFInterfaces_InterfaceType_aluELP corresponds to the value aluELP of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_aluELP E_IETFInterfaces_InterfaceType = 10
	// IETFInterfaces_InterfaceType_aluEpon corresponds to the value aluEpon of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_aluEpon E_IETFInterfaces_InterfaceType = 11
	// IETFInterfaces_InterfaceType_aluEponLogicalLink corresponds to the value aluEponLogicalLink of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_aluEponLogicalLink E_IETFInterfaces_InterfaceType = 12
	// IETFInterfaces_InterfaceType_aluEponOnu corresponds to the value aluEponOnu of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_aluEponOnu E_IETFInterfaces_InterfaceType = 13
	// IETFInterfaces_InterfaceType_aluEponPhysicalUni corresponds to the value aluEponPhysicalUni of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_aluEponPhysicalUni E_IETFInterfaces_InterfaceType = 14
	// IETFInterfaces_InterfaceType_aluGponOnu corresponds to the value aluGponOnu of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_aluGponOnu E_IETFInterfaces_InterfaceType = 15
	// IETFInterfaces_InterfaceType_aluGponPhysicalUni corresponds to the value aluGponPhysicalUni of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_aluGponPhysicalUni E_IETFInterfaces_InterfaceType = 16
	// IETFInterfaces_InterfaceType_arap corresponds to the value arap of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_arap E_IETFInterfaces_InterfaceType = 17
	// IETFInterfaces_InterfaceType_arcnet corresponds to the value arcnet of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_arcnet E_IETFInterfaces_InterfaceType = 18
	// IETFInterfaces_InterfaceType_arcnetPlus corresponds to the value arcnetPlus of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_arcnetPlus E_IETFInterfaces_InterfaceType = 19
	// IETFInterfaces_InterfaceType_async corresponds to the value async of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_async E_IETFInterfaces_InterfaceType = 20
	// IETFInterfaces_InterfaceType_atm corresponds to the value atm of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_atm E_IETFInterfaces_InterfaceType = 21
	// IETFInterfaces_InterfaceType_atmDxi corresponds to the value atmDxi of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_atmDxi E_IETFInterfaces_InterfaceType = 22
	// IETFInterfaces_InterfaceType_atmFuni corresponds to the value atmFuni of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_atmFuni E_IETFInterfaces_InterfaceType = 23
	// IETFInterfaces_InterfaceType_atmIma corresponds to the value atmIma of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_atmIma E_IETFInterfaces_InterfaceType = 24
	// IETFInterfaces_InterfaceType_atmLogical corresponds to the value atmLogical of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_atmLogical E_IETFInterfaces_InterfaceType = 25
	// IETFInterfaces_InterfaceType_atmRadio corresponds to the value atmRadio of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_atmRadio E_IETFInterfaces_InterfaceType = 26
	// IETFInterfaces_InterfaceType_atmSubInterface corresponds to the value atmSubInterface of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_atmSubInterface E_IETFInterfaces_InterfaceType = 27
	// IETFInterfaces_InterfaceType_atmVciEndPt corresponds to the value atmVciEndPt of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_atmVciEndPt E_IETFInterfaces_InterfaceType = 28
	// IETFInterfaces_InterfaceType_atmVirtual corresponds to the value atmVirtual of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_atmVirtual E_IETFInterfaces_InterfaceType = 29
	// IETFInterfaces_InterfaceType_atmbond corresponds to the value atmbond of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_atmbond E_IETFInterfaces_InterfaceType = 30
	// IETFInterfaces_InterfaceType_aviciOpticalEther corresponds to the value aviciOpticalEther of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_aviciOpticalEther E_IETFInterfaces_InterfaceType = 31
	// IETFInterfaces_InterfaceType_basicISDN corresponds to the value basicISDN of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_basicISDN E_IETFInterfaces_InterfaceType = 32
	// IETFInterfaces_InterfaceType_bgppolicyaccounting corresponds to the value bgppolicyaccounting of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_bgppolicyaccounting E_IETFInterfaces_InterfaceType = 33
	// IETFInterfaces_InterfaceType_bits corresponds to the value bits of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_bits E_IETFInterfaces_InterfaceType = 34
	// IETFInterfaces_InterfaceType_bridge corresponds to the value bridge of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_bridge E_IETFInterfaces_InterfaceType = 35
	// IETFInterfaces_InterfaceType_bsc corresponds to the value bsc of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_bsc E_IETFInterfaces_InterfaceType = 36
	// IETFInterfaces_InterfaceType_cableDownstreamRfPort corresponds to the value cableDownstreamRfPort of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_cableDownstreamRfPort E_IETFInterfaces_InterfaceType = 37
	// IETFInterfaces_InterfaceType_capwapDot11Bss corresponds to the value capwapDot11Bss of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_capwapDot11Bss E_IETFInterfaces_InterfaceType = 38
	// IETFInterfaces_InterfaceType_capwapDot11Profile corresponds to the value capwapDot11Profile of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_capwapDot11Profile E_IETFInterfaces_InterfaceType = 39
	// IETFInterfaces_InterfaceType_capwapWtpVirtualRadio corresponds to the value capwapWtpVirtualRadio of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_capwapWtpVirtualRadio E_IETFInterfaces_InterfaceType = 40
	// IETFInterfaces_InterfaceType_cblVectaStar corresponds to the value cblVectaStar of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_cblVectaStar E_IETFInterfaces_InterfaceType = 41
	// IETFInterfaces_InterfaceType_cctEmul corresponds to the value cctEmul of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_cctEmul E_IETFInterfaces_InterfaceType = 42
	// IETFInterfaces_InterfaceType_ces corresponds to the value ces of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_ces E_IETFInterfaces_InterfaceType = 43
	// IETFInterfaces_InterfaceType_channel corresponds to the value channel of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_channel E_IETFInterfaces_InterfaceType = 44
	// IETFInterfaces_InterfaceType_ciscoISLvlan corresponds to the value ciscoISLvlan of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_ciscoISLvlan E_IETFInterfaces_InterfaceType = 45
	// IETFInterfaces_InterfaceType_cnr corresponds to the value cnr of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_cnr E_IETFInterfaces_InterfaceType = 46
	// IETFInterfaces_InterfaceType_coffee corresponds to the value coffee of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_coffee E_IETFInterfaces_InterfaceType = 47
	// IETFInterfaces_InterfaceType_compositeLink corresponds to the value compositeLink of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_compositeLink E_IETFInterfaces_InterfaceType = 48
	// IETFInterfaces_InterfaceType_dcn corresponds to the value dcn of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_dcn E_IETFInterfaces_InterfaceType = 49
	// IETFInterfaces_InterfaceType_ddnX25 corresponds to the value ddnX25 of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_ddnX25 E_IETFInterfaces_InterfaceType = 50
	// IETFInterfaces_InterfaceType_digitalPowerline corresponds to the value digitalPowerline of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_digitalPowerline E_IETFInterfaces_InterfaceType = 51
	// IETFInterfaces_InterfaceType_digitalWrapperOverheadChannel corresponds to the value digitalWrapperOverheadChannel of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_digitalWrapperOverheadChannel E_IETFInterfaces_InterfaceType = 52
	// IETFInterfaces_InterfaceType_dlsw corresponds to the value dlsw of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_dlsw E_IETFInterfaces_InterfaceType = 53
	// IETFInterfaces_InterfaceType_docsCableDownstream corresponds to the value docsCableDownstream of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_docsCableDownstream E_IETFInterfaces_InterfaceType = 54
	// IETFInterfaces_InterfaceType_docsCableMCmtsDownstream corresponds to the value docsCableMCmtsDownstream of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_docsCableMCmtsDownstream E_IETFInterfaces_InterfaceType = 55
	// IETFInterfaces_InterfaceType_docsCableMaclayer corresponds to the value docsCableMaclayer of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_docsCableMaclayer E_IETFInterfaces_InterfaceType = 56
	// IETFInterfaces_InterfaceType_docsCableUpstream corresponds to the value docsCableUpstream of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_docsCableUpstream E_IETFInterfaces_InterfaceType = 57
	// IETFInterfaces_InterfaceType_docsCableUpstreamChannel corresponds to the value docsCableUpstreamChannel of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_docsCableUpstreamChannel E_IETFInterfaces_InterfaceType = 58
	// IETFInterfaces_InterfaceType_docsCableUpstreamRfPort corresponds to the value docsCableUpstreamRfPort of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_docsCableUpstreamRfPort E_IETFInterfaces_InterfaceType = 59
	// IETFInterfaces_InterfaceType_ds0 corresponds to the value ds0 of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_ds0 E_IETFInterfaces_InterfaceType = 60
	// IETFInterfaces_InterfaceType_ds0Bundle corresponds to the value ds0Bundle of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_ds0Bundle E_IETFInterfaces_InterfaceType = 61
	// IETFInterfaces_InterfaceType_ds1 corresponds to the value ds1 of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_ds1 E_IETFInterfaces_InterfaceType = 62
	// IETFInterfaces_InterfaceType_ds1FDL corresponds to the value ds1FDL of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_ds1FDL E_IETFInterfaces_InterfaceType = 63
	// IETFInterfaces_InterfaceType_ds3 corresponds to the value ds3 of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_ds3 E_IETFInterfaces_InterfaceType = 64
	// IETFInterfaces_InterfaceType_dtm corresponds to the value dtm of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_dtm E_IETFInterfaces_InterfaceType = 65
	// IETFInterfaces_InterfaceType_dvbAsiIn corresponds to the value dvbAsiIn of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_dvbAsiIn E_IETFInterfaces_InterfaceType = 66
	// IETFInterfaces_InterfaceType_dvbAsiOut corresponds to the value dvbAsiOut of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_dvbAsiOut E_IETFInterfaces_InterfaceType = 67
	// IETFInterfaces_InterfaceType_dvbRccDownstream corresponds to the value dvbRccDownstream of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_dvbRccDownstream E_IETFInterfaces_InterfaceType = 68
	// IETFInterfaces_InterfaceType_dvbRccMacLayer corresponds to the value dvbRccMacLayer of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_dvbRccMacLayer E_IETFInterfaces_InterfaceType = 69
	// IETFInterfaces_InterfaceType_dvbRccUpstream corresponds to the value dvbRccUpstream of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_dvbRccUpstream E_IETFInterfaces_InterfaceType = 70
	// IETFInterfaces_InterfaceType_dvbRcsMacLayer corresponds to the value dvbRcsMacLayer of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_dvbRcsMacLayer E_IETFInterfaces_InterfaceType = 71
	// IETFInterfaces_InterfaceType_dvbRcsTdma corresponds to the value dvbRcsTdma of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_dvbRcsTdma E_IETFInterfaces_InterfaceType = 72
	// IETFInterfaces_InterfaceType_dvbTdm corresponds to the value dvbTdm of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_dvbTdm E_IETFInterfaces_InterfaceType = 73
	// IETFInterfaces_InterfaceType_e1 corresponds to the value e1 of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_e1 E_IETFInterfaces_InterfaceType = 74
	// IETFInterfaces_InterfaceType_econet corresponds to the value econet of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_econet E_IETFInterfaces_InterfaceType = 75
	// IETFInterfaces_InterfaceType_eon corresponds to the value eon of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_eon E_IETFInterfaces_InterfaceType = 76
	// IETFInterfaces_InterfaceType_eplrs corresponds to the value eplrs of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_eplrs E_IETFInterfaces_InterfaceType = 77
	// IETFInterfaces_InterfaceType_escon corresponds to the value escon of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_escon E_IETFInterfaces_InterfaceType = 78
	// IETFInterfaces_InterfaceType_ethernet3Mbit corresponds to the value ethernet3Mbit of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_ethernet3Mbit E_IETFInterfaces_InterfaceType = 79
	// IETFInterfaces_InterfaceType_ethernetCsmacd corresponds to the value ethernetCsmacd of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_ethernetCsmacd E_IETFInterfaces_InterfaceType = 80
	// IETFInterfaces_InterfaceType_fast corresponds to the value fast of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_fast E_IETFInterfaces_InterfaceType = 81
	// IETFInterfaces_InterfaceType_fastEther corresponds to the value fastEther of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_fastEther E_IETFInterfaces_InterfaceType = 82
	// IETFInterfaces_InterfaceType_fastEtherFX corresponds to the value fastEtherFX of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_fastEtherFX E_IETFInterfaces_InterfaceType = 83
	// IETFInterfaces_InterfaceType_fcipLink corresponds to the value fcipLink of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_fcipLink E_IETFInterfaces_InterfaceType = 84
	// IETFInterfaces_InterfaceType_fddi corresponds to the value fddi of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_fddi E_IETFInterfaces_InterfaceType = 85
	// IETFInterfaces_InterfaceType_fibreChannel corresponds to the value fibreChannel of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_fibreChannel E_IETFInterfaces_InterfaceType = 86
	// IETFInterfaces_InterfaceType_frDlciEndPt corresponds to the value frDlciEndPt of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_frDlciEndPt E_IETFInterfaces_InterfaceType = 87
	// IETFInterfaces_InterfaceType_frForward corresponds to the value frForward of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_frForward E_IETFInterfaces_InterfaceType = 88
	// IETFInterfaces_InterfaceType_frameRelay corresponds to the value frameRelay of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_frameRelay E_IETFInterfaces_InterfaceType = 89
	// IETFInterfaces_InterfaceType_frameRelayInterconnect corresponds to the value frameRelayInterconnect of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_frameRelayInterconnect E_IETFInterfaces_InterfaceType = 90
	// IETFInterfaces_InterfaceType_frameRelayMPI corresponds to the value frameRelayMPI of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_frameRelayMPI E_IETFInterfaces_InterfaceType = 91
	// IETFInterfaces_InterfaceType_frameRelayService corresponds to the value frameRelayService of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_frameRelayService E_IETFInterfaces_InterfaceType = 92
	// IETFInterfaces_InterfaceType_frf16MfrBundle corresponds to the value frf16MfrBundle of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_frf16MfrBundle E_IETFInterfaces_InterfaceType = 93
	// IETFInterfaces_InterfaceType_g703at2mb corresponds to the value g703at2mb of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_g703at2mb E_IETFInterfaces_InterfaceType = 94
	// IETFInterfaces_InterfaceType_g703at64k corresponds to the value g703at64k of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_g703at64k E_IETFInterfaces_InterfaceType = 95
	// IETFInterfaces_InterfaceType_g9981 corresponds to the value g9981 of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_g9981 E_IETFInterfaces_InterfaceType = 96
	// IETFInterfaces_InterfaceType_g9982 corresponds to the value g9982 of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_g9982 E_IETFInterfaces_InterfaceType = 97
	// IETFInterfaces_InterfaceType_g9983 corresponds to the value g9983 of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_g9983 E_IETFInterfaces_InterfaceType = 98
	// IETFInterfaces_InterfaceType_gfp corresponds to the value gfp of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_gfp E_IETFInterfaces_InterfaceType = 99
	// IETFInterfaces_InterfaceType_gigabitEthernet corresponds to the value gigabitEthernet of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_gigabitEthernet E_IETFInterfaces_InterfaceType = 100
	// IETFInterfaces_InterfaceType_gpon corresponds to the value gpon of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_gpon E_IETFInterfaces_InterfaceType = 101
	// IETFInterfaces_InterfaceType_gr303IDT corresponds to the value gr303IDT of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_gr303IDT E_IETFInterfaces_InterfaceType = 102
	// IETFInterfaces_InterfaceType_gr303RDT corresponds to the value gr303RDT of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_gr303RDT E_IETFInterfaces_InterfaceType = 103
	// IETFInterfaces_InterfaceType_gtp corresponds to the value gtp of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_gtp E_IETFInterfaces_InterfaceType = 104
	// IETFInterfaces_InterfaceType_h323Gatekeeper corresponds to the value h323Gatekeeper of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_h323Gatekeeper E_IETFInterfaces_InterfaceType = 105
	// IETFInterfaces_InterfaceType_h323Proxy corresponds to the value h323Proxy of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_h323Proxy E_IETFInterfaces_InterfaceType = 106
	// IETFInterfaces_InterfaceType_hdh1822 corresponds to the value hdh1822 of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_hdh1822 E_IETFInterfaces_InterfaceType = 107
	// IETFInterfaces_InterfaceType_hdlc corresponds to the value hdlc of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_hdlc E_IETFInterfaces_InterfaceType = 108
	// IETFInterfaces_InterfaceType_hdsl2 corresponds to the value hdsl2 of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_hdsl2 E_IETFInterfaces_InterfaceType = 109
	// IETFInterfaces_InterfaceType_hiperlan2 corresponds to the value hiperlan2 of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_hiperlan2 E_IETFInterfaces_InterfaceType = 110
	// IETFInterfaces_InterfaceType_hippi corresponds to the value hippi of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_hippi E_IETFInterfaces_InterfaceType = 111
	// IETFInterfaces_InterfaceType_hippiInterface corresponds to the value hippiInterface of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_hippiInterface E_IETFInterfaces_InterfaceType = 112
	// IETFInterfaces_InterfaceType_homepna corresponds to the value homepna of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_homepna E_IETFInterfaces_InterfaceType = 113
	// IETFInterfaces_InterfaceType_hostPad corresponds to the value hostPad of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_hostPad E_IETFInterfaces_InterfaceType = 114
	// IETFInterfaces_InterfaceType_hssi corresponds to the value hssi of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_hssi E_IETFInterfaces_InterfaceType = 115
	// IETFInterfaces_InterfaceType_hyperchannel corresponds to the value hyperchannel of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_hyperchannel E_IETFInterfaces_InterfaceType = 116
	// IETFInterfaces_InterfaceType_iana_interface_type corresponds to the value iana_interface_type of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_iana_interface_type E_IETFInterfaces_InterfaceType = 117
	// IETFInterfaces_InterfaceType_ibm370parChan corresponds to the value ibm370parChan of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_ibm370parChan E_IETFInterfaces_InterfaceType = 118
	// IETFInterfaces_InterfaceType_idsl corresponds to the value idsl of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_idsl E_IETFInterfaces_InterfaceType = 119
	// IETFInterfaces_InterfaceType_ieee1394 corresponds to the value ieee1394 of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_ieee1394 E_IETFInterfaces_InterfaceType = 120
	// IETFInterfaces_InterfaceType_ieee80211 corresponds to the value ieee80211 of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_ieee80211 E_IETFInterfaces_InterfaceType = 121
	// IETFInterfaces_InterfaceType_ieee80212 corresponds to the value ieee80212 of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_ieee80212 E_IETFInterfaces_InterfaceType = 122
	// IETFInterfaces_InterfaceType_ieee802154 corresponds to the value ieee802154 of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_ieee802154 E_IETFInterfaces_InterfaceType = 123
	// IETFInterfaces_InterfaceType_ieee80216WMAN corresponds to the value ieee80216WMAN of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_ieee80216WMAN E_IETFInterfaces_InterfaceType = 124
	// IETFInterfaces_InterfaceType_ieee8023adLag corresponds to the value ieee8023adLag of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_ieee8023adLag E_IETFInterfaces_InterfaceType = 125
	// IETFInterfaces_InterfaceType_if_gsn corresponds to the value if_gsn of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_if_gsn E_IETFInterfaces_InterfaceType = 126
	// IETFInterfaces_InterfaceType_ifPwType corresponds to the value ifPwType of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_ifPwType E_IETFInterfaces_InterfaceType = 127
	// IETFInterfaces_InterfaceType_ifVfiType corresponds to the value ifVfiType of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_ifVfiType E_IETFInterfaces_InterfaceType = 128
	// IETFInterfaces_InterfaceType_ilan corresponds to the value ilan of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_ilan E_IETFInterfaces_InterfaceType = 129
	// IETFInterfaces_InterfaceType_imt corresponds to the value imt of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_imt E_IETFInterfaces_InterfaceType = 130
	// IETFInterfaces_InterfaceType_infiniband corresponds to the value infiniband of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_infiniband E_IETFInterfaces_InterfaceType = 131
	// IETFInterfaces_InterfaceType_interleave corresponds to the value interleave of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_interleave E_IETFInterfaces_InterfaceType = 132
	// IETFInterfaces_InterfaceType_ip corresponds to the value ip of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_ip E_IETFInterfaces_InterfaceType = 133
	// IETFInterfaces_InterfaceType_ipForward corresponds to the value ipForward of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_ipForward E_IETFInterfaces_InterfaceType = 134
	// IETFInterfaces_InterfaceType_ipOverAtm corresponds to the value ipOverAtm of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_ipOverAtm E_IETFInterfaces_InterfaceType = 135
	// IETFInterfaces_InterfaceType_ipOverCdlc corresponds to the value ipOverCdlc of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_ipOverCdlc E_IETFInterfaces_InterfaceType = 136
	// IETFInterfaces_InterfaceType_ipOverClaw corresponds to the value ipOverClaw of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_ipOverClaw E_IETFInterfaces_InterfaceType = 137
	// IETFInterfaces_InterfaceType_ipSwitch corresponds to the value ipSwitch of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_ipSwitch E_IETFInterfaces_InterfaceType = 138
	// IETFInterfaces_InterfaceType_isdn corresponds to the value isdn of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_isdn E_IETFInterfaces_InterfaceType = 139
	// IETFInterfaces_InterfaceType_isdns corresponds to the value isdns of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_isdns E_IETFInterfaces_InterfaceType = 140
	// IETFInterfaces_InterfaceType_isdnu corresponds to the value isdnu of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_isdnu E_IETFInterfaces_InterfaceType = 141
	// IETFInterfaces_InterfaceType_iso88022llc corresponds to the value iso88022llc of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_iso88022llc E_IETFInterfaces_InterfaceType = 142
	// IETFInterfaces_InterfaceType_iso88023Csmacd corresponds to the value iso88023Csmacd of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_iso88023Csmacd E_IETFInterfaces_InterfaceType = 143
	// IETFInterfaces_InterfaceType_iso88024TokenBus corresponds to the value iso88024TokenBus of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_iso88024TokenBus E_IETFInterfaces_InterfaceType = 144
	// IETFInterfaces_InterfaceType_iso88025CRFPInt corresponds to the value iso88025CRFPInt of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_iso88025CRFPInt E_IETFInterfaces_InterfaceType = 145
	// IETFInterfaces_InterfaceType_iso88025Dtr corresponds to the value iso88025Dtr of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_iso88025Dtr E_IETFInterfaces_InterfaceType = 146
	// IETFInterfaces_InterfaceType_iso88025Fiber corresponds to the value iso88025Fiber of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_iso88025Fiber E_IETFInterfaces_InterfaceType = 147
	// IETFInterfaces_InterfaceType_iso88025TokenRing corresponds to the value iso88025TokenRing of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_iso88025TokenRing E_IETFInterfaces_InterfaceType = 148
	// IETFInterfaces_InterfaceType_iso88026Man corresponds to the value iso88026Man of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_iso88026Man E_IETFInterfaces_InterfaceType = 149
	// IETFInterfaces_InterfaceType_isup corresponds to the value isup of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_isup E_IETFInterfaces_InterfaceType = 150
	// IETFInterfaces_InterfaceType_l2vlan corresponds to the value l2vlan of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_l2vlan E_IETFInterfaces_InterfaceType = 151
	// IETFInterfaces_InterfaceType_l3ipvlan corresponds to the value l3ipvlan of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_l3ipvlan E_IETFInterfaces_InterfaceType = 152
	// IETFInterfaces_InterfaceType_l3ipxvlan corresponds to the value l3ipxvlan of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_l3ipxvlan E_IETFInterfaces_InterfaceType = 153
	// IETFInterfaces_InterfaceType_lapb corresponds to the value lapb of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_lapb E_IETFInterfaces_InterfaceType = 154
	// IETFInterfaces_InterfaceType_lapd corresponds to the value lapd of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_lapd E_IETFInterfaces_InterfaceType = 155
	// IETFInterfaces_InterfaceType_lapf corresponds to the value lapf of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_lapf E_IETFInterfaces_InterfaceType = 156
	// IETFInterfaces_InterfaceType_linegroup corresponds to the value linegroup of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_linegroup E_IETFInterfaces_InterfaceType = 157
	// IETFInterfaces_InterfaceType_lmp corresponds to the value lmp of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_lmp E_IETFInterfaces_InterfaceType = 158
	// IETFInterfaces_InterfaceType_localTalk corresponds to the value localTalk of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_localTalk E_IETFInterfaces_InterfaceType = 159
	// IETFInterfaces_InterfaceType_macSecControlledIF corresponds to the value macSecControlledIF of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_macSecControlledIF E_IETFInterfaces_InterfaceType = 160
	// IETFInterfaces_InterfaceType_macSecUncontrolledIF corresponds to the value macSecUncontrolledIF of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_macSecUncontrolledIF E_IETFInterfaces_InterfaceType = 161
	// IETFInterfaces_InterfaceType_mediaMailOverIp corresponds to the value mediaMailOverIp of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_mediaMailOverIp E_IETFInterfaces_InterfaceType = 162
	// IETFInterfaces_InterfaceType_mfSigLink corresponds to the value mfSigLink of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_mfSigLink E_IETFInterfaces_InterfaceType = 163
	// IETFInterfaces_InterfaceType_miox25 corresponds to the value miox25 of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_miox25 E_IETFInterfaces_InterfaceType = 164
	// IETFInterfaces_InterfaceType_mocaVersion1 corresponds to the value mocaVersion1 of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_mocaVersion1 E_IETFInterfaces_InterfaceType = 165
	// IETFInterfaces_InterfaceType_modem corresponds to the value modem of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_modem E_IETFInterfaces_InterfaceType = 166
	// IETFInterfaces_InterfaceType_mpc corresponds to the value mpc of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_mpc E_IETFInterfaces_InterfaceType = 167
	// IETFInterfaces_InterfaceType_mpegTransport corresponds to the value mpegTransport of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_mpegTransport E_IETFInterfaces_InterfaceType = 168
	// IETFInterfaces_InterfaceType_mpls corresponds to the value mpls of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_mpls E_IETFInterfaces_InterfaceType = 169
	// IETFInterfaces_InterfaceType_mplsTunnel corresponds to the value mplsTunnel of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_mplsTunnel E_IETFInterfaces_InterfaceType = 170
	// IETFInterfaces_InterfaceType_msdsl corresponds to the value msdsl of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_msdsl E_IETFInterfaces_InterfaceType = 171
	// IETFInterfaces_InterfaceType_mvl corresponds to the value mvl of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_mvl E_IETFInterfaces_InterfaceType = 172
	// IETFInterfaces_InterfaceType_myrinet corresponds to the value myrinet of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_myrinet E_IETFInterfaces_InterfaceType = 173
	// IETFInterfaces_InterfaceType_nfas corresponds to the value nfas of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_nfas E_IETFInterfaces_InterfaceType = 174
	// IETFInterfaces_InterfaceType_nsip corresponds to the value nsip of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_nsip E_IETFInterfaces_InterfaceType = 175
	// IETFInterfaces_InterfaceType_opticalChannel corresponds to the value opticalChannel of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_opticalChannel E_IETFInterfaces_InterfaceType = 176
	// IETFInterfaces_InterfaceType_opticalChannelGroup corresponds to the value opticalChannelGroup of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_opticalChannelGroup E_IETFInterfaces_InterfaceType = 177
	// IETFInterfaces_InterfaceType_opticalTransport corresponds to the value opticalTransport of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_opticalTransport E_IETFInterfaces_InterfaceType = 178
	// IETFInterfaces_InterfaceType_other corresponds to the value other of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_other E_IETFInterfaces_InterfaceType = 179
	// IETFInterfaces_InterfaceType_otnOdu corresponds to the value otnOdu of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_otnOdu E_IETFInterfaces_InterfaceType = 180
	// IETFInterfaces_InterfaceType_otnOtu corresponds to the value otnOtu of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_otnOtu E_IETFInterfaces_InterfaceType = 181
	// IETFInterfaces_InterfaceType_para corresponds to the value para of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_para E_IETFInterfaces_InterfaceType = 182
	// IETFInterfaces_InterfaceType_pdnEtherLoop1 corresponds to the value pdnEtherLoop1 of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_pdnEtherLoop1 E_IETFInterfaces_InterfaceType = 183
	// IETFInterfaces_InterfaceType_pdnEtherLoop2 corresponds to the value pdnEtherLoop2 of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_pdnEtherLoop2 E_IETFInterfaces_InterfaceType = 184
	// IETFInterfaces_InterfaceType_pip corresponds to the value pip of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_pip E_IETFInterfaces_InterfaceType = 185
	// IETFInterfaces_InterfaceType_plc corresponds to the value plc of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_plc E_IETFInterfaces_InterfaceType = 186
	// IETFInterfaces_InterfaceType_pon155 corresponds to the value pon155 of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_pon155 E_IETFInterfaces_InterfaceType = 187
	// IETFInterfaces_InterfaceType_pon622 corresponds to the value pon622 of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_pon622 E_IETFInterfaces_InterfaceType = 188
	// IETFInterfaces_InterfaceType_pos corresponds to the value pos of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_pos E_IETFInterfaces_InterfaceType = 189
	// IETFInterfaces_InterfaceType_ppp corresponds to the value ppp of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_ppp E_IETFInterfaces_InterfaceType = 190
	// IETFInterfaces_InterfaceType_pppMultilinkBundle corresponds to the value pppMultilinkBundle of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_pppMultilinkBundle E_IETFInterfaces_InterfaceType = 191
	// IETFInterfaces_InterfaceType_primaryISDN corresponds to the value primaryISDN of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_primaryISDN E_IETFInterfaces_InterfaceType = 192
	// IETFInterfaces_InterfaceType_propAtm corresponds to the value propAtm of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_propAtm E_IETFInterfaces_InterfaceType = 193
	// IETFInterfaces_InterfaceType_propBWAp2Mp corresponds to the value propBWAp2Mp of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_propBWAp2Mp E_IETFInterfaces_InterfaceType = 194
	// IETFInterfaces_InterfaceType_propCnls corresponds to the value propCnls of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_propCnls E_IETFInterfaces_InterfaceType = 195
	// IETFInterfaces_InterfaceType_propDocsWirelessDownstream corresponds to the value propDocsWirelessDownstream of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_propDocsWirelessDownstream E_IETFInterfaces_InterfaceType = 196
	// IETFInterfaces_InterfaceType_propDocsWirelessMaclayer corresponds to the value propDocsWirelessMaclayer of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_propDocsWirelessMaclayer E_IETFInterfaces_InterfaceType = 197
	// IETFInterfaces_InterfaceType_propDocsWirelessUpstream corresponds to the value propDocsWirelessUpstream of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_propDocsWirelessUpstream E_IETFInterfaces_InterfaceType = 198
	// IETFInterfaces_InterfaceType_propMultiplexor corresponds to the value propMultiplexor of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_propMultiplexor E_IETFInterfaces_InterfaceType = 199
	// IETFInterfaces_InterfaceType_propPointToPointSerial corresponds to the value propPointToPointSerial of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_propPointToPointSerial E_IETFInterfaces_InterfaceType = 200
	// IETFInterfaces_InterfaceType_propVirtual corresponds to the value propVirtual of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_propVirtual E_IETFInterfaces_InterfaceType = 201
	// IETFInterfaces_InterfaceType_propWirelessP2P corresponds to the value propWirelessP2P of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_propWirelessP2P E_IETFInterfaces_InterfaceType = 202
	// IETFInterfaces_InterfaceType_proteon10Mbit corresponds to the value proteon10Mbit of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_proteon10Mbit E_IETFInterfaces_InterfaceType = 203
	// IETFInterfaces_InterfaceType_proteon80Mbit corresponds to the value proteon80Mbit of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_proteon80Mbit E_IETFInterfaces_InterfaceType = 204
	// IETFInterfaces_InterfaceType_q2931 corresponds to the value q2931 of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_q2931 E_IETFInterfaces_InterfaceType = 205
	// IETFInterfaces_InterfaceType_qam corresponds to the value qam of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_qam E_IETFInterfaces_InterfaceType = 206
	// IETFInterfaces_InterfaceType_qllc corresponds to the value qllc of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_qllc E_IETFInterfaces_InterfaceType = 207
	// IETFInterfaces_InterfaceType_radioMAC corresponds to the value radioMAC of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_radioMAC E_IETFInterfaces_InterfaceType = 208
	// IETFInterfaces_InterfaceType_radsl corresponds to the value radsl of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_radsl E_IETFInterfaces_InterfaceType = 209
	// IETFInterfaces_InterfaceType_reachDSL corresponds to the value reachDSL of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_reachDSL E_IETFInterfaces_InterfaceType = 210
	// IETFInterfaces_InterfaceType_regular1822 corresponds to the value regular1822 of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_regular1822 E_IETFInterfaces_InterfaceType = 211
	// IETFInterfaces_InterfaceType_rfc1483 corresponds to the value rfc1483 of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_rfc1483 E_IETFInterfaces_InterfaceType = 212
	// IETFInterfaces_InterfaceType_rfc877x25 corresponds to the value rfc877x25 of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_rfc877x25 E_IETFInterfaces_InterfaceType = 213
	// IETFInterfaces_InterfaceType_rpr corresponds to the value rpr of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_rpr E_IETFInterfaces_InterfaceType = 214
	// IETFInterfaces_InterfaceType_rs232 corresponds to the value rs232 of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_rs232 E_IETFInterfaces_InterfaceType = 215
	// IETFInterfaces_InterfaceType_rsrb corresponds to the value rsrb of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_rsrb E_IETFInterfaces_InterfaceType = 216
	// IETFInterfaces_InterfaceType_sdlc corresponds to the value sdlc of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_sdlc E_IETFInterfaces_InterfaceType = 217
	// IETFInterfaces_InterfaceType_sdsl corresponds to the value sdsl of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_sdsl E_IETFInterfaces_InterfaceType = 218
	// IETFInterfaces_InterfaceType_shdsl corresponds to the value shdsl of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_shdsl E_IETFInterfaces_InterfaceType = 219
	// IETFInterfaces_InterfaceType_sip corresponds to the value sip of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_sip E_IETFInterfaces_InterfaceType = 220
	// IETFInterfaces_InterfaceType_sipSig corresponds to the value sipSig of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_sipSig E_IETFInterfaces_InterfaceType = 221
	// IETFInterfaces_InterfaceType_sipTg corresponds to the value sipTg of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_sipTg E_IETFInterfaces_InterfaceType = 222
	// IETFInterfaces_InterfaceType_sixToFour corresponds to the value sixToFour of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_sixToFour E_IETFInterfaces_InterfaceType = 223
	// IETFInterfaces_InterfaceType_slip corresponds to the value slip of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_slip E_IETFInterfaces_InterfaceType = 224
	// IETFInterfaces_InterfaceType_smdsDxi corresponds to the value smdsDxi of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_smdsDxi E_IETFInterfaces_InterfaceType = 225
	// IETFInterfaces_InterfaceType_smdsIcip corresponds to the value smdsIcip of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_smdsIcip E_IETFInterfaces_InterfaceType = 226
	// IETFInterfaces_InterfaceType_softwareLoopback corresponds to the value softwareLoopback of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_softwareLoopback E_IETFInterfaces_InterfaceType = 227
	// IETFInterfaces_InterfaceType_sonet corresponds to the value sonet of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_sonet E_IETFInterfaces_InterfaceType = 228
	// IETFInterfaces_InterfaceType_sonetOverheadChannel corresponds to the value sonetOverheadChannel of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_sonetOverheadChannel E_IETFInterfaces_InterfaceType = 229
	// IETFInterfaces_InterfaceType_sonetPath corresponds to the value sonetPath of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_sonetPath E_IETFInterfaces_InterfaceType = 230
	// IETFInterfaces_InterfaceType_sonetVT corresponds to the value sonetVT of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_sonetVT E_IETFInterfaces_InterfaceType = 231
	// IETFInterfaces_InterfaceType_srp corresponds to the value srp of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_srp E_IETFInterfaces_InterfaceType = 232
	// IETFInterfaces_InterfaceType_ss7SigLink corresponds to the value ss7SigLink of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_ss7SigLink E_IETFInterfaces_InterfaceType = 233
	// IETFInterfaces_InterfaceType_stackToStack corresponds to the value stackToStack of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_stackToStack E_IETFInterfaces_InterfaceType = 234
	// IETFInterfaces_InterfaceType_starLan corresponds to the value starLan of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_starLan E_IETFInterfaces_InterfaceType = 235
	// IETFInterfaces_InterfaceType_tdlc corresponds to the value tdlc of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_tdlc E_IETFInterfaces_InterfaceType = 236
	// IETFInterfaces_InterfaceType_teLink corresponds to the value teLink of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_teLink E_IETFInterfaces_InterfaceType = 237
	// IETFInterfaces_InterfaceType_termPad corresponds to the value termPad of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_termPad E_IETFInterfaces_InterfaceType = 238
	// IETFInterfaces_InterfaceType_tr008 corresponds to the value tr008 of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_tr008 E_IETFInterfaces_InterfaceType = 239
	// IETFInterfaces_InterfaceType_transpHdlc corresponds to the value transpHdlc of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_transpHdlc E_IETFInterfaces_InterfaceType = 240
	// IETFInterfaces_InterfaceType_tunnel corresponds to the value tunnel of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_tunnel E_IETFInterfaces_InterfaceType = 241
	// IETFInterfaces_InterfaceType_ultra corresponds to the value ultra of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_ultra E_IETFInterfaces_InterfaceType = 242
	// IETFInterfaces_InterfaceType_usb corresponds to the value usb of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_usb E_IETFInterfaces_InterfaceType = 243
	// IETFInterfaces_InterfaceType_v11 corresponds to the value v11 of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_v11 E_IETFInterfaces_InterfaceType = 244
	// IETFInterfaces_InterfaceType_v35 corresponds to the value v35 of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_v35 E_IETFInterfaces_InterfaceType = 245
	// IETFInterfaces_InterfaceType_v36 corresponds to the value v36 of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_v36 E_IETFInterfaces_InterfaceType = 246
	// IETFInterfaces_InterfaceType_v37 corresponds to the value v37 of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_v37 E_IETFInterfaces_InterfaceType = 247
	// IETFInterfaces_InterfaceType_vdsl corresponds to the value vdsl of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_vdsl E_IETFInterfaces_InterfaceType = 248
	// IETFInterfaces_InterfaceType_vdsl2 corresponds to the value vdsl2 of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_vdsl2 E_IETFInterfaces_InterfaceType = 249
	// IETFInterfaces_InterfaceType_virtualIpAddress corresponds to the value virtualIpAddress of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_virtualIpAddress E_IETFInterfaces_InterfaceType = 250
	// IETFInterfaces_InterfaceType_virtualTg corresponds to the value virtualTg of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_virtualTg E_IETFInterfaces_InterfaceType = 251
	// IETFInterfaces_InterfaceType_vmwareNicTeam corresponds to the value vmwareNicTeam of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_vmwareNicTeam E_IETFInterfaces_InterfaceType = 252
	// IETFInterfaces_InterfaceType_vmwareVirtualNic corresponds to the value vmwareVirtualNic of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_vmwareVirtualNic E_IETFInterfaces_InterfaceType = 253
	// IETFInterfaces_InterfaceType_voiceDID corresponds to the value voiceDID of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_voiceDID E_IETFInterfaces_InterfaceType = 254
	// IETFInterfaces_InterfaceType_voiceEBS corresponds to the value voiceEBS of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_voiceEBS E_IETFInterfaces_InterfaceType = 255
	// IETFInterfaces_InterfaceType_voiceEM corresponds to the value voiceEM of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_voiceEM E_IETFInterfaces_InterfaceType = 256
	// IETFInterfaces_InterfaceType_voiceEMFGD corresponds to the value voiceEMFGD of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_voiceEMFGD E_IETFInterfaces_InterfaceType = 257
	// IETFInterfaces_InterfaceType_voiceEncap corresponds to the value voiceEncap of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_voiceEncap E_IETFInterfaces_InterfaceType = 258
	// IETFInterfaces_InterfaceType_voiceFGDEANA corresponds to the value voiceFGDEANA of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_voiceFGDEANA E_IETFInterfaces_InterfaceType = 259
	// IETFInterfaces_InterfaceType_voiceFGDOS corresponds to the value voiceFGDOS of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_voiceFGDOS E_IETFInterfaces_InterfaceType = 260
	// IETFInterfaces_InterfaceType_voiceFXO corresponds to the value voiceFXO of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_voiceFXO E_IETFInterfaces_InterfaceType = 261
	// IETFInterfaces_InterfaceType_voiceFXS corresponds to the value voiceFXS of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_voiceFXS E_IETFInterfaces_InterfaceType = 262
	// IETFInterfaces_InterfaceType_voiceOverAtm corresponds to the value voiceOverAtm of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_voiceOverAtm E_IETFInterfaces_InterfaceType = 263
	// IETFInterfaces_InterfaceType_voiceOverCable corresponds to the value voiceOverCable of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_voiceOverCable E_IETFInterfaces_InterfaceType = 264
	// IETFInterfaces_InterfaceType_voiceOverFrameRelay corresponds to the value voiceOverFrameRelay of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_voiceOverFrameRelay E_IETFInterfaces_InterfaceType = 265
	// IETFInterfaces_InterfaceType_voiceOverIp corresponds to the value voiceOverIp of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_voiceOverIp E_IETFInterfaces_InterfaceType = 266
	// IETFInterfaces_InterfaceType_wwanPP corresponds to the value wwanPP of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_wwanPP E_IETFInterfaces_InterfaceType = 267
	// IETFInterfaces_InterfaceType_wwanPP2 corresponds to the value wwanPP2 of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_wwanPP2 E_IETFInterfaces_InterfaceType = 268
	// IETFInterfaces_InterfaceType_x213 corresponds to the value x213 of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_x213 E_IETFInterfaces_InterfaceType = 269
	// IETFInterfaces_InterfaceType_x25huntGroup corresponds to the value x25huntGroup of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_x25huntGroup E_IETFInterfaces_InterfaceType = 270
	// IETFInterfaces_InterfaceType_x25mlp corresponds to the value x25mlp of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_x25mlp E_IETFInterfaces_InterfaceType = 271
	// IETFInterfaces_InterfaceType_x25ple corresponds to the value x25ple of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_x25ple E_IETFInterfaces_InterfaceType = 272
	// IETFInterfaces_InterfaceType_x86Laps corresponds to the value x86Laps of IETFInterfaces_InterfaceType
	IETFInterfaces_InterfaceType_x86Laps E_IETFInterfaces_InterfaceType = 273
)

func (E_IETFInterfaces_InterfaceType) IsYANGGoEnum

func (E_IETFInterfaces_InterfaceType) IsYANGGoEnum()

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

func (E_IETFInterfaces_InterfaceType) ΛMap

ΛMap returns the value lookup map associated with IETFInterfaces_InterfaceType.

type E_OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE

type E_OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE int64

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

const (
	// OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE_UNSET corresponds to the value UNSET of OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE
	OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE_UNSET E_OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE = 0
	// OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE_AAA_ACCOUNTING_EVENT_COMMAND corresponds to the value AAA_ACCOUNTING_EVENT_COMMAND of OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE
	OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE_AAA_ACCOUNTING_EVENT_COMMAND E_OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE = 1
	// OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE_AAA_ACCOUNTING_EVENT_LOGIN corresponds to the value AAA_ACCOUNTING_EVENT_LOGIN of OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE
	OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE_AAA_ACCOUNTING_EVENT_LOGIN E_OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE = 2
)

func (E_OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE) IsYANGGoEnum

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

func (E_OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE) ΛMap

ΛMap returns the value lookup map associated with OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE.

type E_OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE

type E_OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE int64

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

const (
	// OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE_UNSET corresponds to the value UNSET of OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE
	OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE_UNSET E_OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE = 0
	// OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE_AAA_AUTHORIZATION_EVENT_COMMAND corresponds to the value AAA_AUTHORIZATION_EVENT_COMMAND of OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE
	OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE_AAA_AUTHORIZATION_EVENT_COMMAND E_OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE = 1
	// OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE_AAA_AUTHORIZATION_EVENT_CONFIG corresponds to the value AAA_AUTHORIZATION_EVENT_CONFIG of OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE
	OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE_AAA_AUTHORIZATION_EVENT_CONFIG E_OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE = 2
)

func (E_OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE) IsYANGGoEnum

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

func (E_OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE) ΛMap

ΛMap returns the value lookup map associated with OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE.

type E_OpenconfigAaaTypes_AAA_METHOD_TYPE

type E_OpenconfigAaaTypes_AAA_METHOD_TYPE int64

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

const (
	// OpenconfigAaaTypes_AAA_METHOD_TYPE_UNSET corresponds to the value UNSET of OpenconfigAaaTypes_AAA_METHOD_TYPE
	OpenconfigAaaTypes_AAA_METHOD_TYPE_UNSET E_OpenconfigAaaTypes_AAA_METHOD_TYPE = 0
	// OpenconfigAaaTypes_AAA_METHOD_TYPE_LOCAL corresponds to the value LOCAL of OpenconfigAaaTypes_AAA_METHOD_TYPE
	OpenconfigAaaTypes_AAA_METHOD_TYPE_LOCAL E_OpenconfigAaaTypes_AAA_METHOD_TYPE = 1
	// OpenconfigAaaTypes_AAA_METHOD_TYPE_RADIUS_ALL corresponds to the value RADIUS_ALL of OpenconfigAaaTypes_AAA_METHOD_TYPE
	OpenconfigAaaTypes_AAA_METHOD_TYPE_RADIUS_ALL E_OpenconfigAaaTypes_AAA_METHOD_TYPE = 2
	// OpenconfigAaaTypes_AAA_METHOD_TYPE_TACACS_ALL corresponds to the value TACACS_ALL of OpenconfigAaaTypes_AAA_METHOD_TYPE
	OpenconfigAaaTypes_AAA_METHOD_TYPE_TACACS_ALL E_OpenconfigAaaTypes_AAA_METHOD_TYPE = 3
)

func (E_OpenconfigAaaTypes_AAA_METHOD_TYPE) IsYANGGoEnum

func (E_OpenconfigAaaTypes_AAA_METHOD_TYPE) IsYANGGoEnum()

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

func (E_OpenconfigAaaTypes_AAA_METHOD_TYPE) ΛMap

ΛMap returns the value lookup map associated with OpenconfigAaaTypes_AAA_METHOD_TYPE.

type E_OpenconfigAaaTypes_AAA_SERVER_TYPE

type E_OpenconfigAaaTypes_AAA_SERVER_TYPE int64

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

const (
	// OpenconfigAaaTypes_AAA_SERVER_TYPE_UNSET corresponds to the value UNSET of OpenconfigAaaTypes_AAA_SERVER_TYPE
	OpenconfigAaaTypes_AAA_SERVER_TYPE_UNSET E_OpenconfigAaaTypes_AAA_SERVER_TYPE = 0
	// OpenconfigAaaTypes_AAA_SERVER_TYPE_RADIUS corresponds to the value RADIUS of OpenconfigAaaTypes_AAA_SERVER_TYPE
	OpenconfigAaaTypes_AAA_SERVER_TYPE_RADIUS E_OpenconfigAaaTypes_AAA_SERVER_TYPE = 1
	// OpenconfigAaaTypes_AAA_SERVER_TYPE_TACACS corresponds to the value TACACS of OpenconfigAaaTypes_AAA_SERVER_TYPE
	OpenconfigAaaTypes_AAA_SERVER_TYPE_TACACS E_OpenconfigAaaTypes_AAA_SERVER_TYPE = 2
)

func (E_OpenconfigAaaTypes_AAA_SERVER_TYPE) IsYANGGoEnum

func (E_OpenconfigAaaTypes_AAA_SERVER_TYPE) IsYANGGoEnum()

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

func (E_OpenconfigAaaTypes_AAA_SERVER_TYPE) ΛMap

ΛMap returns the value lookup map associated with OpenconfigAaaTypes_AAA_SERVER_TYPE.

type E_OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES

type E_OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES int64

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

const (
	// OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES_UNSET corresponds to the value UNSET of OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES
	OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES_UNSET E_OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES = 0
	// OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES_SYSTEM_ROLE_ADMIN corresponds to the value SYSTEM_ROLE_ADMIN of OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES
	OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES_SYSTEM_ROLE_ADMIN E_OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES = 1
)

func (E_OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES) IsYANGGoEnum

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

func (E_OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES) ΛMap

ΛMap returns the value lookup map associated with OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES.

type E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY

type E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY int64

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

const (
	// OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY_UNSET corresponds to the value UNSET of OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY
	OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY_UNSET E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY = 0
	// OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY_CRITICAL corresponds to the value CRITICAL of OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY
	OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY_CRITICAL E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY = 1
	// OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY_MAJOR corresponds to the value MAJOR of OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY
	OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY_MAJOR E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY = 2
	// OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY_MINOR corresponds to the value MINOR of OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY
	OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY_MINOR E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY = 3
	// OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY_UNKNOWN corresponds to the value UNKNOWN of OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY
	OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY_UNKNOWN E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY = 4
	// OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY_WARNING corresponds to the value WARNING of OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY
	OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY_WARNING E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY = 5
)

func (E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY) IsYANGGoEnum

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

func (E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY) ΛMap

ΛMap returns the value lookup map associated with OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY.

type E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID

type E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID int64

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

const (
	// OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID_UNSET corresponds to the value UNSET of OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID
	OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID_UNSET E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID = 0
	// OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID_AIS corresponds to the value AIS of OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID
	OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID_AIS E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID = 1
	// OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID_EQPT corresponds to the value EQPT of OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID
	OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID_EQPT E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID = 2
	// OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID_LOS corresponds to the value LOS of OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID
	OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID_LOS E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID = 3
	// OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID_OTS corresponds to the value OTS of OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID
	OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID_OTS E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID = 4
)

func (E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID) IsYANGGoEnum

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

func (E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID) ΛMap

ΛMap returns the value lookup map associated with OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID.

type E_OpenconfigIfEthernet_ETHERNET_SPEED

type E_OpenconfigIfEthernet_ETHERNET_SPEED int64

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

const (
	// OpenconfigIfEthernet_ETHERNET_SPEED_UNSET corresponds to the value UNSET of OpenconfigIfEthernet_ETHERNET_SPEED
	OpenconfigIfEthernet_ETHERNET_SPEED_UNSET E_OpenconfigIfEthernet_ETHERNET_SPEED = 0
	// OpenconfigIfEthernet_ETHERNET_SPEED_SPEED_100GB corresponds to the value SPEED_100GB of OpenconfigIfEthernet_ETHERNET_SPEED
	OpenconfigIfEthernet_ETHERNET_SPEED_SPEED_100GB E_OpenconfigIfEthernet_ETHERNET_SPEED = 1
	// OpenconfigIfEthernet_ETHERNET_SPEED_SPEED_100MB corresponds to the value SPEED_100MB of OpenconfigIfEthernet_ETHERNET_SPEED
	OpenconfigIfEthernet_ETHERNET_SPEED_SPEED_100MB E_OpenconfigIfEthernet_ETHERNET_SPEED = 2
	// OpenconfigIfEthernet_ETHERNET_SPEED_SPEED_10GB corresponds to the value SPEED_10GB of OpenconfigIfEthernet_ETHERNET_SPEED
	OpenconfigIfEthernet_ETHERNET_SPEED_SPEED_10GB E_OpenconfigIfEthernet_ETHERNET_SPEED = 3
	// OpenconfigIfEthernet_ETHERNET_SPEED_SPEED_10MB corresponds to the value SPEED_10MB of OpenconfigIfEthernet_ETHERNET_SPEED
	OpenconfigIfEthernet_ETHERNET_SPEED_SPEED_10MB E_OpenconfigIfEthernet_ETHERNET_SPEED = 4
	// OpenconfigIfEthernet_ETHERNET_SPEED_SPEED_1GB corresponds to the value SPEED_1GB of OpenconfigIfEthernet_ETHERNET_SPEED
	OpenconfigIfEthernet_ETHERNET_SPEED_SPEED_1GB E_OpenconfigIfEthernet_ETHERNET_SPEED = 5
	// OpenconfigIfEthernet_ETHERNET_SPEED_SPEED_2500MB corresponds to the value SPEED_2500MB of OpenconfigIfEthernet_ETHERNET_SPEED
	OpenconfigIfEthernet_ETHERNET_SPEED_SPEED_2500MB E_OpenconfigIfEthernet_ETHERNET_SPEED = 6
	// OpenconfigIfEthernet_ETHERNET_SPEED_SPEED_25GB corresponds to the value SPEED_25GB of OpenconfigIfEthernet_ETHERNET_SPEED
	OpenconfigIfEthernet_ETHERNET_SPEED_SPEED_25GB E_OpenconfigIfEthernet_ETHERNET_SPEED = 7
	// OpenconfigIfEthernet_ETHERNET_SPEED_SPEED_40GB corresponds to the value SPEED_40GB of OpenconfigIfEthernet_ETHERNET_SPEED
	OpenconfigIfEthernet_ETHERNET_SPEED_SPEED_40GB E_OpenconfigIfEthernet_ETHERNET_SPEED = 8
	// OpenconfigIfEthernet_ETHERNET_SPEED_SPEED_50GB corresponds to the value SPEED_50GB of OpenconfigIfEthernet_ETHERNET_SPEED
	OpenconfigIfEthernet_ETHERNET_SPEED_SPEED_50GB E_OpenconfigIfEthernet_ETHERNET_SPEED = 9
	// OpenconfigIfEthernet_ETHERNET_SPEED_SPEED_5GB corresponds to the value SPEED_5GB of OpenconfigIfEthernet_ETHERNET_SPEED
	OpenconfigIfEthernet_ETHERNET_SPEED_SPEED_5GB E_OpenconfigIfEthernet_ETHERNET_SPEED = 10
	// OpenconfigIfEthernet_ETHERNET_SPEED_SPEED_UNKNOWN corresponds to the value SPEED_UNKNOWN of OpenconfigIfEthernet_ETHERNET_SPEED
	OpenconfigIfEthernet_ETHERNET_SPEED_SPEED_UNKNOWN E_OpenconfigIfEthernet_ETHERNET_SPEED = 11
)

func (E_OpenconfigIfEthernet_ETHERNET_SPEED) IsYANGGoEnum

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

func (E_OpenconfigIfEthernet_ETHERNET_SPEED) ΛMap

ΛMap returns the value lookup map associated with OpenconfigIfEthernet_ETHERNET_SPEED.

type E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientAls

type E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientAls int64

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

const (
	// OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientAls_UNSET corresponds to the value UNSET of OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientAls
	OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientAls_UNSET E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientAls = 0
	// OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientAls_NONE corresponds to the value NONE of OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientAls
	OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientAls_NONE E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientAls = 1
	// OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientAls_LASER_SHUTDOWN corresponds to the value LASER_SHUTDOWN of OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientAls
	OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientAls_LASER_SHUTDOWN E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientAls = 2
	// OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientAls_ETHERNET corresponds to the value ETHERNET of OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientAls
	OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientAls_ETHERNET E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientAls = 3
)

func (E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientAls) IsYANGGoEnum

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

func (E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientAls) ΛMap

ΛMap returns the value lookup map associated with OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientAls.

type E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientFec

type E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientFec int64

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

const (
	// OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientFec_UNSET corresponds to the value UNSET of OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientFec
	OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientFec_UNSET E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientFec = 0
	// OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientFec_ENABLED corresponds to the value ENABLED of OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientFec
	OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientFec_ENABLED E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientFec = 1
	// OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientFec_DISABLED corresponds to the value DISABLED of OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientFec
	OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientFec_DISABLED E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientFec = 2
	// OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientFec_AUTO corresponds to the value AUTO of OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientFec
	OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientFec_AUTO E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientFec = 3
)

func (E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientFec) IsYANGGoEnum

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

func (E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientFec) ΛMap

ΛMap returns the value lookup map associated with OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientFec.

type E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_DuplexMode

type E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_DuplexMode int64

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

const (
	// OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_DuplexMode_UNSET corresponds to the value UNSET of OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_DuplexMode
	OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_DuplexMode_UNSET E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_DuplexMode = 0
	// OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_DuplexMode_FULL corresponds to the value FULL of OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_DuplexMode
	OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_DuplexMode_FULL E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_DuplexMode = 1
	// OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_DuplexMode_HALF corresponds to the value HALF of OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_DuplexMode
	OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_DuplexMode_HALF E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_DuplexMode = 2
)

func (E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_DuplexMode) IsYANGGoEnum

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

func (E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_DuplexMode) ΛMap

ΛMap returns the value lookup map associated with OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_DuplexMode.

type E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_NegotiatedDuplexMode

type E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_NegotiatedDuplexMode int64

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

const (
	// OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_NegotiatedDuplexMode_UNSET corresponds to the value UNSET of OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_NegotiatedDuplexMode
	OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_NegotiatedDuplexMode_UNSET E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_NegotiatedDuplexMode = 0
	// OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_NegotiatedDuplexMode_FULL corresponds to the value FULL of OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_NegotiatedDuplexMode
	OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_NegotiatedDuplexMode_FULL E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_NegotiatedDuplexMode = 1
	// OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_NegotiatedDuplexMode_HALF corresponds to the value HALF of OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_NegotiatedDuplexMode
	OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_NegotiatedDuplexMode_HALF E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_NegotiatedDuplexMode = 2
)

func (E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_NegotiatedDuplexMode) IsYANGGoEnum

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

func (E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_NegotiatedDuplexMode) ΛMap

ΛMap returns the value lookup map associated with OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_NegotiatedDuplexMode.

type E_OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus

type E_OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus int64

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

const (
	// OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus_UNSET corresponds to the value UNSET of OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus
	OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus_UNSET E_OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus = 0
	// OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus_UP corresponds to the value UP of OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus
	OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus_UP E_OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus = 1
	// OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus_DOWN corresponds to the value DOWN of OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus
	OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus_DOWN E_OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus = 2
	// OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus_TESTING corresponds to the value TESTING of OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus
	OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus_TESTING E_OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus = 3
)

func (E_OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus) IsYANGGoEnum

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

func (E_OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus) ΛMap

ΛMap returns the value lookup map associated with OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus.

type E_OpenconfigInterfaces_Interfaces_Interface_State_OperStatus

type E_OpenconfigInterfaces_Interfaces_Interface_State_OperStatus int64

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

const (
	// OpenconfigInterfaces_Interfaces_Interface_State_OperStatus_UNSET corresponds to the value UNSET of OpenconfigInterfaces_Interfaces_Interface_State_OperStatus
	OpenconfigInterfaces_Interfaces_Interface_State_OperStatus_UNSET E_OpenconfigInterfaces_Interfaces_Interface_State_OperStatus = 0
	// OpenconfigInterfaces_Interfaces_Interface_State_OperStatus_UP corresponds to the value UP of OpenconfigInterfaces_Interfaces_Interface_State_OperStatus
	OpenconfigInterfaces_Interfaces_Interface_State_OperStatus_UP E_OpenconfigInterfaces_Interfaces_Interface_State_OperStatus = 2
	// OpenconfigInterfaces_Interfaces_Interface_State_OperStatus_DOWN corresponds to the value DOWN of OpenconfigInterfaces_Interfaces_Interface_State_OperStatus
	OpenconfigInterfaces_Interfaces_Interface_State_OperStatus_DOWN E_OpenconfigInterfaces_Interfaces_Interface_State_OperStatus = 3
	// OpenconfigInterfaces_Interfaces_Interface_State_OperStatus_TESTING corresponds to the value TESTING of OpenconfigInterfaces_Interfaces_Interface_State_OperStatus
	OpenconfigInterfaces_Interfaces_Interface_State_OperStatus_TESTING E_OpenconfigInterfaces_Interfaces_Interface_State_OperStatus = 4
	// OpenconfigInterfaces_Interfaces_Interface_State_OperStatus_UNKNOWN corresponds to the value UNKNOWN of OpenconfigInterfaces_Interfaces_Interface_State_OperStatus
	OpenconfigInterfaces_Interfaces_Interface_State_OperStatus_UNKNOWN E_OpenconfigInterfaces_Interfaces_Interface_State_OperStatus = 5
	// OpenconfigInterfaces_Interfaces_Interface_State_OperStatus_DORMANT corresponds to the value DORMANT of OpenconfigInterfaces_Interfaces_Interface_State_OperStatus
	OpenconfigInterfaces_Interfaces_Interface_State_OperStatus_DORMANT E_OpenconfigInterfaces_Interfaces_Interface_State_OperStatus = 6
	// OpenconfigInterfaces_Interfaces_Interface_State_OperStatus_NOT_PRESENT corresponds to the value NOT_PRESENT of OpenconfigInterfaces_Interfaces_Interface_State_OperStatus
	OpenconfigInterfaces_Interfaces_Interface_State_OperStatus_NOT_PRESENT E_OpenconfigInterfaces_Interfaces_Interface_State_OperStatus = 7
	// OpenconfigInterfaces_Interfaces_Interface_State_OperStatus_LOWER_LAYER_DOWN corresponds to the value LOWER_LAYER_DOWN of OpenconfigInterfaces_Interfaces_Interface_State_OperStatus
	OpenconfigInterfaces_Interfaces_Interface_State_OperStatus_LOWER_LAYER_DOWN E_OpenconfigInterfaces_Interfaces_Interface_State_OperStatus = 8
)

func (E_OpenconfigInterfaces_Interfaces_Interface_State_OperStatus) IsYANGGoEnum

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

func (E_OpenconfigInterfaces_Interfaces_Interface_State_OperStatus) ΛMap

ΛMap returns the value lookup map associated with OpenconfigInterfaces_Interfaces_Interface_State_OperStatus.

type E_OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY

type E_OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY int64

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

const (
	// OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY_UNSET corresponds to the value UNSET of OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY
	OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY_UNSET E_OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY = 0
	// OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY_C_VLAN corresponds to the value C_VLAN of OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY
	OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY_C_VLAN E_OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY = 1
	// OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY_DOCSIS_CABLE_DEVICE corresponds to the value DOCSIS_CABLE_DEVICE of OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY
	OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY_DOCSIS_CABLE_DEVICE E_OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY = 2
	// OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY_MAC_BRIDGE corresponds to the value MAC_BRIDGE of OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY
	OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY_MAC_BRIDGE E_OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY = 3
	// OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY_OTHER corresponds to the value OTHER of OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY
	OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY_OTHER E_OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY = 4
	// OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY_REPEATER corresponds to the value REPEATER of OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY
	OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY_REPEATER E_OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY = 5
	// OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY_ROUTER corresponds to the value ROUTER of OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY
	OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY_ROUTER E_OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY = 6
	// OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY_STATION_ONLY corresponds to the value STATION_ONLY of OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY
	OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY_STATION_ONLY E_OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY = 7
	// OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY_S_VLAN corresponds to the value S_VLAN of OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY
	OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY_S_VLAN E_OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY = 8
	// OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY_TELEPHONE corresponds to the value TELEPHONE of OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY
	OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY_TELEPHONE E_OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY = 9
	// OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY_TWO_PORT_MAC_RELAY corresponds to the value TWO_PORT_MAC_RELAY of OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY
	OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY_TWO_PORT_MAC_RELAY E_OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY = 10
	// OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY_WLAN_ACCESS_POINT corresponds to the value WLAN_ACCESS_POINT of OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY
	OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY_WLAN_ACCESS_POINT E_OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY = 11
)

func (E_OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY) IsYANGGoEnum

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

func (E_OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY) ΛMap

ΛMap returns the value lookup map associated with OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY.

type E_OpenconfigLldpTypes_LLDP_TLV

type E_OpenconfigLldpTypes_LLDP_TLV int64

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

const (
	// OpenconfigLldpTypes_LLDP_TLV_UNSET corresponds to the value UNSET of OpenconfigLldpTypes_LLDP_TLV
	OpenconfigLldpTypes_LLDP_TLV_UNSET E_OpenconfigLldpTypes_LLDP_TLV = 0
	// OpenconfigLldpTypes_LLDP_TLV_CHASSIS_ID corresponds to the value CHASSIS_ID of OpenconfigLldpTypes_LLDP_TLV
	OpenconfigLldpTypes_LLDP_TLV_CHASSIS_ID E_OpenconfigLldpTypes_LLDP_TLV = 1
	// OpenconfigLldpTypes_LLDP_TLV_MANAGEMENT_ADDRESS corresponds to the value MANAGEMENT_ADDRESS of OpenconfigLldpTypes_LLDP_TLV
	OpenconfigLldpTypes_LLDP_TLV_MANAGEMENT_ADDRESS E_OpenconfigLldpTypes_LLDP_TLV = 2
	// OpenconfigLldpTypes_LLDP_TLV_PORT_DESCRIPTION corresponds to the value PORT_DESCRIPTION of OpenconfigLldpTypes_LLDP_TLV
	OpenconfigLldpTypes_LLDP_TLV_PORT_DESCRIPTION E_OpenconfigLldpTypes_LLDP_TLV = 3
	// OpenconfigLldpTypes_LLDP_TLV_PORT_ID corresponds to the value PORT_ID of OpenconfigLldpTypes_LLDP_TLV
	OpenconfigLldpTypes_LLDP_TLV_PORT_ID E_OpenconfigLldpTypes_LLDP_TLV = 4
	// OpenconfigLldpTypes_LLDP_TLV_SYSTEM_CAPABILITIES corresponds to the value SYSTEM_CAPABILITIES of OpenconfigLldpTypes_LLDP_TLV
	OpenconfigLldpTypes_LLDP_TLV_SYSTEM_CAPABILITIES E_OpenconfigLldpTypes_LLDP_TLV = 5
	// OpenconfigLldpTypes_LLDP_TLV_SYSTEM_DESCRIPTION corresponds to the value SYSTEM_DESCRIPTION of OpenconfigLldpTypes_LLDP_TLV
	OpenconfigLldpTypes_LLDP_TLV_SYSTEM_DESCRIPTION E_OpenconfigLldpTypes_LLDP_TLV = 6
	// OpenconfigLldpTypes_LLDP_TLV_SYSTEM_NAME corresponds to the value SYSTEM_NAME of OpenconfigLldpTypes_LLDP_TLV
	OpenconfigLldpTypes_LLDP_TLV_SYSTEM_NAME E_OpenconfigLldpTypes_LLDP_TLV = 7
)

func (E_OpenconfigLldpTypes_LLDP_TLV) IsYANGGoEnum

func (E_OpenconfigLldpTypes_LLDP_TLV) IsYANGGoEnum()

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

func (E_OpenconfigLldpTypes_LLDP_TLV) ΛMap

ΛMap returns the value lookup map associated with OpenconfigLldpTypes_LLDP_TLV.

type E_OpenconfigLldp_ChassisIdType

type E_OpenconfigLldp_ChassisIdType int64

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

const (
	// OpenconfigLldp_ChassisIdType_UNSET corresponds to the value UNSET of OpenconfigLldp_ChassisIdType
	OpenconfigLldp_ChassisIdType_UNSET E_OpenconfigLldp_ChassisIdType = 0
	// OpenconfigLldp_ChassisIdType_CHASSIS_COMPONENT corresponds to the value CHASSIS_COMPONENT of OpenconfigLldp_ChassisIdType
	OpenconfigLldp_ChassisIdType_CHASSIS_COMPONENT E_OpenconfigLldp_ChassisIdType = 1
	// OpenconfigLldp_ChassisIdType_INTERFACE_ALIAS corresponds to the value INTERFACE_ALIAS of OpenconfigLldp_ChassisIdType
	OpenconfigLldp_ChassisIdType_INTERFACE_ALIAS E_OpenconfigLldp_ChassisIdType = 2
	// OpenconfigLldp_ChassisIdType_PORT_COMPONENT corresponds to the value PORT_COMPONENT of OpenconfigLldp_ChassisIdType
	OpenconfigLldp_ChassisIdType_PORT_COMPONENT E_OpenconfigLldp_ChassisIdType = 3
	// OpenconfigLldp_ChassisIdType_MAC_ADDRESS corresponds to the value MAC_ADDRESS of OpenconfigLldp_ChassisIdType
	OpenconfigLldp_ChassisIdType_MAC_ADDRESS E_OpenconfigLldp_ChassisIdType = 4
	// OpenconfigLldp_ChassisIdType_NETWORK_ADDRESS corresponds to the value NETWORK_ADDRESS of OpenconfigLldp_ChassisIdType
	OpenconfigLldp_ChassisIdType_NETWORK_ADDRESS E_OpenconfigLldp_ChassisIdType = 5
	// OpenconfigLldp_ChassisIdType_INTERFACE_NAME corresponds to the value INTERFACE_NAME of OpenconfigLldp_ChassisIdType
	OpenconfigLldp_ChassisIdType_INTERFACE_NAME E_OpenconfigLldp_ChassisIdType = 6
	// OpenconfigLldp_ChassisIdType_LOCAL corresponds to the value LOCAL of OpenconfigLldp_ChassisIdType
	OpenconfigLldp_ChassisIdType_LOCAL E_OpenconfigLldp_ChassisIdType = 7
)

func (E_OpenconfigLldp_ChassisIdType) IsYANGGoEnum

func (E_OpenconfigLldp_ChassisIdType) IsYANGGoEnum()

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

func (E_OpenconfigLldp_ChassisIdType) ΛMap

ΛMap returns the value lookup map associated with OpenconfigLldp_ChassisIdType.

type E_OpenconfigLldp_PortIdType

type E_OpenconfigLldp_PortIdType int64

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

const (
	// OpenconfigLldp_PortIdType_UNSET corresponds to the value UNSET of OpenconfigLldp_PortIdType
	OpenconfigLldp_PortIdType_UNSET E_OpenconfigLldp_PortIdType = 0
	// OpenconfigLldp_PortIdType_INTERFACE_ALIAS corresponds to the value INTERFACE_ALIAS of OpenconfigLldp_PortIdType
	OpenconfigLldp_PortIdType_INTERFACE_ALIAS E_OpenconfigLldp_PortIdType = 1
	// OpenconfigLldp_PortIdType_PORT_COMPONENT corresponds to the value PORT_COMPONENT of OpenconfigLldp_PortIdType
	OpenconfigLldp_PortIdType_PORT_COMPONENT E_OpenconfigLldp_PortIdType = 2
	// OpenconfigLldp_PortIdType_MAC_ADDRESS corresponds to the value MAC_ADDRESS of OpenconfigLldp_PortIdType
	OpenconfigLldp_PortIdType_MAC_ADDRESS E_OpenconfigLldp_PortIdType = 3
	// OpenconfigLldp_PortIdType_NETWORK_ADDRESS corresponds to the value NETWORK_ADDRESS of OpenconfigLldp_PortIdType
	OpenconfigLldp_PortIdType_NETWORK_ADDRESS E_OpenconfigLldp_PortIdType = 4
	// OpenconfigLldp_PortIdType_INTERFACE_NAME corresponds to the value INTERFACE_NAME of OpenconfigLldp_PortIdType
	OpenconfigLldp_PortIdType_INTERFACE_NAME E_OpenconfigLldp_PortIdType = 5
	// OpenconfigLldp_PortIdType_AGENT_CIRCUIT_ID corresponds to the value AGENT_CIRCUIT_ID of OpenconfigLldp_PortIdType
	OpenconfigLldp_PortIdType_AGENT_CIRCUIT_ID E_OpenconfigLldp_PortIdType = 6
	// OpenconfigLldp_PortIdType_LOCAL corresponds to the value LOCAL of OpenconfigLldp_PortIdType
	OpenconfigLldp_PortIdType_LOCAL E_OpenconfigLldp_PortIdType = 7
)

func (E_OpenconfigLldp_PortIdType) IsYANGGoEnum

func (E_OpenconfigLldp_PortIdType) IsYANGGoEnum()

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

func (E_OpenconfigLldp_PortIdType) ΛMap

ΛMap returns the value lookup map associated with OpenconfigLldp_PortIdType.

type E_OpenconfigPlatformTypes_COMPONENT_OPER_STATUS

type E_OpenconfigPlatformTypes_COMPONENT_OPER_STATUS int64

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

const (
	// OpenconfigPlatformTypes_COMPONENT_OPER_STATUS_UNSET corresponds to the value UNSET of OpenconfigPlatformTypes_COMPONENT_OPER_STATUS
	OpenconfigPlatformTypes_COMPONENT_OPER_STATUS_UNSET E_OpenconfigPlatformTypes_COMPONENT_OPER_STATUS = 0
	// OpenconfigPlatformTypes_COMPONENT_OPER_STATUS_ACTIVE corresponds to the value ACTIVE of OpenconfigPlatformTypes_COMPONENT_OPER_STATUS
	OpenconfigPlatformTypes_COMPONENT_OPER_STATUS_ACTIVE E_OpenconfigPlatformTypes_COMPONENT_OPER_STATUS = 1
	// OpenconfigPlatformTypes_COMPONENT_OPER_STATUS_DISABLED corresponds to the value DISABLED of OpenconfigPlatformTypes_COMPONENT_OPER_STATUS
	OpenconfigPlatformTypes_COMPONENT_OPER_STATUS_DISABLED E_OpenconfigPlatformTypes_COMPONENT_OPER_STATUS = 2
	// OpenconfigPlatformTypes_COMPONENT_OPER_STATUS_INACTIVE corresponds to the value INACTIVE of OpenconfigPlatformTypes_COMPONENT_OPER_STATUS
	OpenconfigPlatformTypes_COMPONENT_OPER_STATUS_INACTIVE E_OpenconfigPlatformTypes_COMPONENT_OPER_STATUS = 3
)

func (E_OpenconfigPlatformTypes_COMPONENT_OPER_STATUS) IsYANGGoEnum

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

func (E_OpenconfigPlatformTypes_COMPONENT_OPER_STATUS) ΛMap

ΛMap returns the value lookup map associated with OpenconfigPlatformTypes_COMPONENT_OPER_STATUS.

type E_OpenconfigPlatformTypes_FEC_MODE_TYPE

type E_OpenconfigPlatformTypes_FEC_MODE_TYPE int64

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

const (
	// OpenconfigPlatformTypes_FEC_MODE_TYPE_UNSET corresponds to the value UNSET of OpenconfigPlatformTypes_FEC_MODE_TYPE
	OpenconfigPlatformTypes_FEC_MODE_TYPE_UNSET E_OpenconfigPlatformTypes_FEC_MODE_TYPE = 0
	// OpenconfigPlatformTypes_FEC_MODE_TYPE_FEC_AUTO corresponds to the value FEC_AUTO of OpenconfigPlatformTypes_FEC_MODE_TYPE
	OpenconfigPlatformTypes_FEC_MODE_TYPE_FEC_AUTO E_OpenconfigPlatformTypes_FEC_MODE_TYPE = 1
	// OpenconfigPlatformTypes_FEC_MODE_TYPE_FEC_DISABLED corresponds to the value FEC_DISABLED of OpenconfigPlatformTypes_FEC_MODE_TYPE
	OpenconfigPlatformTypes_FEC_MODE_TYPE_FEC_DISABLED E_OpenconfigPlatformTypes_FEC_MODE_TYPE = 2
	// OpenconfigPlatformTypes_FEC_MODE_TYPE_FEC_ENABLED corresponds to the value FEC_ENABLED of OpenconfigPlatformTypes_FEC_MODE_TYPE
	OpenconfigPlatformTypes_FEC_MODE_TYPE_FEC_ENABLED E_OpenconfigPlatformTypes_FEC_MODE_TYPE = 3
)

func (E_OpenconfigPlatformTypes_FEC_MODE_TYPE) IsYANGGoEnum

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

func (E_OpenconfigPlatformTypes_FEC_MODE_TYPE) ΛMap

ΛMap returns the value lookup map associated with OpenconfigPlatformTypes_FEC_MODE_TYPE.

type E_OpenconfigPlatformTypes_FEC_STATUS_TYPE

type E_OpenconfigPlatformTypes_FEC_STATUS_TYPE int64

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

const (
	// OpenconfigPlatformTypes_FEC_STATUS_TYPE_UNSET corresponds to the value UNSET of OpenconfigPlatformTypes_FEC_STATUS_TYPE
	OpenconfigPlatformTypes_FEC_STATUS_TYPE_UNSET E_OpenconfigPlatformTypes_FEC_STATUS_TYPE = 0
	// OpenconfigPlatformTypes_FEC_STATUS_TYPE_FEC_STATUS_LOCKED corresponds to the value FEC_STATUS_LOCKED of OpenconfigPlatformTypes_FEC_STATUS_TYPE
	OpenconfigPlatformTypes_FEC_STATUS_TYPE_FEC_STATUS_LOCKED E_OpenconfigPlatformTypes_FEC_STATUS_TYPE = 1
	// OpenconfigPlatformTypes_FEC_STATUS_TYPE_FEC_STATUS_UNLOCKED corresponds to the value FEC_STATUS_UNLOCKED of OpenconfigPlatformTypes_FEC_STATUS_TYPE
	OpenconfigPlatformTypes_FEC_STATUS_TYPE_FEC_STATUS_UNLOCKED E_OpenconfigPlatformTypes_FEC_STATUS_TYPE = 2
)

func (E_OpenconfigPlatformTypes_FEC_STATUS_TYPE) IsYANGGoEnum

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

func (E_OpenconfigPlatformTypes_FEC_STATUS_TYPE) ΛMap

ΛMap returns the value lookup map associated with OpenconfigPlatformTypes_FEC_STATUS_TYPE.

type E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT

type E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT int64

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

const (
	// OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_UNSET corresponds to the value UNSET of OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT
	OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_UNSET E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT = 0
	// OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_BACKPLANE corresponds to the value BACKPLANE of OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT
	OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_BACKPLANE E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT = 1
	// OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_CHASSIS corresponds to the value CHASSIS of OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT
	OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_CHASSIS E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT = 2
	// OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_CONTROLLER_CARD corresponds to the value CONTROLLER_CARD of OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT
	OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_CONTROLLER_CARD E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT = 3
	// OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_CPU corresponds to the value CPU of OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT
	OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_CPU E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT = 4
	// OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_FABRIC corresponds to the value FABRIC of OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT
	OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_FABRIC E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT = 5
	// OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_FAN corresponds to the value FAN of OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT
	OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_FAN E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT = 6
	// OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_FRU corresponds to the value FRU of OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT
	OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_FRU E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT = 7
	// OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_INTEGRATED_CIRCUIT corresponds to the value INTEGRATED_CIRCUIT of OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT
	OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_INTEGRATED_CIRCUIT E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT = 8
	// OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_LINECARD corresponds to the value LINECARD of OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT
	OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_LINECARD E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT = 9
	// OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_OPTICAL_CHANNEL corresponds to the value OPTICAL_CHANNEL of OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT
	OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_OPTICAL_CHANNEL E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT = 10
	// OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_PORT corresponds to the value PORT of OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT
	OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_PORT E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT = 11
	// OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_POWER_SUPPLY corresponds to the value POWER_SUPPLY of OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT
	OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_POWER_SUPPLY E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT = 12
	// OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_SENSOR corresponds to the value SENSOR of OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT
	OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_SENSOR E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT = 13
	// OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_STORAGE corresponds to the value STORAGE of OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT
	OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_STORAGE E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT = 14
	// OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_TRANSCEIVER corresponds to the value TRANSCEIVER of OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT
	OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT_TRANSCEIVER E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT = 15
)

func (E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT) IsYANGGoEnum

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

func (E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT) ΛMap

ΛMap returns the value lookup map associated with OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT.

type E_OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT

type E_OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT int64

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

const (
	// OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT_UNSET corresponds to the value UNSET of OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT
	OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT_UNSET E_OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT = 0
	// OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT_OPERATING_SYSTEM corresponds to the value OPERATING_SYSTEM of OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT
	OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT_OPERATING_SYSTEM E_OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT = 1
)

func (E_OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT) IsYANGGoEnum

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

func (E_OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT) ΛMap

ΛMap returns the value lookup map associated with OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT.

type E_OpenconfigPlatform_Components_Component_Transceiver_State_Present

type E_OpenconfigPlatform_Components_Component_Transceiver_State_Present int64

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

const (
	// OpenconfigPlatform_Components_Component_Transceiver_State_Present_UNSET corresponds to the value UNSET of OpenconfigPlatform_Components_Component_Transceiver_State_Present
	OpenconfigPlatform_Components_Component_Transceiver_State_Present_UNSET E_OpenconfigPlatform_Components_Component_Transceiver_State_Present = 0
	// OpenconfigPlatform_Components_Component_Transceiver_State_Present_PRESENT corresponds to the value PRESENT of OpenconfigPlatform_Components_Component_Transceiver_State_Present
	OpenconfigPlatform_Components_Component_Transceiver_State_Present_PRESENT E_OpenconfigPlatform_Components_Component_Transceiver_State_Present = 1
	// OpenconfigPlatform_Components_Component_Transceiver_State_Present_NOT_PRESENT corresponds to the value NOT_PRESENT of OpenconfigPlatform_Components_Component_Transceiver_State_Present
	OpenconfigPlatform_Components_Component_Transceiver_State_Present_NOT_PRESENT E_OpenconfigPlatform_Components_Component_Transceiver_State_Present = 2
)

func (E_OpenconfigPlatform_Components_Component_Transceiver_State_Present) IsYANGGoEnum

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

func (E_OpenconfigPlatform_Components_Component_Transceiver_State_Present) ΛMap

ΛMap returns the value lookup map associated with OpenconfigPlatform_Components_Component_Transceiver_State_Present.

type E_OpenconfigSystemLogging_SYSLOG_FACILITY

type E_OpenconfigSystemLogging_SYSLOG_FACILITY int64

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

const (
	// OpenconfigSystemLogging_SYSLOG_FACILITY_UNSET corresponds to the value UNSET of OpenconfigSystemLogging_SYSLOG_FACILITY
	OpenconfigSystemLogging_SYSLOG_FACILITY_UNSET E_OpenconfigSystemLogging_SYSLOG_FACILITY = 0
	// OpenconfigSystemLogging_SYSLOG_FACILITY_ALL corresponds to the value ALL of OpenconfigSystemLogging_SYSLOG_FACILITY
	OpenconfigSystemLogging_SYSLOG_FACILITY_ALL E_OpenconfigSystemLogging_SYSLOG_FACILITY = 1
	// OpenconfigSystemLogging_SYSLOG_FACILITY_AUDIT corresponds to the value AUDIT of OpenconfigSystemLogging_SYSLOG_FACILITY
	OpenconfigSystemLogging_SYSLOG_FACILITY_AUDIT E_OpenconfigSystemLogging_SYSLOG_FACILITY = 2
	// OpenconfigSystemLogging_SYSLOG_FACILITY_AUTH corresponds to the value AUTH of OpenconfigSystemLogging_SYSLOG_FACILITY
	OpenconfigSystemLogging_SYSLOG_FACILITY_AUTH E_OpenconfigSystemLogging_SYSLOG_FACILITY = 3
	// OpenconfigSystemLogging_SYSLOG_FACILITY_AUTHPRIV corresponds to the value AUTHPRIV of OpenconfigSystemLogging_SYSLOG_FACILITY
	OpenconfigSystemLogging_SYSLOG_FACILITY_AUTHPRIV E_OpenconfigSystemLogging_SYSLOG_FACILITY = 4
	// OpenconfigSystemLogging_SYSLOG_FACILITY_CONSOLE corresponds to the value CONSOLE of OpenconfigSystemLogging_SYSLOG_FACILITY
	OpenconfigSystemLogging_SYSLOG_FACILITY_CONSOLE E_OpenconfigSystemLogging_SYSLOG_FACILITY = 5
	// OpenconfigSystemLogging_SYSLOG_FACILITY_KERNEL corresponds to the value KERNEL of OpenconfigSystemLogging_SYSLOG_FACILITY
	OpenconfigSystemLogging_SYSLOG_FACILITY_KERNEL E_OpenconfigSystemLogging_SYSLOG_FACILITY = 6
	// OpenconfigSystemLogging_SYSLOG_FACILITY_LOCAL0 corresponds to the value LOCAL0 of OpenconfigSystemLogging_SYSLOG_FACILITY
	OpenconfigSystemLogging_SYSLOG_FACILITY_LOCAL0 E_OpenconfigSystemLogging_SYSLOG_FACILITY = 7
	// OpenconfigSystemLogging_SYSLOG_FACILITY_LOCAL1 corresponds to the value LOCAL1 of OpenconfigSystemLogging_SYSLOG_FACILITY
	OpenconfigSystemLogging_SYSLOG_FACILITY_LOCAL1 E_OpenconfigSystemLogging_SYSLOG_FACILITY = 8
	// OpenconfigSystemLogging_SYSLOG_FACILITY_LOCAL2 corresponds to the value LOCAL2 of OpenconfigSystemLogging_SYSLOG_FACILITY
	OpenconfigSystemLogging_SYSLOG_FACILITY_LOCAL2 E_OpenconfigSystemLogging_SYSLOG_FACILITY = 9
	// OpenconfigSystemLogging_SYSLOG_FACILITY_LOCAL3 corresponds to the value LOCAL3 of OpenconfigSystemLogging_SYSLOG_FACILITY
	OpenconfigSystemLogging_SYSLOG_FACILITY_LOCAL3 E_OpenconfigSystemLogging_SYSLOG_FACILITY = 10
	// OpenconfigSystemLogging_SYSLOG_FACILITY_LOCAL4 corresponds to the value LOCAL4 of OpenconfigSystemLogging_SYSLOG_FACILITY
	OpenconfigSystemLogging_SYSLOG_FACILITY_LOCAL4 E_OpenconfigSystemLogging_SYSLOG_FACILITY = 11
	// OpenconfigSystemLogging_SYSLOG_FACILITY_LOCAL5 corresponds to the value LOCAL5 of OpenconfigSystemLogging_SYSLOG_FACILITY
	OpenconfigSystemLogging_SYSLOG_FACILITY_LOCAL5 E_OpenconfigSystemLogging_SYSLOG_FACILITY = 12
	// OpenconfigSystemLogging_SYSLOG_FACILITY_LOCAL6 corresponds to the value LOCAL6 of OpenconfigSystemLogging_SYSLOG_FACILITY
	OpenconfigSystemLogging_SYSLOG_FACILITY_LOCAL6 E_OpenconfigSystemLogging_SYSLOG_FACILITY = 13
	// OpenconfigSystemLogging_SYSLOG_FACILITY_LOCAL7 corresponds to the value LOCAL7 of OpenconfigSystemLogging_SYSLOG_FACILITY
	OpenconfigSystemLogging_SYSLOG_FACILITY_LOCAL7 E_OpenconfigSystemLogging_SYSLOG_FACILITY = 14
	// OpenconfigSystemLogging_SYSLOG_FACILITY_MAIL corresponds to the value MAIL of OpenconfigSystemLogging_SYSLOG_FACILITY
	OpenconfigSystemLogging_SYSLOG_FACILITY_MAIL E_OpenconfigSystemLogging_SYSLOG_FACILITY = 15
	// OpenconfigSystemLogging_SYSLOG_FACILITY_NTP corresponds to the value NTP of OpenconfigSystemLogging_SYSLOG_FACILITY
	OpenconfigSystemLogging_SYSLOG_FACILITY_NTP E_OpenconfigSystemLogging_SYSLOG_FACILITY = 16
	// OpenconfigSystemLogging_SYSLOG_FACILITY_SYSLOG corresponds to the value SYSLOG of OpenconfigSystemLogging_SYSLOG_FACILITY
	OpenconfigSystemLogging_SYSLOG_FACILITY_SYSLOG E_OpenconfigSystemLogging_SYSLOG_FACILITY = 17
	// OpenconfigSystemLogging_SYSLOG_FACILITY_SYSTEM_DAEMON corresponds to the value SYSTEM_DAEMON of OpenconfigSystemLogging_SYSLOG_FACILITY
	OpenconfigSystemLogging_SYSLOG_FACILITY_SYSTEM_DAEMON E_OpenconfigSystemLogging_SYSLOG_FACILITY = 18
	// OpenconfigSystemLogging_SYSLOG_FACILITY_USER corresponds to the value USER of OpenconfigSystemLogging_SYSLOG_FACILITY
	OpenconfigSystemLogging_SYSLOG_FACILITY_USER E_OpenconfigSystemLogging_SYSLOG_FACILITY = 19
)

func (E_OpenconfigSystemLogging_SYSLOG_FACILITY) IsYANGGoEnum

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

func (E_OpenconfigSystemLogging_SYSLOG_FACILITY) ΛMap

ΛMap returns the value lookup map associated with OpenconfigSystemLogging_SYSLOG_FACILITY.

type E_OpenconfigSystemLogging_SyslogSeverity

type E_OpenconfigSystemLogging_SyslogSeverity int64

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

const (
	// OpenconfigSystemLogging_SyslogSeverity_UNSET corresponds to the value UNSET of OpenconfigSystemLogging_SyslogSeverity
	OpenconfigSystemLogging_SyslogSeverity_UNSET E_OpenconfigSystemLogging_SyslogSeverity = 0
	// OpenconfigSystemLogging_SyslogSeverity_EMERGENCY corresponds to the value EMERGENCY of OpenconfigSystemLogging_SyslogSeverity
	OpenconfigSystemLogging_SyslogSeverity_EMERGENCY E_OpenconfigSystemLogging_SyslogSeverity = 1
	// OpenconfigSystemLogging_SyslogSeverity_ALERT corresponds to the value ALERT of OpenconfigSystemLogging_SyslogSeverity
	OpenconfigSystemLogging_SyslogSeverity_ALERT E_OpenconfigSystemLogging_SyslogSeverity = 2
	// OpenconfigSystemLogging_SyslogSeverity_CRITICAL corresponds to the value CRITICAL of OpenconfigSystemLogging_SyslogSeverity
	OpenconfigSystemLogging_SyslogSeverity_CRITICAL E_OpenconfigSystemLogging_SyslogSeverity = 3
	// OpenconfigSystemLogging_SyslogSeverity_ERROR corresponds to the value ERROR of OpenconfigSystemLogging_SyslogSeverity
	OpenconfigSystemLogging_SyslogSeverity_ERROR E_OpenconfigSystemLogging_SyslogSeverity = 4
	// OpenconfigSystemLogging_SyslogSeverity_WARNING corresponds to the value WARNING of OpenconfigSystemLogging_SyslogSeverity
	OpenconfigSystemLogging_SyslogSeverity_WARNING E_OpenconfigSystemLogging_SyslogSeverity = 5
	// OpenconfigSystemLogging_SyslogSeverity_NOTICE corresponds to the value NOTICE of OpenconfigSystemLogging_SyslogSeverity
	OpenconfigSystemLogging_SyslogSeverity_NOTICE E_OpenconfigSystemLogging_SyslogSeverity = 6
	// OpenconfigSystemLogging_SyslogSeverity_INFORMATIONAL corresponds to the value INFORMATIONAL of OpenconfigSystemLogging_SyslogSeverity
	OpenconfigSystemLogging_SyslogSeverity_INFORMATIONAL E_OpenconfigSystemLogging_SyslogSeverity = 7
	// OpenconfigSystemLogging_SyslogSeverity_DEBUG corresponds to the value DEBUG of OpenconfigSystemLogging_SyslogSeverity
	OpenconfigSystemLogging_SyslogSeverity_DEBUG E_OpenconfigSystemLogging_SyslogSeverity = 8
)

func (E_OpenconfigSystemLogging_SyslogSeverity) IsYANGGoEnum

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

func (E_OpenconfigSystemLogging_SyslogSeverity) ΛMap

ΛMap returns the value lookup map associated with OpenconfigSystemLogging_SyslogSeverity.

type E_OpenconfigSystem_NTP_AUTH_TYPE

type E_OpenconfigSystem_NTP_AUTH_TYPE int64

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

const (
	// OpenconfigSystem_NTP_AUTH_TYPE_UNSET corresponds to the value UNSET of OpenconfigSystem_NTP_AUTH_TYPE
	OpenconfigSystem_NTP_AUTH_TYPE_UNSET E_OpenconfigSystem_NTP_AUTH_TYPE = 0
	// OpenconfigSystem_NTP_AUTH_TYPE_NTP_AUTH_MD5 corresponds to the value NTP_AUTH_MD5 of OpenconfigSystem_NTP_AUTH_TYPE
	OpenconfigSystem_NTP_AUTH_TYPE_NTP_AUTH_MD5 E_OpenconfigSystem_NTP_AUTH_TYPE = 1
)

func (E_OpenconfigSystem_NTP_AUTH_TYPE) IsYANGGoEnum

func (E_OpenconfigSystem_NTP_AUTH_TYPE) IsYANGGoEnum()

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

func (E_OpenconfigSystem_NTP_AUTH_TYPE) ΛMap

ΛMap returns the value lookup map associated with OpenconfigSystem_NTP_AUTH_TYPE.

type E_OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config_Record

type E_OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config_Record int64

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

const (
	// OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config_Record_UNSET corresponds to the value UNSET of OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config_Record
	OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config_Record_UNSET E_OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config_Record = 0
	// OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config_Record_START_STOP corresponds to the value START_STOP of OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config_Record
	OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config_Record_START_STOP E_OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config_Record = 1
	// OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config_Record_STOP corresponds to the value STOP of OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config_Record
	OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config_Record_STOP E_OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config_Record = 2
)

func (E_OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config_Record) IsYANGGoEnum

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

func (E_OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config_Record) ΛMap

ΛMap returns the value lookup map associated with OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config_Record.

type E_OpenconfigSystem_System_Cpus_Cpu_State_Index

type E_OpenconfigSystem_System_Cpus_Cpu_State_Index int64

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

const (
	// OpenconfigSystem_System_Cpus_Cpu_State_Index_UNSET corresponds to the value UNSET of OpenconfigSystem_System_Cpus_Cpu_State_Index
	OpenconfigSystem_System_Cpus_Cpu_State_Index_UNSET E_OpenconfigSystem_System_Cpus_Cpu_State_Index = 0
	// OpenconfigSystem_System_Cpus_Cpu_State_Index_ALL corresponds to the value ALL of OpenconfigSystem_System_Cpus_Cpu_State_Index
	OpenconfigSystem_System_Cpus_Cpu_State_Index_ALL E_OpenconfigSystem_System_Cpus_Cpu_State_Index = 1
)

func (E_OpenconfigSystem_System_Cpus_Cpu_State_Index) IsYANGGoEnum

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

func (E_OpenconfigSystem_System_Cpus_Cpu_State_Index) ΛMap

ΛMap returns the value lookup map associated with OpenconfigSystem_System_Cpus_Cpu_State_Index.

type E_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses

type E_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses int64

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

const (
	// OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_UNSET corresponds to the value UNSET of OpenconfigSystem_System_GrpcServer_Config_ListenAddresses
	OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_UNSET E_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses = 0
	// OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_ANY corresponds to the value ANY of OpenconfigSystem_System_GrpcServer_Config_ListenAddresses
	OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_ANY E_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses = 1
)

func (E_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses) IsYANGGoEnum

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

func (E_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses) ΛMap

ΛMap returns the value lookup map associated with OpenconfigSystem_System_GrpcServer_Config_ListenAddresses.

type E_OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType

type E_OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType int64

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

const (
	// OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType_UNSET corresponds to the value UNSET of OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType
	OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType_UNSET E_OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType = 0
	// OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType_SERVER corresponds to the value SERVER of OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType
	OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType_SERVER E_OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType = 1
	// OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType_PEER corresponds to the value PEER of OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType
	OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType_PEER E_OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType = 2
	// OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType_POOL corresponds to the value POOL of OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType
	OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType_POOL E_OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType = 3
)

func (E_OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType) IsYANGGoEnum

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

func (E_OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType) ΛMap

ΛMap returns the value lookup map associated with OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType.

type E_OpenconfigSystem_System_SshServer_Config_ProtocolVersion

type E_OpenconfigSystem_System_SshServer_Config_ProtocolVersion int64

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

const (
	// OpenconfigSystem_System_SshServer_Config_ProtocolVersion_UNSET corresponds to the value UNSET of OpenconfigSystem_System_SshServer_Config_ProtocolVersion
	OpenconfigSystem_System_SshServer_Config_ProtocolVersion_UNSET E_OpenconfigSystem_System_SshServer_Config_ProtocolVersion = 0
	// OpenconfigSystem_System_SshServer_Config_ProtocolVersion_V2 corresponds to the value V2 of OpenconfigSystem_System_SshServer_Config_ProtocolVersion
	OpenconfigSystem_System_SshServer_Config_ProtocolVersion_V2 E_OpenconfigSystem_System_SshServer_Config_ProtocolVersion = 1
	// OpenconfigSystem_System_SshServer_Config_ProtocolVersion_V1 corresponds to the value V1 of OpenconfigSystem_System_SshServer_Config_ProtocolVersion
	OpenconfigSystem_System_SshServer_Config_ProtocolVersion_V1 E_OpenconfigSystem_System_SshServer_Config_ProtocolVersion = 2
	// OpenconfigSystem_System_SshServer_Config_ProtocolVersion_V1_V2 corresponds to the value V1_V2 of OpenconfigSystem_System_SshServer_Config_ProtocolVersion
	OpenconfigSystem_System_SshServer_Config_ProtocolVersion_V1_V2 E_OpenconfigSystem_System_SshServer_Config_ProtocolVersion = 3
)

func (E_OpenconfigSystem_System_SshServer_Config_ProtocolVersion) IsYANGGoEnum

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

func (E_OpenconfigSystem_System_SshServer_Config_ProtocolVersion) ΛMap

ΛMap returns the value lookup map associated with OpenconfigSystem_System_SshServer_Config_ProtocolVersion.

type E_OpenconfigTerminalDevice_AdminStateType

type E_OpenconfigTerminalDevice_AdminStateType int64

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

const (
	// OpenconfigTerminalDevice_AdminStateType_UNSET corresponds to the value UNSET of OpenconfigTerminalDevice_AdminStateType
	OpenconfigTerminalDevice_AdminStateType_UNSET E_OpenconfigTerminalDevice_AdminStateType = 0
	// OpenconfigTerminalDevice_AdminStateType_ENABLED corresponds to the value ENABLED of OpenconfigTerminalDevice_AdminStateType
	OpenconfigTerminalDevice_AdminStateType_ENABLED E_OpenconfigTerminalDevice_AdminStateType = 1
	// OpenconfigTerminalDevice_AdminStateType_DISABLED corresponds to the value DISABLED of OpenconfigTerminalDevice_AdminStateType
	OpenconfigTerminalDevice_AdminStateType_DISABLED E_OpenconfigTerminalDevice_AdminStateType = 2
	// OpenconfigTerminalDevice_AdminStateType_MAINT corresponds to the value MAINT of OpenconfigTerminalDevice_AdminStateType
	OpenconfigTerminalDevice_AdminStateType_MAINT E_OpenconfigTerminalDevice_AdminStateType = 3
)

func (E_OpenconfigTerminalDevice_AdminStateType) IsYANGGoEnum

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

func (E_OpenconfigTerminalDevice_AdminStateType) ΛMap

ΛMap returns the value lookup map associated with OpenconfigTerminalDevice_AdminStateType.

type E_OpenconfigTerminalDevice_LoopbackModeType

type E_OpenconfigTerminalDevice_LoopbackModeType int64

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

const (
	// OpenconfigTerminalDevice_LoopbackModeType_UNSET corresponds to the value UNSET of OpenconfigTerminalDevice_LoopbackModeType
	OpenconfigTerminalDevice_LoopbackModeType_UNSET E_OpenconfigTerminalDevice_LoopbackModeType = 0
	// OpenconfigTerminalDevice_LoopbackModeType_NONE corresponds to the value NONE of OpenconfigTerminalDevice_LoopbackModeType
	OpenconfigTerminalDevice_LoopbackModeType_NONE E_OpenconfigTerminalDevice_LoopbackModeType = 1
	// OpenconfigTerminalDevice_LoopbackModeType_FACILITY corresponds to the value FACILITY of OpenconfigTerminalDevice_LoopbackModeType
	OpenconfigTerminalDevice_LoopbackModeType_FACILITY E_OpenconfigTerminalDevice_LoopbackModeType = 2
	// OpenconfigTerminalDevice_LoopbackModeType_TERMINAL corresponds to the value TERMINAL of OpenconfigTerminalDevice_LoopbackModeType
	OpenconfigTerminalDevice_LoopbackModeType_TERMINAL E_OpenconfigTerminalDevice_LoopbackModeType = 3
)

func (E_OpenconfigTerminalDevice_LoopbackModeType) IsYANGGoEnum

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

func (E_OpenconfigTerminalDevice_LoopbackModeType) ΛMap

ΛMap returns the value lookup map associated with OpenconfigTerminalDevice_LoopbackModeType.

type E_OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config_AssignmentType

type E_OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config_AssignmentType int64

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

const (
	// OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config_AssignmentType_UNSET corresponds to the value UNSET of OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config_AssignmentType
	OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config_AssignmentType_UNSET E_OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config_AssignmentType = 0
	// OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config_AssignmentType_LOGICAL_CHANNEL corresponds to the value LOGICAL_CHANNEL of OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config_AssignmentType
	OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config_AssignmentType_LOGICAL_CHANNEL E_OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config_AssignmentType = 1
	// OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config_AssignmentType_OPTICAL_CHANNEL corresponds to the value OPTICAL_CHANNEL of OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config_AssignmentType
	OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config_AssignmentType_OPTICAL_CHANNEL E_OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config_AssignmentType = 2
)

func (E_OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config_AssignmentType) IsYANGGoEnum

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

func (E_OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config_AssignmentType) ΛMap

ΛMap returns the value lookup map associated with OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config_AssignmentType.

type E_OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State_LinkState

type E_OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State_LinkState int64

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

const (
	// OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State_LinkState_UNSET corresponds to the value UNSET of OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State_LinkState
	OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State_LinkState_UNSET E_OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State_LinkState = 0
	// OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State_LinkState_UP corresponds to the value UP of OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State_LinkState
	OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State_LinkState_UP E_OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State_LinkState = 1
	// OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State_LinkState_DOWN corresponds to the value DOWN of OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State_LinkState
	OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State_LinkState_DOWN E_OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State_LinkState = 2
	// OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State_LinkState_TESTING corresponds to the value TESTING of OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State_LinkState
	OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State_LinkState_TESTING E_OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State_LinkState = 3
)

func (E_OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State_LinkState) IsYANGGoEnum

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

func (E_OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State_LinkState) ΛMap

ΛMap returns the value lookup map associated with OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State_LinkState.

type E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE

type E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE int64

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

const (
	// OpenconfigTransportTypes_ETHERNET_PMD_TYPE_UNSET corresponds to the value UNSET of OpenconfigTransportTypes_ETHERNET_PMD_TYPE
	OpenconfigTransportTypes_ETHERNET_PMD_TYPE_UNSET E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE = 0
	// OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_100GBASE_CLR4 corresponds to the value ETH_100GBASE_CLR4 of OpenconfigTransportTypes_ETHERNET_PMD_TYPE
	OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_100GBASE_CLR4 E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE = 1
	// OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_100GBASE_CR4 corresponds to the value ETH_100GBASE_CR4 of OpenconfigTransportTypes_ETHERNET_PMD_TYPE
	OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_100GBASE_CR4 E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE = 2
	// OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_100GBASE_CWDM4 corresponds to the value ETH_100GBASE_CWDM4 of OpenconfigTransportTypes_ETHERNET_PMD_TYPE
	OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_100GBASE_CWDM4 E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE = 3
	// OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_100GBASE_ER4 corresponds to the value ETH_100GBASE_ER4 of OpenconfigTransportTypes_ETHERNET_PMD_TYPE
	OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_100GBASE_ER4 E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE = 4
	// OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_100GBASE_LR4 corresponds to the value ETH_100GBASE_LR4 of OpenconfigTransportTypes_ETHERNET_PMD_TYPE
	OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_100GBASE_LR4 E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE = 5
	// OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_100GBASE_PSM4 corresponds to the value ETH_100GBASE_PSM4 of OpenconfigTransportTypes_ETHERNET_PMD_TYPE
	OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_100GBASE_PSM4 E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE = 6
	// OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_100GBASE_SR10 corresponds to the value ETH_100GBASE_SR10 of OpenconfigTransportTypes_ETHERNET_PMD_TYPE
	OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_100GBASE_SR10 E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE = 7
	// OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_100GBASE_SR4 corresponds to the value ETH_100GBASE_SR4 of OpenconfigTransportTypes_ETHERNET_PMD_TYPE
	OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_100GBASE_SR4 E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE = 8
	// OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_100G_ACC corresponds to the value ETH_100G_ACC of OpenconfigTransportTypes_ETHERNET_PMD_TYPE
	OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_100G_ACC E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE = 9
	// OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_100G_AOC corresponds to the value ETH_100G_AOC of OpenconfigTransportTypes_ETHERNET_PMD_TYPE
	OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_100G_AOC E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE = 10
	// OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_10GBASE_ER corresponds to the value ETH_10GBASE_ER of OpenconfigTransportTypes_ETHERNET_PMD_TYPE
	OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_10GBASE_ER E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE = 11
	// OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_10GBASE_LR corresponds to the value ETH_10GBASE_LR of OpenconfigTransportTypes_ETHERNET_PMD_TYPE
	OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_10GBASE_LR E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE = 12
	// OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_10GBASE_LRM corresponds to the value ETH_10GBASE_LRM of OpenconfigTransportTypes_ETHERNET_PMD_TYPE
	OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_10GBASE_LRM E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE = 13
	// OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_10GBASE_SR corresponds to the value ETH_10GBASE_SR of OpenconfigTransportTypes_ETHERNET_PMD_TYPE
	OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_10GBASE_SR E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE = 14
	// OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_10GBASE_ZR corresponds to the value ETH_10GBASE_ZR of OpenconfigTransportTypes_ETHERNET_PMD_TYPE
	OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_10GBASE_ZR E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE = 15
	// OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_40GBASE_CR4 corresponds to the value ETH_40GBASE_CR4 of OpenconfigTransportTypes_ETHERNET_PMD_TYPE
	OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_40GBASE_CR4 E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE = 16
	// OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_40GBASE_ER4 corresponds to the value ETH_40GBASE_ER4 of OpenconfigTransportTypes_ETHERNET_PMD_TYPE
	OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_40GBASE_ER4 E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE = 17
	// OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_40GBASE_LR4 corresponds to the value ETH_40GBASE_LR4 of OpenconfigTransportTypes_ETHERNET_PMD_TYPE
	OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_40GBASE_LR4 E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE = 18
	// OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_40GBASE_PSM4 corresponds to the value ETH_40GBASE_PSM4 of OpenconfigTransportTypes_ETHERNET_PMD_TYPE
	OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_40GBASE_PSM4 E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE = 19
	// OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_40GBASE_SR4 corresponds to the value ETH_40GBASE_SR4 of OpenconfigTransportTypes_ETHERNET_PMD_TYPE
	OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_40GBASE_SR4 E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE = 20
	// OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_4X10GBASE_LR corresponds to the value ETH_4X10GBASE_LR of OpenconfigTransportTypes_ETHERNET_PMD_TYPE
	OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_4X10GBASE_LR E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE = 21
	// OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_4X10GBASE_SR corresponds to the value ETH_4X10GBASE_SR of OpenconfigTransportTypes_ETHERNET_PMD_TYPE
	OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_4X10GBASE_SR E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE = 22
	// OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_UNDEFINED corresponds to the value ETH_UNDEFINED of OpenconfigTransportTypes_ETHERNET_PMD_TYPE
	OpenconfigTransportTypes_ETHERNET_PMD_TYPE_ETH_UNDEFINED E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE = 23
)

func (E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE) IsYANGGoEnum

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

func (E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE) ΛMap

ΛMap returns the value lookup map associated with OpenconfigTransportTypes_ETHERNET_PMD_TYPE.

type E_OpenconfigTransportTypes_FIBER_CONNECTOR_TYPE

type E_OpenconfigTransportTypes_FIBER_CONNECTOR_TYPE int64

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

const (
	// OpenconfigTransportTypes_FIBER_CONNECTOR_TYPE_UNSET corresponds to the value UNSET of OpenconfigTransportTypes_FIBER_CONNECTOR_TYPE
	OpenconfigTransportTypes_FIBER_CONNECTOR_TYPE_UNSET E_OpenconfigTransportTypes_FIBER_CONNECTOR_TYPE = 0
	// OpenconfigTransportTypes_FIBER_CONNECTOR_TYPE_LC_CONNECTOR corresponds to the value LC_CONNECTOR of OpenconfigTransportTypes_FIBER_CONNECTOR_TYPE
	OpenconfigTransportTypes_FIBER_CONNECTOR_TYPE_LC_CONNECTOR E_OpenconfigTransportTypes_FIBER_CONNECTOR_TYPE = 1
	// OpenconfigTransportTypes_FIBER_CONNECTOR_TYPE_MPO_CONNECTOR corresponds to the value MPO_CONNECTOR of OpenconfigTransportTypes_FIBER_CONNECTOR_TYPE
	OpenconfigTransportTypes_FIBER_CONNECTOR_TYPE_MPO_CONNECTOR E_OpenconfigTransportTypes_FIBER_CONNECTOR_TYPE = 2
	// OpenconfigTransportTypes_FIBER_CONNECTOR_TYPE_SC_CONNECTOR corresponds to the value SC_CONNECTOR of OpenconfigTransportTypes_FIBER_CONNECTOR_TYPE
	OpenconfigTransportTypes_FIBER_CONNECTOR_TYPE_SC_CONNECTOR E_OpenconfigTransportTypes_FIBER_CONNECTOR_TYPE = 3
)

func (E_OpenconfigTransportTypes_FIBER_CONNECTOR_TYPE) IsYANGGoEnum

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

func (E_OpenconfigTransportTypes_FIBER_CONNECTOR_TYPE) ΛMap

ΛMap returns the value lookup map associated with OpenconfigTransportTypes_FIBER_CONNECTOR_TYPE.

type E_OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL

type E_OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL int64

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

const (
	// OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL_UNSET corresponds to the value UNSET of OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL
	OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL_UNSET E_OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL = 0
	// OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL_AMP corresponds to the value AMP of OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL
	OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL_AMP E_OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL = 1
	// OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL_BMP corresponds to the value BMP of OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL
	OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL_BMP E_OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL = 2
	// OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL_CBR corresponds to the value CBR of OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL
	OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL_CBR E_OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL = 3
	// OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL_GFP_F corresponds to the value GFP_F of OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL
	OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL_GFP_F E_OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL = 4
	// OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL_GFP_T corresponds to the value GFP_T of OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL
	OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL_GFP_T E_OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL = 5
	// OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL_GMP corresponds to the value GMP of OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL
	OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL_GMP E_OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL = 6
)

func (E_OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL) IsYANGGoEnum

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

func (E_OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL) ΛMap

ΛMap returns the value lookup map associated with OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL.

type E_OpenconfigTransportTypes_LOGICAL_ELEMENT_PROTOCOL_TYPE

type E_OpenconfigTransportTypes_LOGICAL_ELEMENT_PROTOCOL_TYPE int64

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

const (
	// OpenconfigTransportTypes_LOGICAL_ELEMENT_PROTOCOL_TYPE_UNSET corresponds to the value UNSET of OpenconfigTransportTypes_LOGICAL_ELEMENT_PROTOCOL_TYPE
	OpenconfigTransportTypes_LOGICAL_ELEMENT_PROTOCOL_TYPE_UNSET E_OpenconfigTransportTypes_LOGICAL_ELEMENT_PROTOCOL_TYPE = 0
	// OpenconfigTransportTypes_LOGICAL_ELEMENT_PROTOCOL_TYPE_PROT_ETHERNET corresponds to the value PROT_ETHERNET of OpenconfigTransportTypes_LOGICAL_ELEMENT_PROTOCOL_TYPE
	OpenconfigTransportTypes_LOGICAL_ELEMENT_PROTOCOL_TYPE_PROT_ETHERNET E_OpenconfigTransportTypes_LOGICAL_ELEMENT_PROTOCOL_TYPE = 1
	// OpenconfigTransportTypes_LOGICAL_ELEMENT_PROTOCOL_TYPE_PROT_OTN corresponds to the value PROT_OTN of OpenconfigTransportTypes_LOGICAL_ELEMENT_PROTOCOL_TYPE
	OpenconfigTransportTypes_LOGICAL_ELEMENT_PROTOCOL_TYPE_PROT_OTN E_OpenconfigTransportTypes_LOGICAL_ELEMENT_PROTOCOL_TYPE = 2
)

func (E_OpenconfigTransportTypes_LOGICAL_ELEMENT_PROTOCOL_TYPE) IsYANGGoEnum

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

func (E_OpenconfigTransportTypes_LOGICAL_ELEMENT_PROTOCOL_TYPE) ΛMap

ΛMap returns the value lookup map associated with OpenconfigTransportTypes_LOGICAL_ELEMENT_PROTOCOL_TYPE.

type E_OpenconfigTransportTypes_OTN_APPLICATION_CODE

type E_OpenconfigTransportTypes_OTN_APPLICATION_CODE int64

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

const (
	// OpenconfigTransportTypes_OTN_APPLICATION_CODE_UNSET corresponds to the value UNSET of OpenconfigTransportTypes_OTN_APPLICATION_CODE
	OpenconfigTransportTypes_OTN_APPLICATION_CODE_UNSET E_OpenconfigTransportTypes_OTN_APPLICATION_CODE = 0
	// OpenconfigTransportTypes_OTN_APPLICATION_CODE_OTN_UNDEFINED corresponds to the value OTN_UNDEFINED of OpenconfigTransportTypes_OTN_APPLICATION_CODE
	OpenconfigTransportTypes_OTN_APPLICATION_CODE_OTN_UNDEFINED E_OpenconfigTransportTypes_OTN_APPLICATION_CODE = 1
	// OpenconfigTransportTypes_OTN_APPLICATION_CODE_P1L1_2D1 corresponds to the value P1L1_2D1 of OpenconfigTransportTypes_OTN_APPLICATION_CODE
	OpenconfigTransportTypes_OTN_APPLICATION_CODE_P1L1_2D1 E_OpenconfigTransportTypes_OTN_APPLICATION_CODE = 2
	// OpenconfigTransportTypes_OTN_APPLICATION_CODE_P1L1_2D2 corresponds to the value P1L1_2D2 of OpenconfigTransportTypes_OTN_APPLICATION_CODE
	OpenconfigTransportTypes_OTN_APPLICATION_CODE_P1L1_2D2 E_OpenconfigTransportTypes_OTN_APPLICATION_CODE = 3
	// OpenconfigTransportTypes_OTN_APPLICATION_CODE_P1S1_2D2 corresponds to the value P1S1_2D2 of OpenconfigTransportTypes_OTN_APPLICATION_CODE
	OpenconfigTransportTypes_OTN_APPLICATION_CODE_P1S1_2D2 E_OpenconfigTransportTypes_OTN_APPLICATION_CODE = 4
)

func (E_OpenconfigTransportTypes_OTN_APPLICATION_CODE) IsYANGGoEnum

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

func (E_OpenconfigTransportTypes_OTN_APPLICATION_CODE) ΛMap

ΛMap returns the value lookup map associated with OpenconfigTransportTypes_OTN_APPLICATION_CODE.

type E_OpenconfigTransportTypes_SONET_APPLICATION_CODE

type E_OpenconfigTransportTypes_SONET_APPLICATION_CODE int64

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

const (
	// OpenconfigTransportTypes_SONET_APPLICATION_CODE_UNSET corresponds to the value UNSET of OpenconfigTransportTypes_SONET_APPLICATION_CODE
	OpenconfigTransportTypes_SONET_APPLICATION_CODE_UNSET E_OpenconfigTransportTypes_SONET_APPLICATION_CODE = 0
	// OpenconfigTransportTypes_SONET_APPLICATION_CODE_SONET_UNDEFINED corresponds to the value SONET_UNDEFINED of OpenconfigTransportTypes_SONET_APPLICATION_CODE
	OpenconfigTransportTypes_SONET_APPLICATION_CODE_SONET_UNDEFINED E_OpenconfigTransportTypes_SONET_APPLICATION_CODE = 1
	// OpenconfigTransportTypes_SONET_APPLICATION_CODE_VSR2000_3R2 corresponds to the value VSR2000_3R2 of OpenconfigTransportTypes_SONET_APPLICATION_CODE
	OpenconfigTransportTypes_SONET_APPLICATION_CODE_VSR2000_3R2 E_OpenconfigTransportTypes_SONET_APPLICATION_CODE = 2
	// OpenconfigTransportTypes_SONET_APPLICATION_CODE_VSR2000_3R3 corresponds to the value VSR2000_3R3 of OpenconfigTransportTypes_SONET_APPLICATION_CODE
	OpenconfigTransportTypes_SONET_APPLICATION_CODE_VSR2000_3R3 E_OpenconfigTransportTypes_SONET_APPLICATION_CODE = 3
	// OpenconfigTransportTypes_SONET_APPLICATION_CODE_VSR2000_3R5 corresponds to the value VSR2000_3R5 of OpenconfigTransportTypes_SONET_APPLICATION_CODE
	OpenconfigTransportTypes_SONET_APPLICATION_CODE_VSR2000_3R5 E_OpenconfigTransportTypes_SONET_APPLICATION_CODE = 4
)

func (E_OpenconfigTransportTypes_SONET_APPLICATION_CODE) IsYANGGoEnum

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

func (E_OpenconfigTransportTypes_SONET_APPLICATION_CODE) ΛMap

ΛMap returns the value lookup map associated with OpenconfigTransportTypes_SONET_APPLICATION_CODE.

type E_OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE

type E_OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE int64

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

const (
	// OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE_UNSET corresponds to the value UNSET of OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE
	OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE_UNSET E_OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE = 0
	// OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE_CFP corresponds to the value CFP of OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE
	OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE_CFP E_OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE = 1
	// OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE_CFP2 corresponds to the value CFP2 of OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE
	OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE_CFP2 E_OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE = 2
	// OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE_CFP2_ACO corresponds to the value CFP2_ACO of OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE
	OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE_CFP2_ACO E_OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE = 3
	// OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE_CFP4 corresponds to the value CFP4 of OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE
	OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE_CFP4 E_OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE = 4
	// OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE_CPAK corresponds to the value CPAK of OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE
	OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE_CPAK E_OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE = 5
	// OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE_NON_PLUGGABLE corresponds to the value NON_PLUGGABLE of OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE
	OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE_NON_PLUGGABLE E_OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE = 6
	// OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE_OTHER corresponds to the value OTHER of OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE
	OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE_OTHER E_OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE = 7
	// OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE_QSFP corresponds to the value QSFP of OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE
	OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE_QSFP E_OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE = 8
	// OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE_QSFP28 corresponds to the value QSFP28 of OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE
	OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE_QSFP28 E_OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE = 9
	// OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE_QSFP_PLUS corresponds to the value QSFP_PLUS of OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE
	OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE_QSFP_PLUS E_OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE = 10
	// OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE_SFP corresponds to the value SFP of OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE
	OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE_SFP E_OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE = 11
	// OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE_SFP_PLUS corresponds to the value SFP_PLUS of OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE
	OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE_SFP_PLUS E_OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE = 12
	// OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE_X2 corresponds to the value X2 of OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE
	OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE_X2 E_OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE = 13
	// OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE_XFP corresponds to the value XFP of OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE
	OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE_XFP E_OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE = 14
)

func (E_OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE) IsYANGGoEnum

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

func (E_OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE) ΛMap

ΛMap returns the value lookup map associated with OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE.

type E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE

type E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE int64

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

const (
	// OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_UNSET corresponds to the value UNSET of OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE
	OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_UNSET E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE = 0
	// OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_100GE corresponds to the value PROT_100GE of OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE
	OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_100GE E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE = 1
	// OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_100G_MLG corresponds to the value PROT_100G_MLG of OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE
	OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_100G_MLG E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE = 2
	// OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_10GE_LAN corresponds to the value PROT_10GE_LAN of OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE
	OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_10GE_LAN E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE = 3
	// OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_10GE_WAN corresponds to the value PROT_10GE_WAN of OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE
	OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_10GE_WAN E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE = 4
	// OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_1GE corresponds to the value PROT_1GE of OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE
	OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_1GE E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE = 5
	// OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_40GE corresponds to the value PROT_40GE of OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE
	OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_40GE E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE = 6
	// OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_OC192 corresponds to the value PROT_OC192 of OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE
	OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_OC192 E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE = 7
	// OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_OC48 corresponds to the value PROT_OC48 of OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE
	OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_OC48 E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE = 8
	// OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_OC768 corresponds to the value PROT_OC768 of OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE
	OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_OC768 E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE = 9
	// OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_ODU2 corresponds to the value PROT_ODU2 of OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE
	OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_ODU2 E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE = 10
	// OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_ODU2E corresponds to the value PROT_ODU2E of OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE
	OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_ODU2E E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE = 11
	// OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_ODU3 corresponds to the value PROT_ODU3 of OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE
	OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_ODU3 E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE = 12
	// OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_ODU4 corresponds to the value PROT_ODU4 of OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE
	OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_ODU4 E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE = 13
	// OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_ODUCN corresponds to the value PROT_ODUCN of OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE
	OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_ODUCN E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE = 14
	// OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_OTU1E corresponds to the value PROT_OTU1E of OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE
	OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_OTU1E E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE = 15
	// OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_OTU2 corresponds to the value PROT_OTU2 of OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE
	OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_OTU2 E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE = 16
	// OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_OTU2E corresponds to the value PROT_OTU2E of OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE
	OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_OTU2E E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE = 17
	// OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_OTU3 corresponds to the value PROT_OTU3 of OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE
	OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_OTU3 E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE = 18
	// OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_OTU4 corresponds to the value PROT_OTU4 of OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE
	OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_OTU4 E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE = 19
	// OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_OTUCN corresponds to the value PROT_OTUCN of OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE
	OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_OTUCN E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE = 20
	// OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_STM16 corresponds to the value PROT_STM16 of OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE
	OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_STM16 E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE = 21
	// OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_STM256 corresponds to the value PROT_STM256 of OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE
	OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_STM256 E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE = 22
	// OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_STM64 corresponds to the value PROT_STM64 of OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE
	OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE_PROT_STM64 E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE = 23
)

func (E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE) IsYANGGoEnum

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

func (E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE) ΛMap

ΛMap returns the value lookup map associated with OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE.

type E_OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE

type E_OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE int64

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

const (
	// OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_UNSET corresponds to the value UNSET of OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE
	OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_UNSET E_OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE = 0
	// OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_1000G corresponds to the value TRIB_RATE_1000G of OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE
	OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_1000G E_OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE = 1
	// OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_100G corresponds to the value TRIB_RATE_100G of OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE
	OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_100G E_OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE = 2
	// OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_10G corresponds to the value TRIB_RATE_10G of OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE
	OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_10G E_OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE = 3
	// OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_1100G corresponds to the value TRIB_RATE_1100G of OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE
	OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_1100G E_OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE = 4
	// OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_150G corresponds to the value TRIB_RATE_150G of OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE
	OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_150G E_OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE = 5
	// OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_1G corresponds to the value TRIB_RATE_1G of OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE
	OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_1G E_OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE = 6
	// OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_2_5G corresponds to the value TRIB_RATE_2_5G of OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE
	OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_2_5G E_OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE = 7
	// OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_200G corresponds to the value TRIB_RATE_200G of OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE
	OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_200G E_OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE = 8
	// OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_250G corresponds to the value TRIB_RATE_250G of OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE
	OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_250G E_OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE = 9
	// OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_300G corresponds to the value TRIB_RATE_300G of OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE
	OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_300G E_OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE = 10
	// OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_400G corresponds to the value TRIB_RATE_400G of OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE
	OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_400G E_OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE = 11
	// OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_40G corresponds to the value TRIB_RATE_40G of OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE
	OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_40G E_OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE = 12
	// OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_500G corresponds to the value TRIB_RATE_500G of OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE
	OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_500G E_OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE = 13
	// OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_600G corresponds to the value TRIB_RATE_600G of OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE
	OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_600G E_OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE = 14
	// OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_700G corresponds to the value TRIB_RATE_700G of OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE
	OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_700G E_OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE = 15
	// OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_800G corresponds to the value TRIB_RATE_800G of OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE
	OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_800G E_OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE = 16
	// OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_900G corresponds to the value TRIB_RATE_900G of OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE
	OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE_TRIB_RATE_900G E_OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE = 17
)

func (E_OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE) IsYANGGoEnum

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

func (E_OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE) ΛMap

ΛMap returns the value lookup map associated with OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE.

type E_OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY

type E_OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY int64

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

const (
	// OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY_UNSET corresponds to the value UNSET of OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY
	OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY_UNSET E_OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY = 0
	// OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY_TRIB_SLOT_1_25G corresponds to the value TRIB_SLOT_1_25G of OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY
	OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY_TRIB_SLOT_1_25G E_OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY = 1
	// OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY_TRIB_SLOT_2_5G corresponds to the value TRIB_SLOT_2_5G of OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY
	OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY_TRIB_SLOT_2_5G E_OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY = 2
	// OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY_TRIB_SLOT_5G corresponds to the value TRIB_SLOT_5G of OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY
	OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY_TRIB_SLOT_5G E_OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY = 3
)

func (E_OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY) IsYANGGoEnum

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

func (E_OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY) ΛMap

ΛMap returns the value lookup map associated with OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY.

type OpenconfigInterfaces_Interfaces

type OpenconfigInterfaces_Interfaces struct {
	ΛMetadata  []ygot.Annotation                                     `path:"@" ygotAnnotation:"true"`
	Interface  map[string]*OpenconfigInterfaces_Interfaces_Interface `path:"interface" module:"openconfig-interfaces"`
	ΛInterface []ygot.Annotation                                     `path:"@interface" ygotAnnotation:"true"`
}

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

func (*OpenconfigInterfaces_Interfaces) AppendInterface

AppendInterface appends the supplied OpenconfigInterfaces_Interfaces_Interface struct to the list Interface of OpenconfigInterfaces_Interfaces. If the key value(s) specified in the supplied OpenconfigInterfaces_Interfaces_Interface already exist in the list, an error is returned.

func (*OpenconfigInterfaces_Interfaces) GetInterface

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

func (*OpenconfigInterfaces_Interfaces) GetOrCreateInterface

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

func (*OpenconfigInterfaces_Interfaces) IsYANGGoStruct

func (*OpenconfigInterfaces_Interfaces) IsYANGGoStruct()

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

func (*OpenconfigInterfaces_Interfaces) NewInterface

NewInterface creates a new entry in the Interface list of the OpenconfigInterfaces_Interfaces struct. The keys of the list are populated from the input arguments.

func (*OpenconfigInterfaces_Interfaces) RenameInterface

func (t *OpenconfigInterfaces_Interfaces) RenameInterface(oldK, newK string) error

RenameInterface renames an entry in the list Interface within the OpenconfigInterfaces_Interfaces struct. The entry with key oldK is renamed to newK updating the key within the value.

func (*OpenconfigInterfaces_Interfaces) Validate

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

func (*OpenconfigInterfaces_Interfaces) ΛEnumTypeMap

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

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

type OpenconfigInterfaces_Interfaces_Interface

type OpenconfigInterfaces_Interfaces_Interface struct {
	ΛMetadata      []ygot.Annotation                                        `path:"@" ygotAnnotation:"true"`
	Config         *OpenconfigInterfaces_Interfaces_Interface_Config        `path:"config" module:"openconfig-interfaces"`
	ΛConfig        []ygot.Annotation                                        `path:"@config" ygotAnnotation:"true"`
	Ethernet       *OpenconfigInterfaces_Interfaces_Interface_Ethernet      `path:"ethernet" module:"openconfig-if-ethernet"`
	ΛEthernet      []ygot.Annotation                                        `path:"@ethernet" ygotAnnotation:"true"`
	HoldTime       *OpenconfigInterfaces_Interfaces_Interface_HoldTime      `path:"hold-time" module:"openconfig-interfaces"`
	ΛHoldTime      []ygot.Annotation                                        `path:"@hold-time" ygotAnnotation:"true"`
	Name           *string                                                  `path:"name" module:"openconfig-interfaces"`
	ΛName          []ygot.Annotation                                        `path:"@name" ygotAnnotation:"true"`
	State          *OpenconfigInterfaces_Interfaces_Interface_State         `path:"state" module:"openconfig-interfaces"`
	ΛState         []ygot.Annotation                                        `path:"@state" ygotAnnotation:"true"`
	Subinterfaces  *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces `path:"subinterfaces" module:"openconfig-interfaces"`
	ΛSubinterfaces []ygot.Annotation                                        `path:"@subinterfaces" ygotAnnotation:"true"`
}

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

func (*OpenconfigInterfaces_Interfaces_Interface) GetConfig

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

func (*OpenconfigInterfaces_Interfaces_Interface) GetEthernet

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

func (*OpenconfigInterfaces_Interfaces_Interface) GetHoldTime

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

func (*OpenconfigInterfaces_Interfaces_Interface) GetName

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

func (*OpenconfigInterfaces_Interfaces_Interface) GetOrCreateConfig

GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.

func (*OpenconfigInterfaces_Interfaces_Interface) GetOrCreateEthernet

GetOrCreateEthernet retrieves the value of the Ethernet field or returns the existing field if it already exists.

func (*OpenconfigInterfaces_Interfaces_Interface) GetOrCreateHoldTime

GetOrCreateHoldTime retrieves the value of the HoldTime field or returns the existing field if it already exists.

func (*OpenconfigInterfaces_Interfaces_Interface) GetOrCreateState

GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.

func (*OpenconfigInterfaces_Interfaces_Interface) GetOrCreateSubinterfaces

GetOrCreateSubinterfaces retrieves the value of the Subinterfaces field or returns the existing field if it already exists.

func (*OpenconfigInterfaces_Interfaces_Interface) GetState

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

func (*OpenconfigInterfaces_Interfaces_Interface) GetSubinterfaces

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

func (*OpenconfigInterfaces_Interfaces_Interface) IsYANGGoStruct

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

func (*OpenconfigInterfaces_Interfaces_Interface) Validate

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

func (*OpenconfigInterfaces_Interfaces_Interface) ΛEnumTypeMap

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

func (*OpenconfigInterfaces_Interfaces_Interface) ΛListKeyMap

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

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

type OpenconfigInterfaces_Interfaces_Interface_Config

type OpenconfigInterfaces_Interfaces_Interface_Config struct {
	ΛMetadata     []ygot.Annotation              `path:"@" ygotAnnotation:"true"`
	Description   *string                        `path:"description" module:"openconfig-interfaces"`
	ΛDescription  []ygot.Annotation              `path:"@description" ygotAnnotation:"true"`
	Enabled       *bool                          `path:"enabled" module:"openconfig-interfaces"`
	ΛEnabled      []ygot.Annotation              `path:"@enabled" ygotAnnotation:"true"`
	LoopbackMode  *bool                          `path:"loopback-mode" module:"openconfig-interfaces"`
	ΛLoopbackMode []ygot.Annotation              `path:"@loopback-mode" ygotAnnotation:"true"`
	Mtu           *uint16                        `path:"mtu" module:"openconfig-interfaces"`
	ΛMtu          []ygot.Annotation              `path:"@mtu" ygotAnnotation:"true"`
	Name          *string                        `path:"name" module:"openconfig-interfaces"`
	ΛName         []ygot.Annotation              `path:"@name" ygotAnnotation:"true"`
	Type          E_IETFInterfaces_InterfaceType `path:"type" module:"openconfig-interfaces"`
	ΛType         []ygot.Annotation              `path:"@type" ygotAnnotation:"true"`
}

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

func (*OpenconfigInterfaces_Interfaces_Interface_Config) GetDescription

GetDescription retrieves the value of the leaf Description from the OpenconfigInterfaces_Interfaces_Interface_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Description is set, it can safely use t.GetDescription() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Description == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_Config) GetEnabled

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

func (*OpenconfigInterfaces_Interfaces_Interface_Config) GetLoopbackMode

GetLoopbackMode retrieves the value of the leaf LoopbackMode from the OpenconfigInterfaces_Interfaces_Interface_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LoopbackMode is set, it can safely use t.GetLoopbackMode() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LoopbackMode == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_Config) GetMtu

GetMtu retrieves the value of the leaf Mtu from the OpenconfigInterfaces_Interfaces_Interface_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Mtu is set, it can safely use t.GetMtu() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Mtu == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_Config) GetName

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

func (*OpenconfigInterfaces_Interfaces_Interface_Config) GetType

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

func (*OpenconfigInterfaces_Interfaces_Interface_Config) IsYANGGoStruct

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

func (*OpenconfigInterfaces_Interfaces_Interface_Config) Validate

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

func (*OpenconfigInterfaces_Interfaces_Interface_Config) ΛEnumTypeMap

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

type OpenconfigInterfaces_Interfaces_Interface_Ethernet

type OpenconfigInterfaces_Interfaces_Interface_Ethernet struct {
	ΛMetadata []ygot.Annotation                                          `path:"@" ygotAnnotation:"true"`
	Config    *OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config `path:"config" module:"openconfig-if-ethernet"`
	ΛConfig   []ygot.Annotation                                          `path:"@config" ygotAnnotation:"true"`
	State     *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State  `path:"state" module:"openconfig-if-ethernet"`
	ΛState    []ygot.Annotation                                          `path:"@state" ygotAnnotation:"true"`
}

OpenconfigInterfaces_Interfaces_Interface_Ethernet represents the /openconfig-interfaces/interfaces/interface/ethernet YANG schema element.

func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet) GetConfig

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

func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet) GetOrCreateConfig

GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.

func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet) GetOrCreateState

GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.

func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet) GetState

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

func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet) IsYANGGoStruct

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

func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet) Validate

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

func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet) ΛEnumTypeMap

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

type OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config

type OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config struct {
	ΛMetadata          []ygot.Annotation                                                      `path:"@" ygotAnnotation:"true"`
	AlsDelay           *uint32                                                                `path:"als-delay" module:"openconfig-terminal-device"`
	ΛAlsDelay          []ygot.Annotation                                                      `path:"@als-delay" ygotAnnotation:"true"`
	AutoNegotiate      *bool                                                                  `path:"auto-negotiate" module:"openconfig-if-ethernet"`
	ΛAutoNegotiate     []ygot.Annotation                                                      `path:"@auto-negotiate" ygotAnnotation:"true"`
	ClientAls          E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientAls  `path:"client-als" module:"openconfig-terminal-device"`
	ΛClientAls         []ygot.Annotation                                                      `path:"@client-als" ygotAnnotation:"true"`
	ClientFec          E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_ClientFec  `path:"client-fec" module:"openconfig-terminal-device"`
	ΛClientFec         []ygot.Annotation                                                      `path:"@client-fec" ygotAnnotation:"true"`
	DuplexMode         E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_DuplexMode `path:"duplex-mode" module:"openconfig-if-ethernet"`
	ΛDuplexMode        []ygot.Annotation                                                      `path:"@duplex-mode" ygotAnnotation:"true"`
	EnableFlowControl  *bool                                                                  `path:"enable-flow-control" module:"openconfig-if-ethernet"`
	ΛEnableFlowControl []ygot.Annotation                                                      `path:"@enable-flow-control" ygotAnnotation:"true"`
	MacAddress         *string                                                                `path:"mac-address" module:"openconfig-if-ethernet"`
	ΛMacAddress        []ygot.Annotation                                                      `path:"@mac-address" ygotAnnotation:"true"`
	PortSpeed          E_OpenconfigIfEthernet_ETHERNET_SPEED                                  `path:"port-speed" module:"openconfig-if-ethernet"`
	ΛPortSpeed         []ygot.Annotation                                                      `path:"@port-speed" ygotAnnotation:"true"`
}

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

func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config) GetAlsDelay

GetAlsDelay retrieves the value of the leaf AlsDelay from the OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AlsDelay is set, it can safely use t.GetAlsDelay() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AlsDelay == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config) GetAutoNegotiate

GetAutoNegotiate retrieves the value of the leaf AutoNegotiate from the OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AutoNegotiate is set, it can safely use t.GetAutoNegotiate() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AutoNegotiate == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config) GetClientAls

GetClientAls retrieves the value of the leaf ClientAls from the OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ClientAls is set, it can safely use t.GetClientAls() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ClientAls == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config) GetClientFec

GetClientFec retrieves the value of the leaf ClientFec from the OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ClientFec is set, it can safely use t.GetClientFec() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ClientFec == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config) GetDuplexMode

GetDuplexMode retrieves the value of the leaf DuplexMode from the OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if DuplexMode is set, it can safely use t.GetDuplexMode() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.DuplexMode == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config) GetEnableFlowControl

GetEnableFlowControl retrieves the value of the leaf EnableFlowControl from the OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if EnableFlowControl is set, it can safely use t.GetEnableFlowControl() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.EnableFlowControl == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config) GetMacAddress

GetMacAddress retrieves the value of the leaf MacAddress from the OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MacAddress is set, it can safely use t.GetMacAddress() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MacAddress == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config) GetPortSpeed

GetPortSpeed retrieves the value of the leaf PortSpeed from the OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if PortSpeed is set, it can safely use t.GetPortSpeed() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.PortSpeed == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config) IsYANGGoStruct

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

func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config) Validate

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

func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config) ΛEnumTypeMap

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

type OpenconfigInterfaces_Interfaces_Interface_Ethernet_State

type OpenconfigInterfaces_Interfaces_Interface_Ethernet_State struct {
	ΛMetadata             []ygot.Annotation                                                               `path:"@" ygotAnnotation:"true"`
	AutoNegotiate         *bool                                                                           `path:"auto-negotiate" module:"openconfig-if-ethernet"`
	ΛAutoNegotiate        []ygot.Annotation                                                               `path:"@auto-negotiate" ygotAnnotation:"true"`
	Counters              *OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters              `path:"counters" module:"openconfig-if-ethernet"`
	ΛCounters             []ygot.Annotation                                                               `path:"@counters" ygotAnnotation:"true"`
	DuplexMode            E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_Config_DuplexMode          `path:"duplex-mode" module:"openconfig-if-ethernet"`
	ΛDuplexMode           []ygot.Annotation                                                               `path:"@duplex-mode" ygotAnnotation:"true"`
	EnableFlowControl     *bool                                                                           `path:"enable-flow-control" module:"openconfig-if-ethernet"`
	ΛEnableFlowControl    []ygot.Annotation                                                               `path:"@enable-flow-control" ygotAnnotation:"true"`
	HwMacAddress          *string                                                                         `path:"hw-mac-address" module:"openconfig-if-ethernet"`
	ΛHwMacAddress         []ygot.Annotation                                                               `path:"@hw-mac-address" ygotAnnotation:"true"`
	MacAddress            *string                                                                         `path:"mac-address" module:"openconfig-if-ethernet"`
	ΛMacAddress           []ygot.Annotation                                                               `path:"@mac-address" ygotAnnotation:"true"`
	NegotiatedDuplexMode  E_OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_NegotiatedDuplexMode `path:"negotiated-duplex-mode" module:"openconfig-if-ethernet"`
	ΛNegotiatedDuplexMode []ygot.Annotation                                                               `path:"@negotiated-duplex-mode" ygotAnnotation:"true"`
	NegotiatedPortSpeed   E_OpenconfigIfEthernet_ETHERNET_SPEED                                           `path:"negotiated-port-speed" module:"openconfig-if-ethernet"`
	ΛNegotiatedPortSpeed  []ygot.Annotation                                                               `path:"@negotiated-port-speed" ygotAnnotation:"true"`
	PortSpeed             E_OpenconfigIfEthernet_ETHERNET_SPEED                                           `path:"port-speed" module:"openconfig-if-ethernet"`
	ΛPortSpeed            []ygot.Annotation                                                               `path:"@port-speed" ygotAnnotation:"true"`
}

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

func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_State) GetAutoNegotiate

GetAutoNegotiate retrieves the value of the leaf AutoNegotiate from the OpenconfigInterfaces_Interfaces_Interface_Ethernet_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AutoNegotiate is set, it can safely use t.GetAutoNegotiate() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AutoNegotiate == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_State) GetCounters

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

func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_State) GetDuplexMode

GetDuplexMode retrieves the value of the leaf DuplexMode from the OpenconfigInterfaces_Interfaces_Interface_Ethernet_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if DuplexMode is set, it can safely use t.GetDuplexMode() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.DuplexMode == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_State) GetEnableFlowControl

GetEnableFlowControl retrieves the value of the leaf EnableFlowControl from the OpenconfigInterfaces_Interfaces_Interface_Ethernet_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if EnableFlowControl is set, it can safely use t.GetEnableFlowControl() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.EnableFlowControl == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_State) GetHwMacAddress

GetHwMacAddress retrieves the value of the leaf HwMacAddress from the OpenconfigInterfaces_Interfaces_Interface_Ethernet_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if HwMacAddress is set, it can safely use t.GetHwMacAddress() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.HwMacAddress == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_State) GetMacAddress

GetMacAddress retrieves the value of the leaf MacAddress from the OpenconfigInterfaces_Interfaces_Interface_Ethernet_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MacAddress is set, it can safely use t.GetMacAddress() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MacAddress == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_State) GetNegotiatedDuplexMode

GetNegotiatedDuplexMode retrieves the value of the leaf NegotiatedDuplexMode from the OpenconfigInterfaces_Interfaces_Interface_Ethernet_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if NegotiatedDuplexMode is set, it can safely use t.GetNegotiatedDuplexMode() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.NegotiatedDuplexMode == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_State) GetNegotiatedPortSpeed

GetNegotiatedPortSpeed retrieves the value of the leaf NegotiatedPortSpeed from the OpenconfigInterfaces_Interfaces_Interface_Ethernet_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if NegotiatedPortSpeed is set, it can safely use t.GetNegotiatedPortSpeed() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.NegotiatedPortSpeed == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_State) GetOrCreateCounters

GetOrCreateCounters retrieves the value of the Counters field or returns the existing field if it already exists.

func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_State) GetPortSpeed

GetPortSpeed retrieves the value of the leaf PortSpeed from the OpenconfigInterfaces_Interfaces_Interface_Ethernet_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if PortSpeed is set, it can safely use t.GetPortSpeed() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.PortSpeed == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_State) IsYANGGoStruct

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

func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_State) Validate

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

func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_State) ΛEnumTypeMap

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

type OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters

type OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters struct {
	ΛMetadata            []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	In_8021QFrames       *uint64           `path:"in-8021q-frames" module:"openconfig-if-ethernet"`
	ΛIn_8021QFrames      []ygot.Annotation `path:"@in-8021q-frames" ygotAnnotation:"true"`
	InBlockErrors        *uint64           `path:"in-block-errors" module:"openconfig-if-ethernet"`
	ΛInBlockErrors       []ygot.Annotation `path:"@in-block-errors" ygotAnnotation:"true"`
	InCrcErrors          *uint64           `path:"in-crc-errors" module:"openconfig-if-ethernet"`
	ΛInCrcErrors         []ygot.Annotation `path:"@in-crc-errors" ygotAnnotation:"true"`
	InFragmentFrames     *uint64           `path:"in-fragment-frames" module:"openconfig-if-ethernet"`
	ΛInFragmentFrames    []ygot.Annotation `path:"@in-fragment-frames" ygotAnnotation:"true"`
	InJabberFrames       *uint64           `path:"in-jabber-frames" module:"openconfig-if-ethernet"`
	ΛInJabberFrames      []ygot.Annotation `path:"@in-jabber-frames" ygotAnnotation:"true"`
	InMacControlFrames   *uint64           `path:"in-mac-control-frames" module:"openconfig-if-ethernet"`
	ΛInMacControlFrames  []ygot.Annotation `path:"@in-mac-control-frames" ygotAnnotation:"true"`
	InMacPauseFrames     *uint64           `path:"in-mac-pause-frames" module:"openconfig-if-ethernet"`
	ΛInMacPauseFrames    []ygot.Annotation `path:"@in-mac-pause-frames" ygotAnnotation:"true"`
	InOversizeFrames     *uint64           `path:"in-oversize-frames" module:"openconfig-if-ethernet"`
	ΛInOversizeFrames    []ygot.Annotation `path:"@in-oversize-frames" ygotAnnotation:"true"`
	InUndersizeFrames    *uint64           `path:"in-undersize-frames" module:"openconfig-if-ethernet"`
	ΛInUndersizeFrames   []ygot.Annotation `path:"@in-undersize-frames" ygotAnnotation:"true"`
	Out_8021QFrames      *uint64           `path:"out-8021q-frames" module:"openconfig-if-ethernet"`
	ΛOut_8021QFrames     []ygot.Annotation `path:"@out-8021q-frames" ygotAnnotation:"true"`
	OutMacControlFrames  *uint64           `path:"out-mac-control-frames" module:"openconfig-if-ethernet"`
	ΛOutMacControlFrames []ygot.Annotation `path:"@out-mac-control-frames" ygotAnnotation:"true"`
	OutMacPauseFrames    *uint64           `path:"out-mac-pause-frames" module:"openconfig-if-ethernet"`
	ΛOutMacPauseFrames   []ygot.Annotation `path:"@out-mac-pause-frames" ygotAnnotation:"true"`
}

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

func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters) GetInBlockErrors

GetInBlockErrors retrieves the value of the leaf InBlockErrors from the OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InBlockErrors is set, it can safely use t.GetInBlockErrors() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InBlockErrors == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters) GetInCrcErrors

GetInCrcErrors retrieves the value of the leaf InCrcErrors from the OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InCrcErrors is set, it can safely use t.GetInCrcErrors() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InCrcErrors == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters) GetInFragmentFrames

GetInFragmentFrames retrieves the value of the leaf InFragmentFrames from the OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InFragmentFrames is set, it can safely use t.GetInFragmentFrames() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InFragmentFrames == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters) GetInJabberFrames

GetInJabberFrames retrieves the value of the leaf InJabberFrames from the OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InJabberFrames is set, it can safely use t.GetInJabberFrames() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InJabberFrames == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters) GetInMacControlFrames

GetInMacControlFrames retrieves the value of the leaf InMacControlFrames from the OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InMacControlFrames is set, it can safely use t.GetInMacControlFrames() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InMacControlFrames == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters) GetInMacPauseFrames

GetInMacPauseFrames retrieves the value of the leaf InMacPauseFrames from the OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InMacPauseFrames is set, it can safely use t.GetInMacPauseFrames() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InMacPauseFrames == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters) GetInOversizeFrames

GetInOversizeFrames retrieves the value of the leaf InOversizeFrames from the OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InOversizeFrames is set, it can safely use t.GetInOversizeFrames() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InOversizeFrames == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters) GetInUndersizeFrames

GetInUndersizeFrames retrieves the value of the leaf InUndersizeFrames from the OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InUndersizeFrames is set, it can safely use t.GetInUndersizeFrames() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InUndersizeFrames == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters) GetIn_8021QFrames

GetIn_8021QFrames retrieves the value of the leaf In_8021QFrames from the OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if In_8021QFrames is set, it can safely use t.GetIn_8021QFrames() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.In_8021QFrames == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters) GetOutMacControlFrames

GetOutMacControlFrames retrieves the value of the leaf OutMacControlFrames from the OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutMacControlFrames is set, it can safely use t.GetOutMacControlFrames() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutMacControlFrames == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters) GetOutMacPauseFrames

GetOutMacPauseFrames retrieves the value of the leaf OutMacPauseFrames from the OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutMacPauseFrames is set, it can safely use t.GetOutMacPauseFrames() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutMacPauseFrames == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters) GetOut_8021QFrames

GetOut_8021QFrames retrieves the value of the leaf Out_8021QFrames from the OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Out_8021QFrames is set, it can safely use t.GetOut_8021QFrames() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Out_8021QFrames == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters) IsYANGGoStruct

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

func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters) Validate

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

func (*OpenconfigInterfaces_Interfaces_Interface_Ethernet_State_Counters) ΛEnumTypeMap

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

type OpenconfigInterfaces_Interfaces_Interface_HoldTime

type OpenconfigInterfaces_Interfaces_Interface_HoldTime struct {
	ΛMetadata []ygot.Annotation                                          `path:"@" ygotAnnotation:"true"`
	Config    *OpenconfigInterfaces_Interfaces_Interface_HoldTime_Config `path:"config" module:"openconfig-interfaces"`
	ΛConfig   []ygot.Annotation                                          `path:"@config" ygotAnnotation:"true"`
	State     *OpenconfigInterfaces_Interfaces_Interface_HoldTime_State  `path:"state" module:"openconfig-interfaces"`
	ΛState    []ygot.Annotation                                          `path:"@state" ygotAnnotation:"true"`
}

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

func (*OpenconfigInterfaces_Interfaces_Interface_HoldTime) GetConfig

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

func (*OpenconfigInterfaces_Interfaces_Interface_HoldTime) GetOrCreateConfig

GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.

func (*OpenconfigInterfaces_Interfaces_Interface_HoldTime) GetOrCreateState

GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.

func (*OpenconfigInterfaces_Interfaces_Interface_HoldTime) GetState

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

func (*OpenconfigInterfaces_Interfaces_Interface_HoldTime) IsYANGGoStruct

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

func (*OpenconfigInterfaces_Interfaces_Interface_HoldTime) Validate

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

func (*OpenconfigInterfaces_Interfaces_Interface_HoldTime) ΛEnumTypeMap

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

type OpenconfigInterfaces_Interfaces_Interface_HoldTime_Config

type OpenconfigInterfaces_Interfaces_Interface_HoldTime_Config struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Down      *uint32           `path:"down" module:"openconfig-interfaces"`
	ΛDown     []ygot.Annotation `path:"@down" ygotAnnotation:"true"`
	Up        *uint32           `path:"up" module:"openconfig-interfaces"`
	ΛUp       []ygot.Annotation `path:"@up" ygotAnnotation:"true"`
}

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

func (*OpenconfigInterfaces_Interfaces_Interface_HoldTime_Config) GetDown

GetDown retrieves the value of the leaf Down from the OpenconfigInterfaces_Interfaces_Interface_HoldTime_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Down is set, it can safely use t.GetDown() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Down == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_HoldTime_Config) GetUp

GetUp retrieves the value of the leaf Up from the OpenconfigInterfaces_Interfaces_Interface_HoldTime_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Up is set, it can safely use t.GetUp() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Up == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_HoldTime_Config) IsYANGGoStruct

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

func (*OpenconfigInterfaces_Interfaces_Interface_HoldTime_Config) Validate

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

func (*OpenconfigInterfaces_Interfaces_Interface_HoldTime_Config) ΛEnumTypeMap

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

type OpenconfigInterfaces_Interfaces_Interface_HoldTime_State

type OpenconfigInterfaces_Interfaces_Interface_HoldTime_State struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Down      *uint32           `path:"down" module:"openconfig-interfaces"`
	ΛDown     []ygot.Annotation `path:"@down" ygotAnnotation:"true"`
	Up        *uint32           `path:"up" module:"openconfig-interfaces"`
	ΛUp       []ygot.Annotation `path:"@up" ygotAnnotation:"true"`
}

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

func (*OpenconfigInterfaces_Interfaces_Interface_HoldTime_State) GetDown

GetDown retrieves the value of the leaf Down from the OpenconfigInterfaces_Interfaces_Interface_HoldTime_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Down is set, it can safely use t.GetDown() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Down == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_HoldTime_State) GetUp

GetUp retrieves the value of the leaf Up from the OpenconfigInterfaces_Interfaces_Interface_HoldTime_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Up is set, it can safely use t.GetUp() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Up == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_HoldTime_State) IsYANGGoStruct

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

func (*OpenconfigInterfaces_Interfaces_Interface_HoldTime_State) Validate

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

func (*OpenconfigInterfaces_Interfaces_Interface_HoldTime_State) ΛEnumTypeMap

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

type OpenconfigInterfaces_Interfaces_Interface_State

type OpenconfigInterfaces_Interfaces_Interface_State struct {
	ΛMetadata        []ygot.Annotation                                             `path:"@" ygotAnnotation:"true"`
	AdminStatus      E_OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus `path:"admin-status" module:"openconfig-interfaces"`
	ΛAdminStatus     []ygot.Annotation                                             `path:"@admin-status" ygotAnnotation:"true"`
	Counters         *OpenconfigInterfaces_Interfaces_Interface_State_Counters     `path:"counters" module:"openconfig-interfaces"`
	ΛCounters        []ygot.Annotation                                             `path:"@counters" ygotAnnotation:"true"`
	Description      *string                                                       `path:"description" module:"openconfig-interfaces"`
	ΛDescription     []ygot.Annotation                                             `path:"@description" ygotAnnotation:"true"`
	Enabled          *bool                                                         `path:"enabled" module:"openconfig-interfaces"`
	ΛEnabled         []ygot.Annotation                                             `path:"@enabled" ygotAnnotation:"true"`
	HardwarePort     *string                                                       `path:"hardware-port" module:"openconfig-platform-port"`
	ΛHardwarePort    []ygot.Annotation                                             `path:"@hardware-port" ygotAnnotation:"true"`
	Ifindex          *uint32                                                       `path:"ifindex" module:"openconfig-interfaces"`
	ΛIfindex         []ygot.Annotation                                             `path:"@ifindex" ygotAnnotation:"true"`
	LastChange       *uint64                                                       `path:"last-change" module:"openconfig-interfaces"`
	ΛLastChange      []ygot.Annotation                                             `path:"@last-change" ygotAnnotation:"true"`
	Logical          *bool                                                         `path:"logical" module:"openconfig-interfaces"`
	ΛLogical         []ygot.Annotation                                             `path:"@logical" ygotAnnotation:"true"`
	LoopbackMode     *bool                                                         `path:"loopback-mode" module:"openconfig-interfaces"`
	ΛLoopbackMode    []ygot.Annotation                                             `path:"@loopback-mode" ygotAnnotation:"true"`
	Mtu              *uint16                                                       `path:"mtu" module:"openconfig-interfaces"`
	ΛMtu             []ygot.Annotation                                             `path:"@mtu" ygotAnnotation:"true"`
	Name             *string                                                       `path:"name" module:"openconfig-interfaces"`
	ΛName            []ygot.Annotation                                             `path:"@name" ygotAnnotation:"true"`
	OperStatus       E_OpenconfigInterfaces_Interfaces_Interface_State_OperStatus  `path:"oper-status" module:"openconfig-interfaces"`
	ΛOperStatus      []ygot.Annotation                                             `path:"@oper-status" ygotAnnotation:"true"`
	PhysicalChannel  []uint16                                                      `path:"physical-channel" module:"openconfig-platform-transceiver"`
	ΛPhysicalChannel []ygot.Annotation                                             `path:"@physical-channel" ygotAnnotation:"true"`
	Transceiver      *string                                                       `path:"transceiver" module:"openconfig-platform-transceiver"`
	ΛTransceiver     []ygot.Annotation                                             `path:"@transceiver" ygotAnnotation:"true"`
	Type             E_IETFInterfaces_InterfaceType                                `path:"type" module:"openconfig-interfaces"`
	ΛType            []ygot.Annotation                                             `path:"@type" ygotAnnotation:"true"`
}

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

func (*OpenconfigInterfaces_Interfaces_Interface_State) GetAdminStatus

GetAdminStatus retrieves the value of the leaf AdminStatus from the OpenconfigInterfaces_Interfaces_Interface_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AdminStatus is set, it can safely use t.GetAdminStatus() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AdminStatus == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_State) GetCounters

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

func (*OpenconfigInterfaces_Interfaces_Interface_State) GetDescription

GetDescription retrieves the value of the leaf Description from the OpenconfigInterfaces_Interfaces_Interface_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Description is set, it can safely use t.GetDescription() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Description == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_State) GetEnabled

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

func (*OpenconfigInterfaces_Interfaces_Interface_State) GetHardwarePort

GetHardwarePort retrieves the value of the leaf HardwarePort from the OpenconfigInterfaces_Interfaces_Interface_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if HardwarePort is set, it can safely use t.GetHardwarePort() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.HardwarePort == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_State) GetIfindex

GetIfindex retrieves the value of the leaf Ifindex from the OpenconfigInterfaces_Interfaces_Interface_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Ifindex is set, it can safely use t.GetIfindex() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Ifindex == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_State) GetLastChange

GetLastChange retrieves the value of the leaf LastChange from the OpenconfigInterfaces_Interfaces_Interface_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LastChange is set, it can safely use t.GetLastChange() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LastChange == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_State) GetLogical

GetLogical retrieves the value of the leaf Logical from the OpenconfigInterfaces_Interfaces_Interface_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Logical is set, it can safely use t.GetLogical() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Logical == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_State) GetLoopbackMode

GetLoopbackMode retrieves the value of the leaf LoopbackMode from the OpenconfigInterfaces_Interfaces_Interface_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LoopbackMode is set, it can safely use t.GetLoopbackMode() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LoopbackMode == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_State) GetMtu

GetMtu retrieves the value of the leaf Mtu from the OpenconfigInterfaces_Interfaces_Interface_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Mtu is set, it can safely use t.GetMtu() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Mtu == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_State) GetName

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

func (*OpenconfigInterfaces_Interfaces_Interface_State) GetOperStatus

GetOperStatus retrieves the value of the leaf OperStatus from the OpenconfigInterfaces_Interfaces_Interface_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OperStatus is set, it can safely use t.GetOperStatus() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OperStatus == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_State) GetOrCreateCounters

GetOrCreateCounters retrieves the value of the Counters field or returns the existing field if it already exists.

func (*OpenconfigInterfaces_Interfaces_Interface_State) GetPhysicalChannel

func (t *OpenconfigInterfaces_Interfaces_Interface_State) GetPhysicalChannel() []uint16

GetPhysicalChannel retrieves the value of the leaf PhysicalChannel from the OpenconfigInterfaces_Interfaces_Interface_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if PhysicalChannel is set, it can safely use t.GetPhysicalChannel() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.PhysicalChannel == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_State) GetTransceiver

GetTransceiver retrieves the value of the leaf Transceiver from the OpenconfigInterfaces_Interfaces_Interface_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Transceiver is set, it can safely use t.GetTransceiver() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Transceiver == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_State) GetType

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

func (*OpenconfigInterfaces_Interfaces_Interface_State) IsYANGGoStruct

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

func (*OpenconfigInterfaces_Interfaces_Interface_State) Validate

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

func (*OpenconfigInterfaces_Interfaces_Interface_State) ΛEnumTypeMap

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

type OpenconfigInterfaces_Interfaces_Interface_State_Counters

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

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

func (*OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetCarrierTransitions

GetCarrierTransitions retrieves the value of the leaf CarrierTransitions from the OpenconfigInterfaces_Interfaces_Interface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if CarrierTransitions is set, it can safely use t.GetCarrierTransitions() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.CarrierTransitions == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetInBroadcastPkts

GetInBroadcastPkts retrieves the value of the leaf InBroadcastPkts from the OpenconfigInterfaces_Interfaces_Interface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InBroadcastPkts is set, it can safely use t.GetInBroadcastPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InBroadcastPkts == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetInDiscards

GetInDiscards retrieves the value of the leaf InDiscards from the OpenconfigInterfaces_Interfaces_Interface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InDiscards is set, it can safely use t.GetInDiscards() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InDiscards == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetInErrors

GetInErrors retrieves the value of the leaf InErrors from the OpenconfigInterfaces_Interfaces_Interface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InErrors is set, it can safely use t.GetInErrors() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InErrors == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetInFcsErrors

GetInFcsErrors retrieves the value of the leaf InFcsErrors from the OpenconfigInterfaces_Interfaces_Interface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InFcsErrors is set, it can safely use t.GetInFcsErrors() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InFcsErrors == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetInMulticastPkts

GetInMulticastPkts retrieves the value of the leaf InMulticastPkts from the OpenconfigInterfaces_Interfaces_Interface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InMulticastPkts is set, it can safely use t.GetInMulticastPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InMulticastPkts == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetInOctets

GetInOctets retrieves the value of the leaf InOctets from the OpenconfigInterfaces_Interfaces_Interface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InOctets is set, it can safely use t.GetInOctets() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InOctets == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetInPkts

GetInPkts retrieves the value of the leaf InPkts from the OpenconfigInterfaces_Interfaces_Interface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InPkts is set, it can safely use t.GetInPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InPkts == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetInUnicastPkts

GetInUnicastPkts retrieves the value of the leaf InUnicastPkts from the OpenconfigInterfaces_Interfaces_Interface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InUnicastPkts is set, it can safely use t.GetInUnicastPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InUnicastPkts == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetInUnknownProtos

GetInUnknownProtos retrieves the value of the leaf InUnknownProtos from the OpenconfigInterfaces_Interfaces_Interface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InUnknownProtos is set, it can safely use t.GetInUnknownProtos() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InUnknownProtos == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetLastClear

GetLastClear retrieves the value of the leaf LastClear from the OpenconfigInterfaces_Interfaces_Interface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LastClear is set, it can safely use t.GetLastClear() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LastClear == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetOutBroadcastPkts

GetOutBroadcastPkts retrieves the value of the leaf OutBroadcastPkts from the OpenconfigInterfaces_Interfaces_Interface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutBroadcastPkts is set, it can safely use t.GetOutBroadcastPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutBroadcastPkts == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetOutDiscards

GetOutDiscards retrieves the value of the leaf OutDiscards from the OpenconfigInterfaces_Interfaces_Interface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutDiscards is set, it can safely use t.GetOutDiscards() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutDiscards == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetOutErrors

GetOutErrors retrieves the value of the leaf OutErrors from the OpenconfigInterfaces_Interfaces_Interface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutErrors is set, it can safely use t.GetOutErrors() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutErrors == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetOutMulticastPkts

GetOutMulticastPkts retrieves the value of the leaf OutMulticastPkts from the OpenconfigInterfaces_Interfaces_Interface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutMulticastPkts is set, it can safely use t.GetOutMulticastPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutMulticastPkts == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetOutOctets

GetOutOctets retrieves the value of the leaf OutOctets from the OpenconfigInterfaces_Interfaces_Interface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutOctets is set, it can safely use t.GetOutOctets() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutOctets == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetOutPkts

GetOutPkts retrieves the value of the leaf OutPkts from the OpenconfigInterfaces_Interfaces_Interface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutPkts is set, it can safely use t.GetOutPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutPkts == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_State_Counters) GetOutUnicastPkts

GetOutUnicastPkts retrieves the value of the leaf OutUnicastPkts from the OpenconfigInterfaces_Interfaces_Interface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutUnicastPkts is set, it can safely use t.GetOutUnicastPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutUnicastPkts == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_State_Counters) IsYANGGoStruct

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

func (*OpenconfigInterfaces_Interfaces_Interface_State_Counters) Validate

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

func (*OpenconfigInterfaces_Interfaces_Interface_State_Counters) ΛEnumTypeMap

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

type OpenconfigInterfaces_Interfaces_Interface_Subinterfaces

type OpenconfigInterfaces_Interfaces_Interface_Subinterfaces struct {
	ΛMetadata     []ygot.Annotation                                                                `path:"@" ygotAnnotation:"true"`
	Subinterface  map[uint32]*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface `path:"subinterface" module:"openconfig-interfaces"`
	ΛSubinterface []ygot.Annotation                                                                `path:"@subinterface" ygotAnnotation:"true"`
}

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

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces) AppendSubinterface

AppendSubinterface appends the supplied OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface struct to the list Subinterface of OpenconfigInterfaces_Interfaces_Interface_Subinterfaces. If the key value(s) specified in the supplied OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface already exist in the list, an error is returned.

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces) GetOrCreateSubinterface

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

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces) GetSubinterface

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

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces) IsYANGGoStruct

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

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces) NewSubinterface

NewSubinterface creates a new entry in the Subinterface list of the OpenconfigInterfaces_Interfaces_Interface_Subinterfaces struct. The keys of the list are populated from the input arguments.

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces) RenameSubinterface

func (t *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces) RenameSubinterface(oldK, newK uint32) error

RenameSubinterface renames an entry in the list Subinterface within the OpenconfigInterfaces_Interfaces_Interface_Subinterfaces struct. The entry with key oldK is renamed to newK updating the key within the value.

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces) Validate

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

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces) ΛEnumTypeMap

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

type OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface

type OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface struct {
	ΛMetadata []ygot.Annotation                                                            `path:"@" ygotAnnotation:"true"`
	Config    *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_Config `path:"config" module:"openconfig-interfaces"`
	ΛConfig   []ygot.Annotation                                                            `path:"@config" ygotAnnotation:"true"`
	Index     *uint32                                                                      `path:"index" module:"openconfig-interfaces"`
	ΛIndex    []ygot.Annotation                                                            `path:"@index" ygotAnnotation:"true"`
	State     *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State  `path:"state" module:"openconfig-interfaces"`
	ΛState    []ygot.Annotation                                                            `path:"@state" ygotAnnotation:"true"`
}

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

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface) GetConfig

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

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface) GetIndex

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

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface) GetOrCreateConfig

GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface) GetOrCreateState

GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface) GetState

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

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface) IsYANGGoStruct

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

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface) Validate

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

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface) ΛEnumTypeMap

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

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface) ΛListKeyMap

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

type OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_Config

type OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_Config struct {
	ΛMetadata    []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Description  *string           `path:"description" module:"openconfig-interfaces"`
	ΛDescription []ygot.Annotation `path:"@description" ygotAnnotation:"true"`
	Enabled      *bool             `path:"enabled" module:"openconfig-interfaces"`
	ΛEnabled     []ygot.Annotation `path:"@enabled" ygotAnnotation:"true"`
	Index        *uint32           `path:"index" module:"openconfig-interfaces"`
	ΛIndex       []ygot.Annotation `path:"@index" ygotAnnotation:"true"`
}

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

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_Config) GetDescription

GetDescription retrieves the value of the leaf Description from the OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Description is set, it can safely use t.GetDescription() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Description == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_Config) GetEnabled

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

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_Config) GetIndex

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

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_Config) IsYANGGoStruct

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

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_Config) Validate

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

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_Config) ΛEnumTypeMap

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

type OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State

type OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State struct {
	ΛMetadata    []ygot.Annotation                                                                    `path:"@" ygotAnnotation:"true"`
	AdminStatus  E_OpenconfigInterfaces_Interfaces_Interface_State_AdminStatus                        `path:"admin-status" module:"openconfig-interfaces"`
	ΛAdminStatus []ygot.Annotation                                                                    `path:"@admin-status" ygotAnnotation:"true"`
	Counters     *OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters `path:"counters" module:"openconfig-interfaces"`
	ΛCounters    []ygot.Annotation                                                                    `path:"@counters" ygotAnnotation:"true"`
	Description  *string                                                                              `path:"description" module:"openconfig-interfaces"`
	ΛDescription []ygot.Annotation                                                                    `path:"@description" ygotAnnotation:"true"`
	Enabled      *bool                                                                                `path:"enabled" module:"openconfig-interfaces"`
	ΛEnabled     []ygot.Annotation                                                                    `path:"@enabled" ygotAnnotation:"true"`
	Ifindex      *uint32                                                                              `path:"ifindex" module:"openconfig-interfaces"`
	ΛIfindex     []ygot.Annotation                                                                    `path:"@ifindex" ygotAnnotation:"true"`
	Index        *uint32                                                                              `path:"index" module:"openconfig-interfaces"`
	ΛIndex       []ygot.Annotation                                                                    `path:"@index" ygotAnnotation:"true"`
	LastChange   *uint64                                                                              `path:"last-change" module:"openconfig-interfaces"`
	ΛLastChange  []ygot.Annotation                                                                    `path:"@last-change" ygotAnnotation:"true"`
	Logical      *bool                                                                                `path:"logical" module:"openconfig-interfaces"`
	ΛLogical     []ygot.Annotation                                                                    `path:"@logical" ygotAnnotation:"true"`
	Name         *string                                                                              `path:"name" module:"openconfig-interfaces"`
	ΛName        []ygot.Annotation                                                                    `path:"@name" ygotAnnotation:"true"`
	OperStatus   E_OpenconfigInterfaces_Interfaces_Interface_State_OperStatus                         `path:"oper-status" module:"openconfig-interfaces"`
	ΛOperStatus  []ygot.Annotation                                                                    `path:"@oper-status" ygotAnnotation:"true"`
}

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

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State) GetAdminStatus

GetAdminStatus retrieves the value of the leaf AdminStatus from the OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AdminStatus is set, it can safely use t.GetAdminStatus() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AdminStatus == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State) GetCounters

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

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State) GetDescription

GetDescription retrieves the value of the leaf Description from the OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Description is set, it can safely use t.GetDescription() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Description == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State) GetEnabled

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

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State) GetIfindex

GetIfindex retrieves the value of the leaf Ifindex from the OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Ifindex is set, it can safely use t.GetIfindex() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Ifindex == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State) GetIndex

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

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State) GetLastChange

GetLastChange retrieves the value of the leaf LastChange from the OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LastChange is set, it can safely use t.GetLastChange() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LastChange == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State) GetLogical

GetLogical retrieves the value of the leaf Logical from the OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Logical is set, it can safely use t.GetLogical() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Logical == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State) GetName

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

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State) GetOperStatus

GetOperStatus retrieves the value of the leaf OperStatus from the OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OperStatus is set, it can safely use t.GetOperStatus() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OperStatus == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State) GetOrCreateCounters

GetOrCreateCounters retrieves the value of the Counters field or returns the existing field if it already exists.

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State) IsYANGGoStruct

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

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State) Validate

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

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State) ΛEnumTypeMap

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

type OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters

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

OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters represents the /openconfig-interfaces/interfaces/interface/subinterfaces/subinterface/state/counters YANG schema element.

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetCarrierTransitions

GetCarrierTransitions retrieves the value of the leaf CarrierTransitions from the OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if CarrierTransitions is set, it can safely use t.GetCarrierTransitions() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.CarrierTransitions == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetInBroadcastPkts

GetInBroadcastPkts retrieves the value of the leaf InBroadcastPkts from the OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InBroadcastPkts is set, it can safely use t.GetInBroadcastPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InBroadcastPkts == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetInDiscards

GetInDiscards retrieves the value of the leaf InDiscards from the OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InDiscards is set, it can safely use t.GetInDiscards() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InDiscards == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetInErrors

GetInErrors retrieves the value of the leaf InErrors from the OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InErrors is set, it can safely use t.GetInErrors() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InErrors == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetInFcsErrors

GetInFcsErrors retrieves the value of the leaf InFcsErrors from the OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InFcsErrors is set, it can safely use t.GetInFcsErrors() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InFcsErrors == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetInMulticastPkts

GetInMulticastPkts retrieves the value of the leaf InMulticastPkts from the OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InMulticastPkts is set, it can safely use t.GetInMulticastPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InMulticastPkts == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetInOctets

GetInOctets retrieves the value of the leaf InOctets from the OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InOctets is set, it can safely use t.GetInOctets() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InOctets == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetInPkts

GetInPkts retrieves the value of the leaf InPkts from the OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InPkts is set, it can safely use t.GetInPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InPkts == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetInUnicastPkts

GetInUnicastPkts retrieves the value of the leaf InUnicastPkts from the OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InUnicastPkts is set, it can safely use t.GetInUnicastPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InUnicastPkts == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetInUnknownProtos

GetInUnknownProtos retrieves the value of the leaf InUnknownProtos from the OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InUnknownProtos is set, it can safely use t.GetInUnknownProtos() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InUnknownProtos == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetLastClear

GetLastClear retrieves the value of the leaf LastClear from the OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LastClear is set, it can safely use t.GetLastClear() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LastClear == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetOutBroadcastPkts

GetOutBroadcastPkts retrieves the value of the leaf OutBroadcastPkts from the OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutBroadcastPkts is set, it can safely use t.GetOutBroadcastPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutBroadcastPkts == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetOutDiscards

GetOutDiscards retrieves the value of the leaf OutDiscards from the OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutDiscards is set, it can safely use t.GetOutDiscards() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutDiscards == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetOutErrors

GetOutErrors retrieves the value of the leaf OutErrors from the OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutErrors is set, it can safely use t.GetOutErrors() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutErrors == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetOutMulticastPkts

GetOutMulticastPkts retrieves the value of the leaf OutMulticastPkts from the OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutMulticastPkts is set, it can safely use t.GetOutMulticastPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutMulticastPkts == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetOutOctets

GetOutOctets retrieves the value of the leaf OutOctets from the OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutOctets is set, it can safely use t.GetOutOctets() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutOctets == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetOutPkts

GetOutPkts retrieves the value of the leaf OutPkts from the OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutPkts is set, it can safely use t.GetOutPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutPkts == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) GetOutUnicastPkts

GetOutUnicastPkts retrieves the value of the leaf OutUnicastPkts from the OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutUnicastPkts is set, it can safely use t.GetOutUnicastPkts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutUnicastPkts == nil' before retrieving the leaf's value.

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) IsYANGGoStruct

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

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) Validate

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

func (*OpenconfigInterfaces_Interfaces_Interface_Subinterfaces_Subinterface_State_Counters) ΛEnumTypeMap

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

type OpenconfigLldp_Lldp

type OpenconfigLldp_Lldp struct {
	ΛMetadata   []ygot.Annotation               `path:"@" ygotAnnotation:"true"`
	Config      *OpenconfigLldp_Lldp_Config     `path:"config" module:"openconfig-lldp"`
	ΛConfig     []ygot.Annotation               `path:"@config" ygotAnnotation:"true"`
	Interfaces  *OpenconfigLldp_Lldp_Interfaces `path:"interfaces" module:"openconfig-lldp"`
	ΛInterfaces []ygot.Annotation               `path:"@interfaces" ygotAnnotation:"true"`
	State       *OpenconfigLldp_Lldp_State      `path:"state" module:"openconfig-lldp"`
	ΛState      []ygot.Annotation               `path:"@state" ygotAnnotation:"true"`
}

OpenconfigLldp_Lldp represents the /openconfig-lldp/lldp YANG schema element.

func (*OpenconfigLldp_Lldp) GetConfig

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

func (*OpenconfigLldp_Lldp) GetInterfaces

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

func (*OpenconfigLldp_Lldp) GetOrCreateConfig

func (t *OpenconfigLldp_Lldp) GetOrCreateConfig() *OpenconfigLldp_Lldp_Config

GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.

func (*OpenconfigLldp_Lldp) GetOrCreateInterfaces

func (t *OpenconfigLldp_Lldp) GetOrCreateInterfaces() *OpenconfigLldp_Lldp_Interfaces

GetOrCreateInterfaces retrieves the value of the Interfaces field or returns the existing field if it already exists.

func (*OpenconfigLldp_Lldp) GetOrCreateState

func (t *OpenconfigLldp_Lldp) GetOrCreateState() *OpenconfigLldp_Lldp_State

GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.

func (*OpenconfigLldp_Lldp) GetState

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

func (*OpenconfigLldp_Lldp) IsYANGGoStruct

func (*OpenconfigLldp_Lldp) IsYANGGoStruct()

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

func (*OpenconfigLldp_Lldp) Validate

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

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

func (*OpenconfigLldp_Lldp) ΛEnumTypeMap

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

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

type OpenconfigLldp_Lldp_Config

type OpenconfigLldp_Lldp_Config struct {
	ΛMetadata                 []ygot.Annotation                `path:"@" ygotAnnotation:"true"`
	ChassisId                 *string                          `path:"chassis-id" module:"openconfig-lldp"`
	ΛChassisId                []ygot.Annotation                `path:"@chassis-id" ygotAnnotation:"true"`
	ChassisIdType             E_OpenconfigLldp_ChassisIdType   `path:"chassis-id-type" module:"openconfig-lldp"`
	ΛChassisIdType            []ygot.Annotation                `path:"@chassis-id-type" ygotAnnotation:"true"`
	Enabled                   *bool                            `path:"enabled" module:"openconfig-lldp"`
	ΛEnabled                  []ygot.Annotation                `path:"@enabled" ygotAnnotation:"true"`
	HelloTimer                *uint64                          `path:"hello-timer" module:"openconfig-lldp"`
	ΛHelloTimer               []ygot.Annotation                `path:"@hello-timer" ygotAnnotation:"true"`
	SuppressTlvAdvertisement  []E_OpenconfigLldpTypes_LLDP_TLV `path:"suppress-tlv-advertisement" module:"openconfig-lldp"`
	ΛSuppressTlvAdvertisement []ygot.Annotation                `path:"@suppress-tlv-advertisement" ygotAnnotation:"true"`
	SystemDescription         *string                          `path:"system-description" module:"openconfig-lldp"`
	ΛSystemDescription        []ygot.Annotation                `path:"@system-description" ygotAnnotation:"true"`
	SystemName                *string                          `path:"system-name" module:"openconfig-lldp"`
	ΛSystemName               []ygot.Annotation                `path:"@system-name" ygotAnnotation:"true"`
}

OpenconfigLldp_Lldp_Config represents the /openconfig-lldp/lldp/config YANG schema element.

func (*OpenconfigLldp_Lldp_Config) GetChassisId

func (t *OpenconfigLldp_Lldp_Config) GetChassisId() string

GetChassisId retrieves the value of the leaf ChassisId from the OpenconfigLldp_Lldp_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ChassisId is set, it can safely use t.GetChassisId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ChassisId == nil' before retrieving the leaf's value.

func (*OpenconfigLldp_Lldp_Config) GetChassisIdType

GetChassisIdType retrieves the value of the leaf ChassisIdType from the OpenconfigLldp_Lldp_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ChassisIdType is set, it can safely use t.GetChassisIdType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ChassisIdType == nil' before retrieving the leaf's value.

func (*OpenconfigLldp_Lldp_Config) GetEnabled

func (t *OpenconfigLldp_Lldp_Config) GetEnabled() bool

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

func (*OpenconfigLldp_Lldp_Config) GetHelloTimer

func (t *OpenconfigLldp_Lldp_Config) GetHelloTimer() uint64

GetHelloTimer retrieves the value of the leaf HelloTimer from the OpenconfigLldp_Lldp_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if HelloTimer is set, it can safely use t.GetHelloTimer() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.HelloTimer == nil' before retrieving the leaf's value.

func (*OpenconfigLldp_Lldp_Config) GetSuppressTlvAdvertisement

func (t *OpenconfigLldp_Lldp_Config) GetSuppressTlvAdvertisement() []E_OpenconfigLldpTypes_LLDP_TLV

GetSuppressTlvAdvertisement retrieves the value of the leaf SuppressTlvAdvertisement from the OpenconfigLldp_Lldp_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SuppressTlvAdvertisement is set, it can safely use t.GetSuppressTlvAdvertisement() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SuppressTlvAdvertisement == nil' before retrieving the leaf's value.

func (*OpenconfigLldp_Lldp_Config) GetSystemDescription

func (t *OpenconfigLldp_Lldp_Config) GetSystemDescription() string

GetSystemDescription retrieves the value of the leaf SystemDescription from the OpenconfigLldp_Lldp_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SystemDescription is set, it can safely use t.GetSystemDescription() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SystemDescription == nil' before retrieving the leaf's value.

func (*OpenconfigLldp_Lldp_Config) GetSystemName

func (t *OpenconfigLldp_Lldp_Config) GetSystemName() string

GetSystemName retrieves the value of the leaf SystemName from the OpenconfigLldp_Lldp_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SystemName is set, it can safely use t.GetSystemName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SystemName == nil' before retrieving the leaf's value.

func (*OpenconfigLldp_Lldp_Config) IsYANGGoStruct

func (*OpenconfigLldp_Lldp_Config) IsYANGGoStruct()

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

func (*OpenconfigLldp_Lldp_Config) Validate

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

func (*OpenconfigLldp_Lldp_Config) ΛEnumTypeMap

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

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

type OpenconfigLldp_Lldp_Interfaces

type OpenconfigLldp_Lldp_Interfaces struct {
	ΛMetadata  []ygot.Annotation                                    `path:"@" ygotAnnotation:"true"`
	Interface  map[string]*OpenconfigLldp_Lldp_Interfaces_Interface `path:"interface" module:"openconfig-lldp"`
	ΛInterface []ygot.Annotation                                    `path:"@interface" ygotAnnotation:"true"`
}

OpenconfigLldp_Lldp_Interfaces represents the /openconfig-lldp/lldp/interfaces YANG schema element.

func (*OpenconfigLldp_Lldp_Interfaces) AppendInterface

AppendInterface appends the supplied OpenconfigLldp_Lldp_Interfaces_Interface struct to the list Interface of OpenconfigLldp_Lldp_Interfaces. If the key value(s) specified in the supplied OpenconfigLldp_Lldp_Interfaces_Interface already exist in the list, an error is returned.

func (*OpenconfigLldp_Lldp_Interfaces) GetInterface

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

func (*OpenconfigLldp_Lldp_Interfaces) GetOrCreateInterface

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

func (*OpenconfigLldp_Lldp_Interfaces) IsYANGGoStruct

func (*OpenconfigLldp_Lldp_Interfaces) IsYANGGoStruct()

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

func (*OpenconfigLldp_Lldp_Interfaces) NewInterface

NewInterface creates a new entry in the Interface list of the OpenconfigLldp_Lldp_Interfaces struct. The keys of the list are populated from the input arguments.

func (*OpenconfigLldp_Lldp_Interfaces) RenameInterface

func (t *OpenconfigLldp_Lldp_Interfaces) RenameInterface(oldK, newK string) error

RenameInterface renames an entry in the list Interface within the OpenconfigLldp_Lldp_Interfaces struct. The entry with key oldK is renamed to newK updating the key within the value.

func (*OpenconfigLldp_Lldp_Interfaces) Validate

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

func (*OpenconfigLldp_Lldp_Interfaces) ΛEnumTypeMap

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

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

type OpenconfigLldp_Lldp_Interfaces_Interface

type OpenconfigLldp_Lldp_Interfaces_Interface struct {
	ΛMetadata  []ygot.Annotation                                   `path:"@" ygotAnnotation:"true"`
	Config     *OpenconfigLldp_Lldp_Interfaces_Interface_Config    `path:"config" module:"openconfig-lldp"`
	ΛConfig    []ygot.Annotation                                   `path:"@config" ygotAnnotation:"true"`
	Name       *string                                             `path:"name" module:"openconfig-lldp"`
	ΛName      []ygot.Annotation                                   `path:"@name" ygotAnnotation:"true"`
	Neighbors  *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors `path:"neighbors" module:"openconfig-lldp"`
	ΛNeighbors []ygot.Annotation                                   `path:"@neighbors" ygotAnnotation:"true"`
	State      *OpenconfigLldp_Lldp_Interfaces_Interface_State     `path:"state" module:"openconfig-lldp"`
	ΛState     []ygot.Annotation                                   `path:"@state" ygotAnnotation:"true"`
}

OpenconfigLldp_Lldp_Interfaces_Interface represents the /openconfig-lldp/lldp/interfaces/interface YANG schema element.

func (*OpenconfigLldp_Lldp_Interfaces_Interface) GetConfig

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface) GetName

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface) GetNeighbors

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface) GetOrCreateConfig

GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.

func (*OpenconfigLldp_Lldp_Interfaces_Interface) GetOrCreateNeighbors

GetOrCreateNeighbors retrieves the value of the Neighbors field or returns the existing field if it already exists.

func (*OpenconfigLldp_Lldp_Interfaces_Interface) GetOrCreateState

GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.

func (*OpenconfigLldp_Lldp_Interfaces_Interface) GetState

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface) IsYANGGoStruct

func (*OpenconfigLldp_Lldp_Interfaces_Interface) IsYANGGoStruct()

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface) Validate

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface) ΛEnumTypeMap

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface) ΛListKeyMap

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

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

type OpenconfigLldp_Lldp_Interfaces_Interface_Config

type OpenconfigLldp_Lldp_Interfaces_Interface_Config struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Enabled   *bool             `path:"enabled" module:"openconfig-lldp"`
	ΛEnabled  []ygot.Annotation `path:"@enabled" ygotAnnotation:"true"`
	Name      *string           `path:"name" module:"openconfig-lldp"`
	ΛName     []ygot.Annotation `path:"@name" ygotAnnotation:"true"`
	Snooping  *bool             `path:"snooping" module:"openconfig-terminal-device"`
	ΛSnooping []ygot.Annotation `path:"@snooping" ygotAnnotation:"true"`
}

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Config) GetEnabled

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Config) GetName

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Config) GetSnooping

GetSnooping retrieves the value of the leaf Snooping from the OpenconfigLldp_Lldp_Interfaces_Interface_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Snooping is set, it can safely use t.GetSnooping() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Snooping == nil' before retrieving the leaf's value.

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Config) IsYANGGoStruct

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Config) Validate

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Config) ΛEnumTypeMap

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

type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors

type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors struct {
	ΛMetadata []ygot.Annotation                                                       `path:"@" ygotAnnotation:"true"`
	Neighbor  map[string]*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor `path:"neighbor" module:"openconfig-lldp"`
	ΛNeighbor []ygot.Annotation                                                       `path:"@neighbor" ygotAnnotation:"true"`
}

OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors represents the /openconfig-lldp/lldp/interfaces/interface/neighbors YANG schema element.

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors) AppendNeighbor

AppendNeighbor appends the supplied OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor struct to the list Neighbor of OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors. If the key value(s) specified in the supplied OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor already exist in the list, an error is returned.

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors) GetNeighbor

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors) GetOrCreateNeighbor

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors) IsYANGGoStruct

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors) NewNeighbor

NewNeighbor creates a new entry in the Neighbor list of the OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors struct. The keys of the list are populated from the input arguments.

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors) RenameNeighbor

func (t *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors) RenameNeighbor(oldK, newK string) error

RenameNeighbor renames an entry in the list Neighbor within the OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors struct. The entry with key oldK is renamed to newK updating the key within the value.

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors) Validate

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors) ΛEnumTypeMap

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

type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor

type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor struct {
	ΛMetadata     []ygot.Annotation                                                         `path:"@" ygotAnnotation:"true"`
	Capabilities  *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities `path:"capabilities" module:"openconfig-lldp"`
	ΛCapabilities []ygot.Annotation                                                         `path:"@capabilities" ygotAnnotation:"true"`
	Config        *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Config       `path:"config" module:"openconfig-lldp"`
	ΛConfig       []ygot.Annotation                                                         `path:"@config" ygotAnnotation:"true"`
	CustomTlvs    *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs   `path:"custom-tlvs" module:"openconfig-lldp"`
	ΛCustomTlvs   []ygot.Annotation                                                         `path:"@custom-tlvs" ygotAnnotation:"true"`
	Id            *string                                                                   `path:"id" module:"openconfig-lldp"`
	ΛId           []ygot.Annotation                                                         `path:"@id" ygotAnnotation:"true"`
	State         *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State        `path:"state" module:"openconfig-lldp"`
	ΛState        []ygot.Annotation                                                         `path:"@state" ygotAnnotation:"true"`
}

OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor represents the /openconfig-lldp/lldp/interfaces/interface/neighbors/neighbor YANG schema element.

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor) GetCapabilities

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor) GetConfig

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor) GetCustomTlvs

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor) GetId

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor) GetOrCreateCapabilities

GetOrCreateCapabilities retrieves the value of the Capabilities field or returns the existing field if it already exists.

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor) GetOrCreateConfig

GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor) GetOrCreateCustomTlvs

GetOrCreateCustomTlvs retrieves the value of the CustomTlvs field or returns the existing field if it already exists.

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor) GetOrCreateState

GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor) GetState

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor) IsYANGGoStruct

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor) Validate

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor) ΛEnumTypeMap

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor) ΛListKeyMap

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

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

type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities

type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities struct {
	ΛMetadata   []ygot.Annotation                                                                                                                     `path:"@" ygotAnnotation:"true"`
	Capability  map[E_OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY]*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability `path:"capability" module:"openconfig-lldp"`
	ΛCapability []ygot.Annotation                                                                                                                     `path:"@capability" ygotAnnotation:"true"`
}

OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities represents the /openconfig-lldp/lldp/interfaces/interface/neighbors/neighbor/capabilities YANG schema element.

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities) AppendCapability

AppendCapability appends the supplied OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability struct to the list Capability of OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities. If the key value(s) specified in the supplied OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability already exist in the list, an error is returned.

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities) GetCapability

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities) GetOrCreateCapability

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities) IsYANGGoStruct

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities) NewCapability

NewCapability creates a new entry in the Capability list of the OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities struct. The keys of the list are populated from the input arguments.

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities) RenameCapability

RenameCapability renames an entry in the list Capability within the OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities struct. The entry with key oldK is renamed to newK updating the key within the value.

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities) Validate

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities) ΛEnumTypeMap

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

type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability

type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability struct {
	ΛMetadata []ygot.Annotation                                                                           `path:"@" ygotAnnotation:"true"`
	Config    *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability_Config `path:"config" module:"openconfig-lldp"`
	ΛConfig   []ygot.Annotation                                                                           `path:"@config" ygotAnnotation:"true"`
	Name      E_OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY                                                `path:"name" module:"openconfig-lldp"`
	ΛName     []ygot.Annotation                                                                           `path:"@name" ygotAnnotation:"true"`
	State     *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability_State  `path:"state" module:"openconfig-lldp"`
	ΛState    []ygot.Annotation                                                                           `path:"@state" ygotAnnotation:"true"`
}

OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability represents the /openconfig-lldp/lldp/interfaces/interface/neighbors/neighbor/capabilities/capability YANG schema element.

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability) GetConfig

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability) GetName

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability) GetOrCreateConfig

GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability) GetOrCreateState

GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability) GetState

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability) IsYANGGoStruct

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability) Validate

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability) ΛEnumTypeMap

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability) ΛListKeyMap

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

type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability_Config

type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability_Config struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
}

OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability_Config represents the /openconfig-lldp/lldp/interfaces/interface/neighbors/neighbor/capabilities/capability/config YANG schema element.

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability_Config) IsYANGGoStruct

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability_Config) Validate

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability_Config) ΛEnumTypeMap

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

type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability_State

type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability_State struct {
	ΛMetadata []ygot.Annotation                            `path:"@" ygotAnnotation:"true"`
	Enabled   *bool                                        `path:"enabled" module:"openconfig-lldp"`
	ΛEnabled  []ygot.Annotation                            `path:"@enabled" ygotAnnotation:"true"`
	Name      E_OpenconfigLldpTypes_LLDP_SYSTEM_CAPABILITY `path:"name" module:"openconfig-lldp"`
	ΛName     []ygot.Annotation                            `path:"@name" ygotAnnotation:"true"`
}

OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability_State represents the /openconfig-lldp/lldp/interfaces/interface/neighbors/neighbor/capabilities/capability/state YANG schema element.

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability_State) GetEnabled

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability_State) GetName

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability_State) IsYANGGoStruct

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability_State) Validate

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Capabilities_Capability_State) ΛEnumTypeMap

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

type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Config

type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Config struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
}

OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Config represents the /openconfig-lldp/lldp/interfaces/interface/neighbors/neighbor/config YANG schema element.

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Config) IsYANGGoStruct

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Config) Validate

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_Config) ΛEnumTypeMap

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

type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs

type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs struct {
	ΛMetadata []ygot.Annotation                                                                                                                                              `path:"@" ygotAnnotation:"true"`
	Tlv       map[OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_Key]*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv `path:"tlv" module:"openconfig-lldp"`
	ΛTlv      []ygot.Annotation                                                                                                                                              `path:"@tlv" ygotAnnotation:"true"`
}

OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs represents the /openconfig-lldp/lldp/interfaces/interface/neighbors/neighbor/custom-tlvs YANG schema element.

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs) AppendTlv

AppendTlv appends the supplied OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv struct to the list Tlv of OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs. If the key value(s) specified in the supplied OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv already exist in the list, an error is returned.

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs) GetOrCreateTlv

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs) GetTlv

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs) IsYANGGoStruct

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs) NewTlv

NewTlv creates a new entry in the Tlv list of the OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs struct. The keys of the list are populated from the input arguments.

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs) RenameTlv

RenameTlv renames an entry in the list Tlv within the OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs struct. The entry with key oldK is renamed to newK updating the key within the value.

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs) Validate

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs) ΛEnumTypeMap

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

type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv

type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv struct {
	ΛMetadata   []ygot.Annotation                                                                  `path:"@" ygotAnnotation:"true"`
	Config      *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_Config `path:"config" module:"openconfig-lldp"`
	ΛConfig     []ygot.Annotation                                                                  `path:"@config" ygotAnnotation:"true"`
	Oui         *string                                                                            `path:"oui" module:"openconfig-lldp"`
	ΛOui        []ygot.Annotation                                                                  `path:"@oui" ygotAnnotation:"true"`
	OuiSubtype  *string                                                                            `path:"oui-subtype" module:"openconfig-lldp"`
	ΛOuiSubtype []ygot.Annotation                                                                  `path:"@oui-subtype" ygotAnnotation:"true"`
	State       *OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_State  `path:"state" module:"openconfig-lldp"`
	ΛState      []ygot.Annotation                                                                  `path:"@state" ygotAnnotation:"true"`
	Type        *int32                                                                             `path:"type" module:"openconfig-lldp"`
	ΛType       []ygot.Annotation                                                                  `path:"@type" ygotAnnotation:"true"`
}

OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv represents the /openconfig-lldp/lldp/interfaces/interface/neighbors/neighbor/custom-tlvs/tlv YANG schema element.

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv) GetConfig

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv) GetOrCreateConfig

GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv) GetOrCreateState

GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv) GetOui

GetOui retrieves the value of the leaf Oui from the OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Oui is set, it can safely use t.GetOui() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Oui == nil' before retrieving the leaf's value.

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv) GetOuiSubtype

GetOuiSubtype retrieves the value of the leaf OuiSubtype from the OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OuiSubtype is set, it can safely use t.GetOuiSubtype() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OuiSubtype == nil' before retrieving the leaf's value.

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv) GetState

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv) GetType

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv) IsYANGGoStruct

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv) Validate

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv) ΛEnumTypeMap

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv) ΛListKeyMap

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

type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_Config

type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_Config struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
}

OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_Config represents the /openconfig-lldp/lldp/interfaces/interface/neighbors/neighbor/custom-tlvs/tlv/config YANG schema element.

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_Config) IsYANGGoStruct

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_Config) Validate

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_Config) ΛEnumTypeMap

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

type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_Key

type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_Key struct {
	Type       int32  `path:"type"`
	Oui        string `path:"oui"`
	OuiSubtype string `path:"oui-subtype"`
}

OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_Key represents the key for list Tlv of element /openconfig-lldp/lldp/interfaces/interface/neighbors/neighbor/custom-tlvs.

type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_State

type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_State struct {
	ΛMetadata   []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Oui         *string           `path:"oui" module:"openconfig-lldp"`
	ΛOui        []ygot.Annotation `path:"@oui" ygotAnnotation:"true"`
	OuiSubtype  *string           `path:"oui-subtype" module:"openconfig-lldp"`
	ΛOuiSubtype []ygot.Annotation `path:"@oui-subtype" ygotAnnotation:"true"`
	Type        *int32            `path:"type" module:"openconfig-lldp"`
	ΛType       []ygot.Annotation `path:"@type" ygotAnnotation:"true"`
	Value       Binary            `path:"value" module:"openconfig-lldp"`
	ΛValue      []ygot.Annotation `path:"@value" ygotAnnotation:"true"`
}

OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_State represents the /openconfig-lldp/lldp/interfaces/interface/neighbors/neighbor/custom-tlvs/tlv/state YANG schema element.

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_State) GetOui

GetOui retrieves the value of the leaf Oui from the OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Oui is set, it can safely use t.GetOui() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Oui == nil' before retrieving the leaf's value.

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_State) GetOuiSubtype

GetOuiSubtype retrieves the value of the leaf OuiSubtype from the OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OuiSubtype is set, it can safely use t.GetOuiSubtype() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OuiSubtype == nil' before retrieving the leaf's value.

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_State) GetType

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_State) GetValue

GetValue retrieves the value of the leaf Value from the OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Value is set, it can safely use t.GetValue() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Value == nil' before retrieving the leaf's value.

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_State) IsYANGGoStruct

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_State) Validate

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_CustomTlvs_Tlv_State) ΛEnumTypeMap

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

type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State

type OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State struct {
	ΛMetadata              []ygot.Annotation              `path:"@" ygotAnnotation:"true"`
	Age                    *uint64                        `path:"age" module:"openconfig-lldp"`
	ΛAge                   []ygot.Annotation              `path:"@age" ygotAnnotation:"true"`
	ChassisId              *string                        `path:"chassis-id" module:"openconfig-lldp"`
	ΛChassisId             []ygot.Annotation              `path:"@chassis-id" ygotAnnotation:"true"`
	ChassisIdType          E_OpenconfigLldp_ChassisIdType `path:"chassis-id-type" module:"openconfig-lldp"`
	ΛChassisIdType         []ygot.Annotation              `path:"@chassis-id-type" ygotAnnotation:"true"`
	Id                     *string                        `path:"id" module:"openconfig-lldp"`
	ΛId                    []ygot.Annotation              `path:"@id" ygotAnnotation:"true"`
	LastUpdate             *int64                         `path:"last-update" module:"openconfig-lldp"`
	ΛLastUpdate            []ygot.Annotation              `path:"@last-update" ygotAnnotation:"true"`
	ManagementAddress      *string                        `path:"management-address" module:"openconfig-lldp"`
	ΛManagementAddress     []ygot.Annotation              `path:"@management-address" ygotAnnotation:"true"`
	ManagementAddressType  *string                        `path:"management-address-type" module:"openconfig-lldp"`
	ΛManagementAddressType []ygot.Annotation              `path:"@management-address-type" ygotAnnotation:"true"`
	PortDescription        *string                        `path:"port-description" module:"openconfig-lldp"`
	ΛPortDescription       []ygot.Annotation              `path:"@port-description" ygotAnnotation:"true"`
	PortId                 *string                        `path:"port-id" module:"openconfig-lldp"`
	ΛPortId                []ygot.Annotation              `path:"@port-id" ygotAnnotation:"true"`
	PortIdType             E_OpenconfigLldp_PortIdType    `path:"port-id-type" module:"openconfig-lldp"`
	ΛPortIdType            []ygot.Annotation              `path:"@port-id-type" ygotAnnotation:"true"`
	SystemDescription      *string                        `path:"system-description" module:"openconfig-lldp"`
	ΛSystemDescription     []ygot.Annotation              `path:"@system-description" ygotAnnotation:"true"`
	SystemName             *string                        `path:"system-name" module:"openconfig-lldp"`
	ΛSystemName            []ygot.Annotation              `path:"@system-name" ygotAnnotation:"true"`
	Ttl                    *uint16                        `path:"ttl" module:"openconfig-lldp"`
	ΛTtl                   []ygot.Annotation              `path:"@ttl" ygotAnnotation:"true"`
}

OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State represents the /openconfig-lldp/lldp/interfaces/interface/neighbors/neighbor/state YANG schema element.

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) GetAge

GetAge retrieves the value of the leaf Age from the OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Age is set, it can safely use t.GetAge() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Age == nil' before retrieving the leaf's value.

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) GetChassisId

GetChassisId retrieves the value of the leaf ChassisId from the OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ChassisId is set, it can safely use t.GetChassisId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ChassisId == nil' before retrieving the leaf's value.

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) GetChassisIdType

GetChassisIdType retrieves the value of the leaf ChassisIdType from the OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ChassisIdType is set, it can safely use t.GetChassisIdType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ChassisIdType == nil' before retrieving the leaf's value.

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) GetId

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) GetLastUpdate

GetLastUpdate retrieves the value of the leaf LastUpdate from the OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LastUpdate is set, it can safely use t.GetLastUpdate() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LastUpdate == nil' before retrieving the leaf's value.

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) GetManagementAddress

GetManagementAddress retrieves the value of the leaf ManagementAddress from the OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ManagementAddress is set, it can safely use t.GetManagementAddress() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ManagementAddress == nil' before retrieving the leaf's value.

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) GetManagementAddressType

GetManagementAddressType retrieves the value of the leaf ManagementAddressType from the OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ManagementAddressType is set, it can safely use t.GetManagementAddressType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ManagementAddressType == nil' before retrieving the leaf's value.

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) GetPortDescription

GetPortDescription retrieves the value of the leaf PortDescription from the OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if PortDescription is set, it can safely use t.GetPortDescription() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.PortDescription == nil' before retrieving the leaf's value.

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) GetPortId

GetPortId retrieves the value of the leaf PortId from the OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if PortId is set, it can safely use t.GetPortId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.PortId == nil' before retrieving the leaf's value.

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) GetPortIdType

GetPortIdType retrieves the value of the leaf PortIdType from the OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if PortIdType is set, it can safely use t.GetPortIdType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.PortIdType == nil' before retrieving the leaf's value.

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) GetSystemDescription

GetSystemDescription retrieves the value of the leaf SystemDescription from the OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SystemDescription is set, it can safely use t.GetSystemDescription() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SystemDescription == nil' before retrieving the leaf's value.

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) GetSystemName

GetSystemName retrieves the value of the leaf SystemName from the OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SystemName is set, it can safely use t.GetSystemName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SystemName == nil' before retrieving the leaf's value.

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) GetTtl

GetTtl retrieves the value of the leaf Ttl from the OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Ttl is set, it can safely use t.GetTtl() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Ttl == nil' before retrieving the leaf's value.

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) IsYANGGoStruct

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) Validate

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface_Neighbors_Neighbor_State) ΛEnumTypeMap

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

type OpenconfigLldp_Lldp_Interfaces_Interface_State

type OpenconfigLldp_Lldp_Interfaces_Interface_State struct {
	ΛMetadata []ygot.Annotation                                        `path:"@" ygotAnnotation:"true"`
	Counters  *OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters `path:"counters" module:"openconfig-lldp"`
	ΛCounters []ygot.Annotation                                        `path:"@counters" ygotAnnotation:"true"`
	Enabled   *bool                                                    `path:"enabled" module:"openconfig-lldp"`
	ΛEnabled  []ygot.Annotation                                        `path:"@enabled" ygotAnnotation:"true"`
	Name      *string                                                  `path:"name" module:"openconfig-lldp"`
	ΛName     []ygot.Annotation                                        `path:"@name" ygotAnnotation:"true"`
}

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface_State) GetCounters

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface_State) GetEnabled

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface_State) GetName

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface_State) GetOrCreateCounters

GetOrCreateCounters retrieves the value of the Counters field or returns the existing field if it already exists.

func (*OpenconfigLldp_Lldp_Interfaces_Interface_State) IsYANGGoStruct

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface_State) Validate

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface_State) ΛEnumTypeMap

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

type OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters

type OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters struct {
	ΛMetadata      []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	FrameDiscard   *uint64           `path:"frame-discard" module:"openconfig-lldp"`
	ΛFrameDiscard  []ygot.Annotation `path:"@frame-discard" ygotAnnotation:"true"`
	FrameErrorIn   *uint64           `path:"frame-error-in" module:"openconfig-lldp"`
	ΛFrameErrorIn  []ygot.Annotation `path:"@frame-error-in" ygotAnnotation:"true"`
	FrameErrorOut  *uint64           `path:"frame-error-out" module:"openconfig-lldp"`
	ΛFrameErrorOut []ygot.Annotation `path:"@frame-error-out" ygotAnnotation:"true"`
	FrameIn        *uint64           `path:"frame-in" module:"openconfig-lldp"`
	ΛFrameIn       []ygot.Annotation `path:"@frame-in" ygotAnnotation:"true"`
	FrameOut       *uint64           `path:"frame-out" module:"openconfig-lldp"`
	ΛFrameOut      []ygot.Annotation `path:"@frame-out" ygotAnnotation:"true"`
	LastClear      *string           `path:"last-clear" module:"openconfig-lldp"`
	ΛLastClear     []ygot.Annotation `path:"@last-clear" ygotAnnotation:"true"`
	TlvDiscard     *uint64           `path:"tlv-discard" module:"openconfig-lldp"`
	ΛTlvDiscard    []ygot.Annotation `path:"@tlv-discard" ygotAnnotation:"true"`
	TlvUnknown     *uint64           `path:"tlv-unknown" module:"openconfig-lldp"`
	ΛTlvUnknown    []ygot.Annotation `path:"@tlv-unknown" ygotAnnotation:"true"`
}

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters) GetFrameDiscard

GetFrameDiscard retrieves the value of the leaf FrameDiscard from the OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if FrameDiscard is set, it can safely use t.GetFrameDiscard() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.FrameDiscard == nil' before retrieving the leaf's value.

func (*OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters) GetFrameErrorIn

GetFrameErrorIn retrieves the value of the leaf FrameErrorIn from the OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if FrameErrorIn is set, it can safely use t.GetFrameErrorIn() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.FrameErrorIn == nil' before retrieving the leaf's value.

func (*OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters) GetFrameErrorOut

GetFrameErrorOut retrieves the value of the leaf FrameErrorOut from the OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if FrameErrorOut is set, it can safely use t.GetFrameErrorOut() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.FrameErrorOut == nil' before retrieving the leaf's value.

func (*OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters) GetFrameIn

GetFrameIn retrieves the value of the leaf FrameIn from the OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if FrameIn is set, it can safely use t.GetFrameIn() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.FrameIn == nil' before retrieving the leaf's value.

func (*OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters) GetFrameOut

GetFrameOut retrieves the value of the leaf FrameOut from the OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if FrameOut is set, it can safely use t.GetFrameOut() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.FrameOut == nil' before retrieving the leaf's value.

func (*OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters) GetLastClear

GetLastClear retrieves the value of the leaf LastClear from the OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LastClear is set, it can safely use t.GetLastClear() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LastClear == nil' before retrieving the leaf's value.

func (*OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters) GetTlvDiscard

GetTlvDiscard retrieves the value of the leaf TlvDiscard from the OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TlvDiscard is set, it can safely use t.GetTlvDiscard() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TlvDiscard == nil' before retrieving the leaf's value.

func (*OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters) GetTlvUnknown

GetTlvUnknown retrieves the value of the leaf TlvUnknown from the OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TlvUnknown is set, it can safely use t.GetTlvUnknown() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TlvUnknown == nil' before retrieving the leaf's value.

func (*OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters) IsYANGGoStruct

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters) Validate

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

func (*OpenconfigLldp_Lldp_Interfaces_Interface_State_Counters) ΛEnumTypeMap

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

type OpenconfigLldp_Lldp_State

type OpenconfigLldp_Lldp_State struct {
	ΛMetadata                 []ygot.Annotation                   `path:"@" ygotAnnotation:"true"`
	ChassisId                 *string                             `path:"chassis-id" module:"openconfig-lldp"`
	ΛChassisId                []ygot.Annotation                   `path:"@chassis-id" ygotAnnotation:"true"`
	ChassisIdType             E_OpenconfigLldp_ChassisIdType      `path:"chassis-id-type" module:"openconfig-lldp"`
	ΛChassisIdType            []ygot.Annotation                   `path:"@chassis-id-type" ygotAnnotation:"true"`
	Counters                  *OpenconfigLldp_Lldp_State_Counters `path:"counters" module:"openconfig-lldp"`
	ΛCounters                 []ygot.Annotation                   `path:"@counters" ygotAnnotation:"true"`
	Enabled                   *bool                               `path:"enabled" module:"openconfig-lldp"`
	ΛEnabled                  []ygot.Annotation                   `path:"@enabled" ygotAnnotation:"true"`
	HelloTimer                *uint64                             `path:"hello-timer" module:"openconfig-lldp"`
	ΛHelloTimer               []ygot.Annotation                   `path:"@hello-timer" ygotAnnotation:"true"`
	SuppressTlvAdvertisement  []E_OpenconfigLldpTypes_LLDP_TLV    `path:"suppress-tlv-advertisement" module:"openconfig-lldp"`
	ΛSuppressTlvAdvertisement []ygot.Annotation                   `path:"@suppress-tlv-advertisement" ygotAnnotation:"true"`
	SystemDescription         *string                             `path:"system-description" module:"openconfig-lldp"`
	ΛSystemDescription        []ygot.Annotation                   `path:"@system-description" ygotAnnotation:"true"`
	SystemName                *string                             `path:"system-name" module:"openconfig-lldp"`
	ΛSystemName               []ygot.Annotation                   `path:"@system-name" ygotAnnotation:"true"`
}

OpenconfigLldp_Lldp_State represents the /openconfig-lldp/lldp/state YANG schema element.

func (*OpenconfigLldp_Lldp_State) GetChassisId

func (t *OpenconfigLldp_Lldp_State) GetChassisId() string

GetChassisId retrieves the value of the leaf ChassisId from the OpenconfigLldp_Lldp_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ChassisId is set, it can safely use t.GetChassisId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ChassisId == nil' before retrieving the leaf's value.

func (*OpenconfigLldp_Lldp_State) GetChassisIdType

GetChassisIdType retrieves the value of the leaf ChassisIdType from the OpenconfigLldp_Lldp_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ChassisIdType is set, it can safely use t.GetChassisIdType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ChassisIdType == nil' before retrieving the leaf's value.

func (*OpenconfigLldp_Lldp_State) GetCounters

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

func (*OpenconfigLldp_Lldp_State) GetEnabled

func (t *OpenconfigLldp_Lldp_State) GetEnabled() bool

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

func (*OpenconfigLldp_Lldp_State) GetHelloTimer

func (t *OpenconfigLldp_Lldp_State) GetHelloTimer() uint64

GetHelloTimer retrieves the value of the leaf HelloTimer from the OpenconfigLldp_Lldp_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if HelloTimer is set, it can safely use t.GetHelloTimer() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.HelloTimer == nil' before retrieving the leaf's value.

func (*OpenconfigLldp_Lldp_State) GetOrCreateCounters

GetOrCreateCounters retrieves the value of the Counters field or returns the existing field if it already exists.

func (*OpenconfigLldp_Lldp_State) GetSuppressTlvAdvertisement

func (t *OpenconfigLldp_Lldp_State) GetSuppressTlvAdvertisement() []E_OpenconfigLldpTypes_LLDP_TLV

GetSuppressTlvAdvertisement retrieves the value of the leaf SuppressTlvAdvertisement from the OpenconfigLldp_Lldp_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SuppressTlvAdvertisement is set, it can safely use t.GetSuppressTlvAdvertisement() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SuppressTlvAdvertisement == nil' before retrieving the leaf's value.

func (*OpenconfigLldp_Lldp_State) GetSystemDescription

func (t *OpenconfigLldp_Lldp_State) GetSystemDescription() string

GetSystemDescription retrieves the value of the leaf SystemDescription from the OpenconfigLldp_Lldp_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SystemDescription is set, it can safely use t.GetSystemDescription() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SystemDescription == nil' before retrieving the leaf's value.

func (*OpenconfigLldp_Lldp_State) GetSystemName

func (t *OpenconfigLldp_Lldp_State) GetSystemName() string

GetSystemName retrieves the value of the leaf SystemName from the OpenconfigLldp_Lldp_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SystemName is set, it can safely use t.GetSystemName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SystemName == nil' before retrieving the leaf's value.

func (*OpenconfigLldp_Lldp_State) IsYANGGoStruct

func (*OpenconfigLldp_Lldp_State) IsYANGGoStruct()

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

func (*OpenconfigLldp_Lldp_State) Validate

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

func (*OpenconfigLldp_Lldp_State) ΛEnumTypeMap

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

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

type OpenconfigLldp_Lldp_State_Counters

type OpenconfigLldp_Lldp_State_Counters struct {
	ΛMetadata       []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	EntriesAgedOut  *uint64           `path:"entries-aged-out" module:"openconfig-lldp"`
	ΛEntriesAgedOut []ygot.Annotation `path:"@entries-aged-out" ygotAnnotation:"true"`
	FrameDiscard    *uint64           `path:"frame-discard" module:"openconfig-lldp"`
	ΛFrameDiscard   []ygot.Annotation `path:"@frame-discard" ygotAnnotation:"true"`
	FrameErrorIn    *uint64           `path:"frame-error-in" module:"openconfig-lldp"`
	ΛFrameErrorIn   []ygot.Annotation `path:"@frame-error-in" ygotAnnotation:"true"`
	FrameIn         *uint64           `path:"frame-in" module:"openconfig-lldp"`
	ΛFrameIn        []ygot.Annotation `path:"@frame-in" ygotAnnotation:"true"`
	FrameOut        *uint64           `path:"frame-out" module:"openconfig-lldp"`
	ΛFrameOut       []ygot.Annotation `path:"@frame-out" ygotAnnotation:"true"`
	LastClear       *string           `path:"last-clear" module:"openconfig-lldp"`
	ΛLastClear      []ygot.Annotation `path:"@last-clear" ygotAnnotation:"true"`
	TlvAccepted     *uint64           `path:"tlv-accepted" module:"openconfig-lldp"`
	ΛTlvAccepted    []ygot.Annotation `path:"@tlv-accepted" ygotAnnotation:"true"`
	TlvDiscard      *uint64           `path:"tlv-discard" module:"openconfig-lldp"`
	ΛTlvDiscard     []ygot.Annotation `path:"@tlv-discard" ygotAnnotation:"true"`
	TlvUnknown      *uint64           `path:"tlv-unknown" module:"openconfig-lldp"`
	ΛTlvUnknown     []ygot.Annotation `path:"@tlv-unknown" ygotAnnotation:"true"`
}

OpenconfigLldp_Lldp_State_Counters represents the /openconfig-lldp/lldp/state/counters YANG schema element.

func (*OpenconfigLldp_Lldp_State_Counters) GetEntriesAgedOut

func (t *OpenconfigLldp_Lldp_State_Counters) GetEntriesAgedOut() uint64

GetEntriesAgedOut retrieves the value of the leaf EntriesAgedOut from the OpenconfigLldp_Lldp_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if EntriesAgedOut is set, it can safely use t.GetEntriesAgedOut() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.EntriesAgedOut == nil' before retrieving the leaf's value.

func (*OpenconfigLldp_Lldp_State_Counters) GetFrameDiscard

func (t *OpenconfigLldp_Lldp_State_Counters) GetFrameDiscard() uint64

GetFrameDiscard retrieves the value of the leaf FrameDiscard from the OpenconfigLldp_Lldp_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if FrameDiscard is set, it can safely use t.GetFrameDiscard() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.FrameDiscard == nil' before retrieving the leaf's value.

func (*OpenconfigLldp_Lldp_State_Counters) GetFrameErrorIn

func (t *OpenconfigLldp_Lldp_State_Counters) GetFrameErrorIn() uint64

GetFrameErrorIn retrieves the value of the leaf FrameErrorIn from the OpenconfigLldp_Lldp_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if FrameErrorIn is set, it can safely use t.GetFrameErrorIn() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.FrameErrorIn == nil' before retrieving the leaf's value.

func (*OpenconfigLldp_Lldp_State_Counters) GetFrameIn

GetFrameIn retrieves the value of the leaf FrameIn from the OpenconfigLldp_Lldp_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if FrameIn is set, it can safely use t.GetFrameIn() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.FrameIn == nil' before retrieving the leaf's value.

func (*OpenconfigLldp_Lldp_State_Counters) GetFrameOut

func (t *OpenconfigLldp_Lldp_State_Counters) GetFrameOut() uint64

GetFrameOut retrieves the value of the leaf FrameOut from the OpenconfigLldp_Lldp_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if FrameOut is set, it can safely use t.GetFrameOut() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.FrameOut == nil' before retrieving the leaf's value.

func (*OpenconfigLldp_Lldp_State_Counters) GetLastClear

func (t *OpenconfigLldp_Lldp_State_Counters) GetLastClear() string

GetLastClear retrieves the value of the leaf LastClear from the OpenconfigLldp_Lldp_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LastClear is set, it can safely use t.GetLastClear() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LastClear == nil' before retrieving the leaf's value.

func (*OpenconfigLldp_Lldp_State_Counters) GetTlvAccepted

func (t *OpenconfigLldp_Lldp_State_Counters) GetTlvAccepted() uint64

GetTlvAccepted retrieves the value of the leaf TlvAccepted from the OpenconfigLldp_Lldp_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TlvAccepted is set, it can safely use t.GetTlvAccepted() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TlvAccepted == nil' before retrieving the leaf's value.

func (*OpenconfigLldp_Lldp_State_Counters) GetTlvDiscard

func (t *OpenconfigLldp_Lldp_State_Counters) GetTlvDiscard() uint64

GetTlvDiscard retrieves the value of the leaf TlvDiscard from the OpenconfigLldp_Lldp_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TlvDiscard is set, it can safely use t.GetTlvDiscard() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TlvDiscard == nil' before retrieving the leaf's value.

func (*OpenconfigLldp_Lldp_State_Counters) GetTlvUnknown

func (t *OpenconfigLldp_Lldp_State_Counters) GetTlvUnknown() uint64

GetTlvUnknown retrieves the value of the leaf TlvUnknown from the OpenconfigLldp_Lldp_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TlvUnknown is set, it can safely use t.GetTlvUnknown() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TlvUnknown == nil' before retrieving the leaf's value.

func (*OpenconfigLldp_Lldp_State_Counters) IsYANGGoStruct

func (*OpenconfigLldp_Lldp_State_Counters) IsYANGGoStruct()

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

func (*OpenconfigLldp_Lldp_State_Counters) Validate

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

func (*OpenconfigLldp_Lldp_State_Counters) ΛEnumTypeMap

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

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

type OpenconfigPlatform_Components

type OpenconfigPlatform_Components struct {
	ΛMetadata  []ygot.Annotation                                   `path:"@" ygotAnnotation:"true"`
	Component  map[string]*OpenconfigPlatform_Components_Component `path:"component" module:"openconfig-platform"`
	ΛComponent []ygot.Annotation                                   `path:"@component" ygotAnnotation:"true"`
}

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

func (*OpenconfigPlatform_Components) AppendComponent

AppendComponent appends the supplied OpenconfigPlatform_Components_Component struct to the list Component of OpenconfigPlatform_Components. If the key value(s) specified in the supplied OpenconfigPlatform_Components_Component already exist in the list, an error is returned.

func (*OpenconfigPlatform_Components) GetComponent

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

func (*OpenconfigPlatform_Components) GetOrCreateComponent

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

func (*OpenconfigPlatform_Components) IsYANGGoStruct

func (*OpenconfigPlatform_Components) IsYANGGoStruct()

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

func (*OpenconfigPlatform_Components) NewComponent

NewComponent creates a new entry in the Component list of the OpenconfigPlatform_Components struct. The keys of the list are populated from the input arguments.

func (*OpenconfigPlatform_Components) RenameComponent

func (t *OpenconfigPlatform_Components) RenameComponent(oldK, newK string) error

RenameComponent renames an entry in the list Component within the OpenconfigPlatform_Components struct. The entry with key oldK is renamed to newK updating the key within the value.

func (*OpenconfigPlatform_Components) Validate

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

func (*OpenconfigPlatform_Components) ΛEnumTypeMap

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

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

type OpenconfigPlatform_Components_Component

type OpenconfigPlatform_Components_Component struct {
	ΛMetadata          []ygot.Annotation                                          `path:"@" ygotAnnotation:"true"`
	Backplane          *OpenconfigPlatform_Components_Component_Backplane         `path:"backplane" module:"openconfig-platform"`
	ΛBackplane         []ygot.Annotation                                          `path:"@backplane" ygotAnnotation:"true"`
	Chassis            *OpenconfigPlatform_Components_Component_Chassis           `path:"chassis" module:"openconfig-platform"`
	ΛChassis           []ygot.Annotation                                          `path:"@chassis" ygotAnnotation:"true"`
	Config             *OpenconfigPlatform_Components_Component_Config            `path:"config" module:"openconfig-platform"`
	ΛConfig            []ygot.Annotation                                          `path:"@config" ygotAnnotation:"true"`
	Cpu                *OpenconfigPlatform_Components_Component_Cpu               `path:"cpu" module:"openconfig-platform"`
	ΛCpu               []ygot.Annotation                                          `path:"@cpu" ygotAnnotation:"true"`
	Fabric             *OpenconfigPlatform_Components_Component_Fabric            `path:"fabric" module:"openconfig-platform"`
	ΛFabric            []ygot.Annotation                                          `path:"@fabric" ygotAnnotation:"true"`
	Fan                *OpenconfigPlatform_Components_Component_Fan               `path:"fan" module:"openconfig-platform"`
	ΛFan               []ygot.Annotation                                          `path:"@fan" ygotAnnotation:"true"`
	IntegratedCircuit  *OpenconfigPlatform_Components_Component_IntegratedCircuit `path:"integrated-circuit" module:"openconfig-platform"`
	ΛIntegratedCircuit []ygot.Annotation                                          `path:"@integrated-circuit" ygotAnnotation:"true"`
	Name               *string                                                    `path:"name" module:"openconfig-platform"`
	ΛName              []ygot.Annotation                                          `path:"@name" ygotAnnotation:"true"`
	OpticalChannel     *OpenconfigPlatform_Components_Component_OpticalChannel    `path:"optical-channel" module:"openconfig-terminal-device"`
	ΛOpticalChannel    []ygot.Annotation                                          `path:"@optical-channel" ygotAnnotation:"true"`
	Port               *OpenconfigPlatform_Components_Component_Port              `path:"port" module:"openconfig-platform"`
	ΛPort              []ygot.Annotation                                          `path:"@port" ygotAnnotation:"true"`
	PowerSupply        *OpenconfigPlatform_Components_Component_PowerSupply       `path:"power-supply" module:"openconfig-platform"`
	ΛPowerSupply       []ygot.Annotation                                          `path:"@power-supply" ygotAnnotation:"true"`
	Properties         *OpenconfigPlatform_Components_Component_Properties        `path:"properties" module:"openconfig-platform"`
	ΛProperties        []ygot.Annotation                                          `path:"@properties" ygotAnnotation:"true"`
	State              *OpenconfigPlatform_Components_Component_State             `path:"state" module:"openconfig-platform"`
	ΛState             []ygot.Annotation                                          `path:"@state" ygotAnnotation:"true"`
	Storage            *OpenconfigPlatform_Components_Component_Storage           `path:"storage" module:"openconfig-platform"`
	ΛStorage           []ygot.Annotation                                          `path:"@storage" ygotAnnotation:"true"`
	Subcomponents      *OpenconfigPlatform_Components_Component_Subcomponents     `path:"subcomponents" module:"openconfig-platform"`
	ΛSubcomponents     []ygot.Annotation                                          `path:"@subcomponents" ygotAnnotation:"true"`
	Transceiver        *OpenconfigPlatform_Components_Component_Transceiver       `path:"transceiver" module:"openconfig-platform-transceiver"`
	ΛTransceiver       []ygot.Annotation                                          `path:"@transceiver" ygotAnnotation:"true"`
}

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

func (*OpenconfigPlatform_Components_Component) GetBackplane

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

func (*OpenconfigPlatform_Components_Component) GetChassis

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

func (*OpenconfigPlatform_Components_Component) GetConfig

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

func (*OpenconfigPlatform_Components_Component) GetCpu

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

func (*OpenconfigPlatform_Components_Component) GetFabric

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

func (*OpenconfigPlatform_Components_Component) GetFan

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

func (*OpenconfigPlatform_Components_Component) GetIntegratedCircuit

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

func (*OpenconfigPlatform_Components_Component) GetName

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

func (*OpenconfigPlatform_Components_Component) GetOpticalChannel

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

func (*OpenconfigPlatform_Components_Component) GetOrCreateBackplane

GetOrCreateBackplane retrieves the value of the Backplane field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component) GetOrCreateChassis

GetOrCreateChassis retrieves the value of the Chassis field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component) GetOrCreateConfig

GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component) GetOrCreateCpu

GetOrCreateCpu retrieves the value of the Cpu field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component) GetOrCreateFabric

GetOrCreateFabric retrieves the value of the Fabric field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component) GetOrCreateFan

GetOrCreateFan retrieves the value of the Fan field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component) GetOrCreateIntegratedCircuit

GetOrCreateIntegratedCircuit retrieves the value of the IntegratedCircuit field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component) GetOrCreateOpticalChannel

GetOrCreateOpticalChannel retrieves the value of the OpticalChannel field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component) GetOrCreatePort

GetOrCreatePort retrieves the value of the Port field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component) GetOrCreatePowerSupply

GetOrCreatePowerSupply retrieves the value of the PowerSupply field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component) GetOrCreateProperties

GetOrCreateProperties retrieves the value of the Properties field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component) GetOrCreateState

GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component) GetOrCreateStorage

GetOrCreateStorage retrieves the value of the Storage field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component) GetOrCreateSubcomponents

GetOrCreateSubcomponents retrieves the value of the Subcomponents field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component) GetOrCreateTransceiver

GetOrCreateTransceiver retrieves the value of the Transceiver field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component) GetPort

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

func (*OpenconfigPlatform_Components_Component) GetPowerSupply

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

func (*OpenconfigPlatform_Components_Component) GetProperties

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

func (*OpenconfigPlatform_Components_Component) GetState

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

func (*OpenconfigPlatform_Components_Component) GetStorage

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

func (*OpenconfigPlatform_Components_Component) GetSubcomponents

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

func (*OpenconfigPlatform_Components_Component) GetTransceiver

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

func (*OpenconfigPlatform_Components_Component) IsYANGGoStruct

func (*OpenconfigPlatform_Components_Component) IsYANGGoStruct()

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

func (*OpenconfigPlatform_Components_Component) Validate

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

func (*OpenconfigPlatform_Components_Component) ΛEnumTypeMap

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

func (*OpenconfigPlatform_Components_Component) ΛListKeyMap

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

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

type OpenconfigPlatform_Components_Component_Backplane

type OpenconfigPlatform_Components_Component_Backplane struct {
	ΛMetadata []ygot.Annotation                                         `path:"@" ygotAnnotation:"true"`
	Config    *OpenconfigPlatform_Components_Component_Backplane_Config `path:"config" module:"openconfig-platform"`
	ΛConfig   []ygot.Annotation                                         `path:"@config" ygotAnnotation:"true"`
	State     *OpenconfigPlatform_Components_Component_Backplane_State  `path:"state" module:"openconfig-platform"`
	ΛState    []ygot.Annotation                                         `path:"@state" ygotAnnotation:"true"`
}

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

func (*OpenconfigPlatform_Components_Component_Backplane) GetConfig

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

func (*OpenconfigPlatform_Components_Component_Backplane) GetOrCreateConfig

GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component_Backplane) GetOrCreateState

GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component_Backplane) GetState

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

func (*OpenconfigPlatform_Components_Component_Backplane) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_Backplane) Validate

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

func (*OpenconfigPlatform_Components_Component_Backplane) ΛEnumTypeMap

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

type OpenconfigPlatform_Components_Component_Backplane_Config

type OpenconfigPlatform_Components_Component_Backplane_Config struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
}

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

func (*OpenconfigPlatform_Components_Component_Backplane_Config) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_Backplane_Config) Validate

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

func (*OpenconfigPlatform_Components_Component_Backplane_Config) ΛEnumTypeMap

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

type OpenconfigPlatform_Components_Component_Backplane_State

type OpenconfigPlatform_Components_Component_Backplane_State struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
}

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

func (*OpenconfigPlatform_Components_Component_Backplane_State) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_Backplane_State) Validate

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

func (*OpenconfigPlatform_Components_Component_Backplane_State) ΛEnumTypeMap

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

type OpenconfigPlatform_Components_Component_Chassis

type OpenconfigPlatform_Components_Component_Chassis struct {
	ΛMetadata []ygot.Annotation                                       `path:"@" ygotAnnotation:"true"`
	Config    *OpenconfigPlatform_Components_Component_Chassis_Config `path:"config" module:"openconfig-platform"`
	ΛConfig   []ygot.Annotation                                       `path:"@config" ygotAnnotation:"true"`
	State     *OpenconfigPlatform_Components_Component_Chassis_State  `path:"state" module:"openconfig-platform"`
	ΛState    []ygot.Annotation                                       `path:"@state" ygotAnnotation:"true"`
}

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

func (*OpenconfigPlatform_Components_Component_Chassis) GetConfig

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

func (*OpenconfigPlatform_Components_Component_Chassis) GetOrCreateConfig

GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component_Chassis) GetOrCreateState

GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component_Chassis) GetState

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

func (*OpenconfigPlatform_Components_Component_Chassis) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_Chassis) Validate

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

func (*OpenconfigPlatform_Components_Component_Chassis) ΛEnumTypeMap

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

type OpenconfigPlatform_Components_Component_Chassis_Config

type OpenconfigPlatform_Components_Component_Chassis_Config struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
}

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

func (*OpenconfigPlatform_Components_Component_Chassis_Config) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_Chassis_Config) Validate

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

func (*OpenconfigPlatform_Components_Component_Chassis_Config) ΛEnumTypeMap

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

type OpenconfigPlatform_Components_Component_Chassis_State

type OpenconfigPlatform_Components_Component_Chassis_State struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
}

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

func (*OpenconfigPlatform_Components_Component_Chassis_State) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_Chassis_State) Validate

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

func (*OpenconfigPlatform_Components_Component_Chassis_State) ΛEnumTypeMap

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

type OpenconfigPlatform_Components_Component_Config

type OpenconfigPlatform_Components_Component_Config struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Name      *string           `path:"name" module:"openconfig-platform"`
	ΛName     []ygot.Annotation `path:"@name" ygotAnnotation:"true"`
}

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

func (*OpenconfigPlatform_Components_Component_Config) GetName

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

func (*OpenconfigPlatform_Components_Component_Config) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_Config) Validate

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

func (*OpenconfigPlatform_Components_Component_Config) ΛEnumTypeMap

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

type OpenconfigPlatform_Components_Component_Cpu

type OpenconfigPlatform_Components_Component_Cpu struct {
	ΛMetadata []ygot.Annotation                                   `path:"@" ygotAnnotation:"true"`
	Config    *OpenconfigPlatform_Components_Component_Cpu_Config `path:"config" module:"openconfig-platform"`
	ΛConfig   []ygot.Annotation                                   `path:"@config" ygotAnnotation:"true"`
	State     *OpenconfigPlatform_Components_Component_Cpu_State  `path:"state" module:"openconfig-platform"`
	ΛState    []ygot.Annotation                                   `path:"@state" ygotAnnotation:"true"`
}

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

func (*OpenconfigPlatform_Components_Component_Cpu) GetConfig

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

func (*OpenconfigPlatform_Components_Component_Cpu) GetOrCreateConfig

GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component_Cpu) GetOrCreateState

GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component_Cpu) GetState

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

func (*OpenconfigPlatform_Components_Component_Cpu) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_Cpu) Validate

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

func (*OpenconfigPlatform_Components_Component_Cpu) ΛEnumTypeMap

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

type OpenconfigPlatform_Components_Component_Cpu_Config

type OpenconfigPlatform_Components_Component_Cpu_Config struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
}

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

func (*OpenconfigPlatform_Components_Component_Cpu_Config) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_Cpu_Config) Validate

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

func (*OpenconfigPlatform_Components_Component_Cpu_Config) ΛEnumTypeMap

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

type OpenconfigPlatform_Components_Component_Cpu_State

type OpenconfigPlatform_Components_Component_Cpu_State struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
}

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

func (*OpenconfigPlatform_Components_Component_Cpu_State) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_Cpu_State) Validate

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

func (*OpenconfigPlatform_Components_Component_Cpu_State) ΛEnumTypeMap

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

type OpenconfigPlatform_Components_Component_Fabric

type OpenconfigPlatform_Components_Component_Fabric struct {
	ΛMetadata []ygot.Annotation                                      `path:"@" ygotAnnotation:"true"`
	Config    *OpenconfigPlatform_Components_Component_Fabric_Config `path:"config" module:"openconfig-platform"`
	ΛConfig   []ygot.Annotation                                      `path:"@config" ygotAnnotation:"true"`
	State     *OpenconfigPlatform_Components_Component_Fabric_State  `path:"state" module:"openconfig-platform"`
	ΛState    []ygot.Annotation                                      `path:"@state" ygotAnnotation:"true"`
}

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

func (*OpenconfigPlatform_Components_Component_Fabric) GetConfig

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

func (*OpenconfigPlatform_Components_Component_Fabric) GetOrCreateConfig

GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component_Fabric) GetOrCreateState

GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component_Fabric) GetState

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

func (*OpenconfigPlatform_Components_Component_Fabric) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_Fabric) Validate

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

func (*OpenconfigPlatform_Components_Component_Fabric) ΛEnumTypeMap

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

type OpenconfigPlatform_Components_Component_Fabric_Config

type OpenconfigPlatform_Components_Component_Fabric_Config struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
}

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

func (*OpenconfigPlatform_Components_Component_Fabric_Config) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_Fabric_Config) Validate

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

func (*OpenconfigPlatform_Components_Component_Fabric_Config) ΛEnumTypeMap

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

type OpenconfigPlatform_Components_Component_Fabric_State

type OpenconfigPlatform_Components_Component_Fabric_State struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
}

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

func (*OpenconfigPlatform_Components_Component_Fabric_State) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_Fabric_State) Validate

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

func (*OpenconfigPlatform_Components_Component_Fabric_State) ΛEnumTypeMap

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

type OpenconfigPlatform_Components_Component_Fan

type OpenconfigPlatform_Components_Component_Fan struct {
	ΛMetadata []ygot.Annotation                                   `path:"@" ygotAnnotation:"true"`
	Config    *OpenconfigPlatform_Components_Component_Fan_Config `path:"config" module:"openconfig-platform"`
	ΛConfig   []ygot.Annotation                                   `path:"@config" ygotAnnotation:"true"`
	State     *OpenconfigPlatform_Components_Component_Fan_State  `path:"state" module:"openconfig-platform"`
	ΛState    []ygot.Annotation                                   `path:"@state" ygotAnnotation:"true"`
}

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

func (*OpenconfigPlatform_Components_Component_Fan) GetConfig

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

func (*OpenconfigPlatform_Components_Component_Fan) GetOrCreateConfig

GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component_Fan) GetOrCreateState

GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component_Fan) GetState

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

func (*OpenconfigPlatform_Components_Component_Fan) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_Fan) Validate

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

func (*OpenconfigPlatform_Components_Component_Fan) ΛEnumTypeMap

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

type OpenconfigPlatform_Components_Component_Fan_Config

type OpenconfigPlatform_Components_Component_Fan_Config struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
}

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

func (*OpenconfigPlatform_Components_Component_Fan_Config) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_Fan_Config) Validate

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

func (*OpenconfigPlatform_Components_Component_Fan_Config) ΛEnumTypeMap

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

type OpenconfigPlatform_Components_Component_Fan_State

type OpenconfigPlatform_Components_Component_Fan_State struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
}

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

func (*OpenconfigPlatform_Components_Component_Fan_State) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_Fan_State) Validate

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

func (*OpenconfigPlatform_Components_Component_Fan_State) ΛEnumTypeMap

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

type OpenconfigPlatform_Components_Component_IntegratedCircuit

type OpenconfigPlatform_Components_Component_IntegratedCircuit struct {
	ΛMetadata []ygot.Annotation                                                 `path:"@" ygotAnnotation:"true"`
	Config    *OpenconfigPlatform_Components_Component_IntegratedCircuit_Config `path:"config" module:"openconfig-platform"`
	ΛConfig   []ygot.Annotation                                                 `path:"@config" ygotAnnotation:"true"`
	State     *OpenconfigPlatform_Components_Component_IntegratedCircuit_State  `path:"state" module:"openconfig-platform"`
	ΛState    []ygot.Annotation                                                 `path:"@state" ygotAnnotation:"true"`
}

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

func (*OpenconfigPlatform_Components_Component_IntegratedCircuit) GetConfig

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

func (*OpenconfigPlatform_Components_Component_IntegratedCircuit) GetOrCreateConfig

GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component_IntegratedCircuit) GetOrCreateState

GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component_IntegratedCircuit) GetState

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

func (*OpenconfigPlatform_Components_Component_IntegratedCircuit) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_IntegratedCircuit) Validate

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

func (*OpenconfigPlatform_Components_Component_IntegratedCircuit) ΛEnumTypeMap

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

type OpenconfigPlatform_Components_Component_IntegratedCircuit_Config

type OpenconfigPlatform_Components_Component_IntegratedCircuit_Config struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
}

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

func (*OpenconfigPlatform_Components_Component_IntegratedCircuit_Config) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_IntegratedCircuit_Config) Validate

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

func (*OpenconfigPlatform_Components_Component_IntegratedCircuit_Config) ΛEnumTypeMap

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

type OpenconfigPlatform_Components_Component_IntegratedCircuit_State

type OpenconfigPlatform_Components_Component_IntegratedCircuit_State struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
}

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

func (*OpenconfigPlatform_Components_Component_IntegratedCircuit_State) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_IntegratedCircuit_State) Validate

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

func (*OpenconfigPlatform_Components_Component_IntegratedCircuit_State) ΛEnumTypeMap

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

type OpenconfigPlatform_Components_Component_OpticalChannel

type OpenconfigPlatform_Components_Component_OpticalChannel struct {
	ΛMetadata []ygot.Annotation                                              `path:"@" ygotAnnotation:"true"`
	Config    *OpenconfigPlatform_Components_Component_OpticalChannel_Config `path:"config" module:"openconfig-terminal-device"`
	ΛConfig   []ygot.Annotation                                              `path:"@config" ygotAnnotation:"true"`
	State     *OpenconfigPlatform_Components_Component_OpticalChannel_State  `path:"state" module:"openconfig-terminal-device"`
	ΛState    []ygot.Annotation                                              `path:"@state" ygotAnnotation:"true"`
}

OpenconfigPlatform_Components_Component_OpticalChannel represents the /openconfig-platform/components/component/optical-channel YANG schema element.

func (*OpenconfigPlatform_Components_Component_OpticalChannel) GetConfig

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

func (*OpenconfigPlatform_Components_Component_OpticalChannel) GetOrCreateConfig

GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component_OpticalChannel) GetOrCreateState

GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component_OpticalChannel) GetState

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

func (*OpenconfigPlatform_Components_Component_OpticalChannel) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_OpticalChannel) Validate

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

func (*OpenconfigPlatform_Components_Component_OpticalChannel) ΛEnumTypeMap

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

type OpenconfigPlatform_Components_Component_OpticalChannel_Config

type OpenconfigPlatform_Components_Component_OpticalChannel_Config struct {
	ΛMetadata          []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Frequency          *uint64           `path:"frequency" module:"openconfig-terminal-device"`
	ΛFrequency         []ygot.Annotation `path:"@frequency" ygotAnnotation:"true"`
	LinePort           *string           `path:"line-port" module:"openconfig-terminal-device"`
	ΛLinePort          []ygot.Annotation `path:"@line-port" ygotAnnotation:"true"`
	OperationalMode    *uint16           `path:"operational-mode" module:"openconfig-terminal-device"`
	ΛOperationalMode   []ygot.Annotation `path:"@operational-mode" ygotAnnotation:"true"`
	TargetOutputPower  *float64          `path:"target-output-power" module:"openconfig-terminal-device"`
	ΛTargetOutputPower []ygot.Annotation `path:"@target-output-power" ygotAnnotation:"true"`
}

OpenconfigPlatform_Components_Component_OpticalChannel_Config represents the /openconfig-platform/components/component/optical-channel/config YANG schema element.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_Config) GetFrequency

GetFrequency retrieves the value of the leaf Frequency from the OpenconfigPlatform_Components_Component_OpticalChannel_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Frequency is set, it can safely use t.GetFrequency() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Frequency == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_Config) GetLinePort

GetLinePort retrieves the value of the leaf LinePort from the OpenconfigPlatform_Components_Component_OpticalChannel_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LinePort is set, it can safely use t.GetLinePort() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LinePort == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_Config) GetOperationalMode

GetOperationalMode retrieves the value of the leaf OperationalMode from the OpenconfigPlatform_Components_Component_OpticalChannel_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OperationalMode is set, it can safely use t.GetOperationalMode() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OperationalMode == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_Config) GetTargetOutputPower

GetTargetOutputPower retrieves the value of the leaf TargetOutputPower from the OpenconfigPlatform_Components_Component_OpticalChannel_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TargetOutputPower is set, it can safely use t.GetTargetOutputPower() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TargetOutputPower == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_Config) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_OpticalChannel_Config) Validate

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

func (*OpenconfigPlatform_Components_Component_OpticalChannel_Config) ΛEnumTypeMap

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

type OpenconfigPlatform_Components_Component_OpticalChannel_State

type OpenconfigPlatform_Components_Component_OpticalChannel_State struct {
	ΛMetadata                              []ygot.Annotation                                                                                   `path:"@" ygotAnnotation:"true"`
	ChromaticDispersion                    *OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion                   `path:"chromatic-dispersion" module:"openconfig-terminal-device"`
	ΛChromaticDispersion                   []ygot.Annotation                                                                                   `path:"@chromatic-dispersion" ygotAnnotation:"true"`
	Frequency                              *uint64                                                                                             `path:"frequency" module:"openconfig-terminal-device"`
	ΛFrequency                             []ygot.Annotation                                                                                   `path:"@frequency" ygotAnnotation:"true"`
	GroupId                                *uint32                                                                                             `path:"group-id" module:"openconfig-terminal-device"`
	ΛGroupId                               []ygot.Annotation                                                                                   `path:"@group-id" ygotAnnotation:"true"`
	InputPower                             *OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower                            `path:"input-power" module:"openconfig-terminal-device"`
	ΛInputPower                            []ygot.Annotation                                                                                   `path:"@input-power" ygotAnnotation:"true"`
	LaserBiasCurrent                       *OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent                      `path:"laser-bias-current" module:"openconfig-terminal-device"`
	ΛLaserBiasCurrent                      []ygot.Annotation                                                                                   `path:"@laser-bias-current" ygotAnnotation:"true"`
	LinePort                               *string                                                                                             `path:"line-port" module:"openconfig-terminal-device"`
	ΛLinePort                              []ygot.Annotation                                                                                   `path:"@line-port" ygotAnnotation:"true"`
	OperationalMode                        *uint16                                                                                             `path:"operational-mode" module:"openconfig-terminal-device"`
	ΛOperationalMode                       []ygot.Annotation                                                                                   `path:"@operational-mode" ygotAnnotation:"true"`
	OutputPower                            *OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower                           `path:"output-power" module:"openconfig-terminal-device"`
	ΛOutputPower                           []ygot.Annotation                                                                                   `path:"@output-power" ygotAnnotation:"true"`
	PolarizationDependentLoss              *OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss             `path:"polarization-dependent-loss" module:"openconfig-terminal-device"`
	ΛPolarizationDependentLoss             []ygot.Annotation                                                                                   `path:"@polarization-dependent-loss" ygotAnnotation:"true"`
	PolarizationModeDispersion             *OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion            `path:"polarization-mode-dispersion" module:"openconfig-terminal-device"`
	ΛPolarizationModeDispersion            []ygot.Annotation                                                                                   `path:"@polarization-mode-dispersion" ygotAnnotation:"true"`
	SecondOrderPolarizationModeDispersion  *OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion `path:"second-order-polarization-mode-dispersion" module:"openconfig-terminal-device"`
	ΛSecondOrderPolarizationModeDispersion []ygot.Annotation                                                                                   `path:"@second-order-polarization-mode-dispersion" ygotAnnotation:"true"`
	TargetOutputPower                      *float64                                                                                            `path:"target-output-power" module:"openconfig-terminal-device"`
	ΛTargetOutputPower                     []ygot.Annotation                                                                                   `path:"@target-output-power" ygotAnnotation:"true"`
}

OpenconfigPlatform_Components_Component_OpticalChannel_State represents the /openconfig-platform/components/component/optical-channel/state YANG schema element.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State) GetChromaticDispersion

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

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State) GetFrequency

GetFrequency retrieves the value of the leaf Frequency from the OpenconfigPlatform_Components_Component_OpticalChannel_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Frequency is set, it can safely use t.GetFrequency() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Frequency == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State) GetGroupId

GetGroupId retrieves the value of the leaf GroupId from the OpenconfigPlatform_Components_Component_OpticalChannel_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if GroupId is set, it can safely use t.GetGroupId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.GroupId == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State) GetInputPower

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

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State) GetLaserBiasCurrent

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

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State) GetLinePort

GetLinePort retrieves the value of the leaf LinePort from the OpenconfigPlatform_Components_Component_OpticalChannel_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LinePort is set, it can safely use t.GetLinePort() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LinePort == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State) GetOperationalMode

GetOperationalMode retrieves the value of the leaf OperationalMode from the OpenconfigPlatform_Components_Component_OpticalChannel_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OperationalMode is set, it can safely use t.GetOperationalMode() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OperationalMode == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State) GetOrCreateChromaticDispersion

GetOrCreateChromaticDispersion retrieves the value of the ChromaticDispersion field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State) GetOrCreateInputPower

GetOrCreateInputPower retrieves the value of the InputPower field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State) GetOrCreateLaserBiasCurrent

GetOrCreateLaserBiasCurrent retrieves the value of the LaserBiasCurrent field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State) GetOrCreateOutputPower

GetOrCreateOutputPower retrieves the value of the OutputPower field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State) GetOrCreatePolarizationDependentLoss

GetOrCreatePolarizationDependentLoss retrieves the value of the PolarizationDependentLoss field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State) GetOrCreatePolarizationModeDispersion

GetOrCreatePolarizationModeDispersion retrieves the value of the PolarizationModeDispersion field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State) GetOrCreateSecondOrderPolarizationModeDispersion

GetOrCreateSecondOrderPolarizationModeDispersion retrieves the value of the SecondOrderPolarizationModeDispersion field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State) GetOutputPower

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

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State) GetPolarizationDependentLoss

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

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State) GetPolarizationModeDispersion

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

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State) GetSecondOrderPolarizationModeDispersion

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

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State) GetTargetOutputPower

GetTargetOutputPower retrieves the value of the leaf TargetOutputPower from the OpenconfigPlatform_Components_Component_OpticalChannel_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TargetOutputPower is set, it can safely use t.GetTargetOutputPower() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TargetOutputPower == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State) Validate

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

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State) ΛEnumTypeMap

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

type OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion

type OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Avg       *float64          `path:"avg" module:"openconfig-terminal-device"`
	ΛAvg      []ygot.Annotation `path:"@avg" ygotAnnotation:"true"`
	Instant   *float64          `path:"instant" module:"openconfig-terminal-device"`
	ΛInstant  []ygot.Annotation `path:"@instant" ygotAnnotation:"true"`
	Interval  *uint64           `path:"interval" module:"openconfig-terminal-device"`
	ΛInterval []ygot.Annotation `path:"@interval" ygotAnnotation:"true"`
	Max       *float64          `path:"max" module:"openconfig-terminal-device"`
	ΛMax      []ygot.Annotation `path:"@max" ygotAnnotation:"true"`
	MaxTime   *uint64           `path:"max-time" module:"openconfig-terminal-device"`
	ΛMaxTime  []ygot.Annotation `path:"@max-time" ygotAnnotation:"true"`
	Min       *float64          `path:"min" module:"openconfig-terminal-device"`
	ΛMin      []ygot.Annotation `path:"@min" ygotAnnotation:"true"`
	MinTime   *uint64           `path:"min-time" module:"openconfig-terminal-device"`
	ΛMinTime  []ygot.Annotation `path:"@min-time" ygotAnnotation:"true"`
}

OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion represents the /openconfig-platform/components/component/optical-channel/state/chromatic-dispersion YANG schema element.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion) GetAvg

GetAvg retrieves the value of the leaf Avg from the OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Avg is set, it can safely use t.GetAvg() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Avg == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion) GetInstant

GetInstant retrieves the value of the leaf Instant from the OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Instant is set, it can safely use t.GetInstant() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Instant == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion) GetInterval

GetInterval retrieves the value of the leaf Interval from the OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interval is set, it can safely use t.GetInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interval == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion) GetMax

GetMax retrieves the value of the leaf Max from the OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Max is set, it can safely use t.GetMax() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Max == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion) GetMaxTime

GetMaxTime retrieves the value of the leaf MaxTime from the OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MaxTime is set, it can safely use t.GetMaxTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MaxTime == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion) GetMin

GetMin retrieves the value of the leaf Min from the OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Min is set, it can safely use t.GetMin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Min == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion) GetMinTime

GetMinTime retrieves the value of the leaf MinTime from the OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MinTime is set, it can safely use t.GetMinTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MinTime == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion) Validate

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

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_ChromaticDispersion) ΛEnumTypeMap

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

type OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower

type OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Avg       *float64          `path:"avg" module:"openconfig-terminal-device"`
	ΛAvg      []ygot.Annotation `path:"@avg" ygotAnnotation:"true"`
	Instant   *float64          `path:"instant" module:"openconfig-terminal-device"`
	ΛInstant  []ygot.Annotation `path:"@instant" ygotAnnotation:"true"`
	Interval  *uint64           `path:"interval" module:"openconfig-terminal-device"`
	ΛInterval []ygot.Annotation `path:"@interval" ygotAnnotation:"true"`
	Max       *float64          `path:"max" module:"openconfig-terminal-device"`
	ΛMax      []ygot.Annotation `path:"@max" ygotAnnotation:"true"`
	MaxTime   *uint64           `path:"max-time" module:"openconfig-terminal-device"`
	ΛMaxTime  []ygot.Annotation `path:"@max-time" ygotAnnotation:"true"`
	Min       *float64          `path:"min" module:"openconfig-terminal-device"`
	ΛMin      []ygot.Annotation `path:"@min" ygotAnnotation:"true"`
	MinTime   *uint64           `path:"min-time" module:"openconfig-terminal-device"`
	ΛMinTime  []ygot.Annotation `path:"@min-time" ygotAnnotation:"true"`
}

OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower represents the /openconfig-platform/components/component/optical-channel/state/input-power YANG schema element.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower) GetAvg

GetAvg retrieves the value of the leaf Avg from the OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Avg is set, it can safely use t.GetAvg() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Avg == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower) GetInstant

GetInstant retrieves the value of the leaf Instant from the OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Instant is set, it can safely use t.GetInstant() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Instant == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower) GetInterval

GetInterval retrieves the value of the leaf Interval from the OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interval is set, it can safely use t.GetInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interval == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower) GetMax

GetMax retrieves the value of the leaf Max from the OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Max is set, it can safely use t.GetMax() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Max == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower) GetMaxTime

GetMaxTime retrieves the value of the leaf MaxTime from the OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MaxTime is set, it can safely use t.GetMaxTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MaxTime == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower) GetMin

GetMin retrieves the value of the leaf Min from the OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Min is set, it can safely use t.GetMin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Min == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower) GetMinTime

GetMinTime retrieves the value of the leaf MinTime from the OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MinTime is set, it can safely use t.GetMinTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MinTime == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower) Validate

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

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_InputPower) ΛEnumTypeMap

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

type OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent

type OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Avg       *float64          `path:"avg" module:"openconfig-terminal-device"`
	ΛAvg      []ygot.Annotation `path:"@avg" ygotAnnotation:"true"`
	Instant   *float64          `path:"instant" module:"openconfig-terminal-device"`
	ΛInstant  []ygot.Annotation `path:"@instant" ygotAnnotation:"true"`
	Interval  *uint64           `path:"interval" module:"openconfig-terminal-device"`
	ΛInterval []ygot.Annotation `path:"@interval" ygotAnnotation:"true"`
	Max       *float64          `path:"max" module:"openconfig-terminal-device"`
	ΛMax      []ygot.Annotation `path:"@max" ygotAnnotation:"true"`
	MaxTime   *uint64           `path:"max-time" module:"openconfig-terminal-device"`
	ΛMaxTime  []ygot.Annotation `path:"@max-time" ygotAnnotation:"true"`
	Min       *float64          `path:"min" module:"openconfig-terminal-device"`
	ΛMin      []ygot.Annotation `path:"@min" ygotAnnotation:"true"`
	MinTime   *uint64           `path:"min-time" module:"openconfig-terminal-device"`
	ΛMinTime  []ygot.Annotation `path:"@min-time" ygotAnnotation:"true"`
}

OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent represents the /openconfig-platform/components/component/optical-channel/state/laser-bias-current YANG schema element.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent) GetAvg

GetAvg retrieves the value of the leaf Avg from the OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Avg is set, it can safely use t.GetAvg() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Avg == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent) GetInstant

GetInstant retrieves the value of the leaf Instant from the OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Instant is set, it can safely use t.GetInstant() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Instant == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent) GetInterval

GetInterval retrieves the value of the leaf Interval from the OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interval is set, it can safely use t.GetInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interval == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent) GetMax

GetMax retrieves the value of the leaf Max from the OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Max is set, it can safely use t.GetMax() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Max == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent) GetMaxTime

GetMaxTime retrieves the value of the leaf MaxTime from the OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MaxTime is set, it can safely use t.GetMaxTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MaxTime == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent) GetMin

GetMin retrieves the value of the leaf Min from the OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Min is set, it can safely use t.GetMin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Min == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent) GetMinTime

GetMinTime retrieves the value of the leaf MinTime from the OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MinTime is set, it can safely use t.GetMinTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MinTime == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent) Validate

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

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_LaserBiasCurrent) ΛEnumTypeMap

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

type OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower

type OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Avg       *float64          `path:"avg" module:"openconfig-terminal-device"`
	ΛAvg      []ygot.Annotation `path:"@avg" ygotAnnotation:"true"`
	Instant   *float64          `path:"instant" module:"openconfig-terminal-device"`
	ΛInstant  []ygot.Annotation `path:"@instant" ygotAnnotation:"true"`
	Interval  *uint64           `path:"interval" module:"openconfig-terminal-device"`
	ΛInterval []ygot.Annotation `path:"@interval" ygotAnnotation:"true"`
	Max       *float64          `path:"max" module:"openconfig-terminal-device"`
	ΛMax      []ygot.Annotation `path:"@max" ygotAnnotation:"true"`
	MaxTime   *uint64           `path:"max-time" module:"openconfig-terminal-device"`
	ΛMaxTime  []ygot.Annotation `path:"@max-time" ygotAnnotation:"true"`
	Min       *float64          `path:"min" module:"openconfig-terminal-device"`
	ΛMin      []ygot.Annotation `path:"@min" ygotAnnotation:"true"`
	MinTime   *uint64           `path:"min-time" module:"openconfig-terminal-device"`
	ΛMinTime  []ygot.Annotation `path:"@min-time" ygotAnnotation:"true"`
}

OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower represents the /openconfig-platform/components/component/optical-channel/state/output-power YANG schema element.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower) GetAvg

GetAvg retrieves the value of the leaf Avg from the OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Avg is set, it can safely use t.GetAvg() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Avg == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower) GetInstant

GetInstant retrieves the value of the leaf Instant from the OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Instant is set, it can safely use t.GetInstant() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Instant == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower) GetInterval

GetInterval retrieves the value of the leaf Interval from the OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interval is set, it can safely use t.GetInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interval == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower) GetMax

GetMax retrieves the value of the leaf Max from the OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Max is set, it can safely use t.GetMax() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Max == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower) GetMaxTime

GetMaxTime retrieves the value of the leaf MaxTime from the OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MaxTime is set, it can safely use t.GetMaxTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MaxTime == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower) GetMin

GetMin retrieves the value of the leaf Min from the OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Min is set, it can safely use t.GetMin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Min == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower) GetMinTime

GetMinTime retrieves the value of the leaf MinTime from the OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MinTime is set, it can safely use t.GetMinTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MinTime == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower) Validate

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

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_OutputPower) ΛEnumTypeMap

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

type OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss

type OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Avg       *float64          `path:"avg" module:"openconfig-terminal-device"`
	ΛAvg      []ygot.Annotation `path:"@avg" ygotAnnotation:"true"`
	Instant   *float64          `path:"instant" module:"openconfig-terminal-device"`
	ΛInstant  []ygot.Annotation `path:"@instant" ygotAnnotation:"true"`
	Interval  *uint64           `path:"interval" module:"openconfig-terminal-device"`
	ΛInterval []ygot.Annotation `path:"@interval" ygotAnnotation:"true"`
	Max       *float64          `path:"max" module:"openconfig-terminal-device"`
	ΛMax      []ygot.Annotation `path:"@max" ygotAnnotation:"true"`
	MaxTime   *uint64           `path:"max-time" module:"openconfig-terminal-device"`
	ΛMaxTime  []ygot.Annotation `path:"@max-time" ygotAnnotation:"true"`
	Min       *float64          `path:"min" module:"openconfig-terminal-device"`
	ΛMin      []ygot.Annotation `path:"@min" ygotAnnotation:"true"`
	MinTime   *uint64           `path:"min-time" module:"openconfig-terminal-device"`
	ΛMinTime  []ygot.Annotation `path:"@min-time" ygotAnnotation:"true"`
}

OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss represents the /openconfig-platform/components/component/optical-channel/state/polarization-dependent-loss YANG schema element.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss) GetAvg

GetAvg retrieves the value of the leaf Avg from the OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Avg is set, it can safely use t.GetAvg() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Avg == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss) GetInstant

GetInstant retrieves the value of the leaf Instant from the OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Instant is set, it can safely use t.GetInstant() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Instant == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss) GetInterval

GetInterval retrieves the value of the leaf Interval from the OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interval is set, it can safely use t.GetInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interval == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss) GetMax

GetMax retrieves the value of the leaf Max from the OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Max is set, it can safely use t.GetMax() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Max == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss) GetMaxTime

GetMaxTime retrieves the value of the leaf MaxTime from the OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MaxTime is set, it can safely use t.GetMaxTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MaxTime == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss) GetMin

GetMin retrieves the value of the leaf Min from the OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Min is set, it can safely use t.GetMin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Min == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss) GetMinTime

GetMinTime retrieves the value of the leaf MinTime from the OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MinTime is set, it can safely use t.GetMinTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MinTime == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss) Validate

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

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationDependentLoss) ΛEnumTypeMap

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

type OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion

type OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Avg       *float64          `path:"avg" module:"openconfig-terminal-device"`
	ΛAvg      []ygot.Annotation `path:"@avg" ygotAnnotation:"true"`
	Instant   *float64          `path:"instant" module:"openconfig-terminal-device"`
	ΛInstant  []ygot.Annotation `path:"@instant" ygotAnnotation:"true"`
	Interval  *uint64           `path:"interval" module:"openconfig-terminal-device"`
	ΛInterval []ygot.Annotation `path:"@interval" ygotAnnotation:"true"`
	Max       *float64          `path:"max" module:"openconfig-terminal-device"`
	ΛMax      []ygot.Annotation `path:"@max" ygotAnnotation:"true"`
	MaxTime   *uint64           `path:"max-time" module:"openconfig-terminal-device"`
	ΛMaxTime  []ygot.Annotation `path:"@max-time" ygotAnnotation:"true"`
	Min       *float64          `path:"min" module:"openconfig-terminal-device"`
	ΛMin      []ygot.Annotation `path:"@min" ygotAnnotation:"true"`
	MinTime   *uint64           `path:"min-time" module:"openconfig-terminal-device"`
	ΛMinTime  []ygot.Annotation `path:"@min-time" ygotAnnotation:"true"`
}

OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion represents the /openconfig-platform/components/component/optical-channel/state/polarization-mode-dispersion YANG schema element.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion) GetAvg

GetAvg retrieves the value of the leaf Avg from the OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Avg is set, it can safely use t.GetAvg() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Avg == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion) GetInstant

GetInstant retrieves the value of the leaf Instant from the OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Instant is set, it can safely use t.GetInstant() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Instant == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion) GetInterval

GetInterval retrieves the value of the leaf Interval from the OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interval is set, it can safely use t.GetInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interval == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion) GetMax

GetMax retrieves the value of the leaf Max from the OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Max is set, it can safely use t.GetMax() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Max == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion) GetMaxTime

GetMaxTime retrieves the value of the leaf MaxTime from the OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MaxTime is set, it can safely use t.GetMaxTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MaxTime == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion) GetMin

GetMin retrieves the value of the leaf Min from the OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Min is set, it can safely use t.GetMin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Min == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion) GetMinTime

GetMinTime retrieves the value of the leaf MinTime from the OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MinTime is set, it can safely use t.GetMinTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MinTime == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion) Validate

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

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_PolarizationModeDispersion) ΛEnumTypeMap

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

type OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion

type OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Avg       *float64          `path:"avg" module:"openconfig-terminal-device"`
	ΛAvg      []ygot.Annotation `path:"@avg" ygotAnnotation:"true"`
	Instant   *float64          `path:"instant" module:"openconfig-terminal-device"`
	ΛInstant  []ygot.Annotation `path:"@instant" ygotAnnotation:"true"`
	Interval  *uint64           `path:"interval" module:"openconfig-terminal-device"`
	ΛInterval []ygot.Annotation `path:"@interval" ygotAnnotation:"true"`
	Max       *float64          `path:"max" module:"openconfig-terminal-device"`
	ΛMax      []ygot.Annotation `path:"@max" ygotAnnotation:"true"`
	MaxTime   *uint64           `path:"max-time" module:"openconfig-terminal-device"`
	ΛMaxTime  []ygot.Annotation `path:"@max-time" ygotAnnotation:"true"`
	Min       *float64          `path:"min" module:"openconfig-terminal-device"`
	ΛMin      []ygot.Annotation `path:"@min" ygotAnnotation:"true"`
	MinTime   *uint64           `path:"min-time" module:"openconfig-terminal-device"`
	ΛMinTime  []ygot.Annotation `path:"@min-time" ygotAnnotation:"true"`
}

OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion represents the /openconfig-platform/components/component/optical-channel/state/second-order-polarization-mode-dispersion YANG schema element.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion) GetAvg

GetAvg retrieves the value of the leaf Avg from the OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Avg is set, it can safely use t.GetAvg() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Avg == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion) GetInstant

GetInstant retrieves the value of the leaf Instant from the OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Instant is set, it can safely use t.GetInstant() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Instant == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion) GetInterval

GetInterval retrieves the value of the leaf Interval from the OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interval is set, it can safely use t.GetInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interval == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion) GetMax

GetMax retrieves the value of the leaf Max from the OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Max is set, it can safely use t.GetMax() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Max == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion) GetMaxTime

GetMaxTime retrieves the value of the leaf MaxTime from the OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MaxTime is set, it can safely use t.GetMaxTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MaxTime == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion) GetMin

GetMin retrieves the value of the leaf Min from the OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Min is set, it can safely use t.GetMin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Min == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion) GetMinTime

GetMinTime retrieves the value of the leaf MinTime from the OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MinTime is set, it can safely use t.GetMinTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MinTime == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion) Validate

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

func (*OpenconfigPlatform_Components_Component_OpticalChannel_State_SecondOrderPolarizationModeDispersion) ΛEnumTypeMap

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

type OpenconfigPlatform_Components_Component_Port

type OpenconfigPlatform_Components_Component_Port struct {
	ΛMetadata     []ygot.Annotation                                          `path:"@" ygotAnnotation:"true"`
	BreakoutMode  *OpenconfigPlatform_Components_Component_Port_BreakoutMode `path:"breakout-mode" module:"openconfig-platform-port"`
	ΛBreakoutMode []ygot.Annotation                                          `path:"@breakout-mode" ygotAnnotation:"true"`
	Config        *OpenconfigPlatform_Components_Component_Port_Config       `path:"config" module:"openconfig-platform"`
	ΛConfig       []ygot.Annotation                                          `path:"@config" ygotAnnotation:"true"`
	State         *OpenconfigPlatform_Components_Component_Port_State        `path:"state" module:"openconfig-platform"`
	ΛState        []ygot.Annotation                                          `path:"@state" ygotAnnotation:"true"`
}

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

func (*OpenconfigPlatform_Components_Component_Port) GetBreakoutMode

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

func (*OpenconfigPlatform_Components_Component_Port) GetConfig

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

func (*OpenconfigPlatform_Components_Component_Port) GetOrCreateBreakoutMode

GetOrCreateBreakoutMode retrieves the value of the BreakoutMode field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component_Port) GetOrCreateConfig

GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component_Port) GetOrCreateState

GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component_Port) GetState

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

func (*OpenconfigPlatform_Components_Component_Port) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_Port) Validate

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

func (*OpenconfigPlatform_Components_Component_Port) ΛEnumTypeMap

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

type OpenconfigPlatform_Components_Component_Port_BreakoutMode

type OpenconfigPlatform_Components_Component_Port_BreakoutMode struct {
	ΛMetadata []ygot.Annotation                                                 `path:"@" ygotAnnotation:"true"`
	Config    *OpenconfigPlatform_Components_Component_Port_BreakoutMode_Config `path:"config" module:"openconfig-platform-port"`
	ΛConfig   []ygot.Annotation                                                 `path:"@config" ygotAnnotation:"true"`
	State     *OpenconfigPlatform_Components_Component_Port_BreakoutMode_State  `path:"state" module:"openconfig-platform-port"`
	ΛState    []ygot.Annotation                                                 `path:"@state" ygotAnnotation:"true"`
}

OpenconfigPlatform_Components_Component_Port_BreakoutMode represents the /openconfig-platform/components/component/port/breakout-mode YANG schema element.

func (*OpenconfigPlatform_Components_Component_Port_BreakoutMode) GetConfig

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

func (*OpenconfigPlatform_Components_Component_Port_BreakoutMode) GetOrCreateConfig

GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component_Port_BreakoutMode) GetOrCreateState

GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component_Port_BreakoutMode) GetState

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

func (*OpenconfigPlatform_Components_Component_Port_BreakoutMode) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_Port_BreakoutMode) Validate

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

func (*OpenconfigPlatform_Components_Component_Port_BreakoutMode) ΛEnumTypeMap

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

type OpenconfigPlatform_Components_Component_Port_BreakoutMode_Config

type OpenconfigPlatform_Components_Component_Port_BreakoutMode_Config struct {
	ΛMetadata     []ygot.Annotation                     `path:"@" ygotAnnotation:"true"`
	ChannelSpeed  E_OpenconfigIfEthernet_ETHERNET_SPEED `path:"channel-speed" module:"openconfig-platform-port"`
	ΛChannelSpeed []ygot.Annotation                     `path:"@channel-speed" ygotAnnotation:"true"`
	NumChannels   *uint8                                `path:"num-channels" module:"openconfig-platform-port"`
	ΛNumChannels  []ygot.Annotation                     `path:"@num-channels" ygotAnnotation:"true"`
}

OpenconfigPlatform_Components_Component_Port_BreakoutMode_Config represents the /openconfig-platform/components/component/port/breakout-mode/config YANG schema element.

func (*OpenconfigPlatform_Components_Component_Port_BreakoutMode_Config) GetChannelSpeed

GetChannelSpeed retrieves the value of the leaf ChannelSpeed from the OpenconfigPlatform_Components_Component_Port_BreakoutMode_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ChannelSpeed is set, it can safely use t.GetChannelSpeed() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ChannelSpeed == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Port_BreakoutMode_Config) GetNumChannels

GetNumChannels retrieves the value of the leaf NumChannels from the OpenconfigPlatform_Components_Component_Port_BreakoutMode_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if NumChannels is set, it can safely use t.GetNumChannels() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.NumChannels == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Port_BreakoutMode_Config) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_Port_BreakoutMode_Config) Validate

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

func (*OpenconfigPlatform_Components_Component_Port_BreakoutMode_Config) ΛEnumTypeMap

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

type OpenconfigPlatform_Components_Component_Port_BreakoutMode_State

type OpenconfigPlatform_Components_Component_Port_BreakoutMode_State struct {
	ΛMetadata     []ygot.Annotation                     `path:"@" ygotAnnotation:"true"`
	ChannelSpeed  E_OpenconfigIfEthernet_ETHERNET_SPEED `path:"channel-speed" module:"openconfig-platform-port"`
	ΛChannelSpeed []ygot.Annotation                     `path:"@channel-speed" ygotAnnotation:"true"`
	NumChannels   *uint8                                `path:"num-channels" module:"openconfig-platform-port"`
	ΛNumChannels  []ygot.Annotation                     `path:"@num-channels" ygotAnnotation:"true"`
}

OpenconfigPlatform_Components_Component_Port_BreakoutMode_State represents the /openconfig-platform/components/component/port/breakout-mode/state YANG schema element.

func (*OpenconfigPlatform_Components_Component_Port_BreakoutMode_State) GetChannelSpeed

GetChannelSpeed retrieves the value of the leaf ChannelSpeed from the OpenconfigPlatform_Components_Component_Port_BreakoutMode_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ChannelSpeed is set, it can safely use t.GetChannelSpeed() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ChannelSpeed == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Port_BreakoutMode_State) GetNumChannels

GetNumChannels retrieves the value of the leaf NumChannels from the OpenconfigPlatform_Components_Component_Port_BreakoutMode_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if NumChannels is set, it can safely use t.GetNumChannels() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.NumChannels == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Port_BreakoutMode_State) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_Port_BreakoutMode_State) Validate

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

func (*OpenconfigPlatform_Components_Component_Port_BreakoutMode_State) ΛEnumTypeMap

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

type OpenconfigPlatform_Components_Component_Port_Config

type OpenconfigPlatform_Components_Component_Port_Config struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
}

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

func (*OpenconfigPlatform_Components_Component_Port_Config) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_Port_Config) Validate

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

func (*OpenconfigPlatform_Components_Component_Port_Config) ΛEnumTypeMap

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

type OpenconfigPlatform_Components_Component_Port_State

type OpenconfigPlatform_Components_Component_Port_State struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
}

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

func (*OpenconfigPlatform_Components_Component_Port_State) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_Port_State) Validate

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

func (*OpenconfigPlatform_Components_Component_Port_State) ΛEnumTypeMap

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

type OpenconfigPlatform_Components_Component_PowerSupply

type OpenconfigPlatform_Components_Component_PowerSupply struct {
	ΛMetadata []ygot.Annotation                                           `path:"@" ygotAnnotation:"true"`
	Config    *OpenconfigPlatform_Components_Component_PowerSupply_Config `path:"config" module:"openconfig-platform"`
	ΛConfig   []ygot.Annotation                                           `path:"@config" ygotAnnotation:"true"`
	State     *OpenconfigPlatform_Components_Component_PowerSupply_State  `path:"state" module:"openconfig-platform"`
	ΛState    []ygot.Annotation                                           `path:"@state" ygotAnnotation:"true"`
}

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

func (*OpenconfigPlatform_Components_Component_PowerSupply) GetConfig

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

func (*OpenconfigPlatform_Components_Component_PowerSupply) GetOrCreateConfig

GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component_PowerSupply) GetOrCreateState

GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component_PowerSupply) GetState

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

func (*OpenconfigPlatform_Components_Component_PowerSupply) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_PowerSupply) Validate

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

func (*OpenconfigPlatform_Components_Component_PowerSupply) ΛEnumTypeMap

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

type OpenconfigPlatform_Components_Component_PowerSupply_Config

type OpenconfigPlatform_Components_Component_PowerSupply_Config struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
}

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

func (*OpenconfigPlatform_Components_Component_PowerSupply_Config) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_PowerSupply_Config) Validate

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

func (*OpenconfigPlatform_Components_Component_PowerSupply_Config) ΛEnumTypeMap

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

type OpenconfigPlatform_Components_Component_PowerSupply_State

type OpenconfigPlatform_Components_Component_PowerSupply_State struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
}

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

func (*OpenconfigPlatform_Components_Component_PowerSupply_State) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_PowerSupply_State) Validate

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

func (*OpenconfigPlatform_Components_Component_PowerSupply_State) ΛEnumTypeMap

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

type OpenconfigPlatform_Components_Component_Properties

type OpenconfigPlatform_Components_Component_Properties struct {
	ΛMetadata []ygot.Annotation                                                       `path:"@" ygotAnnotation:"true"`
	Property  map[string]*OpenconfigPlatform_Components_Component_Properties_Property `path:"property" module:"openconfig-platform"`
	ΛProperty []ygot.Annotation                                                       `path:"@property" ygotAnnotation:"true"`
}

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

func (*OpenconfigPlatform_Components_Component_Properties) AppendProperty

AppendProperty appends the supplied OpenconfigPlatform_Components_Component_Properties_Property struct to the list Property of OpenconfigPlatform_Components_Component_Properties. If the key value(s) specified in the supplied OpenconfigPlatform_Components_Component_Properties_Property already exist in the list, an error is returned.

func (*OpenconfigPlatform_Components_Component_Properties) GetOrCreateProperty

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

func (*OpenconfigPlatform_Components_Component_Properties) GetProperty

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

func (*OpenconfigPlatform_Components_Component_Properties) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_Properties) NewProperty

NewProperty creates a new entry in the Property list of the OpenconfigPlatform_Components_Component_Properties struct. The keys of the list are populated from the input arguments.

func (*OpenconfigPlatform_Components_Component_Properties) RenameProperty

func (t *OpenconfigPlatform_Components_Component_Properties) RenameProperty(oldK, newK string) error

RenameProperty renames an entry in the list Property within the OpenconfigPlatform_Components_Component_Properties struct. The entry with key oldK is renamed to newK updating the key within the value.

func (*OpenconfigPlatform_Components_Component_Properties) Validate

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

func (*OpenconfigPlatform_Components_Component_Properties) ΛEnumTypeMap

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

type OpenconfigPlatform_Components_Component_Properties_Property

type OpenconfigPlatform_Components_Component_Properties_Property struct {
	ΛMetadata []ygot.Annotation                                                   `path:"@" ygotAnnotation:"true"`
	Config    *OpenconfigPlatform_Components_Component_Properties_Property_Config `path:"config" module:"openconfig-platform"`
	ΛConfig   []ygot.Annotation                                                   `path:"@config" ygotAnnotation:"true"`
	Name      *string                                                             `path:"name" module:"openconfig-platform"`
	ΛName     []ygot.Annotation                                                   `path:"@name" ygotAnnotation:"true"`
	State     *OpenconfigPlatform_Components_Component_Properties_Property_State  `path:"state" module:"openconfig-platform"`
	ΛState    []ygot.Annotation                                                   `path:"@state" ygotAnnotation:"true"`
}

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

func (*OpenconfigPlatform_Components_Component_Properties_Property) GetConfig

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

func (*OpenconfigPlatform_Components_Component_Properties_Property) GetName

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

func (*OpenconfigPlatform_Components_Component_Properties_Property) GetOrCreateConfig

GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component_Properties_Property) GetOrCreateState

GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component_Properties_Property) GetState

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

func (*OpenconfigPlatform_Components_Component_Properties_Property) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_Properties_Property) Validate

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

func (*OpenconfigPlatform_Components_Component_Properties_Property) ΛEnumTypeMap

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

func (*OpenconfigPlatform_Components_Component_Properties_Property) ΛListKeyMap

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

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

type OpenconfigPlatform_Components_Component_Properties_Property_Config

type OpenconfigPlatform_Components_Component_Properties_Property_Config struct {
	ΛMetadata []ygot.Annotation                                                              `path:"@" ygotAnnotation:"true"`
	Name      *string                                                                        `path:"name" module:"openconfig-platform"`
	ΛName     []ygot.Annotation                                                              `path:"@name" ygotAnnotation:"true"`
	Value     OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union `path:"value" module:"openconfig-platform"`
	ΛValue    []ygot.Annotation                                                              `path:"@value" ygotAnnotation:"true"`
}

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

func (*OpenconfigPlatform_Components_Component_Properties_Property_Config) GetName

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

func (*OpenconfigPlatform_Components_Component_Properties_Property_Config) GetValue

GetValue retrieves the value of the leaf Value from the OpenconfigPlatform_Components_Component_Properties_Property_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Value is set, it can safely use t.GetValue() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Value == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Properties_Property_Config) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_Properties_Property_Config) To_OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union

func (t *OpenconfigPlatform_Components_Component_Properties_Property_Config) To_OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union(i interface{}) (OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union, error)

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

func (*OpenconfigPlatform_Components_Component_Properties_Property_Config) Validate

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

func (*OpenconfigPlatform_Components_Component_Properties_Property_Config) ΛEnumTypeMap

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

type OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union

type OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union interface {
	Is_OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union()
}

OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union is an interface that is implemented by valid types for the union for the leaf /openconfig-platform/components/component/properties/property/config/value within the YANG schema.

type OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_Bool

type OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_Bool struct {
	Bool bool
}

OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_Bool is used when /openconfig-platform/components/component/properties/property/config/value is to be set to a bool value.

func (*OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_Bool) Is_OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union

func (*OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_Bool) Is_OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union()

Is_OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union ensures that OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_Bool implements the OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union interface.

type OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_Float64

type OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_Float64 struct {
	Float64 float64
}

OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_Float64 is used when /openconfig-platform/components/component/properties/property/config/value is to be set to a float64 value.

func (*OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_Float64) Is_OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union

func (*OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_Float64) Is_OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union()

Is_OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union ensures that OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_Float64 implements the OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union interface.

type OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_Int64

type OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_Int64 struct {
	Int64 int64
}

OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_Int64 is used when /openconfig-platform/components/component/properties/property/config/value is to be set to a int64 value.

func (*OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_Int64) Is_OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union

func (*OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_Int64) Is_OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union()

Is_OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union ensures that OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_Int64 implements the OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union interface.

type OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_String

type OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_String struct {
	String string
}

OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_String is used when /openconfig-platform/components/component/properties/property/config/value is to be set to a string value.

func (*OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_String) Is_OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union

func (*OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_String) Is_OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union()

Is_OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union ensures that OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_String implements the OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union interface.

type OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_Uint64

type OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_Uint64 struct {
	Uint64 uint64
}

OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_Uint64 is used when /openconfig-platform/components/component/properties/property/config/value is to be set to a uint64 value.

func (*OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_Uint64) Is_OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union

func (*OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_Uint64) Is_OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union()

Is_OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union ensures that OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union_Uint64 implements the OpenconfigPlatform_Components_Component_Properties_Property_Config_Value_Union interface.

type OpenconfigPlatform_Components_Component_Properties_Property_State

type OpenconfigPlatform_Components_Component_Properties_Property_State struct {
	ΛMetadata     []ygot.Annotation                                                             `path:"@" ygotAnnotation:"true"`
	Configurable  *bool                                                                         `path:"configurable" module:"openconfig-platform"`
	ΛConfigurable []ygot.Annotation                                                             `path:"@configurable" ygotAnnotation:"true"`
	Name          *string                                                                       `path:"name" module:"openconfig-platform"`
	ΛName         []ygot.Annotation                                                             `path:"@name" ygotAnnotation:"true"`
	Value         OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union `path:"value" module:"openconfig-platform"`
	ΛValue        []ygot.Annotation                                                             `path:"@value" ygotAnnotation:"true"`
}

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

func (*OpenconfigPlatform_Components_Component_Properties_Property_State) GetConfigurable

GetConfigurable retrieves the value of the leaf Configurable from the OpenconfigPlatform_Components_Component_Properties_Property_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Configurable is set, it can safely use t.GetConfigurable() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Configurable == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Properties_Property_State) GetName

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

func (*OpenconfigPlatform_Components_Component_Properties_Property_State) GetValue

GetValue retrieves the value of the leaf Value from the OpenconfigPlatform_Components_Component_Properties_Property_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Value is set, it can safely use t.GetValue() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Value == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Properties_Property_State) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_Properties_Property_State) To_OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union

func (t *OpenconfigPlatform_Components_Component_Properties_Property_State) To_OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union(i interface{}) (OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union, error)

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

func (*OpenconfigPlatform_Components_Component_Properties_Property_State) Validate

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

func (*OpenconfigPlatform_Components_Component_Properties_Property_State) ΛEnumTypeMap

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

type OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union

type OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union interface {
	Is_OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union()
}

OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union is an interface that is implemented by valid types for the union for the leaf /openconfig-platform/components/component/properties/property/state/value within the YANG schema.

type OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_Bool

type OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_Bool struct {
	Bool bool
}

OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_Bool is used when /openconfig-platform/components/component/properties/property/state/value is to be set to a bool value.

func (*OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_Bool) Is_OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union

func (*OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_Bool) Is_OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union()

Is_OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union ensures that OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_Bool implements the OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union interface.

type OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_Float64

type OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_Float64 struct {
	Float64 float64
}

OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_Float64 is used when /openconfig-platform/components/component/properties/property/state/value is to be set to a float64 value.

func (*OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_Float64) Is_OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union

func (*OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_Float64) Is_OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union()

Is_OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union ensures that OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_Float64 implements the OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union interface.

type OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_Int64

type OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_Int64 struct {
	Int64 int64
}

OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_Int64 is used when /openconfig-platform/components/component/properties/property/state/value is to be set to a int64 value.

func (*OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_Int64) Is_OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union

func (*OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_Int64) Is_OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union()

Is_OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union ensures that OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_Int64 implements the OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union interface.

type OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_String

type OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_String struct {
	String string
}

OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_String is used when /openconfig-platform/components/component/properties/property/state/value is to be set to a string value.

func (*OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_String) Is_OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union

func (*OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_String) Is_OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union()

Is_OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union ensures that OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_String implements the OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union interface.

type OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_Uint64

type OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_Uint64 struct {
	Uint64 uint64
}

OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_Uint64 is used when /openconfig-platform/components/component/properties/property/state/value is to be set to a uint64 value.

func (*OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_Uint64) Is_OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union

func (*OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_Uint64) Is_OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union()

Is_OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union ensures that OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union_Uint64 implements the OpenconfigPlatform_Components_Component_Properties_Property_State_Value_Union interface.

type OpenconfigPlatform_Components_Component_State

type OpenconfigPlatform_Components_Component_State struct {
	ΛMetadata          []ygot.Annotation                                          `path:"@" ygotAnnotation:"true"`
	AllocatedPower     *uint32                                                    `path:"allocated-power" module:"openconfig-platform"`
	ΛAllocatedPower    []ygot.Annotation                                          `path:"@allocated-power" ygotAnnotation:"true"`
	Description        *string                                                    `path:"description" module:"openconfig-platform"`
	ΛDescription       []ygot.Annotation                                          `path:"@description" ygotAnnotation:"true"`
	Empty              *bool                                                      `path:"empty" module:"openconfig-platform"`
	ΛEmpty             []ygot.Annotation                                          `path:"@empty" ygotAnnotation:"true"`
	EquipmentFailure   *bool                                                      `path:"equipment-failure" module:"openconfig-alarms"`
	ΛEquipmentFailure  []ygot.Annotation                                          `path:"@equipment-failure" ygotAnnotation:"true"`
	EquipmentMismatch  *bool                                                      `path:"equipment-mismatch" module:"openconfig-alarms"`
	ΛEquipmentMismatch []ygot.Annotation                                          `path:"@equipment-mismatch" ygotAnnotation:"true"`
	FirmwareVersion    *string                                                    `path:"firmware-version" module:"openconfig-platform"`
	ΛFirmwareVersion   []ygot.Annotation                                          `path:"@firmware-version" ygotAnnotation:"true"`
	HardwareVersion    *string                                                    `path:"hardware-version" module:"openconfig-platform"`
	ΛHardwareVersion   []ygot.Annotation                                          `path:"@hardware-version" ygotAnnotation:"true"`
	Id                 *string                                                    `path:"id" module:"openconfig-platform"`
	ΛId                []ygot.Annotation                                          `path:"@id" ygotAnnotation:"true"`
	Location           *string                                                    `path:"location" module:"openconfig-platform"`
	ΛLocation          []ygot.Annotation                                          `path:"@location" ygotAnnotation:"true"`
	Memory             *OpenconfigPlatform_Components_Component_State_Memory      `path:"memory" module:"openconfig-platform"`
	ΛMemory            []ygot.Annotation                                          `path:"@memory" ygotAnnotation:"true"`
	MfgDate            *string                                                    `path:"mfg-date" module:"openconfig-platform"`
	ΛMfgDate           []ygot.Annotation                                          `path:"@mfg-date" ygotAnnotation:"true"`
	MfgName            *string                                                    `path:"mfg-name" module:"openconfig-platform"`
	ΛMfgName           []ygot.Annotation                                          `path:"@mfg-name" ygotAnnotation:"true"`
	Name               *string                                                    `path:"name" module:"openconfig-platform"`
	ΛName              []ygot.Annotation                                          `path:"@name" ygotAnnotation:"true"`
	OperStatus         E_OpenconfigPlatformTypes_COMPONENT_OPER_STATUS            `path:"oper-status" module:"openconfig-platform"`
	ΛOperStatus        []ygot.Annotation                                          `path:"@oper-status" ygotAnnotation:"true"`
	Parent             *string                                                    `path:"parent" module:"openconfig-platform"`
	ΛParent            []ygot.Annotation                                          `path:"@parent" ygotAnnotation:"true"`
	PartNo             *string                                                    `path:"part-no" module:"openconfig-platform"`
	ΛPartNo            []ygot.Annotation                                          `path:"@part-no" ygotAnnotation:"true"`
	Removable          *bool                                                      `path:"removable" module:"openconfig-platform"`
	ΛRemovable         []ygot.Annotation                                          `path:"@removable" ygotAnnotation:"true"`
	SerialNo           *string                                                    `path:"serial-no" module:"openconfig-platform"`
	ΛSerialNo          []ygot.Annotation                                          `path:"@serial-no" ygotAnnotation:"true"`
	SoftwareVersion    *string                                                    `path:"software-version" module:"openconfig-platform"`
	ΛSoftwareVersion   []ygot.Annotation                                          `path:"@software-version" ygotAnnotation:"true"`
	Temperature        *OpenconfigPlatform_Components_Component_State_Temperature `path:"temperature" module:"openconfig-platform"`
	ΛTemperature       []ygot.Annotation                                          `path:"@temperature" ygotAnnotation:"true"`
	Type               OpenconfigPlatform_Components_Component_State_Type_Union   `path:"type" module:"openconfig-platform"`
	ΛType              []ygot.Annotation                                          `path:"@type" ygotAnnotation:"true"`
	UsedPower          *uint32                                                    `path:"used-power" module:"openconfig-platform"`
	ΛUsedPower         []ygot.Annotation                                          `path:"@used-power" ygotAnnotation:"true"`
}

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

func (*OpenconfigPlatform_Components_Component_State) GetAllocatedPower

GetAllocatedPower retrieves the value of the leaf AllocatedPower from the OpenconfigPlatform_Components_Component_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AllocatedPower is set, it can safely use t.GetAllocatedPower() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AllocatedPower == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_State) GetDescription

GetDescription retrieves the value of the leaf Description from the OpenconfigPlatform_Components_Component_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Description is set, it can safely use t.GetDescription() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Description == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_State) GetEmpty

GetEmpty retrieves the value of the leaf Empty from the OpenconfigPlatform_Components_Component_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Empty is set, it can safely use t.GetEmpty() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Empty == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_State) GetEquipmentFailure

func (t *OpenconfigPlatform_Components_Component_State) GetEquipmentFailure() bool

GetEquipmentFailure retrieves the value of the leaf EquipmentFailure from the OpenconfigPlatform_Components_Component_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if EquipmentFailure is set, it can safely use t.GetEquipmentFailure() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.EquipmentFailure == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_State) GetEquipmentMismatch

func (t *OpenconfigPlatform_Components_Component_State) GetEquipmentMismatch() bool

GetEquipmentMismatch retrieves the value of the leaf EquipmentMismatch from the OpenconfigPlatform_Components_Component_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if EquipmentMismatch is set, it can safely use t.GetEquipmentMismatch() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.EquipmentMismatch == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_State) GetFirmwareVersion

func (t *OpenconfigPlatform_Components_Component_State) GetFirmwareVersion() string

GetFirmwareVersion retrieves the value of the leaf FirmwareVersion from the OpenconfigPlatform_Components_Component_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if FirmwareVersion is set, it can safely use t.GetFirmwareVersion() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.FirmwareVersion == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_State) GetHardwareVersion

func (t *OpenconfigPlatform_Components_Component_State) GetHardwareVersion() string

GetHardwareVersion retrieves the value of the leaf HardwareVersion from the OpenconfigPlatform_Components_Component_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if HardwareVersion is set, it can safely use t.GetHardwareVersion() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.HardwareVersion == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_State) GetId

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

func (*OpenconfigPlatform_Components_Component_State) GetLocation

GetLocation retrieves the value of the leaf Location from the OpenconfigPlatform_Components_Component_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Location is set, it can safely use t.GetLocation() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Location == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_State) GetMemory

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

func (*OpenconfigPlatform_Components_Component_State) GetMfgDate

GetMfgDate retrieves the value of the leaf MfgDate from the OpenconfigPlatform_Components_Component_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MfgDate is set, it can safely use t.GetMfgDate() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MfgDate == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_State) GetMfgName

GetMfgName retrieves the value of the leaf MfgName from the OpenconfigPlatform_Components_Component_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MfgName is set, it can safely use t.GetMfgName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MfgName == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_State) GetName

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

func (*OpenconfigPlatform_Components_Component_State) GetOperStatus

GetOperStatus retrieves the value of the leaf OperStatus from the OpenconfigPlatform_Components_Component_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OperStatus is set, it can safely use t.GetOperStatus() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OperStatus == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_State) GetOrCreateMemory

GetOrCreateMemory retrieves the value of the Memory field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component_State) GetOrCreateTemperature

GetOrCreateTemperature retrieves the value of the Temperature field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component_State) GetParent

GetParent retrieves the value of the leaf Parent from the OpenconfigPlatform_Components_Component_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Parent is set, it can safely use t.GetParent() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Parent == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_State) GetPartNo

GetPartNo retrieves the value of the leaf PartNo from the OpenconfigPlatform_Components_Component_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if PartNo is set, it can safely use t.GetPartNo() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.PartNo == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_State) GetRemovable

GetRemovable retrieves the value of the leaf Removable from the OpenconfigPlatform_Components_Component_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Removable is set, it can safely use t.GetRemovable() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Removable == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_State) GetSerialNo

GetSerialNo retrieves the value of the leaf SerialNo from the OpenconfigPlatform_Components_Component_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SerialNo is set, it can safely use t.GetSerialNo() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SerialNo == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_State) GetSoftwareVersion

func (t *OpenconfigPlatform_Components_Component_State) GetSoftwareVersion() string

GetSoftwareVersion retrieves the value of the leaf SoftwareVersion from the OpenconfigPlatform_Components_Component_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SoftwareVersion is set, it can safely use t.GetSoftwareVersion() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SoftwareVersion == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_State) GetTemperature

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

func (*OpenconfigPlatform_Components_Component_State) GetType

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

func (*OpenconfigPlatform_Components_Component_State) GetUsedPower

GetUsedPower retrieves the value of the leaf UsedPower from the OpenconfigPlatform_Components_Component_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if UsedPower is set, it can safely use t.GetUsedPower() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.UsedPower == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_State) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_State) To_OpenconfigPlatform_Components_Component_State_Type_Union

func (t *OpenconfigPlatform_Components_Component_State) To_OpenconfigPlatform_Components_Component_State_Type_Union(i interface{}) (OpenconfigPlatform_Components_Component_State_Type_Union, error)

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

func (*OpenconfigPlatform_Components_Component_State) Validate

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

func (*OpenconfigPlatform_Components_Component_State) ΛEnumTypeMap

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

type OpenconfigPlatform_Components_Component_State_Memory

type OpenconfigPlatform_Components_Component_State_Memory struct {
	ΛMetadata  []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Available  *uint64           `path:"available" module:"openconfig-platform"`
	ΛAvailable []ygot.Annotation `path:"@available" ygotAnnotation:"true"`
	Utilized   *uint64           `path:"utilized" module:"openconfig-platform"`
	ΛUtilized  []ygot.Annotation `path:"@utilized" ygotAnnotation:"true"`
}

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

func (*OpenconfigPlatform_Components_Component_State_Memory) GetAvailable

GetAvailable retrieves the value of the leaf Available from the OpenconfigPlatform_Components_Component_State_Memory struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Available is set, it can safely use t.GetAvailable() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Available == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_State_Memory) GetUtilized

GetUtilized retrieves the value of the leaf Utilized from the OpenconfigPlatform_Components_Component_State_Memory struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Utilized is set, it can safely use t.GetUtilized() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Utilized == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_State_Memory) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_State_Memory) Validate

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

func (*OpenconfigPlatform_Components_Component_State_Memory) ΛEnumTypeMap

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

type OpenconfigPlatform_Components_Component_State_Temperature

type OpenconfigPlatform_Components_Component_State_Temperature struct {
	ΛMetadata       []ygot.Annotation                                `path:"@" ygotAnnotation:"true"`
	AlarmSeverity   E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY `path:"alarm-severity" module:"openconfig-platform"`
	ΛAlarmSeverity  []ygot.Annotation                                `path:"@alarm-severity" ygotAnnotation:"true"`
	AlarmStatus     *bool                                            `path:"alarm-status" module:"openconfig-platform"`
	ΛAlarmStatus    []ygot.Annotation                                `path:"@alarm-status" ygotAnnotation:"true"`
	AlarmThreshold  *uint32                                          `path:"alarm-threshold" module:"openconfig-platform"`
	ΛAlarmThreshold []ygot.Annotation                                `path:"@alarm-threshold" ygotAnnotation:"true"`
	Avg             *float64                                         `path:"avg" module:"openconfig-platform"`
	ΛAvg            []ygot.Annotation                                `path:"@avg" ygotAnnotation:"true"`
	Instant         *float64                                         `path:"instant" module:"openconfig-platform"`
	ΛInstant        []ygot.Annotation                                `path:"@instant" ygotAnnotation:"true"`
	Interval        *uint64                                          `path:"interval" module:"openconfig-platform"`
	ΛInterval       []ygot.Annotation                                `path:"@interval" ygotAnnotation:"true"`
	Max             *float64                                         `path:"max" module:"openconfig-platform"`
	ΛMax            []ygot.Annotation                                `path:"@max" ygotAnnotation:"true"`
	MaxTime         *uint64                                          `path:"max-time" module:"openconfig-platform"`
	ΛMaxTime        []ygot.Annotation                                `path:"@max-time" ygotAnnotation:"true"`
	Min             *float64                                         `path:"min" module:"openconfig-platform"`
	ΛMin            []ygot.Annotation                                `path:"@min" ygotAnnotation:"true"`
	MinTime         *uint64                                          `path:"min-time" module:"openconfig-platform"`
	ΛMinTime        []ygot.Annotation                                `path:"@min-time" ygotAnnotation:"true"`
}

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

func (*OpenconfigPlatform_Components_Component_State_Temperature) GetAlarmSeverity

GetAlarmSeverity retrieves the value of the leaf AlarmSeverity from the OpenconfigPlatform_Components_Component_State_Temperature struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AlarmSeverity is set, it can safely use t.GetAlarmSeverity() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AlarmSeverity == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_State_Temperature) GetAlarmStatus

GetAlarmStatus retrieves the value of the leaf AlarmStatus from the OpenconfigPlatform_Components_Component_State_Temperature struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AlarmStatus is set, it can safely use t.GetAlarmStatus() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AlarmStatus == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_State_Temperature) GetAlarmThreshold

GetAlarmThreshold retrieves the value of the leaf AlarmThreshold from the OpenconfigPlatform_Components_Component_State_Temperature struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AlarmThreshold is set, it can safely use t.GetAlarmThreshold() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AlarmThreshold == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_State_Temperature) GetAvg

GetAvg retrieves the value of the leaf Avg from the OpenconfigPlatform_Components_Component_State_Temperature struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Avg is set, it can safely use t.GetAvg() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Avg == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_State_Temperature) GetInstant

GetInstant retrieves the value of the leaf Instant from the OpenconfigPlatform_Components_Component_State_Temperature struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Instant is set, it can safely use t.GetInstant() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Instant == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_State_Temperature) GetInterval

GetInterval retrieves the value of the leaf Interval from the OpenconfigPlatform_Components_Component_State_Temperature struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interval is set, it can safely use t.GetInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interval == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_State_Temperature) GetMax

GetMax retrieves the value of the leaf Max from the OpenconfigPlatform_Components_Component_State_Temperature struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Max is set, it can safely use t.GetMax() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Max == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_State_Temperature) GetMaxTime

GetMaxTime retrieves the value of the leaf MaxTime from the OpenconfigPlatform_Components_Component_State_Temperature struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MaxTime is set, it can safely use t.GetMaxTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MaxTime == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_State_Temperature) GetMin

GetMin retrieves the value of the leaf Min from the OpenconfigPlatform_Components_Component_State_Temperature struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Min is set, it can safely use t.GetMin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Min == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_State_Temperature) GetMinTime

GetMinTime retrieves the value of the leaf MinTime from the OpenconfigPlatform_Components_Component_State_Temperature struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MinTime is set, it can safely use t.GetMinTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MinTime == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_State_Temperature) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_State_Temperature) Validate

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

func (*OpenconfigPlatform_Components_Component_State_Temperature) ΛEnumTypeMap

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

type OpenconfigPlatform_Components_Component_State_Type_Union

type OpenconfigPlatform_Components_Component_State_Type_Union interface {
	Is_OpenconfigPlatform_Components_Component_State_Type_Union()
}

OpenconfigPlatform_Components_Component_State_Type_Union is an interface that is implemented by valid types for the union for the leaf /openconfig-platform/components/component/state/type within the YANG schema.

type OpenconfigPlatform_Components_Component_State_Type_Union_E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT

type OpenconfigPlatform_Components_Component_State_Type_Union_E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT struct {
	E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT
}

OpenconfigPlatform_Components_Component_State_Type_Union_E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT is used when /openconfig-platform/components/component/state/type is to be set to a E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT value.

func (*OpenconfigPlatform_Components_Component_State_Type_Union_E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT) Is_OpenconfigPlatform_Components_Component_State_Type_Union

Is_OpenconfigPlatform_Components_Component_State_Type_Union ensures that OpenconfigPlatform_Components_Component_State_Type_Union_E_OpenconfigPlatformTypes_OPENCONFIG_HARDWARE_COMPONENT implements the OpenconfigPlatform_Components_Component_State_Type_Union interface.

type OpenconfigPlatform_Components_Component_State_Type_Union_E_OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT

type OpenconfigPlatform_Components_Component_State_Type_Union_E_OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT struct {
	E_OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT E_OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT
}

OpenconfigPlatform_Components_Component_State_Type_Union_E_OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT is used when /openconfig-platform/components/component/state/type is to be set to a E_OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT value.

func (*OpenconfigPlatform_Components_Component_State_Type_Union_E_OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT) Is_OpenconfigPlatform_Components_Component_State_Type_Union

Is_OpenconfigPlatform_Components_Component_State_Type_Union ensures that OpenconfigPlatform_Components_Component_State_Type_Union_E_OpenconfigPlatformTypes_OPENCONFIG_SOFTWARE_COMPONENT implements the OpenconfigPlatform_Components_Component_State_Type_Union interface.

type OpenconfigPlatform_Components_Component_Storage

type OpenconfigPlatform_Components_Component_Storage struct {
	ΛMetadata []ygot.Annotation                                       `path:"@" ygotAnnotation:"true"`
	Config    *OpenconfigPlatform_Components_Component_Storage_Config `path:"config" module:"openconfig-platform"`
	ΛConfig   []ygot.Annotation                                       `path:"@config" ygotAnnotation:"true"`
	State     *OpenconfigPlatform_Components_Component_Storage_State  `path:"state" module:"openconfig-platform"`
	ΛState    []ygot.Annotation                                       `path:"@state" ygotAnnotation:"true"`
}

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

func (*OpenconfigPlatform_Components_Component_Storage) GetConfig

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

func (*OpenconfigPlatform_Components_Component_Storage) GetOrCreateConfig

GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component_Storage) GetOrCreateState

GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component_Storage) GetState

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

func (*OpenconfigPlatform_Components_Component_Storage) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_Storage) Validate

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

func (*OpenconfigPlatform_Components_Component_Storage) ΛEnumTypeMap

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

type OpenconfigPlatform_Components_Component_Storage_Config

type OpenconfigPlatform_Components_Component_Storage_Config struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
}

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

func (*OpenconfigPlatform_Components_Component_Storage_Config) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_Storage_Config) Validate

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

func (*OpenconfigPlatform_Components_Component_Storage_Config) ΛEnumTypeMap

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

type OpenconfigPlatform_Components_Component_Storage_State

type OpenconfigPlatform_Components_Component_Storage_State struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
}

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

func (*OpenconfigPlatform_Components_Component_Storage_State) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_Storage_State) Validate

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

func (*OpenconfigPlatform_Components_Component_Storage_State) ΛEnumTypeMap

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

type OpenconfigPlatform_Components_Component_Subcomponents

type OpenconfigPlatform_Components_Component_Subcomponents struct {
	ΛMetadata     []ygot.Annotation                                                              `path:"@" ygotAnnotation:"true"`
	Subcomponent  map[string]*OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent `path:"subcomponent" module:"openconfig-platform"`
	ΛSubcomponent []ygot.Annotation                                                              `path:"@subcomponent" ygotAnnotation:"true"`
}

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

func (*OpenconfigPlatform_Components_Component_Subcomponents) AppendSubcomponent

AppendSubcomponent appends the supplied OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent struct to the list Subcomponent of OpenconfigPlatform_Components_Component_Subcomponents. If the key value(s) specified in the supplied OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent already exist in the list, an error is returned.

func (*OpenconfigPlatform_Components_Component_Subcomponents) GetOrCreateSubcomponent

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

func (*OpenconfigPlatform_Components_Component_Subcomponents) GetSubcomponent

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

func (*OpenconfigPlatform_Components_Component_Subcomponents) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_Subcomponents) NewSubcomponent

NewSubcomponent creates a new entry in the Subcomponent list of the OpenconfigPlatform_Components_Component_Subcomponents struct. The keys of the list are populated from the input arguments.

func (*OpenconfigPlatform_Components_Component_Subcomponents) RenameSubcomponent

func (t *OpenconfigPlatform_Components_Component_Subcomponents) RenameSubcomponent(oldK, newK string) error

RenameSubcomponent renames an entry in the list Subcomponent within the OpenconfigPlatform_Components_Component_Subcomponents struct. The entry with key oldK is renamed to newK updating the key within the value.

func (*OpenconfigPlatform_Components_Component_Subcomponents) Validate

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

func (*OpenconfigPlatform_Components_Component_Subcomponents) ΛEnumTypeMap

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

type OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent

type OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent struct {
	ΛMetadata []ygot.Annotation                                                          `path:"@" ygotAnnotation:"true"`
	Config    *OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_Config `path:"config" module:"openconfig-platform"`
	ΛConfig   []ygot.Annotation                                                          `path:"@config" ygotAnnotation:"true"`
	Name      *string                                                                    `path:"name" module:"openconfig-platform"`
	ΛName     []ygot.Annotation                                                          `path:"@name" ygotAnnotation:"true"`
	State     *OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_State  `path:"state" module:"openconfig-platform"`
	ΛState    []ygot.Annotation                                                          `path:"@state" ygotAnnotation:"true"`
}

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

func (*OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent) GetConfig

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

func (*OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent) GetName

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

func (*OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent) GetOrCreateConfig

GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent) GetOrCreateState

GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent) GetState

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

func (*OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent) Validate

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

func (*OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent) ΛEnumTypeMap

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

func (*OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent) ΛListKeyMap

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

type OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_Config

type OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_Config struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Name      *string           `path:"name" module:"openconfig-platform"`
	ΛName     []ygot.Annotation `path:"@name" ygotAnnotation:"true"`
}

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

func (*OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_Config) GetName

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

func (*OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_Config) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_Config) Validate

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

func (*OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_Config) ΛEnumTypeMap

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

type OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_State

type OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_State struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Name      *string           `path:"name" module:"openconfig-platform"`
	ΛName     []ygot.Annotation `path:"@name" ygotAnnotation:"true"`
}

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

func (*OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_State) GetName

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

func (*OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_State) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_State) Validate

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

func (*OpenconfigPlatform_Components_Component_Subcomponents_Subcomponent_State) ΛEnumTypeMap

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

type OpenconfigPlatform_Components_Component_Transceiver

type OpenconfigPlatform_Components_Component_Transceiver struct {
	ΛMetadata         []ygot.Annotation                                                     `path:"@" ygotAnnotation:"true"`
	Config            *OpenconfigPlatform_Components_Component_Transceiver_Config           `path:"config" module:"openconfig-platform-transceiver"`
	ΛConfig           []ygot.Annotation                                                     `path:"@config" ygotAnnotation:"true"`
	PhysicalChannels  *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels `path:"physical-channels" module:"openconfig-platform-transceiver"`
	ΛPhysicalChannels []ygot.Annotation                                                     `path:"@physical-channels" ygotAnnotation:"true"`
	State             *OpenconfigPlatform_Components_Component_Transceiver_State            `path:"state" module:"openconfig-platform-transceiver"`
	ΛState            []ygot.Annotation                                                     `path:"@state" ygotAnnotation:"true"`
}

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

func (*OpenconfigPlatform_Components_Component_Transceiver) GetConfig

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

func (*OpenconfigPlatform_Components_Component_Transceiver) GetOrCreateConfig

GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component_Transceiver) GetOrCreatePhysicalChannels

GetOrCreatePhysicalChannels retrieves the value of the PhysicalChannels field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component_Transceiver) GetOrCreateState

GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component_Transceiver) GetPhysicalChannels

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

func (*OpenconfigPlatform_Components_Component_Transceiver) GetState

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

func (*OpenconfigPlatform_Components_Component_Transceiver) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_Transceiver) Validate

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

func (*OpenconfigPlatform_Components_Component_Transceiver) ΛEnumTypeMap

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

type OpenconfigPlatform_Components_Component_Transceiver_Config

type OpenconfigPlatform_Components_Component_Transceiver_Config struct {
	ΛMetadata           []ygot.Annotation                                       `path:"@" ygotAnnotation:"true"`
	Enabled             *bool                                                   `path:"enabled" module:"openconfig-platform-transceiver"`
	ΛEnabled            []ygot.Annotation                                       `path:"@enabled" ygotAnnotation:"true"`
	EthernetPmdPreconf  E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE            `path:"ethernet-pmd-preconf" module:"openconfig-platform-transceiver"`
	ΛEthernetPmdPreconf []ygot.Annotation                                       `path:"@ethernet-pmd-preconf" ygotAnnotation:"true"`
	FecMode             E_OpenconfigPlatformTypes_FEC_MODE_TYPE                 `path:"fec-mode" module:"openconfig-platform-transceiver"`
	ΛFecMode            []ygot.Annotation                                       `path:"@fec-mode" ygotAnnotation:"true"`
	FormFactorPreconf   E_OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE `path:"form-factor-preconf" module:"openconfig-platform-transceiver"`
	ΛFormFactorPreconf  []ygot.Annotation                                       `path:"@form-factor-preconf" ygotAnnotation:"true"`
}

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

func (*OpenconfigPlatform_Components_Component_Transceiver_Config) GetEnabled

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

func (*OpenconfigPlatform_Components_Component_Transceiver_Config) GetEthernetPmdPreconf

GetEthernetPmdPreconf retrieves the value of the leaf EthernetPmdPreconf from the OpenconfigPlatform_Components_Component_Transceiver_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if EthernetPmdPreconf is set, it can safely use t.GetEthernetPmdPreconf() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.EthernetPmdPreconf == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_Config) GetFecMode

GetFecMode retrieves the value of the leaf FecMode from the OpenconfigPlatform_Components_Component_Transceiver_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if FecMode is set, it can safely use t.GetFecMode() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.FecMode == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_Config) GetFormFactorPreconf

GetFormFactorPreconf retrieves the value of the leaf FormFactorPreconf from the OpenconfigPlatform_Components_Component_Transceiver_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if FormFactorPreconf is set, it can safely use t.GetFormFactorPreconf() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.FormFactorPreconf == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_Config) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_Transceiver_Config) Validate

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

func (*OpenconfigPlatform_Components_Component_Transceiver_Config) ΛEnumTypeMap

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

type OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels

type OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels struct {
	ΛMetadata []ygot.Annotation                                                                        `path:"@" ygotAnnotation:"true"`
	Channel   map[uint16]*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel `path:"channel" module:"openconfig-platform-transceiver"`
	ΛChannel  []ygot.Annotation                                                                        `path:"@channel" ygotAnnotation:"true"`
}

OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels represents the /openconfig-platform/components/component/transceiver/physical-channels YANG schema element.

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels) AppendChannel

AppendChannel appends the supplied OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel struct to the list Channel of OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels. If the key value(s) specified in the supplied OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel already exist in the list, an error is returned.

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels) GetChannel

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

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels) GetOrCreateChannel

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

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels) NewChannel

NewChannel creates a new entry in the Channel list of the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels struct. The keys of the list are populated from the input arguments.

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels) RenameChannel

RenameChannel renames an entry in the list Channel within the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels struct. The entry with key oldK is renamed to newK updating the key within the value.

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels) Validate

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

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels) ΛEnumTypeMap

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

type OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel

type OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel struct {
	ΛMetadata []ygot.Annotation                                                                    `path:"@" ygotAnnotation:"true"`
	Config    *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_Config `path:"config" module:"openconfig-platform-transceiver"`
	ΛConfig   []ygot.Annotation                                                                    `path:"@config" ygotAnnotation:"true"`
	Index     *uint16                                                                              `path:"index" module:"openconfig-platform-transceiver"`
	ΛIndex    []ygot.Annotation                                                                    `path:"@index" ygotAnnotation:"true"`
	State     *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State  `path:"state" module:"openconfig-platform-transceiver"`
	ΛState    []ygot.Annotation                                                                    `path:"@state" ygotAnnotation:"true"`
}

OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel represents the /openconfig-platform/components/component/transceiver/physical-channels/channel YANG schema element.

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel) GetConfig

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

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel) GetIndex

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

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel) GetOrCreateConfig

GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel) GetOrCreateState

GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel) GetState

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

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel) Validate

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

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel) ΛEnumTypeMap

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

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel) ΛListKeyMap

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

type OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_Config

type OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_Config struct {
	ΛMetadata          []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Description        *string           `path:"description" module:"openconfig-platform-transceiver"`
	ΛDescription       []ygot.Annotation `path:"@description" ygotAnnotation:"true"`
	Index              *uint16           `path:"index" module:"openconfig-platform-transceiver"`
	ΛIndex             []ygot.Annotation `path:"@index" ygotAnnotation:"true"`
	TargetOutputPower  *float64          `path:"target-output-power" module:"openconfig-platform-transceiver"`
	ΛTargetOutputPower []ygot.Annotation `path:"@target-output-power" ygotAnnotation:"true"`
	TxLaser            *bool             `path:"tx-laser" module:"openconfig-platform-transceiver"`
	ΛTxLaser           []ygot.Annotation `path:"@tx-laser" ygotAnnotation:"true"`
}

OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_Config represents the /openconfig-platform/components/component/transceiver/physical-channels/channel/config YANG schema element.

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_Config) GetDescription

GetDescription retrieves the value of the leaf Description from the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Description is set, it can safely use t.GetDescription() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Description == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_Config) GetIndex

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

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_Config) GetTargetOutputPower

GetTargetOutputPower retrieves the value of the leaf TargetOutputPower from the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TargetOutputPower is set, it can safely use t.GetTargetOutputPower() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TargetOutputPower == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_Config) GetTxLaser

GetTxLaser retrieves the value of the leaf TxLaser from the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TxLaser is set, it can safely use t.GetTxLaser() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TxLaser == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_Config) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_Config) Validate

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

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_Config) ΛEnumTypeMap

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

type OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State

type OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State struct {
	ΛMetadata          []ygot.Annotation                                                                                    `path:"@" ygotAnnotation:"true"`
	Description        *string                                                                                              `path:"description" module:"openconfig-platform-transceiver"`
	ΛDescription       []ygot.Annotation                                                                                    `path:"@description" ygotAnnotation:"true"`
	Index              *uint16                                                                                              `path:"index" module:"openconfig-platform-transceiver"`
	ΛIndex             []ygot.Annotation                                                                                    `path:"@index" ygotAnnotation:"true"`
	InputPower         *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower       `path:"input-power" module:"openconfig-platform-transceiver"`
	ΛInputPower        []ygot.Annotation                                                                                    `path:"@input-power" ygotAnnotation:"true"`
	LaserBiasCurrent   *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent `path:"laser-bias-current" module:"openconfig-platform-transceiver"`
	ΛLaserBiasCurrent  []ygot.Annotation                                                                                    `path:"@laser-bias-current" ygotAnnotation:"true"`
	OutputFrequency    *uint64                                                                                              `path:"output-frequency" module:"openconfig-platform-transceiver"`
	ΛOutputFrequency   []ygot.Annotation                                                                                    `path:"@output-frequency" ygotAnnotation:"true"`
	OutputPower        *OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower      `path:"output-power" module:"openconfig-platform-transceiver"`
	ΛOutputPower       []ygot.Annotation                                                                                    `path:"@output-power" ygotAnnotation:"true"`
	TargetOutputPower  *float64                                                                                             `path:"target-output-power" module:"openconfig-platform-transceiver"`
	ΛTargetOutputPower []ygot.Annotation                                                                                    `path:"@target-output-power" ygotAnnotation:"true"`
	TxLaser            *bool                                                                                                `path:"tx-laser" module:"openconfig-platform-transceiver"`
	ΛTxLaser           []ygot.Annotation                                                                                    `path:"@tx-laser" ygotAnnotation:"true"`
}

OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State represents the /openconfig-platform/components/component/transceiver/physical-channels/channel/state YANG schema element.

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State) GetDescription

GetDescription retrieves the value of the leaf Description from the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Description is set, it can safely use t.GetDescription() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Description == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State) GetIndex

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

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State) GetInputPower

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

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State) GetLaserBiasCurrent

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

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State) GetOrCreateInputPower

GetOrCreateInputPower retrieves the value of the InputPower field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State) GetOrCreateLaserBiasCurrent

GetOrCreateLaserBiasCurrent retrieves the value of the LaserBiasCurrent field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State) GetOrCreateOutputPower

GetOrCreateOutputPower retrieves the value of the OutputPower field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State) GetOutputFrequency

GetOutputFrequency retrieves the value of the leaf OutputFrequency from the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutputFrequency is set, it can safely use t.GetOutputFrequency() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutputFrequency == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State) GetOutputPower

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

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State) GetTargetOutputPower

GetTargetOutputPower retrieves the value of the leaf TargetOutputPower from the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TargetOutputPower is set, it can safely use t.GetTargetOutputPower() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TargetOutputPower == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State) GetTxLaser

GetTxLaser retrieves the value of the leaf TxLaser from the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TxLaser is set, it can safely use t.GetTxLaser() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TxLaser == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State) Validate

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

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State) ΛEnumTypeMap

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

type OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower

type OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Avg       *float64          `path:"avg" module:"openconfig-platform-transceiver"`
	ΛAvg      []ygot.Annotation `path:"@avg" ygotAnnotation:"true"`
	Instant   *float64          `path:"instant" module:"openconfig-platform-transceiver"`
	ΛInstant  []ygot.Annotation `path:"@instant" ygotAnnotation:"true"`
	Interval  *uint64           `path:"interval" module:"openconfig-platform-transceiver"`
	ΛInterval []ygot.Annotation `path:"@interval" ygotAnnotation:"true"`
	Max       *float64          `path:"max" module:"openconfig-platform-transceiver"`
	ΛMax      []ygot.Annotation `path:"@max" ygotAnnotation:"true"`
	MaxTime   *uint64           `path:"max-time" module:"openconfig-platform-transceiver"`
	ΛMaxTime  []ygot.Annotation `path:"@max-time" ygotAnnotation:"true"`
	Min       *float64          `path:"min" module:"openconfig-platform-transceiver"`
	ΛMin      []ygot.Annotation `path:"@min" ygotAnnotation:"true"`
	MinTime   *uint64           `path:"min-time" module:"openconfig-platform-transceiver"`
	ΛMinTime  []ygot.Annotation `path:"@min-time" ygotAnnotation:"true"`
}

OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower represents the /openconfig-platform/components/component/transceiver/physical-channels/channel/state/input-power YANG schema element.

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower) GetAvg

GetAvg retrieves the value of the leaf Avg from the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Avg is set, it can safely use t.GetAvg() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Avg == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower) GetInstant

GetInstant retrieves the value of the leaf Instant from the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Instant is set, it can safely use t.GetInstant() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Instant == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower) GetInterval

GetInterval retrieves the value of the leaf Interval from the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interval is set, it can safely use t.GetInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interval == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower) GetMax

GetMax retrieves the value of the leaf Max from the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Max is set, it can safely use t.GetMax() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Max == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower) GetMaxTime

GetMaxTime retrieves the value of the leaf MaxTime from the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MaxTime is set, it can safely use t.GetMaxTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MaxTime == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower) GetMin

GetMin retrieves the value of the leaf Min from the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Min is set, it can safely use t.GetMin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Min == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower) GetMinTime

GetMinTime retrieves the value of the leaf MinTime from the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MinTime is set, it can safely use t.GetMinTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MinTime == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower) Validate

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

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_InputPower) ΛEnumTypeMap

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

type OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent

type OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Avg       *float64          `path:"avg" module:"openconfig-platform-transceiver"`
	ΛAvg      []ygot.Annotation `path:"@avg" ygotAnnotation:"true"`
	Instant   *float64          `path:"instant" module:"openconfig-platform-transceiver"`
	ΛInstant  []ygot.Annotation `path:"@instant" ygotAnnotation:"true"`
	Interval  *uint64           `path:"interval" module:"openconfig-platform-transceiver"`
	ΛInterval []ygot.Annotation `path:"@interval" ygotAnnotation:"true"`
	Max       *float64          `path:"max" module:"openconfig-platform-transceiver"`
	ΛMax      []ygot.Annotation `path:"@max" ygotAnnotation:"true"`
	MaxTime   *uint64           `path:"max-time" module:"openconfig-platform-transceiver"`
	ΛMaxTime  []ygot.Annotation `path:"@max-time" ygotAnnotation:"true"`
	Min       *float64          `path:"min" module:"openconfig-platform-transceiver"`
	ΛMin      []ygot.Annotation `path:"@min" ygotAnnotation:"true"`
	MinTime   *uint64           `path:"min-time" module:"openconfig-platform-transceiver"`
	ΛMinTime  []ygot.Annotation `path:"@min-time" ygotAnnotation:"true"`
}

OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent represents the /openconfig-platform/components/component/transceiver/physical-channels/channel/state/laser-bias-current YANG schema element.

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent) GetAvg

GetAvg retrieves the value of the leaf Avg from the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Avg is set, it can safely use t.GetAvg() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Avg == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent) GetInstant

GetInstant retrieves the value of the leaf Instant from the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Instant is set, it can safely use t.GetInstant() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Instant == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent) GetInterval

GetInterval retrieves the value of the leaf Interval from the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interval is set, it can safely use t.GetInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interval == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent) GetMax

GetMax retrieves the value of the leaf Max from the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Max is set, it can safely use t.GetMax() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Max == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent) GetMaxTime

GetMaxTime retrieves the value of the leaf MaxTime from the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MaxTime is set, it can safely use t.GetMaxTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MaxTime == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent) GetMin

GetMin retrieves the value of the leaf Min from the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Min is set, it can safely use t.GetMin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Min == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent) GetMinTime

GetMinTime retrieves the value of the leaf MinTime from the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MinTime is set, it can safely use t.GetMinTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MinTime == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent) Validate

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

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_LaserBiasCurrent) ΛEnumTypeMap

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

type OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower

type OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Avg       *float64          `path:"avg" module:"openconfig-platform-transceiver"`
	ΛAvg      []ygot.Annotation `path:"@avg" ygotAnnotation:"true"`
	Instant   *float64          `path:"instant" module:"openconfig-platform-transceiver"`
	ΛInstant  []ygot.Annotation `path:"@instant" ygotAnnotation:"true"`
	Interval  *uint64           `path:"interval" module:"openconfig-platform-transceiver"`
	ΛInterval []ygot.Annotation `path:"@interval" ygotAnnotation:"true"`
	Max       *float64          `path:"max" module:"openconfig-platform-transceiver"`
	ΛMax      []ygot.Annotation `path:"@max" ygotAnnotation:"true"`
	MaxTime   *uint64           `path:"max-time" module:"openconfig-platform-transceiver"`
	ΛMaxTime  []ygot.Annotation `path:"@max-time" ygotAnnotation:"true"`
	Min       *float64          `path:"min" module:"openconfig-platform-transceiver"`
	ΛMin      []ygot.Annotation `path:"@min" ygotAnnotation:"true"`
	MinTime   *uint64           `path:"min-time" module:"openconfig-platform-transceiver"`
	ΛMinTime  []ygot.Annotation `path:"@min-time" ygotAnnotation:"true"`
}

OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower represents the /openconfig-platform/components/component/transceiver/physical-channels/channel/state/output-power YANG schema element.

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower) GetAvg

GetAvg retrieves the value of the leaf Avg from the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Avg is set, it can safely use t.GetAvg() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Avg == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower) GetInstant

GetInstant retrieves the value of the leaf Instant from the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Instant is set, it can safely use t.GetInstant() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Instant == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower) GetInterval

GetInterval retrieves the value of the leaf Interval from the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interval is set, it can safely use t.GetInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interval == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower) GetMax

GetMax retrieves the value of the leaf Max from the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Max is set, it can safely use t.GetMax() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Max == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower) GetMaxTime

GetMaxTime retrieves the value of the leaf MaxTime from the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MaxTime is set, it can safely use t.GetMaxTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MaxTime == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower) GetMin

GetMin retrieves the value of the leaf Min from the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Min is set, it can safely use t.GetMin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Min == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower) GetMinTime

GetMinTime retrieves the value of the leaf MinTime from the OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MinTime is set, it can safely use t.GetMinTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MinTime == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower) Validate

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

func (*OpenconfigPlatform_Components_Component_Transceiver_PhysicalChannels_Channel_State_OutputPower) ΛEnumTypeMap

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

type OpenconfigPlatform_Components_Component_Transceiver_State

type OpenconfigPlatform_Components_Component_Transceiver_State struct {
	ΛMetadata               []ygot.Annotation                                                           `path:"@" ygotAnnotation:"true"`
	ConnectorType           E_OpenconfigTransportTypes_FIBER_CONNECTOR_TYPE                             `path:"connector-type" module:"openconfig-platform-transceiver"`
	ΛConnectorType          []ygot.Annotation                                                           `path:"@connector-type" ygotAnnotation:"true"`
	DateCode                *string                                                                     `path:"date-code" module:"openconfig-platform-transceiver"`
	ΛDateCode               []ygot.Annotation                                                           `path:"@date-code" ygotAnnotation:"true"`
	Enabled                 *bool                                                                       `path:"enabled" module:"openconfig-platform-transceiver"`
	ΛEnabled                []ygot.Annotation                                                           `path:"@enabled" ygotAnnotation:"true"`
	EthernetPmd             E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE                                `path:"ethernet-pmd" module:"openconfig-platform-transceiver"`
	ΛEthernetPmd            []ygot.Annotation                                                           `path:"@ethernet-pmd" ygotAnnotation:"true"`
	EthernetPmdPreconf      E_OpenconfigTransportTypes_ETHERNET_PMD_TYPE                                `path:"ethernet-pmd-preconf" module:"openconfig-platform-transceiver"`
	ΛEthernetPmdPreconf     []ygot.Annotation                                                           `path:"@ethernet-pmd-preconf" ygotAnnotation:"true"`
	FaultCondition          *bool                                                                       `path:"fault-condition" module:"openconfig-platform-transceiver"`
	ΛFaultCondition         []ygot.Annotation                                                           `path:"@fault-condition" ygotAnnotation:"true"`
	FecCorrectedBits        *uint64                                                                     `path:"fec-corrected-bits" module:"openconfig-platform-transceiver"`
	ΛFecCorrectedBits       []ygot.Annotation                                                           `path:"@fec-corrected-bits" ygotAnnotation:"true"`
	FecCorrectedBytes       *uint64                                                                     `path:"fec-corrected-bytes" module:"openconfig-platform-transceiver"`
	ΛFecCorrectedBytes      []ygot.Annotation                                                           `path:"@fec-corrected-bytes" ygotAnnotation:"true"`
	FecMode                 E_OpenconfigPlatformTypes_FEC_MODE_TYPE                                     `path:"fec-mode" module:"openconfig-platform-transceiver"`
	ΛFecMode                []ygot.Annotation                                                           `path:"@fec-mode" ygotAnnotation:"true"`
	FecStatus               E_OpenconfigPlatformTypes_FEC_STATUS_TYPE                                   `path:"fec-status" module:"openconfig-platform-transceiver"`
	ΛFecStatus              []ygot.Annotation                                                           `path:"@fec-status" ygotAnnotation:"true"`
	FecUncorrectableBlocks  *uint64                                                                     `path:"fec-uncorrectable-blocks" module:"openconfig-platform-transceiver"`
	ΛFecUncorrectableBlocks []ygot.Annotation                                                           `path:"@fec-uncorrectable-blocks" ygotAnnotation:"true"`
	FecUncorrectableWords   *uint64                                                                     `path:"fec-uncorrectable-words" module:"openconfig-platform-transceiver"`
	ΛFecUncorrectableWords  []ygot.Annotation                                                           `path:"@fec-uncorrectable-words" ygotAnnotation:"true"`
	FormFactor              E_OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE                     `path:"form-factor" module:"openconfig-platform-transceiver"`
	ΛFormFactor             []ygot.Annotation                                                           `path:"@form-factor" ygotAnnotation:"true"`
	FormFactorPreconf       E_OpenconfigTransportTypes_TRANSCEIVER_FORM_FACTOR_TYPE                     `path:"form-factor-preconf" module:"openconfig-platform-transceiver"`
	ΛFormFactorPreconf      []ygot.Annotation                                                           `path:"@form-factor-preconf" ygotAnnotation:"true"`
	InputPower              *OpenconfigPlatform_Components_Component_Transceiver_State_InputPower       `path:"input-power" module:"openconfig-platform-transceiver"`
	ΛInputPower             []ygot.Annotation                                                           `path:"@input-power" ygotAnnotation:"true"`
	LaserBiasCurrent        *OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent `path:"laser-bias-current" module:"openconfig-platform-transceiver"`
	ΛLaserBiasCurrent       []ygot.Annotation                                                           `path:"@laser-bias-current" ygotAnnotation:"true"`
	OtnComplianceCode       E_OpenconfigTransportTypes_OTN_APPLICATION_CODE                             `path:"otn-compliance-code" module:"openconfig-platform-transceiver"`
	ΛOtnComplianceCode      []ygot.Annotation                                                           `path:"@otn-compliance-code" ygotAnnotation:"true"`
	OutputPower             *OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower      `path:"output-power" module:"openconfig-platform-transceiver"`
	ΛOutputPower            []ygot.Annotation                                                           `path:"@output-power" ygotAnnotation:"true"`
	PostFecBer              *OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer       `path:"post-fec-ber" module:"openconfig-platform-transceiver"`
	ΛPostFecBer             []ygot.Annotation                                                           `path:"@post-fec-ber" ygotAnnotation:"true"`
	PreFecBer               *OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer        `path:"pre-fec-ber" module:"openconfig-platform-transceiver"`
	ΛPreFecBer              []ygot.Annotation                                                           `path:"@pre-fec-ber" ygotAnnotation:"true"`
	Present                 E_OpenconfigPlatform_Components_Component_Transceiver_State_Present         `path:"present" module:"openconfig-platform-transceiver"`
	ΛPresent                []ygot.Annotation                                                           `path:"@present" ygotAnnotation:"true"`
	SerialNo                *string                                                                     `path:"serial-no" module:"openconfig-platform-transceiver"`
	ΛSerialNo               []ygot.Annotation                                                           `path:"@serial-no" ygotAnnotation:"true"`
	SonetSdhComplianceCode  E_OpenconfigTransportTypes_SONET_APPLICATION_CODE                           `path:"sonet-sdh-compliance-code" module:"openconfig-platform-transceiver"`
	ΛSonetSdhComplianceCode []ygot.Annotation                                                           `path:"@sonet-sdh-compliance-code" ygotAnnotation:"true"`
	Vendor                  *string                                                                     `path:"vendor" module:"openconfig-platform-transceiver"`
	ΛVendor                 []ygot.Annotation                                                           `path:"@vendor" ygotAnnotation:"true"`
	VendorPart              *string                                                                     `path:"vendor-part" module:"openconfig-platform-transceiver"`
	ΛVendorPart             []ygot.Annotation                                                           `path:"@vendor-part" ygotAnnotation:"true"`
	VendorRev               *string                                                                     `path:"vendor-rev" module:"openconfig-platform-transceiver"`
	ΛVendorRev              []ygot.Annotation                                                           `path:"@vendor-rev" ygotAnnotation:"true"`
}

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

func (*OpenconfigPlatform_Components_Component_Transceiver_State) GetConnectorType

GetConnectorType retrieves the value of the leaf ConnectorType from the OpenconfigPlatform_Components_Component_Transceiver_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ConnectorType is set, it can safely use t.GetConnectorType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ConnectorType == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_State) GetDateCode

GetDateCode retrieves the value of the leaf DateCode from the OpenconfigPlatform_Components_Component_Transceiver_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if DateCode is set, it can safely use t.GetDateCode() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.DateCode == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_State) GetEnabled

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

func (*OpenconfigPlatform_Components_Component_Transceiver_State) GetEthernetPmd

GetEthernetPmd retrieves the value of the leaf EthernetPmd from the OpenconfigPlatform_Components_Component_Transceiver_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if EthernetPmd is set, it can safely use t.GetEthernetPmd() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.EthernetPmd == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_State) GetEthernetPmdPreconf

GetEthernetPmdPreconf retrieves the value of the leaf EthernetPmdPreconf from the OpenconfigPlatform_Components_Component_Transceiver_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if EthernetPmdPreconf is set, it can safely use t.GetEthernetPmdPreconf() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.EthernetPmdPreconf == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_State) GetFaultCondition

GetFaultCondition retrieves the value of the leaf FaultCondition from the OpenconfigPlatform_Components_Component_Transceiver_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if FaultCondition is set, it can safely use t.GetFaultCondition() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.FaultCondition == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_State) GetFecCorrectedBits

GetFecCorrectedBits retrieves the value of the leaf FecCorrectedBits from the OpenconfigPlatform_Components_Component_Transceiver_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if FecCorrectedBits is set, it can safely use t.GetFecCorrectedBits() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.FecCorrectedBits == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_State) GetFecCorrectedBytes

GetFecCorrectedBytes retrieves the value of the leaf FecCorrectedBytes from the OpenconfigPlatform_Components_Component_Transceiver_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if FecCorrectedBytes is set, it can safely use t.GetFecCorrectedBytes() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.FecCorrectedBytes == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_State) GetFecMode

GetFecMode retrieves the value of the leaf FecMode from the OpenconfigPlatform_Components_Component_Transceiver_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if FecMode is set, it can safely use t.GetFecMode() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.FecMode == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_State) GetFecStatus

GetFecStatus retrieves the value of the leaf FecStatus from the OpenconfigPlatform_Components_Component_Transceiver_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if FecStatus is set, it can safely use t.GetFecStatus() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.FecStatus == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_State) GetFecUncorrectableBlocks

GetFecUncorrectableBlocks retrieves the value of the leaf FecUncorrectableBlocks from the OpenconfigPlatform_Components_Component_Transceiver_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if FecUncorrectableBlocks is set, it can safely use t.GetFecUncorrectableBlocks() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.FecUncorrectableBlocks == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_State) GetFecUncorrectableWords

GetFecUncorrectableWords retrieves the value of the leaf FecUncorrectableWords from the OpenconfigPlatform_Components_Component_Transceiver_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if FecUncorrectableWords is set, it can safely use t.GetFecUncorrectableWords() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.FecUncorrectableWords == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_State) GetFormFactor

GetFormFactor retrieves the value of the leaf FormFactor from the OpenconfigPlatform_Components_Component_Transceiver_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if FormFactor is set, it can safely use t.GetFormFactor() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.FormFactor == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_State) GetFormFactorPreconf

GetFormFactorPreconf retrieves the value of the leaf FormFactorPreconf from the OpenconfigPlatform_Components_Component_Transceiver_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if FormFactorPreconf is set, it can safely use t.GetFormFactorPreconf() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.FormFactorPreconf == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_State) GetInputPower

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

func (*OpenconfigPlatform_Components_Component_Transceiver_State) GetLaserBiasCurrent

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

func (*OpenconfigPlatform_Components_Component_Transceiver_State) GetOrCreateInputPower

GetOrCreateInputPower retrieves the value of the InputPower field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component_Transceiver_State) GetOrCreateLaserBiasCurrent

GetOrCreateLaserBiasCurrent retrieves the value of the LaserBiasCurrent field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component_Transceiver_State) GetOrCreateOutputPower

GetOrCreateOutputPower retrieves the value of the OutputPower field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component_Transceiver_State) GetOrCreatePostFecBer

GetOrCreatePostFecBer retrieves the value of the PostFecBer field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component_Transceiver_State) GetOrCreatePreFecBer

GetOrCreatePreFecBer retrieves the value of the PreFecBer field or returns the existing field if it already exists.

func (*OpenconfigPlatform_Components_Component_Transceiver_State) GetOtnComplianceCode

GetOtnComplianceCode retrieves the value of the leaf OtnComplianceCode from the OpenconfigPlatform_Components_Component_Transceiver_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OtnComplianceCode is set, it can safely use t.GetOtnComplianceCode() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OtnComplianceCode == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_State) GetOutputPower

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

func (*OpenconfigPlatform_Components_Component_Transceiver_State) GetPostFecBer

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

func (*OpenconfigPlatform_Components_Component_Transceiver_State) GetPreFecBer

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

func (*OpenconfigPlatform_Components_Component_Transceiver_State) GetPresent

GetPresent retrieves the value of the leaf Present from the OpenconfigPlatform_Components_Component_Transceiver_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Present is set, it can safely use t.GetPresent() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Present == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_State) GetSerialNo

GetSerialNo retrieves the value of the leaf SerialNo from the OpenconfigPlatform_Components_Component_Transceiver_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SerialNo is set, it can safely use t.GetSerialNo() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SerialNo == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_State) GetSonetSdhComplianceCode

GetSonetSdhComplianceCode retrieves the value of the leaf SonetSdhComplianceCode from the OpenconfigPlatform_Components_Component_Transceiver_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SonetSdhComplianceCode is set, it can safely use t.GetSonetSdhComplianceCode() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SonetSdhComplianceCode == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_State) GetVendor

GetVendor retrieves the value of the leaf Vendor from the OpenconfigPlatform_Components_Component_Transceiver_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Vendor is set, it can safely use t.GetVendor() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Vendor == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_State) GetVendorPart

GetVendorPart retrieves the value of the leaf VendorPart from the OpenconfigPlatform_Components_Component_Transceiver_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if VendorPart is set, it can safely use t.GetVendorPart() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.VendorPart == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_State) GetVendorRev

GetVendorRev retrieves the value of the leaf VendorRev from the OpenconfigPlatform_Components_Component_Transceiver_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if VendorRev is set, it can safely use t.GetVendorRev() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.VendorRev == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_State) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_Transceiver_State) Validate

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

func (*OpenconfigPlatform_Components_Component_Transceiver_State) ΛEnumTypeMap

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

type OpenconfigPlatform_Components_Component_Transceiver_State_InputPower

type OpenconfigPlatform_Components_Component_Transceiver_State_InputPower struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Avg       *float64          `path:"avg" module:"openconfig-platform-transceiver"`
	ΛAvg      []ygot.Annotation `path:"@avg" ygotAnnotation:"true"`
	Instant   *float64          `path:"instant" module:"openconfig-platform-transceiver"`
	ΛInstant  []ygot.Annotation `path:"@instant" ygotAnnotation:"true"`
	Interval  *uint64           `path:"interval" module:"openconfig-platform-transceiver"`
	ΛInterval []ygot.Annotation `path:"@interval" ygotAnnotation:"true"`
	Max       *float64          `path:"max" module:"openconfig-platform-transceiver"`
	ΛMax      []ygot.Annotation `path:"@max" ygotAnnotation:"true"`
	MaxTime   *uint64           `path:"max-time" module:"openconfig-platform-transceiver"`
	ΛMaxTime  []ygot.Annotation `path:"@max-time" ygotAnnotation:"true"`
	Min       *float64          `path:"min" module:"openconfig-platform-transceiver"`
	ΛMin      []ygot.Annotation `path:"@min" ygotAnnotation:"true"`
	MinTime   *uint64           `path:"min-time" module:"openconfig-platform-transceiver"`
	ΛMinTime  []ygot.Annotation `path:"@min-time" ygotAnnotation:"true"`
}

OpenconfigPlatform_Components_Component_Transceiver_State_InputPower represents the /openconfig-platform/components/component/transceiver/state/input-power YANG schema element.

func (*OpenconfigPlatform_Components_Component_Transceiver_State_InputPower) GetAvg

GetAvg retrieves the value of the leaf Avg from the OpenconfigPlatform_Components_Component_Transceiver_State_InputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Avg is set, it can safely use t.GetAvg() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Avg == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_State_InputPower) GetInstant

GetInstant retrieves the value of the leaf Instant from the OpenconfigPlatform_Components_Component_Transceiver_State_InputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Instant is set, it can safely use t.GetInstant() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Instant == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_State_InputPower) GetInterval

GetInterval retrieves the value of the leaf Interval from the OpenconfigPlatform_Components_Component_Transceiver_State_InputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interval is set, it can safely use t.GetInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interval == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_State_InputPower) GetMax

GetMax retrieves the value of the leaf Max from the OpenconfigPlatform_Components_Component_Transceiver_State_InputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Max is set, it can safely use t.GetMax() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Max == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_State_InputPower) GetMaxTime

GetMaxTime retrieves the value of the leaf MaxTime from the OpenconfigPlatform_Components_Component_Transceiver_State_InputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MaxTime is set, it can safely use t.GetMaxTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MaxTime == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_State_InputPower) GetMin

GetMin retrieves the value of the leaf Min from the OpenconfigPlatform_Components_Component_Transceiver_State_InputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Min is set, it can safely use t.GetMin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Min == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_State_InputPower) GetMinTime

GetMinTime retrieves the value of the leaf MinTime from the OpenconfigPlatform_Components_Component_Transceiver_State_InputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MinTime is set, it can safely use t.GetMinTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MinTime == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_State_InputPower) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_Transceiver_State_InputPower) Validate

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

func (*OpenconfigPlatform_Components_Component_Transceiver_State_InputPower) ΛEnumTypeMap

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

type OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent

type OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Avg       *float64          `path:"avg" module:"openconfig-platform-transceiver"`
	ΛAvg      []ygot.Annotation `path:"@avg" ygotAnnotation:"true"`
	Instant   *float64          `path:"instant" module:"openconfig-platform-transceiver"`
	ΛInstant  []ygot.Annotation `path:"@instant" ygotAnnotation:"true"`
	Interval  *uint64           `path:"interval" module:"openconfig-platform-transceiver"`
	ΛInterval []ygot.Annotation `path:"@interval" ygotAnnotation:"true"`
	Max       *float64          `path:"max" module:"openconfig-platform-transceiver"`
	ΛMax      []ygot.Annotation `path:"@max" ygotAnnotation:"true"`
	MaxTime   *uint64           `path:"max-time" module:"openconfig-platform-transceiver"`
	ΛMaxTime  []ygot.Annotation `path:"@max-time" ygotAnnotation:"true"`
	Min       *float64          `path:"min" module:"openconfig-platform-transceiver"`
	ΛMin      []ygot.Annotation `path:"@min" ygotAnnotation:"true"`
	MinTime   *uint64           `path:"min-time" module:"openconfig-platform-transceiver"`
	ΛMinTime  []ygot.Annotation `path:"@min-time" ygotAnnotation:"true"`
}

OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent represents the /openconfig-platform/components/component/transceiver/state/laser-bias-current YANG schema element.

func (*OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent) GetAvg

GetAvg retrieves the value of the leaf Avg from the OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Avg is set, it can safely use t.GetAvg() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Avg == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent) GetInstant

GetInstant retrieves the value of the leaf Instant from the OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Instant is set, it can safely use t.GetInstant() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Instant == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent) GetInterval

GetInterval retrieves the value of the leaf Interval from the OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interval is set, it can safely use t.GetInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interval == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent) GetMax

GetMax retrieves the value of the leaf Max from the OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Max is set, it can safely use t.GetMax() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Max == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent) GetMaxTime

GetMaxTime retrieves the value of the leaf MaxTime from the OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MaxTime is set, it can safely use t.GetMaxTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MaxTime == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent) GetMin

GetMin retrieves the value of the leaf Min from the OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Min is set, it can safely use t.GetMin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Min == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent) GetMinTime

GetMinTime retrieves the value of the leaf MinTime from the OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MinTime is set, it can safely use t.GetMinTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MinTime == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent) Validate

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

func (*OpenconfigPlatform_Components_Component_Transceiver_State_LaserBiasCurrent) ΛEnumTypeMap

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

type OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower

type OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Avg       *float64          `path:"avg" module:"openconfig-platform-transceiver"`
	ΛAvg      []ygot.Annotation `path:"@avg" ygotAnnotation:"true"`
	Instant   *float64          `path:"instant" module:"openconfig-platform-transceiver"`
	ΛInstant  []ygot.Annotation `path:"@instant" ygotAnnotation:"true"`
	Interval  *uint64           `path:"interval" module:"openconfig-platform-transceiver"`
	ΛInterval []ygot.Annotation `path:"@interval" ygotAnnotation:"true"`
	Max       *float64          `path:"max" module:"openconfig-platform-transceiver"`
	ΛMax      []ygot.Annotation `path:"@max" ygotAnnotation:"true"`
	MaxTime   *uint64           `path:"max-time" module:"openconfig-platform-transceiver"`
	ΛMaxTime  []ygot.Annotation `path:"@max-time" ygotAnnotation:"true"`
	Min       *float64          `path:"min" module:"openconfig-platform-transceiver"`
	ΛMin      []ygot.Annotation `path:"@min" ygotAnnotation:"true"`
	MinTime   *uint64           `path:"min-time" module:"openconfig-platform-transceiver"`
	ΛMinTime  []ygot.Annotation `path:"@min-time" ygotAnnotation:"true"`
}

OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower represents the /openconfig-platform/components/component/transceiver/state/output-power YANG schema element.

func (*OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower) GetAvg

GetAvg retrieves the value of the leaf Avg from the OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Avg is set, it can safely use t.GetAvg() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Avg == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower) GetInstant

GetInstant retrieves the value of the leaf Instant from the OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Instant is set, it can safely use t.GetInstant() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Instant == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower) GetInterval

GetInterval retrieves the value of the leaf Interval from the OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interval is set, it can safely use t.GetInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interval == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower) GetMax

GetMax retrieves the value of the leaf Max from the OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Max is set, it can safely use t.GetMax() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Max == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower) GetMaxTime

GetMaxTime retrieves the value of the leaf MaxTime from the OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MaxTime is set, it can safely use t.GetMaxTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MaxTime == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower) GetMin

GetMin retrieves the value of the leaf Min from the OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Min is set, it can safely use t.GetMin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Min == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower) GetMinTime

GetMinTime retrieves the value of the leaf MinTime from the OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MinTime is set, it can safely use t.GetMinTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MinTime == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower) Validate

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

func (*OpenconfigPlatform_Components_Component_Transceiver_State_OutputPower) ΛEnumTypeMap

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

type OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer

type OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Avg       *float64          `path:"avg" module:"openconfig-platform-transceiver"`
	ΛAvg      []ygot.Annotation `path:"@avg" ygotAnnotation:"true"`
	Instant   *float64          `path:"instant" module:"openconfig-platform-transceiver"`
	ΛInstant  []ygot.Annotation `path:"@instant" ygotAnnotation:"true"`
	Interval  *uint64           `path:"interval" module:"openconfig-platform-transceiver"`
	ΛInterval []ygot.Annotation `path:"@interval" ygotAnnotation:"true"`
	Max       *float64          `path:"max" module:"openconfig-platform-transceiver"`
	ΛMax      []ygot.Annotation `path:"@max" ygotAnnotation:"true"`
	MaxTime   *uint64           `path:"max-time" module:"openconfig-platform-transceiver"`
	ΛMaxTime  []ygot.Annotation `path:"@max-time" ygotAnnotation:"true"`
	Min       *float64          `path:"min" module:"openconfig-platform-transceiver"`
	ΛMin      []ygot.Annotation `path:"@min" ygotAnnotation:"true"`
	MinTime   *uint64           `path:"min-time" module:"openconfig-platform-transceiver"`
	ΛMinTime  []ygot.Annotation `path:"@min-time" ygotAnnotation:"true"`
}

OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer represents the /openconfig-platform/components/component/transceiver/state/post-fec-ber YANG schema element.

func (*OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer) GetAvg

GetAvg retrieves the value of the leaf Avg from the OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Avg is set, it can safely use t.GetAvg() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Avg == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer) GetInstant

GetInstant retrieves the value of the leaf Instant from the OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Instant is set, it can safely use t.GetInstant() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Instant == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer) GetInterval

GetInterval retrieves the value of the leaf Interval from the OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interval is set, it can safely use t.GetInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interval == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer) GetMax

GetMax retrieves the value of the leaf Max from the OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Max is set, it can safely use t.GetMax() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Max == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer) GetMaxTime

GetMaxTime retrieves the value of the leaf MaxTime from the OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MaxTime is set, it can safely use t.GetMaxTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MaxTime == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer) GetMin

GetMin retrieves the value of the leaf Min from the OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Min is set, it can safely use t.GetMin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Min == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer) GetMinTime

GetMinTime retrieves the value of the leaf MinTime from the OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MinTime is set, it can safely use t.GetMinTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MinTime == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer) Validate

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

func (*OpenconfigPlatform_Components_Component_Transceiver_State_PostFecBer) ΛEnumTypeMap

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

type OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer

type OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Avg       *float64          `path:"avg" module:"openconfig-platform-transceiver"`
	ΛAvg      []ygot.Annotation `path:"@avg" ygotAnnotation:"true"`
	Instant   *float64          `path:"instant" module:"openconfig-platform-transceiver"`
	ΛInstant  []ygot.Annotation `path:"@instant" ygotAnnotation:"true"`
	Interval  *uint64           `path:"interval" module:"openconfig-platform-transceiver"`
	ΛInterval []ygot.Annotation `path:"@interval" ygotAnnotation:"true"`
	Max       *float64          `path:"max" module:"openconfig-platform-transceiver"`
	ΛMax      []ygot.Annotation `path:"@max" ygotAnnotation:"true"`
	MaxTime   *uint64           `path:"max-time" module:"openconfig-platform-transceiver"`
	ΛMaxTime  []ygot.Annotation `path:"@max-time" ygotAnnotation:"true"`
	Min       *float64          `path:"min" module:"openconfig-platform-transceiver"`
	ΛMin      []ygot.Annotation `path:"@min" ygotAnnotation:"true"`
	MinTime   *uint64           `path:"min-time" module:"openconfig-platform-transceiver"`
	ΛMinTime  []ygot.Annotation `path:"@min-time" ygotAnnotation:"true"`
}

OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer represents the /openconfig-platform/components/component/transceiver/state/pre-fec-ber YANG schema element.

func (*OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer) GetAvg

GetAvg retrieves the value of the leaf Avg from the OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Avg is set, it can safely use t.GetAvg() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Avg == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer) GetInstant

GetInstant retrieves the value of the leaf Instant from the OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Instant is set, it can safely use t.GetInstant() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Instant == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer) GetInterval

GetInterval retrieves the value of the leaf Interval from the OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interval is set, it can safely use t.GetInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interval == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer) GetMax

GetMax retrieves the value of the leaf Max from the OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Max is set, it can safely use t.GetMax() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Max == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer) GetMaxTime

GetMaxTime retrieves the value of the leaf MaxTime from the OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MaxTime is set, it can safely use t.GetMaxTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MaxTime == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer) GetMin

GetMin retrieves the value of the leaf Min from the OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Min is set, it can safely use t.GetMin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Min == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer) GetMinTime

GetMinTime retrieves the value of the leaf MinTime from the OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MinTime is set, it can safely use t.GetMinTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MinTime == nil' before retrieving the leaf's value.

func (*OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer) IsYANGGoStruct

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

func (*OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer) Validate

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

func (*OpenconfigPlatform_Components_Component_Transceiver_State_PreFecBer) ΛEnumTypeMap

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

type OpenconfigSystem_System

type OpenconfigSystem_System struct {
	ΛMetadata     []ygot.Annotation                     `path:"@" ygotAnnotation:"true"`
	Aaa           *OpenconfigSystem_System_Aaa          `path:"aaa" module:"openconfig-system"`
	ΛAaa          []ygot.Annotation                     `path:"@aaa" ygotAnnotation:"true"`
	Alarms        *OpenconfigSystem_System_Alarms       `path:"alarms" module:"openconfig-system"`
	ΛAlarms       []ygot.Annotation                     `path:"@alarms" ygotAnnotation:"true"`
	Clock         *OpenconfigSystem_System_Clock        `path:"clock" module:"openconfig-system"`
	ΛClock        []ygot.Annotation                     `path:"@clock" ygotAnnotation:"true"`
	Config        *OpenconfigSystem_System_Config       `path:"config" module:"openconfig-system"`
	ΛConfig       []ygot.Annotation                     `path:"@config" ygotAnnotation:"true"`
	Cpus          *OpenconfigSystem_System_Cpus         `path:"cpus" module:"openconfig-system"`
	ΛCpus         []ygot.Annotation                     `path:"@cpus" ygotAnnotation:"true"`
	Dns           *OpenconfigSystem_System_Dns          `path:"dns" module:"openconfig-system"`
	ΛDns          []ygot.Annotation                     `path:"@dns" ygotAnnotation:"true"`
	GrpcServer    *OpenconfigSystem_System_GrpcServer   `path:"grpc-server" module:"openconfig-system"`
	ΛGrpcServer   []ygot.Annotation                     `path:"@grpc-server" ygotAnnotation:"true"`
	Logging       *OpenconfigSystem_System_Logging      `path:"logging" module:"openconfig-system"`
	ΛLogging      []ygot.Annotation                     `path:"@logging" ygotAnnotation:"true"`
	Memory        *OpenconfigSystem_System_Memory       `path:"memory" module:"openconfig-system"`
	ΛMemory       []ygot.Annotation                     `path:"@memory" ygotAnnotation:"true"`
	Ntp           *OpenconfigSystem_System_Ntp          `path:"ntp" module:"openconfig-system"`
	ΛNtp          []ygot.Annotation                     `path:"@ntp" ygotAnnotation:"true"`
	Processes     *OpenconfigSystem_System_Processes    `path:"processes" module:"openconfig-system"`
	ΛProcesses    []ygot.Annotation                     `path:"@processes" ygotAnnotation:"true"`
	SshServer     *OpenconfigSystem_System_SshServer    `path:"ssh-server" module:"openconfig-system"`
	ΛSshServer    []ygot.Annotation                     `path:"@ssh-server" ygotAnnotation:"true"`
	State         *OpenconfigSystem_System_State        `path:"state" module:"openconfig-system"`
	ΛState        []ygot.Annotation                     `path:"@state" ygotAnnotation:"true"`
	TelnetServer  *OpenconfigSystem_System_TelnetServer `path:"telnet-server" module:"openconfig-system"`
	ΛTelnetServer []ygot.Annotation                     `path:"@telnet-server" ygotAnnotation:"true"`
}

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

func (*OpenconfigSystem_System) GetAaa

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

func (*OpenconfigSystem_System) GetAlarms

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

func (*OpenconfigSystem_System) GetClock

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

func (*OpenconfigSystem_System) GetConfig

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

func (*OpenconfigSystem_System) GetCpus

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

func (*OpenconfigSystem_System) GetDns

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

func (*OpenconfigSystem_System) GetGrpcServer

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

func (*OpenconfigSystem_System) GetLogging

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

func (*OpenconfigSystem_System) GetMemory

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

func (*OpenconfigSystem_System) GetNtp

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

func (*OpenconfigSystem_System) GetOrCreateAaa

GetOrCreateAaa retrieves the value of the Aaa field or returns the existing field if it already exists.

func (*OpenconfigSystem_System) GetOrCreateAlarms

GetOrCreateAlarms retrieves the value of the Alarms field or returns the existing field if it already exists.

func (*OpenconfigSystem_System) GetOrCreateClock

GetOrCreateClock retrieves the value of the Clock field or returns the existing field if it already exists.

func (*OpenconfigSystem_System) GetOrCreateConfig

GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.

func (*OpenconfigSystem_System) GetOrCreateCpus

GetOrCreateCpus retrieves the value of the Cpus field or returns the existing field if it already exists.

func (*OpenconfigSystem_System) GetOrCreateDns

GetOrCreateDns retrieves the value of the Dns field or returns the existing field if it already exists.

func (*OpenconfigSystem_System) GetOrCreateGrpcServer

func (t *OpenconfigSystem_System) GetOrCreateGrpcServer() *OpenconfigSystem_System_GrpcServer

GetOrCreateGrpcServer retrieves the value of the GrpcServer field or returns the existing field if it already exists.

func (*OpenconfigSystem_System) GetOrCreateLogging

GetOrCreateLogging retrieves the value of the Logging field or returns the existing field if it already exists.

func (*OpenconfigSystem_System) GetOrCreateMemory

GetOrCreateMemory retrieves the value of the Memory field or returns the existing field if it already exists.

func (*OpenconfigSystem_System) GetOrCreateNtp

GetOrCreateNtp retrieves the value of the Ntp field or returns the existing field if it already exists.

func (*OpenconfigSystem_System) GetOrCreateProcesses

GetOrCreateProcesses retrieves the value of the Processes field or returns the existing field if it already exists.

func (*OpenconfigSystem_System) GetOrCreateSshServer

GetOrCreateSshServer retrieves the value of the SshServer field or returns the existing field if it already exists.

func (*OpenconfigSystem_System) GetOrCreateState

GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.

func (*OpenconfigSystem_System) GetOrCreateTelnetServer

func (t *OpenconfigSystem_System) GetOrCreateTelnetServer() *OpenconfigSystem_System_TelnetServer

GetOrCreateTelnetServer retrieves the value of the TelnetServer field or returns the existing field if it already exists.

func (*OpenconfigSystem_System) GetProcesses

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

func (*OpenconfigSystem_System) GetSshServer

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

func (*OpenconfigSystem_System) GetState

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

func (*OpenconfigSystem_System) GetTelnetServer

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

func (*OpenconfigSystem_System) IsYANGGoStruct

func (*OpenconfigSystem_System) IsYANGGoStruct()

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

func (*OpenconfigSystem_System) Validate

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

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

func (*OpenconfigSystem_System) ΛEnumTypeMap

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

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

type OpenconfigSystem_System_Aaa

type OpenconfigSystem_System_Aaa struct {
	ΛMetadata       []ygot.Annotation                           `path:"@" ygotAnnotation:"true"`
	Accounting      *OpenconfigSystem_System_Aaa_Accounting     `path:"accounting" module:"openconfig-system"`
	ΛAccounting     []ygot.Annotation                           `path:"@accounting" ygotAnnotation:"true"`
	Authentication  *OpenconfigSystem_System_Aaa_Authentication `path:"authentication" module:"openconfig-system"`
	ΛAuthentication []ygot.Annotation                           `path:"@authentication" ygotAnnotation:"true"`
	Authorization   *OpenconfigSystem_System_Aaa_Authorization  `path:"authorization" module:"openconfig-system"`
	ΛAuthorization  []ygot.Annotation                           `path:"@authorization" ygotAnnotation:"true"`
	Config          *OpenconfigSystem_System_Aaa_Config         `path:"config" module:"openconfig-system"`
	ΛConfig         []ygot.Annotation                           `path:"@config" ygotAnnotation:"true"`
	ServerGroups    *OpenconfigSystem_System_Aaa_ServerGroups   `path:"server-groups" module:"openconfig-system"`
	ΛServerGroups   []ygot.Annotation                           `path:"@server-groups" ygotAnnotation:"true"`
	State           *OpenconfigSystem_System_Aaa_State          `path:"state" module:"openconfig-system"`
	ΛState          []ygot.Annotation                           `path:"@state" ygotAnnotation:"true"`
}

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

func (*OpenconfigSystem_System_Aaa) GetAccounting

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

func (*OpenconfigSystem_System_Aaa) GetAuthentication

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

func (*OpenconfigSystem_System_Aaa) GetAuthorization

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

func (*OpenconfigSystem_System_Aaa) GetConfig

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

func (*OpenconfigSystem_System_Aaa) GetOrCreateAccounting

GetOrCreateAccounting retrieves the value of the Accounting field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Aaa) GetOrCreateAuthentication

GetOrCreateAuthentication retrieves the value of the Authentication field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Aaa) GetOrCreateAuthorization

GetOrCreateAuthorization retrieves the value of the Authorization field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Aaa) GetOrCreateConfig

GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Aaa) GetOrCreateServerGroups

GetOrCreateServerGroups retrieves the value of the ServerGroups field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Aaa) GetOrCreateState

GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Aaa) GetServerGroups

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

func (*OpenconfigSystem_System_Aaa) GetState

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

func (*OpenconfigSystem_System_Aaa) IsYANGGoStruct

func (*OpenconfigSystem_System_Aaa) IsYANGGoStruct()

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

func (*OpenconfigSystem_System_Aaa) Validate

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

func (*OpenconfigSystem_System_Aaa) ΛEnumTypeMap

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

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

type OpenconfigSystem_System_Aaa_Accounting

type OpenconfigSystem_System_Aaa_Accounting struct {
	ΛMetadata []ygot.Annotation                              `path:"@" ygotAnnotation:"true"`
	Config    *OpenconfigSystem_System_Aaa_Accounting_Config `path:"config" module:"openconfig-system"`
	ΛConfig   []ygot.Annotation                              `path:"@config" ygotAnnotation:"true"`
	Events    *OpenconfigSystem_System_Aaa_Accounting_Events `path:"events" module:"openconfig-system"`
	ΛEvents   []ygot.Annotation                              `path:"@events" ygotAnnotation:"true"`
	State     *OpenconfigSystem_System_Aaa_Accounting_State  `path:"state" module:"openconfig-system"`
	ΛState    []ygot.Annotation                              `path:"@state" ygotAnnotation:"true"`
}

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

func (*OpenconfigSystem_System_Aaa_Accounting) GetConfig

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

func (*OpenconfigSystem_System_Aaa_Accounting) GetEvents

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

func (*OpenconfigSystem_System_Aaa_Accounting) GetOrCreateConfig

GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Aaa_Accounting) GetOrCreateEvents

GetOrCreateEvents retrieves the value of the Events field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Aaa_Accounting) GetOrCreateState

GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Aaa_Accounting) GetState

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

func (*OpenconfigSystem_System_Aaa_Accounting) IsYANGGoStruct

func (*OpenconfigSystem_System_Aaa_Accounting) IsYANGGoStruct()

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

func (*OpenconfigSystem_System_Aaa_Accounting) Validate

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

func (*OpenconfigSystem_System_Aaa_Accounting) ΛEnumTypeMap

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

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

type OpenconfigSystem_System_Aaa_Accounting_Config

type OpenconfigSystem_System_Aaa_Accounting_Config struct {
	ΛMetadata         []ygot.Annotation                                                      `path:"@" ygotAnnotation:"true"`
	AccountingMethod  []OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union `path:"accounting-method" module:"openconfig-system"`
	ΛAccountingMethod []ygot.Annotation                                                      `path:"@accounting-method" ygotAnnotation:"true"`
}

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

func (*OpenconfigSystem_System_Aaa_Accounting_Config) GetAccountingMethod

GetAccountingMethod retrieves the value of the leaf AccountingMethod from the OpenconfigSystem_System_Aaa_Accounting_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AccountingMethod is set, it can safely use t.GetAccountingMethod() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AccountingMethod == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_Accounting_Config) IsYANGGoStruct

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

func (*OpenconfigSystem_System_Aaa_Accounting_Config) To_OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union

func (t *OpenconfigSystem_System_Aaa_Accounting_Config) To_OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union(i interface{}) (OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union, error)

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

func (*OpenconfigSystem_System_Aaa_Accounting_Config) Validate

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

func (*OpenconfigSystem_System_Aaa_Accounting_Config) ΛEnumTypeMap

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

type OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union

type OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union interface {
	Is_OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union()
}

OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union is an interface that is implemented by valid types for the union for the leaf /openconfig-system/system/aaa/accounting/config/accounting-method within the YANG schema.

type OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE

type OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE struct {
	E_OpenconfigAaaTypes_AAA_METHOD_TYPE E_OpenconfigAaaTypes_AAA_METHOD_TYPE
}

OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE is used when /openconfig-system/system/aaa/accounting/config/accounting-method is to be set to a E_OpenconfigAaaTypes_AAA_METHOD_TYPE value.

func (*OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE) Is_OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union

func (*OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE) Is_OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union()

Is_OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union ensures that OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE implements the OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union interface.

type OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union_String

type OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union_String struct {
	String string
}

OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union_String is used when /openconfig-system/system/aaa/accounting/config/accounting-method is to be set to a string value.

func (*OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union_String) Is_OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union

func (*OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union_String) Is_OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union()

Is_OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union ensures that OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union_String implements the OpenconfigSystem_System_Aaa_Accounting_Config_AccountingMethod_Union interface.

type OpenconfigSystem_System_Aaa_Accounting_Events

type OpenconfigSystem_System_Aaa_Accounting_Events struct {
	ΛMetadata []ygot.Annotation                                                                                       `path:"@" ygotAnnotation:"true"`
	Event     map[E_OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE]*OpenconfigSystem_System_Aaa_Accounting_Events_Event `path:"event" module:"openconfig-system"`
	ΛEvent    []ygot.Annotation                                                                                       `path:"@event" ygotAnnotation:"true"`
}

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

func (*OpenconfigSystem_System_Aaa_Accounting_Events) AppendEvent

AppendEvent appends the supplied OpenconfigSystem_System_Aaa_Accounting_Events_Event struct to the list Event of OpenconfigSystem_System_Aaa_Accounting_Events. If the key value(s) specified in the supplied OpenconfigSystem_System_Aaa_Accounting_Events_Event already exist in the list, an error is returned.

func (*OpenconfigSystem_System_Aaa_Accounting_Events) GetEvent

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

func (*OpenconfigSystem_System_Aaa_Accounting_Events) GetOrCreateEvent

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

func (*OpenconfigSystem_System_Aaa_Accounting_Events) IsYANGGoStruct

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

func (*OpenconfigSystem_System_Aaa_Accounting_Events) NewEvent

NewEvent creates a new entry in the Event list of the OpenconfigSystem_System_Aaa_Accounting_Events struct. The keys of the list are populated from the input arguments.

func (*OpenconfigSystem_System_Aaa_Accounting_Events) RenameEvent

RenameEvent renames an entry in the list Event within the OpenconfigSystem_System_Aaa_Accounting_Events struct. The entry with key oldK is renamed to newK updating the key within the value.

func (*OpenconfigSystem_System_Aaa_Accounting_Events) Validate

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

func (*OpenconfigSystem_System_Aaa_Accounting_Events) ΛEnumTypeMap

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

type OpenconfigSystem_System_Aaa_Accounting_Events_Event

type OpenconfigSystem_System_Aaa_Accounting_Events_Event struct {
	ΛMetadata  []ygot.Annotation                                           `path:"@" ygotAnnotation:"true"`
	Config     *OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config `path:"config" module:"openconfig-system"`
	ΛConfig    []ygot.Annotation                                           `path:"@config" ygotAnnotation:"true"`
	EventType  E_OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE              `path:"event-type" module:"openconfig-system"`
	ΛEventType []ygot.Annotation                                           `path:"@event-type" ygotAnnotation:"true"`
	State      *OpenconfigSystem_System_Aaa_Accounting_Events_Event_State  `path:"state" module:"openconfig-system"`
	ΛState     []ygot.Annotation                                           `path:"@state" ygotAnnotation:"true"`
}

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

func (*OpenconfigSystem_System_Aaa_Accounting_Events_Event) GetConfig

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

func (*OpenconfigSystem_System_Aaa_Accounting_Events_Event) GetEventType

GetEventType retrieves the value of the leaf EventType from the OpenconfigSystem_System_Aaa_Accounting_Events_Event struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if EventType is set, it can safely use t.GetEventType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.EventType == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_Accounting_Events_Event) GetOrCreateConfig

GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Aaa_Accounting_Events_Event) GetOrCreateState

GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Aaa_Accounting_Events_Event) GetState

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

func (*OpenconfigSystem_System_Aaa_Accounting_Events_Event) IsYANGGoStruct

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

func (*OpenconfigSystem_System_Aaa_Accounting_Events_Event) Validate

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

func (*OpenconfigSystem_System_Aaa_Accounting_Events_Event) ΛEnumTypeMap

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

func (*OpenconfigSystem_System_Aaa_Accounting_Events_Event) ΛListKeyMap

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

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

type OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config

type OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config struct {
	ΛMetadata  []ygot.Annotation                                                   `path:"@" ygotAnnotation:"true"`
	EventType  E_OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE                      `path:"event-type" module:"openconfig-system"`
	ΛEventType []ygot.Annotation                                                   `path:"@event-type" ygotAnnotation:"true"`
	Record     E_OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config_Record `path:"record" module:"openconfig-system"`
	ΛRecord    []ygot.Annotation                                                   `path:"@record" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config represents the /openconfig-system/system/aaa/accounting/events/event/config YANG schema element.

func (*OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config) GetEventType

GetEventType retrieves the value of the leaf EventType from the OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if EventType is set, it can safely use t.GetEventType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.EventType == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config) GetRecord

GetRecord retrieves the value of the leaf Record from the OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Record is set, it can safely use t.GetRecord() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Record == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config) IsYANGGoStruct

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

func (*OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config) Validate

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

func (*OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config) ΛEnumTypeMap

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

type OpenconfigSystem_System_Aaa_Accounting_Events_Event_State

type OpenconfigSystem_System_Aaa_Accounting_Events_Event_State struct {
	ΛMetadata  []ygot.Annotation                                                   `path:"@" ygotAnnotation:"true"`
	EventType  E_OpenconfigAaaTypes_AAA_ACCOUNTING_EVENT_TYPE                      `path:"event-type" module:"openconfig-system"`
	ΛEventType []ygot.Annotation                                                   `path:"@event-type" ygotAnnotation:"true"`
	Record     E_OpenconfigSystem_System_Aaa_Accounting_Events_Event_Config_Record `path:"record" module:"openconfig-system"`
	ΛRecord    []ygot.Annotation                                                   `path:"@record" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Aaa_Accounting_Events_Event_State represents the /openconfig-system/system/aaa/accounting/events/event/state YANG schema element.

func (*OpenconfigSystem_System_Aaa_Accounting_Events_Event_State) GetEventType

GetEventType retrieves the value of the leaf EventType from the OpenconfigSystem_System_Aaa_Accounting_Events_Event_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if EventType is set, it can safely use t.GetEventType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.EventType == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_Accounting_Events_Event_State) GetRecord

GetRecord retrieves the value of the leaf Record from the OpenconfigSystem_System_Aaa_Accounting_Events_Event_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Record is set, it can safely use t.GetRecord() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Record == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_Accounting_Events_Event_State) IsYANGGoStruct

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

func (*OpenconfigSystem_System_Aaa_Accounting_Events_Event_State) Validate

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

func (*OpenconfigSystem_System_Aaa_Accounting_Events_Event_State) ΛEnumTypeMap

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

type OpenconfigSystem_System_Aaa_Accounting_State

type OpenconfigSystem_System_Aaa_Accounting_State struct {
	ΛMetadata         []ygot.Annotation                                                     `path:"@" ygotAnnotation:"true"`
	AccountingMethod  []OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union `path:"accounting-method" module:"openconfig-system"`
	ΛAccountingMethod []ygot.Annotation                                                     `path:"@accounting-method" ygotAnnotation:"true"`
}

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

func (*OpenconfigSystem_System_Aaa_Accounting_State) GetAccountingMethod

GetAccountingMethod retrieves the value of the leaf AccountingMethod from the OpenconfigSystem_System_Aaa_Accounting_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AccountingMethod is set, it can safely use t.GetAccountingMethod() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AccountingMethod == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_Accounting_State) IsYANGGoStruct

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

func (*OpenconfigSystem_System_Aaa_Accounting_State) To_OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union

func (t *OpenconfigSystem_System_Aaa_Accounting_State) To_OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union(i interface{}) (OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union, error)

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

func (*OpenconfigSystem_System_Aaa_Accounting_State) Validate

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

func (*OpenconfigSystem_System_Aaa_Accounting_State) ΛEnumTypeMap

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

type OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union

type OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union interface {
	Is_OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union()
}

OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union is an interface that is implemented by valid types for the union for the leaf /openconfig-system/system/aaa/accounting/state/accounting-method within the YANG schema.

type OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE

type OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE struct {
	E_OpenconfigAaaTypes_AAA_METHOD_TYPE E_OpenconfigAaaTypes_AAA_METHOD_TYPE
}

OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE is used when /openconfig-system/system/aaa/accounting/state/accounting-method is to be set to a E_OpenconfigAaaTypes_AAA_METHOD_TYPE value.

func (*OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE) Is_OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union

func (*OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE) Is_OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union()

Is_OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union ensures that OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE implements the OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union interface.

type OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union_String

type OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union_String struct {
	String string
}

OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union_String is used when /openconfig-system/system/aaa/accounting/state/accounting-method is to be set to a string value.

func (*OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union_String) Is_OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union

func (*OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union_String) Is_OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union()

Is_OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union ensures that OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union_String implements the OpenconfigSystem_System_Aaa_Accounting_State_AccountingMethod_Union interface.

type OpenconfigSystem_System_Aaa_Authentication

type OpenconfigSystem_System_Aaa_Authentication struct {
	ΛMetadata  []ygot.Annotation                                     `path:"@" ygotAnnotation:"true"`
	AdminUser  *OpenconfigSystem_System_Aaa_Authentication_AdminUser `path:"admin-user" module:"openconfig-system"`
	ΛAdminUser []ygot.Annotation                                     `path:"@admin-user" ygotAnnotation:"true"`
	Config     *OpenconfigSystem_System_Aaa_Authentication_Config    `path:"config" module:"openconfig-system"`
	ΛConfig    []ygot.Annotation                                     `path:"@config" ygotAnnotation:"true"`
	State      *OpenconfigSystem_System_Aaa_Authentication_State     `path:"state" module:"openconfig-system"`
	ΛState     []ygot.Annotation                                     `path:"@state" ygotAnnotation:"true"`
	Users      *OpenconfigSystem_System_Aaa_Authentication_Users     `path:"users" module:"openconfig-system"`
	ΛUsers     []ygot.Annotation                                     `path:"@users" ygotAnnotation:"true"`
}

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

func (*OpenconfigSystem_System_Aaa_Authentication) GetAdminUser

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

func (*OpenconfigSystem_System_Aaa_Authentication) GetConfig

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

func (*OpenconfigSystem_System_Aaa_Authentication) GetOrCreateAdminUser

GetOrCreateAdminUser retrieves the value of the AdminUser field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Aaa_Authentication) GetOrCreateConfig

GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Aaa_Authentication) GetOrCreateState

GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Aaa_Authentication) GetOrCreateUsers

GetOrCreateUsers retrieves the value of the Users field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Aaa_Authentication) GetState

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

func (*OpenconfigSystem_System_Aaa_Authentication) GetUsers

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

func (*OpenconfigSystem_System_Aaa_Authentication) IsYANGGoStruct

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

func (*OpenconfigSystem_System_Aaa_Authentication) Validate

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

func (*OpenconfigSystem_System_Aaa_Authentication) ΛEnumTypeMap

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

type OpenconfigSystem_System_Aaa_Authentication_AdminUser

type OpenconfigSystem_System_Aaa_Authentication_AdminUser struct {
	ΛMetadata []ygot.Annotation                                            `path:"@" ygotAnnotation:"true"`
	Config    *OpenconfigSystem_System_Aaa_Authentication_AdminUser_Config `path:"config" module:"openconfig-system"`
	ΛConfig   []ygot.Annotation                                            `path:"@config" ygotAnnotation:"true"`
	State     *OpenconfigSystem_System_Aaa_Authentication_AdminUser_State  `path:"state" module:"openconfig-system"`
	ΛState    []ygot.Annotation                                            `path:"@state" ygotAnnotation:"true"`
}

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

func (*OpenconfigSystem_System_Aaa_Authentication_AdminUser) GetConfig

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

func (*OpenconfigSystem_System_Aaa_Authentication_AdminUser) GetOrCreateConfig

GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Aaa_Authentication_AdminUser) GetOrCreateState

GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Aaa_Authentication_AdminUser) GetState

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

func (*OpenconfigSystem_System_Aaa_Authentication_AdminUser) IsYANGGoStruct

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

func (*OpenconfigSystem_System_Aaa_Authentication_AdminUser) Validate

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

func (*OpenconfigSystem_System_Aaa_Authentication_AdminUser) ΛEnumTypeMap

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

type OpenconfigSystem_System_Aaa_Authentication_AdminUser_Config

type OpenconfigSystem_System_Aaa_Authentication_AdminUser_Config struct {
	ΛMetadata            []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	AdminPassword        *string           `path:"admin-password" module:"openconfig-system"`
	ΛAdminPassword       []ygot.Annotation `path:"@admin-password" ygotAnnotation:"true"`
	AdminPasswordHashed  *string           `path:"admin-password-hashed" module:"openconfig-system"`
	ΛAdminPasswordHashed []ygot.Annotation `path:"@admin-password-hashed" ygotAnnotation:"true"`
}

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

func (*OpenconfigSystem_System_Aaa_Authentication_AdminUser_Config) GetAdminPassword

GetAdminPassword retrieves the value of the leaf AdminPassword from the OpenconfigSystem_System_Aaa_Authentication_AdminUser_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AdminPassword is set, it can safely use t.GetAdminPassword() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AdminPassword == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_Authentication_AdminUser_Config) GetAdminPasswordHashed

GetAdminPasswordHashed retrieves the value of the leaf AdminPasswordHashed from the OpenconfigSystem_System_Aaa_Authentication_AdminUser_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AdminPasswordHashed is set, it can safely use t.GetAdminPasswordHashed() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AdminPasswordHashed == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_Authentication_AdminUser_Config) IsYANGGoStruct

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

func (*OpenconfigSystem_System_Aaa_Authentication_AdminUser_Config) Validate

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

func (*OpenconfigSystem_System_Aaa_Authentication_AdminUser_Config) ΛEnumTypeMap

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

type OpenconfigSystem_System_Aaa_Authentication_AdminUser_State

type OpenconfigSystem_System_Aaa_Authentication_AdminUser_State struct {
	ΛMetadata            []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	AdminPassword        *string           `path:"admin-password" module:"openconfig-system"`
	ΛAdminPassword       []ygot.Annotation `path:"@admin-password" ygotAnnotation:"true"`
	AdminPasswordHashed  *string           `path:"admin-password-hashed" module:"openconfig-system"`
	ΛAdminPasswordHashed []ygot.Annotation `path:"@admin-password-hashed" ygotAnnotation:"true"`
	AdminUsername        *string           `path:"admin-username" module:"openconfig-system"`
	ΛAdminUsername       []ygot.Annotation `path:"@admin-username" ygotAnnotation:"true"`
}

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

func (*OpenconfigSystem_System_Aaa_Authentication_AdminUser_State) GetAdminPassword

GetAdminPassword retrieves the value of the leaf AdminPassword from the OpenconfigSystem_System_Aaa_Authentication_AdminUser_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AdminPassword is set, it can safely use t.GetAdminPassword() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AdminPassword == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_Authentication_AdminUser_State) GetAdminPasswordHashed

GetAdminPasswordHashed retrieves the value of the leaf AdminPasswordHashed from the OpenconfigSystem_System_Aaa_Authentication_AdminUser_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AdminPasswordHashed is set, it can safely use t.GetAdminPasswordHashed() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AdminPasswordHashed == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_Authentication_AdminUser_State) GetAdminUsername

GetAdminUsername retrieves the value of the leaf AdminUsername from the OpenconfigSystem_System_Aaa_Authentication_AdminUser_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AdminUsername is set, it can safely use t.GetAdminUsername() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AdminUsername == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_Authentication_AdminUser_State) IsYANGGoStruct

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

func (*OpenconfigSystem_System_Aaa_Authentication_AdminUser_State) Validate

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

func (*OpenconfigSystem_System_Aaa_Authentication_AdminUser_State) ΛEnumTypeMap

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

type OpenconfigSystem_System_Aaa_Authentication_Config

type OpenconfigSystem_System_Aaa_Authentication_Config struct {
	ΛMetadata             []ygot.Annotation                                                              `path:"@" ygotAnnotation:"true"`
	AuthenticationMethod  []OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union `path:"authentication-method" module:"openconfig-system"`
	ΛAuthenticationMethod []ygot.Annotation                                                              `path:"@authentication-method" ygotAnnotation:"true"`
}

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

func (*OpenconfigSystem_System_Aaa_Authentication_Config) GetAuthenticationMethod

GetAuthenticationMethod retrieves the value of the leaf AuthenticationMethod from the OpenconfigSystem_System_Aaa_Authentication_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AuthenticationMethod is set, it can safely use t.GetAuthenticationMethod() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AuthenticationMethod == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_Authentication_Config) IsYANGGoStruct

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

func (*OpenconfigSystem_System_Aaa_Authentication_Config) To_OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union

func (t *OpenconfigSystem_System_Aaa_Authentication_Config) To_OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union(i interface{}) (OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union, error)

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

func (*OpenconfigSystem_System_Aaa_Authentication_Config) Validate

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

func (*OpenconfigSystem_System_Aaa_Authentication_Config) ΛEnumTypeMap

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

type OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union

type OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union interface {
	Is_OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union()
}

OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union is an interface that is implemented by valid types for the union for the leaf /openconfig-system/system/aaa/authentication/config/authentication-method within the YANG schema.

type OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE

type OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE struct {
	E_OpenconfigAaaTypes_AAA_METHOD_TYPE E_OpenconfigAaaTypes_AAA_METHOD_TYPE
}

OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE is used when /openconfig-system/system/aaa/authentication/config/authentication-method is to be set to a E_OpenconfigAaaTypes_AAA_METHOD_TYPE value.

func (*OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE) Is_OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union

func (*OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE) Is_OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union()

Is_OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union ensures that OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE implements the OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union interface.

type OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union_String

type OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union_String struct {
	String string
}

OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union_String is used when /openconfig-system/system/aaa/authentication/config/authentication-method is to be set to a string value.

func (*OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union_String) Is_OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union

func (*OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union_String) Is_OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union()

Is_OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union ensures that OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union_String implements the OpenconfigSystem_System_Aaa_Authentication_Config_AuthenticationMethod_Union interface.

type OpenconfigSystem_System_Aaa_Authentication_State

type OpenconfigSystem_System_Aaa_Authentication_State struct {
	ΛMetadata             []ygot.Annotation                                                             `path:"@" ygotAnnotation:"true"`
	AuthenticationMethod  []OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union `path:"authentication-method" module:"openconfig-system"`
	ΛAuthenticationMethod []ygot.Annotation                                                             `path:"@authentication-method" ygotAnnotation:"true"`
}

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

func (*OpenconfigSystem_System_Aaa_Authentication_State) GetAuthenticationMethod

GetAuthenticationMethod retrieves the value of the leaf AuthenticationMethod from the OpenconfigSystem_System_Aaa_Authentication_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AuthenticationMethod is set, it can safely use t.GetAuthenticationMethod() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AuthenticationMethod == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_Authentication_State) IsYANGGoStruct

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

func (*OpenconfigSystem_System_Aaa_Authentication_State) To_OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union

func (t *OpenconfigSystem_System_Aaa_Authentication_State) To_OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union(i interface{}) (OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union, error)

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

func (*OpenconfigSystem_System_Aaa_Authentication_State) Validate

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

func (*OpenconfigSystem_System_Aaa_Authentication_State) ΛEnumTypeMap

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

type OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union

type OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union interface {
	Is_OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union()
}

OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union is an interface that is implemented by valid types for the union for the leaf /openconfig-system/system/aaa/authentication/state/authentication-method within the YANG schema.

type OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE

type OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE struct {
	E_OpenconfigAaaTypes_AAA_METHOD_TYPE E_OpenconfigAaaTypes_AAA_METHOD_TYPE
}

OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE is used when /openconfig-system/system/aaa/authentication/state/authentication-method is to be set to a E_OpenconfigAaaTypes_AAA_METHOD_TYPE value.

func (*OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE) Is_OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union

func (*OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE) Is_OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union()

Is_OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union ensures that OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE implements the OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union interface.

type OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union_String

type OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union_String struct {
	String string
}

OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union_String is used when /openconfig-system/system/aaa/authentication/state/authentication-method is to be set to a string value.

func (*OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union_String) Is_OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union

func (*OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union_String) Is_OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union()

Is_OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union ensures that OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union_String implements the OpenconfigSystem_System_Aaa_Authentication_State_AuthenticationMethod_Union interface.

type OpenconfigSystem_System_Aaa_Authentication_Users

type OpenconfigSystem_System_Aaa_Authentication_Users struct {
	ΛMetadata []ygot.Annotation                                                 `path:"@" ygotAnnotation:"true"`
	User      map[string]*OpenconfigSystem_System_Aaa_Authentication_Users_User `path:"user" module:"openconfig-system"`
	ΛUser     []ygot.Annotation                                                 `path:"@user" ygotAnnotation:"true"`
}

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

func (*OpenconfigSystem_System_Aaa_Authentication_Users) AppendUser

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

func (*OpenconfigSystem_System_Aaa_Authentication_Users) GetOrCreateUser

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

func (*OpenconfigSystem_System_Aaa_Authentication_Users) GetUser

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

func (*OpenconfigSystem_System_Aaa_Authentication_Users) IsYANGGoStruct

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

func (*OpenconfigSystem_System_Aaa_Authentication_Users) NewUser

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

func (*OpenconfigSystem_System_Aaa_Authentication_Users) RenameUser

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

func (*OpenconfigSystem_System_Aaa_Authentication_Users) Validate

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

func (*OpenconfigSystem_System_Aaa_Authentication_Users) ΛEnumTypeMap

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

type OpenconfigSystem_System_Aaa_Authentication_Users_User

type OpenconfigSystem_System_Aaa_Authentication_Users_User struct {
	ΛMetadata []ygot.Annotation                                             `path:"@" ygotAnnotation:"true"`
	Config    *OpenconfigSystem_System_Aaa_Authentication_Users_User_Config `path:"config" module:"openconfig-system"`
	ΛConfig   []ygot.Annotation                                             `path:"@config" ygotAnnotation:"true"`
	State     *OpenconfigSystem_System_Aaa_Authentication_Users_User_State  `path:"state" module:"openconfig-system"`
	ΛState    []ygot.Annotation                                             `path:"@state" ygotAnnotation:"true"`
	Username  *string                                                       `path:"username" module:"openconfig-system"`
	ΛUsername []ygot.Annotation                                             `path:"@username" ygotAnnotation:"true"`
}

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

func (*OpenconfigSystem_System_Aaa_Authentication_Users_User) GetConfig

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

func (*OpenconfigSystem_System_Aaa_Authentication_Users_User) GetOrCreateConfig

GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Aaa_Authentication_Users_User) GetOrCreateState

GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Aaa_Authentication_Users_User) GetState

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

func (*OpenconfigSystem_System_Aaa_Authentication_Users_User) GetUsername

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

func (*OpenconfigSystem_System_Aaa_Authentication_Users_User) IsYANGGoStruct

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

func (*OpenconfigSystem_System_Aaa_Authentication_Users_User) Validate

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

func (*OpenconfigSystem_System_Aaa_Authentication_Users_User) ΛEnumTypeMap

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

func (*OpenconfigSystem_System_Aaa_Authentication_Users_User) ΛListKeyMap

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

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

type OpenconfigSystem_System_Aaa_Authentication_Users_User_Config

type OpenconfigSystem_System_Aaa_Authentication_Users_User_Config struct {
	ΛMetadata       []ygot.Annotation                                                       `path:"@" ygotAnnotation:"true"`
	Password        *string                                                                 `path:"password" module:"openconfig-system"`
	ΛPassword       []ygot.Annotation                                                       `path:"@password" ygotAnnotation:"true"`
	PasswordHashed  *string                                                                 `path:"password-hashed" module:"openconfig-system"`
	ΛPasswordHashed []ygot.Annotation                                                       `path:"@password-hashed" ygotAnnotation:"true"`
	Role            OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union `path:"role" module:"openconfig-system"`
	ΛRole           []ygot.Annotation                                                       `path:"@role" ygotAnnotation:"true"`
	SshKey          *string                                                                 `path:"ssh-key" module:"openconfig-system"`
	ΛSshKey         []ygot.Annotation                                                       `path:"@ssh-key" ygotAnnotation:"true"`
	Username        *string                                                                 `path:"username" module:"openconfig-system"`
	ΛUsername       []ygot.Annotation                                                       `path:"@username" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Aaa_Authentication_Users_User_Config represents the /openconfig-system/system/aaa/authentication/users/user/config YANG schema element.

func (*OpenconfigSystem_System_Aaa_Authentication_Users_User_Config) GetPassword

GetPassword retrieves the value of the leaf Password from the OpenconfigSystem_System_Aaa_Authentication_Users_User_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Password is set, it can safely use t.GetPassword() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Password == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_Authentication_Users_User_Config) GetPasswordHashed

GetPasswordHashed retrieves the value of the leaf PasswordHashed from the OpenconfigSystem_System_Aaa_Authentication_Users_User_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if PasswordHashed is set, it can safely use t.GetPasswordHashed() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.PasswordHashed == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_Authentication_Users_User_Config) GetRole

GetRole retrieves the value of the leaf Role from the OpenconfigSystem_System_Aaa_Authentication_Users_User_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Role is set, it can safely use t.GetRole() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Role == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_Authentication_Users_User_Config) GetSshKey

GetSshKey retrieves the value of the leaf SshKey from the OpenconfigSystem_System_Aaa_Authentication_Users_User_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SshKey is set, it can safely use t.GetSshKey() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SshKey == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_Authentication_Users_User_Config) GetUsername

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

func (*OpenconfigSystem_System_Aaa_Authentication_Users_User_Config) IsYANGGoStruct

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

func (*OpenconfigSystem_System_Aaa_Authentication_Users_User_Config) To_OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union

func (t *OpenconfigSystem_System_Aaa_Authentication_Users_User_Config) To_OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union(i interface{}) (OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union, error)

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

func (*OpenconfigSystem_System_Aaa_Authentication_Users_User_Config) Validate

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

func (*OpenconfigSystem_System_Aaa_Authentication_Users_User_Config) ΛEnumTypeMap

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

type OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union

type OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union interface {
	Is_OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union()
}

OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union is an interface that is implemented by valid types for the union for the leaf /openconfig-system/system/aaa/authentication/users/user/config/role within the YANG schema.

type OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union_E_OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES

type OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union_E_OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES struct {
	E_OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES E_OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES
}

OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union_E_OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES is used when /openconfig-system/system/aaa/authentication/users/user/config/role is to be set to a E_OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES value.

func (*OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union_E_OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES) Is_OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union

func (*OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union_E_OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES) Is_OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union()

Is_OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union ensures that OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union_E_OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES implements the OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union interface.

type OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union_String

type OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union_String struct {
	String string
}

OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union_String is used when /openconfig-system/system/aaa/authentication/users/user/config/role is to be set to a string value.

func (*OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union_String) Is_OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union

func (*OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union_String) Is_OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union()

Is_OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union ensures that OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union_String implements the OpenconfigSystem_System_Aaa_Authentication_Users_User_Config_Role_Union interface.

type OpenconfigSystem_System_Aaa_Authentication_Users_User_State

type OpenconfigSystem_System_Aaa_Authentication_Users_User_State struct {
	ΛMetadata       []ygot.Annotation                                                      `path:"@" ygotAnnotation:"true"`
	Password        *string                                                                `path:"password" module:"openconfig-system"`
	ΛPassword       []ygot.Annotation                                                      `path:"@password" ygotAnnotation:"true"`
	PasswordHashed  *string                                                                `path:"password-hashed" module:"openconfig-system"`
	ΛPasswordHashed []ygot.Annotation                                                      `path:"@password-hashed" ygotAnnotation:"true"`
	Role            OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union `path:"role" module:"openconfig-system"`
	ΛRole           []ygot.Annotation                                                      `path:"@role" ygotAnnotation:"true"`
	SshKey          *string                                                                `path:"ssh-key" module:"openconfig-system"`
	ΛSshKey         []ygot.Annotation                                                      `path:"@ssh-key" ygotAnnotation:"true"`
	Username        *string                                                                `path:"username" module:"openconfig-system"`
	ΛUsername       []ygot.Annotation                                                      `path:"@username" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Aaa_Authentication_Users_User_State represents the /openconfig-system/system/aaa/authentication/users/user/state YANG schema element.

func (*OpenconfigSystem_System_Aaa_Authentication_Users_User_State) GetPassword

GetPassword retrieves the value of the leaf Password from the OpenconfigSystem_System_Aaa_Authentication_Users_User_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Password is set, it can safely use t.GetPassword() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Password == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_Authentication_Users_User_State) GetPasswordHashed

GetPasswordHashed retrieves the value of the leaf PasswordHashed from the OpenconfigSystem_System_Aaa_Authentication_Users_User_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if PasswordHashed is set, it can safely use t.GetPasswordHashed() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.PasswordHashed == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_Authentication_Users_User_State) GetRole

GetRole retrieves the value of the leaf Role from the OpenconfigSystem_System_Aaa_Authentication_Users_User_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Role is set, it can safely use t.GetRole() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Role == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_Authentication_Users_User_State) GetSshKey

GetSshKey retrieves the value of the leaf SshKey from the OpenconfigSystem_System_Aaa_Authentication_Users_User_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SshKey is set, it can safely use t.GetSshKey() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SshKey == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_Authentication_Users_User_State) GetUsername

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

func (*OpenconfigSystem_System_Aaa_Authentication_Users_User_State) IsYANGGoStruct

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

func (*OpenconfigSystem_System_Aaa_Authentication_Users_User_State) To_OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union

func (t *OpenconfigSystem_System_Aaa_Authentication_Users_User_State) To_OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union(i interface{}) (OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union, error)

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

func (*OpenconfigSystem_System_Aaa_Authentication_Users_User_State) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_Authentication_Users_User_State) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union

type OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union interface {
	Is_OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union()
}

OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union is an interface that is implemented by valid types for the union for the leaf /openconfig-system/system/aaa/authentication/users/user/state/role within the YANG schema.

type OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union_E_OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES

type OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union_E_OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES struct {
	E_OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES E_OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES
}

OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union_E_OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES is used when /openconfig-system/system/aaa/authentication/users/user/state/role is to be set to a E_OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES value.

func (*OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union_E_OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES) Is_OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union

func (*OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union_E_OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES) Is_OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union()

Is_OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union ensures that OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union_E_OpenconfigAaaTypes_SYSTEM_DEFINED_ROLES implements the OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union interface.

type OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union_String

type OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union_String struct {
	String string
}

OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union_String is used when /openconfig-system/system/aaa/authentication/users/user/state/role is to be set to a string value.

func (*OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union_String) Is_OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union

func (*OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union_String) Is_OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union()

Is_OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union ensures that OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union_String implements the OpenconfigSystem_System_Aaa_Authentication_Users_User_State_Role_Union interface.

type OpenconfigSystem_System_Aaa_Authorization

type OpenconfigSystem_System_Aaa_Authorization struct {
	ΛMetadata []ygot.Annotation                                 `path:"@" ygotAnnotation:"true"`
	Config    *OpenconfigSystem_System_Aaa_Authorization_Config `path:"config" module:"openconfig-system"`
	ΛConfig   []ygot.Annotation                                 `path:"@config" ygotAnnotation:"true"`
	Events    *OpenconfigSystem_System_Aaa_Authorization_Events `path:"events" module:"openconfig-system"`
	ΛEvents   []ygot.Annotation                                 `path:"@events" ygotAnnotation:"true"`
	State     *OpenconfigSystem_System_Aaa_Authorization_State  `path:"state" module:"openconfig-system"`
	ΛState    []ygot.Annotation                                 `path:"@state" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Aaa_Authorization represents the /openconfig-system/system/aaa/authorization YANG schema element.

func (*OpenconfigSystem_System_Aaa_Authorization) GetConfig

GetConfig returns the value of the Config struct pointer from OpenconfigSystem_System_Aaa_Authorization. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_Aaa_Authorization) GetEvents

GetEvents returns the value of the Events struct pointer from OpenconfigSystem_System_Aaa_Authorization. If the receiver or the field Events is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_Aaa_Authorization) GetOrCreateConfig

GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Aaa_Authorization) GetOrCreateEvents

GetOrCreateEvents retrieves the value of the Events field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Aaa_Authorization) GetOrCreateState

GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Aaa_Authorization) GetState

GetState returns the value of the State struct pointer from OpenconfigSystem_System_Aaa_Authorization. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_Aaa_Authorization) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_Authorization implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Aaa_Authorization) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_Authorization) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Aaa_Authorization_Config

type OpenconfigSystem_System_Aaa_Authorization_Config struct {
	ΛMetadata            []ygot.Annotation                                                            `path:"@" ygotAnnotation:"true"`
	AuthorizationMethod  []OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union `path:"authorization-method" module:"openconfig-system"`
	ΛAuthorizationMethod []ygot.Annotation                                                            `path:"@authorization-method" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Aaa_Authorization_Config represents the /openconfig-system/system/aaa/authorization/config YANG schema element.

func (*OpenconfigSystem_System_Aaa_Authorization_Config) GetAuthorizationMethod

GetAuthorizationMethod retrieves the value of the leaf AuthorizationMethod from the OpenconfigSystem_System_Aaa_Authorization_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AuthorizationMethod is set, it can safely use t.GetAuthorizationMethod() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AuthorizationMethod == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_Authorization_Config) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_Authorization_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Aaa_Authorization_Config) To_OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union

func (t *OpenconfigSystem_System_Aaa_Authorization_Config) To_OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union(i interface{}) (OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union, error)

To_OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union takes an input interface{} and attempts to convert it to a struct which implements the OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union union. It returns an error if the interface{} supplied cannot be converted to a type within the union.

func (*OpenconfigSystem_System_Aaa_Authorization_Config) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_Authorization_Config) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union

type OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union interface {
	Is_OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union()
}

OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union is an interface that is implemented by valid types for the union for the leaf /openconfig-system/system/aaa/authorization/config/authorization-method within the YANG schema.

type OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE

type OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE struct {
	E_OpenconfigAaaTypes_AAA_METHOD_TYPE E_OpenconfigAaaTypes_AAA_METHOD_TYPE
}

OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE is used when /openconfig-system/system/aaa/authorization/config/authorization-method is to be set to a E_OpenconfigAaaTypes_AAA_METHOD_TYPE value.

func (*OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE) Is_OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union

func (*OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE) Is_OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union()

Is_OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union ensures that OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE implements the OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union interface.

type OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union_String

type OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union_String struct {
	String string
}

OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union_String is used when /openconfig-system/system/aaa/authorization/config/authorization-method is to be set to a string value.

func (*OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union_String) Is_OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union

func (*OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union_String) Is_OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union()

Is_OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union ensures that OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union_String implements the OpenconfigSystem_System_Aaa_Authorization_Config_AuthorizationMethod_Union interface.

type OpenconfigSystem_System_Aaa_Authorization_Events

type OpenconfigSystem_System_Aaa_Authorization_Events struct {
	ΛMetadata []ygot.Annotation                                                                                             `path:"@" ygotAnnotation:"true"`
	Event     map[E_OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE]*OpenconfigSystem_System_Aaa_Authorization_Events_Event `path:"event" module:"openconfig-system"`
	ΛEvent    []ygot.Annotation                                                                                             `path:"@event" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Aaa_Authorization_Events represents the /openconfig-system/system/aaa/authorization/events YANG schema element.

func (*OpenconfigSystem_System_Aaa_Authorization_Events) AppendEvent

AppendEvent appends the supplied OpenconfigSystem_System_Aaa_Authorization_Events_Event struct to the list Event of OpenconfigSystem_System_Aaa_Authorization_Events. If the key value(s) specified in the supplied OpenconfigSystem_System_Aaa_Authorization_Events_Event already exist in the list, an error is returned.

func (*OpenconfigSystem_System_Aaa_Authorization_Events) GetEvent

GetEvent retrieves the value with the specified key from the Event map field of OpenconfigSystem_System_Aaa_Authorization_Events. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.

func (*OpenconfigSystem_System_Aaa_Authorization_Events) GetOrCreateEvent

GetOrCreateEvent retrieves the value with the specified keys from the receiver OpenconfigSystem_System_Aaa_Authorization_Events. If the entry does not exist, then it is created. It returns the existing or new list member.

func (*OpenconfigSystem_System_Aaa_Authorization_Events) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_Authorization_Events implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Aaa_Authorization_Events) NewEvent

NewEvent creates a new entry in the Event list of the OpenconfigSystem_System_Aaa_Authorization_Events struct. The keys of the list are populated from the input arguments.

func (*OpenconfigSystem_System_Aaa_Authorization_Events) RenameEvent

RenameEvent renames an entry in the list Event within the OpenconfigSystem_System_Aaa_Authorization_Events struct. The entry with key oldK is renamed to newK updating the key within the value.

func (*OpenconfigSystem_System_Aaa_Authorization_Events) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_Authorization_Events) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Aaa_Authorization_Events_Event

type OpenconfigSystem_System_Aaa_Authorization_Events_Event struct {
	ΛMetadata  []ygot.Annotation                                              `path:"@" ygotAnnotation:"true"`
	Config     *OpenconfigSystem_System_Aaa_Authorization_Events_Event_Config `path:"config" module:"openconfig-system"`
	ΛConfig    []ygot.Annotation                                              `path:"@config" ygotAnnotation:"true"`
	EventType  E_OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE              `path:"event-type" module:"openconfig-system"`
	ΛEventType []ygot.Annotation                                              `path:"@event-type" ygotAnnotation:"true"`
	State      *OpenconfigSystem_System_Aaa_Authorization_Events_Event_State  `path:"state" module:"openconfig-system"`
	ΛState     []ygot.Annotation                                              `path:"@state" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Aaa_Authorization_Events_Event represents the /openconfig-system/system/aaa/authorization/events/event YANG schema element.

func (*OpenconfigSystem_System_Aaa_Authorization_Events_Event) GetConfig

GetConfig returns the value of the Config struct pointer from OpenconfigSystem_System_Aaa_Authorization_Events_Event. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_Aaa_Authorization_Events_Event) GetEventType

GetEventType retrieves the value of the leaf EventType from the OpenconfigSystem_System_Aaa_Authorization_Events_Event struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if EventType is set, it can safely use t.GetEventType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.EventType == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_Authorization_Events_Event) GetOrCreateConfig

GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Aaa_Authorization_Events_Event) GetOrCreateState

GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Aaa_Authorization_Events_Event) GetState

GetState returns the value of the State struct pointer from OpenconfigSystem_System_Aaa_Authorization_Events_Event. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_Aaa_Authorization_Events_Event) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_Authorization_Events_Event implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Aaa_Authorization_Events_Event) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_Authorization_Events_Event) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigSystem_System_Aaa_Authorization_Events_Event) ΛListKeyMap

func (t *OpenconfigSystem_System_Aaa_Authorization_Events_Event) ΛListKeyMap() (map[string]interface{}, error)

ΛListKeyMap returns the keys of the OpenconfigSystem_System_Aaa_Authorization_Events_Event struct, which is a YANG list entry.

type OpenconfigSystem_System_Aaa_Authorization_Events_Event_Config

type OpenconfigSystem_System_Aaa_Authorization_Events_Event_Config struct {
	ΛMetadata  []ygot.Annotation                                 `path:"@" ygotAnnotation:"true"`
	EventType  E_OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE `path:"event-type" module:"openconfig-system"`
	ΛEventType []ygot.Annotation                                 `path:"@event-type" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Aaa_Authorization_Events_Event_Config represents the /openconfig-system/system/aaa/authorization/events/event/config YANG schema element.

func (*OpenconfigSystem_System_Aaa_Authorization_Events_Event_Config) GetEventType

GetEventType retrieves the value of the leaf EventType from the OpenconfigSystem_System_Aaa_Authorization_Events_Event_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if EventType is set, it can safely use t.GetEventType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.EventType == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_Authorization_Events_Event_Config) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_Authorization_Events_Event_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Aaa_Authorization_Events_Event_Config) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_Authorization_Events_Event_Config) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Aaa_Authorization_Events_Event_State

type OpenconfigSystem_System_Aaa_Authorization_Events_Event_State struct {
	ΛMetadata  []ygot.Annotation                                 `path:"@" ygotAnnotation:"true"`
	EventType  E_OpenconfigAaaTypes_AAA_AUTHORIZATION_EVENT_TYPE `path:"event-type" module:"openconfig-system"`
	ΛEventType []ygot.Annotation                                 `path:"@event-type" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Aaa_Authorization_Events_Event_State represents the /openconfig-system/system/aaa/authorization/events/event/state YANG schema element.

func (*OpenconfigSystem_System_Aaa_Authorization_Events_Event_State) GetEventType

GetEventType retrieves the value of the leaf EventType from the OpenconfigSystem_System_Aaa_Authorization_Events_Event_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if EventType is set, it can safely use t.GetEventType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.EventType == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_Authorization_Events_Event_State) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_Authorization_Events_Event_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Aaa_Authorization_Events_Event_State) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_Authorization_Events_Event_State) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Aaa_Authorization_State

type OpenconfigSystem_System_Aaa_Authorization_State struct {
	ΛMetadata            []ygot.Annotation                                                           `path:"@" ygotAnnotation:"true"`
	AuthorizationMethod  []OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union `path:"authorization-method" module:"openconfig-system"`
	ΛAuthorizationMethod []ygot.Annotation                                                           `path:"@authorization-method" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Aaa_Authorization_State represents the /openconfig-system/system/aaa/authorization/state YANG schema element.

func (*OpenconfigSystem_System_Aaa_Authorization_State) GetAuthorizationMethod

GetAuthorizationMethod retrieves the value of the leaf AuthorizationMethod from the OpenconfigSystem_System_Aaa_Authorization_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AuthorizationMethod is set, it can safely use t.GetAuthorizationMethod() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AuthorizationMethod == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_Authorization_State) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_Authorization_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Aaa_Authorization_State) To_OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union

func (t *OpenconfigSystem_System_Aaa_Authorization_State) To_OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union(i interface{}) (OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union, error)

To_OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union takes an input interface{} and attempts to convert it to a struct which implements the OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union union. It returns an error if the interface{} supplied cannot be converted to a type within the union.

func (*OpenconfigSystem_System_Aaa_Authorization_State) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_Authorization_State) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union

type OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union interface {
	Is_OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union()
}

OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union is an interface that is implemented by valid types for the union for the leaf /openconfig-system/system/aaa/authorization/state/authorization-method within the YANG schema.

type OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE

type OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE struct {
	E_OpenconfigAaaTypes_AAA_METHOD_TYPE E_OpenconfigAaaTypes_AAA_METHOD_TYPE
}

OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE is used when /openconfig-system/system/aaa/authorization/state/authorization-method is to be set to a E_OpenconfigAaaTypes_AAA_METHOD_TYPE value.

func (*OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE) Is_OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union

func (*OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE) Is_OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union()

Is_OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union ensures that OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union_E_OpenconfigAaaTypes_AAA_METHOD_TYPE implements the OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union interface.

type OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union_String

type OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union_String struct {
	String string
}

OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union_String is used when /openconfig-system/system/aaa/authorization/state/authorization-method is to be set to a string value.

func (*OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union_String) Is_OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union

func (*OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union_String) Is_OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union()

Is_OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union ensures that OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union_String implements the OpenconfigSystem_System_Aaa_Authorization_State_AuthorizationMethod_Union interface.

type OpenconfigSystem_System_Aaa_Config

type OpenconfigSystem_System_Aaa_Config struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Aaa_Config represents the /openconfig-system/system/aaa/config YANG schema element.

func (*OpenconfigSystem_System_Aaa_Config) IsYANGGoStruct

func (*OpenconfigSystem_System_Aaa_Config) IsYANGGoStruct()

IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Aaa_Config) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_Config) ΛEnumTypeMap

func (t *OpenconfigSystem_System_Aaa_Config) ΛEnumTypeMap() map[string][]reflect.Type

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Aaa_ServerGroups

type OpenconfigSystem_System_Aaa_ServerGroups struct {
	ΛMetadata    []ygot.Annotation                                                `path:"@" ygotAnnotation:"true"`
	ServerGroup  map[string]*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup `path:"server-group" module:"openconfig-system"`
	ΛServerGroup []ygot.Annotation                                                `path:"@server-group" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Aaa_ServerGroups represents the /openconfig-system/system/aaa/server-groups YANG schema element.

func (*OpenconfigSystem_System_Aaa_ServerGroups) AppendServerGroup

AppendServerGroup appends the supplied OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup struct to the list ServerGroup of OpenconfigSystem_System_Aaa_ServerGroups. If the key value(s) specified in the supplied OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup already exist in the list, an error is returned.

func (*OpenconfigSystem_System_Aaa_ServerGroups) GetOrCreateServerGroup

GetOrCreateServerGroup retrieves the value with the specified keys from the receiver OpenconfigSystem_System_Aaa_ServerGroups. If the entry does not exist, then it is created. It returns the existing or new list member.

func (*OpenconfigSystem_System_Aaa_ServerGroups) GetServerGroup

GetServerGroup retrieves the value with the specified key from the ServerGroup map field of OpenconfigSystem_System_Aaa_ServerGroups. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.

func (*OpenconfigSystem_System_Aaa_ServerGroups) IsYANGGoStruct

func (*OpenconfigSystem_System_Aaa_ServerGroups) IsYANGGoStruct()

IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_ServerGroups implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Aaa_ServerGroups) NewServerGroup

NewServerGroup creates a new entry in the ServerGroup list of the OpenconfigSystem_System_Aaa_ServerGroups struct. The keys of the list are populated from the input arguments.

func (*OpenconfigSystem_System_Aaa_ServerGroups) RenameServerGroup

func (t *OpenconfigSystem_System_Aaa_ServerGroups) RenameServerGroup(oldK, newK string) error

RenameServerGroup renames an entry in the list ServerGroup within the OpenconfigSystem_System_Aaa_ServerGroups struct. The entry with key oldK is renamed to newK updating the key within the value.

func (*OpenconfigSystem_System_Aaa_ServerGroups) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_ServerGroups) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup

type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup struct {
	ΛMetadata []ygot.Annotation                                             `path:"@" ygotAnnotation:"true"`
	Config    *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Config  `path:"config" module:"openconfig-system"`
	ΛConfig   []ygot.Annotation                                             `path:"@config" ygotAnnotation:"true"`
	Name      *string                                                       `path:"name" module:"openconfig-system"`
	ΛName     []ygot.Annotation                                             `path:"@name" ygotAnnotation:"true"`
	Servers   *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers `path:"servers" module:"openconfig-system"`
	ΛServers  []ygot.Annotation                                             `path:"@servers" ygotAnnotation:"true"`
	State     *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_State   `path:"state" module:"openconfig-system"`
	ΛState    []ygot.Annotation                                             `path:"@state" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup represents the /openconfig-system/system/aaa/server-groups/server-group YANG schema element.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup) GetConfig

GetConfig returns the value of the Config struct pointer from OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup) GetName

GetName retrieves the value of the leaf Name from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Name is set, it can safely use t.GetName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Name == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup) GetOrCreateConfig

GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup) GetOrCreateServers

GetOrCreateServers retrieves the value of the Servers field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup) GetOrCreateState

GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup) GetServers

GetServers returns the value of the Servers struct pointer from OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup. If the receiver or the field Servers is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup) GetState

GetState returns the value of the State struct pointer from OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup) ΛListKeyMap

func (t *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup) ΛListKeyMap() (map[string]interface{}, error)

ΛListKeyMap returns the keys of the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup struct, which is a YANG list entry.

type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Config

type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Config struct {
	ΛMetadata []ygot.Annotation                    `path:"@" ygotAnnotation:"true"`
	Name      *string                              `path:"name" module:"openconfig-system"`
	ΛName     []ygot.Annotation                    `path:"@name" ygotAnnotation:"true"`
	Type      E_OpenconfigAaaTypes_AAA_SERVER_TYPE `path:"type" module:"openconfig-system"`
	ΛType     []ygot.Annotation                    `path:"@type" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Config represents the /openconfig-system/system/aaa/server-groups/server-group/config YANG schema element.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Config) GetName

GetName retrieves the value of the leaf Name from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Name is set, it can safely use t.GetName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Name == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Config) GetType

GetType retrieves the value of the leaf Type from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Type is set, it can safely use t.GetType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Type == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Config) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Config) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Config) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers

type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers struct {
	ΛMetadata []ygot.Annotation                                                               `path:"@" ygotAnnotation:"true"`
	Server    map[string]*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server `path:"server" module:"openconfig-system"`
	ΛServer   []ygot.Annotation                                                               `path:"@server" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers represents the /openconfig-system/system/aaa/server-groups/server-group/servers YANG schema element.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers) AppendServer

AppendServer appends the supplied OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server struct to the list Server of OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers. If the key value(s) specified in the supplied OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server already exist in the list, an error is returned.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers) GetOrCreateServer

GetOrCreateServer retrieves the value with the specified keys from the receiver OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers. If the entry does not exist, then it is created. It returns the existing or new list member.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers) GetServer

GetServer retrieves the value with the specified key from the Server map field of OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers) NewServer

NewServer creates a new entry in the Server list of the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers struct. The keys of the list are populated from the input arguments.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers) RenameServer

RenameServer renames an entry in the list Server within the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers struct. The entry with key oldK is renamed to newK updating the key within the value.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server

type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server struct {
	ΛMetadata []ygot.Annotation                                                           `path:"@" ygotAnnotation:"true"`
	Address   *string                                                                     `path:"address" module:"openconfig-system"`
	ΛAddress  []ygot.Annotation                                                           `path:"@address" ygotAnnotation:"true"`
	Config    *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Config `path:"config" module:"openconfig-system"`
	ΛConfig   []ygot.Annotation                                                           `path:"@config" ygotAnnotation:"true"`
	Radius    *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius `path:"radius" module:"openconfig-system"`
	ΛRadius   []ygot.Annotation                                                           `path:"@radius" ygotAnnotation:"true"`
	State     *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State  `path:"state" module:"openconfig-system"`
	ΛState    []ygot.Annotation                                                           `path:"@state" ygotAnnotation:"true"`
	Tacacs    *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs `path:"tacacs" module:"openconfig-system"`
	ΛTacacs   []ygot.Annotation                                                           `path:"@tacacs" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server represents the /openconfig-system/system/aaa/server-groups/server-group/servers/server YANG schema element.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server) GetAddress

GetAddress retrieves the value of the leaf Address from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Address is set, it can safely use t.GetAddress() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Address == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server) GetConfig

GetConfig returns the value of the Config struct pointer from OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server) GetOrCreateConfig

GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server) GetOrCreateRadius

GetOrCreateRadius retrieves the value of the Radius field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server) GetOrCreateState

GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server) GetOrCreateTacacs

GetOrCreateTacacs retrieves the value of the Tacacs field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server) GetRadius

GetRadius returns the value of the Radius struct pointer from OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server. If the receiver or the field Radius is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server) GetState

GetState returns the value of the State struct pointer from OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server) GetTacacs

GetTacacs returns the value of the Tacacs struct pointer from OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server. If the receiver or the field Tacacs is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server) ΛListKeyMap

ΛListKeyMap returns the keys of the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server struct, which is a YANG list entry.

type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Config

type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Config struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Address   *string           `path:"address" module:"openconfig-system"`
	ΛAddress  []ygot.Annotation `path:"@address" ygotAnnotation:"true"`
	Name      *string           `path:"name" module:"openconfig-system"`
	ΛName     []ygot.Annotation `path:"@name" ygotAnnotation:"true"`
	Timeout   *uint16           `path:"timeout" module:"openconfig-system"`
	ΛTimeout  []ygot.Annotation `path:"@timeout" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Config represents the /openconfig-system/system/aaa/server-groups/server-group/servers/server/config YANG schema element.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Config) GetAddress

GetAddress retrieves the value of the leaf Address from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Address is set, it can safely use t.GetAddress() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Address == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Config) GetName

GetName retrieves the value of the leaf Name from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Name is set, it can safely use t.GetName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Name == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Config) GetTimeout

GetTimeout retrieves the value of the leaf Timeout from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Timeout is set, it can safely use t.GetTimeout() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Timeout == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Config) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Config) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Config) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius

type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius struct {
	ΛMetadata []ygot.Annotation                                                                  `path:"@" ygotAnnotation:"true"`
	Config    *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_Config `path:"config" module:"openconfig-system"`
	ΛConfig   []ygot.Annotation                                                                  `path:"@config" ygotAnnotation:"true"`
	State     *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State  `path:"state" module:"openconfig-system"`
	ΛState    []ygot.Annotation                                                                  `path:"@state" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius represents the /openconfig-system/system/aaa/server-groups/server-group/servers/server/radius YANG schema element.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius) GetConfig

GetConfig returns the value of the Config struct pointer from OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius) GetOrCreateConfig

GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius) GetOrCreateState

GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius) GetState

GetState returns the value of the State struct pointer from OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_Config

type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_Config struct {
	ΛMetadata           []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	AcctPort            *uint16           `path:"acct-port" module:"openconfig-system"`
	ΛAcctPort           []ygot.Annotation `path:"@acct-port" ygotAnnotation:"true"`
	AuthPort            *uint16           `path:"auth-port" module:"openconfig-system"`
	ΛAuthPort           []ygot.Annotation `path:"@auth-port" ygotAnnotation:"true"`
	RetransmitAttempts  *uint8            `path:"retransmit-attempts" module:"openconfig-system"`
	ΛRetransmitAttempts []ygot.Annotation `path:"@retransmit-attempts" ygotAnnotation:"true"`
	SecretKey           *string           `path:"secret-key" module:"openconfig-system"`
	ΛSecretKey          []ygot.Annotation `path:"@secret-key" ygotAnnotation:"true"`
	SourceAddress       *string           `path:"source-address" module:"openconfig-system"`
	ΛSourceAddress      []ygot.Annotation `path:"@source-address" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_Config represents the /openconfig-system/system/aaa/server-groups/server-group/servers/server/radius/config YANG schema element.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_Config) GetAcctPort

GetAcctPort retrieves the value of the leaf AcctPort from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AcctPort is set, it can safely use t.GetAcctPort() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AcctPort == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_Config) GetAuthPort

GetAuthPort retrieves the value of the leaf AuthPort from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AuthPort is set, it can safely use t.GetAuthPort() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AuthPort == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_Config) GetRetransmitAttempts

GetRetransmitAttempts retrieves the value of the leaf RetransmitAttempts from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if RetransmitAttempts is set, it can safely use t.GetRetransmitAttempts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.RetransmitAttempts == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_Config) GetSecretKey

GetSecretKey retrieves the value of the leaf SecretKey from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SecretKey is set, it can safely use t.GetSecretKey() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SecretKey == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_Config) GetSourceAddress

GetSourceAddress retrieves the value of the leaf SourceAddress from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SourceAddress is set, it can safely use t.GetSourceAddress() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SourceAddress == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_Config) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_Config) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_Config) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State

type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State struct {
	ΛMetadata           []ygot.Annotation                                                                          `path:"@" ygotAnnotation:"true"`
	AcctPort            *uint16                                                                                    `path:"acct-port" module:"openconfig-system"`
	ΛAcctPort           []ygot.Annotation                                                                          `path:"@acct-port" ygotAnnotation:"true"`
	AuthPort            *uint16                                                                                    `path:"auth-port" module:"openconfig-system"`
	ΛAuthPort           []ygot.Annotation                                                                          `path:"@auth-port" ygotAnnotation:"true"`
	Counters            *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State_Counters `path:"counters" module:"openconfig-system"`
	ΛCounters           []ygot.Annotation                                                                          `path:"@counters" ygotAnnotation:"true"`
	RetransmitAttempts  *uint8                                                                                     `path:"retransmit-attempts" module:"openconfig-system"`
	ΛRetransmitAttempts []ygot.Annotation                                                                          `path:"@retransmit-attempts" ygotAnnotation:"true"`
	SecretKey           *string                                                                                    `path:"secret-key" module:"openconfig-system"`
	ΛSecretKey          []ygot.Annotation                                                                          `path:"@secret-key" ygotAnnotation:"true"`
	SourceAddress       *string                                                                                    `path:"source-address" module:"openconfig-system"`
	ΛSourceAddress      []ygot.Annotation                                                                          `path:"@source-address" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State represents the /openconfig-system/system/aaa/server-groups/server-group/servers/server/radius/state YANG schema element.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State) GetAcctPort

GetAcctPort retrieves the value of the leaf AcctPort from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AcctPort is set, it can safely use t.GetAcctPort() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AcctPort == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State) GetAuthPort

GetAuthPort retrieves the value of the leaf AuthPort from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AuthPort is set, it can safely use t.GetAuthPort() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AuthPort == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State) GetCounters

GetCounters returns the value of the Counters struct pointer from OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State. If the receiver or the field Counters is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State) GetOrCreateCounters

GetOrCreateCounters retrieves the value of the Counters field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State) GetRetransmitAttempts

GetRetransmitAttempts retrieves the value of the leaf RetransmitAttempts from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if RetransmitAttempts is set, it can safely use t.GetRetransmitAttempts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.RetransmitAttempts == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State) GetSecretKey

GetSecretKey retrieves the value of the leaf SecretKey from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SecretKey is set, it can safely use t.GetSecretKey() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SecretKey == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State) GetSourceAddress

GetSourceAddress retrieves the value of the leaf SourceAddress from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SourceAddress is set, it can safely use t.GetSourceAddress() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SourceAddress == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State_Counters

type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State_Counters struct {
	ΛMetadata              []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	AccessAccepts          *uint64           `path:"access-accepts" module:"openconfig-system"`
	ΛAccessAccepts         []ygot.Annotation `path:"@access-accepts" ygotAnnotation:"true"`
	AccessRejects          *uint64           `path:"access-rejects" module:"openconfig-system"`
	ΛAccessRejects         []ygot.Annotation `path:"@access-rejects" ygotAnnotation:"true"`
	RetriedAccessRequests  *uint64           `path:"retried-access-requests" module:"openconfig-system"`
	ΛRetriedAccessRequests []ygot.Annotation `path:"@retried-access-requests" ygotAnnotation:"true"`
	TimeoutAccessRequests  *uint64           `path:"timeout-access-requests" module:"openconfig-system"`
	ΛTimeoutAccessRequests []ygot.Annotation `path:"@timeout-access-requests" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State_Counters represents the /openconfig-system/system/aaa/server-groups/server-group/servers/server/radius/state/counters YANG schema element.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State_Counters) GetAccessAccepts

GetAccessAccepts retrieves the value of the leaf AccessAccepts from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AccessAccepts is set, it can safely use t.GetAccessAccepts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AccessAccepts == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State_Counters) GetAccessRejects

GetAccessRejects retrieves the value of the leaf AccessRejects from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AccessRejects is set, it can safely use t.GetAccessRejects() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AccessRejects == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State_Counters) GetRetriedAccessRequests

GetRetriedAccessRequests retrieves the value of the leaf RetriedAccessRequests from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if RetriedAccessRequests is set, it can safely use t.GetRetriedAccessRequests() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.RetriedAccessRequests == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State_Counters) GetTimeoutAccessRequests

GetTimeoutAccessRequests retrieves the value of the leaf TimeoutAccessRequests from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State_Counters struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TimeoutAccessRequests is set, it can safely use t.GetTimeoutAccessRequests() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TimeoutAccessRequests == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State_Counters) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State_Counters implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State_Counters) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Radius_State_Counters) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State

type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State struct {
	ΛMetadata           []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Address             *string           `path:"address" module:"openconfig-system"`
	ΛAddress            []ygot.Annotation `path:"@address" ygotAnnotation:"true"`
	ConnectionAborts    *uint64           `path:"connection-aborts" module:"openconfig-system"`
	ΛConnectionAborts   []ygot.Annotation `path:"@connection-aborts" ygotAnnotation:"true"`
	ConnectionCloses    *uint64           `path:"connection-closes" module:"openconfig-system"`
	ΛConnectionCloses   []ygot.Annotation `path:"@connection-closes" ygotAnnotation:"true"`
	ConnectionFailures  *uint64           `path:"connection-failures" module:"openconfig-system"`
	ΛConnectionFailures []ygot.Annotation `path:"@connection-failures" ygotAnnotation:"true"`
	ConnectionOpens     *uint64           `path:"connection-opens" module:"openconfig-system"`
	ΛConnectionOpens    []ygot.Annotation `path:"@connection-opens" ygotAnnotation:"true"`
	ConnectionTimeouts  *uint64           `path:"connection-timeouts" module:"openconfig-system"`
	ΛConnectionTimeouts []ygot.Annotation `path:"@connection-timeouts" ygotAnnotation:"true"`
	ErrorsReceived      *uint64           `path:"errors-received" module:"openconfig-system"`
	ΛErrorsReceived     []ygot.Annotation `path:"@errors-received" ygotAnnotation:"true"`
	MessagesReceived    *uint64           `path:"messages-received" module:"openconfig-system"`
	ΛMessagesReceived   []ygot.Annotation `path:"@messages-received" ygotAnnotation:"true"`
	MessagesSent        *uint64           `path:"messages-sent" module:"openconfig-system"`
	ΛMessagesSent       []ygot.Annotation `path:"@messages-sent" ygotAnnotation:"true"`
	Name                *string           `path:"name" module:"openconfig-system"`
	ΛName               []ygot.Annotation `path:"@name" ygotAnnotation:"true"`
	Timeout             *uint16           `path:"timeout" module:"openconfig-system"`
	ΛTimeout            []ygot.Annotation `path:"@timeout" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State represents the /openconfig-system/system/aaa/server-groups/server-group/servers/server/state YANG schema element.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State) GetAddress

GetAddress retrieves the value of the leaf Address from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Address is set, it can safely use t.GetAddress() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Address == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State) GetConnectionAborts

GetConnectionAborts retrieves the value of the leaf ConnectionAborts from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ConnectionAborts is set, it can safely use t.GetConnectionAborts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ConnectionAborts == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State) GetConnectionCloses

GetConnectionCloses retrieves the value of the leaf ConnectionCloses from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ConnectionCloses is set, it can safely use t.GetConnectionCloses() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ConnectionCloses == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State) GetConnectionFailures

GetConnectionFailures retrieves the value of the leaf ConnectionFailures from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ConnectionFailures is set, it can safely use t.GetConnectionFailures() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ConnectionFailures == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State) GetConnectionOpens

GetConnectionOpens retrieves the value of the leaf ConnectionOpens from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ConnectionOpens is set, it can safely use t.GetConnectionOpens() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ConnectionOpens == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State) GetConnectionTimeouts

GetConnectionTimeouts retrieves the value of the leaf ConnectionTimeouts from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ConnectionTimeouts is set, it can safely use t.GetConnectionTimeouts() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ConnectionTimeouts == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State) GetErrorsReceived

GetErrorsReceived retrieves the value of the leaf ErrorsReceived from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ErrorsReceived is set, it can safely use t.GetErrorsReceived() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ErrorsReceived == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State) GetMessagesReceived

GetMessagesReceived retrieves the value of the leaf MessagesReceived from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MessagesReceived is set, it can safely use t.GetMessagesReceived() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MessagesReceived == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State) GetMessagesSent

GetMessagesSent retrieves the value of the leaf MessagesSent from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MessagesSent is set, it can safely use t.GetMessagesSent() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MessagesSent == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State) GetName

GetName retrieves the value of the leaf Name from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Name is set, it can safely use t.GetName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Name == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State) GetTimeout

GetTimeout retrieves the value of the leaf Timeout from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Timeout is set, it can safely use t.GetTimeout() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Timeout == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_State) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs

type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs struct {
	ΛMetadata []ygot.Annotation                                                                  `path:"@" ygotAnnotation:"true"`
	Config    *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_Config `path:"config" module:"openconfig-system"`
	ΛConfig   []ygot.Annotation                                                                  `path:"@config" ygotAnnotation:"true"`
	State     *OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_State  `path:"state" module:"openconfig-system"`
	ΛState    []ygot.Annotation                                                                  `path:"@state" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs represents the /openconfig-system/system/aaa/server-groups/server-group/servers/server/tacacs YANG schema element.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs) GetConfig

GetConfig returns the value of the Config struct pointer from OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs) GetOrCreateConfig

GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs) GetOrCreateState

GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs) GetState

GetState returns the value of the State struct pointer from OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_Config

type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_Config struct {
	ΛMetadata      []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Port           *uint16           `path:"port" module:"openconfig-system"`
	ΛPort          []ygot.Annotation `path:"@port" ygotAnnotation:"true"`
	SecretKey      *string           `path:"secret-key" module:"openconfig-system"`
	ΛSecretKey     []ygot.Annotation `path:"@secret-key" ygotAnnotation:"true"`
	SourceAddress  *string           `path:"source-address" module:"openconfig-system"`
	ΛSourceAddress []ygot.Annotation `path:"@source-address" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_Config represents the /openconfig-system/system/aaa/server-groups/server-group/servers/server/tacacs/config YANG schema element.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_Config) GetPort

GetPort retrieves the value of the leaf Port from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Port is set, it can safely use t.GetPort() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Port == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_Config) GetSecretKey

GetSecretKey retrieves the value of the leaf SecretKey from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SecretKey is set, it can safely use t.GetSecretKey() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SecretKey == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_Config) GetSourceAddress

GetSourceAddress retrieves the value of the leaf SourceAddress from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SourceAddress is set, it can safely use t.GetSourceAddress() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SourceAddress == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_Config) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_Config) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_Config) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_State

type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_State struct {
	ΛMetadata      []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Port           *uint16           `path:"port" module:"openconfig-system"`
	ΛPort          []ygot.Annotation `path:"@port" ygotAnnotation:"true"`
	SecretKey      *string           `path:"secret-key" module:"openconfig-system"`
	ΛSecretKey     []ygot.Annotation `path:"@secret-key" ygotAnnotation:"true"`
	SourceAddress  *string           `path:"source-address" module:"openconfig-system"`
	ΛSourceAddress []ygot.Annotation `path:"@source-address" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_State represents the /openconfig-system/system/aaa/server-groups/server-group/servers/server/tacacs/state YANG schema element.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_State) GetPort

GetPort retrieves the value of the leaf Port from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Port is set, it can safely use t.GetPort() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Port == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_State) GetSecretKey

GetSecretKey retrieves the value of the leaf SecretKey from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SecretKey is set, it can safely use t.GetSecretKey() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SecretKey == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_State) GetSourceAddress

GetSourceAddress retrieves the value of the leaf SourceAddress from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SourceAddress is set, it can safely use t.GetSourceAddress() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SourceAddress == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_State) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_State) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_Servers_Server_Tacacs_State) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_State

type OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_State struct {
	ΛMetadata []ygot.Annotation                    `path:"@" ygotAnnotation:"true"`
	Name      *string                              `path:"name" module:"openconfig-system"`
	ΛName     []ygot.Annotation                    `path:"@name" ygotAnnotation:"true"`
	Type      E_OpenconfigAaaTypes_AAA_SERVER_TYPE `path:"type" module:"openconfig-system"`
	ΛType     []ygot.Annotation                    `path:"@type" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_State represents the /openconfig-system/system/aaa/server-groups/server-group/state YANG schema element.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_State) GetName

GetName retrieves the value of the leaf Name from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Name is set, it can safely use t.GetName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Name == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_State) GetType

GetType retrieves the value of the leaf Type from the OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Type is set, it can safely use t.GetType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Type == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_State) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_State) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_ServerGroups_ServerGroup_State) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Aaa_State

type OpenconfigSystem_System_Aaa_State struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Aaa_State represents the /openconfig-system/system/aaa/state YANG schema element.

func (*OpenconfigSystem_System_Aaa_State) IsYANGGoStruct

func (*OpenconfigSystem_System_Aaa_State) IsYANGGoStruct()

IsYANGGoStruct ensures that OpenconfigSystem_System_Aaa_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Aaa_State) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Aaa_State) ΛEnumTypeMap

func (t *OpenconfigSystem_System_Aaa_State) ΛEnumTypeMap() map[string][]reflect.Type

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Alarms

type OpenconfigSystem_System_Alarms struct {
	ΛMetadata []ygot.Annotation                                `path:"@" ygotAnnotation:"true"`
	Alarm     map[string]*OpenconfigSystem_System_Alarms_Alarm `path:"alarm" module:"openconfig-system"`
	ΛAlarm    []ygot.Annotation                                `path:"@alarm" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Alarms represents the /openconfig-system/system/alarms YANG schema element.

func (*OpenconfigSystem_System_Alarms) AppendAlarm

AppendAlarm appends the supplied OpenconfigSystem_System_Alarms_Alarm struct to the list Alarm of OpenconfigSystem_System_Alarms. If the key value(s) specified in the supplied OpenconfigSystem_System_Alarms_Alarm already exist in the list, an error is returned.

func (*OpenconfigSystem_System_Alarms) GetAlarm

GetAlarm retrieves the value with the specified key from the Alarm map field of OpenconfigSystem_System_Alarms. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.

func (*OpenconfigSystem_System_Alarms) GetOrCreateAlarm

GetOrCreateAlarm retrieves the value with the specified keys from the receiver OpenconfigSystem_System_Alarms. If the entry does not exist, then it is created. It returns the existing or new list member.

func (*OpenconfigSystem_System_Alarms) IsYANGGoStruct

func (*OpenconfigSystem_System_Alarms) IsYANGGoStruct()

IsYANGGoStruct ensures that OpenconfigSystem_System_Alarms implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Alarms) NewAlarm

NewAlarm creates a new entry in the Alarm list of the OpenconfigSystem_System_Alarms struct. The keys of the list are populated from the input arguments.

func (*OpenconfigSystem_System_Alarms) RenameAlarm

func (t *OpenconfigSystem_System_Alarms) RenameAlarm(oldK, newK string) error

RenameAlarm renames an entry in the list Alarm within the OpenconfigSystem_System_Alarms struct. The entry with key oldK is renamed to newK updating the key within the value.

func (*OpenconfigSystem_System_Alarms) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Alarms) ΛEnumTypeMap

func (t *OpenconfigSystem_System_Alarms) ΛEnumTypeMap() map[string][]reflect.Type

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Alarms_Alarm

type OpenconfigSystem_System_Alarms_Alarm struct {
	ΛMetadata []ygot.Annotation                            `path:"@" ygotAnnotation:"true"`
	Config    *OpenconfigSystem_System_Alarms_Alarm_Config `path:"config" module:"openconfig-system"`
	ΛConfig   []ygot.Annotation                            `path:"@config" ygotAnnotation:"true"`
	Id        *string                                      `path:"id" module:"openconfig-system"`
	ΛId       []ygot.Annotation                            `path:"@id" ygotAnnotation:"true"`
	State     *OpenconfigSystem_System_Alarms_Alarm_State  `path:"state" module:"openconfig-system"`
	ΛState    []ygot.Annotation                            `path:"@state" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Alarms_Alarm represents the /openconfig-system/system/alarms/alarm YANG schema element.

func (*OpenconfigSystem_System_Alarms_Alarm) GetConfig

GetConfig returns the value of the Config struct pointer from OpenconfigSystem_System_Alarms_Alarm. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_Alarms_Alarm) GetId

GetId retrieves the value of the leaf Id from the OpenconfigSystem_System_Alarms_Alarm struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Id is set, it can safely use t.GetId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Id == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Alarms_Alarm) GetOrCreateConfig

GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Alarms_Alarm) GetOrCreateState

GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Alarms_Alarm) GetState

GetState returns the value of the State struct pointer from OpenconfigSystem_System_Alarms_Alarm. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_Alarms_Alarm) IsYANGGoStruct

func (*OpenconfigSystem_System_Alarms_Alarm) IsYANGGoStruct()

IsYANGGoStruct ensures that OpenconfigSystem_System_Alarms_Alarm implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Alarms_Alarm) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Alarms_Alarm) ΛEnumTypeMap

func (t *OpenconfigSystem_System_Alarms_Alarm) ΛEnumTypeMap() map[string][]reflect.Type

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigSystem_System_Alarms_Alarm) ΛListKeyMap

func (t *OpenconfigSystem_System_Alarms_Alarm) ΛListKeyMap() (map[string]interface{}, error)

ΛListKeyMap returns the keys of the OpenconfigSystem_System_Alarms_Alarm struct, which is a YANG list entry.

type OpenconfigSystem_System_Alarms_Alarm_Config

type OpenconfigSystem_System_Alarms_Alarm_Config struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Alarms_Alarm_Config represents the /openconfig-system/system/alarms/alarm/config YANG schema element.

func (*OpenconfigSystem_System_Alarms_Alarm_Config) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Alarms_Alarm_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Alarms_Alarm_Config) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Alarms_Alarm_Config) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Alarms_Alarm_State

type OpenconfigSystem_System_Alarms_Alarm_State struct {
	ΛMetadata    []ygot.Annotation                                       `path:"@" ygotAnnotation:"true"`
	Id           *string                                                 `path:"id" module:"openconfig-system"`
	ΛId          []ygot.Annotation                                       `path:"@id" ygotAnnotation:"true"`
	Resource     *string                                                 `path:"resource" module:"openconfig-system"`
	ΛResource    []ygot.Annotation                                       `path:"@resource" ygotAnnotation:"true"`
	Severity     E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_SEVERITY        `path:"severity" module:"openconfig-system"`
	ΛSeverity    []ygot.Annotation                                       `path:"@severity" ygotAnnotation:"true"`
	Text         *string                                                 `path:"text" module:"openconfig-system"`
	ΛText        []ygot.Annotation                                       `path:"@text" ygotAnnotation:"true"`
	TimeCreated  *uint64                                                 `path:"time-created" module:"openconfig-system"`
	ΛTimeCreated []ygot.Annotation                                       `path:"@time-created" ygotAnnotation:"true"`
	TypeId       OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union `path:"type-id" module:"openconfig-system"`
	ΛTypeId      []ygot.Annotation                                       `path:"@type-id" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Alarms_Alarm_State represents the /openconfig-system/system/alarms/alarm/state YANG schema element.

func (*OpenconfigSystem_System_Alarms_Alarm_State) GetId

GetId retrieves the value of the leaf Id from the OpenconfigSystem_System_Alarms_Alarm_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Id is set, it can safely use t.GetId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Id == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Alarms_Alarm_State) GetResource

GetResource retrieves the value of the leaf Resource from the OpenconfigSystem_System_Alarms_Alarm_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Resource is set, it can safely use t.GetResource() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Resource == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Alarms_Alarm_State) GetSeverity

GetSeverity retrieves the value of the leaf Severity from the OpenconfigSystem_System_Alarms_Alarm_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Severity is set, it can safely use t.GetSeverity() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Severity == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Alarms_Alarm_State) GetText

GetText retrieves the value of the leaf Text from the OpenconfigSystem_System_Alarms_Alarm_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Text is set, it can safely use t.GetText() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Text == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Alarms_Alarm_State) GetTimeCreated

GetTimeCreated retrieves the value of the leaf TimeCreated from the OpenconfigSystem_System_Alarms_Alarm_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TimeCreated is set, it can safely use t.GetTimeCreated() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TimeCreated == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Alarms_Alarm_State) GetTypeId

GetTypeId retrieves the value of the leaf TypeId from the OpenconfigSystem_System_Alarms_Alarm_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TypeId is set, it can safely use t.GetTypeId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TypeId == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Alarms_Alarm_State) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Alarms_Alarm_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Alarms_Alarm_State) To_OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union

func (t *OpenconfigSystem_System_Alarms_Alarm_State) To_OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union(i interface{}) (OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union, error)

To_OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union takes an input interface{} and attempts to convert it to a struct which implements the OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union union. It returns an error if the interface{} supplied cannot be converted to a type within the union.

func (*OpenconfigSystem_System_Alarms_Alarm_State) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Alarms_Alarm_State) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union

type OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union interface {
	Is_OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union()
}

OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union is an interface that is implemented by valid types for the union for the leaf /openconfig-system/system/alarms/alarm/state/type-id within the YANG schema.

type OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union_E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID

type OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union_E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID struct {
	E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID
}

OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union_E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID is used when /openconfig-system/system/alarms/alarm/state/type-id is to be set to a E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID value.

func (*OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union_E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID) Is_OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union

func (*OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union_E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID) Is_OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union()

Is_OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union ensures that OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union_E_OpenconfigAlarmTypes_OPENCONFIG_ALARM_TYPE_ID implements the OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union interface.

type OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union_String

type OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union_String struct {
	String string
}

OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union_String is used when /openconfig-system/system/alarms/alarm/state/type-id is to be set to a string value.

func (*OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union_String) Is_OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union

func (*OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union_String) Is_OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union()

Is_OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union ensures that OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union_String implements the OpenconfigSystem_System_Alarms_Alarm_State_TypeId_Union interface.

type OpenconfigSystem_System_Clock

type OpenconfigSystem_System_Clock struct {
	ΛMetadata []ygot.Annotation                     `path:"@" ygotAnnotation:"true"`
	Config    *OpenconfigSystem_System_Clock_Config `path:"config" module:"openconfig-system"`
	ΛConfig   []ygot.Annotation                     `path:"@config" ygotAnnotation:"true"`
	State     *OpenconfigSystem_System_Clock_State  `path:"state" module:"openconfig-system"`
	ΛState    []ygot.Annotation                     `path:"@state" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Clock represents the /openconfig-system/system/clock YANG schema element.

func (*OpenconfigSystem_System_Clock) GetConfig

GetConfig returns the value of the Config struct pointer from OpenconfigSystem_System_Clock. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_Clock) GetOrCreateConfig

GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Clock) GetOrCreateState

GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Clock) GetState

GetState returns the value of the State struct pointer from OpenconfigSystem_System_Clock. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_Clock) IsYANGGoStruct

func (*OpenconfigSystem_System_Clock) IsYANGGoStruct()

IsYANGGoStruct ensures that OpenconfigSystem_System_Clock implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Clock) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Clock) ΛEnumTypeMap

func (t *OpenconfigSystem_System_Clock) ΛEnumTypeMap() map[string][]reflect.Type

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Clock_Config

type OpenconfigSystem_System_Clock_Config struct {
	ΛMetadata     []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	TimezoneName  *string           `path:"timezone-name" module:"openconfig-system"`
	ΛTimezoneName []ygot.Annotation `path:"@timezone-name" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Clock_Config represents the /openconfig-system/system/clock/config YANG schema element.

func (*OpenconfigSystem_System_Clock_Config) GetTimezoneName

func (t *OpenconfigSystem_System_Clock_Config) GetTimezoneName() string

GetTimezoneName retrieves the value of the leaf TimezoneName from the OpenconfigSystem_System_Clock_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TimezoneName is set, it can safely use t.GetTimezoneName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TimezoneName == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Clock_Config) IsYANGGoStruct

func (*OpenconfigSystem_System_Clock_Config) IsYANGGoStruct()

IsYANGGoStruct ensures that OpenconfigSystem_System_Clock_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Clock_Config) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Clock_Config) ΛEnumTypeMap

func (t *OpenconfigSystem_System_Clock_Config) ΛEnumTypeMap() map[string][]reflect.Type

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Clock_State

type OpenconfigSystem_System_Clock_State struct {
	ΛMetadata     []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	TimezoneName  *string           `path:"timezone-name" module:"openconfig-system"`
	ΛTimezoneName []ygot.Annotation `path:"@timezone-name" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Clock_State represents the /openconfig-system/system/clock/state YANG schema element.

func (*OpenconfigSystem_System_Clock_State) GetTimezoneName

func (t *OpenconfigSystem_System_Clock_State) GetTimezoneName() string

GetTimezoneName retrieves the value of the leaf TimezoneName from the OpenconfigSystem_System_Clock_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TimezoneName is set, it can safely use t.GetTimezoneName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TimezoneName == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Clock_State) IsYANGGoStruct

func (*OpenconfigSystem_System_Clock_State) IsYANGGoStruct()

IsYANGGoStruct ensures that OpenconfigSystem_System_Clock_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Clock_State) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Clock_State) ΛEnumTypeMap

func (t *OpenconfigSystem_System_Clock_State) ΛEnumTypeMap() map[string][]reflect.Type

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Config

type OpenconfigSystem_System_Config struct {
	ΛMetadata    []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	DomainName   *string           `path:"domain-name" module:"openconfig-system"`
	ΛDomainName  []ygot.Annotation `path:"@domain-name" ygotAnnotation:"true"`
	Hostname     *string           `path:"hostname" module:"openconfig-system"`
	ΛHostname    []ygot.Annotation `path:"@hostname" ygotAnnotation:"true"`
	LoginBanner  *string           `path:"login-banner" module:"openconfig-system"`
	ΛLoginBanner []ygot.Annotation `path:"@login-banner" ygotAnnotation:"true"`
	MotdBanner   *string           `path:"motd-banner" module:"openconfig-system"`
	ΛMotdBanner  []ygot.Annotation `path:"@motd-banner" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Config represents the /openconfig-system/system/config YANG schema element.

func (*OpenconfigSystem_System_Config) GetDomainName

func (t *OpenconfigSystem_System_Config) GetDomainName() string

GetDomainName retrieves the value of the leaf DomainName from the OpenconfigSystem_System_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if DomainName is set, it can safely use t.GetDomainName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.DomainName == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Config) GetHostname

func (t *OpenconfigSystem_System_Config) GetHostname() string

GetHostname retrieves the value of the leaf Hostname from the OpenconfigSystem_System_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Hostname is set, it can safely use t.GetHostname() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Hostname == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Config) GetLoginBanner

func (t *OpenconfigSystem_System_Config) GetLoginBanner() string

GetLoginBanner retrieves the value of the leaf LoginBanner from the OpenconfigSystem_System_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LoginBanner is set, it can safely use t.GetLoginBanner() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LoginBanner == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Config) GetMotdBanner

func (t *OpenconfigSystem_System_Config) GetMotdBanner() string

GetMotdBanner retrieves the value of the leaf MotdBanner from the OpenconfigSystem_System_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MotdBanner is set, it can safely use t.GetMotdBanner() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MotdBanner == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Config) IsYANGGoStruct

func (*OpenconfigSystem_System_Config) IsYANGGoStruct()

IsYANGGoStruct ensures that OpenconfigSystem_System_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Config) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Config) ΛEnumTypeMap

func (t *OpenconfigSystem_System_Config) ΛEnumTypeMap() map[string][]reflect.Type

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Cpus

type OpenconfigSystem_System_Cpus struct {
	ΛMetadata []ygot.Annotation                                                                        `path:"@" ygotAnnotation:"true"`
	Cpu       map[OpenconfigSystem_System_Cpus_Cpu_State_Index_Union]*OpenconfigSystem_System_Cpus_Cpu `path:"cpu" module:"openconfig-system"`
	ΛCpu      []ygot.Annotation                                                                        `path:"@cpu" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Cpus represents the /openconfig-system/system/cpus YANG schema element.

func (*OpenconfigSystem_System_Cpus) AppendCpu

AppendCpu appends the supplied OpenconfigSystem_System_Cpus_Cpu struct to the list Cpu of OpenconfigSystem_System_Cpus. If the key value(s) specified in the supplied OpenconfigSystem_System_Cpus_Cpu already exist in the list, an error is returned.

func (*OpenconfigSystem_System_Cpus) GetCpu

GetCpu retrieves the value with the specified key from the Cpu map field of OpenconfigSystem_System_Cpus. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.

func (*OpenconfigSystem_System_Cpus) GetOrCreateCpu

GetOrCreateCpu retrieves the value with the specified keys from the receiver OpenconfigSystem_System_Cpus. If the entry does not exist, then it is created. It returns the existing or new list member.

func (*OpenconfigSystem_System_Cpus) IsYANGGoStruct

func (*OpenconfigSystem_System_Cpus) IsYANGGoStruct()

IsYANGGoStruct ensures that OpenconfigSystem_System_Cpus implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Cpus) NewCpu

NewCpu creates a new entry in the Cpu list of the OpenconfigSystem_System_Cpus struct. The keys of the list are populated from the input arguments.

func (*OpenconfigSystem_System_Cpus) RenameCpu

RenameCpu renames an entry in the list Cpu within the OpenconfigSystem_System_Cpus struct. The entry with key oldK is renamed to newK updating the key within the value.

func (*OpenconfigSystem_System_Cpus) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Cpus) ΛEnumTypeMap

func (t *OpenconfigSystem_System_Cpus) ΛEnumTypeMap() map[string][]reflect.Type

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Cpus_Cpu

type OpenconfigSystem_System_Cpus_Cpu struct {
	ΛMetadata []ygot.Annotation                                  `path:"@" ygotAnnotation:"true"`
	Index     OpenconfigSystem_System_Cpus_Cpu_State_Index_Union `path:"index" module:"openconfig-system"`
	ΛIndex    []ygot.Annotation                                  `path:"@index" ygotAnnotation:"true"`
	State     *OpenconfigSystem_System_Cpus_Cpu_State            `path:"state" module:"openconfig-system"`
	ΛState    []ygot.Annotation                                  `path:"@state" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Cpus_Cpu represents the /openconfig-system/system/cpus/cpu YANG schema element.

func (*OpenconfigSystem_System_Cpus_Cpu) GetIndex

GetIndex retrieves the value of the leaf Index from the OpenconfigSystem_System_Cpus_Cpu struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Index is set, it can safely use t.GetIndex() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Index == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Cpus_Cpu) GetOrCreateState

GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Cpus_Cpu) GetState

GetState returns the value of the State struct pointer from OpenconfigSystem_System_Cpus_Cpu. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_Cpus_Cpu) IsYANGGoStruct

func (*OpenconfigSystem_System_Cpus_Cpu) IsYANGGoStruct()

IsYANGGoStruct ensures that OpenconfigSystem_System_Cpus_Cpu implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Cpus_Cpu) To_OpenconfigSystem_System_Cpus_Cpu_State_Index_Union

func (t *OpenconfigSystem_System_Cpus_Cpu) To_OpenconfigSystem_System_Cpus_Cpu_State_Index_Union(i interface{}) (OpenconfigSystem_System_Cpus_Cpu_State_Index_Union, error)

To_OpenconfigSystem_System_Cpus_Cpu_State_Index_Union takes an input interface{} and attempts to convert it to a struct which implements the OpenconfigSystem_System_Cpus_Cpu_State_Index_Union union. It returns an error if the interface{} supplied cannot be converted to a type within the union.

func (*OpenconfigSystem_System_Cpus_Cpu) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Cpus_Cpu) ΛEnumTypeMap

func (t *OpenconfigSystem_System_Cpus_Cpu) ΛEnumTypeMap() map[string][]reflect.Type

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigSystem_System_Cpus_Cpu) ΛListKeyMap

func (t *OpenconfigSystem_System_Cpus_Cpu) ΛListKeyMap() (map[string]interface{}, error)

ΛListKeyMap returns the keys of the OpenconfigSystem_System_Cpus_Cpu struct, which is a YANG list entry.

type OpenconfigSystem_System_Cpus_Cpu_State

type OpenconfigSystem_System_Cpus_Cpu_State struct {
	ΛMetadata          []ygot.Annotation                                         `path:"@" ygotAnnotation:"true"`
	HardwareInterrupt  *OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt `path:"hardware-interrupt" module:"openconfig-system"`
	ΛHardwareInterrupt []ygot.Annotation                                         `path:"@hardware-interrupt" ygotAnnotation:"true"`
	Idle               *OpenconfigSystem_System_Cpus_Cpu_State_Idle              `path:"idle" module:"openconfig-system"`
	ΛIdle              []ygot.Annotation                                         `path:"@idle" ygotAnnotation:"true"`
	Index              OpenconfigSystem_System_Cpus_Cpu_State_Index_Union        `path:"index" module:"openconfig-system"`
	ΛIndex             []ygot.Annotation                                         `path:"@index" ygotAnnotation:"true"`
	Kernel             *OpenconfigSystem_System_Cpus_Cpu_State_Kernel            `path:"kernel" module:"openconfig-system"`
	ΛKernel            []ygot.Annotation                                         `path:"@kernel" ygotAnnotation:"true"`
	Nice               *OpenconfigSystem_System_Cpus_Cpu_State_Nice              `path:"nice" module:"openconfig-system"`
	ΛNice              []ygot.Annotation                                         `path:"@nice" ygotAnnotation:"true"`
	SoftwareInterrupt  *OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt `path:"software-interrupt" module:"openconfig-system"`
	ΛSoftwareInterrupt []ygot.Annotation                                         `path:"@software-interrupt" ygotAnnotation:"true"`
	Total              *OpenconfigSystem_System_Cpus_Cpu_State_Total             `path:"total" module:"openconfig-system"`
	ΛTotal             []ygot.Annotation                                         `path:"@total" ygotAnnotation:"true"`
	User               *OpenconfigSystem_System_Cpus_Cpu_State_User              `path:"user" module:"openconfig-system"`
	ΛUser              []ygot.Annotation                                         `path:"@user" ygotAnnotation:"true"`
	Wait               *OpenconfigSystem_System_Cpus_Cpu_State_Wait              `path:"wait" module:"openconfig-system"`
	ΛWait              []ygot.Annotation                                         `path:"@wait" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Cpus_Cpu_State represents the /openconfig-system/system/cpus/cpu/state YANG schema element.

func (*OpenconfigSystem_System_Cpus_Cpu_State) GetHardwareInterrupt

GetHardwareInterrupt returns the value of the HardwareInterrupt struct pointer from OpenconfigSystem_System_Cpus_Cpu_State. If the receiver or the field HardwareInterrupt is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_Cpus_Cpu_State) GetIdle

GetIdle returns the value of the Idle struct pointer from OpenconfigSystem_System_Cpus_Cpu_State. If the receiver or the field Idle is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_Cpus_Cpu_State) GetIndex

GetIndex retrieves the value of the leaf Index from the OpenconfigSystem_System_Cpus_Cpu_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Index is set, it can safely use t.GetIndex() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Index == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Cpus_Cpu_State) GetKernel

GetKernel returns the value of the Kernel struct pointer from OpenconfigSystem_System_Cpus_Cpu_State. If the receiver or the field Kernel is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_Cpus_Cpu_State) GetNice

GetNice returns the value of the Nice struct pointer from OpenconfigSystem_System_Cpus_Cpu_State. If the receiver or the field Nice is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_Cpus_Cpu_State) GetOrCreateHardwareInterrupt

GetOrCreateHardwareInterrupt retrieves the value of the HardwareInterrupt field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Cpus_Cpu_State) GetOrCreateIdle

GetOrCreateIdle retrieves the value of the Idle field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Cpus_Cpu_State) GetOrCreateKernel

GetOrCreateKernel retrieves the value of the Kernel field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Cpus_Cpu_State) GetOrCreateNice

GetOrCreateNice retrieves the value of the Nice field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Cpus_Cpu_State) GetOrCreateSoftwareInterrupt

GetOrCreateSoftwareInterrupt retrieves the value of the SoftwareInterrupt field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Cpus_Cpu_State) GetOrCreateTotal

GetOrCreateTotal retrieves the value of the Total field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Cpus_Cpu_State) GetOrCreateUser

GetOrCreateUser retrieves the value of the User field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Cpus_Cpu_State) GetOrCreateWait

GetOrCreateWait retrieves the value of the Wait field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Cpus_Cpu_State) GetSoftwareInterrupt

GetSoftwareInterrupt returns the value of the SoftwareInterrupt struct pointer from OpenconfigSystem_System_Cpus_Cpu_State. If the receiver or the field SoftwareInterrupt is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_Cpus_Cpu_State) GetTotal

GetTotal returns the value of the Total struct pointer from OpenconfigSystem_System_Cpus_Cpu_State. If the receiver or the field Total is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_Cpus_Cpu_State) GetUser

GetUser returns the value of the User struct pointer from OpenconfigSystem_System_Cpus_Cpu_State. If the receiver or the field User is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_Cpus_Cpu_State) GetWait

GetWait returns the value of the Wait struct pointer from OpenconfigSystem_System_Cpus_Cpu_State. If the receiver or the field Wait is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_Cpus_Cpu_State) IsYANGGoStruct

func (*OpenconfigSystem_System_Cpus_Cpu_State) IsYANGGoStruct()

IsYANGGoStruct ensures that OpenconfigSystem_System_Cpus_Cpu_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Cpus_Cpu_State) To_OpenconfigSystem_System_Cpus_Cpu_State_Index_Union

func (t *OpenconfigSystem_System_Cpus_Cpu_State) To_OpenconfigSystem_System_Cpus_Cpu_State_Index_Union(i interface{}) (OpenconfigSystem_System_Cpus_Cpu_State_Index_Union, error)

To_OpenconfigSystem_System_Cpus_Cpu_State_Index_Union takes an input interface{} and attempts to convert it to a struct which implements the OpenconfigSystem_System_Cpus_Cpu_State_Index_Union union. It returns an error if the interface{} supplied cannot be converted to a type within the union.

func (*OpenconfigSystem_System_Cpus_Cpu_State) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Cpus_Cpu_State) ΛEnumTypeMap

func (t *OpenconfigSystem_System_Cpus_Cpu_State) ΛEnumTypeMap() map[string][]reflect.Type

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt

type OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Avg       *uint8            `path:"avg" module:"openconfig-system"`
	ΛAvg      []ygot.Annotation `path:"@avg" ygotAnnotation:"true"`
	Instant   *uint8            `path:"instant" module:"openconfig-system"`
	ΛInstant  []ygot.Annotation `path:"@instant" ygotAnnotation:"true"`
	Interval  *uint64           `path:"interval" module:"openconfig-system"`
	ΛInterval []ygot.Annotation `path:"@interval" ygotAnnotation:"true"`
	Max       *uint8            `path:"max" module:"openconfig-system"`
	ΛMax      []ygot.Annotation `path:"@max" ygotAnnotation:"true"`
	MaxTime   *uint64           `path:"max-time" module:"openconfig-system"`
	ΛMaxTime  []ygot.Annotation `path:"@max-time" ygotAnnotation:"true"`
	Min       *uint8            `path:"min" module:"openconfig-system"`
	ΛMin      []ygot.Annotation `path:"@min" ygotAnnotation:"true"`
	MinTime   *uint64           `path:"min-time" module:"openconfig-system"`
	ΛMinTime  []ygot.Annotation `path:"@min-time" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt represents the /openconfig-system/system/cpus/cpu/state/hardware-interrupt YANG schema element.

func (*OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt) GetAvg

GetAvg retrieves the value of the leaf Avg from the OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Avg is set, it can safely use t.GetAvg() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Avg == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt) GetInstant

GetInstant retrieves the value of the leaf Instant from the OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Instant is set, it can safely use t.GetInstant() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Instant == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt) GetInterval

GetInterval retrieves the value of the leaf Interval from the OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interval is set, it can safely use t.GetInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interval == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt) GetMax

GetMax retrieves the value of the leaf Max from the OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Max is set, it can safely use t.GetMax() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Max == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt) GetMaxTime

GetMaxTime retrieves the value of the leaf MaxTime from the OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MaxTime is set, it can safely use t.GetMaxTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MaxTime == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt) GetMin

GetMin retrieves the value of the leaf Min from the OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Min is set, it can safely use t.GetMin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Min == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt) GetMinTime

GetMinTime retrieves the value of the leaf MinTime from the OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MinTime is set, it can safely use t.GetMinTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MinTime == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Cpus_Cpu_State_HardwareInterrupt) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Cpus_Cpu_State_Idle

type OpenconfigSystem_System_Cpus_Cpu_State_Idle struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Avg       *uint8            `path:"avg" module:"openconfig-system"`
	ΛAvg      []ygot.Annotation `path:"@avg" ygotAnnotation:"true"`
	Instant   *uint8            `path:"instant" module:"openconfig-system"`
	ΛInstant  []ygot.Annotation `path:"@instant" ygotAnnotation:"true"`
	Interval  *uint64           `path:"interval" module:"openconfig-system"`
	ΛInterval []ygot.Annotation `path:"@interval" ygotAnnotation:"true"`
	Max       *uint8            `path:"max" module:"openconfig-system"`
	ΛMax      []ygot.Annotation `path:"@max" ygotAnnotation:"true"`
	MaxTime   *uint64           `path:"max-time" module:"openconfig-system"`
	ΛMaxTime  []ygot.Annotation `path:"@max-time" ygotAnnotation:"true"`
	Min       *uint8            `path:"min" module:"openconfig-system"`
	ΛMin      []ygot.Annotation `path:"@min" ygotAnnotation:"true"`
	MinTime   *uint64           `path:"min-time" module:"openconfig-system"`
	ΛMinTime  []ygot.Annotation `path:"@min-time" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Cpus_Cpu_State_Idle represents the /openconfig-system/system/cpus/cpu/state/idle YANG schema element.

func (*OpenconfigSystem_System_Cpus_Cpu_State_Idle) GetAvg

GetAvg retrieves the value of the leaf Avg from the OpenconfigSystem_System_Cpus_Cpu_State_Idle struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Avg is set, it can safely use t.GetAvg() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Avg == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Cpus_Cpu_State_Idle) GetInstant

GetInstant retrieves the value of the leaf Instant from the OpenconfigSystem_System_Cpus_Cpu_State_Idle struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Instant is set, it can safely use t.GetInstant() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Instant == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Cpus_Cpu_State_Idle) GetInterval

GetInterval retrieves the value of the leaf Interval from the OpenconfigSystem_System_Cpus_Cpu_State_Idle struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interval is set, it can safely use t.GetInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interval == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Cpus_Cpu_State_Idle) GetMax

GetMax retrieves the value of the leaf Max from the OpenconfigSystem_System_Cpus_Cpu_State_Idle struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Max is set, it can safely use t.GetMax() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Max == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Cpus_Cpu_State_Idle) GetMaxTime

GetMaxTime retrieves the value of the leaf MaxTime from the OpenconfigSystem_System_Cpus_Cpu_State_Idle struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MaxTime is set, it can safely use t.GetMaxTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MaxTime == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Cpus_Cpu_State_Idle) GetMin

GetMin retrieves the value of the leaf Min from the OpenconfigSystem_System_Cpus_Cpu_State_Idle struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Min is set, it can safely use t.GetMin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Min == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Cpus_Cpu_State_Idle) GetMinTime

GetMinTime retrieves the value of the leaf MinTime from the OpenconfigSystem_System_Cpus_Cpu_State_Idle struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MinTime is set, it can safely use t.GetMinTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MinTime == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Cpus_Cpu_State_Idle) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Cpus_Cpu_State_Idle implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Cpus_Cpu_State_Idle) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Cpus_Cpu_State_Idle) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Cpus_Cpu_State_Index_Union

type OpenconfigSystem_System_Cpus_Cpu_State_Index_Union interface {
	Is_OpenconfigSystem_System_Cpus_Cpu_State_Index_Union()
}

OpenconfigSystem_System_Cpus_Cpu_State_Index_Union is an interface that is implemented by valid types for the union for the leaf /openconfig-system/system/cpus/cpu/index within the YANG schema.

type OpenconfigSystem_System_Cpus_Cpu_State_Index_Union_E_OpenconfigSystem_System_Cpus_Cpu_State_Index

type OpenconfigSystem_System_Cpus_Cpu_State_Index_Union_E_OpenconfigSystem_System_Cpus_Cpu_State_Index struct {
	E_OpenconfigSystem_System_Cpus_Cpu_State_Index E_OpenconfigSystem_System_Cpus_Cpu_State_Index
}

OpenconfigSystem_System_Cpus_Cpu_State_Index_Union_E_OpenconfigSystem_System_Cpus_Cpu_State_Index is used when /openconfig-system/system/cpus/cpu/index is to be set to a E_OpenconfigSystem_System_Cpus_Cpu_State_Index value.

func (*OpenconfigSystem_System_Cpus_Cpu_State_Index_Union_E_OpenconfigSystem_System_Cpus_Cpu_State_Index) Is_OpenconfigSystem_System_Cpus_Cpu_State_Index_Union

func (*OpenconfigSystem_System_Cpus_Cpu_State_Index_Union_E_OpenconfigSystem_System_Cpus_Cpu_State_Index) Is_OpenconfigSystem_System_Cpus_Cpu_State_Index_Union()

Is_OpenconfigSystem_System_Cpus_Cpu_State_Index_Union ensures that OpenconfigSystem_System_Cpus_Cpu_State_Index_Union_E_OpenconfigSystem_System_Cpus_Cpu_State_Index implements the OpenconfigSystem_System_Cpus_Cpu_State_Index_Union interface.

type OpenconfigSystem_System_Cpus_Cpu_State_Index_Union_Uint32

type OpenconfigSystem_System_Cpus_Cpu_State_Index_Union_Uint32 struct {
	Uint32 uint32
}

OpenconfigSystem_System_Cpus_Cpu_State_Index_Union_Uint32 is used when /openconfig-system/system/cpus/cpu/index is to be set to a uint32 value.

func (*OpenconfigSystem_System_Cpus_Cpu_State_Index_Union_Uint32) Is_OpenconfigSystem_System_Cpus_Cpu_State_Index_Union

func (*OpenconfigSystem_System_Cpus_Cpu_State_Index_Union_Uint32) Is_OpenconfigSystem_System_Cpus_Cpu_State_Index_Union()

Is_OpenconfigSystem_System_Cpus_Cpu_State_Index_Union ensures that OpenconfigSystem_System_Cpus_Cpu_State_Index_Union_Uint32 implements the OpenconfigSystem_System_Cpus_Cpu_State_Index_Union interface.

type OpenconfigSystem_System_Cpus_Cpu_State_Kernel

type OpenconfigSystem_System_Cpus_Cpu_State_Kernel struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Avg       *uint8            `path:"avg" module:"openconfig-system"`
	ΛAvg      []ygot.Annotation `path:"@avg" ygotAnnotation:"true"`
	Instant   *uint8            `path:"instant" module:"openconfig-system"`
	ΛInstant  []ygot.Annotation `path:"@instant" ygotAnnotation:"true"`
	Interval  *uint64           `path:"interval" module:"openconfig-system"`
	ΛInterval []ygot.Annotation `path:"@interval" ygotAnnotation:"true"`
	Max       *uint8            `path:"max" module:"openconfig-system"`
	ΛMax      []ygot.Annotation `path:"@max" ygotAnnotation:"true"`
	MaxTime   *uint64           `path:"max-time" module:"openconfig-system"`
	ΛMaxTime  []ygot.Annotation `path:"@max-time" ygotAnnotation:"true"`
	Min       *uint8            `path:"min" module:"openconfig-system"`
	ΛMin      []ygot.Annotation `path:"@min" ygotAnnotation:"true"`
	MinTime   *uint64           `path:"min-time" module:"openconfig-system"`
	ΛMinTime  []ygot.Annotation `path:"@min-time" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Cpus_Cpu_State_Kernel represents the /openconfig-system/system/cpus/cpu/state/kernel YANG schema element.

func (*OpenconfigSystem_System_Cpus_Cpu_State_Kernel) GetAvg

GetAvg retrieves the value of the leaf Avg from the OpenconfigSystem_System_Cpus_Cpu_State_Kernel struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Avg is set, it can safely use t.GetAvg() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Avg == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Cpus_Cpu_State_Kernel) GetInstant

GetInstant retrieves the value of the leaf Instant from the OpenconfigSystem_System_Cpus_Cpu_State_Kernel struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Instant is set, it can safely use t.GetInstant() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Instant == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Cpus_Cpu_State_Kernel) GetInterval

GetInterval retrieves the value of the leaf Interval from the OpenconfigSystem_System_Cpus_Cpu_State_Kernel struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interval is set, it can safely use t.GetInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interval == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Cpus_Cpu_State_Kernel) GetMax

GetMax retrieves the value of the leaf Max from the OpenconfigSystem_System_Cpus_Cpu_State_Kernel struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Max is set, it can safely use t.GetMax() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Max == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Cpus_Cpu_State_Kernel) GetMaxTime

GetMaxTime retrieves the value of the leaf MaxTime from the OpenconfigSystem_System_Cpus_Cpu_State_Kernel struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MaxTime is set, it can safely use t.GetMaxTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MaxTime == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Cpus_Cpu_State_Kernel) GetMin

GetMin retrieves the value of the leaf Min from the OpenconfigSystem_System_Cpus_Cpu_State_Kernel struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Min is set, it can safely use t.GetMin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Min == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Cpus_Cpu_State_Kernel) GetMinTime

GetMinTime retrieves the value of the leaf MinTime from the OpenconfigSystem_System_Cpus_Cpu_State_Kernel struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MinTime is set, it can safely use t.GetMinTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MinTime == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Cpus_Cpu_State_Kernel) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Cpus_Cpu_State_Kernel implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Cpus_Cpu_State_Kernel) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Cpus_Cpu_State_Kernel) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Cpus_Cpu_State_Nice

type OpenconfigSystem_System_Cpus_Cpu_State_Nice struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Avg       *uint8            `path:"avg" module:"openconfig-system"`
	ΛAvg      []ygot.Annotation `path:"@avg" ygotAnnotation:"true"`
	Instant   *uint8            `path:"instant" module:"openconfig-system"`
	ΛInstant  []ygot.Annotation `path:"@instant" ygotAnnotation:"true"`
	Interval  *uint64           `path:"interval" module:"openconfig-system"`
	ΛInterval []ygot.Annotation `path:"@interval" ygotAnnotation:"true"`
	Max       *uint8            `path:"max" module:"openconfig-system"`
	ΛMax      []ygot.Annotation `path:"@max" ygotAnnotation:"true"`
	MaxTime   *uint64           `path:"max-time" module:"openconfig-system"`
	ΛMaxTime  []ygot.Annotation `path:"@max-time" ygotAnnotation:"true"`
	Min       *uint8            `path:"min" module:"openconfig-system"`
	ΛMin      []ygot.Annotation `path:"@min" ygotAnnotation:"true"`
	MinTime   *uint64           `path:"min-time" module:"openconfig-system"`
	ΛMinTime  []ygot.Annotation `path:"@min-time" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Cpus_Cpu_State_Nice represents the /openconfig-system/system/cpus/cpu/state/nice YANG schema element.

func (*OpenconfigSystem_System_Cpus_Cpu_State_Nice) GetAvg

GetAvg retrieves the value of the leaf Avg from the OpenconfigSystem_System_Cpus_Cpu_State_Nice struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Avg is set, it can safely use t.GetAvg() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Avg == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Cpus_Cpu_State_Nice) GetInstant

GetInstant retrieves the value of the leaf Instant from the OpenconfigSystem_System_Cpus_Cpu_State_Nice struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Instant is set, it can safely use t.GetInstant() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Instant == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Cpus_Cpu_State_Nice) GetInterval

GetInterval retrieves the value of the leaf Interval from the OpenconfigSystem_System_Cpus_Cpu_State_Nice struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interval is set, it can safely use t.GetInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interval == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Cpus_Cpu_State_Nice) GetMax

GetMax retrieves the value of the leaf Max from the OpenconfigSystem_System_Cpus_Cpu_State_Nice struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Max is set, it can safely use t.GetMax() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Max == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Cpus_Cpu_State_Nice) GetMaxTime

GetMaxTime retrieves the value of the leaf MaxTime from the OpenconfigSystem_System_Cpus_Cpu_State_Nice struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MaxTime is set, it can safely use t.GetMaxTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MaxTime == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Cpus_Cpu_State_Nice) GetMin

GetMin retrieves the value of the leaf Min from the OpenconfigSystem_System_Cpus_Cpu_State_Nice struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Min is set, it can safely use t.GetMin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Min == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Cpus_Cpu_State_Nice) GetMinTime

GetMinTime retrieves the value of the leaf MinTime from the OpenconfigSystem_System_Cpus_Cpu_State_Nice struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MinTime is set, it can safely use t.GetMinTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MinTime == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Cpus_Cpu_State_Nice) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Cpus_Cpu_State_Nice implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Cpus_Cpu_State_Nice) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Cpus_Cpu_State_Nice) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt

type OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Avg       *uint8            `path:"avg" module:"openconfig-system"`
	ΛAvg      []ygot.Annotation `path:"@avg" ygotAnnotation:"true"`
	Instant   *uint8            `path:"instant" module:"openconfig-system"`
	ΛInstant  []ygot.Annotation `path:"@instant" ygotAnnotation:"true"`
	Interval  *uint64           `path:"interval" module:"openconfig-system"`
	ΛInterval []ygot.Annotation `path:"@interval" ygotAnnotation:"true"`
	Max       *uint8            `path:"max" module:"openconfig-system"`
	ΛMax      []ygot.Annotation `path:"@max" ygotAnnotation:"true"`
	MaxTime   *uint64           `path:"max-time" module:"openconfig-system"`
	ΛMaxTime  []ygot.Annotation `path:"@max-time" ygotAnnotation:"true"`
	Min       *uint8            `path:"min" module:"openconfig-system"`
	ΛMin      []ygot.Annotation `path:"@min" ygotAnnotation:"true"`
	MinTime   *uint64           `path:"min-time" module:"openconfig-system"`
	ΛMinTime  []ygot.Annotation `path:"@min-time" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt represents the /openconfig-system/system/cpus/cpu/state/software-interrupt YANG schema element.

func (*OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt) GetAvg

GetAvg retrieves the value of the leaf Avg from the OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Avg is set, it can safely use t.GetAvg() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Avg == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt) GetInstant

GetInstant retrieves the value of the leaf Instant from the OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Instant is set, it can safely use t.GetInstant() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Instant == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt) GetInterval

GetInterval retrieves the value of the leaf Interval from the OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interval is set, it can safely use t.GetInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interval == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt) GetMax

GetMax retrieves the value of the leaf Max from the OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Max is set, it can safely use t.GetMax() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Max == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt) GetMaxTime

GetMaxTime retrieves the value of the leaf MaxTime from the OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MaxTime is set, it can safely use t.GetMaxTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MaxTime == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt) GetMin

GetMin retrieves the value of the leaf Min from the OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Min is set, it can safely use t.GetMin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Min == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt) GetMinTime

GetMinTime retrieves the value of the leaf MinTime from the OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MinTime is set, it can safely use t.GetMinTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MinTime == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Cpus_Cpu_State_SoftwareInterrupt) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Cpus_Cpu_State_Total

type OpenconfigSystem_System_Cpus_Cpu_State_Total struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Avg       *uint8            `path:"avg" module:"openconfig-system"`
	ΛAvg      []ygot.Annotation `path:"@avg" ygotAnnotation:"true"`
	Instant   *uint8            `path:"instant" module:"openconfig-system"`
	ΛInstant  []ygot.Annotation `path:"@instant" ygotAnnotation:"true"`
	Interval  *uint64           `path:"interval" module:"openconfig-system"`
	ΛInterval []ygot.Annotation `path:"@interval" ygotAnnotation:"true"`
	Max       *uint8            `path:"max" module:"openconfig-system"`
	ΛMax      []ygot.Annotation `path:"@max" ygotAnnotation:"true"`
	MaxTime   *uint64           `path:"max-time" module:"openconfig-system"`
	ΛMaxTime  []ygot.Annotation `path:"@max-time" ygotAnnotation:"true"`
	Min       *uint8            `path:"min" module:"openconfig-system"`
	ΛMin      []ygot.Annotation `path:"@min" ygotAnnotation:"true"`
	MinTime   *uint64           `path:"min-time" module:"openconfig-system"`
	ΛMinTime  []ygot.Annotation `path:"@min-time" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Cpus_Cpu_State_Total represents the /openconfig-system/system/cpus/cpu/state/total YANG schema element.

func (*OpenconfigSystem_System_Cpus_Cpu_State_Total) GetAvg

GetAvg retrieves the value of the leaf Avg from the OpenconfigSystem_System_Cpus_Cpu_State_Total struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Avg is set, it can safely use t.GetAvg() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Avg == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Cpus_Cpu_State_Total) GetInstant

GetInstant retrieves the value of the leaf Instant from the OpenconfigSystem_System_Cpus_Cpu_State_Total struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Instant is set, it can safely use t.GetInstant() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Instant == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Cpus_Cpu_State_Total) GetInterval

GetInterval retrieves the value of the leaf Interval from the OpenconfigSystem_System_Cpus_Cpu_State_Total struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interval is set, it can safely use t.GetInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interval == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Cpus_Cpu_State_Total) GetMax

GetMax retrieves the value of the leaf Max from the OpenconfigSystem_System_Cpus_Cpu_State_Total struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Max is set, it can safely use t.GetMax() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Max == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Cpus_Cpu_State_Total) GetMaxTime

GetMaxTime retrieves the value of the leaf MaxTime from the OpenconfigSystem_System_Cpus_Cpu_State_Total struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MaxTime is set, it can safely use t.GetMaxTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MaxTime == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Cpus_Cpu_State_Total) GetMin

GetMin retrieves the value of the leaf Min from the OpenconfigSystem_System_Cpus_Cpu_State_Total struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Min is set, it can safely use t.GetMin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Min == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Cpus_Cpu_State_Total) GetMinTime

GetMinTime retrieves the value of the leaf MinTime from the OpenconfigSystem_System_Cpus_Cpu_State_Total struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MinTime is set, it can safely use t.GetMinTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MinTime == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Cpus_Cpu_State_Total) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Cpus_Cpu_State_Total implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Cpus_Cpu_State_Total) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Cpus_Cpu_State_Total) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Cpus_Cpu_State_User

type OpenconfigSystem_System_Cpus_Cpu_State_User struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Avg       *uint8            `path:"avg" module:"openconfig-system"`
	ΛAvg      []ygot.Annotation `path:"@avg" ygotAnnotation:"true"`
	Instant   *uint8            `path:"instant" module:"openconfig-system"`
	ΛInstant  []ygot.Annotation `path:"@instant" ygotAnnotation:"true"`
	Interval  *uint64           `path:"interval" module:"openconfig-system"`
	ΛInterval []ygot.Annotation `path:"@interval" ygotAnnotation:"true"`
	Max       *uint8            `path:"max" module:"openconfig-system"`
	ΛMax      []ygot.Annotation `path:"@max" ygotAnnotation:"true"`
	MaxTime   *uint64           `path:"max-time" module:"openconfig-system"`
	ΛMaxTime  []ygot.Annotation `path:"@max-time" ygotAnnotation:"true"`
	Min       *uint8            `path:"min" module:"openconfig-system"`
	ΛMin      []ygot.Annotation `path:"@min" ygotAnnotation:"true"`
	MinTime   *uint64           `path:"min-time" module:"openconfig-system"`
	ΛMinTime  []ygot.Annotation `path:"@min-time" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Cpus_Cpu_State_User represents the /openconfig-system/system/cpus/cpu/state/user YANG schema element.

func (*OpenconfigSystem_System_Cpus_Cpu_State_User) GetAvg

GetAvg retrieves the value of the leaf Avg from the OpenconfigSystem_System_Cpus_Cpu_State_User struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Avg is set, it can safely use t.GetAvg() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Avg == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Cpus_Cpu_State_User) GetInstant

GetInstant retrieves the value of the leaf Instant from the OpenconfigSystem_System_Cpus_Cpu_State_User struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Instant is set, it can safely use t.GetInstant() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Instant == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Cpus_Cpu_State_User) GetInterval

GetInterval retrieves the value of the leaf Interval from the OpenconfigSystem_System_Cpus_Cpu_State_User struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interval is set, it can safely use t.GetInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interval == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Cpus_Cpu_State_User) GetMax

GetMax retrieves the value of the leaf Max from the OpenconfigSystem_System_Cpus_Cpu_State_User struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Max is set, it can safely use t.GetMax() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Max == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Cpus_Cpu_State_User) GetMaxTime

GetMaxTime retrieves the value of the leaf MaxTime from the OpenconfigSystem_System_Cpus_Cpu_State_User struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MaxTime is set, it can safely use t.GetMaxTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MaxTime == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Cpus_Cpu_State_User) GetMin

GetMin retrieves the value of the leaf Min from the OpenconfigSystem_System_Cpus_Cpu_State_User struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Min is set, it can safely use t.GetMin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Min == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Cpus_Cpu_State_User) GetMinTime

GetMinTime retrieves the value of the leaf MinTime from the OpenconfigSystem_System_Cpus_Cpu_State_User struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MinTime is set, it can safely use t.GetMinTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MinTime == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Cpus_Cpu_State_User) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Cpus_Cpu_State_User implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Cpus_Cpu_State_User) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Cpus_Cpu_State_User) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Cpus_Cpu_State_Wait

type OpenconfigSystem_System_Cpus_Cpu_State_Wait struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Avg       *uint8            `path:"avg" module:"openconfig-system"`
	ΛAvg      []ygot.Annotation `path:"@avg" ygotAnnotation:"true"`
	Instant   *uint8            `path:"instant" module:"openconfig-system"`
	ΛInstant  []ygot.Annotation `path:"@instant" ygotAnnotation:"true"`
	Interval  *uint64           `path:"interval" module:"openconfig-system"`
	ΛInterval []ygot.Annotation `path:"@interval" ygotAnnotation:"true"`
	Max       *uint8            `path:"max" module:"openconfig-system"`
	ΛMax      []ygot.Annotation `path:"@max" ygotAnnotation:"true"`
	MaxTime   *uint64           `path:"max-time" module:"openconfig-system"`
	ΛMaxTime  []ygot.Annotation `path:"@max-time" ygotAnnotation:"true"`
	Min       *uint8            `path:"min" module:"openconfig-system"`
	ΛMin      []ygot.Annotation `path:"@min" ygotAnnotation:"true"`
	MinTime   *uint64           `path:"min-time" module:"openconfig-system"`
	ΛMinTime  []ygot.Annotation `path:"@min-time" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Cpus_Cpu_State_Wait represents the /openconfig-system/system/cpus/cpu/state/wait YANG schema element.

func (*OpenconfigSystem_System_Cpus_Cpu_State_Wait) GetAvg

GetAvg retrieves the value of the leaf Avg from the OpenconfigSystem_System_Cpus_Cpu_State_Wait struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Avg is set, it can safely use t.GetAvg() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Avg == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Cpus_Cpu_State_Wait) GetInstant

GetInstant retrieves the value of the leaf Instant from the OpenconfigSystem_System_Cpus_Cpu_State_Wait struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Instant is set, it can safely use t.GetInstant() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Instant == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Cpus_Cpu_State_Wait) GetInterval

GetInterval retrieves the value of the leaf Interval from the OpenconfigSystem_System_Cpus_Cpu_State_Wait struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interval is set, it can safely use t.GetInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interval == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Cpus_Cpu_State_Wait) GetMax

GetMax retrieves the value of the leaf Max from the OpenconfigSystem_System_Cpus_Cpu_State_Wait struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Max is set, it can safely use t.GetMax() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Max == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Cpus_Cpu_State_Wait) GetMaxTime

GetMaxTime retrieves the value of the leaf MaxTime from the OpenconfigSystem_System_Cpus_Cpu_State_Wait struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MaxTime is set, it can safely use t.GetMaxTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MaxTime == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Cpus_Cpu_State_Wait) GetMin

GetMin retrieves the value of the leaf Min from the OpenconfigSystem_System_Cpus_Cpu_State_Wait struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Min is set, it can safely use t.GetMin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Min == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Cpus_Cpu_State_Wait) GetMinTime

GetMinTime retrieves the value of the leaf MinTime from the OpenconfigSystem_System_Cpus_Cpu_State_Wait struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MinTime is set, it can safely use t.GetMinTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MinTime == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Cpus_Cpu_State_Wait) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Cpus_Cpu_State_Wait implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Cpus_Cpu_State_Wait) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Cpus_Cpu_State_Wait) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Dns

type OpenconfigSystem_System_Dns struct {
	ΛMetadata    []ygot.Annotation                        `path:"@" ygotAnnotation:"true"`
	Config       *OpenconfigSystem_System_Dns_Config      `path:"config" module:"openconfig-system"`
	ΛConfig      []ygot.Annotation                        `path:"@config" ygotAnnotation:"true"`
	HostEntries  *OpenconfigSystem_System_Dns_HostEntries `path:"host-entries" module:"openconfig-system"`
	ΛHostEntries []ygot.Annotation                        `path:"@host-entries" ygotAnnotation:"true"`
	Servers      *OpenconfigSystem_System_Dns_Servers     `path:"servers" module:"openconfig-system"`
	ΛServers     []ygot.Annotation                        `path:"@servers" ygotAnnotation:"true"`
	State        *OpenconfigSystem_System_Dns_State       `path:"state" module:"openconfig-system"`
	ΛState       []ygot.Annotation                        `path:"@state" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Dns represents the /openconfig-system/system/dns YANG schema element.

func (*OpenconfigSystem_System_Dns) GetConfig

GetConfig returns the value of the Config struct pointer from OpenconfigSystem_System_Dns. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_Dns) GetHostEntries

GetHostEntries returns the value of the HostEntries struct pointer from OpenconfigSystem_System_Dns. If the receiver or the field HostEntries is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_Dns) GetOrCreateConfig

GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Dns) GetOrCreateHostEntries

GetOrCreateHostEntries retrieves the value of the HostEntries field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Dns) GetOrCreateServers

GetOrCreateServers retrieves the value of the Servers field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Dns) GetOrCreateState

GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Dns) GetServers

GetServers returns the value of the Servers struct pointer from OpenconfigSystem_System_Dns. If the receiver or the field Servers is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_Dns) GetState

GetState returns the value of the State struct pointer from OpenconfigSystem_System_Dns. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_Dns) IsYANGGoStruct

func (*OpenconfigSystem_System_Dns) IsYANGGoStruct()

IsYANGGoStruct ensures that OpenconfigSystem_System_Dns implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Dns) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Dns) ΛEnumTypeMap

func (t *OpenconfigSystem_System_Dns) ΛEnumTypeMap() map[string][]reflect.Type

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Dns_Config

type OpenconfigSystem_System_Dns_Config struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Search    []string          `path:"search" module:"openconfig-system"`
	ΛSearch   []ygot.Annotation `path:"@search" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Dns_Config represents the /openconfig-system/system/dns/config YANG schema element.

func (*OpenconfigSystem_System_Dns_Config) GetSearch

func (t *OpenconfigSystem_System_Dns_Config) GetSearch() []string

GetSearch retrieves the value of the leaf Search from the OpenconfigSystem_System_Dns_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Search is set, it can safely use t.GetSearch() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Search == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Dns_Config) IsYANGGoStruct

func (*OpenconfigSystem_System_Dns_Config) IsYANGGoStruct()

IsYANGGoStruct ensures that OpenconfigSystem_System_Dns_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Dns_Config) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Dns_Config) ΛEnumTypeMap

func (t *OpenconfigSystem_System_Dns_Config) ΛEnumTypeMap() map[string][]reflect.Type

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Dns_HostEntries

type OpenconfigSystem_System_Dns_HostEntries struct {
	ΛMetadata  []ygot.Annotation                                             `path:"@" ygotAnnotation:"true"`
	HostEntry  map[string]*OpenconfigSystem_System_Dns_HostEntries_HostEntry `path:"host-entry" module:"openconfig-system"`
	ΛHostEntry []ygot.Annotation                                             `path:"@host-entry" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Dns_HostEntries represents the /openconfig-system/system/dns/host-entries YANG schema element.

func (*OpenconfigSystem_System_Dns_HostEntries) AppendHostEntry

AppendHostEntry appends the supplied OpenconfigSystem_System_Dns_HostEntries_HostEntry struct to the list HostEntry of OpenconfigSystem_System_Dns_HostEntries. If the key value(s) specified in the supplied OpenconfigSystem_System_Dns_HostEntries_HostEntry already exist in the list, an error is returned.

func (*OpenconfigSystem_System_Dns_HostEntries) GetHostEntry

GetHostEntry retrieves the value with the specified key from the HostEntry map field of OpenconfigSystem_System_Dns_HostEntries. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.

func (*OpenconfigSystem_System_Dns_HostEntries) GetOrCreateHostEntry

GetOrCreateHostEntry retrieves the value with the specified keys from the receiver OpenconfigSystem_System_Dns_HostEntries. If the entry does not exist, then it is created. It returns the existing or new list member.

func (*OpenconfigSystem_System_Dns_HostEntries) IsYANGGoStruct

func (*OpenconfigSystem_System_Dns_HostEntries) IsYANGGoStruct()

IsYANGGoStruct ensures that OpenconfigSystem_System_Dns_HostEntries implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Dns_HostEntries) NewHostEntry

NewHostEntry creates a new entry in the HostEntry list of the OpenconfigSystem_System_Dns_HostEntries struct. The keys of the list are populated from the input arguments.

func (*OpenconfigSystem_System_Dns_HostEntries) RenameHostEntry

func (t *OpenconfigSystem_System_Dns_HostEntries) RenameHostEntry(oldK, newK string) error

RenameHostEntry renames an entry in the list HostEntry within the OpenconfigSystem_System_Dns_HostEntries struct. The entry with key oldK is renamed to newK updating the key within the value.

func (*OpenconfigSystem_System_Dns_HostEntries) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Dns_HostEntries) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Dns_HostEntries_HostEntry

type OpenconfigSystem_System_Dns_HostEntries_HostEntry struct {
	ΛMetadata []ygot.Annotation                                         `path:"@" ygotAnnotation:"true"`
	Config    *OpenconfigSystem_System_Dns_HostEntries_HostEntry_Config `path:"config" module:"openconfig-system"`
	ΛConfig   []ygot.Annotation                                         `path:"@config" ygotAnnotation:"true"`
	Hostname  *string                                                   `path:"hostname" module:"openconfig-system"`
	ΛHostname []ygot.Annotation                                         `path:"@hostname" ygotAnnotation:"true"`
	State     *OpenconfigSystem_System_Dns_HostEntries_HostEntry_State  `path:"state" module:"openconfig-system"`
	ΛState    []ygot.Annotation                                         `path:"@state" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Dns_HostEntries_HostEntry represents the /openconfig-system/system/dns/host-entries/host-entry YANG schema element.

func (*OpenconfigSystem_System_Dns_HostEntries_HostEntry) GetConfig

GetConfig returns the value of the Config struct pointer from OpenconfigSystem_System_Dns_HostEntries_HostEntry. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_Dns_HostEntries_HostEntry) GetHostname

GetHostname retrieves the value of the leaf Hostname from the OpenconfigSystem_System_Dns_HostEntries_HostEntry struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Hostname is set, it can safely use t.GetHostname() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Hostname == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Dns_HostEntries_HostEntry) GetOrCreateConfig

GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Dns_HostEntries_HostEntry) GetOrCreateState

GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Dns_HostEntries_HostEntry) GetState

GetState returns the value of the State struct pointer from OpenconfigSystem_System_Dns_HostEntries_HostEntry. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_Dns_HostEntries_HostEntry) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Dns_HostEntries_HostEntry implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Dns_HostEntries_HostEntry) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Dns_HostEntries_HostEntry) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigSystem_System_Dns_HostEntries_HostEntry) ΛListKeyMap

func (t *OpenconfigSystem_System_Dns_HostEntries_HostEntry) ΛListKeyMap() (map[string]interface{}, error)

ΛListKeyMap returns the keys of the OpenconfigSystem_System_Dns_HostEntries_HostEntry struct, which is a YANG list entry.

type OpenconfigSystem_System_Dns_HostEntries_HostEntry_Config

type OpenconfigSystem_System_Dns_HostEntries_HostEntry_Config struct {
	ΛMetadata    []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Alias        []string          `path:"alias" module:"openconfig-system"`
	ΛAlias       []ygot.Annotation `path:"@alias" ygotAnnotation:"true"`
	Hostname     *string           `path:"hostname" module:"openconfig-system"`
	ΛHostname    []ygot.Annotation `path:"@hostname" ygotAnnotation:"true"`
	Ipv4Address  []string          `path:"ipv4-address" module:"openconfig-system"`
	ΛIpv4Address []ygot.Annotation `path:"@ipv4-address" ygotAnnotation:"true"`
	Ipv6Address  []string          `path:"ipv6-address" module:"openconfig-system"`
	ΛIpv6Address []ygot.Annotation `path:"@ipv6-address" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Dns_HostEntries_HostEntry_Config represents the /openconfig-system/system/dns/host-entries/host-entry/config YANG schema element.

func (*OpenconfigSystem_System_Dns_HostEntries_HostEntry_Config) GetAlias

GetAlias retrieves the value of the leaf Alias from the OpenconfigSystem_System_Dns_HostEntries_HostEntry_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Alias is set, it can safely use t.GetAlias() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Alias == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Dns_HostEntries_HostEntry_Config) GetHostname

GetHostname retrieves the value of the leaf Hostname from the OpenconfigSystem_System_Dns_HostEntries_HostEntry_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Hostname is set, it can safely use t.GetHostname() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Hostname == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Dns_HostEntries_HostEntry_Config) GetIpv4Address

GetIpv4Address retrieves the value of the leaf Ipv4Address from the OpenconfigSystem_System_Dns_HostEntries_HostEntry_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Ipv4Address is set, it can safely use t.GetIpv4Address() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Ipv4Address == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Dns_HostEntries_HostEntry_Config) GetIpv6Address

GetIpv6Address retrieves the value of the leaf Ipv6Address from the OpenconfigSystem_System_Dns_HostEntries_HostEntry_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Ipv6Address is set, it can safely use t.GetIpv6Address() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Ipv6Address == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Dns_HostEntries_HostEntry_Config) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Dns_HostEntries_HostEntry_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Dns_HostEntries_HostEntry_Config) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Dns_HostEntries_HostEntry_Config) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Dns_HostEntries_HostEntry_State

type OpenconfigSystem_System_Dns_HostEntries_HostEntry_State struct {
	ΛMetadata    []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Alias        []string          `path:"alias" module:"openconfig-system"`
	ΛAlias       []ygot.Annotation `path:"@alias" ygotAnnotation:"true"`
	Hostname     *string           `path:"hostname" module:"openconfig-system"`
	ΛHostname    []ygot.Annotation `path:"@hostname" ygotAnnotation:"true"`
	Ipv4Address  []string          `path:"ipv4-address" module:"openconfig-system"`
	ΛIpv4Address []ygot.Annotation `path:"@ipv4-address" ygotAnnotation:"true"`
	Ipv6Address  []string          `path:"ipv6-address" module:"openconfig-system"`
	ΛIpv6Address []ygot.Annotation `path:"@ipv6-address" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Dns_HostEntries_HostEntry_State represents the /openconfig-system/system/dns/host-entries/host-entry/state YANG schema element.

func (*OpenconfigSystem_System_Dns_HostEntries_HostEntry_State) GetAlias

GetAlias retrieves the value of the leaf Alias from the OpenconfigSystem_System_Dns_HostEntries_HostEntry_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Alias is set, it can safely use t.GetAlias() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Alias == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Dns_HostEntries_HostEntry_State) GetHostname

GetHostname retrieves the value of the leaf Hostname from the OpenconfigSystem_System_Dns_HostEntries_HostEntry_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Hostname is set, it can safely use t.GetHostname() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Hostname == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Dns_HostEntries_HostEntry_State) GetIpv4Address

GetIpv4Address retrieves the value of the leaf Ipv4Address from the OpenconfigSystem_System_Dns_HostEntries_HostEntry_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Ipv4Address is set, it can safely use t.GetIpv4Address() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Ipv4Address == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Dns_HostEntries_HostEntry_State) GetIpv6Address

GetIpv6Address retrieves the value of the leaf Ipv6Address from the OpenconfigSystem_System_Dns_HostEntries_HostEntry_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Ipv6Address is set, it can safely use t.GetIpv6Address() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Ipv6Address == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Dns_HostEntries_HostEntry_State) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Dns_HostEntries_HostEntry_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Dns_HostEntries_HostEntry_State) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Dns_HostEntries_HostEntry_State) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Dns_Servers

type OpenconfigSystem_System_Dns_Servers struct {
	ΛMetadata []ygot.Annotation                                      `path:"@" ygotAnnotation:"true"`
	Server    map[string]*OpenconfigSystem_System_Dns_Servers_Server `path:"server" module:"openconfig-system"`
	ΛServer   []ygot.Annotation                                      `path:"@server" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Dns_Servers represents the /openconfig-system/system/dns/servers YANG schema element.

func (*OpenconfigSystem_System_Dns_Servers) AppendServer

AppendServer appends the supplied OpenconfigSystem_System_Dns_Servers_Server struct to the list Server of OpenconfigSystem_System_Dns_Servers. If the key value(s) specified in the supplied OpenconfigSystem_System_Dns_Servers_Server already exist in the list, an error is returned.

func (*OpenconfigSystem_System_Dns_Servers) GetOrCreateServer

GetOrCreateServer retrieves the value with the specified keys from the receiver OpenconfigSystem_System_Dns_Servers. If the entry does not exist, then it is created. It returns the existing or new list member.

func (*OpenconfigSystem_System_Dns_Servers) GetServer

GetServer retrieves the value with the specified key from the Server map field of OpenconfigSystem_System_Dns_Servers. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.

func (*OpenconfigSystem_System_Dns_Servers) IsYANGGoStruct

func (*OpenconfigSystem_System_Dns_Servers) IsYANGGoStruct()

IsYANGGoStruct ensures that OpenconfigSystem_System_Dns_Servers implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Dns_Servers) NewServer

NewServer creates a new entry in the Server list of the OpenconfigSystem_System_Dns_Servers struct. The keys of the list are populated from the input arguments.

func (*OpenconfigSystem_System_Dns_Servers) RenameServer

func (t *OpenconfigSystem_System_Dns_Servers) RenameServer(oldK, newK string) error

RenameServer renames an entry in the list Server within the OpenconfigSystem_System_Dns_Servers struct. The entry with key oldK is renamed to newK updating the key within the value.

func (*OpenconfigSystem_System_Dns_Servers) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Dns_Servers) ΛEnumTypeMap

func (t *OpenconfigSystem_System_Dns_Servers) ΛEnumTypeMap() map[string][]reflect.Type

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Dns_Servers_Server

type OpenconfigSystem_System_Dns_Servers_Server struct {
	ΛMetadata []ygot.Annotation                                  `path:"@" ygotAnnotation:"true"`
	Address   *string                                            `path:"address" module:"openconfig-system"`
	ΛAddress  []ygot.Annotation                                  `path:"@address" ygotAnnotation:"true"`
	Config    *OpenconfigSystem_System_Dns_Servers_Server_Config `path:"config" module:"openconfig-system"`
	ΛConfig   []ygot.Annotation                                  `path:"@config" ygotAnnotation:"true"`
	State     *OpenconfigSystem_System_Dns_Servers_Server_State  `path:"state" module:"openconfig-system"`
	ΛState    []ygot.Annotation                                  `path:"@state" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Dns_Servers_Server represents the /openconfig-system/system/dns/servers/server YANG schema element.

func (*OpenconfigSystem_System_Dns_Servers_Server) GetAddress

GetAddress retrieves the value of the leaf Address from the OpenconfigSystem_System_Dns_Servers_Server struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Address is set, it can safely use t.GetAddress() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Address == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Dns_Servers_Server) GetConfig

GetConfig returns the value of the Config struct pointer from OpenconfigSystem_System_Dns_Servers_Server. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_Dns_Servers_Server) GetOrCreateConfig

GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Dns_Servers_Server) GetOrCreateState

GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Dns_Servers_Server) GetState

GetState returns the value of the State struct pointer from OpenconfigSystem_System_Dns_Servers_Server. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_Dns_Servers_Server) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Dns_Servers_Server implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Dns_Servers_Server) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Dns_Servers_Server) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigSystem_System_Dns_Servers_Server) ΛListKeyMap

func (t *OpenconfigSystem_System_Dns_Servers_Server) ΛListKeyMap() (map[string]interface{}, error)

ΛListKeyMap returns the keys of the OpenconfigSystem_System_Dns_Servers_Server struct, which is a YANG list entry.

type OpenconfigSystem_System_Dns_Servers_Server_Config

type OpenconfigSystem_System_Dns_Servers_Server_Config struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Address   *string           `path:"address" module:"openconfig-system"`
	ΛAddress  []ygot.Annotation `path:"@address" ygotAnnotation:"true"`
	Port      *uint16           `path:"port" module:"openconfig-system"`
	ΛPort     []ygot.Annotation `path:"@port" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Dns_Servers_Server_Config represents the /openconfig-system/system/dns/servers/server/config YANG schema element.

func (*OpenconfigSystem_System_Dns_Servers_Server_Config) GetAddress

GetAddress retrieves the value of the leaf Address from the OpenconfigSystem_System_Dns_Servers_Server_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Address is set, it can safely use t.GetAddress() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Address == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Dns_Servers_Server_Config) GetPort

GetPort retrieves the value of the leaf Port from the OpenconfigSystem_System_Dns_Servers_Server_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Port is set, it can safely use t.GetPort() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Port == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Dns_Servers_Server_Config) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Dns_Servers_Server_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Dns_Servers_Server_Config) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Dns_Servers_Server_Config) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Dns_Servers_Server_State

type OpenconfigSystem_System_Dns_Servers_Server_State struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Address   *string           `path:"address" module:"openconfig-system"`
	ΛAddress  []ygot.Annotation `path:"@address" ygotAnnotation:"true"`
	Port      *uint16           `path:"port" module:"openconfig-system"`
	ΛPort     []ygot.Annotation `path:"@port" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Dns_Servers_Server_State represents the /openconfig-system/system/dns/servers/server/state YANG schema element.

func (*OpenconfigSystem_System_Dns_Servers_Server_State) GetAddress

GetAddress retrieves the value of the leaf Address from the OpenconfigSystem_System_Dns_Servers_Server_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Address is set, it can safely use t.GetAddress() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Address == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Dns_Servers_Server_State) GetPort

GetPort retrieves the value of the leaf Port from the OpenconfigSystem_System_Dns_Servers_Server_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Port is set, it can safely use t.GetPort() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Port == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Dns_Servers_Server_State) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Dns_Servers_Server_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Dns_Servers_Server_State) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Dns_Servers_Server_State) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Dns_State

type OpenconfigSystem_System_Dns_State struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Search    []string          `path:"search" module:"openconfig-system"`
	ΛSearch   []ygot.Annotation `path:"@search" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Dns_State represents the /openconfig-system/system/dns/state YANG schema element.

func (*OpenconfigSystem_System_Dns_State) GetSearch

func (t *OpenconfigSystem_System_Dns_State) GetSearch() []string

GetSearch retrieves the value of the leaf Search from the OpenconfigSystem_System_Dns_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Search is set, it can safely use t.GetSearch() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Search == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Dns_State) IsYANGGoStruct

func (*OpenconfigSystem_System_Dns_State) IsYANGGoStruct()

IsYANGGoStruct ensures that OpenconfigSystem_System_Dns_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Dns_State) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Dns_State) ΛEnumTypeMap

func (t *OpenconfigSystem_System_Dns_State) ΛEnumTypeMap() map[string][]reflect.Type

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_GrpcServer

type OpenconfigSystem_System_GrpcServer struct {
	ΛMetadata []ygot.Annotation                          `path:"@" ygotAnnotation:"true"`
	Config    *OpenconfigSystem_System_GrpcServer_Config `path:"config" module:"openconfig-system"`
	ΛConfig   []ygot.Annotation                          `path:"@config" ygotAnnotation:"true"`
	State     *OpenconfigSystem_System_GrpcServer_State  `path:"state" module:"openconfig-system"`
	ΛState    []ygot.Annotation                          `path:"@state" ygotAnnotation:"true"`
}

OpenconfigSystem_System_GrpcServer represents the /openconfig-system/system/grpc-server YANG schema element.

func (*OpenconfigSystem_System_GrpcServer) GetConfig

GetConfig returns the value of the Config struct pointer from OpenconfigSystem_System_GrpcServer. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_GrpcServer) GetOrCreateConfig

GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_GrpcServer) GetOrCreateState

GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_GrpcServer) GetState

GetState returns the value of the State struct pointer from OpenconfigSystem_System_GrpcServer. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_GrpcServer) IsYANGGoStruct

func (*OpenconfigSystem_System_GrpcServer) IsYANGGoStruct()

IsYANGGoStruct ensures that OpenconfigSystem_System_GrpcServer implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_GrpcServer) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_GrpcServer) ΛEnumTypeMap

func (t *OpenconfigSystem_System_GrpcServer) ΛEnumTypeMap() map[string][]reflect.Type

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_GrpcServer_Config

type OpenconfigSystem_System_GrpcServer_Config struct {
	ΛMetadata          []ygot.Annotation                                                 `path:"@" ygotAnnotation:"true"`
	CertificateId      *string                                                           `path:"certificate-id" module:"openconfig-system"`
	ΛCertificateId     []ygot.Annotation                                                 `path:"@certificate-id" ygotAnnotation:"true"`
	Enable             *bool                                                             `path:"enable" module:"openconfig-system"`
	ΛEnable            []ygot.Annotation                                                 `path:"@enable" ygotAnnotation:"true"`
	ListenAddresses    []OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union `path:"listen-addresses" module:"openconfig-system"`
	ΛListenAddresses   []ygot.Annotation                                                 `path:"@listen-addresses" ygotAnnotation:"true"`
	Port               *uint16                                                           `path:"port" module:"openconfig-system"`
	ΛPort              []ygot.Annotation                                                 `path:"@port" ygotAnnotation:"true"`
	TransportSecurity  *bool                                                             `path:"transport-security" module:"openconfig-system"`
	ΛTransportSecurity []ygot.Annotation                                                 `path:"@transport-security" ygotAnnotation:"true"`
}

OpenconfigSystem_System_GrpcServer_Config represents the /openconfig-system/system/grpc-server/config YANG schema element.

func (*OpenconfigSystem_System_GrpcServer_Config) GetCertificateId

func (t *OpenconfigSystem_System_GrpcServer_Config) GetCertificateId() string

GetCertificateId retrieves the value of the leaf CertificateId from the OpenconfigSystem_System_GrpcServer_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if CertificateId is set, it can safely use t.GetCertificateId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.CertificateId == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_GrpcServer_Config) GetEnable

GetEnable retrieves the value of the leaf Enable from the OpenconfigSystem_System_GrpcServer_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Enable is set, it can safely use t.GetEnable() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Enable == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_GrpcServer_Config) GetListenAddresses

GetListenAddresses retrieves the value of the leaf ListenAddresses from the OpenconfigSystem_System_GrpcServer_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ListenAddresses is set, it can safely use t.GetListenAddresses() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ListenAddresses == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_GrpcServer_Config) GetPort

GetPort retrieves the value of the leaf Port from the OpenconfigSystem_System_GrpcServer_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Port is set, it can safely use t.GetPort() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Port == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_GrpcServer_Config) GetTransportSecurity

func (t *OpenconfigSystem_System_GrpcServer_Config) GetTransportSecurity() bool

GetTransportSecurity retrieves the value of the leaf TransportSecurity from the OpenconfigSystem_System_GrpcServer_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TransportSecurity is set, it can safely use t.GetTransportSecurity() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TransportSecurity == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_GrpcServer_Config) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_GrpcServer_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_GrpcServer_Config) To_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union

func (t *OpenconfigSystem_System_GrpcServer_Config) To_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union(i interface{}) (OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union, error)

To_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union takes an input interface{} and attempts to convert it to a struct which implements the OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union union. It returns an error if the interface{} supplied cannot be converted to a type within the union.

func (*OpenconfigSystem_System_GrpcServer_Config) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_GrpcServer_Config) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union

type OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union interface {
	Is_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union()
}

OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union is an interface that is implemented by valid types for the union for the leaf /openconfig-system/system/grpc-server/config/listen-addresses within the YANG schema.

type OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union_E_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses

type OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union_E_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses struct {
	E_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses E_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses
}

OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union_E_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses is used when /openconfig-system/system/grpc-server/config/listen-addresses is to be set to a E_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses value.

func (*OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union_E_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses) Is_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union

Is_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union ensures that OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union_E_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses implements the OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union interface.

type OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union_String

type OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union_String struct {
	String string
}

OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union_String is used when /openconfig-system/system/grpc-server/config/listen-addresses is to be set to a string value.

func (*OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union_String) Is_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union

func (*OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union_String) Is_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union()

Is_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union ensures that OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union_String implements the OpenconfigSystem_System_GrpcServer_Config_ListenAddresses_Union interface.

type OpenconfigSystem_System_GrpcServer_State

type OpenconfigSystem_System_GrpcServer_State struct {
	ΛMetadata          []ygot.Annotation                                                `path:"@" ygotAnnotation:"true"`
	CertificateId      *string                                                          `path:"certificate-id" module:"openconfig-system"`
	ΛCertificateId     []ygot.Annotation                                                `path:"@certificate-id" ygotAnnotation:"true"`
	Enable             *bool                                                            `path:"enable" module:"openconfig-system"`
	ΛEnable            []ygot.Annotation                                                `path:"@enable" ygotAnnotation:"true"`
	ListenAddresses    []OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union `path:"listen-addresses" module:"openconfig-system"`
	ΛListenAddresses   []ygot.Annotation                                                `path:"@listen-addresses" ygotAnnotation:"true"`
	Port               *uint16                                                          `path:"port" module:"openconfig-system"`
	ΛPort              []ygot.Annotation                                                `path:"@port" ygotAnnotation:"true"`
	TransportSecurity  *bool                                                            `path:"transport-security" module:"openconfig-system"`
	ΛTransportSecurity []ygot.Annotation                                                `path:"@transport-security" ygotAnnotation:"true"`
}

OpenconfigSystem_System_GrpcServer_State represents the /openconfig-system/system/grpc-server/state YANG schema element.

func (*OpenconfigSystem_System_GrpcServer_State) GetCertificateId

func (t *OpenconfigSystem_System_GrpcServer_State) GetCertificateId() string

GetCertificateId retrieves the value of the leaf CertificateId from the OpenconfigSystem_System_GrpcServer_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if CertificateId is set, it can safely use t.GetCertificateId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.CertificateId == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_GrpcServer_State) GetEnable

GetEnable retrieves the value of the leaf Enable from the OpenconfigSystem_System_GrpcServer_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Enable is set, it can safely use t.GetEnable() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Enable == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_GrpcServer_State) GetListenAddresses

GetListenAddresses retrieves the value of the leaf ListenAddresses from the OpenconfigSystem_System_GrpcServer_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ListenAddresses is set, it can safely use t.GetListenAddresses() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ListenAddresses == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_GrpcServer_State) GetPort

GetPort retrieves the value of the leaf Port from the OpenconfigSystem_System_GrpcServer_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Port is set, it can safely use t.GetPort() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Port == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_GrpcServer_State) GetTransportSecurity

func (t *OpenconfigSystem_System_GrpcServer_State) GetTransportSecurity() bool

GetTransportSecurity retrieves the value of the leaf TransportSecurity from the OpenconfigSystem_System_GrpcServer_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TransportSecurity is set, it can safely use t.GetTransportSecurity() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TransportSecurity == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_GrpcServer_State) IsYANGGoStruct

func (*OpenconfigSystem_System_GrpcServer_State) IsYANGGoStruct()

IsYANGGoStruct ensures that OpenconfigSystem_System_GrpcServer_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_GrpcServer_State) To_OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union

func (t *OpenconfigSystem_System_GrpcServer_State) To_OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union(i interface{}) (OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union, error)

To_OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union takes an input interface{} and attempts to convert it to a struct which implements the OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union union. It returns an error if the interface{} supplied cannot be converted to a type within the union.

func (*OpenconfigSystem_System_GrpcServer_State) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_GrpcServer_State) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union

type OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union interface {
	Is_OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union()
}

OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union is an interface that is implemented by valid types for the union for the leaf /openconfig-system/system/grpc-server/state/listen-addresses within the YANG schema.

type OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union_E_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses

type OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union_E_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses struct {
	E_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses E_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses
}

OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union_E_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses is used when /openconfig-system/system/grpc-server/state/listen-addresses is to be set to a E_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses value.

func (*OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union_E_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses) Is_OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union

Is_OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union ensures that OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union_E_OpenconfigSystem_System_GrpcServer_Config_ListenAddresses implements the OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union interface.

type OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union_String

type OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union_String struct {
	String string
}

OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union_String is used when /openconfig-system/system/grpc-server/state/listen-addresses is to be set to a string value.

func (*OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union_String) Is_OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union

func (*OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union_String) Is_OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union()

Is_OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union ensures that OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union_String implements the OpenconfigSystem_System_GrpcServer_State_ListenAddresses_Union interface.

type OpenconfigSystem_System_Logging

type OpenconfigSystem_System_Logging struct {
	ΛMetadata      []ygot.Annotation                              `path:"@" ygotAnnotation:"true"`
	Console        *OpenconfigSystem_System_Logging_Console       `path:"console" module:"openconfig-system"`
	ΛConsole       []ygot.Annotation                              `path:"@console" ygotAnnotation:"true"`
	RemoteServers  *OpenconfigSystem_System_Logging_RemoteServers `path:"remote-servers" module:"openconfig-system"`
	ΛRemoteServers []ygot.Annotation                              `path:"@remote-servers" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Logging represents the /openconfig-system/system/logging YANG schema element.

func (*OpenconfigSystem_System_Logging) GetConsole

GetConsole returns the value of the Console struct pointer from OpenconfigSystem_System_Logging. If the receiver or the field Console is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_Logging) GetOrCreateConsole

GetOrCreateConsole retrieves the value of the Console field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Logging) GetOrCreateRemoteServers

GetOrCreateRemoteServers retrieves the value of the RemoteServers field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Logging) GetRemoteServers

GetRemoteServers returns the value of the RemoteServers struct pointer from OpenconfigSystem_System_Logging. If the receiver or the field RemoteServers is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_Logging) IsYANGGoStruct

func (*OpenconfigSystem_System_Logging) IsYANGGoStruct()

IsYANGGoStruct ensures that OpenconfigSystem_System_Logging implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Logging) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Logging) ΛEnumTypeMap

func (t *OpenconfigSystem_System_Logging) ΛEnumTypeMap() map[string][]reflect.Type

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Logging_Console

type OpenconfigSystem_System_Logging_Console struct {
	ΛMetadata  []ygot.Annotation                                  `path:"@" ygotAnnotation:"true"`
	Config     *OpenconfigSystem_System_Logging_Console_Config    `path:"config" module:"openconfig-system"`
	ΛConfig    []ygot.Annotation                                  `path:"@config" ygotAnnotation:"true"`
	Selectors  *OpenconfigSystem_System_Logging_Console_Selectors `path:"selectors" module:"openconfig-system"`
	ΛSelectors []ygot.Annotation                                  `path:"@selectors" ygotAnnotation:"true"`
	State      *OpenconfigSystem_System_Logging_Console_State     `path:"state" module:"openconfig-system"`
	ΛState     []ygot.Annotation                                  `path:"@state" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Logging_Console represents the /openconfig-system/system/logging/console YANG schema element.

func (*OpenconfigSystem_System_Logging_Console) GetConfig

GetConfig returns the value of the Config struct pointer from OpenconfigSystem_System_Logging_Console. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_Logging_Console) GetOrCreateConfig

GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Logging_Console) GetOrCreateSelectors

GetOrCreateSelectors retrieves the value of the Selectors field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Logging_Console) GetOrCreateState

GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Logging_Console) GetSelectors

GetSelectors returns the value of the Selectors struct pointer from OpenconfigSystem_System_Logging_Console. If the receiver or the field Selectors is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_Logging_Console) GetState

GetState returns the value of the State struct pointer from OpenconfigSystem_System_Logging_Console. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_Logging_Console) IsYANGGoStruct

func (*OpenconfigSystem_System_Logging_Console) IsYANGGoStruct()

IsYANGGoStruct ensures that OpenconfigSystem_System_Logging_Console implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Logging_Console) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Logging_Console) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Logging_Console_Config

type OpenconfigSystem_System_Logging_Console_Config struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Logging_Console_Config represents the /openconfig-system/system/logging/console/config YANG schema element.

func (*OpenconfigSystem_System_Logging_Console_Config) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Logging_Console_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Logging_Console_Config) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Logging_Console_Config) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Logging_Console_Selectors

type OpenconfigSystem_System_Logging_Console_Selectors struct {
	ΛMetadata []ygot.Annotation                                                                                                              `path:"@" ygotAnnotation:"true"`
	Selector  map[OpenconfigSystem_System_Logging_Console_Selectors_Selector_Key]*OpenconfigSystem_System_Logging_Console_Selectors_Selector `path:"selector" module:"openconfig-system"`
	ΛSelector []ygot.Annotation                                                                                                              `path:"@selector" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Logging_Console_Selectors represents the /openconfig-system/system/logging/console/selectors YANG schema element.

func (*OpenconfigSystem_System_Logging_Console_Selectors) AppendSelector

AppendSelector appends the supplied OpenconfigSystem_System_Logging_Console_Selectors_Selector struct to the list Selector of OpenconfigSystem_System_Logging_Console_Selectors. If the key value(s) specified in the supplied OpenconfigSystem_System_Logging_Console_Selectors_Selector already exist in the list, an error is returned.

func (*OpenconfigSystem_System_Logging_Console_Selectors) GetOrCreateSelector

GetOrCreateSelector retrieves the value with the specified keys from the receiver OpenconfigSystem_System_Logging_Console_Selectors. If the entry does not exist, then it is created. It returns the existing or new list member.

func (*OpenconfigSystem_System_Logging_Console_Selectors) GetSelector

GetSelector retrieves the value with the specified key from the Selector map field of OpenconfigSystem_System_Logging_Console_Selectors. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.

func (*OpenconfigSystem_System_Logging_Console_Selectors) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Logging_Console_Selectors implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Logging_Console_Selectors) NewSelector

NewSelector creates a new entry in the Selector list of the OpenconfigSystem_System_Logging_Console_Selectors struct. The keys of the list are populated from the input arguments.

func (*OpenconfigSystem_System_Logging_Console_Selectors) RenameSelector

RenameSelector renames an entry in the list Selector within the OpenconfigSystem_System_Logging_Console_Selectors struct. The entry with key oldK is renamed to newK updating the key within the value.

func (*OpenconfigSystem_System_Logging_Console_Selectors) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Logging_Console_Selectors) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Logging_Console_Selectors_Selector

type OpenconfigSystem_System_Logging_Console_Selectors_Selector struct {
	ΛMetadata []ygot.Annotation                                                  `path:"@" ygotAnnotation:"true"`
	Config    *OpenconfigSystem_System_Logging_Console_Selectors_Selector_Config `path:"config" module:"openconfig-system"`
	ΛConfig   []ygot.Annotation                                                  `path:"@config" ygotAnnotation:"true"`
	Facility  E_OpenconfigSystemLogging_SYSLOG_FACILITY                          `path:"facility" module:"openconfig-system"`
	ΛFacility []ygot.Annotation                                                  `path:"@facility" ygotAnnotation:"true"`
	Severity  E_OpenconfigSystemLogging_SyslogSeverity                           `path:"severity" module:"openconfig-system"`
	ΛSeverity []ygot.Annotation                                                  `path:"@severity" ygotAnnotation:"true"`
	State     *OpenconfigSystem_System_Logging_Console_Selectors_Selector_State  `path:"state" module:"openconfig-system"`
	ΛState    []ygot.Annotation                                                  `path:"@state" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Logging_Console_Selectors_Selector represents the /openconfig-system/system/logging/console/selectors/selector YANG schema element.

func (*OpenconfigSystem_System_Logging_Console_Selectors_Selector) GetConfig

GetConfig returns the value of the Config struct pointer from OpenconfigSystem_System_Logging_Console_Selectors_Selector. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_Logging_Console_Selectors_Selector) GetFacility

GetFacility retrieves the value of the leaf Facility from the OpenconfigSystem_System_Logging_Console_Selectors_Selector struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Facility is set, it can safely use t.GetFacility() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Facility == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Logging_Console_Selectors_Selector) GetOrCreateConfig

GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Logging_Console_Selectors_Selector) GetOrCreateState

GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Logging_Console_Selectors_Selector) GetSeverity

GetSeverity retrieves the value of the leaf Severity from the OpenconfigSystem_System_Logging_Console_Selectors_Selector struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Severity is set, it can safely use t.GetSeverity() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Severity == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Logging_Console_Selectors_Selector) GetState

GetState returns the value of the State struct pointer from OpenconfigSystem_System_Logging_Console_Selectors_Selector. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_Logging_Console_Selectors_Selector) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Logging_Console_Selectors_Selector implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Logging_Console_Selectors_Selector) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Logging_Console_Selectors_Selector) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigSystem_System_Logging_Console_Selectors_Selector) ΛListKeyMap

func (t *OpenconfigSystem_System_Logging_Console_Selectors_Selector) ΛListKeyMap() (map[string]interface{}, error)

ΛListKeyMap returns the keys of the OpenconfigSystem_System_Logging_Console_Selectors_Selector struct, which is a YANG list entry.

type OpenconfigSystem_System_Logging_Console_Selectors_Selector_Config

type OpenconfigSystem_System_Logging_Console_Selectors_Selector_Config struct {
	ΛMetadata []ygot.Annotation                         `path:"@" ygotAnnotation:"true"`
	Facility  E_OpenconfigSystemLogging_SYSLOG_FACILITY `path:"facility" module:"openconfig-system"`
	ΛFacility []ygot.Annotation                         `path:"@facility" ygotAnnotation:"true"`
	Severity  E_OpenconfigSystemLogging_SyslogSeverity  `path:"severity" module:"openconfig-system"`
	ΛSeverity []ygot.Annotation                         `path:"@severity" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Logging_Console_Selectors_Selector_Config represents the /openconfig-system/system/logging/console/selectors/selector/config YANG schema element.

func (*OpenconfigSystem_System_Logging_Console_Selectors_Selector_Config) GetFacility

GetFacility retrieves the value of the leaf Facility from the OpenconfigSystem_System_Logging_Console_Selectors_Selector_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Facility is set, it can safely use t.GetFacility() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Facility == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Logging_Console_Selectors_Selector_Config) GetSeverity

GetSeverity retrieves the value of the leaf Severity from the OpenconfigSystem_System_Logging_Console_Selectors_Selector_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Severity is set, it can safely use t.GetSeverity() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Severity == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Logging_Console_Selectors_Selector_Config) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Logging_Console_Selectors_Selector_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Logging_Console_Selectors_Selector_Config) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Logging_Console_Selectors_Selector_Config) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Logging_Console_Selectors_Selector_Key

type OpenconfigSystem_System_Logging_Console_Selectors_Selector_Key struct {
	Facility E_OpenconfigSystemLogging_SYSLOG_FACILITY `path:"facility"`
	Severity E_OpenconfigSystemLogging_SyslogSeverity  `path:"severity"`
}

OpenconfigSystem_System_Logging_Console_Selectors_Selector_Key represents the key for list Selector of element /openconfig-system/system/logging/console/selectors.

type OpenconfigSystem_System_Logging_Console_Selectors_Selector_State

type OpenconfigSystem_System_Logging_Console_Selectors_Selector_State struct {
	ΛMetadata []ygot.Annotation                         `path:"@" ygotAnnotation:"true"`
	Facility  E_OpenconfigSystemLogging_SYSLOG_FACILITY `path:"facility" module:"openconfig-system"`
	ΛFacility []ygot.Annotation                         `path:"@facility" ygotAnnotation:"true"`
	Severity  E_OpenconfigSystemLogging_SyslogSeverity  `path:"severity" module:"openconfig-system"`
	ΛSeverity []ygot.Annotation                         `path:"@severity" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Logging_Console_Selectors_Selector_State represents the /openconfig-system/system/logging/console/selectors/selector/state YANG schema element.

func (*OpenconfigSystem_System_Logging_Console_Selectors_Selector_State) GetFacility

GetFacility retrieves the value of the leaf Facility from the OpenconfigSystem_System_Logging_Console_Selectors_Selector_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Facility is set, it can safely use t.GetFacility() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Facility == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Logging_Console_Selectors_Selector_State) GetSeverity

GetSeverity retrieves the value of the leaf Severity from the OpenconfigSystem_System_Logging_Console_Selectors_Selector_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Severity is set, it can safely use t.GetSeverity() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Severity == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Logging_Console_Selectors_Selector_State) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Logging_Console_Selectors_Selector_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Logging_Console_Selectors_Selector_State) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Logging_Console_Selectors_Selector_State) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Logging_Console_State

type OpenconfigSystem_System_Logging_Console_State struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Logging_Console_State represents the /openconfig-system/system/logging/console/state YANG schema element.

func (*OpenconfigSystem_System_Logging_Console_State) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Logging_Console_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Logging_Console_State) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Logging_Console_State) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Logging_RemoteServers

type OpenconfigSystem_System_Logging_RemoteServers struct {
	ΛMetadata     []ygot.Annotation                                                      `path:"@" ygotAnnotation:"true"`
	RemoteServer  map[string]*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer `path:"remote-server" module:"openconfig-system"`
	ΛRemoteServer []ygot.Annotation                                                      `path:"@remote-server" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Logging_RemoteServers represents the /openconfig-system/system/logging/remote-servers YANG schema element.

func (*OpenconfigSystem_System_Logging_RemoteServers) AppendRemoteServer

AppendRemoteServer appends the supplied OpenconfigSystem_System_Logging_RemoteServers_RemoteServer struct to the list RemoteServer of OpenconfigSystem_System_Logging_RemoteServers. If the key value(s) specified in the supplied OpenconfigSystem_System_Logging_RemoteServers_RemoteServer already exist in the list, an error is returned.

func (*OpenconfigSystem_System_Logging_RemoteServers) GetOrCreateRemoteServer

GetOrCreateRemoteServer retrieves the value with the specified keys from the receiver OpenconfigSystem_System_Logging_RemoteServers. If the entry does not exist, then it is created. It returns the existing or new list member.

func (*OpenconfigSystem_System_Logging_RemoteServers) GetRemoteServer

GetRemoteServer retrieves the value with the specified key from the RemoteServer map field of OpenconfigSystem_System_Logging_RemoteServers. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.

func (*OpenconfigSystem_System_Logging_RemoteServers) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Logging_RemoteServers implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Logging_RemoteServers) NewRemoteServer

NewRemoteServer creates a new entry in the RemoteServer list of the OpenconfigSystem_System_Logging_RemoteServers struct. The keys of the list are populated from the input arguments.

func (*OpenconfigSystem_System_Logging_RemoteServers) RenameRemoteServer

func (t *OpenconfigSystem_System_Logging_RemoteServers) RenameRemoteServer(oldK, newK string) error

RenameRemoteServer renames an entry in the list RemoteServer within the OpenconfigSystem_System_Logging_RemoteServers struct. The entry with key oldK is renamed to newK updating the key within the value.

func (*OpenconfigSystem_System_Logging_RemoteServers) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Logging_RemoteServers) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Logging_RemoteServers_RemoteServer

type OpenconfigSystem_System_Logging_RemoteServers_RemoteServer struct {
	ΛMetadata  []ygot.Annotation                                                     `path:"@" ygotAnnotation:"true"`
	Config     *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Config    `path:"config" module:"openconfig-system"`
	ΛConfig    []ygot.Annotation                                                     `path:"@config" ygotAnnotation:"true"`
	Host       *string                                                               `path:"host" module:"openconfig-system"`
	ΛHost      []ygot.Annotation                                                     `path:"@host" ygotAnnotation:"true"`
	Selectors  *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors `path:"selectors" module:"openconfig-system"`
	ΛSelectors []ygot.Annotation                                                     `path:"@selectors" ygotAnnotation:"true"`
	State      *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_State     `path:"state" module:"openconfig-system"`
	ΛState     []ygot.Annotation                                                     `path:"@state" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Logging_RemoteServers_RemoteServer represents the /openconfig-system/system/logging/remote-servers/remote-server YANG schema element.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer) GetConfig

GetConfig returns the value of the Config struct pointer from OpenconfigSystem_System_Logging_RemoteServers_RemoteServer. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer) GetHost

GetHost retrieves the value of the leaf Host from the OpenconfigSystem_System_Logging_RemoteServers_RemoteServer struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Host is set, it can safely use t.GetHost() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Host == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer) GetOrCreateConfig

GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer) GetOrCreateSelectors

GetOrCreateSelectors retrieves the value of the Selectors field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer) GetOrCreateState

GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer) GetSelectors

GetSelectors returns the value of the Selectors struct pointer from OpenconfigSystem_System_Logging_RemoteServers_RemoteServer. If the receiver or the field Selectors is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer) GetState

GetState returns the value of the State struct pointer from OpenconfigSystem_System_Logging_RemoteServers_RemoteServer. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Logging_RemoteServers_RemoteServer implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer) ΛListKeyMap

func (t *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer) ΛListKeyMap() (map[string]interface{}, error)

ΛListKeyMap returns the keys of the OpenconfigSystem_System_Logging_RemoteServers_RemoteServer struct, which is a YANG list entry.

type OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Config

type OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Config struct {
	ΛMetadata      []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Host           *string           `path:"host" module:"openconfig-system"`
	ΛHost          []ygot.Annotation `path:"@host" ygotAnnotation:"true"`
	RemotePort     *uint16           `path:"remote-port" module:"openconfig-system"`
	ΛRemotePort    []ygot.Annotation `path:"@remote-port" ygotAnnotation:"true"`
	SourceAddress  *string           `path:"source-address" module:"openconfig-system"`
	ΛSourceAddress []ygot.Annotation `path:"@source-address" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Config represents the /openconfig-system/system/logging/remote-servers/remote-server/config YANG schema element.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Config) GetHost

GetHost retrieves the value of the leaf Host from the OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Host is set, it can safely use t.GetHost() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Host == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Config) GetRemotePort

GetRemotePort retrieves the value of the leaf RemotePort from the OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if RemotePort is set, it can safely use t.GetRemotePort() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.RemotePort == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Config) GetSourceAddress

GetSourceAddress retrieves the value of the leaf SourceAddress from the OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SourceAddress is set, it can safely use t.GetSourceAddress() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SourceAddress == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Config) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Config) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Config) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors

type OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors struct {
	ΛMetadata []ygot.Annotation                                                                                                                                                    `path:"@" ygotAnnotation:"true"`
	Selector  map[OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_Key]*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector `path:"selector" module:"openconfig-system"`
	ΛSelector []ygot.Annotation                                                                                                                                                    `path:"@selector" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors represents the /openconfig-system/system/logging/remote-servers/remote-server/selectors YANG schema element.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors) AppendSelector

AppendSelector appends the supplied OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector struct to the list Selector of OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors. If the key value(s) specified in the supplied OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector already exist in the list, an error is returned.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors) GetOrCreateSelector

GetOrCreateSelector retrieves the value with the specified keys from the receiver OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors. If the entry does not exist, then it is created. It returns the existing or new list member.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors) GetSelector

GetSelector retrieves the value with the specified key from the Selector map field of OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors) NewSelector

NewSelector creates a new entry in the Selector list of the OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors struct. The keys of the list are populated from the input arguments.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors) RenameSelector

RenameSelector renames an entry in the list Selector within the OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors struct. The entry with key oldK is renamed to newK updating the key within the value.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector

type OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector struct {
	ΛMetadata []ygot.Annotation                                                                     `path:"@" ygotAnnotation:"true"`
	Config    *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_Config `path:"config" module:"openconfig-system"`
	ΛConfig   []ygot.Annotation                                                                     `path:"@config" ygotAnnotation:"true"`
	Facility  E_OpenconfigSystemLogging_SYSLOG_FACILITY                                             `path:"facility" module:"openconfig-system"`
	ΛFacility []ygot.Annotation                                                                     `path:"@facility" ygotAnnotation:"true"`
	Severity  E_OpenconfigSystemLogging_SyslogSeverity                                              `path:"severity" module:"openconfig-system"`
	ΛSeverity []ygot.Annotation                                                                     `path:"@severity" ygotAnnotation:"true"`
	State     *OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_State  `path:"state" module:"openconfig-system"`
	ΛState    []ygot.Annotation                                                                     `path:"@state" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector represents the /openconfig-system/system/logging/remote-servers/remote-server/selectors/selector YANG schema element.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector) GetConfig

GetConfig returns the value of the Config struct pointer from OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector) GetFacility

GetFacility retrieves the value of the leaf Facility from the OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Facility is set, it can safely use t.GetFacility() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Facility == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector) GetOrCreateConfig

GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector) GetOrCreateState

GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector) GetSeverity

GetSeverity retrieves the value of the leaf Severity from the OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Severity is set, it can safely use t.GetSeverity() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Severity == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector) GetState

GetState returns the value of the State struct pointer from OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector) ΛListKeyMap

ΛListKeyMap returns the keys of the OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector struct, which is a YANG list entry.

type OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_Config

type OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_Config struct {
	ΛMetadata []ygot.Annotation                         `path:"@" ygotAnnotation:"true"`
	Facility  E_OpenconfigSystemLogging_SYSLOG_FACILITY `path:"facility" module:"openconfig-system"`
	ΛFacility []ygot.Annotation                         `path:"@facility" ygotAnnotation:"true"`
	Severity  E_OpenconfigSystemLogging_SyslogSeverity  `path:"severity" module:"openconfig-system"`
	ΛSeverity []ygot.Annotation                         `path:"@severity" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_Config represents the /openconfig-system/system/logging/remote-servers/remote-server/selectors/selector/config YANG schema element.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_Config) GetFacility

GetFacility retrieves the value of the leaf Facility from the OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Facility is set, it can safely use t.GetFacility() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Facility == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_Config) GetSeverity

GetSeverity retrieves the value of the leaf Severity from the OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Severity is set, it can safely use t.GetSeverity() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Severity == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_Config) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_Config) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_Config) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_Key

type OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_Key struct {
	Facility E_OpenconfigSystemLogging_SYSLOG_FACILITY `path:"facility"`
	Severity E_OpenconfigSystemLogging_SyslogSeverity  `path:"severity"`
}

OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_Key represents the key for list Selector of element /openconfig-system/system/logging/remote-servers/remote-server/selectors.

type OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_State

type OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_State struct {
	ΛMetadata []ygot.Annotation                         `path:"@" ygotAnnotation:"true"`
	Facility  E_OpenconfigSystemLogging_SYSLOG_FACILITY `path:"facility" module:"openconfig-system"`
	ΛFacility []ygot.Annotation                         `path:"@facility" ygotAnnotation:"true"`
	Severity  E_OpenconfigSystemLogging_SyslogSeverity  `path:"severity" module:"openconfig-system"`
	ΛSeverity []ygot.Annotation                         `path:"@severity" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_State represents the /openconfig-system/system/logging/remote-servers/remote-server/selectors/selector/state YANG schema element.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_State) GetFacility

GetFacility retrieves the value of the leaf Facility from the OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Facility is set, it can safely use t.GetFacility() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Facility == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_State) GetSeverity

GetSeverity retrieves the value of the leaf Severity from the OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Severity is set, it can safely use t.GetSeverity() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Severity == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_State) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_State) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_Selectors_Selector_State) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_State

type OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_State struct {
	ΛMetadata      []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Host           *string           `path:"host" module:"openconfig-system"`
	ΛHost          []ygot.Annotation `path:"@host" ygotAnnotation:"true"`
	RemotePort     *uint16           `path:"remote-port" module:"openconfig-system"`
	ΛRemotePort    []ygot.Annotation `path:"@remote-port" ygotAnnotation:"true"`
	SourceAddress  *string           `path:"source-address" module:"openconfig-system"`
	ΛSourceAddress []ygot.Annotation `path:"@source-address" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_State represents the /openconfig-system/system/logging/remote-servers/remote-server/state YANG schema element.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_State) GetHost

GetHost retrieves the value of the leaf Host from the OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Host is set, it can safely use t.GetHost() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Host == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_State) GetRemotePort

GetRemotePort retrieves the value of the leaf RemotePort from the OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if RemotePort is set, it can safely use t.GetRemotePort() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.RemotePort == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_State) GetSourceAddress

GetSourceAddress retrieves the value of the leaf SourceAddress from the OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SourceAddress is set, it can safely use t.GetSourceAddress() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SourceAddress == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_State) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_State) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Logging_RemoteServers_RemoteServer_State) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Memory

type OpenconfigSystem_System_Memory struct {
	ΛMetadata []ygot.Annotation                      `path:"@" ygotAnnotation:"true"`
	Config    *OpenconfigSystem_System_Memory_Config `path:"config" module:"openconfig-system"`
	ΛConfig   []ygot.Annotation                      `path:"@config" ygotAnnotation:"true"`
	State     *OpenconfigSystem_System_Memory_State  `path:"state" module:"openconfig-system"`
	ΛState    []ygot.Annotation                      `path:"@state" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Memory represents the /openconfig-system/system/memory YANG schema element.

func (*OpenconfigSystem_System_Memory) GetConfig

GetConfig returns the value of the Config struct pointer from OpenconfigSystem_System_Memory. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_Memory) GetOrCreateConfig

GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Memory) GetOrCreateState

GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Memory) GetState

GetState returns the value of the State struct pointer from OpenconfigSystem_System_Memory. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_Memory) IsYANGGoStruct

func (*OpenconfigSystem_System_Memory) IsYANGGoStruct()

IsYANGGoStruct ensures that OpenconfigSystem_System_Memory implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Memory) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Memory) ΛEnumTypeMap

func (t *OpenconfigSystem_System_Memory) ΛEnumTypeMap() map[string][]reflect.Type

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Memory_Config

type OpenconfigSystem_System_Memory_Config struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Memory_Config represents the /openconfig-system/system/memory/config YANG schema element.

func (*OpenconfigSystem_System_Memory_Config) IsYANGGoStruct

func (*OpenconfigSystem_System_Memory_Config) IsYANGGoStruct()

IsYANGGoStruct ensures that OpenconfigSystem_System_Memory_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Memory_Config) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Memory_Config) ΛEnumTypeMap

func (t *OpenconfigSystem_System_Memory_Config) ΛEnumTypeMap() map[string][]reflect.Type

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Memory_State

type OpenconfigSystem_System_Memory_State struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Physical  *uint64           `path:"physical" module:"openconfig-system"`
	ΛPhysical []ygot.Annotation `path:"@physical" ygotAnnotation:"true"`
	Reserved  *uint64           `path:"reserved" module:"openconfig-system"`
	ΛReserved []ygot.Annotation `path:"@reserved" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Memory_State represents the /openconfig-system/system/memory/state YANG schema element.

func (*OpenconfigSystem_System_Memory_State) GetPhysical

GetPhysical retrieves the value of the leaf Physical from the OpenconfigSystem_System_Memory_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Physical is set, it can safely use t.GetPhysical() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Physical == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Memory_State) GetReserved

GetReserved retrieves the value of the leaf Reserved from the OpenconfigSystem_System_Memory_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Reserved is set, it can safely use t.GetReserved() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Reserved == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Memory_State) IsYANGGoStruct

func (*OpenconfigSystem_System_Memory_State) IsYANGGoStruct()

IsYANGGoStruct ensures that OpenconfigSystem_System_Memory_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Memory_State) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Memory_State) ΛEnumTypeMap

func (t *OpenconfigSystem_System_Memory_State) ΛEnumTypeMap() map[string][]reflect.Type

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Ntp

type OpenconfigSystem_System_Ntp struct {
	ΛMetadata []ygot.Annotation                    `path:"@" ygotAnnotation:"true"`
	Config    *OpenconfigSystem_System_Ntp_Config  `path:"config" module:"openconfig-system"`
	ΛConfig   []ygot.Annotation                    `path:"@config" ygotAnnotation:"true"`
	NtpKeys   *OpenconfigSystem_System_Ntp_NtpKeys `path:"ntp-keys" module:"openconfig-system"`
	ΛNtpKeys  []ygot.Annotation                    `path:"@ntp-keys" ygotAnnotation:"true"`
	Servers   *OpenconfigSystem_System_Ntp_Servers `path:"servers" module:"openconfig-system"`
	ΛServers  []ygot.Annotation                    `path:"@servers" ygotAnnotation:"true"`
	State     *OpenconfigSystem_System_Ntp_State   `path:"state" module:"openconfig-system"`
	ΛState    []ygot.Annotation                    `path:"@state" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Ntp represents the /openconfig-system/system/ntp YANG schema element.

func (*OpenconfigSystem_System_Ntp) GetConfig

GetConfig returns the value of the Config struct pointer from OpenconfigSystem_System_Ntp. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_Ntp) GetNtpKeys

GetNtpKeys returns the value of the NtpKeys struct pointer from OpenconfigSystem_System_Ntp. If the receiver or the field NtpKeys is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_Ntp) GetOrCreateConfig

GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Ntp) GetOrCreateNtpKeys

GetOrCreateNtpKeys retrieves the value of the NtpKeys field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Ntp) GetOrCreateServers

GetOrCreateServers retrieves the value of the Servers field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Ntp) GetOrCreateState

GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Ntp) GetServers

GetServers returns the value of the Servers struct pointer from OpenconfigSystem_System_Ntp. If the receiver or the field Servers is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_Ntp) GetState

GetState returns the value of the State struct pointer from OpenconfigSystem_System_Ntp. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_Ntp) IsYANGGoStruct

func (*OpenconfigSystem_System_Ntp) IsYANGGoStruct()

IsYANGGoStruct ensures that OpenconfigSystem_System_Ntp implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Ntp) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Ntp) ΛEnumTypeMap

func (t *OpenconfigSystem_System_Ntp) ΛEnumTypeMap() map[string][]reflect.Type

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Ntp_Config

type OpenconfigSystem_System_Ntp_Config struct {
	ΛMetadata         []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	EnableNtpAuth     *bool             `path:"enable-ntp-auth" module:"openconfig-system"`
	ΛEnableNtpAuth    []ygot.Annotation `path:"@enable-ntp-auth" ygotAnnotation:"true"`
	Enabled           *bool             `path:"enabled" module:"openconfig-system"`
	ΛEnabled          []ygot.Annotation `path:"@enabled" ygotAnnotation:"true"`
	NtpSourceAddress  *string           `path:"ntp-source-address" module:"openconfig-system"`
	ΛNtpSourceAddress []ygot.Annotation `path:"@ntp-source-address" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Ntp_Config represents the /openconfig-system/system/ntp/config YANG schema element.

func (*OpenconfigSystem_System_Ntp_Config) GetEnableNtpAuth

func (t *OpenconfigSystem_System_Ntp_Config) GetEnableNtpAuth() bool

GetEnableNtpAuth retrieves the value of the leaf EnableNtpAuth from the OpenconfigSystem_System_Ntp_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if EnableNtpAuth is set, it can safely use t.GetEnableNtpAuth() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.EnableNtpAuth == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Ntp_Config) GetEnabled

func (t *OpenconfigSystem_System_Ntp_Config) GetEnabled() bool

GetEnabled retrieves the value of the leaf Enabled from the OpenconfigSystem_System_Ntp_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Enabled is set, it can safely use t.GetEnabled() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Enabled == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Ntp_Config) GetNtpSourceAddress

func (t *OpenconfigSystem_System_Ntp_Config) GetNtpSourceAddress() string

GetNtpSourceAddress retrieves the value of the leaf NtpSourceAddress from the OpenconfigSystem_System_Ntp_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if NtpSourceAddress is set, it can safely use t.GetNtpSourceAddress() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.NtpSourceAddress == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Ntp_Config) IsYANGGoStruct

func (*OpenconfigSystem_System_Ntp_Config) IsYANGGoStruct()

IsYANGGoStruct ensures that OpenconfigSystem_System_Ntp_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Ntp_Config) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Ntp_Config) ΛEnumTypeMap

func (t *OpenconfigSystem_System_Ntp_Config) ΛEnumTypeMap() map[string][]reflect.Type

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Ntp_NtpKeys

type OpenconfigSystem_System_Ntp_NtpKeys struct {
	ΛMetadata []ygot.Annotation                                      `path:"@" ygotAnnotation:"true"`
	NtpKey    map[uint16]*OpenconfigSystem_System_Ntp_NtpKeys_NtpKey `path:"ntp-key" module:"openconfig-system"`
	ΛNtpKey   []ygot.Annotation                                      `path:"@ntp-key" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Ntp_NtpKeys represents the /openconfig-system/system/ntp/ntp-keys YANG schema element.

func (*OpenconfigSystem_System_Ntp_NtpKeys) AppendNtpKey

AppendNtpKey appends the supplied OpenconfigSystem_System_Ntp_NtpKeys_NtpKey struct to the list NtpKey of OpenconfigSystem_System_Ntp_NtpKeys. If the key value(s) specified in the supplied OpenconfigSystem_System_Ntp_NtpKeys_NtpKey already exist in the list, an error is returned.

func (*OpenconfigSystem_System_Ntp_NtpKeys) GetNtpKey

GetNtpKey retrieves the value with the specified key from the NtpKey map field of OpenconfigSystem_System_Ntp_NtpKeys. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.

func (*OpenconfigSystem_System_Ntp_NtpKeys) GetOrCreateNtpKey

GetOrCreateNtpKey retrieves the value with the specified keys from the receiver OpenconfigSystem_System_Ntp_NtpKeys. If the entry does not exist, then it is created. It returns the existing or new list member.

func (*OpenconfigSystem_System_Ntp_NtpKeys) IsYANGGoStruct

func (*OpenconfigSystem_System_Ntp_NtpKeys) IsYANGGoStruct()

IsYANGGoStruct ensures that OpenconfigSystem_System_Ntp_NtpKeys implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Ntp_NtpKeys) NewNtpKey

NewNtpKey creates a new entry in the NtpKey list of the OpenconfigSystem_System_Ntp_NtpKeys struct. The keys of the list are populated from the input arguments.

func (*OpenconfigSystem_System_Ntp_NtpKeys) RenameNtpKey

func (t *OpenconfigSystem_System_Ntp_NtpKeys) RenameNtpKey(oldK, newK uint16) error

RenameNtpKey renames an entry in the list NtpKey within the OpenconfigSystem_System_Ntp_NtpKeys struct. The entry with key oldK is renamed to newK updating the key within the value.

func (*OpenconfigSystem_System_Ntp_NtpKeys) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Ntp_NtpKeys) ΛEnumTypeMap

func (t *OpenconfigSystem_System_Ntp_NtpKeys) ΛEnumTypeMap() map[string][]reflect.Type

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Ntp_NtpKeys_NtpKey

type OpenconfigSystem_System_Ntp_NtpKeys_NtpKey struct {
	ΛMetadata []ygot.Annotation                                  `path:"@" ygotAnnotation:"true"`
	Config    *OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_Config `path:"config" module:"openconfig-system"`
	ΛConfig   []ygot.Annotation                                  `path:"@config" ygotAnnotation:"true"`
	KeyId     *uint16                                            `path:"key-id" module:"openconfig-system"`
	ΛKeyId    []ygot.Annotation                                  `path:"@key-id" ygotAnnotation:"true"`
	State     *OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_State  `path:"state" module:"openconfig-system"`
	ΛState    []ygot.Annotation                                  `path:"@state" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Ntp_NtpKeys_NtpKey represents the /openconfig-system/system/ntp/ntp-keys/ntp-key YANG schema element.

func (*OpenconfigSystem_System_Ntp_NtpKeys_NtpKey) GetConfig

GetConfig returns the value of the Config struct pointer from OpenconfigSystem_System_Ntp_NtpKeys_NtpKey. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_Ntp_NtpKeys_NtpKey) GetKeyId

GetKeyId retrieves the value of the leaf KeyId from the OpenconfigSystem_System_Ntp_NtpKeys_NtpKey struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if KeyId is set, it can safely use t.GetKeyId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.KeyId == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Ntp_NtpKeys_NtpKey) GetOrCreateConfig

GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Ntp_NtpKeys_NtpKey) GetOrCreateState

GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Ntp_NtpKeys_NtpKey) GetState

GetState returns the value of the State struct pointer from OpenconfigSystem_System_Ntp_NtpKeys_NtpKey. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_Ntp_NtpKeys_NtpKey) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Ntp_NtpKeys_NtpKey implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Ntp_NtpKeys_NtpKey) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Ntp_NtpKeys_NtpKey) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigSystem_System_Ntp_NtpKeys_NtpKey) ΛListKeyMap

func (t *OpenconfigSystem_System_Ntp_NtpKeys_NtpKey) ΛListKeyMap() (map[string]interface{}, error)

ΛListKeyMap returns the keys of the OpenconfigSystem_System_Ntp_NtpKeys_NtpKey struct, which is a YANG list entry.

type OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_Config

type OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_Config struct {
	ΛMetadata []ygot.Annotation                `path:"@" ygotAnnotation:"true"`
	KeyId     *uint16                          `path:"key-id" module:"openconfig-system"`
	ΛKeyId    []ygot.Annotation                `path:"@key-id" ygotAnnotation:"true"`
	KeyType   E_OpenconfigSystem_NTP_AUTH_TYPE `path:"key-type" module:"openconfig-system"`
	ΛKeyType  []ygot.Annotation                `path:"@key-type" ygotAnnotation:"true"`
	KeyValue  *string                          `path:"key-value" module:"openconfig-system"`
	ΛKeyValue []ygot.Annotation                `path:"@key-value" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_Config represents the /openconfig-system/system/ntp/ntp-keys/ntp-key/config YANG schema element.

func (*OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_Config) GetKeyId

GetKeyId retrieves the value of the leaf KeyId from the OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if KeyId is set, it can safely use t.GetKeyId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.KeyId == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_Config) GetKeyType

GetKeyType retrieves the value of the leaf KeyType from the OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if KeyType is set, it can safely use t.GetKeyType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.KeyType == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_Config) GetKeyValue

GetKeyValue retrieves the value of the leaf KeyValue from the OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if KeyValue is set, it can safely use t.GetKeyValue() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.KeyValue == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_Config) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_Config) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_Config) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_State

type OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_State struct {
	ΛMetadata []ygot.Annotation                `path:"@" ygotAnnotation:"true"`
	KeyId     *uint16                          `path:"key-id" module:"openconfig-system"`
	ΛKeyId    []ygot.Annotation                `path:"@key-id" ygotAnnotation:"true"`
	KeyType   E_OpenconfigSystem_NTP_AUTH_TYPE `path:"key-type" module:"openconfig-system"`
	ΛKeyType  []ygot.Annotation                `path:"@key-type" ygotAnnotation:"true"`
	KeyValue  *string                          `path:"key-value" module:"openconfig-system"`
	ΛKeyValue []ygot.Annotation                `path:"@key-value" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_State represents the /openconfig-system/system/ntp/ntp-keys/ntp-key/state YANG schema element.

func (*OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_State) GetKeyId

GetKeyId retrieves the value of the leaf KeyId from the OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if KeyId is set, it can safely use t.GetKeyId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.KeyId == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_State) GetKeyType

GetKeyType retrieves the value of the leaf KeyType from the OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if KeyType is set, it can safely use t.GetKeyType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.KeyType == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_State) GetKeyValue

GetKeyValue retrieves the value of the leaf KeyValue from the OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if KeyValue is set, it can safely use t.GetKeyValue() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.KeyValue == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_State) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_State) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Ntp_NtpKeys_NtpKey_State) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Ntp_Servers

type OpenconfigSystem_System_Ntp_Servers struct {
	ΛMetadata []ygot.Annotation                                      `path:"@" ygotAnnotation:"true"`
	Server    map[string]*OpenconfigSystem_System_Ntp_Servers_Server `path:"server" module:"openconfig-system"`
	ΛServer   []ygot.Annotation                                      `path:"@server" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Ntp_Servers represents the /openconfig-system/system/ntp/servers YANG schema element.

func (*OpenconfigSystem_System_Ntp_Servers) AppendServer

AppendServer appends the supplied OpenconfigSystem_System_Ntp_Servers_Server struct to the list Server of OpenconfigSystem_System_Ntp_Servers. If the key value(s) specified in the supplied OpenconfigSystem_System_Ntp_Servers_Server already exist in the list, an error is returned.

func (*OpenconfigSystem_System_Ntp_Servers) GetOrCreateServer

GetOrCreateServer retrieves the value with the specified keys from the receiver OpenconfigSystem_System_Ntp_Servers. If the entry does not exist, then it is created. It returns the existing or new list member.

func (*OpenconfigSystem_System_Ntp_Servers) GetServer

GetServer retrieves the value with the specified key from the Server map field of OpenconfigSystem_System_Ntp_Servers. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.

func (*OpenconfigSystem_System_Ntp_Servers) IsYANGGoStruct

func (*OpenconfigSystem_System_Ntp_Servers) IsYANGGoStruct()

IsYANGGoStruct ensures that OpenconfigSystem_System_Ntp_Servers implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Ntp_Servers) NewServer

NewServer creates a new entry in the Server list of the OpenconfigSystem_System_Ntp_Servers struct. The keys of the list are populated from the input arguments.

func (*OpenconfigSystem_System_Ntp_Servers) RenameServer

func (t *OpenconfigSystem_System_Ntp_Servers) RenameServer(oldK, newK string) error

RenameServer renames an entry in the list Server within the OpenconfigSystem_System_Ntp_Servers struct. The entry with key oldK is renamed to newK updating the key within the value.

func (*OpenconfigSystem_System_Ntp_Servers) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Ntp_Servers) ΛEnumTypeMap

func (t *OpenconfigSystem_System_Ntp_Servers) ΛEnumTypeMap() map[string][]reflect.Type

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Ntp_Servers_Server

type OpenconfigSystem_System_Ntp_Servers_Server struct {
	ΛMetadata []ygot.Annotation                                  `path:"@" ygotAnnotation:"true"`
	Address   *string                                            `path:"address" module:"openconfig-system"`
	ΛAddress  []ygot.Annotation                                  `path:"@address" ygotAnnotation:"true"`
	Config    *OpenconfigSystem_System_Ntp_Servers_Server_Config `path:"config" module:"openconfig-system"`
	ΛConfig   []ygot.Annotation                                  `path:"@config" ygotAnnotation:"true"`
	State     *OpenconfigSystem_System_Ntp_Servers_Server_State  `path:"state" module:"openconfig-system"`
	ΛState    []ygot.Annotation                                  `path:"@state" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Ntp_Servers_Server represents the /openconfig-system/system/ntp/servers/server YANG schema element.

func (*OpenconfigSystem_System_Ntp_Servers_Server) GetAddress

GetAddress retrieves the value of the leaf Address from the OpenconfigSystem_System_Ntp_Servers_Server struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Address is set, it can safely use t.GetAddress() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Address == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Ntp_Servers_Server) GetConfig

GetConfig returns the value of the Config struct pointer from OpenconfigSystem_System_Ntp_Servers_Server. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_Ntp_Servers_Server) GetOrCreateConfig

GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Ntp_Servers_Server) GetOrCreateState

GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Ntp_Servers_Server) GetState

GetState returns the value of the State struct pointer from OpenconfigSystem_System_Ntp_Servers_Server. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_Ntp_Servers_Server) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Ntp_Servers_Server implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Ntp_Servers_Server) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Ntp_Servers_Server) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigSystem_System_Ntp_Servers_Server) ΛListKeyMap

func (t *OpenconfigSystem_System_Ntp_Servers_Server) ΛListKeyMap() (map[string]interface{}, error)

ΛListKeyMap returns the keys of the OpenconfigSystem_System_Ntp_Servers_Server struct, which is a YANG list entry.

type OpenconfigSystem_System_Ntp_Servers_Server_Config

type OpenconfigSystem_System_Ntp_Servers_Server_Config struct {
	ΛMetadata        []ygot.Annotation                                                   `path:"@" ygotAnnotation:"true"`
	Address          *string                                                             `path:"address" module:"openconfig-system"`
	ΛAddress         []ygot.Annotation                                                   `path:"@address" ygotAnnotation:"true"`
	AssociationType  E_OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType `path:"association-type" module:"openconfig-system"`
	ΛAssociationType []ygot.Annotation                                                   `path:"@association-type" ygotAnnotation:"true"`
	Iburst           *bool                                                               `path:"iburst" module:"openconfig-system"`
	ΛIburst          []ygot.Annotation                                                   `path:"@iburst" ygotAnnotation:"true"`
	Port             *uint16                                                             `path:"port" module:"openconfig-system"`
	ΛPort            []ygot.Annotation                                                   `path:"@port" ygotAnnotation:"true"`
	Prefer           *bool                                                               `path:"prefer" module:"openconfig-system"`
	ΛPrefer          []ygot.Annotation                                                   `path:"@prefer" ygotAnnotation:"true"`
	Version          *uint8                                                              `path:"version" module:"openconfig-system"`
	ΛVersion         []ygot.Annotation                                                   `path:"@version" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Ntp_Servers_Server_Config represents the /openconfig-system/system/ntp/servers/server/config YANG schema element.

func (*OpenconfigSystem_System_Ntp_Servers_Server_Config) GetAddress

GetAddress retrieves the value of the leaf Address from the OpenconfigSystem_System_Ntp_Servers_Server_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Address is set, it can safely use t.GetAddress() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Address == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Ntp_Servers_Server_Config) GetAssociationType

GetAssociationType retrieves the value of the leaf AssociationType from the OpenconfigSystem_System_Ntp_Servers_Server_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AssociationType is set, it can safely use t.GetAssociationType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AssociationType == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Ntp_Servers_Server_Config) GetIburst

GetIburst retrieves the value of the leaf Iburst from the OpenconfigSystem_System_Ntp_Servers_Server_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Iburst is set, it can safely use t.GetIburst() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Iburst == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Ntp_Servers_Server_Config) GetPort

GetPort retrieves the value of the leaf Port from the OpenconfigSystem_System_Ntp_Servers_Server_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Port is set, it can safely use t.GetPort() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Port == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Ntp_Servers_Server_Config) GetPrefer

GetPrefer retrieves the value of the leaf Prefer from the OpenconfigSystem_System_Ntp_Servers_Server_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Prefer is set, it can safely use t.GetPrefer() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Prefer == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Ntp_Servers_Server_Config) GetVersion

GetVersion retrieves the value of the leaf Version from the OpenconfigSystem_System_Ntp_Servers_Server_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Version is set, it can safely use t.GetVersion() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Version == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Ntp_Servers_Server_Config) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Ntp_Servers_Server_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Ntp_Servers_Server_Config) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Ntp_Servers_Server_Config) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Ntp_Servers_Server_State

type OpenconfigSystem_System_Ntp_Servers_Server_State struct {
	ΛMetadata        []ygot.Annotation                                                   `path:"@" ygotAnnotation:"true"`
	Address          *string                                                             `path:"address" module:"openconfig-system"`
	ΛAddress         []ygot.Annotation                                                   `path:"@address" ygotAnnotation:"true"`
	AssociationType  E_OpenconfigSystem_System_Ntp_Servers_Server_Config_AssociationType `path:"association-type" module:"openconfig-system"`
	ΛAssociationType []ygot.Annotation                                                   `path:"@association-type" ygotAnnotation:"true"`
	Iburst           *bool                                                               `path:"iburst" module:"openconfig-system"`
	ΛIburst          []ygot.Annotation                                                   `path:"@iburst" ygotAnnotation:"true"`
	Offset           *uint64                                                             `path:"offset" module:"openconfig-system"`
	ΛOffset          []ygot.Annotation                                                   `path:"@offset" ygotAnnotation:"true"`
	PollInterval     *uint32                                                             `path:"poll-interval" module:"openconfig-system"`
	ΛPollInterval    []ygot.Annotation                                                   `path:"@poll-interval" ygotAnnotation:"true"`
	Port             *uint16                                                             `path:"port" module:"openconfig-system"`
	ΛPort            []ygot.Annotation                                                   `path:"@port" ygotAnnotation:"true"`
	Prefer           *bool                                                               `path:"prefer" module:"openconfig-system"`
	ΛPrefer          []ygot.Annotation                                                   `path:"@prefer" ygotAnnotation:"true"`
	RootDelay        *uint32                                                             `path:"root-delay" module:"openconfig-system"`
	ΛRootDelay       []ygot.Annotation                                                   `path:"@root-delay" ygotAnnotation:"true"`
	RootDispersion   *uint64                                                             `path:"root-dispersion" module:"openconfig-system"`
	ΛRootDispersion  []ygot.Annotation                                                   `path:"@root-dispersion" ygotAnnotation:"true"`
	Stratum          *uint8                                                              `path:"stratum" module:"openconfig-system"`
	ΛStratum         []ygot.Annotation                                                   `path:"@stratum" ygotAnnotation:"true"`
	Version          *uint8                                                              `path:"version" module:"openconfig-system"`
	ΛVersion         []ygot.Annotation                                                   `path:"@version" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Ntp_Servers_Server_State represents the /openconfig-system/system/ntp/servers/server/state YANG schema element.

func (*OpenconfigSystem_System_Ntp_Servers_Server_State) GetAddress

GetAddress retrieves the value of the leaf Address from the OpenconfigSystem_System_Ntp_Servers_Server_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Address is set, it can safely use t.GetAddress() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Address == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Ntp_Servers_Server_State) GetAssociationType

GetAssociationType retrieves the value of the leaf AssociationType from the OpenconfigSystem_System_Ntp_Servers_Server_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AssociationType is set, it can safely use t.GetAssociationType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AssociationType == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Ntp_Servers_Server_State) GetIburst

GetIburst retrieves the value of the leaf Iburst from the OpenconfigSystem_System_Ntp_Servers_Server_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Iburst is set, it can safely use t.GetIburst() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Iburst == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Ntp_Servers_Server_State) GetOffset

GetOffset retrieves the value of the leaf Offset from the OpenconfigSystem_System_Ntp_Servers_Server_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Offset is set, it can safely use t.GetOffset() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Offset == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Ntp_Servers_Server_State) GetPollInterval

GetPollInterval retrieves the value of the leaf PollInterval from the OpenconfigSystem_System_Ntp_Servers_Server_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if PollInterval is set, it can safely use t.GetPollInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.PollInterval == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Ntp_Servers_Server_State) GetPort

GetPort retrieves the value of the leaf Port from the OpenconfigSystem_System_Ntp_Servers_Server_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Port is set, it can safely use t.GetPort() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Port == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Ntp_Servers_Server_State) GetPrefer

GetPrefer retrieves the value of the leaf Prefer from the OpenconfigSystem_System_Ntp_Servers_Server_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Prefer is set, it can safely use t.GetPrefer() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Prefer == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Ntp_Servers_Server_State) GetRootDelay

GetRootDelay retrieves the value of the leaf RootDelay from the OpenconfigSystem_System_Ntp_Servers_Server_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if RootDelay is set, it can safely use t.GetRootDelay() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.RootDelay == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Ntp_Servers_Server_State) GetRootDispersion

GetRootDispersion retrieves the value of the leaf RootDispersion from the OpenconfigSystem_System_Ntp_Servers_Server_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if RootDispersion is set, it can safely use t.GetRootDispersion() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.RootDispersion == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Ntp_Servers_Server_State) GetStratum

GetStratum retrieves the value of the leaf Stratum from the OpenconfigSystem_System_Ntp_Servers_Server_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Stratum is set, it can safely use t.GetStratum() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Stratum == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Ntp_Servers_Server_State) GetVersion

GetVersion retrieves the value of the leaf Version from the OpenconfigSystem_System_Ntp_Servers_Server_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Version is set, it can safely use t.GetVersion() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Version == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Ntp_Servers_Server_State) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Ntp_Servers_Server_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Ntp_Servers_Server_State) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Ntp_Servers_Server_State) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Ntp_State

type OpenconfigSystem_System_Ntp_State struct {
	ΛMetadata         []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	AuthMismatch      *uint64           `path:"auth-mismatch" module:"openconfig-system"`
	ΛAuthMismatch     []ygot.Annotation `path:"@auth-mismatch" ygotAnnotation:"true"`
	EnableNtpAuth     *bool             `path:"enable-ntp-auth" module:"openconfig-system"`
	ΛEnableNtpAuth    []ygot.Annotation `path:"@enable-ntp-auth" ygotAnnotation:"true"`
	Enabled           *bool             `path:"enabled" module:"openconfig-system"`
	ΛEnabled          []ygot.Annotation `path:"@enabled" ygotAnnotation:"true"`
	NtpSourceAddress  *string           `path:"ntp-source-address" module:"openconfig-system"`
	ΛNtpSourceAddress []ygot.Annotation `path:"@ntp-source-address" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Ntp_State represents the /openconfig-system/system/ntp/state YANG schema element.

func (*OpenconfigSystem_System_Ntp_State) GetAuthMismatch

func (t *OpenconfigSystem_System_Ntp_State) GetAuthMismatch() uint64

GetAuthMismatch retrieves the value of the leaf AuthMismatch from the OpenconfigSystem_System_Ntp_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AuthMismatch is set, it can safely use t.GetAuthMismatch() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AuthMismatch == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Ntp_State) GetEnableNtpAuth

func (t *OpenconfigSystem_System_Ntp_State) GetEnableNtpAuth() bool

GetEnableNtpAuth retrieves the value of the leaf EnableNtpAuth from the OpenconfigSystem_System_Ntp_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if EnableNtpAuth is set, it can safely use t.GetEnableNtpAuth() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.EnableNtpAuth == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Ntp_State) GetEnabled

func (t *OpenconfigSystem_System_Ntp_State) GetEnabled() bool

GetEnabled retrieves the value of the leaf Enabled from the OpenconfigSystem_System_Ntp_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Enabled is set, it can safely use t.GetEnabled() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Enabled == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Ntp_State) GetNtpSourceAddress

func (t *OpenconfigSystem_System_Ntp_State) GetNtpSourceAddress() string

GetNtpSourceAddress retrieves the value of the leaf NtpSourceAddress from the OpenconfigSystem_System_Ntp_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if NtpSourceAddress is set, it can safely use t.GetNtpSourceAddress() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.NtpSourceAddress == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Ntp_State) IsYANGGoStruct

func (*OpenconfigSystem_System_Ntp_State) IsYANGGoStruct()

IsYANGGoStruct ensures that OpenconfigSystem_System_Ntp_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Ntp_State) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Ntp_State) ΛEnumTypeMap

func (t *OpenconfigSystem_System_Ntp_State) ΛEnumTypeMap() map[string][]reflect.Type

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Processes

type OpenconfigSystem_System_Processes struct {
	ΛMetadata []ygot.Annotation                                     `path:"@" ygotAnnotation:"true"`
	Process   map[uint64]*OpenconfigSystem_System_Processes_Process `path:"process" module:"openconfig-system"`
	ΛProcess  []ygot.Annotation                                     `path:"@process" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Processes represents the /openconfig-system/system/processes YANG schema element.

func (*OpenconfigSystem_System_Processes) AppendProcess

AppendProcess appends the supplied OpenconfigSystem_System_Processes_Process struct to the list Process of OpenconfigSystem_System_Processes. If the key value(s) specified in the supplied OpenconfigSystem_System_Processes_Process already exist in the list, an error is returned.

func (*OpenconfigSystem_System_Processes) GetOrCreateProcess

GetOrCreateProcess retrieves the value with the specified keys from the receiver OpenconfigSystem_System_Processes. If the entry does not exist, then it is created. It returns the existing or new list member.

func (*OpenconfigSystem_System_Processes) GetProcess

GetProcess retrieves the value with the specified key from the Process map field of OpenconfigSystem_System_Processes. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.

func (*OpenconfigSystem_System_Processes) IsYANGGoStruct

func (*OpenconfigSystem_System_Processes) IsYANGGoStruct()

IsYANGGoStruct ensures that OpenconfigSystem_System_Processes implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Processes) NewProcess

NewProcess creates a new entry in the Process list of the OpenconfigSystem_System_Processes struct. The keys of the list are populated from the input arguments.

func (*OpenconfigSystem_System_Processes) RenameProcess

func (t *OpenconfigSystem_System_Processes) RenameProcess(oldK, newK uint64) error

RenameProcess renames an entry in the list Process within the OpenconfigSystem_System_Processes struct. The entry with key oldK is renamed to newK updating the key within the value.

func (*OpenconfigSystem_System_Processes) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Processes) ΛEnumTypeMap

func (t *OpenconfigSystem_System_Processes) ΛEnumTypeMap() map[string][]reflect.Type

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_Processes_Process

type OpenconfigSystem_System_Processes_Process struct {
	ΛMetadata []ygot.Annotation                                `path:"@" ygotAnnotation:"true"`
	Pid       *uint64                                          `path:"pid" module:"openconfig-system"`
	ΛPid      []ygot.Annotation                                `path:"@pid" ygotAnnotation:"true"`
	State     *OpenconfigSystem_System_Processes_Process_State `path:"state" module:"openconfig-system"`
	ΛState    []ygot.Annotation                                `path:"@state" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Processes_Process represents the /openconfig-system/system/processes/process YANG schema element.

func (*OpenconfigSystem_System_Processes_Process) GetOrCreateState

GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_Processes_Process) GetPid

GetPid retrieves the value of the leaf Pid from the OpenconfigSystem_System_Processes_Process struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Pid is set, it can safely use t.GetPid() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Pid == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Processes_Process) GetState

GetState returns the value of the State struct pointer from OpenconfigSystem_System_Processes_Process. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_Processes_Process) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Processes_Process implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Processes_Process) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Processes_Process) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigSystem_System_Processes_Process) ΛListKeyMap

func (t *OpenconfigSystem_System_Processes_Process) ΛListKeyMap() (map[string]interface{}, error)

ΛListKeyMap returns the keys of the OpenconfigSystem_System_Processes_Process struct, which is a YANG list entry.

type OpenconfigSystem_System_Processes_Process_State

type OpenconfigSystem_System_Processes_Process_State struct {
	ΛMetadata          []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Args               []string          `path:"args" module:"openconfig-system"`
	ΛArgs              []ygot.Annotation `path:"@args" ygotAnnotation:"true"`
	CpuUsageSystem     *uint64           `path:"cpu-usage-system" module:"openconfig-system"`
	ΛCpuUsageSystem    []ygot.Annotation `path:"@cpu-usage-system" ygotAnnotation:"true"`
	CpuUsageUser       *uint64           `path:"cpu-usage-user" module:"openconfig-system"`
	ΛCpuUsageUser      []ygot.Annotation `path:"@cpu-usage-user" ygotAnnotation:"true"`
	CpuUtilization     *uint8            `path:"cpu-utilization" module:"openconfig-system"`
	ΛCpuUtilization    []ygot.Annotation `path:"@cpu-utilization" ygotAnnotation:"true"`
	MemoryUsage        *uint64           `path:"memory-usage" module:"openconfig-system"`
	ΛMemoryUsage       []ygot.Annotation `path:"@memory-usage" ygotAnnotation:"true"`
	MemoryUtilization  *uint8            `path:"memory-utilization" module:"openconfig-system"`
	ΛMemoryUtilization []ygot.Annotation `path:"@memory-utilization" ygotAnnotation:"true"`
	Name               *string           `path:"name" module:"openconfig-system"`
	ΛName              []ygot.Annotation `path:"@name" ygotAnnotation:"true"`
	Pid                *uint64           `path:"pid" module:"openconfig-system"`
	ΛPid               []ygot.Annotation `path:"@pid" ygotAnnotation:"true"`
	StartTime          *uint64           `path:"start-time" module:"openconfig-system"`
	ΛStartTime         []ygot.Annotation `path:"@start-time" ygotAnnotation:"true"`
	Uptime             *uint64           `path:"uptime" module:"openconfig-system"`
	ΛUptime            []ygot.Annotation `path:"@uptime" ygotAnnotation:"true"`
}

OpenconfigSystem_System_Processes_Process_State represents the /openconfig-system/system/processes/process/state YANG schema element.

func (*OpenconfigSystem_System_Processes_Process_State) GetArgs

GetArgs retrieves the value of the leaf Args from the OpenconfigSystem_System_Processes_Process_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Args is set, it can safely use t.GetArgs() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Args == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Processes_Process_State) GetCpuUsageSystem

GetCpuUsageSystem retrieves the value of the leaf CpuUsageSystem from the OpenconfigSystem_System_Processes_Process_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if CpuUsageSystem is set, it can safely use t.GetCpuUsageSystem() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.CpuUsageSystem == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Processes_Process_State) GetCpuUsageUser

GetCpuUsageUser retrieves the value of the leaf CpuUsageUser from the OpenconfigSystem_System_Processes_Process_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if CpuUsageUser is set, it can safely use t.GetCpuUsageUser() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.CpuUsageUser == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Processes_Process_State) GetCpuUtilization

GetCpuUtilization retrieves the value of the leaf CpuUtilization from the OpenconfigSystem_System_Processes_Process_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if CpuUtilization is set, it can safely use t.GetCpuUtilization() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.CpuUtilization == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Processes_Process_State) GetMemoryUsage

GetMemoryUsage retrieves the value of the leaf MemoryUsage from the OpenconfigSystem_System_Processes_Process_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MemoryUsage is set, it can safely use t.GetMemoryUsage() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MemoryUsage == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Processes_Process_State) GetMemoryUtilization

func (t *OpenconfigSystem_System_Processes_Process_State) GetMemoryUtilization() uint8

GetMemoryUtilization retrieves the value of the leaf MemoryUtilization from the OpenconfigSystem_System_Processes_Process_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MemoryUtilization is set, it can safely use t.GetMemoryUtilization() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MemoryUtilization == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Processes_Process_State) GetName

GetName retrieves the value of the leaf Name from the OpenconfigSystem_System_Processes_Process_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Name is set, it can safely use t.GetName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Name == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Processes_Process_State) GetPid

GetPid retrieves the value of the leaf Pid from the OpenconfigSystem_System_Processes_Process_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Pid is set, it can safely use t.GetPid() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Pid == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Processes_Process_State) GetStartTime

GetStartTime retrieves the value of the leaf StartTime from the OpenconfigSystem_System_Processes_Process_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if StartTime is set, it can safely use t.GetStartTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.StartTime == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Processes_Process_State) GetUptime

GetUptime retrieves the value of the leaf Uptime from the OpenconfigSystem_System_Processes_Process_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Uptime is set, it can safely use t.GetUptime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Uptime == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_Processes_Process_State) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_Processes_Process_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_Processes_Process_State) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_Processes_Process_State) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_SshServer

type OpenconfigSystem_System_SshServer struct {
	ΛMetadata []ygot.Annotation                         `path:"@" ygotAnnotation:"true"`
	Config    *OpenconfigSystem_System_SshServer_Config `path:"config" module:"openconfig-system"`
	ΛConfig   []ygot.Annotation                         `path:"@config" ygotAnnotation:"true"`
	State     *OpenconfigSystem_System_SshServer_State  `path:"state" module:"openconfig-system"`
	ΛState    []ygot.Annotation                         `path:"@state" ygotAnnotation:"true"`
}

OpenconfigSystem_System_SshServer represents the /openconfig-system/system/ssh-server YANG schema element.

func (*OpenconfigSystem_System_SshServer) GetConfig

GetConfig returns the value of the Config struct pointer from OpenconfigSystem_System_SshServer. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_SshServer) GetOrCreateConfig

GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_SshServer) GetOrCreateState

GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_SshServer) GetState

GetState returns the value of the State struct pointer from OpenconfigSystem_System_SshServer. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_SshServer) IsYANGGoStruct

func (*OpenconfigSystem_System_SshServer) IsYANGGoStruct()

IsYANGGoStruct ensures that OpenconfigSystem_System_SshServer implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_SshServer) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_SshServer) ΛEnumTypeMap

func (t *OpenconfigSystem_System_SshServer) ΛEnumTypeMap() map[string][]reflect.Type

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_SshServer_Config

type OpenconfigSystem_System_SshServer_Config struct {
	ΛMetadata        []ygot.Annotation                                          `path:"@" ygotAnnotation:"true"`
	Enable           *bool                                                      `path:"enable" module:"openconfig-system"`
	ΛEnable          []ygot.Annotation                                          `path:"@enable" ygotAnnotation:"true"`
	ProtocolVersion  E_OpenconfigSystem_System_SshServer_Config_ProtocolVersion `path:"protocol-version" module:"openconfig-system"`
	ΛProtocolVersion []ygot.Annotation                                          `path:"@protocol-version" ygotAnnotation:"true"`
	RateLimit        *uint16                                                    `path:"rate-limit" module:"openconfig-system"`
	ΛRateLimit       []ygot.Annotation                                          `path:"@rate-limit" ygotAnnotation:"true"`
	SessionLimit     *uint16                                                    `path:"session-limit" module:"openconfig-system"`
	ΛSessionLimit    []ygot.Annotation                                          `path:"@session-limit" ygotAnnotation:"true"`
	Timeout          *uint16                                                    `path:"timeout" module:"openconfig-system"`
	ΛTimeout         []ygot.Annotation                                          `path:"@timeout" ygotAnnotation:"true"`
}

OpenconfigSystem_System_SshServer_Config represents the /openconfig-system/system/ssh-server/config YANG schema element.

func (*OpenconfigSystem_System_SshServer_Config) GetEnable

GetEnable retrieves the value of the leaf Enable from the OpenconfigSystem_System_SshServer_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Enable is set, it can safely use t.GetEnable() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Enable == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_SshServer_Config) GetProtocolVersion

GetProtocolVersion retrieves the value of the leaf ProtocolVersion from the OpenconfigSystem_System_SshServer_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ProtocolVersion is set, it can safely use t.GetProtocolVersion() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ProtocolVersion == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_SshServer_Config) GetRateLimit

GetRateLimit retrieves the value of the leaf RateLimit from the OpenconfigSystem_System_SshServer_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if RateLimit is set, it can safely use t.GetRateLimit() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.RateLimit == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_SshServer_Config) GetSessionLimit

func (t *OpenconfigSystem_System_SshServer_Config) GetSessionLimit() uint16

GetSessionLimit retrieves the value of the leaf SessionLimit from the OpenconfigSystem_System_SshServer_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SessionLimit is set, it can safely use t.GetSessionLimit() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SessionLimit == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_SshServer_Config) GetTimeout

GetTimeout retrieves the value of the leaf Timeout from the OpenconfigSystem_System_SshServer_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Timeout is set, it can safely use t.GetTimeout() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Timeout == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_SshServer_Config) IsYANGGoStruct

func (*OpenconfigSystem_System_SshServer_Config) IsYANGGoStruct()

IsYANGGoStruct ensures that OpenconfigSystem_System_SshServer_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_SshServer_Config) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_SshServer_Config) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_SshServer_State

type OpenconfigSystem_System_SshServer_State struct {
	ΛMetadata        []ygot.Annotation                                          `path:"@" ygotAnnotation:"true"`
	Enable           *bool                                                      `path:"enable" module:"openconfig-system"`
	ΛEnable          []ygot.Annotation                                          `path:"@enable" ygotAnnotation:"true"`
	ProtocolVersion  E_OpenconfigSystem_System_SshServer_Config_ProtocolVersion `path:"protocol-version" module:"openconfig-system"`
	ΛProtocolVersion []ygot.Annotation                                          `path:"@protocol-version" ygotAnnotation:"true"`
	RateLimit        *uint16                                                    `path:"rate-limit" module:"openconfig-system"`
	ΛRateLimit       []ygot.Annotation                                          `path:"@rate-limit" ygotAnnotation:"true"`
	SessionLimit     *uint16                                                    `path:"session-limit" module:"openconfig-system"`
	ΛSessionLimit    []ygot.Annotation                                          `path:"@session-limit" ygotAnnotation:"true"`
	Timeout          *uint16                                                    `path:"timeout" module:"openconfig-system"`
	ΛTimeout         []ygot.Annotation                                          `path:"@timeout" ygotAnnotation:"true"`
}

OpenconfigSystem_System_SshServer_State represents the /openconfig-system/system/ssh-server/state YANG schema element.

func (*OpenconfigSystem_System_SshServer_State) GetEnable

GetEnable retrieves the value of the leaf Enable from the OpenconfigSystem_System_SshServer_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Enable is set, it can safely use t.GetEnable() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Enable == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_SshServer_State) GetProtocolVersion

GetProtocolVersion retrieves the value of the leaf ProtocolVersion from the OpenconfigSystem_System_SshServer_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ProtocolVersion is set, it can safely use t.GetProtocolVersion() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ProtocolVersion == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_SshServer_State) GetRateLimit

GetRateLimit retrieves the value of the leaf RateLimit from the OpenconfigSystem_System_SshServer_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if RateLimit is set, it can safely use t.GetRateLimit() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.RateLimit == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_SshServer_State) GetSessionLimit

func (t *OpenconfigSystem_System_SshServer_State) GetSessionLimit() uint16

GetSessionLimit retrieves the value of the leaf SessionLimit from the OpenconfigSystem_System_SshServer_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SessionLimit is set, it can safely use t.GetSessionLimit() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SessionLimit == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_SshServer_State) GetTimeout

GetTimeout retrieves the value of the leaf Timeout from the OpenconfigSystem_System_SshServer_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Timeout is set, it can safely use t.GetTimeout() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Timeout == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_SshServer_State) IsYANGGoStruct

func (*OpenconfigSystem_System_SshServer_State) IsYANGGoStruct()

IsYANGGoStruct ensures that OpenconfigSystem_System_SshServer_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_SshServer_State) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_SshServer_State) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_State

type OpenconfigSystem_System_State struct {
	ΛMetadata        []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	BootTime         *uint64           `path:"boot-time" module:"openconfig-system"`
	ΛBootTime        []ygot.Annotation `path:"@boot-time" ygotAnnotation:"true"`
	CurrentDatetime  *string           `path:"current-datetime" module:"openconfig-system"`
	ΛCurrentDatetime []ygot.Annotation `path:"@current-datetime" ygotAnnotation:"true"`
	DomainName       *string           `path:"domain-name" module:"openconfig-system"`
	ΛDomainName      []ygot.Annotation `path:"@domain-name" ygotAnnotation:"true"`
	Hostname         *string           `path:"hostname" module:"openconfig-system"`
	ΛHostname        []ygot.Annotation `path:"@hostname" ygotAnnotation:"true"`
	LoginBanner      *string           `path:"login-banner" module:"openconfig-system"`
	ΛLoginBanner     []ygot.Annotation `path:"@login-banner" ygotAnnotation:"true"`
	MotdBanner       *string           `path:"motd-banner" module:"openconfig-system"`
	ΛMotdBanner      []ygot.Annotation `path:"@motd-banner" ygotAnnotation:"true"`
}

OpenconfigSystem_System_State represents the /openconfig-system/system/state YANG schema element.

func (*OpenconfigSystem_System_State) GetBootTime

func (t *OpenconfigSystem_System_State) GetBootTime() uint64

GetBootTime retrieves the value of the leaf BootTime from the OpenconfigSystem_System_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if BootTime is set, it can safely use t.GetBootTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.BootTime == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_State) GetCurrentDatetime

func (t *OpenconfigSystem_System_State) GetCurrentDatetime() string

GetCurrentDatetime retrieves the value of the leaf CurrentDatetime from the OpenconfigSystem_System_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if CurrentDatetime is set, it can safely use t.GetCurrentDatetime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.CurrentDatetime == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_State) GetDomainName

func (t *OpenconfigSystem_System_State) GetDomainName() string

GetDomainName retrieves the value of the leaf DomainName from the OpenconfigSystem_System_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if DomainName is set, it can safely use t.GetDomainName() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.DomainName == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_State) GetHostname

func (t *OpenconfigSystem_System_State) GetHostname() string

GetHostname retrieves the value of the leaf Hostname from the OpenconfigSystem_System_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Hostname is set, it can safely use t.GetHostname() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Hostname == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_State) GetLoginBanner

func (t *OpenconfigSystem_System_State) GetLoginBanner() string

GetLoginBanner retrieves the value of the leaf LoginBanner from the OpenconfigSystem_System_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LoginBanner is set, it can safely use t.GetLoginBanner() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LoginBanner == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_State) GetMotdBanner

func (t *OpenconfigSystem_System_State) GetMotdBanner() string

GetMotdBanner retrieves the value of the leaf MotdBanner from the OpenconfigSystem_System_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MotdBanner is set, it can safely use t.GetMotdBanner() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MotdBanner == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_State) IsYANGGoStruct

func (*OpenconfigSystem_System_State) IsYANGGoStruct()

IsYANGGoStruct ensures that OpenconfigSystem_System_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_State) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_State) ΛEnumTypeMap

func (t *OpenconfigSystem_System_State) ΛEnumTypeMap() map[string][]reflect.Type

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_TelnetServer

type OpenconfigSystem_System_TelnetServer struct {
	ΛMetadata []ygot.Annotation                            `path:"@" ygotAnnotation:"true"`
	Config    *OpenconfigSystem_System_TelnetServer_Config `path:"config" module:"openconfig-system"`
	ΛConfig   []ygot.Annotation                            `path:"@config" ygotAnnotation:"true"`
	State     *OpenconfigSystem_System_TelnetServer_State  `path:"state" module:"openconfig-system"`
	ΛState    []ygot.Annotation                            `path:"@state" ygotAnnotation:"true"`
}

OpenconfigSystem_System_TelnetServer represents the /openconfig-system/system/telnet-server YANG schema element.

func (*OpenconfigSystem_System_TelnetServer) GetConfig

GetConfig returns the value of the Config struct pointer from OpenconfigSystem_System_TelnetServer. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_TelnetServer) GetOrCreateConfig

GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_TelnetServer) GetOrCreateState

GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.

func (*OpenconfigSystem_System_TelnetServer) GetState

GetState returns the value of the State struct pointer from OpenconfigSystem_System_TelnetServer. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigSystem_System_TelnetServer) IsYANGGoStruct

func (*OpenconfigSystem_System_TelnetServer) IsYANGGoStruct()

IsYANGGoStruct ensures that OpenconfigSystem_System_TelnetServer implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_TelnetServer) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_TelnetServer) ΛEnumTypeMap

func (t *OpenconfigSystem_System_TelnetServer) ΛEnumTypeMap() map[string][]reflect.Type

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_TelnetServer_Config

type OpenconfigSystem_System_TelnetServer_Config struct {
	ΛMetadata     []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Enable        *bool             `path:"enable" module:"openconfig-system"`
	ΛEnable       []ygot.Annotation `path:"@enable" ygotAnnotation:"true"`
	RateLimit     *uint16           `path:"rate-limit" module:"openconfig-system"`
	ΛRateLimit    []ygot.Annotation `path:"@rate-limit" ygotAnnotation:"true"`
	SessionLimit  *uint16           `path:"session-limit" module:"openconfig-system"`
	ΛSessionLimit []ygot.Annotation `path:"@session-limit" ygotAnnotation:"true"`
	Timeout       *uint16           `path:"timeout" module:"openconfig-system"`
	ΛTimeout      []ygot.Annotation `path:"@timeout" ygotAnnotation:"true"`
}

OpenconfigSystem_System_TelnetServer_Config represents the /openconfig-system/system/telnet-server/config YANG schema element.

func (*OpenconfigSystem_System_TelnetServer_Config) GetEnable

GetEnable retrieves the value of the leaf Enable from the OpenconfigSystem_System_TelnetServer_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Enable is set, it can safely use t.GetEnable() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Enable == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_TelnetServer_Config) GetRateLimit

GetRateLimit retrieves the value of the leaf RateLimit from the OpenconfigSystem_System_TelnetServer_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if RateLimit is set, it can safely use t.GetRateLimit() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.RateLimit == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_TelnetServer_Config) GetSessionLimit

GetSessionLimit retrieves the value of the leaf SessionLimit from the OpenconfigSystem_System_TelnetServer_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SessionLimit is set, it can safely use t.GetSessionLimit() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SessionLimit == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_TelnetServer_Config) GetTimeout

GetTimeout retrieves the value of the leaf Timeout from the OpenconfigSystem_System_TelnetServer_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Timeout is set, it can safely use t.GetTimeout() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Timeout == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_TelnetServer_Config) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_TelnetServer_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_TelnetServer_Config) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_TelnetServer_Config) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigSystem_System_TelnetServer_State

type OpenconfigSystem_System_TelnetServer_State struct {
	ΛMetadata     []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Enable        *bool             `path:"enable" module:"openconfig-system"`
	ΛEnable       []ygot.Annotation `path:"@enable" ygotAnnotation:"true"`
	RateLimit     *uint16           `path:"rate-limit" module:"openconfig-system"`
	ΛRateLimit    []ygot.Annotation `path:"@rate-limit" ygotAnnotation:"true"`
	SessionLimit  *uint16           `path:"session-limit" module:"openconfig-system"`
	ΛSessionLimit []ygot.Annotation `path:"@session-limit" ygotAnnotation:"true"`
	Timeout       *uint16           `path:"timeout" module:"openconfig-system"`
	ΛTimeout      []ygot.Annotation `path:"@timeout" ygotAnnotation:"true"`
}

OpenconfigSystem_System_TelnetServer_State represents the /openconfig-system/system/telnet-server/state YANG schema element.

func (*OpenconfigSystem_System_TelnetServer_State) GetEnable

GetEnable retrieves the value of the leaf Enable from the OpenconfigSystem_System_TelnetServer_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Enable is set, it can safely use t.GetEnable() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Enable == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_TelnetServer_State) GetRateLimit

GetRateLimit retrieves the value of the leaf RateLimit from the OpenconfigSystem_System_TelnetServer_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if RateLimit is set, it can safely use t.GetRateLimit() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.RateLimit == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_TelnetServer_State) GetSessionLimit

GetSessionLimit retrieves the value of the leaf SessionLimit from the OpenconfigSystem_System_TelnetServer_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SessionLimit is set, it can safely use t.GetSessionLimit() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SessionLimit == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_TelnetServer_State) GetTimeout

GetTimeout retrieves the value of the leaf Timeout from the OpenconfigSystem_System_TelnetServer_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Timeout is set, it can safely use t.GetTimeout() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Timeout == nil' before retrieving the leaf's value.

func (*OpenconfigSystem_System_TelnetServer_State) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigSystem_System_TelnetServer_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigSystem_System_TelnetServer_State) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigSystem_System_TelnetServer_State) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigTerminalDevice_TerminalDevice

type OpenconfigTerminalDevice_TerminalDevice struct {
	ΛMetadata         []ygot.Annotation                                         `path:"@" ygotAnnotation:"true"`
	Config            *OpenconfigTerminalDevice_TerminalDevice_Config           `path:"config" module:"openconfig-terminal-device"`
	ΛConfig           []ygot.Annotation                                         `path:"@config" ygotAnnotation:"true"`
	LogicalChannels   *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels  `path:"logical-channels" module:"openconfig-terminal-device"`
	ΛLogicalChannels  []ygot.Annotation                                         `path:"@logical-channels" ygotAnnotation:"true"`
	OperationalModes  *OpenconfigTerminalDevice_TerminalDevice_OperationalModes `path:"operational-modes" module:"openconfig-terminal-device"`
	ΛOperationalModes []ygot.Annotation                                         `path:"@operational-modes" ygotAnnotation:"true"`
	State             *OpenconfigTerminalDevice_TerminalDevice_State            `path:"state" module:"openconfig-terminal-device"`
	ΛState            []ygot.Annotation                                         `path:"@state" ygotAnnotation:"true"`
}

OpenconfigTerminalDevice_TerminalDevice represents the /openconfig-terminal-device/terminal-device YANG schema element.

func (*OpenconfigTerminalDevice_TerminalDevice) GetConfig

GetConfig returns the value of the Config struct pointer from OpenconfigTerminalDevice_TerminalDevice. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigTerminalDevice_TerminalDevice) GetLogicalChannels

GetLogicalChannels returns the value of the LogicalChannels struct pointer from OpenconfigTerminalDevice_TerminalDevice. If the receiver or the field LogicalChannels is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigTerminalDevice_TerminalDevice) GetOperationalModes

GetOperationalModes returns the value of the OperationalModes struct pointer from OpenconfigTerminalDevice_TerminalDevice. If the receiver or the field OperationalModes is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigTerminalDevice_TerminalDevice) GetOrCreateConfig

GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.

func (*OpenconfigTerminalDevice_TerminalDevice) GetOrCreateLogicalChannels

GetOrCreateLogicalChannels retrieves the value of the LogicalChannels field or returns the existing field if it already exists.

func (*OpenconfigTerminalDevice_TerminalDevice) GetOrCreateOperationalModes

GetOrCreateOperationalModes retrieves the value of the OperationalModes field or returns the existing field if it already exists.

func (*OpenconfigTerminalDevice_TerminalDevice) GetOrCreateState

GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.

func (*OpenconfigTerminalDevice_TerminalDevice) GetState

GetState returns the value of the State struct pointer from OpenconfigTerminalDevice_TerminalDevice. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigTerminalDevice_TerminalDevice) IsYANGGoStruct

func (*OpenconfigTerminalDevice_TerminalDevice) IsYANGGoStruct()

IsYANGGoStruct ensures that OpenconfigTerminalDevice_TerminalDevice implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigTerminalDevice_TerminalDevice) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigTerminalDevice_TerminalDevice) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigTerminalDevice_TerminalDevice_Config

type OpenconfigTerminalDevice_TerminalDevice_Config struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
}

OpenconfigTerminalDevice_TerminalDevice_Config represents the /openconfig-terminal-device/terminal-device/config YANG schema element.

func (*OpenconfigTerminalDevice_TerminalDevice_Config) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigTerminalDevice_TerminalDevice_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigTerminalDevice_TerminalDevice_Config) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigTerminalDevice_TerminalDevice_Config) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels

type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels struct {
	ΛMetadata []ygot.Annotation                                                           `path:"@" ygotAnnotation:"true"`
	Channel   map[uint32]*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel `path:"channel" module:"openconfig-terminal-device"`
	ΛChannel  []ygot.Annotation                                                           `path:"@channel" ygotAnnotation:"true"`
}

OpenconfigTerminalDevice_TerminalDevice_LogicalChannels represents the /openconfig-terminal-device/terminal-device/logical-channels YANG schema element.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels) AppendChannel

AppendChannel appends the supplied OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel struct to the list Channel of OpenconfigTerminalDevice_TerminalDevice_LogicalChannels. If the key value(s) specified in the supplied OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel already exist in the list, an error is returned.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels) GetChannel

GetChannel retrieves the value with the specified key from the Channel map field of OpenconfigTerminalDevice_TerminalDevice_LogicalChannels. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels) GetOrCreateChannel

GetOrCreateChannel retrieves the value with the specified keys from the receiver OpenconfigTerminalDevice_TerminalDevice_LogicalChannels. If the entry does not exist, then it is created. It returns the existing or new list member.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigTerminalDevice_TerminalDevice_LogicalChannels implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels) NewChannel

NewChannel creates a new entry in the Channel list of the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels struct. The keys of the list are populated from the input arguments.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels) RenameChannel

RenameChannel renames an entry in the list Channel within the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels struct. The entry with key oldK is renamed to newK updating the key within the value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel

type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel struct {
	ΛMetadata                  []ygot.Annotation                                                                          `path:"@" ygotAnnotation:"true"`
	Config                     *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config                    `path:"config" module:"openconfig-terminal-device"`
	ΛConfig                    []ygot.Annotation                                                                          `path:"@config" ygotAnnotation:"true"`
	Ethernet                   *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet                  `path:"ethernet" module:"openconfig-terminal-device"`
	ΛEthernet                  []ygot.Annotation                                                                          `path:"@ethernet" ygotAnnotation:"true"`
	Index                      *uint32                                                                                    `path:"index" module:"openconfig-terminal-device"`
	ΛIndex                     []ygot.Annotation                                                                          `path:"@index" ygotAnnotation:"true"`
	Ingress                    *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress                   `path:"ingress" module:"openconfig-terminal-device"`
	ΛIngress                   []ygot.Annotation                                                                          `path:"@ingress" ygotAnnotation:"true"`
	LogicalChannelAssignments  *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments `path:"logical-channel-assignments" module:"openconfig-terminal-device"`
	ΛLogicalChannelAssignments []ygot.Annotation                                                                          `path:"@logical-channel-assignments" ygotAnnotation:"true"`
	Otn                        *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn                       `path:"otn" module:"openconfig-terminal-device"`
	ΛOtn                       []ygot.Annotation                                                                          `path:"@otn" ygotAnnotation:"true"`
	State                      *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State                     `path:"state" module:"openconfig-terminal-device"`
	ΛState                     []ygot.Annotation                                                                          `path:"@state" ygotAnnotation:"true"`
}

OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel represents the /openconfig-terminal-device/terminal-device/logical-channels/channel YANG schema element.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) GetConfig

GetConfig returns the value of the Config struct pointer from OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) GetEthernet

GetEthernet returns the value of the Ethernet struct pointer from OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel. If the receiver or the field Ethernet is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) GetIndex

GetIndex retrieves the value of the leaf Index from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Index is set, it can safely use t.GetIndex() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Index == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) GetIngress

GetIngress returns the value of the Ingress struct pointer from OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel. If the receiver or the field Ingress is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) GetLogicalChannelAssignments

GetLogicalChannelAssignments returns the value of the LogicalChannelAssignments struct pointer from OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel. If the receiver or the field LogicalChannelAssignments is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) GetOrCreateConfig

GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) GetOrCreateEthernet

GetOrCreateEthernet retrieves the value of the Ethernet field or returns the existing field if it already exists.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) GetOrCreateIngress

GetOrCreateIngress retrieves the value of the Ingress field or returns the existing field if it already exists.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) GetOrCreateLogicalChannelAssignments

GetOrCreateLogicalChannelAssignments retrieves the value of the LogicalChannelAssignments field or returns the existing field if it already exists.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) GetOrCreateOtn

GetOrCreateOtn retrieves the value of the Otn field or returns the existing field if it already exists.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) GetOrCreateState

GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) GetOtn

GetOtn returns the value of the Otn struct pointer from OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel. If the receiver or the field Otn is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) GetState

GetState returns the value of the State struct pointer from OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel) ΛListKeyMap

ΛListKeyMap returns the keys of the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel struct, which is a YANG list entry.

type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config

type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config struct {
	ΛMetadata           []ygot.Annotation                                        `path:"@" ygotAnnotation:"true"`
	AdminState          E_OpenconfigTerminalDevice_AdminStateType                `path:"admin-state" module:"openconfig-terminal-device"`
	ΛAdminState         []ygot.Annotation                                        `path:"@admin-state" ygotAnnotation:"true"`
	Description         *string                                                  `path:"description" module:"openconfig-terminal-device"`
	ΛDescription        []ygot.Annotation                                        `path:"@description" ygotAnnotation:"true"`
	Index               *uint32                                                  `path:"index" module:"openconfig-terminal-device"`
	ΛIndex              []ygot.Annotation                                        `path:"@index" ygotAnnotation:"true"`
	LogicalChannelType  E_OpenconfigTransportTypes_LOGICAL_ELEMENT_PROTOCOL_TYPE `path:"logical-channel-type" module:"openconfig-terminal-device"`
	ΛLogicalChannelType []ygot.Annotation                                        `path:"@logical-channel-type" ygotAnnotation:"true"`
	LoopbackMode        E_OpenconfigTerminalDevice_LoopbackModeType              `path:"loopback-mode" module:"openconfig-terminal-device"`
	ΛLoopbackMode       []ygot.Annotation                                        `path:"@loopback-mode" ygotAnnotation:"true"`
	RateClass           E_OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE     `path:"rate-class" module:"openconfig-terminal-device"`
	ΛRateClass          []ygot.Annotation                                        `path:"@rate-class" ygotAnnotation:"true"`
	TestSignal          *bool                                                    `path:"test-signal" module:"openconfig-terminal-device"`
	ΛTestSignal         []ygot.Annotation                                        `path:"@test-signal" ygotAnnotation:"true"`
	TribProtocol        E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE       `path:"trib-protocol" module:"openconfig-terminal-device"`
	ΛTribProtocol       []ygot.Annotation                                        `path:"@trib-protocol" ygotAnnotation:"true"`
}

OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config represents the /openconfig-terminal-device/terminal-device/logical-channels/channel/config YANG schema element.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config) GetAdminState

GetAdminState retrieves the value of the leaf AdminState from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AdminState is set, it can safely use t.GetAdminState() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AdminState == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config) GetDescription

GetDescription retrieves the value of the leaf Description from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Description is set, it can safely use t.GetDescription() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Description == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config) GetIndex

GetIndex retrieves the value of the leaf Index from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Index is set, it can safely use t.GetIndex() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Index == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config) GetLogicalChannelType

GetLogicalChannelType retrieves the value of the leaf LogicalChannelType from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LogicalChannelType is set, it can safely use t.GetLogicalChannelType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LogicalChannelType == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config) GetLoopbackMode

GetLoopbackMode retrieves the value of the leaf LoopbackMode from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LoopbackMode is set, it can safely use t.GetLoopbackMode() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LoopbackMode == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config) GetRateClass

GetRateClass retrieves the value of the leaf RateClass from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if RateClass is set, it can safely use t.GetRateClass() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.RateClass == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config) GetTestSignal

GetTestSignal retrieves the value of the leaf TestSignal from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TestSignal is set, it can safely use t.GetTestSignal() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TestSignal == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config) GetTribProtocol

GetTribProtocol retrieves the value of the leaf TribProtocol from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TribProtocol is set, it can safely use t.GetTribProtocol() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TribProtocol == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Config) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet

type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet struct {
	ΛMetadata []ygot.Annotation                                                                `path:"@" ygotAnnotation:"true"`
	Config    *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_Config `path:"config" module:"openconfig-terminal-device"`
	ΛConfig   []ygot.Annotation                                                                `path:"@config" ygotAnnotation:"true"`
	State     *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State  `path:"state" module:"openconfig-terminal-device"`
	ΛState    []ygot.Annotation                                                                `path:"@state" ygotAnnotation:"true"`
}

OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet represents the /openconfig-terminal-device/terminal-device/logical-channels/channel/ethernet YANG schema element.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet) GetConfig

GetConfig returns the value of the Config struct pointer from OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet) GetOrCreateConfig

GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet) GetOrCreateState

GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet) GetState

GetState returns the value of the State struct pointer from OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_Config

type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_Config struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
}

OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_Config represents the /openconfig-terminal-device/terminal-device/logical-channels/channel/ethernet/config YANG schema element.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_Config) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_Config) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_Config) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State

type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State struct {
	ΛMetadata                    []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	In_8021QFrames               *uint64           `path:"in-8021q-frames" module:"openconfig-terminal-device"`
	ΛIn_8021QFrames              []ygot.Annotation `path:"@in-8021q-frames" ygotAnnotation:"true"`
	InBlockErrors                *uint64           `path:"in-block-errors" module:"openconfig-terminal-device"`
	ΛInBlockErrors               []ygot.Annotation `path:"@in-block-errors" ygotAnnotation:"true"`
	InCrcErrors                  *uint64           `path:"in-crc-errors" module:"openconfig-terminal-device"`
	ΛInCrcErrors                 []ygot.Annotation `path:"@in-crc-errors" ygotAnnotation:"true"`
	InFragmentFrames             *uint64           `path:"in-fragment-frames" module:"openconfig-terminal-device"`
	ΛInFragmentFrames            []ygot.Annotation `path:"@in-fragment-frames" ygotAnnotation:"true"`
	InJabberFrames               *uint64           `path:"in-jabber-frames" module:"openconfig-terminal-device"`
	ΛInJabberFrames              []ygot.Annotation `path:"@in-jabber-frames" ygotAnnotation:"true"`
	InMacControlFrames           *uint64           `path:"in-mac-control-frames" module:"openconfig-terminal-device"`
	ΛInMacControlFrames          []ygot.Annotation `path:"@in-mac-control-frames" ygotAnnotation:"true"`
	InMacPauseFrames             *uint64           `path:"in-mac-pause-frames" module:"openconfig-terminal-device"`
	ΛInMacPauseFrames            []ygot.Annotation `path:"@in-mac-pause-frames" ygotAnnotation:"true"`
	InOversizeFrames             *uint64           `path:"in-oversize-frames" module:"openconfig-terminal-device"`
	ΛInOversizeFrames            []ygot.Annotation `path:"@in-oversize-frames" ygotAnnotation:"true"`
	InPcsBipErrors               *uint64           `path:"in-pcs-bip-errors" module:"openconfig-terminal-device"`
	ΛInPcsBipErrors              []ygot.Annotation `path:"@in-pcs-bip-errors" ygotAnnotation:"true"`
	InPcsErroredSeconds          *uint64           `path:"in-pcs-errored-seconds" module:"openconfig-terminal-device"`
	ΛInPcsErroredSeconds         []ygot.Annotation `path:"@in-pcs-errored-seconds" ygotAnnotation:"true"`
	InPcsSeverelyErroredSeconds  *uint64           `path:"in-pcs-severely-errored-seconds" module:"openconfig-terminal-device"`
	ΛInPcsSeverelyErroredSeconds []ygot.Annotation `path:"@in-pcs-severely-errored-seconds" ygotAnnotation:"true"`
	InPcsUnavailableSeconds      *uint64           `path:"in-pcs-unavailable-seconds" module:"openconfig-terminal-device"`
	ΛInPcsUnavailableSeconds     []ygot.Annotation `path:"@in-pcs-unavailable-seconds" ygotAnnotation:"true"`
	InUndersizeFrames            *uint64           `path:"in-undersize-frames" module:"openconfig-terminal-device"`
	ΛInUndersizeFrames           []ygot.Annotation `path:"@in-undersize-frames" ygotAnnotation:"true"`
	Out_8021QFrames              *uint64           `path:"out-8021q-frames" module:"openconfig-terminal-device"`
	ΛOut_8021QFrames             []ygot.Annotation `path:"@out-8021q-frames" ygotAnnotation:"true"`
	OutBlockErrors               *uint64           `path:"out-block-errors" module:"openconfig-terminal-device"`
	ΛOutBlockErrors              []ygot.Annotation `path:"@out-block-errors" ygotAnnotation:"true"`
	OutCrcErrors                 *uint64           `path:"out-crc-errors" module:"openconfig-terminal-device"`
	ΛOutCrcErrors                []ygot.Annotation `path:"@out-crc-errors" ygotAnnotation:"true"`
	OutMacControlFrames          *uint64           `path:"out-mac-control-frames" module:"openconfig-terminal-device"`
	ΛOutMacControlFrames         []ygot.Annotation `path:"@out-mac-control-frames" ygotAnnotation:"true"`
	OutMacPauseFrames            *uint64           `path:"out-mac-pause-frames" module:"openconfig-terminal-device"`
	ΛOutMacPauseFrames           []ygot.Annotation `path:"@out-mac-pause-frames" ygotAnnotation:"true"`
	OutPcsBipErrors              *uint64           `path:"out-pcs-bip-errors" module:"openconfig-terminal-device"`
	ΛOutPcsBipErrors             []ygot.Annotation `path:"@out-pcs-bip-errors" ygotAnnotation:"true"`
}

OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State represents the /openconfig-terminal-device/terminal-device/logical-channels/channel/ethernet/state YANG schema element.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetInBlockErrors

GetInBlockErrors retrieves the value of the leaf InBlockErrors from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InBlockErrors is set, it can safely use t.GetInBlockErrors() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InBlockErrors == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetInCrcErrors

GetInCrcErrors retrieves the value of the leaf InCrcErrors from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InCrcErrors is set, it can safely use t.GetInCrcErrors() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InCrcErrors == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetInFragmentFrames

GetInFragmentFrames retrieves the value of the leaf InFragmentFrames from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InFragmentFrames is set, it can safely use t.GetInFragmentFrames() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InFragmentFrames == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetInJabberFrames

GetInJabberFrames retrieves the value of the leaf InJabberFrames from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InJabberFrames is set, it can safely use t.GetInJabberFrames() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InJabberFrames == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetInMacControlFrames

GetInMacControlFrames retrieves the value of the leaf InMacControlFrames from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InMacControlFrames is set, it can safely use t.GetInMacControlFrames() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InMacControlFrames == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetInMacPauseFrames

GetInMacPauseFrames retrieves the value of the leaf InMacPauseFrames from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InMacPauseFrames is set, it can safely use t.GetInMacPauseFrames() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InMacPauseFrames == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetInOversizeFrames

GetInOversizeFrames retrieves the value of the leaf InOversizeFrames from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InOversizeFrames is set, it can safely use t.GetInOversizeFrames() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InOversizeFrames == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetInPcsBipErrors

GetInPcsBipErrors retrieves the value of the leaf InPcsBipErrors from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InPcsBipErrors is set, it can safely use t.GetInPcsBipErrors() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InPcsBipErrors == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetInPcsErroredSeconds

GetInPcsErroredSeconds retrieves the value of the leaf InPcsErroredSeconds from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InPcsErroredSeconds is set, it can safely use t.GetInPcsErroredSeconds() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InPcsErroredSeconds == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetInPcsSeverelyErroredSeconds

GetInPcsSeverelyErroredSeconds retrieves the value of the leaf InPcsSeverelyErroredSeconds from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InPcsSeverelyErroredSeconds is set, it can safely use t.GetInPcsSeverelyErroredSeconds() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InPcsSeverelyErroredSeconds == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetInPcsUnavailableSeconds

GetInPcsUnavailableSeconds retrieves the value of the leaf InPcsUnavailableSeconds from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InPcsUnavailableSeconds is set, it can safely use t.GetInPcsUnavailableSeconds() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InPcsUnavailableSeconds == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetInUndersizeFrames

GetInUndersizeFrames retrieves the value of the leaf InUndersizeFrames from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if InUndersizeFrames is set, it can safely use t.GetInUndersizeFrames() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.InUndersizeFrames == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetIn_8021QFrames

GetIn_8021QFrames retrieves the value of the leaf In_8021QFrames from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if In_8021QFrames is set, it can safely use t.GetIn_8021QFrames() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.In_8021QFrames == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetOutBlockErrors

GetOutBlockErrors retrieves the value of the leaf OutBlockErrors from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutBlockErrors is set, it can safely use t.GetOutBlockErrors() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutBlockErrors == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetOutCrcErrors

GetOutCrcErrors retrieves the value of the leaf OutCrcErrors from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutCrcErrors is set, it can safely use t.GetOutCrcErrors() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutCrcErrors == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetOutMacControlFrames

GetOutMacControlFrames retrieves the value of the leaf OutMacControlFrames from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutMacControlFrames is set, it can safely use t.GetOutMacControlFrames() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutMacControlFrames == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetOutMacPauseFrames

GetOutMacPauseFrames retrieves the value of the leaf OutMacPauseFrames from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutMacPauseFrames is set, it can safely use t.GetOutMacPauseFrames() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutMacPauseFrames == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetOutPcsBipErrors

GetOutPcsBipErrors retrieves the value of the leaf OutPcsBipErrors from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OutPcsBipErrors is set, it can safely use t.GetOutPcsBipErrors() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OutPcsBipErrors == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) GetOut_8021QFrames

GetOut_8021QFrames retrieves the value of the leaf Out_8021QFrames from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Out_8021QFrames is set, it can safely use t.GetOut_8021QFrames() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Out_8021QFrames == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ethernet_State) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress

type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress struct {
	ΛMetadata []ygot.Annotation                                                               `path:"@" ygotAnnotation:"true"`
	Config    *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_Config `path:"config" module:"openconfig-terminal-device"`
	ΛConfig   []ygot.Annotation                                                               `path:"@config" ygotAnnotation:"true"`
	State     *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_State  `path:"state" module:"openconfig-terminal-device"`
	ΛState    []ygot.Annotation                                                               `path:"@state" ygotAnnotation:"true"`
}

OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress represents the /openconfig-terminal-device/terminal-device/logical-channels/channel/ingress YANG schema element.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress) GetConfig

GetConfig returns the value of the Config struct pointer from OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress) GetOrCreateConfig

GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress) GetOrCreateState

GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress) GetState

GetState returns the value of the State struct pointer from OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_Config

type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_Config struct {
	ΛMetadata        []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	PhysicalChannel  []uint16          `path:"physical-channel" module:"openconfig-terminal-device"`
	ΛPhysicalChannel []ygot.Annotation `path:"@physical-channel" ygotAnnotation:"true"`
	Transceiver      *string           `path:"transceiver" module:"openconfig-terminal-device"`
	ΛTransceiver     []ygot.Annotation `path:"@transceiver" ygotAnnotation:"true"`
}

OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_Config represents the /openconfig-terminal-device/terminal-device/logical-channels/channel/ingress/config YANG schema element.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_Config) GetPhysicalChannel

GetPhysicalChannel retrieves the value of the leaf PhysicalChannel from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if PhysicalChannel is set, it can safely use t.GetPhysicalChannel() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.PhysicalChannel == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_Config) GetTransceiver

GetTransceiver retrieves the value of the leaf Transceiver from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Transceiver is set, it can safely use t.GetTransceiver() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Transceiver == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_Config) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_Config) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_Config) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_State

type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_State struct {
	ΛMetadata        []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	PhysicalChannel  []uint16          `path:"physical-channel" module:"openconfig-terminal-device"`
	ΛPhysicalChannel []ygot.Annotation `path:"@physical-channel" ygotAnnotation:"true"`
	Transceiver      *string           `path:"transceiver" module:"openconfig-terminal-device"`
	ΛTransceiver     []ygot.Annotation `path:"@transceiver" ygotAnnotation:"true"`
}

OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_State represents the /openconfig-terminal-device/terminal-device/logical-channels/channel/ingress/state YANG schema element.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_State) GetPhysicalChannel

GetPhysicalChannel retrieves the value of the leaf PhysicalChannel from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if PhysicalChannel is set, it can safely use t.GetPhysicalChannel() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.PhysicalChannel == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_State) GetTransceiver

GetTransceiver retrieves the value of the leaf Transceiver from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Transceiver is set, it can safely use t.GetTransceiver() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Transceiver == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_State) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_State) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Ingress_State) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments

type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments struct {
	ΛMetadata   []ygot.Annotation                                                                                                `path:"@" ygotAnnotation:"true"`
	Assignment  map[uint32]*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment `path:"assignment" module:"openconfig-terminal-device"`
	ΛAssignment []ygot.Annotation                                                                                                `path:"@assignment" ygotAnnotation:"true"`
}

OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments represents the /openconfig-terminal-device/terminal-device/logical-channels/channel/logical-channel-assignments YANG schema element.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments) AppendAssignment

AppendAssignment appends the supplied OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment struct to the list Assignment of OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments. If the key value(s) specified in the supplied OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment already exist in the list, an error is returned.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments) GetAssignment

GetAssignment retrieves the value with the specified key from the Assignment map field of OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments) GetOrCreateAssignment

GetOrCreateAssignment retrieves the value with the specified keys from the receiver OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments. If the entry does not exist, then it is created. It returns the existing or new list member.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments) NewAssignment

NewAssignment creates a new entry in the Assignment list of the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments struct. The keys of the list are populated from the input arguments.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments) RenameAssignment

RenameAssignment renames an entry in the list Assignment within the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments struct. The entry with key oldK is renamed to newK updating the key within the value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment

type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment struct {
	ΛMetadata []ygot.Annotation                                                                                            `path:"@" ygotAnnotation:"true"`
	Config    *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config `path:"config" module:"openconfig-terminal-device"`
	ΛConfig   []ygot.Annotation                                                                                            `path:"@config" ygotAnnotation:"true"`
	Index     *uint32                                                                                                      `path:"index" module:"openconfig-terminal-device"`
	ΛIndex    []ygot.Annotation                                                                                            `path:"@index" ygotAnnotation:"true"`
	State     *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State  `path:"state" module:"openconfig-terminal-device"`
	ΛState    []ygot.Annotation                                                                                            `path:"@state" ygotAnnotation:"true"`
}

OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment represents the /openconfig-terminal-device/terminal-device/logical-channels/channel/logical-channel-assignments/assignment YANG schema element.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment) GetConfig

GetConfig returns the value of the Config struct pointer from OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment) GetIndex

GetIndex retrieves the value of the leaf Index from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Index is set, it can safely use t.GetIndex() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Index == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment) GetOrCreateConfig

GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment) GetOrCreateState

GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment) GetState

GetState returns the value of the State struct pointer from OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment) ΛListKeyMap

ΛListKeyMap returns the keys of the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment struct, which is a YANG list entry.

type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config

type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config struct {
	ΛMetadata           []ygot.Annotation                                                                                                            `path:"@" ygotAnnotation:"true"`
	Allocation          *float64                                                                                                                     `path:"allocation" module:"openconfig-terminal-device"`
	ΛAllocation         []ygot.Annotation                                                                                                            `path:"@allocation" ygotAnnotation:"true"`
	AssignmentType      E_OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config_AssignmentType `path:"assignment-type" module:"openconfig-terminal-device"`
	ΛAssignmentType     []ygot.Annotation                                                                                                            `path:"@assignment-type" ygotAnnotation:"true"`
	Description         *string                                                                                                                      `path:"description" module:"openconfig-terminal-device"`
	ΛDescription        []ygot.Annotation                                                                                                            `path:"@description" ygotAnnotation:"true"`
	Index               *uint32                                                                                                                      `path:"index" module:"openconfig-terminal-device"`
	ΛIndex              []ygot.Annotation                                                                                                            `path:"@index" ygotAnnotation:"true"`
	LogicalChannel      *uint32                                                                                                                      `path:"logical-channel" module:"openconfig-terminal-device"`
	ΛLogicalChannel     []ygot.Annotation                                                                                                            `path:"@logical-channel" ygotAnnotation:"true"`
	Mapping             E_OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL                                                                            `path:"mapping" module:"openconfig-terminal-device"`
	ΛMapping            []ygot.Annotation                                                                                                            `path:"@mapping" ygotAnnotation:"true"`
	OpticalChannel      *string                                                                                                                      `path:"optical-channel" module:"openconfig-terminal-device"`
	ΛOpticalChannel     []ygot.Annotation                                                                                                            `path:"@optical-channel" ygotAnnotation:"true"`
	TributarySlotIndex  *int32                                                                                                                       `path:"tributary-slot-index" module:"openconfig-terminal-device"`
	ΛTributarySlotIndex []ygot.Annotation                                                                                                            `path:"@tributary-slot-index" ygotAnnotation:"true"`
}

OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config represents the /openconfig-terminal-device/terminal-device/logical-channels/channel/logical-channel-assignments/assignment/config YANG schema element.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config) GetAllocation

GetAllocation retrieves the value of the leaf Allocation from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Allocation is set, it can safely use t.GetAllocation() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Allocation == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config) GetAssignmentType

GetAssignmentType retrieves the value of the leaf AssignmentType from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AssignmentType is set, it can safely use t.GetAssignmentType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AssignmentType == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config) GetDescription

GetDescription retrieves the value of the leaf Description from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Description is set, it can safely use t.GetDescription() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Description == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config) GetIndex

GetIndex retrieves the value of the leaf Index from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Index is set, it can safely use t.GetIndex() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Index == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config) GetLogicalChannel

GetLogicalChannel retrieves the value of the leaf LogicalChannel from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LogicalChannel is set, it can safely use t.GetLogicalChannel() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LogicalChannel == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config) GetMapping

GetMapping retrieves the value of the leaf Mapping from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Mapping is set, it can safely use t.GetMapping() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Mapping == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config) GetOpticalChannel

GetOpticalChannel retrieves the value of the leaf OpticalChannel from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OpticalChannel is set, it can safely use t.GetOpticalChannel() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OpticalChannel == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config) GetTributarySlotIndex

GetTributarySlotIndex retrieves the value of the leaf TributarySlotIndex from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TributarySlotIndex is set, it can safely use t.GetTributarySlotIndex() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TributarySlotIndex == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State

type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State struct {
	ΛMetadata           []ygot.Annotation                                                                                                            `path:"@" ygotAnnotation:"true"`
	Allocation          *float64                                                                                                                     `path:"allocation" module:"openconfig-terminal-device"`
	ΛAllocation         []ygot.Annotation                                                                                                            `path:"@allocation" ygotAnnotation:"true"`
	AssignmentType      E_OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_Config_AssignmentType `path:"assignment-type" module:"openconfig-terminal-device"`
	ΛAssignmentType     []ygot.Annotation                                                                                                            `path:"@assignment-type" ygotAnnotation:"true"`
	Description         *string                                                                                                                      `path:"description" module:"openconfig-terminal-device"`
	ΛDescription        []ygot.Annotation                                                                                                            `path:"@description" ygotAnnotation:"true"`
	Index               *uint32                                                                                                                      `path:"index" module:"openconfig-terminal-device"`
	ΛIndex              []ygot.Annotation                                                                                                            `path:"@index" ygotAnnotation:"true"`
	LogicalChannel      *uint32                                                                                                                      `path:"logical-channel" module:"openconfig-terminal-device"`
	ΛLogicalChannel     []ygot.Annotation                                                                                                            `path:"@logical-channel" ygotAnnotation:"true"`
	Mapping             E_OpenconfigTransportTypes_FRAME_MAPPING_PROTOCOL                                                                            `path:"mapping" module:"openconfig-terminal-device"`
	ΛMapping            []ygot.Annotation                                                                                                            `path:"@mapping" ygotAnnotation:"true"`
	OpticalChannel      *string                                                                                                                      `path:"optical-channel" module:"openconfig-terminal-device"`
	ΛOpticalChannel     []ygot.Annotation                                                                                                            `path:"@optical-channel" ygotAnnotation:"true"`
	TributarySlotIndex  *int32                                                                                                                       `path:"tributary-slot-index" module:"openconfig-terminal-device"`
	ΛTributarySlotIndex []ygot.Annotation                                                                                                            `path:"@tributary-slot-index" ygotAnnotation:"true"`
}

OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State represents the /openconfig-terminal-device/terminal-device/logical-channels/channel/logical-channel-assignments/assignment/state YANG schema element.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State) GetAllocation

GetAllocation retrieves the value of the leaf Allocation from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Allocation is set, it can safely use t.GetAllocation() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Allocation == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State) GetAssignmentType

GetAssignmentType retrieves the value of the leaf AssignmentType from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AssignmentType is set, it can safely use t.GetAssignmentType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AssignmentType == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State) GetDescription

GetDescription retrieves the value of the leaf Description from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Description is set, it can safely use t.GetDescription() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Description == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State) GetIndex

GetIndex retrieves the value of the leaf Index from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Index is set, it can safely use t.GetIndex() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Index == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State) GetLogicalChannel

GetLogicalChannel retrieves the value of the leaf LogicalChannel from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LogicalChannel is set, it can safely use t.GetLogicalChannel() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LogicalChannel == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State) GetMapping

GetMapping retrieves the value of the leaf Mapping from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Mapping is set, it can safely use t.GetMapping() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Mapping == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State) GetOpticalChannel

GetOpticalChannel retrieves the value of the leaf OpticalChannel from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if OpticalChannel is set, it can safely use t.GetOpticalChannel() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.OpticalChannel == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State) GetTributarySlotIndex

GetTributarySlotIndex retrieves the value of the leaf TributarySlotIndex from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TributarySlotIndex is set, it can safely use t.GetTributarySlotIndex() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TributarySlotIndex == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_LogicalChannelAssignments_Assignment_State) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn

type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn struct {
	ΛMetadata []ygot.Annotation                                                           `path:"@" ygotAnnotation:"true"`
	Config    *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_Config `path:"config" module:"openconfig-terminal-device"`
	ΛConfig   []ygot.Annotation                                                           `path:"@config" ygotAnnotation:"true"`
	State     *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State  `path:"state" module:"openconfig-terminal-device"`
	ΛState    []ygot.Annotation                                                           `path:"@state" ygotAnnotation:"true"`
}

OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn represents the /openconfig-terminal-device/terminal-device/logical-channels/channel/otn YANG schema element.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn) GetConfig

GetConfig returns the value of the Config struct pointer from OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn) GetOrCreateConfig

GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn) GetOrCreateState

GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn) GetState

GetState returns the value of the State struct pointer from OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_Config

type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_Config struct {
	ΛMetadata                 []ygot.Annotation                                     `path:"@" ygotAnnotation:"true"`
	TributarySlotGranularity  E_OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY `path:"tributary-slot-granularity" module:"openconfig-terminal-device"`
	ΛTributarySlotGranularity []ygot.Annotation                                     `path:"@tributary-slot-granularity" ygotAnnotation:"true"`
	TtiMsgAuto                *bool                                                 `path:"tti-msg-auto" module:"openconfig-terminal-device"`
	ΛTtiMsgAuto               []ygot.Annotation                                     `path:"@tti-msg-auto" ygotAnnotation:"true"`
	TtiMsgExpected            *string                                               `path:"tti-msg-expected" module:"openconfig-terminal-device"`
	ΛTtiMsgExpected           []ygot.Annotation                                     `path:"@tti-msg-expected" ygotAnnotation:"true"`
	TtiMsgTransmit            *string                                               `path:"tti-msg-transmit" module:"openconfig-terminal-device"`
	ΛTtiMsgTransmit           []ygot.Annotation                                     `path:"@tti-msg-transmit" ygotAnnotation:"true"`
}

OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_Config represents the /openconfig-terminal-device/terminal-device/logical-channels/channel/otn/config YANG schema element.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_Config) GetTributarySlotGranularity

GetTributarySlotGranularity retrieves the value of the leaf TributarySlotGranularity from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TributarySlotGranularity is set, it can safely use t.GetTributarySlotGranularity() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TributarySlotGranularity == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_Config) GetTtiMsgAuto

GetTtiMsgAuto retrieves the value of the leaf TtiMsgAuto from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TtiMsgAuto is set, it can safely use t.GetTtiMsgAuto() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TtiMsgAuto == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_Config) GetTtiMsgExpected

GetTtiMsgExpected retrieves the value of the leaf TtiMsgExpected from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TtiMsgExpected is set, it can safely use t.GetTtiMsgExpected() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TtiMsgExpected == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_Config) GetTtiMsgTransmit

GetTtiMsgTransmit retrieves the value of the leaf TtiMsgTransmit from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_Config struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TtiMsgTransmit is set, it can safely use t.GetTtiMsgTransmit() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TtiMsgTransmit == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_Config) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_Config) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_Config) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State

type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State struct {
	ΛMetadata                 []ygot.Annotation                                                                     `path:"@" ygotAnnotation:"true"`
	BackgroundBlockErrors     *uint64                                                                               `path:"background-block-errors" module:"openconfig-terminal-device"`
	ΛBackgroundBlockErrors    []ygot.Annotation                                                                     `path:"@background-block-errors" ygotAnnotation:"true"`
	CodeViolations            *uint64                                                                               `path:"code-violations" module:"openconfig-terminal-device"`
	ΛCodeViolations           []ygot.Annotation                                                                     `path:"@code-violations" ygotAnnotation:"true"`
	ErroredBlocks             *uint64                                                                               `path:"errored-blocks" module:"openconfig-terminal-device"`
	ΛErroredBlocks            []ygot.Annotation                                                                     `path:"@errored-blocks" ygotAnnotation:"true"`
	ErroredSeconds            *uint64                                                                               `path:"errored-seconds" module:"openconfig-terminal-device"`
	ΛErroredSeconds           []ygot.Annotation                                                                     `path:"@errored-seconds" ygotAnnotation:"true"`
	Esnr                      *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr       `path:"esnr" module:"openconfig-terminal-device"`
	ΛEsnr                     []ygot.Annotation                                                                     `path:"@esnr" ygotAnnotation:"true"`
	FecCorrectedBits          *uint64                                                                               `path:"fec-corrected-bits" module:"openconfig-terminal-device"`
	ΛFecCorrectedBits         []ygot.Annotation                                                                     `path:"@fec-corrected-bits" ygotAnnotation:"true"`
	FecCorrectedBytes         *uint64                                                                               `path:"fec-corrected-bytes" module:"openconfig-terminal-device"`
	ΛFecCorrectedBytes        []ygot.Annotation                                                                     `path:"@fec-corrected-bytes" ygotAnnotation:"true"`
	FecUncorrectableBlocks    *uint64                                                                               `path:"fec-uncorrectable-blocks" module:"openconfig-terminal-device"`
	ΛFecUncorrectableBlocks   []ygot.Annotation                                                                     `path:"@fec-uncorrectable-blocks" ygotAnnotation:"true"`
	FecUncorrectableWords     *uint64                                                                               `path:"fec-uncorrectable-words" module:"openconfig-terminal-device"`
	ΛFecUncorrectableWords    []ygot.Annotation                                                                     `path:"@fec-uncorrectable-words" ygotAnnotation:"true"`
	PostFecBer                *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer `path:"post-fec-ber" module:"openconfig-terminal-device"`
	ΛPostFecBer               []ygot.Annotation                                                                     `path:"@post-fec-ber" ygotAnnotation:"true"`
	PreFecBer                 *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer  `path:"pre-fec-ber" module:"openconfig-terminal-device"`
	ΛPreFecBer                []ygot.Annotation                                                                     `path:"@pre-fec-ber" ygotAnnotation:"true"`
	QValue                    *OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue     `path:"q-value" module:"openconfig-terminal-device"`
	ΛQValue                   []ygot.Annotation                                                                     `path:"@q-value" ygotAnnotation:"true"`
	RdiMsg                    *string                                                                               `path:"rdi-msg" module:"openconfig-terminal-device"`
	ΛRdiMsg                   []ygot.Annotation                                                                     `path:"@rdi-msg" ygotAnnotation:"true"`
	SeverelyErroredSeconds    *uint64                                                                               `path:"severely-errored-seconds" module:"openconfig-terminal-device"`
	ΛSeverelyErroredSeconds   []ygot.Annotation                                                                     `path:"@severely-errored-seconds" ygotAnnotation:"true"`
	TributarySlotGranularity  E_OpenconfigTransportTypes_TRIBUTARY_SLOT_GRANULARITY                                 `path:"tributary-slot-granularity" module:"openconfig-terminal-device"`
	ΛTributarySlotGranularity []ygot.Annotation                                                                     `path:"@tributary-slot-granularity" ygotAnnotation:"true"`
	TtiMsgAuto                *bool                                                                                 `path:"tti-msg-auto" module:"openconfig-terminal-device"`
	ΛTtiMsgAuto               []ygot.Annotation                                                                     `path:"@tti-msg-auto" ygotAnnotation:"true"`
	TtiMsgExpected            *string                                                                               `path:"tti-msg-expected" module:"openconfig-terminal-device"`
	ΛTtiMsgExpected           []ygot.Annotation                                                                     `path:"@tti-msg-expected" ygotAnnotation:"true"`
	TtiMsgRecv                *string                                                                               `path:"tti-msg-recv" module:"openconfig-terminal-device"`
	ΛTtiMsgRecv               []ygot.Annotation                                                                     `path:"@tti-msg-recv" ygotAnnotation:"true"`
	TtiMsgTransmit            *string                                                                               `path:"tti-msg-transmit" module:"openconfig-terminal-device"`
	ΛTtiMsgTransmit           []ygot.Annotation                                                                     `path:"@tti-msg-transmit" ygotAnnotation:"true"`
	UnavailableSeconds        *uint64                                                                               `path:"unavailable-seconds" module:"openconfig-terminal-device"`
	ΛUnavailableSeconds       []ygot.Annotation                                                                     `path:"@unavailable-seconds" ygotAnnotation:"true"`
}

OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State represents the /openconfig-terminal-device/terminal-device/logical-channels/channel/otn/state YANG schema element.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetBackgroundBlockErrors

GetBackgroundBlockErrors retrieves the value of the leaf BackgroundBlockErrors from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if BackgroundBlockErrors is set, it can safely use t.GetBackgroundBlockErrors() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.BackgroundBlockErrors == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetCodeViolations

GetCodeViolations retrieves the value of the leaf CodeViolations from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if CodeViolations is set, it can safely use t.GetCodeViolations() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.CodeViolations == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetErroredBlocks

GetErroredBlocks retrieves the value of the leaf ErroredBlocks from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ErroredBlocks is set, it can safely use t.GetErroredBlocks() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ErroredBlocks == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetErroredSeconds

GetErroredSeconds retrieves the value of the leaf ErroredSeconds from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ErroredSeconds is set, it can safely use t.GetErroredSeconds() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ErroredSeconds == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetEsnr

GetEsnr returns the value of the Esnr struct pointer from OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State. If the receiver or the field Esnr is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetFecCorrectedBits

GetFecCorrectedBits retrieves the value of the leaf FecCorrectedBits from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if FecCorrectedBits is set, it can safely use t.GetFecCorrectedBits() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.FecCorrectedBits == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetFecCorrectedBytes

GetFecCorrectedBytes retrieves the value of the leaf FecCorrectedBytes from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if FecCorrectedBytes is set, it can safely use t.GetFecCorrectedBytes() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.FecCorrectedBytes == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetFecUncorrectableBlocks

GetFecUncorrectableBlocks retrieves the value of the leaf FecUncorrectableBlocks from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if FecUncorrectableBlocks is set, it can safely use t.GetFecUncorrectableBlocks() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.FecUncorrectableBlocks == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetFecUncorrectableWords

GetFecUncorrectableWords retrieves the value of the leaf FecUncorrectableWords from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if FecUncorrectableWords is set, it can safely use t.GetFecUncorrectableWords() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.FecUncorrectableWords == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetOrCreateEsnr

GetOrCreateEsnr retrieves the value of the Esnr field or returns the existing field if it already exists.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetOrCreatePostFecBer

GetOrCreatePostFecBer retrieves the value of the PostFecBer field or returns the existing field if it already exists.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetOrCreatePreFecBer

GetOrCreatePreFecBer retrieves the value of the PreFecBer field or returns the existing field if it already exists.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetOrCreateQValue

GetOrCreateQValue retrieves the value of the QValue field or returns the existing field if it already exists.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetPostFecBer

GetPostFecBer returns the value of the PostFecBer struct pointer from OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State. If the receiver or the field PostFecBer is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetPreFecBer

GetPreFecBer returns the value of the PreFecBer struct pointer from OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State. If the receiver or the field PreFecBer is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetQValue

GetQValue returns the value of the QValue struct pointer from OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State. If the receiver or the field QValue is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetRdiMsg

GetRdiMsg retrieves the value of the leaf RdiMsg from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if RdiMsg is set, it can safely use t.GetRdiMsg() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.RdiMsg == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetSeverelyErroredSeconds

GetSeverelyErroredSeconds retrieves the value of the leaf SeverelyErroredSeconds from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if SeverelyErroredSeconds is set, it can safely use t.GetSeverelyErroredSeconds() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.SeverelyErroredSeconds == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetTributarySlotGranularity

GetTributarySlotGranularity retrieves the value of the leaf TributarySlotGranularity from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TributarySlotGranularity is set, it can safely use t.GetTributarySlotGranularity() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TributarySlotGranularity == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetTtiMsgAuto

GetTtiMsgAuto retrieves the value of the leaf TtiMsgAuto from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TtiMsgAuto is set, it can safely use t.GetTtiMsgAuto() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TtiMsgAuto == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetTtiMsgExpected

GetTtiMsgExpected retrieves the value of the leaf TtiMsgExpected from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TtiMsgExpected is set, it can safely use t.GetTtiMsgExpected() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TtiMsgExpected == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetTtiMsgRecv

GetTtiMsgRecv retrieves the value of the leaf TtiMsgRecv from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TtiMsgRecv is set, it can safely use t.GetTtiMsgRecv() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TtiMsgRecv == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetTtiMsgTransmit

GetTtiMsgTransmit retrieves the value of the leaf TtiMsgTransmit from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TtiMsgTransmit is set, it can safely use t.GetTtiMsgTransmit() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TtiMsgTransmit == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) GetUnavailableSeconds

GetUnavailableSeconds retrieves the value of the leaf UnavailableSeconds from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if UnavailableSeconds is set, it can safely use t.GetUnavailableSeconds() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.UnavailableSeconds == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr

type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Avg       *float64          `path:"avg" module:"openconfig-terminal-device"`
	ΛAvg      []ygot.Annotation `path:"@avg" ygotAnnotation:"true"`
	Instant   *float64          `path:"instant" module:"openconfig-terminal-device"`
	ΛInstant  []ygot.Annotation `path:"@instant" ygotAnnotation:"true"`
	Interval  *uint64           `path:"interval" module:"openconfig-terminal-device"`
	ΛInterval []ygot.Annotation `path:"@interval" ygotAnnotation:"true"`
	Max       *float64          `path:"max" module:"openconfig-terminal-device"`
	ΛMax      []ygot.Annotation `path:"@max" ygotAnnotation:"true"`
	MaxTime   *uint64           `path:"max-time" module:"openconfig-terminal-device"`
	ΛMaxTime  []ygot.Annotation `path:"@max-time" ygotAnnotation:"true"`
	Min       *float64          `path:"min" module:"openconfig-terminal-device"`
	ΛMin      []ygot.Annotation `path:"@min" ygotAnnotation:"true"`
	MinTime   *uint64           `path:"min-time" module:"openconfig-terminal-device"`
	ΛMinTime  []ygot.Annotation `path:"@min-time" ygotAnnotation:"true"`
}

OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr represents the /openconfig-terminal-device/terminal-device/logical-channels/channel/otn/state/esnr YANG schema element.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr) GetAvg

GetAvg retrieves the value of the leaf Avg from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Avg is set, it can safely use t.GetAvg() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Avg == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr) GetInstant

GetInstant retrieves the value of the leaf Instant from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Instant is set, it can safely use t.GetInstant() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Instant == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr) GetInterval

GetInterval retrieves the value of the leaf Interval from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interval is set, it can safely use t.GetInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interval == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr) GetMax

GetMax retrieves the value of the leaf Max from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Max is set, it can safely use t.GetMax() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Max == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr) GetMaxTime

GetMaxTime retrieves the value of the leaf MaxTime from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MaxTime is set, it can safely use t.GetMaxTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MaxTime == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr) GetMin

GetMin retrieves the value of the leaf Min from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Min is set, it can safely use t.GetMin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Min == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr) GetMinTime

GetMinTime retrieves the value of the leaf MinTime from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MinTime is set, it can safely use t.GetMinTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MinTime == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_Esnr) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer

type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Avg       *float64          `path:"avg" module:"openconfig-terminal-device"`
	ΛAvg      []ygot.Annotation `path:"@avg" ygotAnnotation:"true"`
	Instant   *float64          `path:"instant" module:"openconfig-terminal-device"`
	ΛInstant  []ygot.Annotation `path:"@instant" ygotAnnotation:"true"`
	Interval  *uint64           `path:"interval" module:"openconfig-terminal-device"`
	ΛInterval []ygot.Annotation `path:"@interval" ygotAnnotation:"true"`
	Max       *float64          `path:"max" module:"openconfig-terminal-device"`
	ΛMax      []ygot.Annotation `path:"@max" ygotAnnotation:"true"`
	MaxTime   *uint64           `path:"max-time" module:"openconfig-terminal-device"`
	ΛMaxTime  []ygot.Annotation `path:"@max-time" ygotAnnotation:"true"`
	Min       *float64          `path:"min" module:"openconfig-terminal-device"`
	ΛMin      []ygot.Annotation `path:"@min" ygotAnnotation:"true"`
	MinTime   *uint64           `path:"min-time" module:"openconfig-terminal-device"`
	ΛMinTime  []ygot.Annotation `path:"@min-time" ygotAnnotation:"true"`
}

OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer represents the /openconfig-terminal-device/terminal-device/logical-channels/channel/otn/state/post-fec-ber YANG schema element.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer) GetAvg

GetAvg retrieves the value of the leaf Avg from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Avg is set, it can safely use t.GetAvg() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Avg == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer) GetInstant

GetInstant retrieves the value of the leaf Instant from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Instant is set, it can safely use t.GetInstant() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Instant == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer) GetInterval

GetInterval retrieves the value of the leaf Interval from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interval is set, it can safely use t.GetInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interval == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer) GetMax

GetMax retrieves the value of the leaf Max from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Max is set, it can safely use t.GetMax() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Max == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer) GetMaxTime

GetMaxTime retrieves the value of the leaf MaxTime from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MaxTime is set, it can safely use t.GetMaxTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MaxTime == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer) GetMin

GetMin retrieves the value of the leaf Min from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Min is set, it can safely use t.GetMin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Min == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer) GetMinTime

GetMinTime retrieves the value of the leaf MinTime from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MinTime is set, it can safely use t.GetMinTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MinTime == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PostFecBer) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer

type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Avg       *float64          `path:"avg" module:"openconfig-terminal-device"`
	ΛAvg      []ygot.Annotation `path:"@avg" ygotAnnotation:"true"`
	Instant   *float64          `path:"instant" module:"openconfig-terminal-device"`
	ΛInstant  []ygot.Annotation `path:"@instant" ygotAnnotation:"true"`
	Interval  *uint64           `path:"interval" module:"openconfig-terminal-device"`
	ΛInterval []ygot.Annotation `path:"@interval" ygotAnnotation:"true"`
	Max       *float64          `path:"max" module:"openconfig-terminal-device"`
	ΛMax      []ygot.Annotation `path:"@max" ygotAnnotation:"true"`
	MaxTime   *uint64           `path:"max-time" module:"openconfig-terminal-device"`
	ΛMaxTime  []ygot.Annotation `path:"@max-time" ygotAnnotation:"true"`
	Min       *float64          `path:"min" module:"openconfig-terminal-device"`
	ΛMin      []ygot.Annotation `path:"@min" ygotAnnotation:"true"`
	MinTime   *uint64           `path:"min-time" module:"openconfig-terminal-device"`
	ΛMinTime  []ygot.Annotation `path:"@min-time" ygotAnnotation:"true"`
}

OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer represents the /openconfig-terminal-device/terminal-device/logical-channels/channel/otn/state/pre-fec-ber YANG schema element.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer) GetAvg

GetAvg retrieves the value of the leaf Avg from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Avg is set, it can safely use t.GetAvg() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Avg == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer) GetInstant

GetInstant retrieves the value of the leaf Instant from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Instant is set, it can safely use t.GetInstant() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Instant == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer) GetInterval

GetInterval retrieves the value of the leaf Interval from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interval is set, it can safely use t.GetInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interval == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer) GetMax

GetMax retrieves the value of the leaf Max from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Max is set, it can safely use t.GetMax() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Max == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer) GetMaxTime

GetMaxTime retrieves the value of the leaf MaxTime from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MaxTime is set, it can safely use t.GetMaxTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MaxTime == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer) GetMin

GetMin retrieves the value of the leaf Min from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Min is set, it can safely use t.GetMin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Min == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer) GetMinTime

GetMinTime retrieves the value of the leaf MinTime from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MinTime is set, it can safely use t.GetMinTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MinTime == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_PreFecBer) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue

type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Avg       *float64          `path:"avg" module:"openconfig-terminal-device"`
	ΛAvg      []ygot.Annotation `path:"@avg" ygotAnnotation:"true"`
	Instant   *float64          `path:"instant" module:"openconfig-terminal-device"`
	ΛInstant  []ygot.Annotation `path:"@instant" ygotAnnotation:"true"`
	Interval  *uint64           `path:"interval" module:"openconfig-terminal-device"`
	ΛInterval []ygot.Annotation `path:"@interval" ygotAnnotation:"true"`
	Max       *float64          `path:"max" module:"openconfig-terminal-device"`
	ΛMax      []ygot.Annotation `path:"@max" ygotAnnotation:"true"`
	MaxTime   *uint64           `path:"max-time" module:"openconfig-terminal-device"`
	ΛMaxTime  []ygot.Annotation `path:"@max-time" ygotAnnotation:"true"`
	Min       *float64          `path:"min" module:"openconfig-terminal-device"`
	ΛMin      []ygot.Annotation `path:"@min" ygotAnnotation:"true"`
	MinTime   *uint64           `path:"min-time" module:"openconfig-terminal-device"`
	ΛMinTime  []ygot.Annotation `path:"@min-time" ygotAnnotation:"true"`
}

OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue represents the /openconfig-terminal-device/terminal-device/logical-channels/channel/otn/state/q-value YANG schema element.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue) GetAvg

GetAvg retrieves the value of the leaf Avg from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Avg is set, it can safely use t.GetAvg() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Avg == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue) GetInstant

GetInstant retrieves the value of the leaf Instant from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Instant is set, it can safely use t.GetInstant() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Instant == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue) GetInterval

GetInterval retrieves the value of the leaf Interval from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Interval is set, it can safely use t.GetInterval() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Interval == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue) GetMax

GetMax retrieves the value of the leaf Max from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Max is set, it can safely use t.GetMax() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Max == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue) GetMaxTime

GetMaxTime retrieves the value of the leaf MaxTime from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MaxTime is set, it can safely use t.GetMaxTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MaxTime == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue) GetMin

GetMin retrieves the value of the leaf Min from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Min is set, it can safely use t.GetMin() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Min == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue) GetMinTime

GetMinTime retrieves the value of the leaf MinTime from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if MinTime is set, it can safely use t.GetMinTime() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.MinTime == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_Otn_State_QValue) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State

type OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State struct {
	ΛMetadata           []ygot.Annotation                                                                 `path:"@" ygotAnnotation:"true"`
	AdminState          E_OpenconfigTerminalDevice_AdminStateType                                         `path:"admin-state" module:"openconfig-terminal-device"`
	ΛAdminState         []ygot.Annotation                                                                 `path:"@admin-state" ygotAnnotation:"true"`
	Description         *string                                                                           `path:"description" module:"openconfig-terminal-device"`
	ΛDescription        []ygot.Annotation                                                                 `path:"@description" ygotAnnotation:"true"`
	Index               *uint32                                                                           `path:"index" module:"openconfig-terminal-device"`
	ΛIndex              []ygot.Annotation                                                                 `path:"@index" ygotAnnotation:"true"`
	LinkState           E_OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State_LinkState `path:"link-state" module:"openconfig-terminal-device"`
	ΛLinkState          []ygot.Annotation                                                                 `path:"@link-state" ygotAnnotation:"true"`
	LogicalChannelType  E_OpenconfigTransportTypes_LOGICAL_ELEMENT_PROTOCOL_TYPE                          `path:"logical-channel-type" module:"openconfig-terminal-device"`
	ΛLogicalChannelType []ygot.Annotation                                                                 `path:"@logical-channel-type" ygotAnnotation:"true"`
	LoopbackMode        E_OpenconfigTerminalDevice_LoopbackModeType                                       `path:"loopback-mode" module:"openconfig-terminal-device"`
	ΛLoopbackMode       []ygot.Annotation                                                                 `path:"@loopback-mode" ygotAnnotation:"true"`
	RateClass           E_OpenconfigTransportTypes_TRIBUTARY_RATE_CLASS_TYPE                              `path:"rate-class" module:"openconfig-terminal-device"`
	ΛRateClass          []ygot.Annotation                                                                 `path:"@rate-class" ygotAnnotation:"true"`
	TestSignal          *bool                                                                             `path:"test-signal" module:"openconfig-terminal-device"`
	ΛTestSignal         []ygot.Annotation                                                                 `path:"@test-signal" ygotAnnotation:"true"`
	TribProtocol        E_OpenconfigTransportTypes_TRIBUTARY_PROTOCOL_TYPE                                `path:"trib-protocol" module:"openconfig-terminal-device"`
	ΛTribProtocol       []ygot.Annotation                                                                 `path:"@trib-protocol" ygotAnnotation:"true"`
}

OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State represents the /openconfig-terminal-device/terminal-device/logical-channels/channel/state YANG schema element.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State) GetAdminState

GetAdminState retrieves the value of the leaf AdminState from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if AdminState is set, it can safely use t.GetAdminState() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.AdminState == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State) GetDescription

GetDescription retrieves the value of the leaf Description from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Description is set, it can safely use t.GetDescription() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Description == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State) GetIndex

GetIndex retrieves the value of the leaf Index from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Index is set, it can safely use t.GetIndex() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Index == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State) GetLinkState

GetLinkState retrieves the value of the leaf LinkState from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LinkState is set, it can safely use t.GetLinkState() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LinkState == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State) GetLogicalChannelType

GetLogicalChannelType retrieves the value of the leaf LogicalChannelType from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LogicalChannelType is set, it can safely use t.GetLogicalChannelType() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LogicalChannelType == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State) GetLoopbackMode

GetLoopbackMode retrieves the value of the leaf LoopbackMode from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if LoopbackMode is set, it can safely use t.GetLoopbackMode() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.LoopbackMode == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State) GetRateClass

GetRateClass retrieves the value of the leaf RateClass from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if RateClass is set, it can safely use t.GetRateClass() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.RateClass == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State) GetTestSignal

GetTestSignal retrieves the value of the leaf TestSignal from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TestSignal is set, it can safely use t.GetTestSignal() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TestSignal == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State) GetTribProtocol

GetTribProtocol retrieves the value of the leaf TribProtocol from the OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if TribProtocol is set, it can safely use t.GetTribProtocol() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.TribProtocol == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigTerminalDevice_TerminalDevice_LogicalChannels_Channel_State) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigTerminalDevice_TerminalDevice_OperationalModes

type OpenconfigTerminalDevice_TerminalDevice_OperationalModes struct {
	ΛMetadata []ygot.Annotation                                                         `path:"@" ygotAnnotation:"true"`
	Mode      map[uint16]*OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode `path:"mode" module:"openconfig-terminal-device"`
	ΛMode     []ygot.Annotation                                                         `path:"@mode" ygotAnnotation:"true"`
}

OpenconfigTerminalDevice_TerminalDevice_OperationalModes represents the /openconfig-terminal-device/terminal-device/operational-modes YANG schema element.

func (*OpenconfigTerminalDevice_TerminalDevice_OperationalModes) AppendMode

AppendMode appends the supplied OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode struct to the list Mode of OpenconfigTerminalDevice_TerminalDevice_OperationalModes. If the key value(s) specified in the supplied OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode already exist in the list, an error is returned.

func (*OpenconfigTerminalDevice_TerminalDevice_OperationalModes) GetMode

GetMode retrieves the value with the specified key from the Mode map field of OpenconfigTerminalDevice_TerminalDevice_OperationalModes. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.

func (*OpenconfigTerminalDevice_TerminalDevice_OperationalModes) GetOrCreateMode

GetOrCreateMode retrieves the value with the specified keys from the receiver OpenconfigTerminalDevice_TerminalDevice_OperationalModes. If the entry does not exist, then it is created. It returns the existing or new list member.

func (*OpenconfigTerminalDevice_TerminalDevice_OperationalModes) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigTerminalDevice_TerminalDevice_OperationalModes implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigTerminalDevice_TerminalDevice_OperationalModes) NewMode

NewMode creates a new entry in the Mode list of the OpenconfigTerminalDevice_TerminalDevice_OperationalModes struct. The keys of the list are populated from the input arguments.

func (*OpenconfigTerminalDevice_TerminalDevice_OperationalModes) RenameMode

RenameMode renames an entry in the list Mode within the OpenconfigTerminalDevice_TerminalDevice_OperationalModes struct. The entry with key oldK is renamed to newK updating the key within the value.

func (*OpenconfigTerminalDevice_TerminalDevice_OperationalModes) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigTerminalDevice_TerminalDevice_OperationalModes) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode

type OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode struct {
	ΛMetadata []ygot.Annotation                                                     `path:"@" ygotAnnotation:"true"`
	Config    *OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_Config `path:"config" module:"openconfig-terminal-device"`
	ΛConfig   []ygot.Annotation                                                     `path:"@config" ygotAnnotation:"true"`
	ModeId    *uint16                                                               `path:"mode-id" module:"openconfig-terminal-device"`
	ΛModeId   []ygot.Annotation                                                     `path:"@mode-id" ygotAnnotation:"true"`
	State     *OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_State  `path:"state" module:"openconfig-terminal-device"`
	ΛState    []ygot.Annotation                                                     `path:"@state" ygotAnnotation:"true"`
}

OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode represents the /openconfig-terminal-device/terminal-device/operational-modes/mode YANG schema element.

func (*OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode) GetConfig

GetConfig returns the value of the Config struct pointer from OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode) GetModeId

GetModeId retrieves the value of the leaf ModeId from the OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ModeId is set, it can safely use t.GetModeId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ModeId == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode) GetOrCreateConfig

GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.

func (*OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode) GetOrCreateState

GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.

func (*OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode) GetState

GetState returns the value of the State struct pointer from OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.

func (*OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

func (*OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode) ΛListKeyMap

func (t *OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode) ΛListKeyMap() (map[string]interface{}, error)

ΛListKeyMap returns the keys of the OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode struct, which is a YANG list entry.

type OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_Config

type OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_Config struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
}

OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_Config represents the /openconfig-terminal-device/terminal-device/operational-modes/mode/config YANG schema element.

func (*OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_Config) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_Config) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_Config) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_State

type OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_State struct {
	ΛMetadata    []ygot.Annotation `path:"@" ygotAnnotation:"true"`
	Description  *string           `path:"description" module:"openconfig-terminal-device"`
	ΛDescription []ygot.Annotation `path:"@description" ygotAnnotation:"true"`
	ModeId       *uint16           `path:"mode-id" module:"openconfig-terminal-device"`
	ΛModeId      []ygot.Annotation `path:"@mode-id" ygotAnnotation:"true"`
	VendorId     *string           `path:"vendor-id" module:"openconfig-terminal-device"`
	ΛVendorId    []ygot.Annotation `path:"@vendor-id" ygotAnnotation:"true"`
}

OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_State represents the /openconfig-terminal-device/terminal-device/operational-modes/mode/state YANG schema element.

func (*OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_State) GetDescription

GetDescription retrieves the value of the leaf Description from the OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Description is set, it can safely use t.GetDescription() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Description == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_State) GetModeId

GetModeId retrieves the value of the leaf ModeId from the OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ModeId is set, it can safely use t.GetModeId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ModeId == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_State) GetVendorId

GetVendorId retrieves the value of the leaf VendorId from the OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_State struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if VendorId is set, it can safely use t.GetVendorId() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.VendorId == nil' before retrieving the leaf's value.

func (*OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_State) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_State) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigTerminalDevice_TerminalDevice_OperationalModes_Mode_State) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

type OpenconfigTerminalDevice_TerminalDevice_State

type OpenconfigTerminalDevice_TerminalDevice_State struct {
	ΛMetadata []ygot.Annotation `path:"@" ygotAnnotation:"true"`
}

OpenconfigTerminalDevice_TerminalDevice_State represents the /openconfig-terminal-device/terminal-device/state YANG schema element.

func (*OpenconfigTerminalDevice_TerminalDevice_State) IsYANGGoStruct

IsYANGGoStruct ensures that OpenconfigTerminalDevice_TerminalDevice_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.

func (*OpenconfigTerminalDevice_TerminalDevice_State) Validate

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigTerminalDevice_TerminalDevice_State) ΛEnumTypeMap

ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.

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