vlan_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 monitoring vlans in a Network Element. Copyright (c) 2016-2017 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 VlanStatusType

type VlanStatusType string

VlanStatusType represents Operational state of the VLAN

const (
	VlanStatusType_active VlanStatusType = "active"

	VlanStatusType_suspend VlanStatusType = "suspend"
)

type Vlans

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

	// List of VLANs, keyed by id. The type is slice of Vlans_Vlan.
	Vlan []*Vlans_Vlan
}

Vlans Informaton about VLANs

func (*Vlans) GetEntityData

func (vlans *Vlans) GetEntityData() *types.CommonEntityData

type Vlans_Vlan

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

	// This attribute is a key. VLAN id. The type is interface{} with range:
	// 0..65535.
	Id interface{}

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

	// VLAN status. The type is VlanStatusType.
	Status interface{}

	// Assigned ports. The type is slice of Vlans_Vlan_Ports.
	Ports []*Vlans_Vlan_Ports

	// List of interfaces for a given VLAN. The type is slice of
	// Vlans_Vlan_VlanInterfaces.
	VlanInterfaces []*Vlans_Vlan_VlanInterfaces
}

Vlans_Vlan List of VLANs, keyed by id

func (*Vlans_Vlan) GetEntityData

func (vlan *Vlans_Vlan) GetEntityData() *types.CommonEntityData

type Vlans_Vlan_Ports

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

	// Assigned interface. The type is string.
	Interface interface{}

	// Assigned subinterface. The type is interface{} with range: 0..4294967295.
	Subinterface interface{}
}

Vlans_Vlan_Ports Assigned ports

func (*Vlans_Vlan_Ports) GetEntityData

func (ports *Vlans_Vlan_Ports) GetEntityData() *types.CommonEntityData

type Vlans_Vlan_VlanInterfaces

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

	// This attribute is a key. Assigned interface to the vlan. The type is
	// string.
	Interface interface{}

	// Assigned subinterface to the vlan. The type is interface{} with range:
	// 0..4294967295.
	Subinterface interface{}
}

Vlans_Vlan_VlanInterfaces List of interfaces for a given VLAN

func (*Vlans_Vlan_VlanInterfaces) GetEntityData

func (vlanInterfaces *Vlans_Vlan_VlanInterfaces) GetEntityData() *types.CommonEntityData

Jump to

Keyboard shortcuts

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