Skip to content
Snippets Groups Projects

routing: add quagga IS-IS support

Merged Dhanasekhar requested to merge DhanaSekharM/nest:is-is-support into master
4 files
+ 66
4
Compare changes
  • Side-by-side
  • Inline
Files
4
+ 18
2
@@ -26,7 +26,7 @@ def run_zebra(ns_id, conf_file, pid_file):
def run_ripd(ns_id, conf_file, pid_file):
"""
Runs the zebra daemon
Runs the ripd daemon
Parameters
----------
@@ -44,7 +44,7 @@ def run_ripd(ns_id, conf_file, pid_file):
def run_ospfd(ns_id, conf_file, pid_file):
"""
Runs the zebra daemon
Runs the ospfd daemon
Parameters
----------
@@ -58,6 +58,22 @@ def run_ospfd(ns_id, conf_file, pid_file):
cmd = f'ip netns exec {ns_id} ospfd --config_file {conf_file} --pid_file {pid_file} --daemon'
exec_subprocess(cmd)
def run_isisd(ns_id, conf_file, pid_file):
"""
Runs the isisd daemon
Parameters
----------
ns_id : str
namespace of the router
conf_file : str
path to config file
pid_file : str
path to pid file
"""
cmd = f'ip netns exec {ns_id} isisd --config_file {conf_file} --pid_file {pid_file} --daemon'
exec_subprocess(cmd)
def chown_quagga(path):
"""
Loading