← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1334563] Re: nova-network allow creating network with invalid vlan number

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => juno-3

-- 
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/1334563

Title:
  nova-network allow creating network with invalid vlan number

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  My openstack use nova network service, I create network with "vlan" parameter.
  I can create network with vlan 4097. As we known, this is a invalid vlan number.

  This is my request body:
  {
    "network": {
      "cidr": "192.168.50.0/24",
      "vlan": "4097",
      "label": "testnetwork01"
    }
  }

  This is response:
  {
    "network": {
      "bridge": "br4097",
      "vpn_public_port": 1006,
      "dhcp_start": "192.168.50.3",
      "bridge_interface": "brcps",
      "updated_at": null,
      "id": "c5bd9589-5310-4cd2-8d2a-413db609e88b",
      "cidr_v6": null,
      "deleted_at": null,
      "gateway": "192.168.50.1",
      "rxtx_base": null,
      "label": "testnetwork01",
      "priority": null,
      "project_id": null,
      "vpn_private_address": "192.168.50.2",
      "deleted": 0,
      "vlan": "4097",
      "broadcast": "192.168.50.255",
      "netmask": "255.255.255.0",
      "injected": false,
      "cidr": "192.168.50.0/24",
      "vpn_public_address": null,
      "multi_host": false,
      "dns2": null,
      "created_at": "2014-06-26T16:23:01.309176",
      "host": null,
      "gateway_v6": null,
      "netmask_v6": null,
      "dns1": "8.8.4.4"
    }
  }

  I think we should check this parameter.

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


References