faucet.port module¶
Port configuration.
-
class
faucet.port.Port(_id, dp_id, conf=None)[source]¶ Bases:
faucet.conf.ConfStores state for ports, including the configuration.
-
acl_in= None¶
-
defaults= {'enabled': True, 'mirror': None, 'name': None, 'tagged_vlans': None, 'description': None, 'stack': None, 'acl_in': None, 'native_vlan': None, 'loop_protect': False, 'number': None, 'permanent_learn': False, 'hairpin': False, 'output_only': False, 'lacp': 0, 'unicast_flood': True, 'max_hosts': 255}¶
-
defaults_types= {'enabled': <class 'bool'>, 'mirror': (<class 'str'>, <class 'int'>), 'name': <class 'str'>, 'tagged_vlans': <class 'list'>, 'description': <class 'str'>, 'stack': <class 'dict'>, 'acl_in': (<class 'str'>, <class 'int'>), 'native_vlan': (<class 'str'>, <class 'int'>), 'loop_protect': <class 'bool'>, 'number': <class 'int'>, 'permanent_learn': <class 'bool'>, 'hairpin': <class 'bool'>, 'output_only': <class 'bool'>, 'lacp': <class 'int'>, 'unicast_flood': <class 'bool'>, 'max_hosts': <class 'int'>}¶
-
dp_id= None¶
-
dyn_lacp_up= None¶
-
dyn_lacp_updated_time= None¶
-
dyn_last_ban_time= None¶
-
dyn_last_lacp_pkt= None¶
-
dyn_learn_ban_count= 0¶
-
dyn_phys_up= False¶
-
enabled= None¶
-
hairpin= None¶
-
loop_protect= None¶
-
max_hosts= None¶
-
mirror= None¶
-
name= None¶
-
native_vlan= None¶
-
number= None¶
-
output_only= None¶
-
permanent_learn= None¶
-
stack= {}¶
-
tagged_vlans= []¶
-
unicast_flood= None¶
-