Commit Graph

196 Commits

Author SHA1 Message Date
Jenkins caddd9dbad Merge "Change v3 flavor_access to v2.1" 2014-09-02 03:16:26 +00:00
Jenkins bb8d8c7185 Merge "Changes V3 server_actions extension into v2.1" 2014-09-01 13:48:37 +00:00
Jenkins b9c10c828e Merge "Convert v3 server metadata plugin to v2.1" 2014-09-01 10:14:54 +00:00
jichenjc d9b729f5ad Change v3 flavor_access to v2.1
This patch changes v3 flavor_access API to v2.1 and makes v2
unit tests share between v2 and v2.1.

The differences between v2 and v3 are described on the wiki page
https://wiki.openstack.org/wiki/NovaAPIv2tov3.

Partially implements blueprint v2-on-v3-api

Change-Id: I75891e76753fba937b4a01f592afb4bd03aacd9c
2014-09-01 16:01:31 +09:30
Jenkins 4f0ce8ac8c Merge "Changes V3 remote_console extension into v2.1" 2014-09-01 05:50:07 +00:00
Jenkins 27cd6c785b Merge "Change v3 hosts to v2.1" 2014-09-01 04:16:05 +00:00
He Jie Xu 333af0fd44 Changes V3 remote_console extension into v2.1
This patch changes v3 remote_console API to v2.1 and makes v2
unit tests share between v2 and v2.1.
The differences between v2 and v3 are described on the wiki page
https://wiki.openstack.org/wiki/NovaAPIv2tov3.

Partially implements blueprint v2-on-v3-api

Change-Id: I5f15ec39d7201b2da3d7afbf1d0774e64e68c8fe
2014-09-01 09:50:31 +08:00
Ghanshyam 46e5689db4 Convert v3 server metadata plugin to v2.1
This patch converts v3 server metadata plugin to v2.1 and makes v2
unit tests share between v2 and v2.1.

The differences between v2 and v3 are described on the wiki page
https://wiki.openstack.org/wiki/NovaAPIv2tov3.

Partially implements blueprint v2-on-v3-api

Change-Id: I619a7323f515234d15000af356277dbf3d91231f
2014-09-01 00:42:21 +00:00
Jenkins 95a1a1232d Merge "Change v3 flavor_rxtx to v2.1" 2014-08-31 11:46:05 +00:00
Jenkins 094f8cd13f Merge "Change v3 shelve to v2.1" 2014-08-31 06:49:44 +00:00
Jenkins b7c63d2462 Merge "Convert v3 server diagnostics plugin to v2.1" 2014-08-31 04:30:03 +00:00
Eli Qiao 2ca8b73dd5 Changes V3 server_actions extension into v2.1
This patch changes v3 server_actions API to v2.1, and also share v2.1 and v2
test case.
rename server_actions back to instance_actions.
The differences between v2 and v3 are described on the wiki page
https://wiki.openstack.org/wiki/NovaAPIv2tov3 .
Partially implements blueprint v2-on-v3-api

Change-Id: I8f11dc5f199711e1c98badfbe0035883d9c15573
2014-08-30 17:04:47 +08:00
Eli Qiao 9daf3bdd87 Change v3 shelve to v2.1
This patch changes v3 shelve API to v2.1 and makes v2
unit tests share between v2 and v2.1.
The differences between v2 and v3 are described on the wiki page
https://wiki.openstack.org/wiki/NovaAPIv2tov3 .

Partially implements blueprint v2-on-v3-api
Change-Id: Ie4cd72d23592fe2bd1a66137b12bb84400ccfc18
2014-08-30 07:00:57 +00:00
Jenkins 8f49b1ed9f Merge "Change v3 keypairs API to v2.1" 2014-08-29 13:27:19 +00:00
Jenkins 62a8e4e47d Merge "Convert deferred_delete v3 plugin to v2.1 API" 2014-08-29 01:46:49 +00:00
Jenkins 3e4ef29cab Merge "Change V3 access_ips extension into v2.1" 2014-08-28 22:44:53 +00:00
Jenkins 0f7de506b3 Merge "Change v3 agents API to v2.1" 2014-08-28 22:03:42 +00:00
Jenkins 2a97e1afe6 Merge "Port simple_tenant_usage into v2.1" 2014-08-28 18:40:13 +00:00
Jenkins 4b4cf81350 Merge "Port os-server-groups extension to work in v2.1/v3 framework" 2014-08-28 13:22:16 +00:00
Jenkins 39a4f9b2bc Merge "Convert create_backup v3 plugin to v2.1 API" 2014-08-28 09:07:47 +00:00
Jenkins 989a54fe3b Merge "Convert multinic v3 plugin to v2.1" 2014-08-28 06:27:37 +00:00
He Jie Xu 65ef524d55 Port simple_tenant_usage into v2.1
The simple_tenant_usage extension is removed from v3 API. For now,
we need porting it back. And also try to share unittests between v2
and v2.1.

Partially implements blueprint v2-on-v3-api

Change-Id: Ie0c36fcd37fb188c1f1b57f04733bfa267b65201
2014-08-28 10:27:25 +08:00
Ghanshyam 3edfac2e86 Convert v3 server diagnostics plugin to v2.1
This patch changes v3 server diagnostics plugin to v2.1 and makes v2
unit tests share between v2 and v2.1.

This patch also delete the V3 server_diagnostics API tests.

The differences between v2 and v3 are described on the wiki page
https://wiki.openstack.org/wiki/NovaAPIv2tov3.

Partially implements blueprint v2-on-v3-api

Change-Id: If10615f3f119dda815d56cf8329619bab502e091
2014-08-27 16:19:17 +09:00
Ken'ichi Ohmichi 590e8abce4 Change v3 keypairs API to v2.1
This patch changes v3 keypairs API to v2.1 and makes v2 unit tests
share between v2 and v2.1.

The differences between v2 and v3 are described on the wiki page
https://wiki.openstack.org/wiki/NovaAPIv2tov3 .

Partially implements blueprint v2-on-v3-api

Change-Id: I1fcb93a00816eab2d87f251b7cf8a8992e920308
2014-08-27 05:46:04 +00:00
Jenkins 58e6eb857a Merge "Change ViewBuilder into v2.1 for servers" 2014-08-27 02:42:56 +00:00
Jenkins 7ff2baacb2 Merge "Change v3 admin-password to v2.1" 2014-08-26 16:11:25 +00:00
Eli Qiao f9930a85b0 Change v3 extended_status to v2.1
This patch changes v3 extended_status API to v2.1 and makes v2
unit tests share between v2 and v2.1.
Revert v3 changes back to v2.
os-extended-status:* -> OS-EXT-STS:*
The differences between v2 and v3 are descibed on the wiki page
https://wiki.openstack.org/wiki/NovaAPIv2tov3.
Partially implements blueprint v2-on-v3-api

Change-Id: Ieefca1d0e8da831830f43cc83eb50bc7e7f4a10c
2014-08-26 10:11:31 +08:00
Jenkins 44684b795f Merge "Change v3 attach_interface to v2.1" 2014-08-25 17:27:18 +00:00
Eli Qiao 5e6b6b044b Change v3 admin-password to v2.1
This patch changes v3 admin-password API to v2.1 and backport v3
unit test cases to v2.1.
The differences between v2 and v3 are described on the wiki page
https://wiki.openstack.org/wiki/NovaAPIv2tov3

Partially implements blueprint v2-on-v3-api
Change-Id: I167753eddd188120236c51bade549c907c8a8466
2014-08-25 22:09:54 +08:00
Jenkins 85a04f7ee1 Merge "Change v3 extended_server_attibutes to v2.1" 2014-08-25 10:13:16 +00:00
He Jie Xu 0063d17d74 Change V3 access_ips extension into v2.1
This patch changes v3 access_ips API to v2.1 and makes v2
unit tests share between v2 and v2.1.
The differences between v2 and v3 are described on the wiki page
https://wiki.openstack.org/wiki/NovaAPIv2tov3 .

Partially implements blueprint v2-on-v3-api

Change-Id: Id464cbe4a8b7a7749c4f14e4531e4494dd315857
2014-08-25 15:34:15 +08:00
Jenkins 39b3183539 Merge "Convert v3 config drive plugin to v2.1" 2014-08-25 02:43:16 +00:00
Chris Yeoh 07ad7689ee Convert multinic v3 plugin to v2.1
Changes required to have v3 plugin natively support
the v2.1 API.

add_fixed_ip -> addFixedIp
remove_fixed_ip -> removeFixedIp

Removes v3 version of the multinic test and changes to
share use of the v2 unittests code. Backports a v2.1 specific
test.

Partially implements blueprint v2-on-v3-api

Change-Id: Ie01eddf1e772092c291b1475404f87e6e6f47c71
2014-08-25 11:57:48 +09:30
He Jie Xu 73c2c2db69 Change ViewBuilder into v2.1 for servers
This patch changes v3 servers' ViewBuilder to v2.1. And also
change related unittests and api sample tests.

The differences between v2 and v3 are described on the wiki page
https://wiki.openstack.org/wiki/NovaAPIv2tov3.

Partially implements blueprint v2-on-v3-api

Change-Id: Ie68d46daa91ef43c84eeef479c0986d5e7f15719
2014-08-25 10:06:41 +08:00
Ken'ichi Ohmichi 830816cdef Change v3 agents API to v2.1
This patch changes v3 agents API to v2.1 and makes v2 unit tests
share between v2 and v2.1.

The differences between v2 and v3 are described on the wiki page
https://wiki.openstack.org/wiki/NovaAPIv2tov3 .

Partially implements blueprint v2-on-v3-api

Change-Id: I96dd9cd3672c6d584bd0019c385544c08f687e7f
2014-08-25 01:58:23 +00:00
He Jie Xu 69df608fbe Change v3 attach_interface to v2.1
This patch changes v3 attach_interface API to v2.1 and makes v2
unit tests share between v2 and v2.1.

The differences between v2 and v3 are described on the wiki page
https://wiki.openstack.org/wiki/NovaAPIv2tov3.

Partially implements blueprint v2-on-v3-api

Change-Id: If18676604edc8fea41d7888eb6546245163e91c2
2014-08-25 09:55:29 +08:00
Chris Yeoh 09cd943214 Convert create_backup v3 plugin to v2.1 API
Changes required to have v3 plugin natively support the V2.1
API

The create_backup action is reverted back to createBackup

Partially implements blueprint v2-on-v3-api

Change-Id: Ibac7eb2644629f4b9cf0581d9859b97f263972c8
2014-08-25 09:21:01 +09:30
Jenkins d60fce4ac2 Merge "Convert v3 server SchedulerHints plugin to v2.1" 2014-08-24 14:42:39 +00:00
jichenjc 382e85bbf9 Change v3 hosts to v2.1
This patch changes v3 hosts API to v2.1 and makes v2
unit tests share between v2 and v2.1.

The differences between v2 and v3 are described on the wiki page
https://wiki.openstack.org/wiki/NovaAPIv2tov3.

Partially implements blueprint v2-on-v3-api

Change-Id: I8ce66570edb06bde0bdea677e6e784539aaab763
2014-08-24 11:56:23 +08:00
Eli Qiao 409555530a Change v3 extended_server_attibutes to v2.1
This patch changes v3 extended_server_attibutes API to v2.1 and makes v2
unit tests share between v2 and v2.1.
Revert v3 changes back to v2.
os-extended-server-attributes:* -> OS-EXT-SRV-ATTR:*
The differences between v2 and v3 are described on the wiki page
https://wiki.openstack.org/wiki/NovaAPIv2tov3.

Partially implements blueprint v2-on-v3-api

Change-Id: I02b203b62b9e675f71d0ff3880bc9ee051a3b80d
2014-08-24 09:09:58 +08:00
jichenjc 38b86b185d Change v3 flavor_rxtx to v2.1
This patch changes v3 flavor_rxtx API to v2.1 and makes v2
unit tests share between v2 and v2.1.

The differences between v2 and v3 are described on the wiki page
https://wiki.openstack.org/wiki/NovaAPIv2tov3.

Partially implements blueprint v2-on-v3-api

Change-Id: I0b79be078ff2b2ca682f1f061f40c81d4487c7de
2014-08-24 03:06:37 +08:00
Jenkins c0eae77483 Merge "Change 'image_ref'/'flavor_ref' into v2 style for servers" 2014-08-22 07:17:47 +00:00
Jenkins 7d9ec7fd6e Merge "Change 'admin_password' into v2 style for servers extension" 2014-08-22 07:16:30 +00:00
Ghanshyam 3792bd0e43 Convert v3 server SchedulerHints plugin to v2.1
This patch converts v3 server SchedulerHints plugin to v2.1 and makes v2
unit tests share between v2 and v2.1.

The differences between v2 and v3 are described on the wiki page
https://wiki.openstack.org/wiki/NovaAPIv2tov3.

Note- to make V2.1 SchedulerHints extension work in V3 framework,
an extra parameter (request body) is being passed in server_create
function of each extensions.

Partially implements blueprint v2-on-v3-api

Change-Id: I8a0d50efcda6fcd12971a41505127de5987eec18
2014-08-22 14:15:28 +09:00
Chris Yeoh 2c8685b07f Convert deferred_delete v3 plugin to v2.1 API
Changes required to have v3 plugin natively support the V2.1
API

The force_delete action is reverted back to forceDelete

Partially implements blueprint v2-on-v3-api

Change-Id: I0b050d3328338923cf05521b9ef5cc3b1c50a586
2014-08-22 14:23:12 +09:30
Ghanshyam 5482e388fa Convert v3 config drive plugin to v2.1
This patch changes v3 config drive plugin to v2.1 and makes v2
unit tests share between v2 and v2.1.

The differences between v2 and v3 are described on the wiki page
https://wiki.openstack.org/wiki/NovaAPIv2tov3.

Partially implements blueprint v2-on-v3-api

Change-Id: Ieed7619f3cb310b25d157ebb07f24468aea1af9d
2014-08-21 16:55:43 +09:00
Chris Yeoh 89a02bed57 Port os-server-groups extension to work in v2.1/v3 framework
Ports v2 os-server-groups extension and adapts it to the v2.1/v3 API
framework. API behaviour is identical with the exception
that there is no support for XML. Also

- unittest code modified to share testing with both v2/v2.1
- Adds expected error decorators for API methods
- Adds api sample tests

Partially implements blueprint v2-on-v3-api

Change-Id: I52e49e6e85a7516e3b184601374e5c987f60a9a0
2014-08-20 17:29:01 +09:30
Ian Cordasco 86356bf6f1 Use rfc3986 library to validate URL paths and URIs
More work needs to be done in rfc3986 to give the user more control over what
they consider to be a valid URI in the context of RFC 3986. For example, a
previous incarnation of these tests checked that "1" and "abc" were invalid
when according to the RFC they are.

Update the API samples and tests to use valid URIs

DocImpact

Change-Id: I288fbaead64990db1053b7a11e82904611b8498f
2014-08-19 11:58:39 -05:00
He Jie Xu 5ed82cf7ed Change 'image_ref'/'flavor_ref' into v2 style for servers
This patch changes 'image_ref'/'flavor_ref' to 'imageRef'/'flavorRef'
that same with v2 api. And also change the related unittest.
The differences between v2 and v3 are described on the wiki page

https://wiki.openstack.org/wiki/NovaAPIv2tov3.

Partially implements blueprint v2-on-v3-api

Change-Id: Ic17334e0a9de89488d5e0c8b75950027d51a3cd4
2014-08-18 09:57:34 +08:00
He Jie Xu af8f401eb5 Change 'admin_password' into v2 style for servers extension
This patch changes 'admin_password' to 'adminPass' that same
with v2 api. And also change the related unittest.

The differences between v2 and v3 are described on the wiki page
https://wiki.openstack.org/wiki/NovaAPIv2tov3.

Partially implements blueprint v2-on-v3-api

Change-Id: Ie5675f98bb15c55a191a207171e2ffe3be8e6deb
2014-08-18 09:55:30 +08:00