faucet.router module¶
Configure routing between VLANs.
-
class
faucet.router.
Router
(_id, dp_id, conf)[source]¶ Bases:
faucet.conf.Conf
Implement FAUCET configuration for a router.
-
bgp_defaults_types
= {'as': <class 'int'>, 'connect_mode': <class 'str'>, 'neighbor_addresses': <class 'list'>, 'neighbor_as': <class 'int'>, 'port': <class 'int'>, 'routerid': <class 'str'>, 'server_addresses': <class 'list'>, 'vlan': (<class 'str'>, <class 'int'>)}¶
-
bgp_neighbor_addresses_by_ipv
(ipv)[source]¶ Return BGP neighbor addresses with specified IP version on this VLAN.
-
bgp_server_addresses_by_ipv
(ipv)[source]¶ Return BGP server addresses with specified IP version on this VLAN.
-
defaults
= {'bgp': {}, 'vlans': None}¶
-
defaults_types
= {'bgp': <class 'dict'>, 'vlans': <class 'list'>}¶
-
ipaddress_fields
= ('neighbor_addresses', 'server_addresses')¶
-