Documentation
¶
Overview ¶
Code generated by YGOT. DO NOT EDIT.
Package aether_2_1_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.12.0/genutil/names.go using the following YANG input files:
- aether-subscriber.yang
- apn-profile.yang
- up-profile.yang
- qos-profile.yang
- access-profile.yang
- security-profile.yang
- enterprise.yang
- connectivity-service.yang
- service-group.yang
- service-policy.yang
- service-rule.yang
Imported modules were sourced from:
- ../../../sdran-helm-charts/config-models/aether-2.1.x/files/yang/...
Index ¶
- Variables
- func Schema() (*ytypes.Schema, error)
- func Unmarshal(data []byte, destStruct ygot.GoStruct, opts ...ytypes.UnmarshalOpt) error
- func UnzipSchema() (map[string]*yang.Entry, error)
- type AccessProfile_AccessProfile
- func (*AccessProfile_AccessProfile) IsYANGGoStruct()
- func (t *AccessProfile_AccessProfile) NewAccessProfile(Id string) (*AccessProfile_AccessProfile_AccessProfile, error)
- func (t *AccessProfile_AccessProfile) Validate(opts ...ygot.ValidationOption) error
- func (t *AccessProfile_AccessProfile) ΛEnumTypeMap() map[string][]reflect.Type
- type AccessProfile_AccessProfile_AccessProfile
- func (*AccessProfile_AccessProfile_AccessProfile) IsYANGGoStruct()
- func (t *AccessProfile_AccessProfile_AccessProfile) Validate(opts ...ygot.ValidationOption) error
- func (t *AccessProfile_AccessProfile_AccessProfile) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *AccessProfile_AccessProfile_AccessProfile) ΛListKeyMap() (map[string]interface{}, error)
- type AetherSubscriber_Subscriber
- func (*AetherSubscriber_Subscriber) IsYANGGoStruct()
- func (t *AetherSubscriber_Subscriber) NewUe(Id string) (*AetherSubscriber_Subscriber_Ue, error)
- func (t *AetherSubscriber_Subscriber) Validate(opts ...ygot.ValidationOption) error
- func (t *AetherSubscriber_Subscriber) ΛEnumTypeMap() map[string][]reflect.Type
- type AetherSubscriber_Subscriber_Ue
- func (*AetherSubscriber_Subscriber_Ue) IsYANGGoStruct()
- func (t *AetherSubscriber_Subscriber_Ue) Validate(opts ...ygot.ValidationOption) error
- func (t *AetherSubscriber_Subscriber_Ue) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *AetherSubscriber_Subscriber_Ue) ΛListKeyMap() (map[string]interface{}, error)
- type AetherSubscriber_Subscriber_Ue_Profiles
- func (*AetherSubscriber_Subscriber_Ue_Profiles) IsYANGGoStruct()
- func (t *AetherSubscriber_Subscriber_Ue_Profiles) NewAccessProfile(AccessProfile string) (*AetherSubscriber_Subscriber_Ue_Profiles_AccessProfile, error)
- func (t *AetherSubscriber_Subscriber_Ue_Profiles) Validate(opts ...ygot.ValidationOption) error
- func (t *AetherSubscriber_Subscriber_Ue_Profiles) ΛEnumTypeMap() map[string][]reflect.Type
- type AetherSubscriber_Subscriber_Ue_Profiles_AccessProfile
- func (*AetherSubscriber_Subscriber_Ue_Profiles_AccessProfile) IsYANGGoStruct()
- func (t *AetherSubscriber_Subscriber_Ue_Profiles_AccessProfile) Validate(opts ...ygot.ValidationOption) error
- func (t *AetherSubscriber_Subscriber_Ue_Profiles_AccessProfile) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *AetherSubscriber_Subscriber_Ue_Profiles_AccessProfile) ΛListKeyMap() (map[string]interface{}, error)
- type AetherSubscriber_Subscriber_Ue_ServingPlmn
- type ApnProfile_ApnProfile
- type ApnProfile_ApnProfile_ApnProfile
- func (*ApnProfile_ApnProfile_ApnProfile) IsYANGGoStruct()
- func (t *ApnProfile_ApnProfile_ApnProfile) Validate(opts ...ygot.ValidationOption) error
- func (t *ApnProfile_ApnProfile_ApnProfile) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *ApnProfile_ApnProfile_ApnProfile) ΛListKeyMap() (map[string]interface{}, error)
- type Binary
- type ConnectivityService_ConnectivityService
- func (*ConnectivityService_ConnectivityService) IsYANGGoStruct()
- func (t *ConnectivityService_ConnectivityService) NewConnectivityService(Id string) (*ConnectivityService_ConnectivityService_ConnectivityService, error)
- func (t *ConnectivityService_ConnectivityService) Validate(opts ...ygot.ValidationOption) error
- func (t *ConnectivityService_ConnectivityService) ΛEnumTypeMap() map[string][]reflect.Type
- type ConnectivityService_ConnectivityService_ConnectivityService
- func (*ConnectivityService_ConnectivityService_ConnectivityService) IsYANGGoStruct()
- func (t *ConnectivityService_ConnectivityService_ConnectivityService) Validate(opts ...ygot.ValidationOption) error
- func (t *ConnectivityService_ConnectivityService_ConnectivityService) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *ConnectivityService_ConnectivityService_ConnectivityService) ΛListKeyMap() (map[string]interface{}, error)
- type Device
- type Enterprise_Enterprise
- type Enterprise_Enterprise_Enterprise
- func (*Enterprise_Enterprise_Enterprise) IsYANGGoStruct()
- func (t *Enterprise_Enterprise_Enterprise) NewConnectivityService(ConnectivityService string) (*Enterprise_Enterprise_Enterprise_ConnectivityService, error)
- func (t *Enterprise_Enterprise_Enterprise) Validate(opts ...ygot.ValidationOption) error
- func (t *Enterprise_Enterprise_Enterprise) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Enterprise_Enterprise_Enterprise) ΛListKeyMap() (map[string]interface{}, error)
- type Enterprise_Enterprise_Enterprise_ConnectivityService
- func (*Enterprise_Enterprise_Enterprise_ConnectivityService) IsYANGGoStruct()
- func (t *Enterprise_Enterprise_Enterprise_ConnectivityService) Validate(opts ...ygot.ValidationOption) error
- func (t *Enterprise_Enterprise_Enterprise_ConnectivityService) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Enterprise_Enterprise_Enterprise_ConnectivityService) ΛListKeyMap() (map[string]interface{}, error)
- type QosProfile_QosProfile
- type QosProfile_QosProfile_QosProfile
- func (*QosProfile_QosProfile_QosProfile) IsYANGGoStruct()
- func (t *QosProfile_QosProfile_QosProfile) Validate(opts ...ygot.ValidationOption) error
- func (t *QosProfile_QosProfile_QosProfile) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *QosProfile_QosProfile_QosProfile) ΛListKeyMap() (map[string]interface{}, error)
- type QosProfile_QosProfile_QosProfile_ApnAmbr
- type QosProfile_QosProfile_QosProfile_Arp
- type SecurityProfile_SecurityProfile
- func (*SecurityProfile_SecurityProfile) IsYANGGoStruct()
- func (t *SecurityProfile_SecurityProfile) NewSecurityProfile(Id string) (*SecurityProfile_SecurityProfile_SecurityProfile, error)
- func (t *SecurityProfile_SecurityProfile) Validate(opts ...ygot.ValidationOption) error
- func (t *SecurityProfile_SecurityProfile) ΛEnumTypeMap() map[string][]reflect.Type
- type SecurityProfile_SecurityProfile_SecurityProfile
- func (*SecurityProfile_SecurityProfile_SecurityProfile) IsYANGGoStruct()
- func (t *SecurityProfile_SecurityProfile_SecurityProfile) Validate(opts ...ygot.ValidationOption) error
- func (t *SecurityProfile_SecurityProfile_SecurityProfile) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *SecurityProfile_SecurityProfile_SecurityProfile) ΛListKeyMap() (map[string]interface{}, error)
- type ServiceGroup_ServiceGroup
- func (*ServiceGroup_ServiceGroup) IsYANGGoStruct()
- func (t *ServiceGroup_ServiceGroup) NewServiceGroup(Id string) (*ServiceGroup_ServiceGroup_ServiceGroup, error)
- func (t *ServiceGroup_ServiceGroup) Validate(opts ...ygot.ValidationOption) error
- func (t *ServiceGroup_ServiceGroup) ΛEnumTypeMap() map[string][]reflect.Type
- type ServiceGroup_ServiceGroup_ServiceGroup
- func (*ServiceGroup_ServiceGroup_ServiceGroup) IsYANGGoStruct()
- func (t *ServiceGroup_ServiceGroup_ServiceGroup) NewServicePolicies(ServicePolicy string) (*ServiceGroup_ServiceGroup_ServiceGroup_ServicePolicies, error)
- func (t *ServiceGroup_ServiceGroup_ServiceGroup) Validate(opts ...ygot.ValidationOption) error
- func (t *ServiceGroup_ServiceGroup_ServiceGroup) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *ServiceGroup_ServiceGroup_ServiceGroup) ΛListKeyMap() (map[string]interface{}, error)
- type ServiceGroup_ServiceGroup_ServiceGroup_ServicePolicies
- func (*ServiceGroup_ServiceGroup_ServiceGroup_ServicePolicies) IsYANGGoStruct()
- func (t *ServiceGroup_ServiceGroup_ServiceGroup_ServicePolicies) Validate(opts ...ygot.ValidationOption) error
- func (t *ServiceGroup_ServiceGroup_ServiceGroup_ServicePolicies) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *ServiceGroup_ServiceGroup_ServiceGroup_ServicePolicies) ΛListKeyMap() (map[string]interface{}, error)
- type ServicePolicy_ServicePolicy
- func (*ServicePolicy_ServicePolicy) IsYANGGoStruct()
- func (t *ServicePolicy_ServicePolicy) NewServicePolicy(Id string) (*ServicePolicy_ServicePolicy_ServicePolicy, error)
- func (t *ServicePolicy_ServicePolicy) Validate(opts ...ygot.ValidationOption) error
- func (t *ServicePolicy_ServicePolicy) ΛEnumTypeMap() map[string][]reflect.Type
- type ServicePolicy_ServicePolicy_ServicePolicy
- func (*ServicePolicy_ServicePolicy_ServicePolicy) IsYANGGoStruct()
- func (t *ServicePolicy_ServicePolicy_ServicePolicy) NewRules(Rule string) (*ServicePolicy_ServicePolicy_ServicePolicy_Rules, error)
- func (t *ServicePolicy_ServicePolicy_ServicePolicy) Validate(opts ...ygot.ValidationOption) error
- func (t *ServicePolicy_ServicePolicy_ServicePolicy) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *ServicePolicy_ServicePolicy_ServicePolicy) ΛListKeyMap() (map[string]interface{}, error)
- type ServicePolicy_ServicePolicy_ServicePolicy_Ambr
- type ServicePolicy_ServicePolicy_ServicePolicy_Rules
- func (*ServicePolicy_ServicePolicy_ServicePolicy_Rules) IsYANGGoStruct()
- func (t *ServicePolicy_ServicePolicy_ServicePolicy_Rules) Validate(opts ...ygot.ValidationOption) error
- func (t *ServicePolicy_ServicePolicy_ServicePolicy_Rules) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *ServicePolicy_ServicePolicy_ServicePolicy_Rules) ΛListKeyMap() (map[string]interface{}, error)
- type ServiceRule_ServiceRule
- func (*ServiceRule_ServiceRule) IsYANGGoStruct()
- func (t *ServiceRule_ServiceRule) NewServiceRule(Id string) (*ServiceRule_ServiceRule_ServiceRule, error)
- func (t *ServiceRule_ServiceRule) Validate(opts ...ygot.ValidationOption) error
- func (t *ServiceRule_ServiceRule) ΛEnumTypeMap() map[string][]reflect.Type
- type ServiceRule_ServiceRule_ServiceRule
- func (*ServiceRule_ServiceRule_ServiceRule) IsYANGGoStruct()
- func (t *ServiceRule_ServiceRule_ServiceRule) Validate(opts ...ygot.ValidationOption) error
- func (t *ServiceRule_ServiceRule_ServiceRule) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *ServiceRule_ServiceRule_ServiceRule) ΛListKeyMap() (map[string]interface{}, error)
- type ServiceRule_ServiceRule_ServiceRule_Flow
- type ServiceRule_ServiceRule_ServiceRule_Qos
- type ServiceRule_ServiceRule_ServiceRule_Qos_AggregateMaximumBitrate
- func (*ServiceRule_ServiceRule_ServiceRule_Qos_AggregateMaximumBitrate) IsYANGGoStruct()
- func (t *ServiceRule_ServiceRule_ServiceRule_Qos_AggregateMaximumBitrate) Validate(opts ...ygot.ValidationOption) error
- func (t *ServiceRule_ServiceRule_ServiceRule_Qos_AggregateMaximumBitrate) ΛEnumTypeMap() map[string][]reflect.Type
- type ServiceRule_ServiceRule_ServiceRule_Qos_Arp
- type ServiceRule_ServiceRule_ServiceRule_Qos_GuaranteedBitrate
- func (*ServiceRule_ServiceRule_ServiceRule_Qos_GuaranteedBitrate) IsYANGGoStruct()
- func (t *ServiceRule_ServiceRule_ServiceRule_Qos_GuaranteedBitrate) Validate(opts ...ygot.ValidationOption) error
- func (t *ServiceRule_ServiceRule_ServiceRule_Qos_GuaranteedBitrate) ΛEnumTypeMap() map[string][]reflect.Type
- type ServiceRule_ServiceRule_ServiceRule_Qos_MaximumRequestedBandwidth
- func (*ServiceRule_ServiceRule_ServiceRule_Qos_MaximumRequestedBandwidth) IsYANGGoStruct()
- func (t *ServiceRule_ServiceRule_ServiceRule_Qos_MaximumRequestedBandwidth) Validate(opts ...ygot.ValidationOption) error
- func (t *ServiceRule_ServiceRule_ServiceRule_Qos_MaximumRequestedBandwidth) ΛEnumTypeMap() map[string][]reflect.Type
- type UpProfile_UpProfile
- type UpProfile_UpProfile_UpProfile
- func (*UpProfile_UpProfile_UpProfile) IsYANGGoStruct()
- func (t *UpProfile_UpProfile_UpProfile) Validate(opts ...ygot.ValidationOption) error
- func (t *UpProfile_UpProfile_UpProfile) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *UpProfile_UpProfile_UpProfile) ΛListKeyMap() (map[string]interface{}, error)
- type YANGEmpty
Constants ¶
This section is empty.
Variables ¶
var (
SchemaTree map[string]*yang.Entry
)
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 Unmarshal ¶
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.
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 ¶
func (t *AccessProfile_AccessProfile) NewAccessProfile(Id string) (*AccessProfile_AccessProfile_AccessProfile, error)
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 ¶
func (t *AccessProfile_AccessProfile) Validate(opts ...ygot.ValidationOption) error
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 ¶
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 ¶
func (t *AccessProfile_AccessProfile_AccessProfile) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*AccessProfile_AccessProfile_AccessProfile) ΛEnumTypeMap ¶
func (t *AccessProfile_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.
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 ¶
func (t *AetherSubscriber_Subscriber) NewUe(Id string) (*AetherSubscriber_Subscriber_Ue, error)
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 ¶
func (t *AetherSubscriber_Subscriber) Validate(opts ...ygot.ValidationOption) error
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 ¶
func (t *AetherSubscriber_Subscriber_Ue) Validate(opts ...ygot.ValidationOption) error
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 ¶
func (t *AetherSubscriber_Subscriber_Ue_Profiles) NewAccessProfile(AccessProfile string) (*AetherSubscriber_Subscriber_Ue_Profiles_AccessProfile, error)
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 ¶
func (t *AetherSubscriber_Subscriber_Ue_Profiles) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*AetherSubscriber_Subscriber_Ue_Profiles) ΛEnumTypeMap ¶
func (t *AetherSubscriber_Subscriber_Ue_Profiles) Λ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_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 ¶
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 ¶
func (t *AetherSubscriber_Subscriber_Ue_Profiles_AccessProfile) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*AetherSubscriber_Subscriber_Ue_Profiles_AccessProfile) ΛEnumTypeMap ¶
func (t *AetherSubscriber_Subscriber_Ue_Profiles_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.
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 ¶
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 ¶
func (t *AetherSubscriber_Subscriber_Ue_ServingPlmn) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*AetherSubscriber_Subscriber_Ue_ServingPlmn) ΛEnumTypeMap ¶
func (t *AetherSubscriber_Subscriber_Ue_ServingPlmn) Λ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 ¶
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 ¶
func (t *ApnProfile_ApnProfile) NewApnProfile(Id string) (*ApnProfile_ApnProfile_ApnProfile, error)
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 ¶
func (t *ApnProfile_ApnProfile_ApnProfile) Validate(opts ...ygot.ValidationOption) error
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 ¶
func (t *ConnectivityService_ConnectivityService) NewConnectivityService(Id string) (*ConnectivityService_ConnectivityService_ConnectivityService, error)
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 ¶
func (t *ConnectivityService_ConnectivityService) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*ConnectivityService_ConnectivityService) ΛEnumTypeMap ¶
func (t *ConnectivityService_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 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 ¶
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 ¶
func (t *ConnectivityService_ConnectivityService_ConnectivityService) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*ConnectivityService_ConnectivityService_ConnectivityService) ΛEnumTypeMap ¶
func (t *ConnectivityService_ConnectivityService_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.
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.
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 ¶
func (t *Enterprise_Enterprise) NewEnterprise(Id string) (*Enterprise_Enterprise_Enterprise, error)
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 ¶
func (t *Enterprise_Enterprise_Enterprise) NewConnectivityService(ConnectivityService string) (*Enterprise_Enterprise_Enterprise_ConnectivityService, error)
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 ¶
func (t *Enterprise_Enterprise_Enterprise) Validate(opts ...ygot.ValidationOption) error
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 ¶
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 ¶
func (t *Enterprise_Enterprise_Enterprise_ConnectivityService) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Enterprise_Enterprise_Enterprise_ConnectivityService) ΛEnumTypeMap ¶
func (t *Enterprise_Enterprise_Enterprise_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.
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 ¶
func (t *QosProfile_QosProfile) NewQosProfile(Id string) (*QosProfile_QosProfile_QosProfile, error)
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 ¶
func (t *QosProfile_QosProfile_QosProfile) Validate(opts ...ygot.ValidationOption) error
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 ¶
func (t *QosProfile_QosProfile_QosProfile_ApnAmbr) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*QosProfile_QosProfile_QosProfile_ApnAmbr) ΛEnumTypeMap ¶
func (t *QosProfile_QosProfile_QosProfile_ApnAmbr) Λ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_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 ¶
func (t *QosProfile_QosProfile_QosProfile_Arp) Validate(opts ...ygot.ValidationOption) error
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 ¶
func (t *SecurityProfile_SecurityProfile) NewSecurityProfile(Id string) (*SecurityProfile_SecurityProfile_SecurityProfile, error)
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 ¶
func (t *SecurityProfile_SecurityProfile) Validate(opts ...ygot.ValidationOption) error
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"`
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 ¶
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 ¶
func (t *SecurityProfile_SecurityProfile_SecurityProfile) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*SecurityProfile_SecurityProfile_SecurityProfile) ΛEnumTypeMap ¶
func (t *SecurityProfile_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.
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 ¶
func (t *ServiceGroup_ServiceGroup) NewServiceGroup(Id string) (*ServiceGroup_ServiceGroup_ServiceGroup, error)
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 ¶
func (t *ServiceGroup_ServiceGroup) Validate(opts ...ygot.ValidationOption) error
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 ¶
func (t *ServiceGroup_ServiceGroup_ServiceGroup) NewServicePolicies(ServicePolicy string) (*ServiceGroup_ServiceGroup_ServiceGroup_ServicePolicies, error)
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 ¶
func (t *ServiceGroup_ServiceGroup_ServiceGroup) Validate(opts ...ygot.ValidationOption) error
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 ¶
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 ¶
func (t *ServiceGroup_ServiceGroup_ServiceGroup_ServicePolicies) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*ServiceGroup_ServiceGroup_ServiceGroup_ServicePolicies) ΛEnumTypeMap ¶
func (t *ServiceGroup_ServiceGroup_ServiceGroup_ServicePolicies) Λ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_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 ¶
func (t *ServicePolicy_ServicePolicy) NewServicePolicy(Id string) (*ServicePolicy_ServicePolicy_ServicePolicy, error)
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 ¶
func (t *ServicePolicy_ServicePolicy) Validate(opts ...ygot.ValidationOption) error
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 ¶
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 ¶
func (t *ServicePolicy_ServicePolicy_ServicePolicy) NewRules(Rule string) (*ServicePolicy_ServicePolicy_ServicePolicy_Rules, error)
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 ¶
func (t *ServicePolicy_ServicePolicy_ServicePolicy) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*ServicePolicy_ServicePolicy_ServicePolicy) ΛEnumTypeMap ¶
func (t *ServicePolicy_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.
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 ¶
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 ¶
func (t *ServicePolicy_ServicePolicy_ServicePolicy_Ambr) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*ServicePolicy_ServicePolicy_ServicePolicy_Ambr) ΛEnumTypeMap ¶
func (t *ServicePolicy_ServicePolicy_ServicePolicy_Ambr) Λ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_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 ¶
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 ¶
func (t *ServicePolicy_ServicePolicy_ServicePolicy_Rules) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*ServicePolicy_ServicePolicy_ServicePolicy_Rules) ΛEnumTypeMap ¶
func (t *ServicePolicy_ServicePolicy_ServicePolicy_Rules) Λ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 (*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 ¶
func (t *ServiceRule_ServiceRule) NewServiceRule(Id string) (*ServiceRule_ServiceRule_ServiceRule, error)
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 ¶
func (t *ServiceRule_ServiceRule_ServiceRule) Validate(opts ...ygot.ValidationOption) error
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 ¶
func (t *ServiceRule_ServiceRule_ServiceRule_Flow) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*ServiceRule_ServiceRule_ServiceRule_Flow) ΛEnumTypeMap ¶
func (t *ServiceRule_ServiceRule_ServiceRule_Flow) Λ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_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 ¶
func (t *ServiceRule_ServiceRule_ServiceRule_Qos) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*ServiceRule_ServiceRule_ServiceRule_Qos) ΛEnumTypeMap ¶
func (t *ServiceRule_ServiceRule_ServiceRule_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 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 ¶
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 ¶
func (t *ServiceRule_ServiceRule_ServiceRule_Qos_AggregateMaximumBitrate) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*ServiceRule_ServiceRule_ServiceRule_Qos_AggregateMaximumBitrate) ΛEnumTypeMap ¶
func (t *ServiceRule_ServiceRule_ServiceRule_Qos_AggregateMaximumBitrate) Λ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_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 ¶
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 ¶
func (t *ServiceRule_ServiceRule_ServiceRule_Qos_Arp) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*ServiceRule_ServiceRule_ServiceRule_Qos_Arp) ΛEnumTypeMap ¶
func (t *ServiceRule_ServiceRule_ServiceRule_Qos_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 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 ¶
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 ¶
func (t *ServiceRule_ServiceRule_ServiceRule_Qos_GuaranteedBitrate) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*ServiceRule_ServiceRule_ServiceRule_Qos_GuaranteedBitrate) ΛEnumTypeMap ¶
func (t *ServiceRule_ServiceRule_ServiceRule_Qos_GuaranteedBitrate) Λ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_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 ¶
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 ¶
func (t *ServiceRule_ServiceRule_ServiceRule_Qos_MaximumRequestedBandwidth) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*ServiceRule_ServiceRule_ServiceRule_Qos_MaximumRequestedBandwidth) ΛEnumTypeMap ¶
func (t *ServiceRule_ServiceRule_ServiceRule_Qos_MaximumRequestedBandwidth) Λ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 ¶
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 ¶
func (t *UpProfile_UpProfile) NewUpProfile(Id string) (*UpProfile_UpProfile_UpProfile, error)
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 ¶
func (t *UpProfile_UpProfile_UpProfile) Validate(opts ...ygot.ValidationOption) error
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.