← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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.

** Affects: nova
     Importance: Undecided
     Assignee: Dong Liu (liudong78)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => Dong Liu (liudong78)

** Project changed: neutron => nova

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1334563

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

Status in OpenStack Compute (Nova):
  New

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


Follow ups

References