jnpr.junos.cfg.phyport.base.
PhyPortBase
(junos, namevar=None, **kvargs)[source]¶Bases: jnpr.junos.cfg.resource.Resource
[edit interfaces <name>]
PORT_DUPLEX
= {'full': 'full-duplex', 'half': 'half-duplex'}¶PROPERTIES
= ['admin', 'description', 'speed', 'duplex', 'mtu', 'loopback', '$unit_count']¶jnpr.junos.cfg.phyport.switch.
PhyPortSwitch
(junos, namevar=None, **kvargs)[source]¶Bases: jnpr.junos.cfg.phyport.base.PhyPortBase
PORT_SPEED
= {'auto': 'auto-negotiation', '100m': 'ethernet-100m', '1g': 'ethernet-1g', '10m': 'ethernet-10m'}¶