summaryrefslogtreecommitdiffstats
path: root/vtysh/vtysh.h
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2017-03-31 01:26:17 +0200
committerRenato Westphal <renato@opensourcerouting.org>2017-03-31 17:57:25 +0200
commit308252d06dfb76edf1477b96416c2e2aa9f90579 (patch)
treef1b7bb23e568c297609fe42b231dd61e4d3df252 /vtysh/vtysh.h
parentldpd: no need to synchronize pseudowires with LSPs anymore (diff)
downloadfrr-308252d06dfb76edf1477b96416c2e2aa9f90579.tar.xz
frr-308252d06dfb76edf1477b96416c2e2aa9f90579.zip
ldpd: remove the interface vty node
ldpd uses a hierarchical configuration model where all commands are defined inside the "mpls ldp" node and its subnodes. The idea is to keep all LDP configuration in a single place to keep things simple. With that said, we can remove the "config-if" node from ldpd because we already have a separate node ("config-ldp-af-if") for LDP-related interface specific commands. Example: vtysh(config)# mpls ldp vtysh(config-ldp)# address-family ipv4 vtysh(config-ldp-af)# interface eth1 vtysh(config-ldp-af-if)# discovery hello ? holdtime Hello holdtime interval Hello interval Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'vtysh/vtysh.h')
-rw-r--r--vtysh/vtysh.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vtysh/vtysh.h b/vtysh/vtysh.h
index 07ba8367d..6d9e21d8a 100644
--- a/vtysh/vtysh.h
+++ b/vtysh/vtysh.h
@@ -44,7 +44,7 @@ DECLARE_MGROUP(MVTYSH)
* 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
#define VTYSH_RMAP VTYSH_ZEBRA|VTYSH_RIPD|VTYSH_RIPNGD|VTYSH_OSPFD|VTYSH_OSPF6D|VTYSH_BGPD|VTYSH_PIMD
-#define VTYSH_INTERFACE VTYSH_ZEBRA|VTYSH_RIPD|VTYSH_RIPNGD|VTYSH_OSPFD|VTYSH_OSPF6D|VTYSH_LDPD|VTYSH_ISISD|VTYSH_PIMD|VTYSH_NHRPD
+#define VTYSH_INTERFACE VTYSH_ZEBRA|VTYSH_RIPD|VTYSH_RIPNGD|VTYSH_OSPFD|VTYSH_OSPF6D|VTYSH_ISISD|VTYSH_PIMD|VTYSH_NHRPD
#define VTYSH_NS VTYSH_ZEBRA
#define VTYSH_VRF VTYSH_ZEBRA