summaryrefslogtreecommitdiffstats
path: root/vtysh/vtysh.h
diff options
context:
space:
mode:
authorChristian Franke <chris@opensourcerouting.org>2018-03-22 15:01:15 +0100
committerChristian Franke <chris@opensourcerouting.org>2018-09-05 11:38:12 +0200
commit770ccdf874da684fce9e821bb7cc92dfbb642d8b (patch)
tree37872fc35c4ed7d845a4d3f8ca7e5e067f98f5c1 /vtysh/vtysh.h
parentredhat: Add fabricd to RPM package (diff)
downloadfrr-770ccdf874da684fce9e821bb7cc92dfbb642d8b.tar.xz
frr-770ccdf874da684fce9e821bb7cc92dfbb642d8b.zip
vtysh: support fabricd
Extend extract.pl so it can deal with the isis source code being compiled twice, once for isisd and once for fabricd. Add the fabricd node and client to vtysh. Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Diffstat (limited to 'vtysh/vtysh.h')
-rw-r--r--vtysh/vtysh.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/vtysh/vtysh.h b/vtysh/vtysh.h
index 5bff01a50..ee980d512 100644
--- a/vtysh/vtysh.h
+++ b/vtysh/vtysh.h
@@ -41,6 +41,7 @@ DECLARE_MGROUP(MVTYSH)
#define VTYSH_PBRD 0x04000
#define VTYSH_STATICD 0x08000
#define VTYSH_BFDD 0x10000
+#define VTYSH_FABRICD 0x20000
#define VTYSH_WAS_ACTIVE (-2)
@@ -49,9 +50,9 @@ DECLARE_MGROUP(MVTYSH)
/* watchfrr is not in ALL since library CLI functions should not be
* run on it (logging & co. should stay in a fixed/frozen config, and
* things like prefix lists are not even initialised) */
-#define VTYSH_ALL VTYSH_ZEBRA|VTYSH_RIPD|VTYSH_RIPNGD|VTYSH_OSPFD|VTYSH_OSPF6D|VTYSH_LDPD|VTYSH_BGPD|VTYSH_ISISD|VTYSH_PIMD|VTYSH_NHRPD|VTYSH_EIGRPD|VTYSH_BABELD|VTYSH_SHARPD|VTYSH_PBRD|VTYSH_STATICD|VTYSH_BFDD
-#define VTYSH_RMAP VTYSH_ZEBRA|VTYSH_RIPD|VTYSH_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