2d78854d5361a80c91b78a40980fbf19b48cafb3
Commit Graph

698 Commits

Author SHA1 Message Date
Jenkins
512490200e Merge "Multi-tenancy isolation with aggregates" 2013年02月20日 08:43:50 +00:00
Jenkins
6d0ed8f86f Merge "Add support for network adapter hotplug." 2013年02月20日 06:16:33 +00:00
Belmiro Moreira
f619da2405 Multi-tenancy isolation with aggregates
A new scheduler filter that allows the creation of instances from
specific tenants in selected aggregates.
With this filter is possible to isolate tenants in a specific set
of compute nodes (aggregates).
If a host is in an aggregate that has the metadata key
"filter_tenant_id" it can only create instances from that tenant(s).
A host can be in different aggregates.
If a host doesn't belong to an aggregate with the metadata key
"filter_tenant_id" it can create instances from all tenants.
Implements: blueprint multi-tenancy-aggregates
DocImpact
Change-Id: I119c809c54da9e9dc3ac506c02203d2d4422b06e
2013年02月19日 21:41:18 -08:00
Andrew Laski
d2b553030e Add an extension to show image size.
Adds image size data that is returned from Glance into the API response.
This becomes really useful for users when they take a snapshot and want
to track the storage used by it. Since this information is already
being pulled by Nova we should display it.
DocImpact
Change-Id: I8a2d4001c21bcc54cac1a2992034dfc9fbe39d7e
2013年02月19日 18:53:10 -05:00
Dan Smith
a9add7d35e Add support for network adapter hotplug.
This patch makes it possible to add/del instance
 interface other than booting time.
 Implement bp:network-adapter-hotplug
Originally from change Ibee003a9ec6cc9b3fd275417caccd0c67f6c871f
Co-authored-by: Yaguang Tang <heut2008@gmail.com>
Co-authored-by: Édouard Thuleau <edouard.thuleau@orange.com>
Change-Id: I4f8f677af58afcb928379e5cf859388d1da45d51
2013年02月19日 14:12:54 -05:00
Tom Fifield
e79811b855 Documentation cleanups for nova devref
This patch contains a number of cleanups of the nova devref,
mostly related to outdated content.
1) remove outdated todo items from network
=> these have been long covered in the manuals
2) remove outdated multinic docs and images
=> this is now better covered in:
http://docs.openstack.org/trunk/openstack-compute/admin/content
/using-multi-nics.html
3) remove outdated cloudpipe docs, confs and scripts
=> This is now better covered in:
http://docs.openstack.org/trunk/openstack-compute/admin/content/
cloudpipe-per-project-vpns.html
4) remove outdated networking docs
=> These were marked as 'legacy' more than 2 years ago
Change-Id: I9321335031b4581c603a6f31c613e1b620d468a6
2013年02月20日 00:03:09 +11:00
Morgan Fainberg
59aaf1dff9 Default SG rules for the Security Group "Default"
Added in the API os-security-group-default-rules
This allows create, delete, list, and get (of individual rules) for
rules that will be pre-populated into the Security Group "default"
that is populated in all projects on creation.
These rules will not be applied retroactively, as it is designed
to allow the creation of a "reasonable" base-line set of sg rules.
The new rules live in a separate table that mirrors the relevant
structures of the security_group_rules table.
Added unit tests/API samples for the new API calls
Related to bp default-rules-for-default-security-group
DocImpact
Change-Id: I7ab51e68aff562bb869538197a0eca158fc3220c
2013年02月19日 01:50:51 +00:00
Jenkins
29aea13f08 Merge "Adds API Sample tests for FlavorAccess extension." 2013年02月16日 07:38:30 +00:00
Giampaolo Lauria
de56abd4b1 Adds API Sample tests for FlavorAccess extension.
Partially implements blueprint nova-api-samples
Fixes bug 1091741
Change-Id: I65bb9e508996417bdcdc9ec87997df5373c06bad
2013年02月14日 16:25:42 -05:00
Adalberto Medeiros
d74ad18520 add config drive to api_samples
Add config drive extension show and details to api_samples
blueprint nova-api-samples
bug 1091737
Change-Id: I6ae1f01a417f153723b85d08c2f181909c154946
2013年02月14日 13:58:26 -02:00
Andrew Laski
9ed8d398c2 API extension for accessing instance_actions
Adds a new API extension for accessing the recorded actions and events
on an instance. Usage is documented with api samples.
Additionally it modified the db api to retrieve actions by request_id
since the api does not return the db id. This extension is the first
consumer of that method so there's no issue of changing behaviour
elsewhere.
Blueprint instance-actions
DocImpact
Change-Id: I74109586cc762a7f51d2b114896cf071ee0671cb
2013年02月13日 14:53:43 -05:00
ivan-zhu
4348529188 Add API sample tests to Services extension
Partially implements blueprint nova-api-samples
Bug 1091755
Change-Id: I7a0e124871c248bbb7613bfcdf335fee29a887f2
2013年02月13日 17:49:16 +08:00
Jenkins
04ebd61386 Merge "Simplify and optimize az server output extension." 2013年02月13日 03:12:46 +00:00
Jenkins
d9d7d5902f Merge "Add an extension to show the type of an ip." 2013年02月13日 02:48:29 +00:00
Jenkins
293b8c2356 Merge "Changes GA code for tracking cross-domain." 2013年02月12日 20:00:33 +00:00
Vishvananda Ishaya
80bd1de65a Simplify and optimize az server output extension.
Displaying two different az results to users is confusing, so just
return the az that the instance is actually in. Also, cache the
result from looking up the az by host for an hour to avoid making
lots of expensive db requests.
DocImpact
Change-Id: Ib39bf94c608874695aab00e61035e64f9594a985
2013年02月12日 09:00:33 -08:00
Vishvananda Ishaya
64fcd4de11 Add an extension to show the type of an ip.
There is currently no way to differentiate a fixed ip from a floating
ip in the servers list. This extension adds the OS-EXT-IPS:type param
so that users can determine if it is a fixed address or a floating
address.
Fixes bug 1117784
DocImpact
Change-Id: I8709a4f2f6792faa3d8e0cdcd330d751ef6633ae
2013年02月12日 09:00:13 -08:00
Jenkins
d905aea697 Merge "Adds API Sample tests for FloatingIPDNS extension." 2013年02月12日 13:31:42 +00:00
Jenkins
1e33917269 Merge "Support for scheduler hints for VM groups" 2013年02月12日 08:31:57 +00:00
Jenkins
f807355f9d Merge "Clean up extended server output samples" 2013年02月12日 06:51:57 +00:00
Jenkins
dc4b108c8e Merge "Update to simplified common oslo version code." 2013年02月12日 05:21:55 +00:00
annegentle
4faa62e77e Fix inaccuracies in the development environment doc.
Change-Id: If2b0884de54b75e40896cee9b4fb5eb805de2624
2013年02月11日 09:29:48 -06:00
Tiago Mello
851ea98e4e Adds API Sample tests for FloatingIPDNS extension.
Partially implements blueprint nova-api-samples
Fixes bug 1070164
Change-Id: I4c3e5d406ce43c27bb49a651facaa831de646a66
2013年02月11日 10:53:36 -02:00
Jenkins
e6c28a7a8d Merge "Add api-samples to multinic extension" 2013年02月10日 15:19:39 +00:00
Monty Taylor
4336152768 Update to simplified common oslo version code.
Based on https://review.openstack.org/#/c/19957/
Change-Id: Ieefee2af8812d0217e95eeffb3cf53d8e55c8fe6
2013年02月10日 04:05:15 -06:00
annegentle
33ecb10b03 Changes GA code for tracking cross-domain.
Change-Id: I731d6b160588b59f01abe98699c144fdf4ae12ad
2013年02月09日 08:43:46 -06:00
Gary Kotton
4cbf1f379c Support for scheduler hints for VM groups
This is part of the blueprint vm-ensembles. The patch introduces the
group as a scheduler hint.
The patch set adds group support for multi-VM deployment. This is achieved
as follows:
1. A new hint is added: group. This will contain the name and type for the
 group. At the moment only anti-affinity is supported. In the future
 we will add network proximity. It will be extended to <name>:<type>
2. In order to ensure that group policy will be honored for future VM
 deployments, the group is stored as system_metadata.
3. The anti affinity is implemented by a new filter called
 GroupAntiAffinityFilter.
DocImpact
Change-Id: I6ea2af5770b5ac4ff082b2a021d323ee38282205
2013年02月08日 03:16:44 +00:00
Vishvananda Ishaya
1ea366be70 Clean up extended server output samples
The extended status extension was testing list instead of get and the
extended server attribute extension was misnaming its sample files.
This makes the names of the samples consistent.
Change-Id: I5b6f8d00c85d7817775c190b2a7645a47f8085db
DocImpact: The api sample site may need to be updated as well
2013年02月07日 11:35:49 -08:00
Kravchenko Pavel
01a25e9890 Extension for rebuild-for-ha
Adds an extension for blueprint rebuild-for-ha
Evacuation of VM from a failed host for HA.
New api supports recreate/rebuild modes. With shared storage,
VM is recreated on the target from disk.
Otherwise, rebuild from original image is performed.
DocImpact
Change-Id: Id7e3e68dbaaf74e9314440d98195a92454078fd9
Co-authored-by: Oshrit Feder <oshritf@il.ibm.com>
2013年02月07日 14:38:38 +02:00
Jenkins
d052a664c8 Merge "Add API sample tests to os-network" 2013年02月06日 17:43:02 +00:00
ivan-zhu
f3476c9541 Add API sample tests to os-network
Partially implements blueprint nova-api-samples
Bug 1070170
Change-Id: I24c708e59e4fe5fcc17be0ae9b7fcb294278a175
2013年02月04日 15:04:13 +08:00
gtt116
0d813e44ff Add REST API to show availability_zone of instance.
Implement one workitem for bp:show-availability-zone
This show the availability zone and availability zone of its host in
API: GET /servers/details, GET /server/{uuid}.
When create instance if "availability_zone" doesn't specified, the
"availability_zone" of the instance will be None. But actually the instance
is in a zone which its host is in. So I think show both of them will be fine.
Change-Id: I2d742ee2d291b514bf783fa79293785cca8ea2a5
2013年02月03日 08:57:20 +00:00
Jenkins
ff8468ec4a Merge "Add api samples to fping extension" 2013年01月31日 20:38:47 +00:00
Giampaolo Lauria
df81f0d3cf Added sample tests to FlavorExtraSpecs API
Partially implements blueprint nova-api-samples
Fixes bug 1097131
Change-Id: I38a51e656cc9474e331d8f568d9e7fb6ba62ef42
2013年01月30日 13:18:46 -05:00
Mauro S. M. Rodrigues
1b30c9a827 Add api samples to fping extension
Partially implements bp nova-api-samples
Fix bug 1091747
Change-Id: Ic0060b8ea2a01a304c337a31dc276cbf395c2e5d
2013年01月29日 22:24:22 -05:00
Tiago Mello
143fb274ef Adds API Sample tests for os-instance_usage_audit_log extension.
Fixes Bug 1091752.
Partially implements bp nova-api-samples.
Change-Id: I2db83ac32283795ab0cbf254c6adbd352806b297
2013年01月29日 13:39:06 -02:00
Mauro S. M. Rodrigues
73b3686862 Add api-samples to multinic extension
Partially implements bp nova-api-samples
Fixes bug 1070169
Change-Id: I923054bf92840a7fe81f78c97aa77a9201e94bdc
2013年01月25日 14:18:43 -05:00
Giampaolo Lauria
adbfd0da94 Added sample tests to floating-ip-pools API.
Partially implements blueprint nova-api-samples
Fixes bug 1070165
Change-Id: Ia7d99354ae815cdd8a41b012f568877751a3d8bd
2013年01月23日 17:53:31 -05:00
Jenkins
e6907236a4 Merge "Add REST api to manage bare-metal nodes" 2013年01月23日 19:32:17 +00:00
Arata Notsu
0a8cc37c0c Add REST api to manage bare-metal nodes
* create/delete/list/show bare-metal nodes
* add/remove interfaces to/from bare-metal nodes
blueprint general-bare-metal-provisioning-framework
Change-Id: I1e76f7e3f7f74087e844cfb23dc92154f4c3e127
2013年01月23日 17:39:32 +09:00
Jenkins
294c57397c Merge "fix misspellings in logs, comments and tests" 2013年01月23日 06:34:39 +00:00
Jenkins
eb368aff66 Merge "Fix for typo in xml API doc sample in nova" 2013年01月23日 05:33:24 +00:00
ladquin
04f8dcf0bd Fix for typo in xml API doc sample in nova
Modified: doc/api_samples/os-flavor-manage/flavor-create-post-req.json
Deleted final comma for proper syntax
Partially fixes: bug 1088528 (part of the bug requires changes in other repo - done)
Change-Id: I5b0b29b4c720a95d5c4c5d957e77dc2e4c9cf8ee
2013年01月22日 13:36:49 -03:00
Pádraig Brady
f379db545c fix misspellings in logs, comments and tests
Flagged with: https://github.com/lyda/misspell-check
Run with: git ls-files | misspellings -f -
Fixes bug: 1100083
Change-Id: Icf1f844fea8ad0a1101d1dc64b9a126608e9536e
2013年01月21日 23:14:13 +00:00
Jenkins
9ebcd1d91c Merge "correcting for proper use of the word 'an'." 2013年01月21日 22:58:28 +00:00
Jenkins
921b7c514f Merge "Expose a get_spice_console RPC API method" 2013年01月17日 12:14:24 +00:00
Jenkins
b76c5cfc8e Merge "Add nova-spicehtml5proxy helper" 2013年01月17日 11:59:25 +00:00
Matt Joyce
0651e60e4e correcting for proper use of the word 'an'.
Change-Id: Ib6180284d806a00c520df378e651fba947e2397a
2013年01月16日 11:50:01 -08:00
Sunil Thaha
35217e5fd7 Updates prerequisite packages for fedora
Adds gcc, libxslt-devel (has dependency on libxml2-devel) and mysql-devel to
the list of prerequisites
Change-Id: I9c27868b30ef17d73adf8ad2e72b3d0e76fe76d1
2013年01月17日 00:40:15 +10:00
Daniel P. Berrange
518bdb5aba Expose a get_spice_console RPC API method
To mirror the existing get_vnc_console RPC API method, expose a
new get_spice_console RPC API method. The only console type
supported currently is 'spice-html5' which is equivalent to
'novnc'
Blueprint: libvirt-spice
Change-Id: Iab9d3dfc3564a122a8cd2b53d34fdcc725bfa29b
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2013年01月16日 10:19:37 +00:00