State

Leafs

Children

Enum Classes

class Interfaces.Interface.State

Bases: Entity

Class Hierarchy : Interfaces Interface State

This class represents state data.

Operational state data at the global interface level

type

[adapted from IETF interfaces model (RFC 7223)] The type of the interface. When an interface entry is created, a server MAY initialize the type leaf with a valid value, e.g., if it is possible to derive the type from the name of the interface. If a client tries to set the type of an interface to a value that can never be used by the system, e.g., if the type is not supported or if the type does not match the name of the interface, the server MUST reject the request. A NETCONF server MUST reply with an rpc-error with the error-tag ‘invalid-value’ in this case

type: one of the below values: IanaInterfaceType

Other

Regular1822

Hdh1822

DdnX25

Rfc877x25

EthernetCsmacd

Iso88023Csmacd

Iso88024TokenBus

Iso88025TokenRing

Iso88026Man

StarLan

Proteon10Mbit

Proteon80Mbit

Hyperchannel

Fddi

Lapb

Sdlc

Ds1

E1

BasicISDN

PrimaryISDN

PropPointToPointSerial

Ppp

SoftwareLoopback

Eon

Ethernet3Mbit

Nsip

Slip

Ultra

Ds3

Sip

FrameRelay

Rs232

Para

Arcnet

ArcnetPlus

Atm

Miox25

Sonet

X25ple

Iso88022llc

LocalTalk

SmdsDxi

FrameRelayService

V35

Hssi

Hippi

Modem

Aal5

SonetPath

SonetVT

SmdsIcip

PropVirtual

PropMultiplexor

Ieee80212

FibreChannel

HippiInterface

FrameRelayInterconnect

Aflane8023

Aflane8025

CctEmul

FastEther

Isdn

V11

V36

G703at64k

G703at2mb

Qllc

FastEtherFX

Channel

Ieee80211

Ibm370parChan

Escon

Dlsw

Isdns

Isdnu

Lapd

IpSwitch

Rsrb

AtmLogical

Ds0

Ds0Bundle

Bsc

Async

Cnr

Iso88025Dtr

Eplrs

Arap

PropCnls

HostPad

TermPad

FrameRelayMPI

X213

Adsl

Radsl

Sdsl

Vdsl

Iso88025CRFPInt

Myrinet

VoiceEM

VoiceFXO

VoiceFXS

VoiceEncap

VoiceOverIp

AtmDxi

AtmFuni

AtmIma

PppMultilinkBundle

IpOverCdlc

IpOverClaw

StackToStack

VirtualIpAddress

Mpc

IpOverAtm

Iso88025Fiber

Tdlc

GigabitEthernet

Hdlc

Lapf

V37

X25mlp

X25huntGroup

TranspHdlc

Interleave

Fast

Ip

DocsCableMaclayer

DocsCableDownstream

DocsCableUpstream

A12MppSwitch

Tunnel

Coffee

Ces

AtmSubInterface

L2vlan

L3ipvlan

L3ipxvlan

DigitalPowerline

MediaMailOverIp

Dtm

Dcn

IpForward

Msdsl

Ieee1394

IfGsn

DvbRccMacLayer

DvbRccDownstream

DvbRccUpstream

AtmVirtual

MplsTunnel

Srp

VoiceOverAtm

VoiceOverFrameRelay

Idsl

CompositeLink

Ss7SigLink

PropWirelessP2P

FrForward

Rfc1483

Usb

Ieee8023adLag

Bgppolicyaccounting

Frf16MfrBundle

H323Gatekeeper

H323Proxy

Mpls

MfSigLink

Hdsl2

Shdsl

Ds1FDL

Pos

DvbAsiIn

DvbAsiOut

Plc

Nfas

Tr008

Gr303RDT

Gr303IDT

Isup

PropDocsWirelessMaclayer

PropDocsWirelessDownstream

PropDocsWirelessUpstream

Hiperlan2

PropBWAp2Mp

SonetOverheadChannel

DigitalWrapperOverheadChannel

Aal2

RadioMAC

AtmRadio

Imt

Mvl

ReachDSL

FrDlciEndPt

AtmVciEndPt

OpticalChannel

OpticalTransport

PropAtm

VoiceOverCable

Infiniband

TeLink

Q2931

VirtualTg

SipTg

SipSig

DocsCableUpstreamChannel

Econet

Pon155

Pon622

Bridge

Linegroup

VoiceEMFGD

VoiceFGDEANA

VoiceDID

MpegTransport

SixToFour

Gtp

PdnEtherLoop1

PdnEtherLoop2

OpticalChannelGroup

Homepna

Gfp

CiscoISLvlan

ActelisMetaLOOP

FcipLink

Rpr

Qam

Lmp

CblVectaStar

DocsCableMCmtsDownstream

Adsl2

MacSecControlledIF

MacSecUncontrolledIF

AviciOpticalEther

Atmbond

VoiceFGDOS

MocaVersion1

Ieee80216WMAN

Adsl2plus

DvbRcsMacLayer

DvbTdm

DvbRcsTdma

X86Laps

WwanPP

WwanPP2

VoiceEBS

IfPwType

Ilan

Pip

AluELP

Gpon

Vdsl2

CapwapDot11Profile

CapwapDot11Bss

CapwapWtpVirtualRadio

Bits

DocsCableUpstreamRfPort

CableDownstreamRfPort

VmwareVirtualNic

Ieee802154

OtnOdu

OtnOtu

IfVfiType

G9981

G9982

G9983

AluEpon

AluEponOnu

AluEponPhysicalUni

AluEponLogicalLink

AluGponOnu

AluGponPhysicalUni

VmwareNicTeam

config: False

mtu

Set the max transmission unit size in octets for the physical interface. If this is not set, the mtu is set to the operational default -- e.g., 1514 bytes on an Ethernet interface

type: int

range: 0..65535

config: False

name

[adapted from IETF interfaces model (RFC 7223)] The name of the interface. A device MAY restrict the allowed values for this leaf, possibly depending on the type of the interface. For system-controlled interfaces, this leaf is the device-specific name of the interface. The ‘config false’ list interfaces/interface[name]/state contains the currently existing interfaces on the device. If a client tries to create configuration for a system-controlled interface that is not present in the corresponding state list, the server MAY reject the request if the implementation does not support pre-provisioning of interfaces or if the name refers to an interface that can never exist in the system. A NETCONF server MUST reply with an rpc-error with the error-tag ‘invalid-value’ in this case. The IETF model in RFC 7223 provides YANG features for the following (i.e., pre-provisioning and arbitrary-names), however they are omitted here: If the device supports pre-provisioning of interface configuration, the ‘pre-provisioning’ feature is advertised. If the device allows arbitrarily named user-controlled interfaces, the ‘arbitrary-names’ feature is advertised. When a configured user-controlled interface is created by the system, it is instantiated with the same name in the /interfaces/interface[name]/state list

type: str

config: False

description

[adapted from IETF interfaces model (RFC 7223)] A textual description of the interface. A server implementation MAY map this leaf to the ifAlias MIB object. Such an implementation needs to use some mechanism to handle the differences in size and characters allowed between this leaf and ifAlias. The definition of such a mechanism is outside the scope of this document. Since ifAlias is defined to be stored in non-volatile storage, the MIB implementation MUST map ifAlias to the value of ‘description’ in the persistently stored datastore. Specifically, if the device supports ‘:startup’, when ifAlias is read the device MUST return the value of ‘description’ in the ‘startup’ datastore, and when it is written, it MUST be written to the ‘running’ and ‘startup’ datastores. Note that it is up to the implementation to decide whether to modify this single leaf in ‘startup’ or perform an implicit copy-config from ‘running’ to ‘startup’. If the device does not support ‘:startup’, ifAlias MUST be mapped to the ‘description’ leaf in the ‘running’ datastore

type: str

config: False

enabled

[adapted from IETF interfaces model (RFC 7223)] This leaf contains the configured, desired state of the interface. Systems that implement the IF-MIB use the value of this leaf in the ‘running’ datastore to set IF-MIB.ifAdminStatus to ‘up’ or ‘down’ after an ifEntry has been initialized, as described in RFC 2863. Changes in this leaf in the ‘running’ datastore are reflected in ifAdminStatus, but if ifAdminStatus is changed over SNMP, this leaf is not affected

type: bool

config: False

default value: true

ifindex

System assigned number for each interface. Corresponds to ifIndex object in SNMP Interface MIB

type: int

range: 0..4294967295

config: False

admin_status

[adapted from IETF interfaces model (RFC 7223)] The desired state of the interface. In RFC 7223 this leaf has the same read semantics as ifAdminStatus. Here, it reflects the administrative state as set by enabling or disabling the interface

type: AdminStatus

config: False

oper_status

[adapted from IETF interfaces model (RFC 7223)] The current operational state of the interface. This leaf has the same semantics as ifOperStatus

type: OperStatus

config: False

last_change

Date and time of the last state change of the interface (e.g., up-to-down transition). This corresponds to the ifLastChange object in the standard interface MIB

type: int

range: 0..4294967295

config: False

counters

A collection of interface-related statistics objects

type: Counters

config: False

hardware_port

References the hardware port in the device inventory

type: str

refers to: name

config: False