DM: Allocate and persist irb address from each subnet of a VN for each PR
- Allocate one ip from each subnet of a VN for each PR.
- Persist the ip and the association with VN, Subnet, PR in cassandra DB
- On DM restart, read the DB state and maintain allocated ip map in local memory
- On update/restart, find differences between allocated
ip map vs VNC DB state of VN, and take necessary actions
- GW IP of the subnet is configured on the MX as the
virtual-gateway-address under the IRB IP address
Reviewed: https:/ /review. opencontrail. org/13299 github. org/Juniper/ contrail- controller/ commit/ 6bc451579d87230 7f5beeaeb002623 82968eda04
Committed: http://
Submitter: Zuul
Branch: master
commit 6bc451579d87230 7f5beeaeb002623 82968eda04
Author: sbalineni <email address hidden>
Date: Tue Aug 25 11:22:45 2015 -0700
DM: Allocate and persist irb address from each subnet of a VN for each PR
- Allocate one ip from each subnet of a VN for each PR. gateway- address under the IRB IP address
- Persist the ip and the association with VN, Subnet, PR in cassandra DB
- On DM restart, read the DB state and maintain allocated ip map in local memory
- On update/restart, find differences between allocated
ip map vs VNC DB state of VN, and take necessary actions
- GW IP of the subnet is configured on the MX as the
virtual-
Change-Id: Id0bcb4abeae9fb 5eadf93ef9091be 0b4da50655f
Closes-Bug: #1465070