summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | | | | | Fix live migration volume assignment.Alex Handle2012-10-241-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In pre_live_migration volumes should get assigned (self.volume_api.initialize_connection) to the live migration target host. In post_live_migration the volumes should get unassigned (self.volume_api.terminate_connection) from the live migration source host. Fixes bug 1066887 Change-Id: Ic2db456cd5efbdf15db92f843c92230489efc551
* | | | | | | | | | | | | Merge "update sample for common logging"Jenkins2012-10-251-2/+2
|\ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | update sample for common loggingMelanie Witt2012-10-241-2/+2
| | |_|_|_|_|_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I3104a63c80d589de93eb5caef2aeff962cc58dd6
* | | | | | | | | | | | | Merge "SanISCSIDriver SSH execution fixes."Jenkins2012-10-252-5/+7
|\ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | SanISCSIDriver SSH execution fixes.Yuriy Taraday2012-10-232-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In ssh_execute methon in nova/utils there was a problem with cmd passed to it. From SanISCSIDriver and all other places it is called from cmd is a string. But in ssh_execute method cmd was processed as a list. This can make problems with SanISCSIdriver using. Also it may be useful to pass execute parameter to this SanISCSIDriver class to have the opportunity of overriding _execute method (as it is in VolumeDriver class, that is the root of this class hierarchy). That's why special checking was added. Fixes bug 1070489 Change-Id: I73f74f9d095a2c4316cab88148afe6a0bde44c5b
* | | | | | | | | | | | | | Merge "Add better log line for undefined compute_driver"Jenkins2012-10-251-0/+4
|\ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | Add better log line for undefined compute_driverStanislaw Pitucha2012-10-241-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If compute_driver is undefined, the message in the log files will be an exception ending with: AttributeError: 'NoneType' object has no attribute 'rpartition' Provide a better error message instead. Change-Id: I5f32a376d4f53b0d727e378907ad41c3499121fe
* | | | | | | | | | | | | | | Merge "libvirt: persist volume attachments into config"Jenkins2012-10-253-3/+32
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|_|/ / / / / |/| | | | | | | | | | | | | |
| * | | | | | | | | | | | | | libvirt: persist volume attachments into configVishvananda Ishaya2012-10-243-3/+32
| | |_|_|_|_|_|_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When you attach a volume to a running instance, only the running xml is updated in libvirt. This is due to the usage of the VIRT_DOMAIN_AFFECT_CURRENT flag passed to attach device. What we really want is to affect both the config and the running xml. There is no combination of flags that works in all states, so we explicitly set the right combination of flags depending on the running state of the vm. Includes a test to test_virt_drivers to ensure the flags are passed correctly. Fixes bug 1071069 Change-Id: I1992748b08daf99cf03dfeb0937ad42457fff1a3
* | | | | | | | | | | | | | Merge "Consistent Rollback for instance creation failures"Jenkins2012-10-251-101/+105
|\ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | Consistent Rollback for instance creation failuresAndy McCrae2012-10-241-101/+105
| | |_|_|_|_|/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes Bug 1065092 Adds a single QUOTA.rollback for all exceptions rather than performing the rollback individually. Ensures that no stale "reservations" are left in place after a failed instance creation. Change-Id: I354726b651ae8feb6153d5865e0b14b54c73314b
* | | | | | | | | | | | | | Merge "Don't require quantumclient when running nova-api."Jenkins2012-10-252-7/+11
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|_|_|_|/ / |/| | | | | | | | | | | | |
| * | | | | | | | | | | | | Don't require quantumclient when running nova-api.Dan Prince2012-10-232-7/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Handle ImportErrors's when importing the quantumv2 API in the Nova API servers controller. This makes it possible to run nova-api when quantumclient is not present. This was recently broken in commit 83a8418 which changed how we import the quantum v2 API class. Fixes LP Bug #1070509. Change-Id: I3c452c3bd88cb5b431cb23e525ff78e3d677e1a8
* | | | | | | | | | | | | | Merge "Handle the case where we encounter a snap shot correctly."Jenkins2012-10-242-3/+82
|\ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | Handle the case where we encounter a snap shot correctly.Joshua Harlow2012-10-232-3/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix the list in the qemu output and break out of the loop when we encounter that instead of failing to parse. Fixes bug 1070088. Change-Id: I5f501c599b94e0ac13892c97d60ec740ac7e641d
* | | | | | | | | | | | | | | Merge "xenapi: Tag volumes in boot from volume case"Jenkins2012-10-244-12/+19
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|_|_|_|/ / / |/| | | | | | | | | | | | | |
| * | | | | | | | | | | | | | xenapi: Tag volumes in boot from volume caseRenuka Apte2012-10-124-12/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 1064134 Since https://review.openstack.org/#/c/10574, we require that all openstack volumes are tagged, so as to distinguish them from other disks that could be deleted on instance termination. Change-Id: I965f88bf41d39be88f2331ad081f5cec71a65a0f
* | | | | | | | | | | | | | | Merge "Refactor: move find_guest_agent to xenapi.agent"Jenkins2012-10-243-37/+39
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | Refactor: move find_guest_agent to xenapi.agentMate Lakat2012-10-243-37/+39
| | |_|_|/ / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Related to blueprint xenapi-config-drive find_guest_agent is related to agent, thus moved to that volume. With all the agent calls in one module, making the agent optional will be as easy as implementing a null agent. Change-Id: I5c8cf2fd3d08518e1794a2018429162e4bd767d7
* | | | | | | | | | | | | | | Merge "Return empty list when listing servers with bad status value"Jenkins2012-10-242-4/+4
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / / / / / / / |/| | | | | | | | | | | | | |
| * | | | | | | | | | | | | | Return empty list when listing servers with bad status valueDavanum Srinivas2012-10-242-4/+4
| |/ / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | API indicates the status parameter is a string, hence status=BALONEY is a valid filter that should return zero records since no records match that status. The return should be an empty list and 200 OK. Fixes bug 1061712 Change-Id: If796110a18dd75ab5c5d4ba41e9c3b58180341f8
* | | | | | | | | | | | | | Merge "Remove unused table options dicts."Jenkins2012-10-241-5/+2
|\ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | Remove unused table options dicts.Monty Taylor2012-10-241-5/+2
| | |_|_|_|/ / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ibeccfb01382b19ddc1c91ece7148f7d1b5d98df8
* | | | | | | | | | | | | | Merge "Remove mountpoint from parse_volume_info"Jenkins2012-10-243-16/+21
|\ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | Remove mountpoint from parse_volume_infoMate Lakat2012-10-233-16/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Related to blueprint xenapi-volume-drivers parse_volume_info method did too many things. It was checking the connection_data for iscsi information, and also checked the mountpoint. This change extracts the mountpoint conversion, and performs that check earlier in the volume attach process. Change-Id: I7c26e813319f6d9de287782ad188b22804d032a9
* | | | | | | | | | | | | | | Merge "limit the usage of connection_info"Jenkins2012-10-243-44/+48
|\| | | | | | | | | | | | | |
| * | | | | | | | | | | | | | limit the usage of connection_infoMate Lakat2012-10-233-44/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Related to blueprint xenapi-volume-drivers The connection_info parameter, that is coming from volume contains only two keys, 'driver_volume_type', and 'data'. See: https://github.com/openstack/nova/blob/master/nova/volume/manager.py#L375 parse_volume_info was checking the connection_info for 'auth_method', and authentication parameters. These informations live inside connection_data. This patch is fixing this, and covering with a test. Also rename the generic data variable to connection_data, to make it easier to read the code. parse_volume_info thus no longer depends on the whole connection_info, only on the connection_data. Also clean-up some copy-paste test setup code. Change-Id: I5289120d46176c8528c3317a650269c4f384f930
* | | | | | | | | | | | | | | Merge "Remove database usage from libvirt imagecache module"Jenkins2012-10-247-71/+92
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|/ / / / / / / |/| | | | | | | | | | | | | |
| * | | | | | | | | | | | | | Remove database usage from libvirt imagecache moduleDan Smith2012-10-247-71/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This removes the database instance list operation from the libvirt imagecache module and pushes it up into compute/manager.py. This is a step in the proposed strategy to move db usage out of the virt drivers up into compute/manager.py in support of bp:no-db-compute. Change-Id: I2ea39f14304ed4b44c7ac9650703a5f780411c18
* | | | | | | | | | | | | | | Merge "nova-compute sends its capabilities to schedulers ASAP"Jenkins2012-10-241-0/+3
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | nova-compute sends its capabilities to schedulers ASAPArata Notsu2012-10-231-0/+3
| | |_|_|_|_|/ / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes Bug 1068114. When a nova-compute runs for the first time, after an entry in compute_nodes table is created, it takes some time for the capabilities to be sent to schedulers. It may make the schedulers send unacceptable requests to the nova-compute. This patch eliminates it by sending the capabilities before creating the entry in compute_node. Change-Id: Id9851d9a6f0305256dfa6dfb63ab508e6f519fa2
* | | | | | | | | | | | | | | Merge "Refactor: config drive related functions"Jenkins2012-10-242-17/+17
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | Refactor: config drive related functionsMate Lakat2012-10-242-17/+17
| | |_|_|_|_|_|_|_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Related to blueprint xenapi-config-drive Move the configdrive related functions to the nova.virt.configdrive module, so that it could be used by other drivers as well. Also move the configdrive related configuration options to the same module. Change-Id: Ib97ab907ac820e616017f770c2f3a8366af57a0f
* | | | | | | | | | | | | | | Merge "Fix the fail-on-zero-tests case so that it is tolerant of no output"Jenkins2012-10-241-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | Fix the fail-on-zero-tests case so that it is tolerant of no outputDan Smith2012-10-221-1/+1
| | |_|_|_|_|_|_|_|_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some ways of running run_tests.sh will not output a line for us to parse the count from. Treat no "Ran X tests" as "Ran 0 tests". Change-Id: I96ba13e797ceaf9b9fa2b60ccb558510b5e32a88
* | | | | | | | | | | | | | | Merge "Change install_venv to use setup.py develop."Jenkins2012-10-241-5/+2
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | Change install_venv to use setup.py develop.Monty Taylor2012-10-171-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the potential use of entry points, code from the current tree needs to be installed into a venv created by install_venv.py via setup.py develop. This will ensure that the appropriate meta-data and paths are set in the virtualenv. Change-Id: I1ca15959c98a24629d2f5b2c385296c4e2fe770c
* | | | | | | | | | | | | | | | Merge "Use instance_exists to check existence"Jenkins2012-10-241-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | Use instance_exists to check existenceMotoKen2012-10-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use instance_exists instead of list_instances since commit 27c11c4bb4. Change-Id: I780e70f6b573a15e4acc71af16695e0db8ad2581
* | | | | | | | | | | | | | | | | Merge "Add Server diagnostics extension api samples"Jenkins2012-10-2413-0/+201
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | Add Server diagnostics extension api samplesMauro S. M. Rodrigues2012-10-2213-0/+201
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Id53e17caa75dcab01dd3209f771891b4e92debec
* | | | | | | | | | | | | | | | | | Merge "Fix error on invalid delete_on_termination value"Jenkins2012-10-242-1/+28
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | Fix error on invalid delete_on_termination valueUnmesh Gurjar2012-10-222-1/+28
| | |/ / / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Fixed 500 error when an invalid value is passed to 'delete_on_termination' parameter in 'block_device_mapping' of create server API (json request). Converted the value to 'bool' (similar to XML request workflow) to fix issue. 2. Also added unit test coverage. Fixes LP: #1060955 Change-Id: Ib35040f17a3712dac45ec1e3c2f32fee17db7c03
* | | | | | | | | | | | | | | | | | Merge "Add DNS records on IP allocation in VlanManager."Jenkins2012-10-242-4/+18
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | Add DNS records on IP allocation in VlanManager.Yuriy Taraday2012-10-192-4/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: If13f5d2902905154ce4753a45e5d5369d1bf68af
* | | | | | | | | | | | | | | | | | Merge "xenapi: fix bfv behavior when SR is not attached"Jenkins2012-10-243-3/+63
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|/ / / / / / / / / |/| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | xenapi: fix bfv behavior when SR is not attachedRenuka Apte2012-10-173-3/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 1063920 If we try to boot from volume right after a detach volume operation on the xensm volume driver, the SR has been disconnected. This results in a failure to populate the vdis list. Introducing the SR if it isn't in the xapi db fixes this. Change-Id: I7e6b5e643ea3e20ba691141950cddfcb0ab5f3b8
* | | | | | | | | | | | | | | | | | Merge "Fix and enable pep8 E502, E712"Jenkins2012-10-247-9/+9
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|_|/ / / / / / / / |/| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | Fix and enable pep8 E502, E712Joe Gordon2012-10-227-9/+9
| | |_|_|_|_|/ / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pep8 E502 and E712 were temporarily disabld when upgrading to pep8 1.2 Change-Id: If5158304cb8e73ef844dea9f726df6f8fe305269
* | | | | | | | | | | | | | | | | Migrate network of an instanceJian Wen2012-10-249-1/+237
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In multi_host mode, floating ip(s) addr and NAT rules are still on source node after resize/migrate instance. This patch fixes it up by adding new methods in network.api to moving them to the destination node. Also adds the new methods to network/quantumv2/api.py. They do nothing but pass for now. This patch updates network RPC API to version 1.1 Fixes bug 1053344 Change-Id: If9f30050d37831f108ac4a1c8a018d820818f3b6