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

Vishvananda Ishaya vishvananda at gmail.com
Tue Jan 10 23:29:35 UTC 2012


looks like an accidental omission to me.

Vish

On Jan 10, 2012, at 3:01 PM, Ewan Mellor wrote:

> 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
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120110/7a9c23be/attachment.html>


More information about the Openstack mailing list