Bug #916312: nova-manage network modify --network flag is inconsistent.

Change nova-manage network modify --network to --fixed_range, to match
nova-manage network delete.

Also document both.

Change-Id: I3c03a33e9e3576393252d771eb4ce3353a7f2eaa
This commit is contained in:
Ewan Mellor
2012-01-13 17:28:27 -08:00
parent a45a1d0c38
commit 673d369969
2 changed files with 18 additions and 1 deletions

View File

@@ -907,7 +907,7 @@ class NetworkCommands(object):
net_manager.delete_network(context.get_admin_context(),
fixed_range, uuid)
@args('--network', dest="fixed_range", metavar='<x.x.x.x/yy>',
@args('--fixed_range', dest="fixed_range", metavar='<x.x.x.x/yy>',
help='Network to modify')
@args('--project', dest="project", metavar='<project name>',
help='Project name to associate')