Commit f3eb9560 authored by Simon Redman's avatar Simon Redman

Allow border nodes to run OSPF, for easy ping-ing

parent 1007fae6
...@@ -88,14 +88,14 @@ if __name__ == "__main__": ...@@ -88,14 +88,14 @@ if __name__ == "__main__":
if re.match(args.host_regex, node_name): if re.match(args.host_regex, node_name):
host_nodes.append(node) host_nodes.append(node)
frr_configurator.configure_nodes(netgraph.graph, ignore_nodes=border_nodes) frr_configurator.configure_nodes(netgraph.graph)
sysctl_configurator.configure_nodes(netgraph.graph, ignore_nodes=border_nodes) sysctl_configurator.configure_nodes(netgraph.graph)
ospf_sniffer_configurator.clone_repo_on_network(netgraph.graph, ignore_nodes=border_nodes + host_nodes) ospf_sniffer_configurator.clone_repo_on_network(netgraph.graph, ignore_nodes=border_nodes + host_nodes)
ospf_sniffer_configurator.stop_sniffer_on_network(netgraph.graph, ignore_nodes=border_nodes + host_nodes) # Stopping with the app not running is not great, but better than starting twice ospf_sniffer_configurator.stop_sniffer_on_network(netgraph.graph, ignore_nodes=border_nodes + host_nodes) # Stopping with the app not running is not great, but better than starting twice
if not args.no_frr: if not args.no_frr:
frr_configurator.start_frr_on_network(netgraph.graph, ignore_nodes=border_nodes) frr_configurator.start_frr_on_network(netgraph.graph)
if not args.no_sniffer: if not args.no_sniffer:
ospf_sniffer_configurator.start_sniffer_on_network(netgraph.graph, ospf_sniffer_configurator.start_sniffer_on_network(netgraph.graph,
controller=args.controller_name, controller=args.controller_name,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment