ppp_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 PPP and PPPoE operational data. Copyright (c) 2017-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 PppData

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

	// A list of the PPP information. The type is slice of PppData_PppInterface.
	PppInterface []*PppData_PppInterface

	// The PPP statistics.
	PppStatistics PppData_PppStatistics

	// The PPPoE operation information.
	Pppoe PppData_Pppoe
}

PppData Operational state of PPP

func (*PppData) GetEntityData

func (pppData *PppData) GetEntityData() *types.CommonEntityData

type PppData_PppInterface

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

	// This attribute is a key. Ifname of Physical Access (Parent) Interface . The
	// type is string.
	PhyIfname interface{}

	// List of PPPoE sessions on ifname Physical access interface. The type is
	// slice of PppData_PppInterface_PppVa.
	PppVa []*PppData_PppInterface_PppVa
}

PppData_PppInterface A list of the PPP information

func (*PppData_PppInterface) GetEntityData

func (pppInterface *PppData_PppInterface) GetEntityData() *types.CommonEntityData

type PppData_PppInterface_PppVa

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

	// PPP Virtual Access Interface Name. The type is string.
	VaIfname interface{}

	// VRF of Virtual Access Interface. The type is string.
	VrfName interface{}

	// IP Address assigned/negotiated by PPP. The type is one of the following
	// types: 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}]+)?,
	// or 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}]+)?.
	InterfaceIp interface{}

	// Gateway IP Address assigned/negotiated by PPP. The type is one of the
	// following types: 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}]+)?,
	// or 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}]+)?.
	GatewayIp interface{}

	// Primary DNS IP Address assigned/negotiated by PPP. The type is one of the
	// following types: 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}]+)?,
	// or 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}]+)?.
	PrimaryDnsIp interface{}

	// Secondary DNS IP Address assigned/negotiated by PPP. The type is one of the
	// following types: 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}]+)?,
	// or 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}]+)?.
	SecondaryDnsIp interface{}

	// MTU for PPP interface. The type is interface{} with range: 0..4294967295.
	Mtu interface{}

	// Authentication type for PPP interface. The type is PppIosAuthType.
	AuthType interface{}
}

PppData_PppInterface_PppVa List of PPPoE sessions on ifname Physical access interface

func (*PppData_PppInterface_PppVa) GetEntityData

func (pppVa *PppData_PppInterface_PppVa) GetEntityData() *types.CommonEntityData

type PppData_PppStatistics

type PppData_PppStatistics struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YPresence  bool

	// number of PPP LCP pkts. The type is interface{} with range: 0..4294967295.
	PppLcpPkts interface{}

	// number of PPP NCP/IPCP pkts. The type is interface{} with range:
	// 0..4294967295.
	PppIpcpPkts interface{}

	// number of PPP CCP pkts. The type is interface{} with range: 0..4294967295.
	PppCcpPkts interface{}
}

PppData_PppStatistics The PPP statistics This type is a presence type.

func (*PppData_PppStatistics) GetEntityData

func (pppStatistics *PppData_PppStatistics) GetEntityData() *types.CommonEntityData

type PppData_Pppoe

type PppData_Pppoe struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YPresence  bool

	// The current PPPoE role. The type is PppoeOperationalRole.
	Role interface{}

	// PPPoE session list. The type is slice of PppData_Pppoe_PppoeSessionList.
	PppoeSessionList []*PppData_Pppoe_PppoeSessionList

	// PPPoE statistics.
	PppoeStatistics PppData_Pppoe_PppoeStatistics
}

PppData_Pppoe The PPPoE operation information This type is a presence type.

func (*PppData_Pppoe) GetEntityData

func (pppoe *PppData_Pppoe) GetEntityData() *types.CommonEntityData

type PppData_Pppoe_PppoeSessionList

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

	// This attribute is a key. Ifname of Physical Access (Parent) Interface. The
	// type is string.
	Ifname interface{}

	// List of PPPoE session on ifname Physical access interface. The type is
	// slice of PppData_Pppoe_PppoeSessionList_Session.
	Session []*PppData_Pppoe_PppoeSessionList_Session
}

PppData_Pppoe_PppoeSessionList PPPoE session list

func (*PppData_Pppoe_PppoeSessionList) GetEntityData

func (pppoeSessionList *PppData_Pppoe_PppoeSessionList) GetEntityData() *types.CommonEntityData

type PppData_Pppoe_PppoeSessionList_Session

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

	// Session Id of PPPoE sessions. The type is interface{} with range: 0..65535.
	SessionId interface{}

	// Local MAC Address. The type is string with pattern:
	// [0-9a-fA-F]{2}(:[0-9a-fA-F]{2}){5}.
	Lmac interface{}

	// Peer MAC Address. The type is string with pattern:
	// [0-9a-fA-F]{2}(:[0-9a-fA-F]{2}){5}.
	Rmac interface{}

	// Ifname of Virtual Access Interface. The type is string.
	VaIfname interface{}

	// VRF of Virtual Access Interface . The type is string.
	VrfName interface{}

	// PPPoE session VLAN/QinQ ID  Outer VLAN (QinQ) or only VLAN ID. The type is
	// interface{} with range: 0..65535.
	Dot1qQinqOuterVlan interface{}

	// PPPoE session VLAN/QinQ ID  Inner VLAN ID (QinQ) (if valid). The type is
	// interface{} with range: 0..65535.
	Dot1qQinqInnerVlan interface{}

	// PPPoE service tag name. The type is string.
	ServiceName interface{}

	// Number of packets received over session. The type is interface{} with
	// range: 0..4294967295.
	InPacket interface{}

	// Number of packets sent over session. The type is interface{} with range:
	// 0..4294967295.
	OutPacket interface{}

	// Number of bytes received over session. The type is interface{} with range:
	// 0..18446744073709551615.
	InBytes interface{}

	// Number of bytes sent over session. The type is interface{} with range:
	// 0..18446744073709551615.
	OutBytes interface{}
}

PppData_Pppoe_PppoeSessionList_Session List of PPPoE session on ifname Physical access interface

func (*PppData_Pppoe_PppoeSessionList_Session) GetEntityData

type PppData_Pppoe_PppoeStatistics

type PppData_Pppoe_PppoeStatistics struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YPresence  bool

	// PPPoE active discovery initiation pkts. The type is interface{} with range:
	// 0..4294967295.
	PppoePadiPkts interface{}

	// PPPoE active discovery offer pkts. The type is interface{} with range:
	// 0..4294967295.
	PppoePadoPkts interface{}

	// PPPoE active discovery response pkts. The type is interface{} with range:
	// 0..4294967295.
	PppoePadrPkts interface{}

	// PPPoE active discovery session pkts. The type is interface{} with range:
	// 0..4294967295.
	PppoePadsPkts interface{}

	// PPPoE active discovery terminate pkts. The type is interface{} with range:
	// 0..4294967295.
	PppoePadtPkts interface{}

	// PPPoE invalid discovery pkts. The type is interface{} with range:
	// 0..4294967295.
	InvalidDiscoveryPkts interface{}
}

PppData_Pppoe_PppoeStatistics PPPoE statistics This type is a presence type.

func (*PppData_Pppoe_PppoeStatistics) GetEntityData

func (pppoeStatistics *PppData_Pppoe_PppoeStatistics) GetEntityData() *types.CommonEntityData

type PppIosAuthType

type PppIosAuthType string

PppIosAuthType represents Authentication type for the PPP session

const (
	// No authentication.
	PppIosAuthType_ppp_ios_auth_none PppIosAuthType = "ppp-ios-auth-none"

	// Challenge Handshake Authentication (CHAP).
	PppIosAuthType_ppp_ios_auth_chap PppIosAuthType = "ppp-ios-auth-chap"

	// Password Authentication Protocol (PAP).
	PppIosAuthType_ppp_ios_auth_pap PppIosAuthType = "ppp-ios-auth-pap"

	// Microsoft CHAP (MS CHAP).
	PppIosAuthType_ppp_ios_auth_mschap PppIosAuthType = "ppp-ios-auth-mschap"

	// Microsoft CHAP, Version 2 (MS CHAP V2).
	PppIosAuthType_ppp_ios_auth_mschap_v2 PppIosAuthType = "ppp-ios-auth-mschap-v2"

	// Extensible Authentication Protocol (EAP).
	PppIosAuthType_ppp_ios_auth_eap PppIosAuthType = "ppp-ios-auth-eap"
)

type PppoeOperationalRole

type PppoeOperationalRole string

PppoeOperationalRole represents The role that this PPPoE session is in

const (
	// PPPoE device role is a client
	PppoeOperationalRole_pppoe_client PppoeOperationalRole = "pppoe-client"

	// PPPoE device role is a server
	PppoeOperationalRole_pppoe_server PppoeOperationalRole = "pppoe-server"
)

Jump to

Keyboard shortcuts

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