summaryrefslogtreecommitdiffstats
path: root/ospfd/ospfd.h
diff options
context:
space:
mode:
authorChirag Shah <chirag@cumulusnetworks.com>2017-11-02 15:54:45 +0100
committerChirag Shah <chirag@cumulusnetworks.com>2017-11-06 22:15:41 +0100
commit6021c6c059b29cbe5498af527442154d5c721a9d (patch)
tree159ed0e2861e19744462dfff12cd13a55b333012 /ospfd/ospfd.h
parentMerge pull request #1414 from donaldsharp/set_nexthop (diff)
downloadfrr-6021c6c059b29cbe5498af527442154d5c721a9d.tar.xz
frr-6021c6c059b29cbe5498af527442154d5c721a9d.zip
ospfd: VRF aware Router-ID update
Ensure zebra received router-id isolated per vrf instance. Store zebra received router-id within ospf instance. Ticket:CM-18657 Reviewed By: Testing Done: Validated follwoing sequence - Create vrf1111 - Create ospf vrf1111 with no router-id - Assign ip to vrf111 - ospf is assigned zebra assigned router-id which is vrf ip. - upon remvoing vrf ip, the router-id retained as same until ospfd restarted. Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Diffstat (limited to 'ospfd/ospfd.h')
-rw-r--r--ospfd/ospfd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ospfd/ospfd.h b/ospfd/ospfd.h
index 4c5bb756f..df318cf2c 100644
--- a/ospfd/ospfd.h
+++ b/ospfd/ospfd.h
@@ -134,6 +134,7 @@ struct ospf {
/* OSPF Router ID. */
struct in_addr router_id; /* Configured automatically. */
struct in_addr router_id_static; /* Configured manually. */
+ struct in_addr router_id_zebra;
vrf_id_t vrf_id; /* VRF Id */
char *name; /* VRF name */