summaryrefslogtreecommitdiffstats
path: root/zebra/zebra_vrf.h
diff options
context:
space:
mode:
authorSebastien Merle <sebastien@netdef.org>2020-05-26 14:01:03 +0200
committerSebastien Merle <sebastien@netdef.org>2020-07-17 17:39:05 +0200
commit98a3fb0ab9b92443c0c92e073d3f184b88dcbfc6 (patch)
tree6155c3a53f8207b224c2f8fac522069cfc1dbdef /zebra/zebra_vrf.h
parentMerge pull request #6752 from xThaid/evpn_neigh_fix (diff)
downloadfrr-98a3fb0ab9b92443c0c92e073d3f184b88dcbfc6.tar.xz
frr-98a3fb0ab9b92443c0c92e073d3f184b88dcbfc6.zip
zebra: add IPv6 router-id
* add a vrf sub-command `[no] ipv6 router-id X:X::X:X`. * add command `[no] ipv6 router-id X:X::X:X [vrf NAME]` for backward compatibility. * add a vrf sub-command `[no] ip router-id A.B.C.D` and make the old one without `ip` an alias for it. * add a command `[no] ip router-id A.B.C.D [vrf NAME]` for backward comptibility and make the old one without `ip` an alias for it. * add command `show ip router-id [vrf NAME]` and make the old one without `ip` an alias for it. * add command `show ipv6 router-id [vrf NAME]`. * add ZAPI commands `ZEBRA_ROUTER_ID_V6_ADD`, `ZEBRA_ROUTER_ID_V6_DELETE` and `ZEBRA_ROUTER_ID_V6_UPDATE` for deamons to get notified of the IPv6 router-id. * update zebra documentation. Signed-off-by: Sebastien Merle <sebastien@netdef.org>
Diffstat (limited to 'zebra/zebra_vrf.h')
-rw-r--r--zebra/zebra_vrf.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/zebra/zebra_vrf.h b/zebra/zebra_vrf.h
index d262faa07..d200f5a4c 100644
--- a/zebra/zebra_vrf.h
+++ b/zebra/zebra_vrf.h
@@ -92,6 +92,11 @@ struct zebra_vrf {
struct list *rid_all_sorted_list;
struct list *rid_lo_sorted_list;
struct prefix rid_user_assigned;
+ struct list _rid6_all_sorted_list;
+ struct list _rid6_lo_sorted_list;
+ struct list *rid6_all_sorted_list;
+ struct list *rid6_lo_sorted_list;
+ struct prefix rid6_user_assigned;
/*
* Back pointer to the owning namespace.