diff options
| author | vivek <vivek@cumulusnetworks.com> | 2017-05-15 15:01:57 -0700 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-07-12 15:07:27 -0400 |
| commit | 90e60aa7c9e2bf346c83b6c1757c060ab4859ad3 (patch) | |
| tree | 8c619b9aa123213d46fffb20ab676d3c7bb3897a /lib/command.c | |
| parent | 520d5d768b996e96c375562d2b92c37801f9081b (diff) | |
bgpd: Additional configuration for EVPN
Implement configuration options for EVPN. The configuration options include
VNI configuration with RD and Import and Export Route Targets. Also, display
the EVPN configuration.
Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Diffstat (limited to 'lib/command.c')
| -rw-r--r-- | lib/command.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/command.c b/lib/command.c index 5ca4a0fda9..c3324b4f93 100644 --- a/lib/command.c +++ b/lib/command.c @@ -875,6 +875,9 @@ node_parent ( enum node_type node ) case BGP_IPV6L_NODE: ret = BGP_NODE; break; + case BGP_EVPN_VNI_NODE: + ret = BGP_EVPN_NODE; + break; case KEYCHAIN_KEY_NODE: ret = KEYCHAIN_NODE; break; @@ -1244,6 +1247,9 @@ cmd_exit (struct vty *vty) case BGP_IPV6L_NODE: vty->node = BGP_NODE; break; + case BGP_EVPN_VNI_NODE: + vty->node = BGP_EVPN_NODE; + break; case LDP_IPV4_NODE: case LDP_IPV6_NODE: vty->node = LDP_NODE; @@ -1312,6 +1318,7 @@ DEFUN (config_end, case BGP_IPV6_NODE: case BGP_IPV6M_NODE: case BGP_EVPN_NODE: + case BGP_EVPN_VNI_NODE: case BGP_IPV6L_NODE: case RMAP_NODE: case OSPF_NODE: |
