Commit Graph

1344 Commits

Author SHA1 Message Date
ghanshyam 970fcf7cfa Merge server personality 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 personality functional tests.
Also inherit personality tests from ServersSampleBase to reuse code.

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 run
merged functional tests for both v2 and v2.1.

Note- V2 has no separate personality tests. This was added as separate
plugin in v2.1

Change-Id: I0e61ad236c0168977cad89432490f803eb3a61fd
2015-04-17 01:56:32 +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 819421a2aa Merge "Fix v2.1 list-host to remove 'services' filter" 2015-03-31 18:24:27 +00:00
Jenkins fc2e754ec6 Merge "Removes XML MIME types from v2 API information" 2015-03-31 14:31:30 +00:00
Jenkins e53b5da438 Merge "Update hypervisor support matrix for ironic wrt pause/suspend" 2015-03-31 14:31:04 +00:00
Davanum Srinivas 07b5373f90 Fix API links and labels
Per email discussion[1], v2.1 API is our CURRENT when we get to kilo and
v2 is SUPPORTED. Added links to the v2.1 API, v2 API and v2 extensions
API in our documentation

[1] http://markmail.org/message/p32p5jbvvjedg657

Depends-On: Ibe990ec93d8f9d18ef21c28979e180472df6a33d
Closes-Bug: #1435507
Change-Id: Iaa62be9612dd039f7669ff2b5587c922aba54093
2015-03-30 23:59:40 +00:00
Matt Riedemann 1eabcb89af Update hypervisor support matrix for ironic wrt pause/suspend
The document currently lists the ironic driver as partially supporting
the pause/unpause and suspend/resume operations, but those are not
available in the ironic driver in tree.

Change-Id: I6979b6e096b8320b817ddb71100b9f0162335be6
2015-03-30 13:55:19 -07:00
Anne Gentle 2f38e4573a Removes XML MIME types from v2 API information
Change-Id: Id368952b940f46295cc58d841fdf5b2a5c9d669f
2015-03-29 11:05:46 -05:00
Jenkins 9d20132a1d Merge "Merge quota_classes functional tests of v2 and v2.1" 2015-03-27 18:51:16 +00:00
Jenkins 17a162c495 Merge "Adds Compute API v2 docs" 2015-03-27 18:36:00 +00:00
Jenkins 0dedfb0048 Merge "Add missing shows to the RPC casts documentation" 2015-03-27 18:35:08 +00:00
Anne Gentle ffc4cedb2b Adds Compute API v2 docs
Imported from public API docs plus fixes to make them more accurate.

Change-Id: I6d5ba6b96772e0f17fc7484312222110ec103bbf
2015-03-27 10:52:18 -05:00
ghanshyam e8006761d7 Fix v2.1 list-host to remove 'services' filter
In v2.1, list-host supports 'services' filter also
But this is not case with v2 API. v2 list-host does not support
'services' filter.
v2.1 APIs should be same as v2 in all cases/scenarios.

This is bug fix so not putting as microversions, its just a change to
the v2.1 code so it is equivalent to v2. If later needed then, this can
be reverted back as current ways via microversion.

This was no best test coverage to catch this kind of issue.
This was caught while merging the v2 and v2.1 tests
- Ibd53a7ddd4792942fe2dc45121dcc25fc9864903

Change-Id: I11210babde0c5a668c794cd6aae7eb8c5093a99c
Closes-Bug: #1437184
2015-03-27 17:20:58 +09: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