diff options
author | Christian Breunig <christian@breunig.cc> | 2024-10-06 15:17:17 +0200 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2024-12-16 22:21:36 +0100 |
commit | 81923562a8a164f7ff9761e976c20420a585907a (patch) | |
tree | 8fe525e8ab4bb0d07f9eb52b52816e50bcb956cf /python | |
parent | 7538fd4c518271a517b6753dd664fd07cd86bddd (diff) | |
download | vyos-1x-81923562a8a164f7ff9761e976c20420a585907a.tar.gz vyos-1x-81923562a8a164f7ff9761e976c20420a585907a.zip |
frr: T6747: make daemon definitions re-usable for both conf-mode and smoketests
Diffstat (limited to 'python')
-rw-r--r-- | python/vyos/frr.py | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/python/vyos/frr.py b/python/vyos/frr.py index 6fb81803f..183805e13 100644 --- a/python/vyos/frr.py +++ b/python/vyos/frr.py @@ -86,8 +86,25 @@ ch2 = logging.StreamHandler(stream=sys.stdout) LOG.addHandler(ch) LOG.addHandler(ch2) -_frr_daemons = ['zebra', 'staticd', 'bgpd', 'ospfd', 'ospf6d', 'ripd', 'ripngd', - 'isisd', 'pimd', 'pim6d', 'ldpd', 'eigrpd', 'babeld', 'bfdd', 'fabricd'] +babel_daemon = 'babeld' +bfd_daemon = 'bfdd' +bgp_daemon = 'bgpd' +eigrp_daemon = 'eigrpd' +isis_daemon = 'isisd' +ldpd_daemon = 'ldpd' +mgmt_daemon = 'mgmtd' +openfabric_daemon = 'fabricd' +ospf_daemon = 'ospfd' +ospf6_daemon = 'ospf6d' +pim_daemon = 'pimd' +pim6_daemon = 'pim6d' +rip_daemon = 'ripd' +ripng_daemon = 'ripngd' +static_daemon = 'staticd' +zebra_daemon = 'zebra' + +_frr_daemons = [zebra_daemon, static_daemon, bgp_daemon, ospf_daemon, ospf6_daemon, rip_daemon, ripng_daemon, mgmt_daemon, + isis_daemon, pim_daemon, pim6_daemon, ldpd_daemon, eigrp_daemon, babel_daemon, bfd_daemon, openfabric_daemon] path_vtysh = '/usr/bin/vtysh' path_frr_reload = '/usr/lib/frr/frr-reload.py' |