diff options
| author | Hiroki Shirokura <slank.dev@gmail.com> | 2020-12-19 08:47:11 +0900 |
|---|---|---|
| committer | Mark Stapp <mjs@voltanet.io> | 2021-06-02 10:24:48 -0400 |
| commit | bfaab44d1e6ffa23cfc983ccd72d98e6082e38df (patch) | |
| tree | ebf77021a9a2a009c89071cd364d5ad1e1148aff /lib/command.h | |
| parent | b83127e1568bc22fd8011b535eb2cf95de1dac59 (diff) | |
*: new cli-nodes for BGP SRv6 VPNv4 (step4)
This commit add just CLI-nodes for MP-BGP VPN configuration
with SRv6 backend rather than MPLS. Actual configuration cli
will be implemented after this commit.
Example Configuration follow.
This cli design is based on Cisco IOS-XR but actual cli
tree design is defferent between FRR and Cisco.
It's just based on cisco.
ref:
https://www.cisco.com/c/en/us/td/docs/routers/asr9000/software/asr9k-r6-6/segment-routing/configuration/guide/b-segment-routing-cg-asr9000-66x/b-segment-routing-cg-asr9000-66x_chapter_011.html#concept_hwj_trf_dlb
router bgp 1
bgp router-id 1.1.1.1
!
segment-routing srv6 ! new cli-node
locator LOC1 ! this cli will be added after this commit.
!
!
Signed-off-by: Hiroki Shirokura <slank.dev@gmail.com>
Diffstat (limited to 'lib/command.h')
| -rw-r--r-- | lib/command.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/command.h b/lib/command.h index 846434066d..c36797d125 100644 --- a/lib/command.h +++ b/lib/command.h @@ -120,6 +120,7 @@ enum node_type { BGP_VNC_L2_GROUP_NODE, /* BGP VNC L2 group */ RFP_DEFAULTS_NODE, /* RFP defaults node */ BGP_EVPN_NODE, /* BGP EVPN node. */ + BGP_SRV6_NODE, /* BGP SRv6 node. */ OSPF_NODE, /* OSPF protocol mode */ OSPF6_NODE, /* OSPF protocol for IPv6 mode */ LDP_NODE, /* LDP protocol mode */ |
