HWCloudEngine / hybrid_cloud

6 stars 12 forks source link

[BGW HA] Implement external IP reassignment in AWS #37

Open eshedg opened 8 years ago

eshedg commented 8 years ago

Overview of new functionality

Implement external IP reassignment from a failed BGW instance to a substitute BGW instance, in AWS.

Context of new functionality

When L2GW-Agent disconnects from an active OVSDB and selects a substitute (refer to #35 ), it will call a hook point (refer to #36 ), which allows additional steps to be taken in order to ensure successful failover of the BGW. In this task, we will implement reassignment of the external IP of the failed BGW, to which external BGW forward traffic from remote MACs.

External references

http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/MultipleIP.html http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html