]> git.puffer.fish Git - mirror/frr.git/commit
ldpd: remove the interface vty node
authorRenato Westphal <renato@opensourcerouting.org>
Thu, 30 Mar 2017 23:26:17 +0000 (20:26 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Fri, 31 Mar 2017 15:57:25 +0000 (12:57 -0300)
commit308252d06dfb76edf1477b96416c2e2aa9f90579
treef1b7bb23e568c297609fe42b231dd61e4d3df252
parent726329191d8c153a91af70396513ebc71f50e4a1
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>
ldpd/ldp_vty.h
ldpd/ldp_vty_conf.c
ldpd/ldpd.c
vtysh/vtysh.c
vtysh/vtysh.h