lib_mpp_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 lib-mpp package operational data.

This module contains definitions for the following management objects:

management-plane-protection: Management Plane Protection (MPP)
  operational data

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 Ipv4

type Ipv4 struct {
}

func (Ipv4) String

func (id Ipv4) String() string

type Ipv6

type Ipv6 struct {
}

func (Ipv6) String

func (id Ipv6) String() string

type ManagementPlaneProtection

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

	// Management Plane Protection (MPP) outband interface data.
	Outband ManagementPlaneProtection_Outband

	// Management Plane Protection (MPP) inband interface data.
	Inband ManagementPlaneProtection_Inband
}

ManagementPlaneProtection Management Plane Protection (MPP) operational data

func (*ManagementPlaneProtection) GetEntityData

func (managementPlaneProtection *ManagementPlaneProtection) GetEntityData() *types.CommonEntityData

type ManagementPlaneProtection_Inband

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

	// List of inband/outband interfaces.
	Interfaces ManagementPlaneProtection_Inband_Interfaces
}

ManagementPlaneProtection_Inband Management Plane Protection (MPP) inband interface data

func (*ManagementPlaneProtection_Inband) GetEntityData

func (inband *ManagementPlaneProtection_Inband) GetEntityData() *types.CommonEntityData

type ManagementPlaneProtection_Inband_Interfaces

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

	// MPP interface information. The type is slice of
	// ManagementPlaneProtection_Inband_Interfaces_Interface.
	Interface []*ManagementPlaneProtection_Inband_Interfaces_Interface
}

ManagementPlaneProtection_Inband_Interfaces List of inband/outband interfaces

func (*ManagementPlaneProtection_Inband_Interfaces) GetEntityData

type ManagementPlaneProtection_Inband_Interfaces_Interface

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

	// This attribute is a key. Interface name, specify 'all' for all interfaces.
	// The type is string.
	InterfaceName interface{}

	// MPP Interface protocols. The type is slice of
	// ManagementPlaneProtection_Inband_Interfaces_Interface_Protocol.
	Protocol []*ManagementPlaneProtection_Inband_Interfaces_Interface_Protocol
}

ManagementPlaneProtection_Inband_Interfaces_Interface MPP interface information

func (*ManagementPlaneProtection_Inband_Interfaces_Interface) GetEntityData

type ManagementPlaneProtection_Inband_Interfaces_Interface_Protocol

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

	// MPP allow. The type is MppAllow.
	Allow interface{}

	// If TRUE, all peers are allowed. The type is bool.
	IsAllPeersAllowed interface{}

	// List of peer addresses. The type is slice of
	// ManagementPlaneProtection_Inband_Interfaces_Interface_Protocol_PeerAddress.
	PeerAddress []*ManagementPlaneProtection_Inband_Interfaces_Interface_Protocol_PeerAddress
}

ManagementPlaneProtection_Inband_Interfaces_Interface_Protocol MPP Interface protocols

func (*ManagementPlaneProtection_Inband_Interfaces_Interface_Protocol) GetEntityData

type ManagementPlaneProtection_Inband_Interfaces_Interface_Protocol_PeerAddress

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

	// AFName. The type is one of the following: Ipv4Ipv6.
	AfName interface{}

	// IPv4 address. The type is string with pattern:
	// (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\p{N}\p{L}]+)?.
	Ipv4Address interface{}

	// IPv6 address. The type is string with pattern:
	// ((:|[0-9a-fA-F]{0,4}):)([0-9a-fA-F]{0,4}:){0,5}((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))(%[\p{N}\p{L}]+)?.
	Ipv6Address interface{}
}

ManagementPlaneProtection_Inband_Interfaces_Interface_Protocol_PeerAddress List of peer addresses

func (*ManagementPlaneProtection_Inband_Interfaces_Interface_Protocol_PeerAddress) GetEntityData

type ManagementPlaneProtection_Outband

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

	// Outband VRF information.
	Vrf ManagementPlaneProtection_Outband_Vrf

	// List of inband/outband interfaces.
	Interfaces ManagementPlaneProtection_Outband_Interfaces
}

ManagementPlaneProtection_Outband Management Plane Protection (MPP) outband interface data

func (*ManagementPlaneProtection_Outband) GetEntityData

func (outband *ManagementPlaneProtection_Outband) GetEntityData() *types.CommonEntityData

type ManagementPlaneProtection_Outband_Interfaces

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

	// MPP interface information. The type is slice of
	// ManagementPlaneProtection_Outband_Interfaces_Interface.
	Interface []*ManagementPlaneProtection_Outband_Interfaces_Interface
}

ManagementPlaneProtection_Outband_Interfaces List of inband/outband interfaces

func (*ManagementPlaneProtection_Outband_Interfaces) GetEntityData

type ManagementPlaneProtection_Outband_Interfaces_Interface

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

	// This attribute is a key. Interface name, specify 'all' for all interfaces.
	// The type is string.
	InterfaceName interface{}

	// MPP Interface protocols. The type is slice of
	// ManagementPlaneProtection_Outband_Interfaces_Interface_Protocol.
	Protocol []*ManagementPlaneProtection_Outband_Interfaces_Interface_Protocol
}

ManagementPlaneProtection_Outband_Interfaces_Interface MPP interface information

func (*ManagementPlaneProtection_Outband_Interfaces_Interface) GetEntityData

type ManagementPlaneProtection_Outband_Interfaces_Interface_Protocol

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

	// MPP allow. The type is MppAllow.
	Allow interface{}

	// If TRUE, all peers are allowed. The type is bool.
	IsAllPeersAllowed interface{}

	// List of peer addresses. The type is slice of
	// ManagementPlaneProtection_Outband_Interfaces_Interface_Protocol_PeerAddress.
	PeerAddress []*ManagementPlaneProtection_Outband_Interfaces_Interface_Protocol_PeerAddress
}

ManagementPlaneProtection_Outband_Interfaces_Interface_Protocol MPP Interface protocols

func (*ManagementPlaneProtection_Outband_Interfaces_Interface_Protocol) GetEntityData

type ManagementPlaneProtection_Outband_Interfaces_Interface_Protocol_PeerAddress

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

	// AFName. The type is one of the following: Ipv4Ipv6.
	AfName interface{}

	// IPv4 address. The type is string with pattern:
	// (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\p{N}\p{L}]+)?.
	Ipv4Address interface{}

	// IPv6 address. The type is string with pattern:
	// ((:|[0-9a-fA-F]{0,4}):)([0-9a-fA-F]{0,4}:){0,5}((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))(%[\p{N}\p{L}]+)?.
	Ipv6Address interface{}
}

ManagementPlaneProtection_Outband_Interfaces_Interface_Protocol_PeerAddress List of peer addresses

func (*ManagementPlaneProtection_Outband_Interfaces_Interface_Protocol_PeerAddress) GetEntityData

type ManagementPlaneProtection_Outband_Vrf

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

	// Outband VRF name. The type is string.
	VrfName interface{}
}

ManagementPlaneProtection_Outband_Vrf Outband VRF information

func (*ManagementPlaneProtection_Outband_Vrf) GetEntityData

type MppAfIdBase

type MppAfIdBase struct {
}

func (MppAfIdBase) String

func (id MppAfIdBase) String() string

type MppAllow

type MppAllow string

MppAllow represents MPP protocol types

const (
	// SSH protocol
	MppAllow_ssh MppAllow = "ssh"

	// TELNET protocol
	MppAllow_telnet MppAllow = "telnet"

	// SNMP protocol
	MppAllow_snmp MppAllow = "snmp"

	// TFTP protocol
	MppAllow_tftp MppAllow = "tftp"

	// HTTP protocol
	MppAllow_http MppAllow = "http"

	// XML
	MppAllow_xr_xml MppAllow = "xr-xml"

	// NETCONF protocol
	MppAllow_netconf MppAllow = "netconf"

	// All
	MppAllow_all MppAllow = "all"
)

Jump to

Keyboard shortcuts

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