summaryrefslogtreecommitdiffstats
path: root/nova
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | | | | | | | | | | | Merge "Add AggregateCoreFilter"Jenkins2013-06-282-4/+99
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | Add AggregateCoreFilterQiu Yu2013-06-212-4/+99
| |/ / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implements blueprint per-aggregate-resource-ratio * AggregateCoreFilter to support per-aggregate cpu_allocation_ratio * Falls back to global setting if per-aggregate value not found DocImpact Change-Id: I9230f46e2490226f3c50d616aa173d4722095087
* | | | | | | | | | | | | | | | | Merge "Moves scheduler.manager._set_vm_state_and_notify to scheduler.utils"Jenkins2013-06-282-52/+54
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Moves scheduler.manager._set_vm_state_and_notify to scheduler.utilsTiago Mello2013-06-282-52/+54
| | |/ / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This method is required by the scheduler.manager.prep_resize method which is being moved to conductor.manager. We move it to scheduler.utils until we completely move migrations logic out of scheduler.manager. Partially implements bp cold-migrations-to-conductor Change-Id: I8203577fc26da5cc1039815e31fb8fe356d1f7d6
* | | | | | | | | | | | | | | | Merge "Ignore lifecycle events for non-existent instances"Jenkins2013-06-282-1/+42
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|_|_|/ / / / / |/| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Ignore lifecycle events for non-existent instancesPeter Feiner2013-06-272-1/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since event delivery is asynchronous, there's an inherent yet benign race in the event handler querying the database for a deleted instance. Fixes bug #1180501. Change-Id: I8e478fb13bedfc86730018ba849ecc71d4286f0d
* | | | | | | | | | | | | | | | Merge "Better default for my_ip if 8.8.8.8 is unreachable"Jenkins2013-06-283-1/+145
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / / / / / / / |/| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Better default for my_ip if 8.8.8.8 is unreachableDavanum Srinivas2013-06-263-1/+145
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Run if route/show, extract ipv4 addresses and pick the first one. Fall back to 127.0.0.1 as before if we don't find anything or if we have running the ip route/show commands Fixes LP# 1193013 Change-Id: If73f0f6bf67f858f7506220debab0f74cc9e3cb4
* | | | | | | | | | | | | | | | Merge "No support for double nested 64 bit guest using VCDriver"Jenkins2013-06-281-0/+4
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | No support for double nested 64 bit guest using VCDriverJacob Cherkas2013-06-181-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 64bit instances launched on ESX via the VCDriver will not support running 64bit guests. There is an option that can be passed during the vmx creation that will allow for this to happen. This is very useful if you want to run hypervisors (esx, kvm) on top of ESX and then run 64bit VMs on top of those hypervisors. Fixes bug 1192256 Change-Id: Id6eb224c97569737cbb41f1b64f61805e1df004e
* | | | | | | | | | | | | | | | | Merge "Fix resizes with attached file-based volumes"Jenkins2013-06-273-6/+103
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | Fix resizes with attached file-based volumesRafi Khardalian2013-06-273-6/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug 1190364 get_instance_disk_info() now takes an additional, optional argument of block_device_info. When passed in, we use it to filter out volumes, such that they are not returned. Previously, any devices classified as "file" as parsed from the instance XML were considered local disks. This assumption is incorrect, since some volumes are simply files, rather than block devices. Added a new test, based almost entirely off the existing test case for this function, which represents an XML file with two fake file-based (NFS-like) volumes and associated block_device_info to claim those volumes. Change-Id: I4809a8fd68eb0f709347aa7cad0fa85389ade41c
* | | | | | | | | | | | | | | | | | Merge "Remove broken config_drive image_href support."Jenkins2013-06-279-94/+55
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | Remove broken config_drive image_href support.Chris Behrens2013-06-269-95/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | image_href support has not been working since at least shortly before Folsom release. This is a good indication that this functionality is not used. As far as I can tell, the docs also do not match what was supported. An image ID was required, but docs show examples with full hrefs. DocImpact http://docs.openstack.org/developer/nova/api_ext/ext_config_drive.html References to supporting image_hrefs should be removed. This patch also removes the hack that passed a config_drive_id via the Instance dictionary when config_drive_id is not a valid Column for Instance. Fixes bug 1186401 Change-Id: Iced7bc8e278cb9f208183f1dbb7a293675a47eae
* | | | | | | | | | | | | | | | | | | Merge "Fix a couple typos in the nova.exception module"Jenkins2013-06-271-2/+2
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | Fix a couple typos in the nova.exception moduleMatt Riedemann2013-06-261-2/+2
| | |_|_|_|_|_|_|_|_|_|_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch fixes a couple of typos in localized user-facing strings in the nova.exception module. Fixes bug 1194944 Change-Id: Ia85e69c23832ab4fd9f56c525075bd30bf4b059e
* | | | | | | | | | | | | | | | | | Merge "Remove trivial cases of unused variables (3)"Jenkins2013-06-2720-130/+103
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | Remove trivial cases of unused variables (3)Stanislaw Pitucha2013-06-2720-130/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Kill some of the variables marked as unused by flakes8. This should allow to enable F841 check in the future. Only trivial cases with no function calls and obviously pure functions (like datetime.now(), or len()) are cleaned up here. Part 3, split to reduce conflicts. Change-Id: I7b8e806ddd7b0e077243d4e31de140cd08fe0155
* | | | | | | | | | | | | | | | | | | Merge "Fix metadata access in prep for instance objects"Jenkins2013-06-274-5/+13
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | | Fix metadata access in prep for instance objectsAlexei Kornienko2013-06-274-5/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Related to blueprint unified-object-model Fixes: bug #1192012 Change-Id: I8b708dc3d89fedfcb4bbf5d26b959da1298b0525
* | | | | | | | | | | | | | | | | | | | Merge "Baremetal_deploy_helper error message formatting."Jenkins2013-06-271-12/+13
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | | | Baremetal_deploy_helper error message formatting.Dan Prince2013-06-211-12/+13
| | |_|_|_|_|_|_|_|_|_|_|_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updates our baremetal_deploy_helper so our error message use formatting that works with translations. Change-Id: I8811df50f0e80c5680e6316c829a197b0ade5967
* | | | | | | | | | | | | | | | | | | | Merge "Organize limits units and per-units constants"Jenkins2013-06-273-33/+33
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | Organize limits units and per-units constantsMauro S. M. Rodrigues2013-06-143-33/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During v3 api review there was an agreement that would be nice to move limits constants to utils file and refactor its usage inside limits api to avoid unnecessary code duplication. Also changed TestLimiter class to MockLimiter since that name can be confuse to some unit test frameworks. Change-Id: I1b8626e8d1e3257333d4dfee61591fd4cde82bd1
* | | | | | | | | | | | | | | | | | | | Merge "Sync db.models.Quota* with migrations."Jenkins2013-06-271-8/+15
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | Sync db.models.Quota* with migrations.Svetlana Shturm2013-06-201-8/+15
| | |_|/ / / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Blueprint: db-sync-models-with-migrations Change-Id: Ic97690b650151eb7086cbd40093c0f3c373133e2
* | | | | | | | | | | | | | | | | | | Merge "Log xml in libvirt _create_domain failures"Jenkins2013-06-272-3/+104
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | | Log xml in libvirt _create_domain failuresMatt Riedemann2013-06-172-3/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When an error occurs defining, launching or enabling hairpin mode on a libvirt domain, log the xml for reproduction and analysis. Fixes bug 1183534 Change-Id: Ic8f1d11c5a92779c686b7248895bbc6f2cfdbf0b
* | | | | | | | | | | | | | | | | | | | Merge "Port flavor_access extension to v3 API Part 2"Jenkins2013-06-273-34/+31
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|_|_|_|_|/ / / / / / | |/| | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | Port flavor_access extension to v3 API Part 2Alexei Kornienko2013-06-273-34/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ports the flavor_access extension and the corresponding unittests to the v3 framework. Partially implements blueprint nova-v3-api Change-Id: I671f490bad2daaaae06d48328f4fff10076ab0ed
* | | | | | | | | | | | | | | | | | | | Sync to_primitive() IPAddress support from OsloDan Smith2013-06-271-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This enlightens to_primitive() that it may just call str() to serialize netaddr.IPAddress objects. We need this for NovaObject serialization through legacy interfaces temporarily while we migrate things. Related to blueprint unified-object-model Change-Id: Ibdee90e4bbd337d541344977e2a689982e0a7d34
* | | | | | | | | | | | | | | | | | | | Merge "xenapi: Make BitTorrent url more flexible"Jenkins2013-06-272-17/+15
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | xenapi: Make BitTorrent url more flexibleBrian Elliott2013-06-262-17/+15
| | |_|_|_|_|_|_|_|_|_|/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change xenapi bittorrent plugin to not assume that torrent file is under CONF.xenapi_torrent_base_url + image_id + ".torrent". This allows for sources images from arbitrary torrent URLs. Change-Id: Ica9462a51c6299b5affc861781f3054d18866458
* | | | | | | | | | | | | | | | | | | Merge "Port flavor_access extension to v3 API Part 1"Jenkins2013-06-272-0/+532
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | Port flavor_access extension to v3 API Part 1Alexei Kornienko2013-06-272-0/+532
| | |_|_|_|_|_|_|_|_|_|_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changeset only copies the v2 files (implementation and test) into the appropriate v3 directories unchanged. The copy as-is will not be loaded by either the v2 or v3 extension loaders. The second changeset will then make the changes required for it to work as a v3 extension. This is being done in order to make reviewing of extension porting easier as gerrit will display only what is actually changed for v3 rather than entirely new files Partially implements blueprint nova-v3-api Change-Id: I6a2648ac9f59ff122f06a63991b57e595b2c5696
* | | | | | | | | | | | | | | | | | Merge "Add tests for libvirt's reboot functionality"Jenkins2013-06-271-0/+85
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | Add tests for libvirt's reboot functionalityNikola Dipanov2013-06-181-0/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patcha adds the missing tests for libvirt drivers reboot method. Change-Id: I6215f80bd15820dac80151e7063916dbbc21d761
* | | | | | | | | | | | | | | | | | | Merge "Check the instance ID before creating it"Jenkins2013-06-271-13/+16
|\| | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | Check the instance ID before creating itAnte Karamatić2013-06-181-13/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | At least with libvirt 1.x instance goes into shutdown state before its ID is changed. This means that there's a race condition during reboot where nova might try to create an instance that's already defined. By checking if the ID of the new and old instance is the same, we avoid that situation and reiterate on the loop. The tests for this are added in I6215f80bd15820dac80151e7063916dbbc21d761 Change-Id: I493b828f0c6848fbadc591be2f47fd1b12fd3a51 Fixes: bug 1181924
* | | | | | | | | | | | | | | | | | | Merge "Add update() method to NovaObject for dict compatibility"Jenkins2013-06-271-0/+8
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | | Add update() method to NovaObject for dict compatibilityDan Smith2013-06-261-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order for objects to behave like dicts, they need to support the update() method. This patch adds that. Related to blueprint unified-object-model Change-Id: Icb3932682285cbf8e7362e5b748e42a754b17fe7
* | | | | | | | | | | | | | | | | | | | Merge "Add obj_to_primitive() to recursively primitiveize objects"Jenkins2013-06-272-0/+42
|\| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | Add obj_to_primitive() to recursively primitiveize objectsDan Smith2013-06-262-0/+42
| | |/ / / / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Occasionally we need to recursively process a NovaObject into a representative dict or list. This patch adds a function to do that recursively, accounting for nested objects and lists of objects. Related to blueprint unified-object-model Change-Id: I6adb84f9e5a0564ec4af14200e26e838b4a5bb6e
* | | | | | | | | | | | | | | | | | | Merge "Stop creating folders in virt unit tests"Jenkins2013-06-272-17/+23
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | Stop creating folders in virt unit testsJoe Gordon2013-06-252-17/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before nova.tests.virt.libvirt tests created 4 empty UUID named folders in the top level nova directory. Tests should not leave artifacts like these around. Fix bug 1194676 Change-Id: I941b23ecb94db2f4a0cc60eeb06766f960775ba1
* | | | | | | | | | | | | | | | | | | Merge "Accept is_public=None when listing all flavors"Jenkins2013-06-263-1/+13
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | | Accept is_public=None when listing all flavorsXavier Queralt2013-06-173-1/+13
| | |_|_|_|_|_|_|_|_|_|_|_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | nova-client uses a None (with capital N) when listing all the flavors. Right now this is interpreted as a wrong query by n-api preventing us from listing the private flavors using the nova-client. Fixes bug #1190239 Change-Id: I2a9b1c24cd744c8819c1d41e0ad103d05398401c
* | | | | | | | | | | | | | | | | | | Merge "Adds support for the Indigo Virtual Switch (IVS)"Jenkins2013-06-264-6/+218
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | | Adds support for the Indigo Virtual Switch (IVS)Kevin Benton2013-06-094-6/+218
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implements: blueprint ivs-vif-driver Adds line to rootwrap config to allow call to ivs-ctl to control the Indigo switch. Adds a new 'ivs' VIF type in network/model.py. Adds support to the LibvirtGenericVIFDriver class for the IVS switch. Adds functions to linux_net.py to create and delete IVS vif ports. Adds unit tests to test the new IVS methods. Change-Id: I65436b82f65374103644af8aba9dba14ba73f94c
* | | | | | | | | | | | | | | | | | | | Merge "Port quota classes extension to v3 API Part 1"Jenkins2013-06-262-0/+291
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \