← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1167684] Re: vlan option of nova network-create command is ignored.

 

Looks like that got approved. So marking this as invalid.

-- dims

** Changed in: nova
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1167684

Title:
  vlan option of nova network-create command is ignored.

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  create_networks method in nova.network.manager.VlanManager try to get
  a "vlan_start" value not a "vlan" value.

  ■Patch

  diff --git a/nova/network/manager.py b/nova/network/manager.py
  index 572aeda..4bd3683 100644
  --- a/nova/network/manager.py
  +++ b/nova/network/manager.py
  @@ -1795,7 +1795,7 @@ class VlanManager(RPCAllocateFixedIP, floating_ips.FloatingIP, NetworkManager):
           """Create networks based on parameters."""
           self._convert_int_args(kwargs)

  -        kwargs["vlan_start"] = kwargs.get("vlan_start") or CONF.vlan_start
  +        kwargs["vlan_start"] = int(kwargs.get("vlan")) or CONF.vlan_start
           kwargs["num_networks"] = (kwargs.get("num_networks") or
                                     CONF.num_networks)
           kwargs["network_size"] = (kwargs.get("network_size") or

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1167684/+subscriptions