diff options
| author | Russell Bryant <rbryant@redhat.com> | 2012-07-11 13:57:41 -0400 |
|---|---|---|
| committer | Russell Bryant <rbryant@redhat.com> | 2012-07-11 13:57:41 -0400 |
| commit | 42e785561e9c747cab41d74dbe90cad56e8eea14 (patch) | |
| tree | aeea373b8b157f3e660784bef2af5891eb13f3d4 /tools/enable-pre-commit-hook.sh | |
| parent | 786ec05dec4afc178230b7b66aaf60ed1e8f70de (diff) | |
| download | nova-42e785561e9c747cab41d74dbe90cad56e8eea14.tar.gz nova-42e785561e9c747cab41d74dbe90cad56e8eea14.tar.xz nova-42e785561e9c747cab41d74dbe90cad56e8eea14.zip | |
Always attempt to delete entire floating IP range.
Fix bug 1021222.
This patch tweaks nova-manage to always attempt to delete all addresses
in the specified IP range, even if an error is encountered. This is an
easy way to handle a case where a range was created, but then a subset
of that range was deleted. Otherwise, deleting the rest of the range is
a pain.
An example of this would be:
# nova-manage floating create --ip_range=1.1.1.0/24
# nova-manage floating delete 1.1.1.1
# nova-manage floating delete 1.1.1.0/24
Previously this would fail. Now it works.
Change-Id: Ia01c04dee5383f597976c6a79d9a0d9e19985898
Diffstat (limited to 'tools/enable-pre-commit-hook.sh')
0 files changed, 0 insertions, 0 deletions
