Implement plug_vifs and add support for multiple interfaces
Previously, if there were multiple interfaces in network_info
the docker driver would ignore them and just use the first one.
Therefore, if one was booting an instance with multiple nics you
would only get the first requested one. This patch fixes that and
implements plug_vifs which allows you to know reboot a nova-compute
node and have it respawn the instances with their interfaces configured as
how they were before.
Reviewed: https:/ /review. openstack. org/85157 /git.openstack. org/cgit/ stackforge/ nova-docker/ commit/ ?id=9ad7a4ccd7d 73e9aa49207dcdf e6d67d6652cb33
Committed: https:/
Submitter: Jenkins
Branch: master
commit 9ad7a4ccd7d73e9 aa49207dcdfe6d6 7d6652cb33
Author: Aaron Rosen <email address hidden>
Date: Thu Apr 3 13:02:01 2014 -0700
Implement plug_vifs and add support for multiple interfaces
Previously, if there were multiple interfaces in network_info
the docker driver would ignore them and just use the first one.
Therefore, if one was booting an instance with multiple nics you
would only get the first requested one. This patch fixes that and
implements plug_vifs which allows you to know reboot a nova-compute
node and have it respawn the instances with their interfaces configured as
how they were before.
Change-Id: I94b35f6e93db2e e5bf09a3a7c4491 ec3d281d8ab
Closes-bug: 1302149