Added a new extension that adds the ability for admins to migrate all
servers of a host to another available hosts.
Implements blueprint host-servers-migrate
Change-Id: I4e9c4be7ceb098d7a3bf553fd44addd46e8bce72
Adding a wrapper for all instances of a host, to be able to set/delete
metadata for all instances at once.
Implements blueprint tag-instances-of-host
Change-Id: I3d1a9ab54aad60bfccd0ece2285d145031fb5e15
Per (proposed) hacking H203 check, use the non-deprecated
except x as y: construct, which works with any
Python version >= 2.6
Change-Id: Ib7cab00cb8f219154663a4d51a855a1a2718e8cb
This change updates do_delete in v1_1/shell.py to keep track of
deletion failures and raises an exception when all of the specified
servers cannot be deleted. This in turn causes nova client to exit
with a correct exit code when no successful deletes occur.
Change-Id: I16ee7a4c754cf2e8add09a41becbcc37edc767ff
Fixes: bug #1185009
Added a new extension that adds the ability for admins to evacuate an
entire host to another host. This internally uses the
existing server.evacuate api.
The target host is optional so that a free host will be chosen by the
scheduler in the api.
Implements: blueprint evacuate-host
Change-Id: I2352836d01952e281e15edb9bdd1b912106516d6
Only blacklisting those warnings that are numerous,
so that in principle Hacking and PyFlakes warnings
are tested. Fix the easy ones alongway.
Change-Id: I571f51ebf570ac114509f2dcd71cdce281e7c70a
make it possible to edit the name and description of
common security groups, we can not rename the default.
nova patch : https://review.openstack.org/#/c/29490/
Fixes: bug #918393
Change-Id: I559f2fa09c1f205d3bbe7352fc169152e6b38586
Fix the shell tests so they pass for all supported prettytable
versions, as per requirements.txt (>=0.6,<0.8).
Fixes bug: #1185580.
Change-Id: I8dca23faa3c178494656ebc8088b6d1994e9869f
This patch achieves full test coverage for security_group and
security_group_rules by:
- Fixing the arguments used in test_invalid_parameters_create
- Testing the __str__ and delete methods of SecurityGroupRule
- Adding a test for the ___str__ method of SecurityGroup
Change-Id: I9cfbc68761f158754aa4b339238d29cc587c91e1
tests/__init__.py implies a package in the global namespace. These
tests are not global python tests, but rather tests for novaclient.
Change-Id: Ifeb8082aa010d15dddc9ae02e35589bc78ad48cc