[Openstack] --network vs --fixed_range in nova-manage

Ewan Mellor Ewan.Mellor at eu.citrix.com
Tue Jan 10 23:01:42 UTC 2012


In nova-manage, we have a 'network modify' command that takes --network but 'network delete' takes --fixed_range.  The flag was renamed (some while ago) for the 'network delete' case.  Was it intentional to leave the 'network modify' case alone?  That appears inconsistent.

Thanks,

Ewan.


    @args('--fixed_range', dest="fixed_range", metavar='<x.x.x.x/yy>',
            help='Network to delete')
...
    def delete(self, fixed_range=None, uuid=None):


    @args('--network', dest="fixed_range", metavar='<x.x.x.x/yy>',
            help='Network to modify')
...
    def modify(self, fixed_range, project=None, host=None,
               dis_project=None, dis_host=None):



commit c32258c77d365534ac7b70bccbadb60a6ea4be1e
Author: Brad Hall <brad at nicira.com>
Date:   Sun Oct 2 08:20:50 2011 -0700

    Change network delete to delete by uuid or cidr

    With melange it will be possible to have overlapping cidrs so it would be
    better to specify the uuid of the network to delete.

    Change-Id: I6781225d587952cbab3387cd40164d8ac77c58d6
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120110/2c613af2/attachment.html>


More information about the Openstack mailing list