server actions sometimes return servers objects, which means
their output is different when extensions are enabled. This
adds api samples for those cases to give a more realistic view
to the user of what they might expect.
Change-Id: Iaa9a4c3a373dee41931c5dc4f1b805f09a05299f
Adds tests and templates for testing of the virtual interfaces
API extension. Tests both json and XML API functionality.
Change-Id: I95f4e6667c3c2df123246d73498f13d826e3866a
Adds tests and templates for testing of the server rescue
API extension. Tests both json and XML API functionality.
Change-Id: Icb241e96ebedde0b6385f8ba60eebd0e768f22da
NOTE: This include two samples of post request: One to create the keypair and
another to import from a public key
Change-Id: I754fd5998cf8be46a96e69e3459c91d4f767575e
The scheduler hints and disk config extensions were not using
proper prefixes when deserializing xml. This patch modifes
them to deserialize properly. It leaves the old deserialization
in place as well so anyone using the broken implementation
will continue to work.
It also updates the api samples to use the new format. Note that
the proper fix required changing the alias for the scheduler hints
extension, since the alias is used for xml, so the samples had
to be moved.
Finally it fixes an issue with deserialization, allowing it to
support multiple hints with the same name.
Part of bug 1050997
Change-Id: I9969582d65d44de25388f07b6d2013fb7d093fb2
Adds the basic test and templates for testing the response
of the extended server attributes extension. Tests both the
json and XML responses.
Change-Id: I38f43263bf5de854d7d7cf6d2180cf68831ad09b
Added the security groups quota details to
the limit API response so that these details
also get displayed to the user.
Fixes bug 1049578
Change-Id: I45c345141747f99359c8948e959030f8cb99e866
This moves the servers detail test into the base servers test so
it runs with all_extensions as well. It also renames the
results to be consistent with the other tests. Finally it
adds test for servers-list both with and without extensions.
Change-Id: I6eed3932fa594f1a39faa55453461680781e6a9f
The generated api_samples aren't used for the tests, they're only
included in git so that they can be synced into the docs. Move them
to the doc/ dir to make that more clear since I keep forgetting.
Change-Id: I0851ac0ee234dc1e8740666716733e05f856ddec