Documentation ¶
Overview ¶
This module contains a collection of YANG definitions for Cisco IOS-XR ocni-intfbase package operational data.
This module contains definitions for the following management objects:
ocni-ni-intfbase: An OpenConfig description of a network-instance. This may be a Layer 3 forwarding construct such as a virtual routing and forwarding (VRF) instance, or a Layer 2 instance such as a virtual switch instance (VSI). Mixed Layer 2 and Layer 3 instances are also supported.
Copyright (c) 2013-2018 by Cisco Systems, Inc. All rights reserved.
Index ¶
- type OcniNiIntfbase
- type OcniNiIntfbase_NetworkInstances
- type OcniNiIntfbase_NetworkInstances_NetworkInstance
- type OcniNiIntfbase_NetworkInstances_NetworkInstance_Interfaces
- type OcniNiIntfbase_NetworkInstances_NetworkInstance_Interfaces_Interface
- type OcniNiIntfbase_NetworkInstances_NetworkInstance_Interfaces_Interface_State
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OcniNiIntfbase ¶
type OcniNiIntfbase struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Network instances configured on the local system. NetworkInstances OcniNiIntfbase_NetworkInstances }
OcniNiIntfbase An OpenConfig description of a network-instance. This may be a Layer 3 forwarding construct such as a virtual routing and forwarding (VRF) instance, or a Layer 2 instance such as a virtual switch instance (VSI). Mixed Layer 2 and Layer 3 instances are also supported.
func (*OcniNiIntfbase) GetEntityData ¶
func (ocniNiIntfbase *OcniNiIntfbase) GetEntityData() *types.CommonEntityData
type OcniNiIntfbase_NetworkInstances ¶
type OcniNiIntfbase_NetworkInstances struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Network instances configured on the local system. The type is slice of // OcniNiIntfbase_NetworkInstances_NetworkInstance. NetworkInstance []*OcniNiIntfbase_NetworkInstances_NetworkInstance }
OcniNiIntfbase_NetworkInstances Network instances configured on the local system
func (*OcniNiIntfbase_NetworkInstances) GetEntityData ¶
func (networkInstances *OcniNiIntfbase_NetworkInstances) GetEntityData() *types.CommonEntityData
type OcniNiIntfbase_NetworkInstances_NetworkInstance ¶
type OcniNiIntfbase_NetworkInstances_NetworkInstance struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. A unique name identifying the network instance. // The type is string. Name interface{} // An interface associated with the network instance. Interfaces OcniNiIntfbase_NetworkInstances_NetworkInstance_Interfaces }
OcniNiIntfbase_NetworkInstances_NetworkInstance Network instances configured on the local system
func (*OcniNiIntfbase_NetworkInstances_NetworkInstance) GetEntityData ¶
func (networkInstance *OcniNiIntfbase_NetworkInstances_NetworkInstance) GetEntityData() *types.CommonEntityData
type OcniNiIntfbase_NetworkInstances_NetworkInstance_Interfaces ¶
type OcniNiIntfbase_NetworkInstances_NetworkInstance_Interfaces struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // An interface associated with the network instance. The type is slice of // OcniNiIntfbase_NetworkInstances_NetworkInstance_Interfaces_Interface. Interface []*OcniNiIntfbase_NetworkInstances_NetworkInstance_Interfaces_Interface }
OcniNiIntfbase_NetworkInstances_NetworkInstance_Interfaces An interface associated with the network instance
func (*OcniNiIntfbase_NetworkInstances_NetworkInstance_Interfaces) GetEntityData ¶
func (interfaces *OcniNiIntfbase_NetworkInstances_NetworkInstance_Interfaces) GetEntityData() *types.CommonEntityData
type OcniNiIntfbase_NetworkInstances_NetworkInstance_Interfaces_Interface ¶
type OcniNiIntfbase_NetworkInstances_NetworkInstance_Interfaces_Interface struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. A reference to an identifier for this interface // which acts as a key for this list. The type is string. Id interface{} // Operational state parameters relating to the associated interface. State OcniNiIntfbase_NetworkInstances_NetworkInstance_Interfaces_Interface_State }
OcniNiIntfbase_NetworkInstances_NetworkInstance_Interfaces_Interface An interface associated with the network instance
func (*OcniNiIntfbase_NetworkInstances_NetworkInstance_Interfaces_Interface) GetEntityData ¶
func (self *OcniNiIntfbase_NetworkInstances_NetworkInstance_Interfaces_Interface) GetEntityData() *types.CommonEntityData
type OcniNiIntfbase_NetworkInstances_NetworkInstance_Interfaces_Interface_State ¶
type OcniNiIntfbase_NetworkInstances_NetworkInstance_Interfaces_Interface_State struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // A unique identifier for this interface - this is expressed as a free-text // string. The type is string. Id interface{} // Reference to a base interface. If a reference to a subinterface is // required, this leaf must be specified to indicate the base interface. The // type is string. Interface interface{} // Reference to a subinterface -- this requires the base interface to be // specified using the interface leaf in this container. If only a reference // to a base interface is requuired, this leaf should not be set. The type is // interface{} with range: 0..4294967295. Subinterface interface{} // The address families on the subinterface which are to be associated with // this network instance. When this leaf-list is empty and the network // instance requires Layer 3 information the address families for which the // network instance is enabled should be imported. If the value of this // leaf-list is specified then the association MUST only be made for those // address families that are included in the list. The type is slice of // string. AssociatedAddressFamily []interface{} }
OcniNiIntfbase_NetworkInstances_NetworkInstance_Interfaces_Interface_State Operational state parameters relating to the associated interface
func (*OcniNiIntfbase_NetworkInstances_NetworkInstance_Interfaces_Interface_State) GetEntityData ¶
func (state *OcniNiIntfbase_NetworkInstances_NetworkInstance_Interfaces_Interface_State) GetEntityData() *types.CommonEntityData