Jason Koelker
6708ca18dd
get all the vifs
2011-09-14 13:47:35 -05:00
Jason Koelker
7c89e0b36e
get all the vifs
2011-09-14 13:47:11 -05:00
Scott Moser
fa118b68ed
resolve conflicts / merge with trunk revno 1569
2011-09-14 12:52:00 -04:00
Dan Prince
26b92ed00f
Fixes an issue where 'invalid literal for int' would occur when listing images after making a v1.1 server snapshot (with a UUID).
...
v1.1 image id's are now treated as strings (not integer ID's). The v1.0 API still tries to treat image id's as integers but doesn't fail miserably if they are uuid's either.
This should pave the way for image ID's as uuids and more closely matches the v1.1 spec with regards to images and the server refs they contain.
2011-09-14 16:41:57 +00:00
Dan Prince
2959380a04
Merge w/ trunk.
2011-09-14 11:23:11 -04:00
Jason Koelker
7e0c35c204
merge the trunk
2011-09-14 10:19:03 -05:00
Jason Koelker
3771928e67
remove the vif joins, some dead code, and the ability to take in some instances for filtering
2011-09-14 10:17:01 -05:00
Jason Koelker
8c6c251c80
allow passing in of instances already
2011-09-14 10:16:02 -05:00
Johannes Erdfelt
f62e665720
Merge with trunk
2011-09-14 15:00:26 +00:00
Sandy Walsh
928472523c
trunk merge
2011-09-13 16:46:53 -07:00
Vishvananda Ishaya
34092169a2
makes sure floating addresses are associated with host on associate so they come back
2011-09-13 16:38:46 -07:00
Dan Prince
c44f2abc24
Merge with trunk. Still one test failure in test_images.
2011-09-13 15:59:45 -04:00
Johannes Erdfelt
b1e1bbd03b
Merge with trunk
2011-09-13 18:34:07 +00:00
Naveed Massjouni
68e2158307
This branch changes XML Serializers and their tests to use lxml.etree instead of minidom.
...
The current use of minidom in tests unnecessarily forces xml ordering as well as pretty printing. Using etree allows for validating the XML and checking individual element values.
Changing all the serializers to use etree allows for fixing of bug 814196 and consistency among the serializers.
Schema validation has been added for addresses, flavors, images, limits, metadata and servers resources.
The atom feeds we generated are now tested using the feedparser module. This allows for stronger, cleaner and more correct validation.
Note: Not all minidom usage has been replaced with lxml. We realized this was too big a job to tackle in a single merge. Fixing those in subsequent merges will be more manageable.
2011-09-13 18:17:13 +00:00
Naveed Massjouni
12da0a16b0
Merge from trunk.
2011-09-13 14:00:20 -04:00
Johannes Erdfelt
b3d79faa9e
Merge with trunk
2011-09-13 15:56:27 +00:00
Johannes Erdfelt
bedbf70ba6
Merge with trunk
2011-09-13 15:49:37 +00:00
Johannes Erdfelt
758576b503
Merge with trunk
2011-09-13 15:47:25 +00:00
Brian Waldon
0ae4dd7cd0
- remove translation of non-recognized attributes to user metadata, now just ignored
...
- ensure all keys are defined in image dictionaries, defaulting to None if glance client doesn't provide one
- remove BaseImageService
- reorganize some GlanceImageService tests
2011-09-13 15:23:15 +00:00
Sandy Walsh
94de283186
we're back
2011-09-13 07:49:03 -07:00
Johannes Erdfelt
8fa6510cff
Merge with trunk
2011-09-12 22:46:12 +00:00
Johannes Erdfelt
b4efdb18f0
PEP8 cleanups
2011-09-12 22:45:38 +00:00
Sandy Walsh
55034443c4
working on getting tests back
2011-09-12 15:22:30 -07:00
Brian Waldon
03f48620d8
merging trunk; resolving conflicts
2011-09-12 17:52:29 -04:00
Johannes Erdfelt
b07094ca6a
Merge with trunk
2011-09-12 20:48:43 +00:00
Antony Messerli
eb0f87128c
pep8 fixes in nova/db/sqlalchemy/api.py and nova/virt/disk.py
2011-09-12 20:19:48 +00:00
Antony Messerli
9403d4e094
pep8 fixes
2011-09-12 14:43:15 -05:00
Brian Waldon
904a6cc538
merging trunk; resolving conflicts
2011-09-12 15:39:13 -04:00
Johannes Erdfelt
fea6979490
Merge with trunk
2011-09-12 19:17:46 +00:00
Chuck Short
3781da5131
Some arches dont have dmidecode, check to see if libvirt is capable of running rather getInfo of the arch its running on.
2011-09-12 18:56:51 +00:00
Naveed Massjouni
07ecd43ea9
Merge from trunk
2011-09-12 12:53:56 -04:00
Sandy Walsh
397600f396
fixups
2011-09-12 09:29:08 -07:00
Sandy Walsh
62fee26916
parent merge
2011-09-12 07:42:28 -07:00
Sandy Walsh
9c18ea6a8e
bug fixes
2011-09-12 07:36:14 -07:00
Brian Waldon
d1d389b580
merging trunk
2011-09-12 10:13:34 -04:00
Sandy Walsh
eb88de1b32
trunk merge
2011-09-12 05:01:02 -07:00
Tushar Patil
ff0e970530
When vpn=true in allocate ip, it attempts to allocate the ip that is reserved in the network. Unfortunately fixed_ip_associate attempts to ignore reserved ips.
...
This fix allows to filter reserved ip address only when vpn=True.
2011-09-12 02:11:43 +00:00
Naveed Massjouni
7c2f60fa5d
Merge from trunk
2011-09-09 22:14:39 -04:00
Chuck Short
4e1fbd8bfa
Merge trunk
2011-09-09 20:48:53 -04:00
Kevin L. Mitchell
ee693dae7b
Stock zones follows a fill-first methodology—the current zone is filled with instances before other zones are considered. This adds a flag to nova to select a spread-first methodology. The implementation is simply adding a random.shuffle() prior to sorting the list of potential compute hosts by weights.
2011-09-09 22:22:10 +00:00
Josh Kearney
eab4c6d4d8
Pass reboot_type (either HARD or SOFT) to the virt layers from the API.
...
This only works with XenAPI at the moment. The other hypervisors will need to be implemented as their maintainers see fit.
2011-09-09 21:37:10 +00:00
Brian Waldon
f19a169132
merging trunk
2011-09-09 17:27:42 -04:00
Kevin L. Mitchell
3932639b9c
pull-up from trunk; move spread_first into base_scheduler.py
2011-09-09 20:23:00 +00:00
Sandy Walsh
bd22e0f132
trunk merge
2011-09-09 12:58:29 -07:00
Johannes Erdfelt
64bfa8e472
Merge with trunk
2011-09-09 18:35:07 +00:00
Josh Kearney
74c9d81fd5
Merged trunk.
2011-09-09 13:05:33 -05:00
Vishvananda Ishaya
17c4b8fc9c
merged rbp
2011-09-09 10:14:24 -07:00
Trey Morris
849353ab43
adds a fake_network module to tests to generate sensible network info for tests. It does not require using the db.
...
This is the first round of a few, it creates the fake_get_instance_nw_info function and updates the libvirt tests to use it.
2011-09-09 15:22:09 +00:00
Brian Waldon
4e745ee250
Adding a can_read_deleted filter back to db.api.instance_get_all_by_filters that was removed in a recent merge.
2011-09-09 14:17:03 +00:00
Josh Kearney
b8454a92f3
Merged trunk.
2011-09-08 16:10:45 -05:00