Interface¶
-
class
pytanga.components.OpenConfig.interfaces.interface.
interfaceComponent
(name, if_type, if_description=None, if_mtu=None, enabled=None)¶ Bases:
pytanga.components.AbstractComponent.AbstractComponent
-
IETF_INTERFACE_TYPES
= {'ethernet': 'ianaift:ethernetCsmacd', 'loopback': 'ianaift:softwareLoopback'}¶
-
add
(component) → None¶ This should method add a subComponent.
-
getXMLNS
()¶
-
is_composite
() → bool¶
-
parse
(serializer)¶ This method should call the parse method for all childrens passing the serializer.
-
remove
(component) → None¶ This should method remove a subComponent.
-
setAttributes
(name, if_type, if_description, if_mtu, enabled)¶
-
property
xmlns
¶
-