diff options
| author | Philippe Guibert <philippe.guibert@6wind.com> | 2017-01-04 15:45:54 +0100 |
|---|---|---|
| committer | Philippe Guibert <philippe.guibert@6wind.com> | 2017-02-14 13:58:57 +0100 |
| commit | 9e6df0b7ac03724397fb27472b745f6156d27152 (patch) | |
| tree | 2b9e34750611da0ecbcd5a97d82093439acadc46 /lib/command.c | |
| parent | 79c0c959860d1773404a16f1fa62431ab333d2e0 (diff) | |
lib: define BGP_EVPN_NODE
This define introduces bgp sub node address-family evpn.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'lib/command.c')
| -rw-r--r-- | lib/command.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/command.c b/lib/command.c index b166d8e0da..24272ccd1e 100644 --- a/lib/command.c +++ b/lib/command.c @@ -1055,6 +1055,7 @@ node_parent ( enum node_type node ) case BGP_IPV4M_NODE: case BGP_IPV6_NODE: case BGP_IPV6M_NODE: + case BGP_EVPN_NODE: ret = BGP_NODE; break; case KEYCHAIN_KEY_NODE: @@ -1421,6 +1422,7 @@ cmd_exit (struct vty *vty) case BGP_VNC_L2_GROUP_NODE: case BGP_IPV6_NODE: case BGP_IPV6M_NODE: + case BGP_EVPN_NODE: vty->node = BGP_NODE; break; case LDP_IPV4_NODE: @@ -1489,6 +1491,7 @@ DEFUN (config_end, case BGP_IPV4M_NODE: case BGP_IPV6_NODE: case BGP_IPV6M_NODE: + case BGP_EVPN_NODE: case RMAP_NODE: case OSPF_NODE: case OSPF6_NODE: |
