cisco_context_mapping_mib

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

A single SNMP agent sometimes needs to support multiple instances of the same MIB module, and does so through the use of multiple SNMP contexts. This typically occurs because the technology has evolved to have extra dimension(s), i.e., one or more extra data and/or identifier values which are different in the different contexts, but were not defined in INDEX clause(s) of the original MIB module. In such cases, network management applications need to know the specific data/identifier values in each context, and this MIB module provides mapping tables which contain that information.

Within a network there can be multiple Virtual Private Networks (VPNs) configured using Virtual Routing and Forwarding Instances (VRFs). Within a VPN there can be multiple topologies when Multi-topology Routing (MTR) is used. Also, Interior Gateway Protocols (IGPs) can have multiple protocol instances running on the device. A network can have multiple broadcast domains configured using Bridge Domain Identifiers.

With MTR routing, VRFs, and Bridge domains, a router now needs to support multiple instances of several existing MIB modules, and this can be achieved if the router's SNMP agent provides access to each instance of the same MIB module via a different SNMP context (see Section 3.1.1 of RFC 3411). For MTR routing, VRFs, and Bridge domains, a different SNMP context is needed depending on one or more of the following: the VRF, the topology-identifier, the routing protocol instance, and the bridge domain identifier. In other words, the router's management information can be accessed through multiple SNMP contexts where each such context represents a specific VRF, a specific topology-identifier, a specific routing protocol instance and/or a bridge domain identifier. This MIB module provides a mapping of each such SNMP context to the corresponding VRF, the corresponding topology, the corresponding routing protocol instance, and the corresponding bridge domain identifier. Some SNMP contexts are independent of VRFs, independent of a topology, independent of a routing protocol instance, or independent of a bridge domain and in such a case, the mapping is to the zero length string.

With the Cisco package licensing strategy, the features available in the image are grouped into multiple packages and each packages can be managed to operate at different feature levels based on the available license. This MIB module provides option to associate an SNMP context to a feature package group. This will allow manageability of license MIB objects specific to a feature package group.

As technology evolves more we may need additional identifiers to identify the context. Then we would need to add those additional identifiers into the mapping.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CISCOCONTEXTMAPPINGMIB

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

	// This table contains information on which cContextMappingVacmContextName is
	// mapped to which VRF, topology, and routing protocol instance.  This table
	// is indexed by SNMP VACM context.  Configuring a row in this table for an
	// SNMP context does not require that the context be already defined, i.e., a
	// row can be created in this table for a context before the corresponding row
	// is created in RFC 3415's vacmContextTable.  To create a row in this table,
	// a manager must set cContextMappingRowStatus to either 'createAndGo' or
	// 'createAndWait'.  To delete a row in this table, a manager must set
	// cContextMappingRowStatus to 'destroy'.
	CContextMappingTable CISCOCONTEXTMAPPINGMIB_CContextMappingTable

	// This table contains information on which cContextMappingVacmContextName is
	// mapped to which bridge domain.  A Bridge Domain is one of the means by
	// which it is possible  to define an Ethernet broadcast domain on a bridging
	// device.  A network can have multiple broadcast domains configured. This
	// table helps the network management personnel to find  out the  details of
	// various broadcast domains configured  in the network.  An entry need to
	// exist in cContextMappingTable, to create  an entry in this table.
	CContextMappingBridgeDomainTable CISCOCONTEXTMAPPINGMIB_CContextMappingBridgeDomainTable

	// This table contains information on mapping between
	// cContextMappingVacmContextName and bridge instance.  Bridge instance is an
	// instance of a physical or logical  bridge which has unique bridge-id.  If
	// an entry is deleted from cContextMappingTable, the corresponding entry in
	// this table will also get deleted.  If an entry needs to be created in this
	// table, the corresponding entry must exist in cContextMappingTable.
	CContextMappingBridgeInstanceTable CISCOCONTEXTMAPPINGMIB_CContextMappingBridgeInstanceTable

	// This table contains information on which cContextMappingVacmContextName is
	// mapped to which License Group. Group level licensing is used where each
	// Technology Package is enabled via a License.
	CContextMappingLicenseGroupTable CISCOCONTEXTMAPPINGMIB_CContextMappingLicenseGroupTable
}

CISCOCONTEXTMAPPINGMIB

func (*CISCOCONTEXTMAPPINGMIB) GetEntityData

func (cISCOCONTEXTMAPPINGMIB *CISCOCONTEXTMAPPINGMIB) GetEntityData() *types.CommonEntityData

type CISCOCONTEXTMAPPINGMIB_CContextMappingBridgeDomainTable

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

	// Information relating to a single mapping of cContextMappingVacmContextName
	// to the  corresponding bridge domain.  To create a row in this table, a
	// manager must set cContextMappingBridgeDomainRowStatus to either
	// 'createAndGo' or 'createAndWait'.  To delete a row in this table, a manager
	// must set cContextMappingBridgeDomainRowStatus to 'destroy'. The type is
	// slice of
	// CISCOCONTEXTMAPPINGMIB_CContextMappingBridgeDomainTable_CContextMappingBridgeDomainEntry.
	CContextMappingBridgeDomainEntry []*CISCOCONTEXTMAPPINGMIB_CContextMappingBridgeDomainTable_CContextMappingBridgeDomainEntry
}

CISCOCONTEXTMAPPINGMIB_CContextMappingBridgeDomainTable This table contains information on which cContextMappingVacmContextName is mapped to which bridge domain.

A Bridge Domain is one of the means by which it is possible to define an Ethernet broadcast domain on a bridging device. A network can have multiple broadcast domains configured. This table helps the network management personnel to find out the details of various broadcast domains configured in the network.

An entry need to exist in cContextMappingTable, to create an entry in this table.

func (*CISCOCONTEXTMAPPINGMIB_CContextMappingBridgeDomainTable) GetEntityData

func (cContextMappingBridgeDomainTable *CISCOCONTEXTMAPPINGMIB_CContextMappingBridgeDomainTable) GetEntityData() *types.CommonEntityData

type CISCOCONTEXTMAPPINGMIB_CContextMappingBridgeDomainTable_CContextMappingBridgeDomainEntry

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

	// This attribute is a key. The type is string with length: 0..32. Refers to
	// cisco_context_mapping_mib.CISCOCONTEXTMAPPINGMIB_CContextMappingTable_CContextMappingEntry_CContextMappingVacmContextName
	CContextMappingVacmContextName interface{}

	// The value of an instance of this object identifies the bridge domain to
	// which the SNMP context is  mapped to. The type is interface{} with range:
	// 1..65535.
	CContextMappingBridgeDomainIdentifier interface{}

	// The storage type for this conceptual row.  Conceptual rows having the value
	// 'permanent' need not allow write-access to any columnar objects in the row.
	// The type is StorageType.
	CContextMappingBridgeDomainStorageType interface{}

	// This object facilitates the creation, modification, or deletion of a
	// conceptual row in this table. The type is RowStatus.
	CContextMappingBridgeDomainRowStatus interface{}
}

CISCOCONTEXTMAPPINGMIB_CContextMappingBridgeDomainTable_CContextMappingBridgeDomainEntry Information relating to a single mapping of cContextMappingVacmContextName to the corresponding bridge domain.

To create a row in this table, a manager must set cContextMappingBridgeDomainRowStatus to either 'createAndGo' or 'createAndWait'.

To delete a row in this table, a manager must set cContextMappingBridgeDomainRowStatus to 'destroy'.

func (*CISCOCONTEXTMAPPINGMIB_CContextMappingBridgeDomainTable_CContextMappingBridgeDomainEntry) GetEntityData

type CISCOCONTEXTMAPPINGMIB_CContextMappingBridgeInstanceTable

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

	// Information relating to a single mapping of cContextMappingVacmContextName
	// to the  corresponding bridge instance.  To create a row in this table, a
	// manager must set cContextMappingBridgeInstRowStatus to either
	// 'createAndGo' or 'createAndWait'.  To delete a row in this table, a manager
	// must set cContextMappingBridgeInstRowStatus to 'destroy'. The type is slice
	// of
	// CISCOCONTEXTMAPPINGMIB_CContextMappingBridgeInstanceTable_CContextMappingBridgeInstanceEntry.
	CContextMappingBridgeInstanceEntry []*CISCOCONTEXTMAPPINGMIB_CContextMappingBridgeInstanceTable_CContextMappingBridgeInstanceEntry
}

CISCOCONTEXTMAPPINGMIB_CContextMappingBridgeInstanceTable This table contains information on mapping between cContextMappingVacmContextName and bridge instance.

Bridge instance is an instance of a physical or logical bridge which has unique bridge-id.

If an entry is deleted from cContextMappingTable, the corresponding entry in this table will also get deleted.

If an entry needs to be created in this table, the corresponding entry must exist in cContextMappingTable.

func (*CISCOCONTEXTMAPPINGMIB_CContextMappingBridgeInstanceTable) GetEntityData

func (cContextMappingBridgeInstanceTable *CISCOCONTEXTMAPPINGMIB_CContextMappingBridgeInstanceTable) GetEntityData() *types.CommonEntityData

type CISCOCONTEXTMAPPINGMIB_CContextMappingBridgeInstanceTable_CContextMappingBridgeInstanceEntry

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

	// This attribute is a key. The type is string with length: 0..32. Refers to
	// cisco_context_mapping_mib.CISCOCONTEXTMAPPINGMIB_CContextMappingTable_CContextMappingEntry_CContextMappingVacmContextName
	CContextMappingVacmContextName interface{}

	// The object identifies the name given to bridge instance to which the SNMP
	// context is mapped to.  Value of this object cannot be changed when the
	// RowStatus object in the same row is 'active'.  This is typically a
	// human-readable string. This is the same ASCII string used in the router's
	// console interface to refer to this bridge instance.  When the value of this
	// object is a zero length string, it indicates that the SNMP context is
	// independent of any bridge instances. The type is string.
	CContextMappingBridgeInstName interface{}

	// The storage type for this conceptual row.  Value of this object cannot be
	// changed when the  RowStatus object in the same row is 'active'.  Conceptual
	// rows having the value 'permanent' need not allow write-access to any
	// columnar objects in the row. The type is StorageType.
	CContextMappingBridgeInstStorageType interface{}

	// This object facilitates the creation, modification, or deletion of a
	// conceptual row in this table. The type is RowStatus.
	CContextMappingBridgeInstRowStatus interface{}
}

CISCOCONTEXTMAPPINGMIB_CContextMappingBridgeInstanceTable_CContextMappingBridgeInstanceEntry Information relating to a single mapping of cContextMappingVacmContextName to the corresponding bridge instance.

To create a row in this table, a manager must set cContextMappingBridgeInstRowStatus to either 'createAndGo' or 'createAndWait'.

To delete a row in this table, a manager must set cContextMappingBridgeInstRowStatus to 'destroy'.

func (*CISCOCONTEXTMAPPINGMIB_CContextMappingBridgeInstanceTable_CContextMappingBridgeInstanceEntry) GetEntityData

type CISCOCONTEXTMAPPINGMIB_CContextMappingLicenseGroupTable

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

	// Information relating to a single mapping of CContextMappingVacmContextName
	// to the corresponding License Group. The type is slice of
	// CISCOCONTEXTMAPPINGMIB_CContextMappingLicenseGroupTable_CContextMappingLicenseGroupEntry.
	CContextMappingLicenseGroupEntry []*CISCOCONTEXTMAPPINGMIB_CContextMappingLicenseGroupTable_CContextMappingLicenseGroupEntry
}

CISCOCONTEXTMAPPINGMIB_CContextMappingLicenseGroupTable This table contains information on which cContextMappingVacmContextName is mapped to which License Group. Group level licensing is used where each Technology Package is enabled via a License.

func (*CISCOCONTEXTMAPPINGMIB_CContextMappingLicenseGroupTable) GetEntityData

func (cContextMappingLicenseGroupTable *CISCOCONTEXTMAPPINGMIB_CContextMappingLicenseGroupTable) GetEntityData() *types.CommonEntityData

type CISCOCONTEXTMAPPINGMIB_CContextMappingLicenseGroupTable_CContextMappingLicenseGroupEntry

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

	// This attribute is a key. The type is string with length: 0..32. Refers to
	// cisco_context_mapping_mib.CISCOCONTEXTMAPPINGMIB_CContextMappingTable_CContextMappingEntry_CContextMappingVacmContextName
	CContextMappingVacmContextName interface{}

	// The value of an instance of this object identifies the name given to the
	// Group to which the SNMP context is mapped.  Feature sets from all groups
	// will be combined to form  universal image. User can configure multiple
	// groups as needed.  For example: In Next generation ISRs will use the
	// universal image package level licensing model for its licensing need. Each
	// group has the feature set needed for that specific technology. Feature sets
	// from different groups are combined to  form universal image and each
	// feature set for a group  can be enabled using a valid license key. There
	// will  be a base level ipbase package in which the router  boots with out
	// any license key.  The following are the different Technology Groups.
	// 1.crypto 2.data 3.ip 4.legacy 5.novpn-security 6.security 7.uc. The type is
	// string with length: 0..32.
	CContextMappingLicenseGroupName interface{}

	// The storage type for this conceptual row.  Conceptual rows having the value
	// 'permanent' need not allow write-access to any columnar objects in the row.
	// The type is StorageType.
	CContextMappingLicenseGroupStorageType interface{}

	// This object facilitates the creation, modification, or deletion of a
	// conceptual row in this table. The type is RowStatus.
	CContextMappingLicenseGroupRowStatus interface{}
}

CISCOCONTEXTMAPPINGMIB_CContextMappingLicenseGroupTable_CContextMappingLicenseGroupEntry Information relating to a single mapping of CContextMappingVacmContextName to the corresponding License Group.

func (*CISCOCONTEXTMAPPINGMIB_CContextMappingLicenseGroupTable_CContextMappingLicenseGroupEntry) GetEntityData

type CISCOCONTEXTMAPPINGMIB_CContextMappingTable

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

	// Information relating to a single mapping of cContextMappingVacmContextName
	// to the corresponding VRF, the corresponding topology, and the corresponding
	// routing protocol instance. The type is slice of
	// CISCOCONTEXTMAPPINGMIB_CContextMappingTable_CContextMappingEntry.
	CContextMappingEntry []*CISCOCONTEXTMAPPINGMIB_CContextMappingTable_CContextMappingEntry
}

CISCOCONTEXTMAPPINGMIB_CContextMappingTable This table contains information on which cContextMappingVacmContextName is mapped to which VRF, topology, and routing protocol instance.

This table is indexed by SNMP VACM context.

Configuring a row in this table for an SNMP context does not require that the context be already defined, i.e., a row can be created in this table for a context before the corresponding row is created in RFC 3415's vacmContextTable.

To create a row in this table, a manager must set cContextMappingRowStatus to either 'createAndGo' or 'createAndWait'.

To delete a row in this table, a manager must set cContextMappingRowStatus to 'destroy'.

func (*CISCOCONTEXTMAPPINGMIB_CContextMappingTable) GetEntityData

func (cContextMappingTable *CISCOCONTEXTMAPPINGMIB_CContextMappingTable) GetEntityData() *types.CommonEntityData

type CISCOCONTEXTMAPPINGMIB_CContextMappingTable_CContextMappingEntry

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

	// This attribute is a key. The vacmContextName given to the SNMP context.
	// This is a human readable name identifying a particular SNMP VACM context at
	// a particular SNMP entity. The empty contextName (zero length) represents
	// the default context. The type is string with length: 0..32.
	CContextMappingVacmContextName interface{}

	// The value of an instance of this object identifies the name given to the
	// VRF to which the SNMP context is mapped to.  This is typically a
	// human-readable string. This is the same ASCII string used in the router's
	// console interface to refer to this VRF.  When the value of this object is
	// the zero length string it indicates that the SNMP context is independent of
	// any VRF. The type is string with length: 0..32.
	CContextMappingVrfName interface{}

	// The value of an instance of this object identifies the name given to the
	// topology to which the SNMP context is mapped to.  This is typically a
	// human-readable string. This is the same ASCII string used in the router's
	// console interface to refer to this topology.  When the value of this object
	// is the zero length string it indicates that the SNMP context is independent
	// of any topology. The type is string with length: 0..32.
	CContextMappingTopologyName interface{}

	// The value of an instance of this object identifies the name given to the
	// protocol instance to which the SNMP context is mapped to.  This is
	// typically a human-readable string. This is the same ASCII string used in
	// the router's console interface to refer to this protocol instance.  When
	// the value of this object is the zero length string it indicates that the
	// SNMP context is independent of any protocol instance. The type is string
	// with length: 0..32.
	CContextMappingProtoInstName interface{}

	// The storage type for this conceptual row.  Conceptual rows having the value
	// 'permanent' need not allow write-access to any columnar objects in the row.
	// The type is StorageType.
	CContextMappingStorageType interface{}

	// This object facilitates the creation, modification, or deletion of a
	// conceptual row in this table. The type is RowStatus.
	CContextMappingRowStatus interface{}
}

CISCOCONTEXTMAPPINGMIB_CContextMappingTable_CContextMappingEntry Information relating to a single mapping of cContextMappingVacmContextName to the corresponding VRF, the corresponding topology, and the corresponding routing protocol instance.

func (*CISCOCONTEXTMAPPINGMIB_CContextMappingTable_CContextMappingEntry) GetEntityData

Jump to

Keyboard shortcuts

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