Commit Graph

311 Commits

Author SHA1 Message Date
Jenkins d63e5c12c2 Merge "Merge create-backup functional tests of v2 and v2.1" 2015-04-29 22:50:14 +00:00
Jenkins 38b1f60091 Merge "Share hide server add tests between v2 and v2.1" 2015-04-29 22:49:49 +00:00
Jenkins 5c39250909 Merge "Merge server shelve tests between v2 and v2.1" 2015-04-29 19:42:45 +00:00
Jenkins f9af15c977 Merge "Merge suspend-server functional tests of v2 and v2.1" 2015-04-29 19:42:16 +00:00
Jenkins ba888a64ad Merge "Merge flavor_access functional tests of v2 and v2.1" 2015-04-29 19:41:52 +00:00
Jenkins 7ecd933c1d Merge "Merge flavor_rxtx functional tests of v2 and v2.1" 2015-04-29 19:41:27 +00:00
Jenkins d65b8e201b Merge "Merge V2 and V2.1 networks functional tests" 2015-04-28 00:55:40 +00:00
Jenkins 760fefb173 Merge "Share V2 and V2.1 images functional tests" 2015-04-28 00:55:21 +00:00
ghanshyam 9c70db4d44 Merge server groups tests between v2 and v2.1
Currently v2 and v2.1 have separate functional tests and their
corresponding sample files. As v2 and v2.1 are supposed to be identical,
there is overhead to maintain two set of functional tests and sample files.
We can have one set of tests which can run for both v2 and v2.1.

This commit merges servers groups functional tests.
Also inheriting this tests class from ApiSampleTestBaseV3 instead of
ServersSampleBase as this does not use any ServersSampleBase class methods.

Change-Id: I687ce52a9844b830ee324105c4f49dec83534d9b
2015-04-21 16:04:08 +09:00
Jenkins e77edeee0e Merge "Merge server diagnostics & ext events tests for v2 & v2.1" 2015-04-21 03:47:02 +00:00
parklong 9a371de8f2 Merge create-backup functional tests of v2 and v2.1
Currently v2 and v2.1 have separate functional tests and their
corresponding sample files. As v2 and v2.1 are supposed to be identical,
there is overhead to maintain two set of functional tests and sample files.
We can have one set of tests which can run for both v2 and v2.1.

This commit merges create-backup functional tests.

Change-Id: I3edd045fa61e4e6469fce6ccc9d49e4f400c089f
2015-04-20 13:30:42 +08:00
ghanshyam bb7869c45b Merge server shelve tests between v2 and v2.1
Currently v2 and v2.1 have separate functional tests and their
corresponding sample files. As v2 and v2.1 are supposed to be identical,
there is overhead to maintain two set of functional tests and sample files.
We can have one set of tests which can run for both v2 and v2.1.

This commit merges servers shelve functional tests.

In V2.1 os-access-ip is separate plugin where in v2 it was mixed in server
plugin itself. So os-access-ip extension is enabled to run
merged functional tests for both v2 and v2.1.

Change-Id: I16c565dab63d385633d406021709cbd6f9ddbc63
2015-04-20 09:22:28 +09:00
ghanshyam 57d4698f66 Share hide server add tests between v2 and v2.1
Currently v2 and v2.1 have separate functional tests and their
corresponding sample files. As v2 and v2.1 are supposed to be identical,
there is overhead to maintain two set of functional tests and sample files.
We can have one set of tests which can run for both v2 and v2.1.

This commit merges hide server addresses functional tests.

In V2.1 os-access-ip is separate plugin where in v2 it was mixed in server
plugin itself. So os-access-ip extension is enabled to run
merged functional tests for both v2 and v2.1.

Change-Id: I8c467050ea3ed666c3837d9c2846ae5d9b245c69
2015-04-17 17:51:21 +09:00
ghanshyam 1ff170370f Share V2 and V2.1 images functional tests
Currently v2 and v2.1 have separate functional tests and their
corresponding sample files. As v2 and v2.1 are supposed to be identical,
there is overhead to maintain two set of functional tests and sample files.
We can have one set of tests which can run for both v2 and v2.1.

This commit merges all images functional tests.
- images
- image_metadata
- image_size

Change-Id: I26bd1c521cb50c97a8720438fe08412577ae7204
2015-04-17 17:38:25 +09:00
ghanshyam 3d31f6684a Merge evacuate functional tests between v2 and v2.1
Currently v2 and v2.1 have separate functional tests and their
corresponding sample files. As v2 and v2.1 are supposed to be identical,
there is overhead to maintain two set of functional tests and sample files.
We can have one set of tests which can run for both v2 and v2.1.

This commit merges evacuate functional tests.

V2 has below 2 extensions for evacuate
- os-evacuate
- os-extended-evacuate-find-host
which are merged in single plugin 'evacuate' in v2.1

In V2.1 os-access-ip is separate plugin where in v2 it was mixed in server
plugin itself. So os-access-ip extension is enabled for server tests to run
merged functional tests for both v2 and v2.1.

Change-Id: Ib3c7fd1ecc9bc9a188350a0ec42299fc01919445
2015-04-17 11:42:07 +09:00
ghanshyam 2cf7b6ff95 Merge server diagnostics & ext events tests for v2 & v2.1
Currently v2 and v2.1 have separate functional tests and their
corresponding sample files. As v2 and v2.1 are supposed to be identical,
there is overhead to maintain two set of functional tests and sample files.
We can have one set of tests which can run for both v2 and v2.1.

This commit merges below servers functional tests.
- test_server_diagnostics
- test_server_external_events

In V2.1 os-access-ip is separate plugin where in v2 it was mixed in server
plugin itself. So os-access-ip extension is enabled to run
merged functional tests for both v2 and v2.1.

Change-Id: I6a078e8dcbdd0160c6efb6dbac327ebc1f90fe1a
2015-04-17 01:58:24 +00:00
ghanshyam 1bf7e4bb81 Merge V2 and V2.1 networks functional tests
Currently v2 and v2.1 have separate functional tests and their
corresponding sample files. As v2 and v2.1 are supposed to be identical,
there is overhead to maintain two set of functional tests and sample files.
We can have one set of tests which can run for both v2 and v2.1.

This commit merges networks functional tests.
Below APIs tests are megred-
-os-networks
-os-extended-networks
-os-networks-associate

Change-Id: I0fe9d82d5f847fb3fd3f231ccdc29d646d0ee0a3
2015-04-17 01:21:51 +00:00
Jenkins 168cea8031 Merge "Merge console & console_output tests between v2 and v2.1" 2015-04-16 23:53:23 +00:00
Jenkins 19e861180c Merge "Share multiple create server tests between v2 and v2.1" 2015-04-16 23:52:58 +00:00
Jenkins cff4cc0a67 Merge "Merge volume related functional tests of v2 and v2.1" 2015-04-16 23:52:31 +00:00
Jenkins 7d9761dcae Merge "Merge remote consoles tests between v2 and v2.1" 2015-04-16 23:44:19 +00:00
Jenkins f969917f27 Merge "Merge server tests between v2 and v2.1" 2015-04-16 23:38:13 +00:00
parklong a3050ec751 Merge suspend-server functional tests of v2 and v2.1
Currently v2 and v2.1 have separate functional tests and their
corresponding sample files. As v2 and v2.1 are supposed to be identical,
there is overhead to maintain two set of functional tests and sample files.
We can have one set of tests which can run for both v2 and v2.1.

This commit merges suspend-server functional tests.

Change-Id: I3074d2544acecabca57b199357ccdce0dcde6a04
2015-04-16 15:32:00 +08:00
ghanshyam 5aad375727 Share multiple create server tests between v2 and v2.1
Currently v2 and v2.1 have separate functional tests and their
corresponding sample files. As v2 and v2.1 are supposed to be identical,
there is overhead to maintain two set of functional tests and sample files.
We can have one set of tests which can run for both v2 and v2.1.

This commit merges multiple create servers functional tests.

Change-Id: I6c19fa5365b7c7e05e75dffb3dcb806fb5f004db
2015-04-15 16:24:53 +09:00
ghanshyam 823d4f2ddd Merge console & console_output tests between v2 and v2.1
Currently v2 and v2.1 have separate functional tests and their
corresponding sample files. As v2 and v2.1 are supposed to be identical,
there is overhead to maintain two set of functional tests and sample files.
We can have one set of tests which can run for both v2 and v2.1.

This commit merges console & console_output functional tests.

In V2.1 os-access-ip is separate plugin where in v2 it was mixed in server
plugin itself. So os-access-ip extension is enabled to run
merged functional tests for both v2 and v2.1.

Change-Id: I249c10b9b154a374b61092f6fcbe9f3f2bff1dd3
2015-04-15 07:12:43 +00:00
ghanshyam 464a6050ef Merge remote consoles tests between v2 and v2.1
Currently v2 and v2.1 have separate functional tests and their
corresponding sample files. As v2 and v2.1 are supposed to be identical,
there is overhead to maintain two set of functional tests and sample files.
We can have one set of tests which can run for both v2 and v2.1.

This commit merges remote consoles functional tests.

In V2.1 os-access-ip is separate plugin where in v2 it was mixed in server
plugin itself. So os-access-ip extension is enabled to run
merged functional tests for both v2 and v2.1.

Change-Id: I7db86f4e11a224071565fb8b3e211f670fc1292f
2015-04-15 10:42:00 +09:00
Jenkins f10d53b337 Merge "Merge flavor_extraspecs functional tests of v2 and v2.1" 2015-04-15 00:11:43 +00:00
Jenkins 9ccaa85243 Merge "Merge fixed_ips functional tests of v2 and v2.1" 2015-04-15 00:11:19 +00:00
Jenkins a25f3c6c2e Merge "Merge flavor_manage functional tests of v2 and v2.1" 2015-04-15 00:10:55 +00:00
Ken'ichi Ohmichi 1830870718 Add min/max of API microversions to version API
As nova-spec api-microversions, versions API needs to expose minimum
and maximum microversions to version API, because clients need to
know available microversions through the API. That is very important
for the interoperability.
This patch adds these versions as the nova-spec mentioned.

Note:
  As v2(not v2.1) API change manner, we have added new extensions if
  changing API. However, this patch doesn't add a new extension even
  if adding new parameters "version" and "min_version" because version
  API is independent from both v2 and v2.1 APIs.

Closes-Bug: #1443375

Change-Id: Id464a07d624d0e228fe0aa66a04c8e51f292ba0c
2015-04-14 05:53:07 +00:00
parklong 953e0053c0 Merge volume related functional tests of v2 and v2.1
Currently v2 and v2.1 have separate functional tests and their
corresponding sample files. As v2 and v2.1 are supposed to be identical,
there is overhead to maintain two set of functional tests and sample files.
We can have one set of tests which can run for both v2 and v2.1.

This commit merges volume related functional tests.

In v2, there were Snapshots/VolumeAttachments/VolumeAttachUpdate/Volumes,
all these are merged into this commit

Change-Id: I77413dfe88fc07e512f8bcdfabbb63e56e661f4b
2015-04-10 16:02:06 +08:00
parklong 2ca2236b83 Merge flavor_rxtx functional tests of v2 and v2.1
Currently v2 and v2.1 have separate functional tests and their
corresponding sample files. As v2 and v2.1 are supposed to be identical,
there is overhead to maintain two set of functional tests and sample files.
We can have one set of tests which can run for both v2 and v2.1.

This commit merges flavor_rxtx functional tests.

Change-Id: I82b183f95cd5a8e9981d2969b96204f11ab48c8f
2015-04-07 13:00:49 +08:00
parklong edcc7ab360 Merge fixed_ips functional tests of v2 and v2.1
Currently v2 and v2.1 have separate functional tests and their
corresponding sample files. As v2 and v2.1 are supposed to be identical,
there is overhead to maintain two set of functional tests and sample files.
We can have one set of tests which can run for both v2 and v2.1.

This commit merges fixed_ips functional tests.

Change-Id: Ia7d709adb90bf91adb92a3550584a30347d2f32d
2015-04-07 11:54:17 +08:00
ghanshyam f713c7c7b5 Merge server tests between v2 and v2.1
Currently v2 and v2.1 have separate functional tests and their
corresponding sample files. As v2 and v2.1 are supposed to be identical,
there is overhead to maintain two set of functional tests and sample files.
We can have one set of tests which can run for both v2 and v2.1.

This commit merges servers functional tests.

In V2.1 os-access-ip is separate plugin where in v2 it was mixed in server
plugin itself. So os-access-ip extension is enabled for server tests to run
merged functional tests for both v2 and v2.1.

Change-Id: I3dda5820cf8e1897c7a3895edb43bc708db9073d
2015-04-07 02:05:32 +00:00
parklong c9434e2b56 Merge flavor_extraspecs functional tests of v2 and v2.1
Currently v2 and v2.1 have separate functional tests and their
corresponding sample files. As v2 and v2.1 are supposed to be identical,
there is overhead to maintain two set of functional tests and sample files.
We can have one set of tests which can run for both v2 and v2.1.

This commit merges flavor_extraspecs functional tests.

Change-Id: Iab41188b8e511a1a41dabee8bad48fd18cbd2b06
2015-04-07 09:21:15 +08:00
Jenkins cd24e140c6 Merge "Merge baremetal_nodes func tests between V2 and V2.1" 2015-04-06 23:39:15 +00:00
Jenkins 6c1b8e077c Merge "Share V2 and V2.1 tenant-networks functional tests" 2015-04-06 23:38:52 +00:00
Jenkins a175a0781c Merge "Merge sec grp default rules tests between V2 and V2.1" 2015-04-06 23:38:30 +00:00
Jenkins 983543cf42 Merge "Merge instance_usage_audit_log tests between V2 and V2.1" 2015-04-06 23:38:07 +00:00
Jenkins 7e77ee309d Merge "Share V2 and V2.1 hosts functional tests" 2015-04-06 23:37:37 +00:00
Jenkins 300f1fccbc Merge "Share migrations tests between V2 and V2.1" 2015-04-06 23:37:13 +00:00
Jenkins 9b674fc7c4 Merge "Merging instance_actions tests between V2 and V2.1" 2015-04-06 23:36:49 +00:00
Jenkins 62828ad7c0 Merge "Merge certificates functional tests of v2 and v2.1" 2015-04-06 23:36:24 +00:00
parklong 5fb5170adf Merge flavor_manage functional tests of v2 and v2.1
Currently v2 and v2.1 have separate functional tests and their
corresponding sample files. As v2 and v2.1 are supposed to be identical,
there is overhead to maintain two set of functional tests and sample files.
We can have one set of tests which can run for both v2 and v2.1.

This commit merges flavor_manage functional tests.

This commit also tags FlavorManageSampleJsonTests as ADMIN_API to avoid
AuthenticationException when create a test flavor

Change-Id: I5fe68870285cfee2b3254184209a7111b24f7223
2015-04-03 16:55:29 +08:00
Jenkins d56cac321f Merge "Add json-schema for v2.1 fixed-ips" 2015-04-02 17:42:46 +00:00
He Jie Xu 8423a9cd15 Add json-schema for v2.1 fixed-ips
This patch adds json-schema for v2.1 fixed-ips. The json-schame limits
the input for actions reserve/unreserve. Also fixed the API sample
file at same time and add parameter_type none.

Co-Authored-By: Ken'ichi Ohmichi <ken1ohmichi@gmail.com>
Change-Id: Id2d0416c3ccc2a50d3cb66bed8747082f98fb194
Closes-Bug: #1438480
2015-04-01 18:39:16 +08:00
ghanshyam c6f1db668c Merge baremetal_nodes func tests between V2 and V2.1
Currently v2 and v2.1 have separate functional tests and their
corresponding sample files. As v2 and v2.1 are supposed to be identical,
there is overhead to maintain two set of functional tests and sample files.
We can have one set of tests which can run for both v2 and v2.1.

This commit merges baremetal_nodes functional tests.

Change-Id: Ifb42121727ae8ad1eebbdff3e52f2af816ccae28
2015-04-01 14:53:11 +09:00
ghanshyam dd09e57a1c Share V2 and V2.1 tenant-networks functional tests
Currently v2 and v2.1 have separate functional tests and their
corresponding sample files. As v2 and v2.1 are supposed to be identical,
there is overhead to maintain two set of functional tests and sample files.
We can have one set of tests which can run for both v2 and v2.1.

This commit merges tenant-networks functional tests.

Change-Id: I470ce6d26cd0865d2645ef269aa419b2b200ac37
2015-04-01 02:32:35 +00:00
ghanshyam 6ef5020183 Merge sec grp default rules tests between V2 and V2.1
Currently v2 and v2.1 have separate functional tests and their
corresponding sample files. As v2 and v2.1 are supposed to be identical,
there is overhead to maintain two set of functional tests and sample files.
We can have one set of tests which can run for both v2 and v2.1.

This commit merges sec grp default rules functional tests.

Change-Id: I3a00d86c3c5451473601bd330015ccef4cf5c2a2
2015-04-01 02:32:14 +00:00
ghanshyam fa6ce70b72 Share migrations tests between V2 and V2.1
Currently v2 and v2.1 have separate functional tests and their
corresponding sample files. As v2 and v2.1 are supposed to be identical,
there is overhead to maintain two set of functional tests and sample files.
We can have one set of tests which can run for both v2 and v2.1.

This commit merges migrations functional tests.

Change-Id: Iae29b8df04b43cc3b8cf56c1f51d73b62c7ca2bc
2015-04-01 02:32:00 +00:00