DM: configure virtual-gateway-address under IRB interface
Bug #1465070 reported by
Nischal Sheth
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R2.20 |
Fix Committed
|
High
|
Suresh Balineni | |||
Trunk |
Fix Committed
|
High
|
Suresh Balineni |
Bug Description
The IP addresses under IRB interface should be configured as follows:
Need to allocate a unique IP address from the subnet for each MX's IRB
address i.e. don't simply configure the GW IP as the IRB IP address. The
IRB IPs thus allocated need to be persisted so that we can re-use the
same addresses when DM is restarted. They should be released if the
MX no longer needs the VN. Note that each MX needs to use a unique
address as the IRB IP address.
Further, the GW IP of the subnet should be configured on the MX as the
virtual-
use the same virtual-
Current code to configure IRB also seems to use a hard coded mask of /24:
etree.SubElemen t(addr, "name").text = gateway + "/24"
Should fix this as well when implementing this.