aether_2_2_0

package
v0.6.28 Latest Latest
Warning

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

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

Documentation

Overview

Code generated by YGOT. DO NOT EDIT.

Package aether_2_2_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 /home/scondon/go/pkg/mod/github.com/openconfig/ygot@v0.10.5/genutil/names.go using the following YANG input files:

  • aether-subscriber@2020-10-22.yang
  • apn-profile@2021-03-04.yang
  • up-profile@2020-10-22.yang
  • qos-profile@2020-10-22.yang
  • access-profile@2020-10-22.yang
  • security-profile@2021-05-10.yang
  • enterprise@2020-11-30.yang
  • connectivity-service@2021-03-18.yang
  • service-group@2021-03-04.yang
  • service-policy@2021-03-04.yang
  • service-rule@2021-03-04.yang

Imported modules were sourced from:

  • ../../../sdran-helm-charts/config-models/aether-2.2.x/files/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 AccessProfile_AccessProfile

type AccessProfile_AccessProfile struct {
	AccessProfile map[string]*AccessProfile_AccessProfile_AccessProfile `path:"access-profile" module:"access-profile"`
}

AccessProfile_AccessProfile represents the /access-profile/access-profile YANG schema element.

func (*AccessProfile_AccessProfile) IsYANGGoStruct

func (*AccessProfile_AccessProfile) IsYANGGoStruct()

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

func (*AccessProfile_AccessProfile) NewAccessProfile

NewAccessProfile creates a new entry in the AccessProfile list of the AccessProfile_AccessProfile struct. The keys of the list are populated from the input arguments.

func (*AccessProfile_AccessProfile) Validate

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

func (*AccessProfile_AccessProfile) ΛEnumTypeMap

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

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

type AccessProfile_AccessProfile_AccessProfile

type AccessProfile_AccessProfile_AccessProfile struct {
	Description *string `path:"description" module:"access-profile"`
	DisplayName *string `path:"display-name" module:"access-profile"`
	Filter      *string `path:"filter" module:"access-profile"`
	Id          *string `path:"id" module:"access-profile"`
	Type        *string `path:"type" module:"access-profile"`
}

AccessProfile_AccessProfile_AccessProfile represents the /access-profile/access-profile/access-profile YANG schema element.

func (*AccessProfile_AccessProfile_AccessProfile) IsYANGGoStruct

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

func (*AccessProfile_AccessProfile_AccessProfile) Validate

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

func (*AccessProfile_AccessProfile_AccessProfile) ΛEnumTypeMap

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

func (*AccessProfile_AccessProfile_AccessProfile) ΛListKeyMap

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

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

type AetherSubscriber_Subscriber

type AetherSubscriber_Subscriber struct {
	Ue map[string]*AetherSubscriber_Subscriber_Ue `path:"ue" module:"aether-subscriber"`
}

AetherSubscriber_Subscriber represents the /aether-subscriber/subscriber YANG schema element.

func (*AetherSubscriber_Subscriber) IsYANGGoStruct

func (*AetherSubscriber_Subscriber) IsYANGGoStruct()

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

func (*AetherSubscriber_Subscriber) NewUe

NewUe creates a new entry in the Ue list of the AetherSubscriber_Subscriber struct. The keys of the list are populated from the input arguments.

func (*AetherSubscriber_Subscriber) Validate

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

func (*AetherSubscriber_Subscriber) ΛEnumTypeMap

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

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

type AetherSubscriber_Subscriber_Ue

type AetherSubscriber_Subscriber_Ue struct {
	DisplayName   *string                                     `path:"display-name" module:"aether-subscriber"`
	Enabled       *bool                                       `path:"enabled" module:"aether-subscriber"`
	Enterprise    *string                                     `path:"enterprise" module:"aether-subscriber"`
	Id            *string                                     `path:"id" module:"aether-subscriber"`
	ImsiRangeFrom *uint64                                     `path:"imsi-range-from" module:"aether-subscriber"`
	ImsiRangeTo   *uint64                                     `path:"imsi-range-to" module:"aether-subscriber"`
	ImsiWildcard  *string                                     `path:"imsi-wildcard" module:"aether-subscriber"`
	Priority      *uint32                                     `path:"priority" module:"aether-subscriber"`
	Profiles      *AetherSubscriber_Subscriber_Ue_Profiles    `path:"profiles" module:"aether-subscriber"`
	RequestedApn  *string                                     `path:"requested-apn" module:"aether-subscriber"`
	ServingPlmn   *AetherSubscriber_Subscriber_Ue_ServingPlmn `path:"serving-plmn" module:"aether-subscriber"`
}

AetherSubscriber_Subscriber_Ue represents the /aether-subscriber/subscriber/ue YANG schema element.

func (*AetherSubscriber_Subscriber_Ue) IsYANGGoStruct

func (*AetherSubscriber_Subscriber_Ue) IsYANGGoStruct()

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

func (*AetherSubscriber_Subscriber_Ue) Validate

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

func (*AetherSubscriber_Subscriber_Ue) ΛEnumTypeMap

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

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

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

type AetherSubscriber_Subscriber_Ue_Profiles

type AetherSubscriber_Subscriber_Ue_Profiles struct {
	AccessProfile   map[string]*AetherSubscriber_Subscriber_Ue_Profiles_AccessProfile `path:"access-profile" module:"aether-subscriber"`
	ApnProfile      *string                                                           `path:"apn-profile" module:"aether-subscriber"`
	QosProfile      *string                                                           `path:"qos-profile" module:"aether-subscriber"`
	SecurityProfile *string                                                           `path:"security-profile" module:"aether-subscriber"`
	UpProfile       *string                                                           `path:"up-profile" module:"aether-subscriber"`
}

AetherSubscriber_Subscriber_Ue_Profiles represents the /aether-subscriber/subscriber/ue/profiles YANG schema element.

func (*AetherSubscriber_Subscriber_Ue_Profiles) IsYANGGoStruct

func (*AetherSubscriber_Subscriber_Ue_Profiles) IsYANGGoStruct()

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

func (*AetherSubscriber_Subscriber_Ue_Profiles) NewAccessProfile

NewAccessProfile creates a new entry in the AccessProfile list of the AetherSubscriber_Subscriber_Ue_Profiles struct. The keys of the list are populated from the input arguments.

func (*AetherSubscriber_Subscriber_Ue_Profiles) Validate

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

func (*AetherSubscriber_Subscriber_Ue_Profiles) ΛEnumTypeMap

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

type AetherSubscriber_Subscriber_Ue_Profiles_AccessProfile

type AetherSubscriber_Subscriber_Ue_Profiles_AccessProfile struct {
	AccessProfile *string `path:"access-profile" module:"aether-subscriber"`
	Allowed       *bool   `path:"allowed" module:"aether-subscriber"`
}

AetherSubscriber_Subscriber_Ue_Profiles_AccessProfile represents the /aether-subscriber/subscriber/ue/profiles/access-profile YANG schema element.

func (*AetherSubscriber_Subscriber_Ue_Profiles_AccessProfile) IsYANGGoStruct

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

func (*AetherSubscriber_Subscriber_Ue_Profiles_AccessProfile) Validate

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

func (*AetherSubscriber_Subscriber_Ue_Profiles_AccessProfile) ΛEnumTypeMap

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

func (*AetherSubscriber_Subscriber_Ue_Profiles_AccessProfile) ΛListKeyMap

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

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

type AetherSubscriber_Subscriber_Ue_ServingPlmn

type AetherSubscriber_Subscriber_Ue_ServingPlmn struct {
	Mcc *uint32 `path:"mcc" module:"aether-subscriber"`
	Mnc *uint32 `path:"mnc" module:"aether-subscriber"`
	Tac *uint32 `path:"tac" module:"aether-subscriber"`
}

AetherSubscriber_Subscriber_Ue_ServingPlmn represents the /aether-subscriber/subscriber/ue/serving-plmn YANG schema element.

func (*AetherSubscriber_Subscriber_Ue_ServingPlmn) IsYANGGoStruct

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

func (*AetherSubscriber_Subscriber_Ue_ServingPlmn) Validate

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

func (*AetherSubscriber_Subscriber_Ue_ServingPlmn) ΛEnumTypeMap

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

type ApnProfile_ApnProfile

type ApnProfile_ApnProfile struct {
	ApnProfile map[string]*ApnProfile_ApnProfile_ApnProfile `path:"apn-profile" module:"apn-profile"`
}

ApnProfile_ApnProfile represents the /apn-profile/apn-profile YANG schema element.

func (*ApnProfile_ApnProfile) IsYANGGoStruct

func (*ApnProfile_ApnProfile) IsYANGGoStruct()

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

func (*ApnProfile_ApnProfile) NewApnProfile

NewApnProfile creates a new entry in the ApnProfile list of the ApnProfile_ApnProfile struct. The keys of the list are populated from the input arguments.

func (*ApnProfile_ApnProfile) Validate

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

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

func (*ApnProfile_ApnProfile) ΛEnumTypeMap

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

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

type ApnProfile_ApnProfile_ApnProfile

type ApnProfile_ApnProfile_ApnProfile struct {
	ApnName      *string `path:"apn-name" module:"apn-profile"`
	Description  *string `path:"description" module:"apn-profile"`
	DisplayName  *string `path:"display-name" module:"apn-profile"`
	DnsPrimary   *string `path:"dns-primary" module:"apn-profile"`
	DnsSecondary *string `path:"dns-secondary" module:"apn-profile"`
	GxEnabled    *bool   `path:"gx-enabled" module:"apn-profile"`
	Id           *string `path:"id" module:"apn-profile"`
	Mtu          *uint32 `path:"mtu" module:"apn-profile"`
	ServiceGroup *string `path:"service-group" module:"apn-profile"`
}

ApnProfile_ApnProfile_ApnProfile represents the /apn-profile/apn-profile/apn-profile YANG schema element.

func (*ApnProfile_ApnProfile_ApnProfile) IsYANGGoStruct

func (*ApnProfile_ApnProfile_ApnProfile) IsYANGGoStruct()

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

func (*ApnProfile_ApnProfile_ApnProfile) Validate

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

func (*ApnProfile_ApnProfile_ApnProfile) ΛEnumTypeMap

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

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

ΛListKeyMap returns the keys of the ApnProfile_ApnProfile_ApnProfile 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 ConnectivityService_ConnectivityService

type ConnectivityService_ConnectivityService struct {
	ConnectivityService map[string]*ConnectivityService_ConnectivityService_ConnectivityService `path:"connectivity-service" module:"connectivity-service"`
}

ConnectivityService_ConnectivityService represents the /connectivity-service/connectivity-service YANG schema element.

func (*ConnectivityService_ConnectivityService) IsYANGGoStruct

func (*ConnectivityService_ConnectivityService) IsYANGGoStruct()

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

func (*ConnectivityService_ConnectivityService) NewConnectivityService

NewConnectivityService creates a new entry in the ConnectivityService list of the ConnectivityService_ConnectivityService struct. The keys of the list are populated from the input arguments.

func (*ConnectivityService_ConnectivityService) Validate

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

func (*ConnectivityService_ConnectivityService) ΛEnumTypeMap

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

type ConnectivityService_ConnectivityService_ConnectivityService

type ConnectivityService_ConnectivityService_ConnectivityService struct {
	Description   *string `path:"description" module:"connectivity-service"`
	DisplayName   *string `path:"display-name" module:"connectivity-service"`
	HssEndpoint   *string `path:"hss-endpoint" module:"connectivity-service"`
	Id            *string `path:"id" module:"connectivity-service"`
	PcrfEndpoint  *string `path:"pcrf-endpoint" module:"connectivity-service"`
	SpgwcEndpoint *string `path:"spgwc-endpoint" module:"connectivity-service"`
}

ConnectivityService_ConnectivityService_ConnectivityService represents the /connectivity-service/connectivity-service/connectivity-service YANG schema element.

func (*ConnectivityService_ConnectivityService_ConnectivityService) IsYANGGoStruct

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

func (*ConnectivityService_ConnectivityService_ConnectivityService) Validate

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

func (*ConnectivityService_ConnectivityService_ConnectivityService) ΛEnumTypeMap

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

func (*ConnectivityService_ConnectivityService_ConnectivityService) ΛListKeyMap

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

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

type Device

type Device struct {
	AccessProfile       *AccessProfile_AccessProfile             `path:"access-profile" module:"access-profile"`
	ApnProfile          *ApnProfile_ApnProfile                   `path:"apn-profile" module:"apn-profile"`
	ConnectivityService *ConnectivityService_ConnectivityService `path:"connectivity-service" module:"connectivity-service"`
	Enterprise          *Enterprise_Enterprise                   `path:"enterprise" module:"enterprise"`
	QosProfile          *QosProfile_QosProfile                   `path:"qos-profile" module:"qos-profile"`
	SecurityProfile     *SecurityProfile_SecurityProfile         `path:"security-profile" module:"security-profile"`
	ServiceGroup        *ServiceGroup_ServiceGroup               `path:"service-group" module:"service-group"`
	ServicePolicy       *ServicePolicy_ServicePolicy             `path:"service-policy" module:"service-policy"`
	ServiceRule         *ServiceRule_ServiceRule                 `path:"service-rule" module:"service-rule"`
	Subscriber          *AetherSubscriber_Subscriber             `path:"subscriber" module:"aether-subscriber"`
	UpProfile           *UpProfile_UpProfile                     `path:"up-profile" module:"up-profile"`
}

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 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 {
	ConnectivityService map[string]*Enterprise_Enterprise_Enterprise_ConnectivityService `path:"connectivity-service" module:"enterprise"`
	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) NewConnectivityService

NewConnectivityService creates a new entry in the ConnectivityService list of the Enterprise_Enterprise_Enterprise struct. The keys of the list are populated from the input arguments.

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 Enterprise_Enterprise_Enterprise_ConnectivityService

type Enterprise_Enterprise_Enterprise_ConnectivityService struct {
	ConnectivityService *string `path:"connectivity-service" module:"enterprise"`
	Enabled             *bool   `path:"enabled" module:"enterprise"`
}

Enterprise_Enterprise_Enterprise_ConnectivityService represents the /enterprise/enterprise/enterprise/connectivity-service YANG schema element.

func (*Enterprise_Enterprise_Enterprise_ConnectivityService) IsYANGGoStruct

IsYANGGoStruct ensures that Enterprise_Enterprise_Enterprise_ConnectivityService 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_ConnectivityService) Validate

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

func (*Enterprise_Enterprise_Enterprise_ConnectivityService) ΛEnumTypeMap

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

func (*Enterprise_Enterprise_Enterprise_ConnectivityService) ΛListKeyMap

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

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

type QosProfile_QosProfile

type QosProfile_QosProfile struct {
	QosProfile map[string]*QosProfile_QosProfile_QosProfile `path:"qos-profile" module:"qos-profile"`
}

QosProfile_QosProfile represents the /qos-profile/qos-profile YANG schema element.

func (*QosProfile_QosProfile) IsYANGGoStruct

func (*QosProfile_QosProfile) IsYANGGoStruct()

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

func (*QosProfile_QosProfile) NewQosProfile

NewQosProfile creates a new entry in the QosProfile list of the QosProfile_QosProfile struct. The keys of the list are populated from the input arguments.

func (*QosProfile_QosProfile) Validate

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

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

func (*QosProfile_QosProfile) ΛEnumTypeMap

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

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

type QosProfile_QosProfile_QosProfile

type QosProfile_QosProfile_QosProfile struct {
	ApnAmbr     *QosProfile_QosProfile_QosProfile_ApnAmbr `path:"apn-ambr" module:"qos-profile"`
	Arp         *QosProfile_QosProfile_QosProfile_Arp     `path:"arp" module:"qos-profile"`
	Description *string                                   `path:"description" module:"qos-profile"`
	DisplayName *string                                   `path:"display-name" module:"qos-profile"`
	Id          *string                                   `path:"id" module:"qos-profile"`
	Qci         *uint32                                   `path:"qci" module:"qos-profile"`
}

QosProfile_QosProfile_QosProfile represents the /qos-profile/qos-profile/qos-profile YANG schema element.

func (*QosProfile_QosProfile_QosProfile) IsYANGGoStruct

func (*QosProfile_QosProfile_QosProfile) IsYANGGoStruct()

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

func (*QosProfile_QosProfile_QosProfile) Validate

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

func (*QosProfile_QosProfile_QosProfile) ΛEnumTypeMap

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

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

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

type QosProfile_QosProfile_QosProfile_ApnAmbr

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

QosProfile_QosProfile_QosProfile_ApnAmbr represents the /qos-profile/qos-profile/qos-profile/apn-ambr YANG schema element.

func (*QosProfile_QosProfile_QosProfile_ApnAmbr) IsYANGGoStruct

func (*QosProfile_QosProfile_QosProfile_ApnAmbr) IsYANGGoStruct()

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

func (*QosProfile_QosProfile_QosProfile_ApnAmbr) Validate

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

func (*QosProfile_QosProfile_QosProfile_ApnAmbr) ΛEnumTypeMap

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

type QosProfile_QosProfile_QosProfile_Arp

type QosProfile_QosProfile_QosProfile_Arp struct {
	PreemptionCapability    *bool   `path:"preemption-capability" module:"qos-profile"`
	PreemptionVulnerability *bool   `path:"preemption-vulnerability" module:"qos-profile"`
	Priority                *uint32 `path:"priority" module:"qos-profile"`
}

QosProfile_QosProfile_QosProfile_Arp represents the /qos-profile/qos-profile/qos-profile/arp YANG schema element.

func (*QosProfile_QosProfile_QosProfile_Arp) IsYANGGoStruct

func (*QosProfile_QosProfile_QosProfile_Arp) IsYANGGoStruct()

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

func (*QosProfile_QosProfile_QosProfile_Arp) Validate

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

func (*QosProfile_QosProfile_QosProfile_Arp) ΛEnumTypeMap

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

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

type SecurityProfile_SecurityProfile

type SecurityProfile_SecurityProfile struct {
	SecurityProfile map[string]*SecurityProfile_SecurityProfile_SecurityProfile `path:"security-profile" module:"security-profile"`
}

SecurityProfile_SecurityProfile represents the /security-profile/security-profile YANG schema element.

func (*SecurityProfile_SecurityProfile) IsYANGGoStruct

func (*SecurityProfile_SecurityProfile) IsYANGGoStruct()

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

func (*SecurityProfile_SecurityProfile) NewSecurityProfile

NewSecurityProfile creates a new entry in the SecurityProfile list of the SecurityProfile_SecurityProfile struct. The keys of the list are populated from the input arguments.

func (*SecurityProfile_SecurityProfile) Validate

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

func (*SecurityProfile_SecurityProfile) ΛEnumTypeMap

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

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

type SecurityProfile_SecurityProfile_SecurityProfile

type SecurityProfile_SecurityProfile_SecurityProfile struct {
	Description   *string `path:"description" module:"security-profile"`
	DisplayName   *string `path:"display-name" module:"security-profile"`
	Id            *string `path:"id" module:"security-profile"`
	ImsiRangeFrom *uint64 `path:"imsi-range-from" module:"security-profile"`
	ImsiRangeTo   *uint64 `path:"imsi-range-to" module:"security-profile"`
	Key           *string `path:"key" module:"security-profile"`
	Opc           *string `path:"opc" module:"security-profile"`
	Sqn           *uint32 `path:"sqn" module:"security-profile"`
}

SecurityProfile_SecurityProfile_SecurityProfile represents the /security-profile/security-profile/security-profile YANG schema element.

func (*SecurityProfile_SecurityProfile_SecurityProfile) IsYANGGoStruct

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

func (*SecurityProfile_SecurityProfile_SecurityProfile) Validate

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

func (*SecurityProfile_SecurityProfile_SecurityProfile) ΛEnumTypeMap

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

func (*SecurityProfile_SecurityProfile_SecurityProfile) ΛListKeyMap

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

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

type ServiceGroup_ServiceGroup

type ServiceGroup_ServiceGroup struct {
	ServiceGroup map[string]*ServiceGroup_ServiceGroup_ServiceGroup `path:"service-group" module:"service-group"`
}

ServiceGroup_ServiceGroup represents the /service-group/service-group YANG schema element.

func (*ServiceGroup_ServiceGroup) IsYANGGoStruct

func (*ServiceGroup_ServiceGroup) IsYANGGoStruct()

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

func (*ServiceGroup_ServiceGroup) NewServiceGroup

NewServiceGroup creates a new entry in the ServiceGroup list of the ServiceGroup_ServiceGroup struct. The keys of the list are populated from the input arguments.

func (*ServiceGroup_ServiceGroup) Validate

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

func (*ServiceGroup_ServiceGroup) ΛEnumTypeMap

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

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

type ServiceGroup_ServiceGroup_ServiceGroup

type ServiceGroup_ServiceGroup_ServiceGroup struct {
	Description     *string                                                            `path:"description" module:"service-group"`
	DisplayName     *string                                                            `path:"display-name" module:"service-group"`
	Id              *string                                                            `path:"id" module:"service-group"`
	ServicePolicies map[string]*ServiceGroup_ServiceGroup_ServiceGroup_ServicePolicies `path:"service-policies" module:"service-group"`
}

ServiceGroup_ServiceGroup_ServiceGroup represents the /service-group/service-group/service-group YANG schema element.

func (*ServiceGroup_ServiceGroup_ServiceGroup) IsYANGGoStruct

func (*ServiceGroup_ServiceGroup_ServiceGroup) IsYANGGoStruct()

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

func (*ServiceGroup_ServiceGroup_ServiceGroup) NewServicePolicies

NewServicePolicies creates a new entry in the ServicePolicies list of the ServiceGroup_ServiceGroup_ServiceGroup struct. The keys of the list are populated from the input arguments.

func (*ServiceGroup_ServiceGroup_ServiceGroup) Validate

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

func (*ServiceGroup_ServiceGroup_ServiceGroup) ΛEnumTypeMap

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

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

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

type ServiceGroup_ServiceGroup_ServiceGroup_ServicePolicies

type ServiceGroup_ServiceGroup_ServiceGroup_ServicePolicies struct {
	Kind          *string `path:"kind" module:"service-group"`
	ServicePolicy *string `path:"service-policy" module:"service-group"`
}

ServiceGroup_ServiceGroup_ServiceGroup_ServicePolicies represents the /service-group/service-group/service-group/service-policies YANG schema element.

func (*ServiceGroup_ServiceGroup_ServiceGroup_ServicePolicies) IsYANGGoStruct

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

func (*ServiceGroup_ServiceGroup_ServiceGroup_ServicePolicies) Validate

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

func (*ServiceGroup_ServiceGroup_ServiceGroup_ServicePolicies) ΛEnumTypeMap

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

func (*ServiceGroup_ServiceGroup_ServiceGroup_ServicePolicies) ΛListKeyMap

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

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

type ServicePolicy_ServicePolicy

type ServicePolicy_ServicePolicy struct {
	ServicePolicy map[string]*ServicePolicy_ServicePolicy_ServicePolicy `path:"service-policy" module:"service-policy"`
}

ServicePolicy_ServicePolicy represents the /service-policy/service-policy YANG schema element.

func (*ServicePolicy_ServicePolicy) IsYANGGoStruct

func (*ServicePolicy_ServicePolicy) IsYANGGoStruct()

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

func (*ServicePolicy_ServicePolicy) NewServicePolicy

NewServicePolicy creates a new entry in the ServicePolicy list of the ServicePolicy_ServicePolicy struct. The keys of the list are populated from the input arguments.

func (*ServicePolicy_ServicePolicy) Validate

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

func (*ServicePolicy_ServicePolicy) ΛEnumTypeMap

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

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

type ServicePolicy_ServicePolicy_ServicePolicy

type ServicePolicy_ServicePolicy_ServicePolicy struct {
	Ambr        *ServicePolicy_ServicePolicy_ServicePolicy_Ambr             `path:"ambr" module:"service-policy"`
	Arp         *uint32                                                     `path:"arp" module:"service-policy"`
	Description *string                                                     `path:"description" module:"service-policy"`
	DisplayName *string                                                     `path:"display-name" module:"service-policy"`
	Id          *string                                                     `path:"id" module:"service-policy"`
	Qci         *uint32                                                     `path:"qci" module:"service-policy"`
	Rules       map[string]*ServicePolicy_ServicePolicy_ServicePolicy_Rules `path:"rules" module:"service-policy"`
}

ServicePolicy_ServicePolicy_ServicePolicy represents the /service-policy/service-policy/service-policy YANG schema element.

func (*ServicePolicy_ServicePolicy_ServicePolicy) IsYANGGoStruct

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

func (*ServicePolicy_ServicePolicy_ServicePolicy) NewRules

NewRules creates a new entry in the Rules list of the ServicePolicy_ServicePolicy_ServicePolicy struct. The keys of the list are populated from the input arguments.

func (*ServicePolicy_ServicePolicy_ServicePolicy) Validate

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

func (*ServicePolicy_ServicePolicy_ServicePolicy) ΛEnumTypeMap

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

func (*ServicePolicy_ServicePolicy_ServicePolicy) ΛListKeyMap

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

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

type ServicePolicy_ServicePolicy_ServicePolicy_Ambr

type ServicePolicy_ServicePolicy_ServicePolicy_Ambr struct {
	Downlink *uint32 `path:"downlink" module:"service-policy"`
	Uplink   *uint32 `path:"uplink" module:"service-policy"`
}

ServicePolicy_ServicePolicy_ServicePolicy_Ambr represents the /service-policy/service-policy/service-policy/ambr YANG schema element.

func (*ServicePolicy_ServicePolicy_ServicePolicy_Ambr) IsYANGGoStruct

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

func (*ServicePolicy_ServicePolicy_ServicePolicy_Ambr) Validate

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

func (*ServicePolicy_ServicePolicy_ServicePolicy_Ambr) ΛEnumTypeMap

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

type ServicePolicy_ServicePolicy_ServicePolicy_Rules

type ServicePolicy_ServicePolicy_ServicePolicy_Rules struct {
	Enabled *bool   `path:"enabled" module:"service-policy"`
	Rule    *string `path:"rule" module:"service-policy"`
}

ServicePolicy_ServicePolicy_ServicePolicy_Rules represents the /service-policy/service-policy/service-policy/rules YANG schema element.

func (*ServicePolicy_ServicePolicy_ServicePolicy_Rules) IsYANGGoStruct

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

func (*ServicePolicy_ServicePolicy_ServicePolicy_Rules) Validate

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

func (*ServicePolicy_ServicePolicy_ServicePolicy_Rules) ΛEnumTypeMap

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

func (*ServicePolicy_ServicePolicy_ServicePolicy_Rules) ΛListKeyMap

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

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

type ServiceRule_ServiceRule

type ServiceRule_ServiceRule struct {
	ServiceRule map[string]*ServiceRule_ServiceRule_ServiceRule `path:"service-rule" module:"service-rule"`
}

ServiceRule_ServiceRule represents the /service-rule/service-rule YANG schema element.

func (*ServiceRule_ServiceRule) IsYANGGoStruct

func (*ServiceRule_ServiceRule) IsYANGGoStruct()

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

func (*ServiceRule_ServiceRule) NewServiceRule

NewServiceRule creates a new entry in the ServiceRule list of the ServiceRule_ServiceRule struct. The keys of the list are populated from the input arguments.

func (*ServiceRule_ServiceRule) Validate

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

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

func (*ServiceRule_ServiceRule) ΛEnumTypeMap

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

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

type ServiceRule_ServiceRule_ServiceRule

type ServiceRule_ServiceRule_ServiceRule struct {
	ChargingRuleName *string                                   `path:"charging-rule-name" module:"service-rule"`
	Description      *string                                   `path:"description" module:"service-rule"`
	DisplayName      *string                                   `path:"display-name" module:"service-rule"`
	Flow             *ServiceRule_ServiceRule_ServiceRule_Flow `path:"flow" module:"service-rule"`
	Id               *string                                   `path:"id" module:"service-rule"`
	Qos              *ServiceRule_ServiceRule_ServiceRule_Qos  `path:"qos" module:"service-rule"`
}

ServiceRule_ServiceRule_ServiceRule represents the /service-rule/service-rule/service-rule YANG schema element.

func (*ServiceRule_ServiceRule_ServiceRule) IsYANGGoStruct

func (*ServiceRule_ServiceRule_ServiceRule) IsYANGGoStruct()

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

func (*ServiceRule_ServiceRule_ServiceRule) Validate

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

func (*ServiceRule_ServiceRule_ServiceRule) ΛEnumTypeMap

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

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

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

type ServiceRule_ServiceRule_ServiceRule_Flow

type ServiceRule_ServiceRule_ServiceRule_Flow struct {
	Specification *string `path:"specification" module:"service-rule"`
}

ServiceRule_ServiceRule_ServiceRule_Flow represents the /service-rule/service-rule/service-rule/flow YANG schema element.

func (*ServiceRule_ServiceRule_ServiceRule_Flow) IsYANGGoStruct

func (*ServiceRule_ServiceRule_ServiceRule_Flow) IsYANGGoStruct()

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

func (*ServiceRule_ServiceRule_ServiceRule_Flow) Validate

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

func (*ServiceRule_ServiceRule_ServiceRule_Flow) ΛEnumTypeMap

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

type ServiceRule_ServiceRule_ServiceRule_Qos

type ServiceRule_ServiceRule_ServiceRule_Qos struct {
	AggregateMaximumBitrate   *ServiceRule_ServiceRule_ServiceRule_Qos_AggregateMaximumBitrate   `path:"aggregate-maximum-bitrate" module:"service-rule"`
	Arp                       *ServiceRule_ServiceRule_ServiceRule_Qos_Arp                       `path:"arp" module:"service-rule"`
	GuaranteedBitrate         *ServiceRule_ServiceRule_ServiceRule_Qos_GuaranteedBitrate         `path:"guaranteed-bitrate" module:"service-rule"`
	MaximumRequestedBandwidth *ServiceRule_ServiceRule_ServiceRule_Qos_MaximumRequestedBandwidth `path:"maximum-requested-bandwidth" module:"service-rule"`
	Qci                       *uint32                                                            `path:"qci" module:"service-rule"`
}

ServiceRule_ServiceRule_ServiceRule_Qos represents the /service-rule/service-rule/service-rule/qos YANG schema element.

func (*ServiceRule_ServiceRule_ServiceRule_Qos) IsYANGGoStruct

func (*ServiceRule_ServiceRule_ServiceRule_Qos) IsYANGGoStruct()

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

func (*ServiceRule_ServiceRule_ServiceRule_Qos) Validate

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

func (*ServiceRule_ServiceRule_ServiceRule_Qos) ΛEnumTypeMap

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

type ServiceRule_ServiceRule_ServiceRule_Qos_AggregateMaximumBitrate

type ServiceRule_ServiceRule_ServiceRule_Qos_AggregateMaximumBitrate struct {
	Downlink *uint32 `path:"downlink" module:"service-rule"`
	Uplink   *uint32 `path:"uplink" module:"service-rule"`
}

ServiceRule_ServiceRule_ServiceRule_Qos_AggregateMaximumBitrate represents the /service-rule/service-rule/service-rule/qos/aggregate-maximum-bitrate YANG schema element.

func (*ServiceRule_ServiceRule_ServiceRule_Qos_AggregateMaximumBitrate) IsYANGGoStruct

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

func (*ServiceRule_ServiceRule_ServiceRule_Qos_AggregateMaximumBitrate) Validate

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

func (*ServiceRule_ServiceRule_ServiceRule_Qos_AggregateMaximumBitrate) ΛEnumTypeMap

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

type ServiceRule_ServiceRule_ServiceRule_Qos_Arp

type ServiceRule_ServiceRule_ServiceRule_Qos_Arp struct {
	PreemptionCapability    *bool   `path:"preemption-capability" module:"service-rule"`
	PreemptionVulnerability *bool   `path:"preemption-vulnerability" module:"service-rule"`
	Priority                *uint32 `path:"priority" module:"service-rule"`
}

ServiceRule_ServiceRule_ServiceRule_Qos_Arp represents the /service-rule/service-rule/service-rule/qos/arp YANG schema element.

func (*ServiceRule_ServiceRule_ServiceRule_Qos_Arp) IsYANGGoStruct

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

func (*ServiceRule_ServiceRule_ServiceRule_Qos_Arp) Validate

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

func (*ServiceRule_ServiceRule_ServiceRule_Qos_Arp) ΛEnumTypeMap

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

type ServiceRule_ServiceRule_ServiceRule_Qos_GuaranteedBitrate

type ServiceRule_ServiceRule_ServiceRule_Qos_GuaranteedBitrate struct {
	Downlink *uint32 `path:"downlink" module:"service-rule"`
	Uplink   *uint32 `path:"uplink" module:"service-rule"`
}

ServiceRule_ServiceRule_ServiceRule_Qos_GuaranteedBitrate represents the /service-rule/service-rule/service-rule/qos/guaranteed-bitrate YANG schema element.

func (*ServiceRule_ServiceRule_ServiceRule_Qos_GuaranteedBitrate) IsYANGGoStruct

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

func (*ServiceRule_ServiceRule_ServiceRule_Qos_GuaranteedBitrate) Validate

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

func (*ServiceRule_ServiceRule_ServiceRule_Qos_GuaranteedBitrate) ΛEnumTypeMap

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

type ServiceRule_ServiceRule_ServiceRule_Qos_MaximumRequestedBandwidth

type ServiceRule_ServiceRule_ServiceRule_Qos_MaximumRequestedBandwidth struct {
	Downlink *uint32 `path:"downlink" module:"service-rule"`
	Uplink   *uint32 `path:"uplink" module:"service-rule"`
}

ServiceRule_ServiceRule_ServiceRule_Qos_MaximumRequestedBandwidth represents the /service-rule/service-rule/service-rule/qos/maximum-requested-bandwidth YANG schema element.

func (*ServiceRule_ServiceRule_ServiceRule_Qos_MaximumRequestedBandwidth) IsYANGGoStruct

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

func (*ServiceRule_ServiceRule_ServiceRule_Qos_MaximumRequestedBandwidth) Validate

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

func (*ServiceRule_ServiceRule_ServiceRule_Qos_MaximumRequestedBandwidth) ΛEnumTypeMap

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

type UpProfile_UpProfile

type UpProfile_UpProfile struct {
	UpProfile map[string]*UpProfile_UpProfile_UpProfile `path:"up-profile" module:"up-profile"`
}

UpProfile_UpProfile represents the /up-profile/up-profile YANG schema element.

func (*UpProfile_UpProfile) IsYANGGoStruct

func (*UpProfile_UpProfile) IsYANGGoStruct()

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

func (*UpProfile_UpProfile) NewUpProfile

NewUpProfile creates a new entry in the UpProfile list of the UpProfile_UpProfile struct. The keys of the list are populated from the input arguments.

func (*UpProfile_UpProfile) Validate

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

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

func (*UpProfile_UpProfile) ΛEnumTypeMap

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

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

type UpProfile_UpProfile_UpProfile

type UpProfile_UpProfile_UpProfile struct {
	AccessControl *string `path:"access-control" module:"up-profile"`
	Description   *string `path:"description" module:"up-profile"`
	DisplayName   *string `path:"display-name" module:"up-profile"`
	Id            *string `path:"id" module:"up-profile"`
	UserPlane     *string `path:"user-plane" module:"up-profile"`
}

UpProfile_UpProfile_UpProfile represents the /up-profile/up-profile/up-profile YANG schema element.

func (*UpProfile_UpProfile_UpProfile) IsYANGGoStruct

func (*UpProfile_UpProfile_UpProfile) IsYANGGoStruct()

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

func (*UpProfile_UpProfile_UpProfile) Validate

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

func (*UpProfile_UpProfile_UpProfile) ΛEnumTypeMap

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

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

ΛListKeyMap returns the keys of the UpProfile_UpProfile_UpProfile 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