diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2017-03-30 20:26:17 -0300 | 
|---|---|---|
| committer | Renato Westphal <renato@opensourcerouting.org> | 2017-03-31 12:57:25 -0300 | 
| commit | 308252d06dfb76edf1477b96416c2e2aa9f90579 (patch) | |
| tree | f1b7bb23e568c297609fe42b231dd61e4d3df252 /ldpd/ldp_vty.h | |
| parent | 726329191d8c153a91af70396513ebc71f50e4a1 (diff) | |
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 'ldpd/ldp_vty.h')
| -rw-r--r-- | ldpd/ldp_vty.h | 1 | 
1 files changed, 0 insertions, 1 deletions
diff --git a/ldpd/ldp_vty.h b/ldpd/ldp_vty.h index 0b05e6fbf1..8510a394ec 100644 --- a/ldpd/ldp_vty.h +++ b/ldpd/ldp_vty.h @@ -80,6 +80,5 @@ int	 ldp_vty_debug(struct vty *, struct vty_arg *[]);  int	 ldp_vty_show_debugging(struct vty *, struct vty_arg *[]);  void	 ldp_vty_init(void); -void	 ldp_vty_if_init(void);  #endif	/* _LDP_VTY_H_ */  | 
