bridge_oper

package
v0.0.0-...-fac1166 Latest Latest
Warning

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

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

Documentation

Overview

This module contains a collection of YANG definitions for bridge data. Copyright (c) 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 BridgeInstances

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

	// The bridge lists is an ordered list of bridge entries. Each bridge entries
	// has a list of bridge interface members, and bridge attributes. The type is
	// slice of BridgeInstances_BridgeEntry.
	BridgeEntry []*BridgeInstances_BridgeEntry
}

BridgeInstances This is top level container for bridge table. It can have one or more bridge entry.

func (*BridgeInstances) GetEntityData

func (bridgeInstances *BridgeInstances) GetEntityData() *types.CommonEntityData

type BridgeInstances_BridgeEntry

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

	// This attribute is a key. Bridge id <1..4094>. The type is interface{} with
	// range: 0..4294967295.
	BridgeId interface{}

	// VLAN name. The type is string.
	Name interface{}

	// VLAN identifier <1..4094>. The type is interface{} with range:
	// 0..4294967295.
	Vlan interface{}

	// The name of VLAN routing interface. The type is string.
	RoutingInterface interface{}

	// The maximum number of MAC learn limit for bridge. The type is interface{}
	// with range: 0..4294967295.
	MaxMacs interface{}

	// The number of MAC learned in bridge. The type is interface{} with range:
	// 0..4294967295.
	NumMacs interface{}

	// The aging time of MAC address,0 or <10..1000000> second. The type is
	// interface{} with range: 0..4294967295.
	AgeTime interface{}

	// The number of received packets in bridge. The type is interface{} with
	// range: 0..18446744073709551615.
	RxPackets interface{}

	// The number of received bytes in bridge. The type is interface{} with range:
	// 0..18446744073709551615.
	RxOctets interface{}

	// The number of transmited packets out of bridge. The type is interface{}
	// with range: 0..18446744073709551615.
	TxPackets interface{}

	// The number of transmited bytes out of bridge. The type is interface{} with
	// range: 0..18446744073709551615.
	TxOctets interface{}

	// The number of flood packets in bridge. The type is interface{} with range:
	// 0..18446744073709551615.
	FloodPackets interface{}

	// The number of flood bytes in bridge. The type is interface{} with range:
	// 0..18446744073709551615.
	FloodOctets interface{}

	// L3 packets received from bridge. The type is interface{} with range:
	// 0..18446744073709551615.
	RxRoutedPackets interface{}

	// L3 packets transmit from bridge. The type is interface{} with range:
	// 0..18446744073709551615.
	TxRoutedPackets interface{}

	// MAC learned counter in bridge. The type is interface{} with range:
	// 0..18446744073709551615.
	Learn interface{}

	// MAC aging counter in bridge. The type is interface{} with range:
	// 0..18446744073709551615.
	Age interface{}

	// MAC move counter in bridge. The type is interface{} with range:
	// 0..18446744073709551615.
	Move interface{}

	// Bridge interface member information.
	BridgeIntfEntries BridgeInstances_BridgeEntry_BridgeIntfEntries

	// Bridge matm member information.
	BridgeMatmEntries BridgeInstances_BridgeEntry_BridgeMatmEntries
}

BridgeInstances_BridgeEntry The bridge lists is an ordered list of bridge entries. Each bridge entries has a list of bridge interface members, and bridge attributes.

func (*BridgeInstances_BridgeEntry) GetEntityData

func (bridgeEntry *BridgeInstances_BridgeEntry) GetEntityData() *types.CommonEntityData

type BridgeInstances_BridgeEntry_BridgeIntfEntries

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

	// A list of bridge interface. The type is slice of
	// BridgeInstances_BridgeEntry_BridgeIntfEntries_BridgeIntfEntry.
	BridgeIntfEntry []*BridgeInstances_BridgeEntry_BridgeIntfEntries_BridgeIntfEntry
}

BridgeInstances_BridgeEntry_BridgeIntfEntries Bridge interface member information

func (*BridgeInstances_BridgeEntry_BridgeIntfEntries) GetEntityData

func (bridgeIntfEntries *BridgeInstances_BridgeEntry_BridgeIntfEntries) GetEntityData() *types.CommonEntityData

type BridgeInstances_BridgeEntry_BridgeIntfEntries_BridgeIntfEntry

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

	// This attribute is a key. Switch port name belong to the bridge. The type is
	// string.
	IfName interface{}

	// VLAN identifier. The type is interface{} with range: 0..4294967295.
	Vlan interface{}

	// If the VLAN is native VLAN. The type is bool.
	NativeVlan interface{}

	// Bridge interface administration status. The type is IntfStatusType.
	AdminStatus interface{}

	// Bridge interface operational status. The type is IntfStatusType.
	OperStatus interface{}

	// Bridge interface encapsulation type. The type is string.
	EncapType interface{}

	// Bridge interface index. The type is interface{} with range: 0..4294967295.
	Ifindex interface{}

	// The Maximum Transmission Unit(byte) of Bridge interface. The type is
	// interface{} with range: 0..4294967295.
	Mtu interface{}
}

BridgeInstances_BridgeEntry_BridgeIntfEntries_BridgeIntfEntry A list of bridge interface

func (*BridgeInstances_BridgeEntry_BridgeIntfEntries_BridgeIntfEntry) GetEntityData

type BridgeInstances_BridgeEntry_BridgeMatmEntries

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

	// A list of mac table. The type is slice of
	// BridgeInstances_BridgeEntry_BridgeMatmEntries_BridgeMatmEntry.
	BridgeMatmEntry []*BridgeInstances_BridgeEntry_BridgeMatmEntries_BridgeMatmEntry
}

BridgeInstances_BridgeEntry_BridgeMatmEntries Bridge matm member information

func (*BridgeInstances_BridgeEntry_BridgeMatmEntries) GetEntityData

func (bridgeMatmEntries *BridgeInstances_BridgeEntry_BridgeMatmEntries) GetEntityData() *types.CommonEntityData

type BridgeInstances_BridgeEntry_BridgeMatmEntries_BridgeMatmEntry

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

	// This attribute is a key. MAC address. The type is string with pattern:
	// [0-9a-fA-F]{2}(:[0-9a-fA-F]{2}){5}.
	MacAddress interface{}

	// Interface name which MAC learnt from. The type is slice of string.
	Interface []interface{}

	// VLAN identifier. The type is interface{} with range: 0..4294967295.
	Vlan interface{}

	// MAC type. The type is BridgeMacType.
	Type interface{}
}

BridgeInstances_BridgeEntry_BridgeMatmEntries_BridgeMatmEntry A list of mac table

func (*BridgeInstances_BridgeEntry_BridgeMatmEntries_BridgeMatmEntry) GetEntityData

type BridgeMacType

type BridgeMacType string

BridgeMacType represents MAC address type

const (
	BridgeMacType_bridge_mac_type_static BridgeMacType = "bridge-mac-type-static"

	BridgeMacType_bridge_mac_type_dynamic BridgeMacType = "bridge-mac-type-dynamic"
)

type IntfStatusType

type IntfStatusType string

IntfStatusType represents Interface status type

const (
	IntfStatusType_up IntfStatusType = "up"

	IntfStatusType_down IntfStatusType = "down"
)

Jump to

Keyboard shortcuts

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