In I5a580fc323c3809790b4a68a9f8f8129ecdc2cf0 we switched off XML support. In
this review we entirely remove all the testcases and supporting files.
Change-Id: I83827d438753fd3899053dd6e09bc77c997c7406
Nova V2.1 API has strong input validation by making validation
through JSON schema.
This patch makes rebuild server schema 'additionalProperties' to False
as all rebuild server extensions are implemented in V2.1.
After this, V2.1 will not allow extra arg for rebuild server.
This patch also modify the corresponding rebuild server tests
for extra input passed in request body-
test_rebuild_admin_password_pass_disabled
test_create_and_rebuild_server
Access ip extension sample files
Partially implements blueprint v2-on-v3-api
Change-Id: Ib13b02cefb9617e8af3b62b81d2f7eb7cd88eab1
In API unit testing, making call through WSGI is little bit overhead,
wherever applicable, unit tests can make direct call to controller
methods.
Also URL given in controller method's request is not used
(for direct call to controller methods), so pass blank URL
to avoid confusion as tests are shared between V2 & V2.1
This patch makes above cleanup in test_simple_tenant_usage.
Partially implements blueprint v2-on-v3-api
Change-Id: I2287ff6e793241767a144ec888853d01f0702eaa
In API unit testing, making call through WSGI is little bit overhead,
wherever applicable, unit tests can make direct call to controller
methods.
Also URL given in controller method's request is not used
(for direct call to controller methods), so pass blank URL
to avoid confusion as tests are shared between V2 & V2.1
This patch makes above cleanup in test_virtual_interfaces.
Partially implements blueprint v2-on-v3-api
Change-Id: Ibd0a18ad738242d54da841c504355808b91fca2c
Nova API has a common function that will catch InstanceInvalidState
and report an error with more helpful info. This patch make that
apply to server start/stop operations.
Change-Id: Ia71c73e8452667ddad7941597cd01a43a1c9b174
Replace usages of is_valid_ip_address, is_valid_ipv4,
is_valid_ipv6 from Nova by usages of this methods from
oslo.utils and remove these methods from Nova code
Also removed related tests
Change-Id: I66dd1d65a045271121020fdab562fa16f8db2bf0
Ib63da2d845843410634a1df0261af33b973daf32 is an example where
new code had to be fixed for oslo_concurrency imports. Let us
add a hacking check to prevent such regression. When we update
to new oslo libraries with non-namespace'd imports, we should
update the regexp in this hacking rule
Change-Id: I44536d477d06ddc1205b824bcb888b666405dce3
In API unit testing, making call through WSGI is little bit overhead,
wherever applicable, unit tests can make direct call to controller
methods.
Also URL given in controller method's request is not used
(for direct call to controller methods), so pass blank URL
to avoid confusion as tests are shared between V2 & V2.1
This patch makes above cleanup in test_server_password.
Partially implements blueprint v2-on-v3-api
Change-Id: Ia36a9a197c261a5c7d7367668b991c128c5425aa
In API unit testing, making call through WSGI is little bit overhead,
wherever applicable, unit tests can make direct call to controller
methods.
Some unit tests need WSGI call to tests more than one plugin together.
This patch makes above cleanup in test_keypairs.
Some tests need wsgi_app because of more than one plugins
are invloved in those tests.
Partially implements blueprint v2-on-v3-api
Change-Id: I9b32b33e8c98e26f18fab4b9a736d9b1f1256ee4