commit | 7c95befefb7db27296114f87cf49e8f2b8f43a59 | [log] [tgz] |
---|---|---|
author | Felipe Monteiro <felipe.monteiro@att.com> | Fri Feb 17 18:49:02 2017 -0500 |
committer | Felipe Monteiro <felipe.monteiro@att.com> | Thu Feb 23 21:26:26 2017 +0000 |
tree | 2d40e45664749af0265ff48159fe057e5f8e3240 | |
parent | 0b5c2c91deae07f42238b6ed77f2eabc0b4b8e91 [diff] |
Adds missing server tags APIs to servers client. Currently, there is no server tags API testing implemented in Tempest [1]. This API was introduced to Nova in 2.26 [2]. This patch adds the server tags APIs to the servers client, as well as corresponding unit test and schema changes. Mocking was added for the unit tests, because these tests explicitly require that the COMPUTE_MICROVERSION header in the base_compute_client be '2.26', or else the schema that is returned by get_schema in base_compute_client will return the v2.1 schema, resulting in validation errors. [1] https://github.com/openstack/tempest/tree/master/tempest/lib/services/compute [2] https://developer.openstack.org/api-ref/compute/ Change-Id: I06b9c6f42e066863310b4fe7ee7030c1dfb89467 Implements: blueprint missing-server-tags-api-test