Home | Trees | Indices | Help |
|
---|
|
This class represents the configuration (software property) of the network interface.
The configuration might be changed during the life of the session. Hence, it is refreshed if the last accessed time has aged out.
Instance Methods | |||
|
|||
Inherited from |
Class Variables | |
Enum |
Encap = enum('ONEP_IF_ENCAP_NULL', 'ONEP_IF_ENCAP_ANY', 'ONEP_ Enumeration of the logical interface types |
Enum |
UnidirMode = enum('ONEP_IF_UNIDIR_MODE_OFF', 'ONEP_IF_UNIDIR_M Enumeration of the interface unidirectional mode attribute. |
Enum |
SwitchportMode = enum('ONEP_IF_SWITCHPORT', 'ONEP_IF_SWITCHPOR Enumeration of the interface Switchport mode attribute. |
Instance Variables | |
str
|
description The description of the interface. |
str
|
display_name The name of the interface. |
Encap |
encap The interface encapsulation type. |
bool
|
islayer2 Indicates if this a Layer-2 Interface |
str
|
mac_address The MAC address of the interface |
int
|
mtu The MTU value of the interface |
int
|
rx_bandwidth The interface receive bandwidth |
int
|
snmp_index The interface Simple Network Management Protocol (SNMP) index |
int
|
tx_bandwidth The interface transmit bandwidth |
UnidirMode |
undir_mode Gets the unidirectional mode, |
Properties | |
Inherited from |
Method Details |
Returns the configuration in string format.
|
Class Variable Details |
EncapEnumeration of the logical interface types ONEP_IF_ENCAP_NULL: Null encapsulation ONEP_IF_ENCAP_ANY: All encapsulation ONEP_IF_ENCAP_UNKNOWN: Unknown encapsulation ONEP_IF_ENCAP_ARPA: ARPA (Standard Ethernet version 2.0) encapsulation ONEP_IF_ENCAP_LOOP: Loopback encapsulation ONEP_IF_ENCAP_DOT1Q: 802.1q encapsulation ONEP_IF_ENCAP_ATM: ATM encapsulation ONEP_IF_ENCAP_SNAP: SNAP (IEEE 802.2) encapsulation ONEP_IF_ENCAP_HDLC: HDLC encapsulation ONEP_IF_ENCAP_PPP: PPP encapsulation ONEP_IF_ENCAP_ETHER: Ethernet encapsulation ONEP_IF_ENCAP_GRE: GRE Tunnel encapsulation ONEP_IF_ENCAP_MPLS: MPLS Tunnel encapsulation
|
UnidirModeEnumeration of the interface unidirectional mode attribute. ONEP_IF_UNIDIR_MODE_OFF: Unidirectional mode is turned off ONEP_IF_UNIDIR_MODE_SEND_ONLY: Unidirectional mode is enabled and send only ONEP_IF_UNIDIR_MODE_RECV_ONLY: Unidirectional mode is enabled and receive only ONEP_IF_UNIDIR_MODE_NOT_SUPPORTED: Unidirectional mode not supported on the system
|
SwitchportModeEnumeration of the interface Switchport mode attribute. ONEP_IF_SWITCHPORT: interface switchport ONEP_IF_SWITCHPORT_MODE_ACCESS: switchport mode access ONEP_IF_SWITCHPORT_MODE_DOT1Q_TUNNEL: switchport mode dot1q-tunnel ONEP_IF_SWITCHPORT_MODE_TRUNK: switchport mode trunk ONEP_IF_SWITCHPORT_MODE_NOT_SUPPORTED: switchport mode not supported
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Aug 18 09:17:29 2014 | http://epydoc.sourceforge.net |