ocni_oper

package
v0.0.0-...-50def94 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

This module contains a collection of YANG definitions for Cisco IOS-XR ocni package operational data.

This module contains definitions for the following management objects:

ocni-ni-base: 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 supaported. Copyright (c) 2017 by
  Cisco Systems, Inc.  All rights reserved.

Copyright (c) 2013-2018 by Cisco Systems, Inc. All rights reserved.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OcniNiBase

type OcniNiBase struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// Network instances configured on the local system.
	NetworkInstances OcniNiBase_NetworkInstances
}

OcniNiBase 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 supaported. Copyright (c) 2017 by Cisco Systems, Inc. All rights reserved.

func (*OcniNiBase) GetEntityData

func (ocniNiBase *OcniNiBase) GetEntityData() *types.CommonEntityData

type OcniNiBase_NetworkInstances

type OcniNiBase_NetworkInstances struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// Network instances configured on the local system. The type is slice of
	// OcniNiBase_NetworkInstances_NetworkInstance.
	NetworkInstance []*OcniNiBase_NetworkInstances_NetworkInstance
}

OcniNiBase_NetworkInstances Network instances configured on the local system

func (*OcniNiBase_NetworkInstances) GetEntityData

func (networkInstances *OcniNiBase_NetworkInstances) GetEntityData() *types.CommonEntityData

type OcniNiBase_NetworkInstances_NetworkInstance

type OcniNiBase_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{}

	// Operational state parameters relating to a network instance.
	State OcniNiBase_NetworkInstances_NetworkInstance_State
}

OcniNiBase_NetworkInstances_NetworkInstance Network instances configured on the local system

func (*OcniNiBase_NetworkInstances_NetworkInstance) GetEntityData

func (networkInstance *OcniNiBase_NetworkInstances_NetworkInstance) GetEntityData() *types.CommonEntityData

type OcniNiBase_NetworkInstances_NetworkInstance_State

type OcniNiBase_NetworkInstances_NetworkInstance_State struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// An operator-assigned unique name for the forwarding instance. The type is
	// string.
	Name interface{}

	// The type of network instance. The value of this leaf indicates the type of
	// forwarding entries that should be supported by this network instance. The
	// type is string.
	Type interface{}

	// Whether the network instance should be configured to be active on the
	// network element. The type is bool.
	Enabled interface{}

	// A free-form string to be used by the network operator to describe the
	// function of this network instance. The type is string.
	Description interface{}

	// The address families that are to be enabled for this network instance. The
	// type is slice of string.
	EnabledAddressFamily []interface{}
}

OcniNiBase_NetworkInstances_NetworkInstance_State Operational state parameters relating to a network instance

func (*OcniNiBase_NetworkInstances_NetworkInstance_State) GetEntityData

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL