summaryrefslogtreecommitdiff
path: root/bin/nova-manage
diff options
context:
space:
mode:
authorChris Behrens <cbehrens@codestud.com>2012-11-01 11:03:08 +0000
committerChris Behrens <cbehrens@codestud.com>2013-01-15 01:22:35 +0000
commit6b4ad2d7d2f431c153e9e2a655271932b8b378f0 (patch)
treeb003794c1e7d6d4d26366475b8cbe5220a8f54b5 /bin/nova-manage
parentf6c205f66eef6bac572f9f4176b3bc7f90d57ff0 (diff)
downloadnova-6b4ad2d7d2f431c153e9e2a655271932b8b378f0.tar.gz
Cells: Add cells API extension
Enables cells-related functionality such as adding neighbor cells, listing neighbor cells, and showing the capabilities of the local cell. Implements blueprint nova-compute-cells DocImpact Change-Id: Iacc1e68721a7867aeaf233903cbe6d18f09ad96e
Diffstat (limited to 'bin/nova-manage')
-rwxr-xr-xbin/nova-manage8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/nova-manage b/bin/nova-manage
index 67212a1983..99053df63b 100755
--- a/bin/nova-manage
+++ b/bin/nova-manage
@@ -1056,11 +1056,11 @@ class CellCommands(object):
ctxt = context.get_admin_context()
db.cell_create(ctxt, values)
- @args('--cell_id', dest='cell_id', metavar='<cell_id>',
- help='ID of the cell to delete')
- def delete(self, cell_id):
+ @args('--cell_name', dest='cell_name', metavar='<cell_name>',
+ help='Name of the cell to delete')
+ def delete(self, cell_name):
ctxt = context.get_admin_context()
- db.cell_delete(ctxt, cell_id)
+ db.cell_delete(ctxt, cell_name)
def list(self):
ctxt = context.get_admin_context()