ocni_local_routing_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-local-routing package operational data.

This module contains definitions for the following management objects:

ocni: 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

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ocni

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

	// IPv4 static configuration.
	Vrfipv4 Ocni_Vrfipv4

	// IPv6 static configuration.
	Vrfipv6 Ocni_Vrfipv6
}

Ocni 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 (*Ocni) GetEntityData

func (ocni *Ocni) GetEntityData() *types.CommonEntityData

type Ocni_Vrfipv4

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

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

Ocni_Vrfipv4 IPv4 static configuration

func (*Ocni_Vrfipv4) GetEntityData

func (vrfipv4 *Ocni_Vrfipv4) GetEntityData() *types.CommonEntityData

type Ocni_Vrfipv4_NetworkInstances

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

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

Ocni_Vrfipv4_NetworkInstances Network instances configured on the local system

func (*Ocni_Vrfipv4_NetworkInstances) GetEntityData

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

type Ocni_Vrfipv4_NetworkInstances_NetworkInstance

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

	// A process (instance) of a routing protocol. Some systems may not support
	// more than one instance of a particular routing protocol.
	Protocols Ocni_Vrfipv4_NetworkInstances_NetworkInstance_Protocols
}

Ocni_Vrfipv4_NetworkInstances_NetworkInstance Network instances configured on the local system

func (*Ocni_Vrfipv4_NetworkInstances_NetworkInstance) GetEntityData

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

type Ocni_Vrfipv4_NetworkInstances_NetworkInstance_Protocols

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

	// A process (instance) of a routing protocol. Some systems may not support
	// more than one instance of a particular routing protocol. The type is slice
	// of Ocni_Vrfipv4_NetworkInstances_NetworkInstance_Protocols_Protocol.
	Protocol []*Ocni_Vrfipv4_NetworkInstances_NetworkInstance_Protocols_Protocol
}

Ocni_Vrfipv4_NetworkInstances_NetworkInstance_Protocols A process (instance) of a routing protocol. Some systems may not support more than one instance of a particular routing protocol

func (*Ocni_Vrfipv4_NetworkInstances_NetworkInstance_Protocols) GetEntityData

type Ocni_Vrfipv4_NetworkInstances_NetworkInstance_Protocols_Protocol

type Ocni_Vrfipv4_NetworkInstances_NetworkInstance_Protocols_Protocol struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YListKey   string

	// The protocol name for the routing or forwarding protocol to be
	// instantiated. The type is string.
	Identifier interface{}

	// An operator-assigned identifier for the routing or forwarding protocol. For
	// some processes this leaf may be system defined. The type is string.
	Name interface{}

	// State parameters relating to the routing protocol instance.
	State Ocni_Vrfipv4_NetworkInstances_NetworkInstance_Protocols_Protocol_State

	// List of locally configured static routes.
	StaticRoutes Ocni_Vrfipv4_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes
}

Ocni_Vrfipv4_NetworkInstances_NetworkInstance_Protocols_Protocol A process (instance) of a routing protocol. Some systems may not support more than one instance of a particular routing protocol

func (*Ocni_Vrfipv4_NetworkInstances_NetworkInstance_Protocols_Protocol) GetEntityData

type Ocni_Vrfipv4_NetworkInstances_NetworkInstance_Protocols_Protocol_State

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

	// The protocol identifier for the instance. The type is string.
	Identifier interface{}

	// A unique name for the protocol instance. The type is string.
	Name interface{}

	// A boolean value indicating whether the local protocol instance is enabled.
	// The type is bool.
	Enabled interface{}

	// The default metric within the RIB for entries that are installed by this
	// protocol instance. This value may be overridden by protocol specific
	// configuration options. The lower the metric specified the more preferable
	// the RIB entry is to be selected for use within the network instance. Where
	// multiple entries have the same metric value then these equal cost paths
	// should be treated according to the specified ECMP path selection behaviour
	// for the instance. The type is interface{} with range: 0..4294967295.
	DefaultMetric interface{}
}

Ocni_Vrfipv4_NetworkInstances_NetworkInstance_Protocols_Protocol_State State parameters relating to the routing protocol instance

func (*Ocni_Vrfipv4_NetworkInstances_NetworkInstance_Protocols_Protocol_State) GetEntityData

type Ocni_Vrfipv4_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes

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

	// List of locally configured static routes. The type is slice of
	// Ocni_Vrfipv4_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute.
	StaticRoute []*Ocni_Vrfipv4_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute
}

Ocni_Vrfipv4_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes List of locally configured static routes

func (*Ocni_Vrfipv4_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes) GetEntityData

type Ocni_Vrfipv4_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute

type Ocni_Vrfipv4_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YListKey   string

	// This attribute is a key. Reference to the destination prefix list key. The
	// type is string.
	Prefix interface{}

	// A list of next-hops to be utilised for the static route being specified.
	NextHops Ocni_Vrfipv4_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute_NextHops

	// Operational state data for static routes.
	StaticRoutesState Ocni_Vrfipv4_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute_StaticRoutesState
}

Ocni_Vrfipv4_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute List of locally configured static routes

func (*Ocni_Vrfipv4_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute) GetEntityData

type Ocni_Vrfipv4_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute_NextHops

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

	// A list of next-hops to be utilised for the static route being specified.
	// The type is slice of
	// Ocni_Vrfipv4_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute_NextHops_NextHop.
	NextHop []*Ocni_Vrfipv4_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute_NextHops_NextHop
}

Ocni_Vrfipv4_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute_NextHops A list of next-hops to be utilised for the static route being specified.

func (*Ocni_Vrfipv4_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute_NextHops) GetEntityData

type Ocni_Vrfipv4_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute_NextHops_NextHop

type Ocni_Vrfipv4_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute_NextHops_NextHop struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YListKey   string

	// This attribute is a key. A reference to the index of the current next-hop.
	// The index is intended to be a user-specified value which can be used to
	// reference the next-hop in question, without any other semantics being
	// assigned to it. The type is string.
	Index interface{}

	// Operational state parameters relating to the next-hop entry.
	State Ocni_Vrfipv4_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute_NextHops_NextHop_State

	// Reference to an interface or subinterface.
	InterfaceRef Ocni_Vrfipv4_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute_NextHops_NextHop_InterfaceRef
}

Ocni_Vrfipv4_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute_NextHops_NextHop A list of next-hops to be utilised for the static route being specified.

func (*Ocni_Vrfipv4_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute_NextHops_NextHop) GetEntityData

type Ocni_Vrfipv4_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute_NextHops_NextHop_InterfaceRef

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

	// Operational state for interface-ref.
	State Ocni_Vrfipv4_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute_NextHops_NextHop_InterfaceRef_State
}

Ocni_Vrfipv4_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute_NextHops_NextHop_InterfaceRef Reference to an interface or subinterface

func (*Ocni_Vrfipv4_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute_NextHops_NextHop_InterfaceRef) GetEntityData

type Ocni_Vrfipv4_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute_NextHops_NextHop_InterfaceRef_State

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

	// 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{}
}

Ocni_Vrfipv4_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute_NextHops_NextHop_InterfaceRef_State Operational state for interface-ref

func (*Ocni_Vrfipv4_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute_NextHops_NextHop_InterfaceRef_State) GetEntityData

type Ocni_Vrfipv4_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute_NextHops_NextHop_State

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

	// An user-specified identifier utilised to uniquely reference the next-hop
	// entry in the next-hop list. The value of this index has no semantic meaning
	// other than for referencing the entry. The type is string.
	Index interface{}

	// The next-hop that is to be used for the static route - this may be
	// specified as an IP address, an interface or a pre-defined next-hop type -
	// for instance, DROP or LOCAL_LINK. When this leaf is not set, and the
	// interface-ref value is specified for the next-hop, then the system should
	// treat the prefix as though it is directly connected to the interface. The
	// type is string.
	NextHop interface{}

	// A metric which is utilised to specify the preference of the next-hop entry
	// when it is injected into the RIB. The lower the metric, the more preferable
	// the prefix is. When this value is not specified the metric is inherited
	// from the default metric utilised for static routes within the network
	// instance that the static routes are being instantiated. When multiple
	// next-hops are specified for a static route, the metric is utilised to
	// determine which of the next-hops is to be installed in the RIB. When
	// multiple next-hops have the same metric (be it specified, or simply the
	// default) then these next-hops should all be installed in the RIB. The type
	// is interface{} with range: 0..4294967295.
	Metric interface{}
}

Ocni_Vrfipv4_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute_NextHops_NextHop_State Operational state parameters relating to the next-hop entry

func (*Ocni_Vrfipv4_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute_NextHops_NextHop_State) GetEntityData

type Ocni_Vrfipv4_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute_StaticRoutesState

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

	// Destination prefix for the static route, either IPv4 or IPv6. The type is
	// string.
	Prefix interface{}

	// Set a generic tag value on the route. This tag can be used for filtering
	// routes that are distributed to other routing protocols. The type is string.
	SetTag interface{}
}

Ocni_Vrfipv4_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute_StaticRoutesState Operational state data for static routes

func (*Ocni_Vrfipv4_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute_StaticRoutesState) GetEntityData

type Ocni_Vrfipv6

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

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

Ocni_Vrfipv6 IPv6 static configuration

func (*Ocni_Vrfipv6) GetEntityData

func (vrfipv6 *Ocni_Vrfipv6) GetEntityData() *types.CommonEntityData

type Ocni_Vrfipv6_NetworkInstances

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

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

Ocni_Vrfipv6_NetworkInstances Network instances configured on the local system

func (*Ocni_Vrfipv6_NetworkInstances) GetEntityData

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

type Ocni_Vrfipv6_NetworkInstances_NetworkInstance

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

	// A process (instance) of a routing protocol. Some systems may not support
	// more than one instance of a particular routing protocol.
	Protocols Ocni_Vrfipv6_NetworkInstances_NetworkInstance_Protocols
}

Ocni_Vrfipv6_NetworkInstances_NetworkInstance Network instances configured on the local system

func (*Ocni_Vrfipv6_NetworkInstances_NetworkInstance) GetEntityData

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

type Ocni_Vrfipv6_NetworkInstances_NetworkInstance_Protocols

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

	// A process (instance) of a routing protocol. Some systems may not support
	// more than one instance of a particular routing protocol. The type is slice
	// of Ocni_Vrfipv6_NetworkInstances_NetworkInstance_Protocols_Protocol.
	Protocol []*Ocni_Vrfipv6_NetworkInstances_NetworkInstance_Protocols_Protocol
}

Ocni_Vrfipv6_NetworkInstances_NetworkInstance_Protocols A process (instance) of a routing protocol. Some systems may not support more than one instance of a particular routing protocol

func (*Ocni_Vrfipv6_NetworkInstances_NetworkInstance_Protocols) GetEntityData

type Ocni_Vrfipv6_NetworkInstances_NetworkInstance_Protocols_Protocol

type Ocni_Vrfipv6_NetworkInstances_NetworkInstance_Protocols_Protocol struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YListKey   string

	// The protocol name for the routing or forwarding protocol to be
	// instantiated. The type is string.
	Identifier interface{}

	// An operator-assigned identifier for the routing or forwarding protocol. For
	// some processes this leaf may be system defined. The type is string.
	Name interface{}

	// State parameters relating to the routing protocol instance.
	State Ocni_Vrfipv6_NetworkInstances_NetworkInstance_Protocols_Protocol_State

	// List of locally configured static routes.
	StaticRoutes Ocni_Vrfipv6_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes
}

Ocni_Vrfipv6_NetworkInstances_NetworkInstance_Protocols_Protocol A process (instance) of a routing protocol. Some systems may not support more than one instance of a particular routing protocol

func (*Ocni_Vrfipv6_NetworkInstances_NetworkInstance_Protocols_Protocol) GetEntityData

type Ocni_Vrfipv6_NetworkInstances_NetworkInstance_Protocols_Protocol_State

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

	// The protocol identifier for the instance. The type is string.
	Identifier interface{}

	// A unique name for the protocol instance. The type is string.
	Name interface{}

	// A boolean value indicating whether the local protocol instance is enabled.
	// The type is bool.
	Enabled interface{}

	// The default metric within the RIB for entries that are installed by this
	// protocol instance. This value may be overridden by protocol specific
	// configuration options. The lower the metric specified the more preferable
	// the RIB entry is to be selected for use within the network instance. Where
	// multiple entries have the same metric value then these equal cost paths
	// should be treated according to the specified ECMP path selection behaviour
	// for the instance. The type is interface{} with range: 0..4294967295.
	DefaultMetric interface{}
}

Ocni_Vrfipv6_NetworkInstances_NetworkInstance_Protocols_Protocol_State State parameters relating to the routing protocol instance

func (*Ocni_Vrfipv6_NetworkInstances_NetworkInstance_Protocols_Protocol_State) GetEntityData

type Ocni_Vrfipv6_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes

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

	// List of locally configured static routes. The type is slice of
	// Ocni_Vrfipv6_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute.
	StaticRoute []*Ocni_Vrfipv6_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute
}

Ocni_Vrfipv6_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes List of locally configured static routes

func (*Ocni_Vrfipv6_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes) GetEntityData

type Ocni_Vrfipv6_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute

type Ocni_Vrfipv6_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YListKey   string

	// This attribute is a key. Reference to the destination prefix list key. The
	// type is string.
	Prefix interface{}

	// A list of next-hops to be utilised for the static route being specified.
	NextHops Ocni_Vrfipv6_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute_NextHops

	// Operational state data for static routes.
	StaticRoutesState Ocni_Vrfipv6_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute_StaticRoutesState
}

Ocni_Vrfipv6_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute List of locally configured static routes

func (*Ocni_Vrfipv6_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute) GetEntityData

type Ocni_Vrfipv6_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute_NextHops

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

	// A list of next-hops to be utilised for the static route being specified.
	// The type is slice of
	// Ocni_Vrfipv6_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute_NextHops_NextHop.
	NextHop []*Ocni_Vrfipv6_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute_NextHops_NextHop
}

Ocni_Vrfipv6_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute_NextHops A list of next-hops to be utilised for the static route being specified.

func (*Ocni_Vrfipv6_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute_NextHops) GetEntityData

type Ocni_Vrfipv6_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute_NextHops_NextHop

type Ocni_Vrfipv6_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute_NextHops_NextHop struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YListKey   string

	// This attribute is a key. A reference to the index of the current next-hop.
	// The index is intended to be a user-specified value which can be used to
	// reference the next-hop in question, without any other semantics being
	// assigned to it. The type is string.
	Index interface{}

	// Operational state parameters relating to the next-hop entry.
	State Ocni_Vrfipv6_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute_NextHops_NextHop_State

	// Reference to an interface or subinterface.
	InterfaceRef Ocni_Vrfipv6_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute_NextHops_NextHop_InterfaceRef
}

Ocni_Vrfipv6_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute_NextHops_NextHop A list of next-hops to be utilised for the static route being specified.

func (*Ocni_Vrfipv6_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute_NextHops_NextHop) GetEntityData

type Ocni_Vrfipv6_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute_NextHops_NextHop_InterfaceRef

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

	// Operational state for interface-ref.
	State Ocni_Vrfipv6_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute_NextHops_NextHop_InterfaceRef_State
}

Ocni_Vrfipv6_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute_NextHops_NextHop_InterfaceRef Reference to an interface or subinterface

func (*Ocni_Vrfipv6_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute_NextHops_NextHop_InterfaceRef) GetEntityData

type Ocni_Vrfipv6_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute_NextHops_NextHop_InterfaceRef_State

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

	// 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{}
}

Ocni_Vrfipv6_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute_NextHops_NextHop_InterfaceRef_State Operational state for interface-ref

func (*Ocni_Vrfipv6_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute_NextHops_NextHop_InterfaceRef_State) GetEntityData

type Ocni_Vrfipv6_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute_NextHops_NextHop_State

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

	// An user-specified identifier utilised to uniquely reference the next-hop
	// entry in the next-hop list. The value of this index has no semantic meaning
	// other than for referencing the entry. The type is string.
	Index interface{}

	// The next-hop that is to be used for the static route - this may be
	// specified as an IP address, an interface or a pre-defined next-hop type -
	// for instance, DROP or LOCAL_LINK. When this leaf is not set, and the
	// interface-ref value is specified for the next-hop, then the system should
	// treat the prefix as though it is directly connected to the interface. The
	// type is string.
	NextHop interface{}

	// A metric which is utilised to specify the preference of the next-hop entry
	// when it is injected into the RIB. The lower the metric, the more preferable
	// the prefix is. When this value is not specified the metric is inherited
	// from the default metric utilised for static routes within the network
	// instance that the static routes are being instantiated. When multiple
	// next-hops are specified for a static route, the metric is utilised to
	// determine which of the next-hops is to be installed in the RIB. When
	// multiple next-hops have the same metric (be it specified, or simply the
	// default) then these next-hops should all be installed in the RIB. The type
	// is interface{} with range: 0..4294967295.
	Metric interface{}
}

Ocni_Vrfipv6_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute_NextHops_NextHop_State Operational state parameters relating to the next-hop entry

func (*Ocni_Vrfipv6_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute_NextHops_NextHop_State) GetEntityData

type Ocni_Vrfipv6_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute_StaticRoutesState

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

	// Destination prefix for the static route, either IPv4 or IPv6. The type is
	// string.
	Prefix interface{}

	// Set a generic tag value on the route. This tag can be used for filtering
	// routes that are distributed to other routing protocols. The type is string.
	SetTag interface{}
}

Ocni_Vrfipv6_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute_StaticRoutesState Operational state data for static routes

func (*Ocni_Vrfipv6_NetworkInstances_NetworkInstance_Protocols_Protocol_StaticRoutes_StaticRoute_StaticRoutesState) GetEntityData

Jump to

Keyboard shortcuts

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