enterprise_1_0_0

package
v0.0.0-...-a89dad0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Code generated by YGOT. DO NOT EDIT.

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

This package was generated by /Users/adibrastegarnia/go/pkg/mod/github.com/openconfig/ygot@v0.8.12/genutil/names.go using the following YANG input files:

  • device-range@2020-11-18.yang
  • device-group@2020-11-18.yang
  • enterprise@2020-11-18.yang
  • site@2020-11-18.yang
  • use-case@2020-11-18.yang
  • deployment-environment@2020-11-18.yang
  • application@2020-11-18.yang
  • visibility@2020-11-18.yang
  • qos@2020-11-18.yang

Imported modules were sourced from:

  • yang/...

Index

Constants

This section is empty.

Variables

View Source
var (
	SchemaTree map[string]*yang.Entry
)
View Source
var ΛEnumTypes = map[string][]reflect.Type{}

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

type Application_Application struct {
	Application map[string]*Application_Application_Application `path:"application" module:"application"`
}

Application_Application represents the /application/application YANG schema element.

func (*Application_Application) IsYANGGoStruct

func (*Application_Application) IsYANGGoStruct()

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

func (*Application_Application) NewApplication

NewApplication creates a new entry in the Application list of the Application_Application struct. The keys of the list are populated from the input arguments.

func (*Application_Application) Validate

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

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

func (*Application_Application) ΛEnumTypeMap

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

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

type Application_Application_Application

type Application_Application_Application struct {
	DeploymentEnvironment *string                                                  `path:"deployment-environment" module:"application"`
	Description           *string                                                  `path:"description" module:"application"`
	DisplayName           *string                                                  `path:"display-name" module:"application"`
	Endpoint              map[string]*Application_Application_Application_Endpoint `path:"endpoint" module:"application"`
	Id                    *string                                                  `path:"id" module:"application"`
	Qos                   map[string]*Application_Application_Application_Qos      `path:"qos" module:"application"`
}

Application_Application_Application represents the /application/application/application YANG schema element.

func (*Application_Application_Application) IsYANGGoStruct

func (*Application_Application_Application) IsYANGGoStruct()

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

func (*Application_Application_Application) NewEndpoint

NewEndpoint creates a new entry in the Endpoint list of the Application_Application_Application struct. The keys of the list are populated from the input arguments.

func (*Application_Application_Application) NewQos

NewQos creates a new entry in the Qos list of the Application_Application_Application struct. The keys of the list are populated from the input arguments.

func (*Application_Application_Application) Validate

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

func (*Application_Application_Application) ΛEnumTypeMap

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

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

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

type Application_Application_Application_Endpoint

type Application_Application_Application_Endpoint struct {
	Hostname *string `path:"hostname" module:"application"`
	Name     *string `path:"name" module:"application"`
	Port     *uint16 `path:"port" module:"application"`
}

Application_Application_Application_Endpoint represents the /application/application/application/endpoint YANG schema element.

func (*Application_Application_Application_Endpoint) IsYANGGoStruct

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

func (*Application_Application_Application_Endpoint) Validate

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

func (*Application_Application_Application_Endpoint) ΛEnumTypeMap

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

func (*Application_Application_Application_Endpoint) ΛListKeyMap

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

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

type Application_Application_Application_Qos

type Application_Application_Application_Qos struct {
	Allowed *bool   `path:"allowed" module:"application"`
	Qos     *string `path:"qos" module:"application"`
}

Application_Application_Application_Qos represents the /application/application/application/qos YANG schema element.

func (*Application_Application_Application_Qos) IsYANGGoStruct

func (*Application_Application_Application_Qos) IsYANGGoStruct()

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

func (*Application_Application_Application_Qos) Validate

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

func (*Application_Application_Application_Qos) ΛEnumTypeMap

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

func (*Application_Application_Application_Qos) ΛListKeyMap

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

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

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 DeploymentEnvironment_DeploymentEnvironment

type DeploymentEnvironment_DeploymentEnvironment struct {
	DeploymentEnvironment map[string]*DeploymentEnvironment_DeploymentEnvironment_DeploymentEnvironment `path:"deployment-environment" module:"deployment-environment"`
}

DeploymentEnvironment_DeploymentEnvironment represents the /deployment-environment/deployment-environment YANG schema element.

func (*DeploymentEnvironment_DeploymentEnvironment) IsYANGGoStruct

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

func (*DeploymentEnvironment_DeploymentEnvironment) NewDeploymentEnvironment

NewDeploymentEnvironment creates a new entry in the DeploymentEnvironment list of the DeploymentEnvironment_DeploymentEnvironment struct. The keys of the list are populated from the input arguments.

func (*DeploymentEnvironment_DeploymentEnvironment) Validate

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

func (*DeploymentEnvironment_DeploymentEnvironment) ΛEnumTypeMap

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

type DeploymentEnvironment_DeploymentEnvironment_DeploymentEnvironment

type DeploymentEnvironment_DeploymentEnvironment_DeploymentEnvironment struct {
	ClusterName *string `path:"cluster-name" module:"deployment-environment"`
	Description *string `path:"description" module:"deployment-environment"`
	DisplayName *string `path:"display-name" module:"deployment-environment"`
	Id          *string `path:"id" module:"deployment-environment"`
	Site        *string `path:"site" module:"deployment-environment"`
}

DeploymentEnvironment_DeploymentEnvironment_DeploymentEnvironment represents the /deployment-environment/deployment-environment/deployment-environment YANG schema element.

func (*DeploymentEnvironment_DeploymentEnvironment_DeploymentEnvironment) IsYANGGoStruct

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

func (*DeploymentEnvironment_DeploymentEnvironment_DeploymentEnvironment) Validate

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

func (*DeploymentEnvironment_DeploymentEnvironment_DeploymentEnvironment) ΛEnumTypeMap

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

func (*DeploymentEnvironment_DeploymentEnvironment_DeploymentEnvironment) ΛListKeyMap

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

type Device

type Device struct {
	Application           *Application_Application                     `path:"application" module:"application"`
	DeploymentEnvironment *DeploymentEnvironment_DeploymentEnvironment `path:"deployment-environment" module:"deployment-environment"`
	DeviceGroup           *DeviceGroup_DeviceGroup                     `path:"device-group" module:"device-group"`
	DeviceRange           *DeviceRange_DeviceRange                     `path:"device-range" module:"device-range"`
	Enterprise            *Enterprise_Enterprise                       `path:"enterprise" module:"enterprise"`
	Qos                   *Qos_Qos                                     `path:"qos" module:"qos"`
	Site                  *Site_Site                                   `path:"site" module:"site"`
	UseCase               *UseCase_UseCase                             `path:"use-case" module:"use-case"`
	Visibility            *Visibility_Visibility                       `path:"visibility" module:"visibility"`
}

Device represents the /device YANG schema element.

func (*Device) IsYANGGoStruct

func (*Device) IsYANGGoStruct()

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

func (*Device) Validate

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

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

func (*Device) Λ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 DeviceGroup_DeviceGroup

type DeviceGroup_DeviceGroup struct {
	DeviceGroup map[string]*DeviceGroup_DeviceGroup_DeviceGroup `path:"device-group" module:"device-group"`
}

DeviceGroup_DeviceGroup represents the /device-group/device-group YANG schema element.

func (*DeviceGroup_DeviceGroup) IsYANGGoStruct

func (*DeviceGroup_DeviceGroup) IsYANGGoStruct()

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

func (*DeviceGroup_DeviceGroup) NewDeviceGroup

NewDeviceGroup creates a new entry in the DeviceGroup list of the DeviceGroup_DeviceGroup struct. The keys of the list are populated from the input arguments.

func (*DeviceGroup_DeviceGroup) Validate

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

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

func (*DeviceGroup_DeviceGroup) ΛEnumTypeMap

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

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

type DeviceGroup_DeviceGroup_DeviceGroup

type DeviceGroup_DeviceGroup_DeviceGroup struct {
	Description *string `path:"description" module:"device-group"`
	DisplayName *string `path:"display-name" module:"device-group"`
	Id          *string `path:"id" module:"device-group"`
}

DeviceGroup_DeviceGroup_DeviceGroup represents the /device-group/device-group/device-group YANG schema element.

func (*DeviceGroup_DeviceGroup_DeviceGroup) IsYANGGoStruct

func (*DeviceGroup_DeviceGroup_DeviceGroup) IsYANGGoStruct()

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

func (*DeviceGroup_DeviceGroup_DeviceGroup) Validate

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

func (*DeviceGroup_DeviceGroup_DeviceGroup) ΛEnumTypeMap

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

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

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

type DeviceRange_DeviceRange

type DeviceRange_DeviceRange struct {
	DeviceRange map[string]*DeviceRange_DeviceRange_DeviceRange `path:"device-range" module:"device-range"`
}

DeviceRange_DeviceRange represents the /device-range/device-range YANG schema element.

func (*DeviceRange_DeviceRange) IsYANGGoStruct

func (*DeviceRange_DeviceRange) IsYANGGoStruct()

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

func (*DeviceRange_DeviceRange) NewDeviceRange

NewDeviceRange creates a new entry in the DeviceRange list of the DeviceRange_DeviceRange struct. The keys of the list are populated from the input arguments.

func (*DeviceRange_DeviceRange) Validate

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

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

func (*DeviceRange_DeviceRange) ΛEnumTypeMap

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

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

type DeviceRange_DeviceRange_DeviceRange

type DeviceRange_DeviceRange_DeviceRange struct {
	DeviceGroup   map[string]*DeviceRange_DeviceRange_DeviceRange_DeviceGroup `path:"device-group" module:"device-range"`
	DisplayName   *string                                                     `path:"display-name" module:"device-range"`
	Enabled       *bool                                                       `path:"enabled" module:"device-range"`
	Enterprise    *string                                                     `path:"enterprise" module:"device-range"`
	Id            *string                                                     `path:"id" module:"device-range"`
	ImsiRangeFrom *uint64                                                     `path:"imsi-range-from" module:"device-range"`
	ImsiRangeTo   *uint64                                                     `path:"imsi-range-to" module:"device-range"`
	ImsiWildcard  *string                                                     `path:"imsi-wildcard" module:"device-range"`
	Priority      *uint32                                                     `path:"priority" module:"device-range"`
}

DeviceRange_DeviceRange_DeviceRange represents the /device-range/device-range/device-range YANG schema element.

func (*DeviceRange_DeviceRange_DeviceRange) IsYANGGoStruct

func (*DeviceRange_DeviceRange_DeviceRange) IsYANGGoStruct()

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

func (*DeviceRange_DeviceRange_DeviceRange) NewDeviceGroup

NewDeviceGroup creates a new entry in the DeviceGroup list of the DeviceRange_DeviceRange_DeviceRange struct. The keys of the list are populated from the input arguments.

func (*DeviceRange_DeviceRange_DeviceRange) Validate

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

func (*DeviceRange_DeviceRange_DeviceRange) ΛEnumTypeMap

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

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

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

type DeviceRange_DeviceRange_DeviceRange_DeviceGroup

type DeviceRange_DeviceRange_DeviceRange_DeviceGroup struct {
	Allowed     *bool   `path:"allowed" module:"device-range"`
	DeviceGroup *string `path:"device-group" module:"device-range"`
}

DeviceRange_DeviceRange_DeviceRange_DeviceGroup represents the /device-range/device-range/device-range/device-group YANG schema element.

func (*DeviceRange_DeviceRange_DeviceRange_DeviceGroup) IsYANGGoStruct

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

func (*DeviceRange_DeviceRange_DeviceRange_DeviceGroup) Validate

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

func (*DeviceRange_DeviceRange_DeviceRange_DeviceGroup) ΛEnumTypeMap

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

func (*DeviceRange_DeviceRange_DeviceRange_DeviceGroup) ΛListKeyMap

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

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

type Enterprise_Enterprise

type Enterprise_Enterprise struct {
	Enterprise map[string]*Enterprise_Enterprise_Enterprise `path:"enterprise" module:"enterprise"`
}

Enterprise_Enterprise represents the /enterprise/enterprise YANG schema element.

func (*Enterprise_Enterprise) IsYANGGoStruct

func (*Enterprise_Enterprise) IsYANGGoStruct()

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

func (*Enterprise_Enterprise) NewEnterprise

NewEnterprise creates a new entry in the Enterprise list of the Enterprise_Enterprise struct. The keys of the list are populated from the input arguments.

func (*Enterprise_Enterprise) Validate

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

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

func (*Enterprise_Enterprise) ΛEnumTypeMap

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

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

type Enterprise_Enterprise_Enterprise

type Enterprise_Enterprise_Enterprise struct {
	Description *string `path:"description" module:"enterprise"`
	DisplayName *string `path:"display-name" module:"enterprise"`
	Id          *string `path:"id" module:"enterprise"`
}

Enterprise_Enterprise_Enterprise represents the /enterprise/enterprise/enterprise YANG schema element.

func (*Enterprise_Enterprise_Enterprise) IsYANGGoStruct

func (*Enterprise_Enterprise_Enterprise) IsYANGGoStruct()

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

func (*Enterprise_Enterprise_Enterprise) Validate

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

func (*Enterprise_Enterprise_Enterprise) ΛEnumTypeMap

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

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

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

type Qos_Qos

type Qos_Qos struct {
	Qos map[string]*Qos_Qos_Qos `path:"qos" module:"qos"`
}

Qos_Qos represents the /qos/qos YANG schema element.

func (*Qos_Qos) IsYANGGoStruct

func (*Qos_Qos) IsYANGGoStruct()

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

func (*Qos_Qos) NewQos

func (t *Qos_Qos) NewQos(Id string) (*Qos_Qos_Qos, error)

NewQos creates a new entry in the Qos list of the Qos_Qos struct. The keys of the list are populated from the input arguments.

func (*Qos_Qos) Validate

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

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

func (*Qos_Qos) ΛEnumTypeMap

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

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

type Qos_Qos_Qos

type Qos_Qos_Qos struct {
	ConnectivityService *Qos_Qos_Qos_ConnectivityService `path:"connectivity-service" module:"qos"`
	Description         *string                          `path:"description" module:"qos"`
	DisplayName         *string                          `path:"display-name" module:"qos"`
	Id                  *string                          `path:"id" module:"qos"`
}

Qos_Qos_Qos represents the /qos/qos/qos YANG schema element.

func (*Qos_Qos_Qos) IsYANGGoStruct

func (*Qos_Qos_Qos) IsYANGGoStruct()

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

func (*Qos_Qos_Qos) Validate

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

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

func (*Qos_Qos_Qos) ΛEnumTypeMap

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

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

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

type Qos_Qos_Qos_ConnectivityService

type Qos_Qos_Qos_ConnectivityService struct {
	ApnAmbr *Qos_Qos_Qos_ConnectivityService_ApnAmbr `path:"apn-ambr" module:"qos"`
}

Qos_Qos_Qos_ConnectivityService represents the /qos/qos/qos/connectivity-service YANG schema element.

func (*Qos_Qos_Qos_ConnectivityService) IsYANGGoStruct

func (*Qos_Qos_Qos_ConnectivityService) IsYANGGoStruct()

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

func (*Qos_Qos_Qos_ConnectivityService) Validate

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

func (*Qos_Qos_Qos_ConnectivityService) ΛEnumTypeMap

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

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

type Qos_Qos_Qos_ConnectivityService_ApnAmbr

type Qos_Qos_Qos_ConnectivityService_ApnAmbr struct {
	Downlink *uint32 `path:"downlink" module:"qos"`
	Uplink   *uint32 `path:"uplink" module:"qos"`
}

Qos_Qos_Qos_ConnectivityService_ApnAmbr represents the /qos/qos/qos/connectivity-service/apn-ambr YANG schema element.

func (*Qos_Qos_Qos_ConnectivityService_ApnAmbr) IsYANGGoStruct

func (*Qos_Qos_Qos_ConnectivityService_ApnAmbr) IsYANGGoStruct()

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

func (*Qos_Qos_Qos_ConnectivityService_ApnAmbr) Validate

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

func (*Qos_Qos_Qos_ConnectivityService_ApnAmbr) ΛEnumTypeMap

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

type Site_Site

type Site_Site struct {
	Site map[string]*Site_Site_Site `path:"site" module:"site"`
}

Site_Site represents the /site/site YANG schema element.

func (*Site_Site) IsYANGGoStruct

func (*Site_Site) IsYANGGoStruct()

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

func (*Site_Site) NewSite

func (t *Site_Site) NewSite(Id string) (*Site_Site_Site, error)

NewSite creates a new entry in the Site list of the Site_Site struct. The keys of the list are populated from the input arguments.

func (*Site_Site) Validate

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

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

func (*Site_Site) ΛEnumTypeMap

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

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

type Site_Site_Site

type Site_Site_Site struct {
	Description *string `path:"description" module:"site"`
	DisplayName *string `path:"display-name" module:"site"`
	Enterprise  *string `path:"enterprise" module:"site"`
	Id          *string `path:"id" module:"site"`
}

Site_Site_Site represents the /site/site/site YANG schema element.

func (*Site_Site_Site) IsYANGGoStruct

func (*Site_Site_Site) IsYANGGoStruct()

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

func (*Site_Site_Site) Validate

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

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

func (*Site_Site_Site) ΛEnumTypeMap

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

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

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

type UseCase_UseCase

type UseCase_UseCase struct {
	UseCase map[string]*UseCase_UseCase_UseCase `path:"use-case" module:"use-case"`
}

UseCase_UseCase represents the /use-case/use-case YANG schema element.

func (*UseCase_UseCase) IsYANGGoStruct

func (*UseCase_UseCase) IsYANGGoStruct()

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

func (*UseCase_UseCase) NewUseCase

func (t *UseCase_UseCase) NewUseCase(Id string) (*UseCase_UseCase_UseCase, error)

NewUseCase creates a new entry in the UseCase list of the UseCase_UseCase struct. The keys of the list are populated from the input arguments.

func (*UseCase_UseCase) Validate

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

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

func (*UseCase_UseCase) ΛEnumTypeMap

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

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

type UseCase_UseCase_UseCase

type UseCase_UseCase_UseCase struct {
	Application map[string]*UseCase_UseCase_UseCase_Application `path:"application" module:"use-case"`
	Description *string                                         `path:"description" module:"use-case"`
	DeviceGroup map[string]*UseCase_UseCase_UseCase_DeviceGroup `path:"device-group" module:"use-case"`
	DisplayName *string                                         `path:"display-name" module:"use-case"`
	Enterprise  *string                                         `path:"enterprise" module:"use-case"`
	Id          *string                                         `path:"id" module:"use-case"`
	Qos         map[string]*UseCase_UseCase_UseCase_Qos         `path:"qos" module:"use-case"`
	Site        map[string]*UseCase_UseCase_UseCase_Site        `path:"site" module:"use-case"`
	Visibility  map[string]*UseCase_UseCase_UseCase_Visibility  `path:"visibility" module:"use-case"`
}

UseCase_UseCase_UseCase represents the /use-case/use-case/use-case YANG schema element.

func (*UseCase_UseCase_UseCase) IsYANGGoStruct

func (*UseCase_UseCase_UseCase) IsYANGGoStruct()

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

func (*UseCase_UseCase_UseCase) NewApplication

func (t *UseCase_UseCase_UseCase) NewApplication(Application string) (*UseCase_UseCase_UseCase_Application, error)

NewApplication creates a new entry in the Application list of the UseCase_UseCase_UseCase struct. The keys of the list are populated from the input arguments.

func (*UseCase_UseCase_UseCase) NewDeviceGroup

func (t *UseCase_UseCase_UseCase) NewDeviceGroup(DeviceGroup string) (*UseCase_UseCase_UseCase_DeviceGroup, error)

NewDeviceGroup creates a new entry in the DeviceGroup list of the UseCase_UseCase_UseCase struct. The keys of the list are populated from the input arguments.

func (*UseCase_UseCase_UseCase) NewQos

NewQos creates a new entry in the Qos list of the UseCase_UseCase_UseCase struct. The keys of the list are populated from the input arguments.

func (*UseCase_UseCase_UseCase) NewSite

NewSite creates a new entry in the Site list of the UseCase_UseCase_UseCase struct. The keys of the list are populated from the input arguments.

func (*UseCase_UseCase_UseCase) NewVisibility

NewVisibility creates a new entry in the Visibility list of the UseCase_UseCase_UseCase struct. The keys of the list are populated from the input arguments.

func (*UseCase_UseCase_UseCase) Validate

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

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

func (*UseCase_UseCase_UseCase) ΛEnumTypeMap

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

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

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

type UseCase_UseCase_UseCase_Application

type UseCase_UseCase_UseCase_Application struct {
	Allowed     *bool   `path:"allowed" module:"use-case"`
	Application *string `path:"application" module:"use-case"`
}

UseCase_UseCase_UseCase_Application represents the /use-case/use-case/use-case/application YANG schema element.

func (*UseCase_UseCase_UseCase_Application) IsYANGGoStruct

func (*UseCase_UseCase_UseCase_Application) IsYANGGoStruct()

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

func (*UseCase_UseCase_UseCase_Application) Validate

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

func (*UseCase_UseCase_UseCase_Application) ΛEnumTypeMap

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

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

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

type UseCase_UseCase_UseCase_DeviceGroup

type UseCase_UseCase_UseCase_DeviceGroup struct {
	Allowed     *bool   `path:"allowed" module:"use-case"`
	DeviceGroup *string `path:"device-group" module:"use-case"`
}

UseCase_UseCase_UseCase_DeviceGroup represents the /use-case/use-case/use-case/device-group YANG schema element.

func (*UseCase_UseCase_UseCase_DeviceGroup) IsYANGGoStruct

func (*UseCase_UseCase_UseCase_DeviceGroup) IsYANGGoStruct()

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

func (*UseCase_UseCase_UseCase_DeviceGroup) Validate

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

func (*UseCase_UseCase_UseCase_DeviceGroup) ΛEnumTypeMap

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

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

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

type UseCase_UseCase_UseCase_Qos

type UseCase_UseCase_UseCase_Qos struct {
	Allowed *bool   `path:"allowed" module:"use-case"`
	Qos     *string `path:"qos" module:"use-case"`
}

UseCase_UseCase_UseCase_Qos represents the /use-case/use-case/use-case/qos YANG schema element.

func (*UseCase_UseCase_UseCase_Qos) IsYANGGoStruct

func (*UseCase_UseCase_UseCase_Qos) IsYANGGoStruct()

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

func (*UseCase_UseCase_UseCase_Qos) Validate

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

func (*UseCase_UseCase_UseCase_Qos) ΛEnumTypeMap

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

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

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

type UseCase_UseCase_UseCase_Site

type UseCase_UseCase_UseCase_Site struct {
	Allowed *bool   `path:"allowed" module:"use-case"`
	Site    *string `path:"site" module:"use-case"`
}

UseCase_UseCase_UseCase_Site represents the /use-case/use-case/use-case/site YANG schema element.

func (*UseCase_UseCase_UseCase_Site) IsYANGGoStruct

func (*UseCase_UseCase_UseCase_Site) IsYANGGoStruct()

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

func (*UseCase_UseCase_UseCase_Site) Validate

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

func (*UseCase_UseCase_UseCase_Site) ΛEnumTypeMap

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

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

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

type UseCase_UseCase_UseCase_Visibility

type UseCase_UseCase_UseCase_Visibility struct {
	Allowed    *bool   `path:"allowed" module:"use-case"`
	Visibility *string `path:"visibility" module:"use-case"`
}

UseCase_UseCase_UseCase_Visibility represents the /use-case/use-case/use-case/visibility YANG schema element.

func (*UseCase_UseCase_UseCase_Visibility) IsYANGGoStruct

func (*UseCase_UseCase_UseCase_Visibility) IsYANGGoStruct()

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

func (*UseCase_UseCase_UseCase_Visibility) Validate

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

func (*UseCase_UseCase_UseCase_Visibility) ΛEnumTypeMap

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

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

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

type Visibility_Visibility

type Visibility_Visibility struct {
	Visibility map[string]*Visibility_Visibility_Visibility `path:"visibility" module:"visibility"`
}

Visibility_Visibility represents the /visibility/visibility YANG schema element.

func (*Visibility_Visibility) IsYANGGoStruct

func (*Visibility_Visibility) IsYANGGoStruct()

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

func (*Visibility_Visibility) NewVisibility

NewVisibility creates a new entry in the Visibility list of the Visibility_Visibility struct. The keys of the list are populated from the input arguments.

func (*Visibility_Visibility) Validate

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

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

func (*Visibility_Visibility) ΛEnumTypeMap

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

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

type Visibility_Visibility_Visibility

type Visibility_Visibility_Visibility struct {
	Application *string `path:"application" module:"visibility"`
	Description *string `path:"description" module:"visibility"`
	DisplayName *string `path:"display-name" module:"visibility"`
	Id          *string `path:"id" module:"visibility"`
}

Visibility_Visibility_Visibility represents the /visibility/visibility/visibility YANG schema element.

func (*Visibility_Visibility_Visibility) IsYANGGoStruct

func (*Visibility_Visibility_Visibility) IsYANGGoStruct()

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

func (*Visibility_Visibility_Visibility) Validate

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

func (*Visibility_Visibility_Visibility) ΛEnumTypeMap

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

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

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

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