...
 
Commits (2)
......@@ -46,10 +46,10 @@ if __name__ == "__main__":
help="Hostname or IP of the node which is listening to the OSPF reports (Default: {default})".format(default=ospf_sniffer_configurator.DEFAULT_CONTROLLER))
parser.add_argument("--controller-port", action='store', type=int, default=ospf_sniffer_configurator.DEFAULT_CONTROLLER_PORT,
help="Port number on the server listening for OSPF reports (Default: {default})".format(default=ospf_sniffer_configurator.DEFAULT_CONTROLLER_PORT))
parser.add_argument("--ovs-regex", action='store', type=str, default='.*ovs.*',
help="Regex to distinguish OVS nodes by label (Default \".*ovs.*\")")
parser.add_argument("--host-regex", action='store', type=str, default='.*host.*',
help="Regex to distinguish host nodes by label (Default \".*host.*\")")
parser.add_argument("--ovs-regex", action='store', type=str, default='^ovs.*',
help="Regex to distinguish OVS nodes by label (Default \"^ovs.*\")")
parser.add_argument("--host-regex", action='store', type=str, default='^host.*',
help="Regex to distinguish host nodes by label (Default \"^host.*\")")
args = parser.parse_args()
......@@ -82,12 +82,8 @@ if __name__ == "__main__":
if re.match(args.host_regex, node_name):
host_nodes.append(node)
frr_configurator.configure_nodes(netgraph.graph, ignore_nodes=ovs_nodes + host_nodes)
frr_configurator.start_frr_on_network(netgraph.graph, ignore_nodes=ovs_nodes + host_nodes)
# Customer hosts would normally be DHCP clients, etc., but for now just give them a route
add_routable_ipv6_addrs.add_default_routes(netgraph.graph, ULA_map, host_nodes)
frr_configurator.configure_nodes(netgraph.graph, ignore_nodes=ovs_nodes)
frr_configurator.start_frr_on_network(netgraph.graph, ignore_nodes=ovs_nodes)
sysctl_configurator.configure_nodes(netgraph.graph,ignore_nodes=ovs_nodes)
ospf_sniffer_configurator.clone_repo_on_network(netgraph.graph, ignore_nodes=ovs_nodes + host_nodes)
......