Commit Graph

299 Commits

Author SHA1 Message Date
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
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
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 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
ghanshyam 651767b5f9 Merge instance_usage_audit_log 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 instance_usage_audit_log functional tests.

Change-Id: I08bca29e48fdf00f02d77f5332a93c2db14a3551
2015-04-01 02:31:43 +00:00
ghanshyam ed91ab06af Merging instance_actions 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 instance_actions functional tests.

Change-Id: I0773458cdeeca2f1eeac19d579cb8228769e1e18
2015-04-01 11:29:51 +09:00
ghanshyam 0dc7b09514 Share V2 and V2.1 hosts 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 hosts functional tests.

Change-Id: Ibd53a7ddd4792942fe2dc45121dcc25fc9864903
2015-04-01 11:20:59 +09:00
ghanshyam 5228c9fd95 Merge certificates 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 certificates functional tests.

Change-Id: I3439eb50bf5d64f2101681dc523def9c586f893d
2015-04-01 11:05:21 +09:00
ghanshyam 0012f8bde2 Merge V2 and V2.1 Agent 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 Agent functional tests.

Change-Id: Ibfbe20f6c0b773ec7cf39d532074075c722deb63
2015-04-01 10:57:38 +09:00
Jenkins 9d20132a1d Merge "Merge quota_classes functional tests of v2 and v2.1" 2015-03-27 18:51:16 +00:00
Jenkins 15fae605ca Merge "Merge cell functional tests for V2 and V2.1" 2015-03-26 19:48:35 +00:00
Jenkins a46c460075 Merge "Merge V2 and V2.1 aggregate functional tests" 2015-03-26 19:48:09 +00:00
parklong 860c481503 Merge quota_classes 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 quota_classes functional tests.

In V2 quota_classes has following extensions
- os-server-group-quotas
- os-quota-class-sets

In V2.1, os-server-group-quotas extensions have been moved to extensions
limits, and there is no functional test for it.

so we merge os-quota-class-sets between V2 and V2.1, and delete
os-server-group-quotas

Partially implements merge_sample_tests

Change-Id: I46838ddffdb0c950781502716acaa01925ff9f67
2015-03-25 17:26:30 +08:00
ghanshyam d98aa4fadc Merge V2 and V2.1 floating ips 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 floating ip functional tests.
Below APIs tests are megred-
-floating_ip_dns
-floating-ips-bulk
-floating-ips
-floating-ip-pools

Change-Id: Ibde0b152949559dec90ea0e7ee6668ab05b4927f
2015-03-25 15:42:35 +09:00
ghanshyam 6a16798b59 Merge cell functional tests for 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 cell functional tests.

In V2 cell has following extensions
- os-cells
- os-cell-capacities

In V2.1 above extensions have been merged together in os-cell plugins

Change-Id: I42adfa5de21e3af03761fc12d04498de5112f385
2015-03-24 16:18:24 +09:00