Commit Graph

32042 Commits

Author SHA1 Message Date
Jenkins b600da6360 Merge "Catch InstanceInvalidState for start/stop action" 2015-01-05 23:26:44 +00:00
Jenkins 9d377d85de Merge "Nuke XML support from Nova REST API - Phase 1" 2015-01-05 22:55:53 +00:00
Jenkins 9f99234b62 Merge "libvirt: add support for configuring hyperv enlightenments in XML" 2015-01-05 20:26:51 +00:00
Jenkins f3a296cfbf Merge "Fix the comment of host index api" 2015-01-05 19:52:43 +00:00
Jenkins 9f5a7a14ab Merge "Remove condition check for python2.6 in test_glance" 2015-01-05 19:52:17 +00:00
Jenkins a2b1babcd6 Merge "Drop workarounds for python2.6" 2015-01-05 18:52:03 +00:00
Davanum Srinivas 417704816e Nuke XML support from Nova REST API - Phase 1
In I5a580fc323c3809790b4a68a9f8f8129ecdc2cf0 we switched off XML support. In
this review we entirely remove all the testcases and supporting files.

Change-Id: I83827d438753fd3899053dd6e09bc77c997c7406
2015-01-05 12:46:04 -05:00
Jenkins ad69ea886c Merge "Reuse methods from netutils" 2015-01-05 17:21:32 +00:00
Jenkins 5d3d96c4b0 Merge "Make rebuild server schema 'additionalProperties' False" 2015-01-05 17:19:45 +00:00
Jenkins 1550b8aff0 Merge "Move admin_only_action_common out of v3 directory(cleanup)" 2015-01-05 17:19:24 +00:00
Jenkins 2b7a20a58b Merge "Convert wsgi call to controller in test_virtual_interfaces" 2015-01-05 17:19:03 +00:00
Jenkins a06aa00199 Merge "Tests with controller methods in test_simple_tenant_usage" 2015-01-05 17:15:48 +00:00
Jenkins ed603468c9 Merge "Aggregate.save() shouldn't return a value" 2015-01-05 15:26:17 +00:00
Jenkins dcee104ca6 Merge "Make create server schema 'additionalProperties' False" 2015-01-05 15:24:44 +00:00
Jenkins 9145635fb8 Merge "Add API schema for v2.1 block_device_mapping_v1" 2015-01-05 15:17:37 +00:00
Jenkins 31bfc64154 Merge "Remove unused db.api.instance_get_floating_address" 2015-01-05 11:49:56 +00:00
ghanshyam 340ffeeff1 Make rebuild server schema 'additionalProperties' False
Nova V2.1 API has strong input validation by making validation
through JSON schema.

This patch makes rebuild server schema 'additionalProperties' to False
as all rebuild server extensions are implemented in V2.1.
After this, V2.1 will not allow extra arg for rebuild server.

This patch also modify the corresponding rebuild server tests
for extra input passed in request body-
    test_rebuild_admin_password_pass_disabled
    test_create_and_rebuild_server
    Access ip extension sample files

Partially implements blueprint v2-on-v3-api

Change-Id: Ib13b02cefb9617e8af3b62b81d2f7eb7cd88eab1
2015-01-05 11:33:51 +09:00
ghanshyam 2773f64308 Tests with controller methods in test_simple_tenant_usage
In API unit testing, making call through WSGI is little bit overhead,
wherever applicable, unit tests can make direct call to controller
methods.
Also URL given in controller method's request is not used
(for direct call to controller methods), so pass blank URL
to avoid confusion as tests are shared between V2 & V2.1

This patch makes above cleanup in test_simple_tenant_usage.

Partially implements blueprint v2-on-v3-api

Change-Id: I2287ff6e793241767a144ec888853d01f0702eaa
2015-01-05 10:56:34 +09:00
ghanshyam 8b273127aa Convert wsgi call to controller in test_virtual_interfaces
In API unit testing, making call through WSGI is little bit overhead,
wherever applicable, unit tests can make direct call to controller
methods.

Also URL given in controller method's request is not used
(for direct call to controller methods), so pass blank URL
to avoid confusion as tests are shared between V2 & V2.1

This patch makes above cleanup in test_virtual_interfaces.

Partially implements blueprint v2-on-v3-api

Change-Id: Ibd0a18ad738242d54da841c504355808b91fca2c
2015-01-05 10:06:23 +09:00
LingxianKong 59e4b9f198 Fix the comment of host index api
Change-Id: I84e36dd0740d52ed2a80e275a937741a156f9900
Closes-bug: #1407370
2015-01-04 14:33:32 +08:00
OpenStack Proposal Bot 8bcc72c81e Imported Translations from Transifex
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: Ibb98ce1f56728ae06360df918a1cadfb6388b9c5
2015-01-04 06:14:28 +00:00
ChangBo Guo(gcb) a333528469 Drop workarounds for python2.6
We drop python 2.6 support in Kilo, so we can remove workarounds
for python2.6 now.

Change-Id: I18b6a1adf398a5fc8f75d0f6276f6896846dbf3a
2015-01-03 18:26:03 +08:00
Jenkins 669e1c5d3a Merge "Prevent new code from using namespaced oslo imports" 2015-01-03 09:37:57 +00:00
Jenkins b76af3dad8 Merge "Make direct call to controller test_server_password" 2015-01-03 09:10:50 +00:00
Jenkins 03726a5e58 Merge "Make lock file use same function" 2015-01-02 18:13:52 +00:00
Jenkins a6a6ee6f46 Merge "Move pci unit test from V3 to V2.1" 2015-01-02 17:17:02 +00:00
Jenkins 1079567bf7 Merge "Fix Instance relationships in two objects" 2015-01-02 16:05:02 +00:00
Jenkins 21dd075d63 Merge "Cleanup in test_keypairs not to use wsgi_app" 2015-01-02 08:30:19 +00:00
Jenkins 5a6b8ff00f Merge "Make neutronapi get networks operations return objects" 2015-01-02 00:02:02 +00:00
jichenjc 51b873b25d Catch InstanceInvalidState for start/stop action
Nova API has a common function that will catch InstanceInvalidState
and report an error with more helpful info. This patch make that
apply to server start/stop operations.

Change-Id: Ia71c73e8452667ddad7941597cd01a43a1c9b174
2014-12-31 20:26:58 +00:00
Jenkins ce5d9172ab Merge "VMware: Remove unused _check_if_folder_file_exists from vmops" 2014-12-29 22:08:44 +00:00
Jenkins 7afbb6ce28 Merge "VMware: Remove unused _get_orig_vm_name_label from vmops" 2014-12-29 22:07:29 +00:00
Jenkins 56c778198a Merge "Xenapi: Allow volume backed instances to migrate" 2014-12-29 22:07:08 +00:00
Jenkins f1412b1ef6 Merge "Hyper-V: cleanup basevolumeutils" 2014-12-29 21:17:06 +00:00
Jenkins 6f5f71a2b0 Merge "Cleanup in server group unit tests" 2014-12-29 20:05:16 +00:00
Eugeniya Kudryashova 05958d4c8a Reuse methods from netutils
Replace usages of is_valid_ip_address, is_valid_ipv4,
is_valid_ipv6 from Nova by usages of this methods from
oslo.utils and remove these methods from Nova code

Also removed related tests

Change-Id: I66dd1d65a045271121020fdab562fa16f8db2bf0
2014-12-29 14:47:20 +00:00
Davanum Srinivas 19aa89149c Prevent new code from using namespaced oslo imports
Ib63da2d845843410634a1df0261af33b973daf32 is an example where
new code had to be fixed for oslo_concurrency imports. Let us
add a hacking check to prevent such regression. When we update
to new oslo libraries with non-namespace'd imports, we should
update the regexp in this hacking rule

Change-Id: I44536d477d06ddc1205b824bcb888b666405dce3
2014-12-28 16:00:47 +00:00
Jenkins a7c105aadb Merge "Metadata: use instance objects instead of dictionary" 2014-12-26 06:33:18 +00:00
ghanshyam 8b8934ab26 Make direct call to controller test_server_password
In API unit testing, making call through WSGI is little bit overhead,
wherever applicable, unit tests can make direct call to controller
methods.

Also URL given in controller method's request is not used
(for direct call to controller methods), so pass blank URL
to avoid confusion as tests are shared between V2 & V2.1

This patch makes above cleanup in test_server_password.

Partially implements blueprint v2-on-v3-api

Change-Id: Ia36a9a197c261a5c7d7367668b991c128c5425aa
2014-12-26 07:46:22 +09:00
Jenkins 28902c4f3a Merge "Call controller methods directly in test_evacuate" 2014-12-25 03:44:01 +00:00
ghanshyam afa291a63b Cleanup in test_keypairs not to use wsgi_app
In API unit testing, making call through WSGI is little bit overhead,
wherever applicable, unit tests can make direct call to controller
methods.

Some unit tests need WSGI call to tests more than one plugin together.

This patch makes above cleanup in test_keypairs.
Some tests need wsgi_app because of more than one plugins
are invloved in those tests.

Partially implements blueprint v2-on-v3-api

Change-Id: I9b32b33e8c98e26f18fab4b9a736d9b1f1256ee4
2014-12-25 11:50:08 +09:00
Jenkins cde7355e3f Merge "Cleanup log marker in neutronv2 api" 2014-12-23 21:38:24 +00:00
Jenkins 4990e60f2d Merge "libvirt: introduce new helper for getting libvirt domain" 2014-12-23 17:13:38 +00:00
Jenkins 5bbc95f2a0 Merge "libvirt: remove pointless _get_host_uuid method" 2014-12-23 17:13:17 +00:00
Jenkins ee58455faa Merge "libvirt: pass Host object into firewall class" 2014-12-23 06:39:05 +00:00
Jenkins e6aa3c8f48 Merge "Cleanup in test_availability_zone not to use wsgi_app" 2014-12-23 06:23:39 +00:00
Jenkins 680354b5a0 Merge "Fix get_all API to pass search option filter to cinder api" 2014-12-23 06:21:13 +00:00
Jenkins c64e696c6f Merge "Remove unused db.api.dnsdomain_list" 2014-12-23 06:20:53 +00:00
Jenkins 3d03e3efba Merge "Remove unused db.api.aggregate_host_get_by_metadata_key" 2014-12-23 06:20:17 +00:00
Jenkins 069f6fb2cf Merge "Remove unused db.api.get_ec2_instance_id_by_uuid" 2014-12-23 06:13:26 +00:00