nova-network allow creating network with invalid vlan number
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Dong Liu |
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_
"dhcp_start": "192.168.50.3",
"bridge_
"updated_at": null,
"id": "c5bd9589-
"cidr_v6": null,
"deleted_at": null,
"gateway": "192.168.50.1",
"rxtx_base": null,
"label": "testnetwork01",
"priority": null,
"project_id": null,
"vpn_
"deleted": 0,
"vlan": "4097",
"broadcast": "192.168.50.255",
"netmask": "255.255.255.0",
"injected": false,
"cidr": "192.168.50.0/24",
"vpn_
"multi_host": false,
"dns2": null,
"created_at": "2014-06-
"host": null,
"gateway_v6": null,
"netmask_v6": null,
"dns1": "8.8.4.4"
}
}
I think we should check this parameter.
Changed in neutron: | |
assignee: | nobody → Dong Liu (liudong78) |
affects: | neutron → nova |
Changed in nova: | |
assignee: | Dong Liu (liudong78) → nobody |
assignee: | nobody → Dong Liu (liudong78) |
Changed in nova: | |
milestone: | none → juno-3 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | juno-3 → 2014.2 |
Fix proposed to branch: master /review. openstack. org/102777
Review: https:/