vlan_start verification error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Low
|
Unassigned |
Bug Description
As we known there are two parameters in creating network, "vlan" and "vlan_start".
In my system, There were 4 networks. And then I created a new network with --vlan argument. The network created success.
But I show this network, the vlan number is 4097. We know this is an invalid vlan.
I think this is a bug and I will fix it.
Follows are my operation record:
root@liudong:~# nova net-list
+------
| ID | Label | CIDR |
+------
| c7e02e11-
| 684f350a-
| b9f4da1d-
| b593fea4-
+------
root@liudong:~# nova network-create --fixed-range-v4 10.0.4.0/24 --vlan 4093 network04
root@liudong:~# nova network-show network04
+------
| Property | Value |
+------
| bridge | br4097 |
| bridge_interface | eth0 |
| broadcast | 10.0.4.255 |
| cidr | 10.0.4.0/24 |
| cidr_v6 | - |
| created_at | 2014-07-
| deleted | 0 |
| deleted_at | - |
| dhcp_start | 10.0.4.3 |
| dns1 | 8.8.4.4 |
| dns2 | - |
| gateway | 10.0.4.1 |
| gateway_v6 | - |
| host | - |
| id | f9d54d82-
| injected | False |
| label | network04 |
| multi_host | False |
| netmask | 255.255.255.0 |
| netmask_v6 | - |
| priority | - |
| project_id | - |
| rxtx_base | - |
| updated_at | - |
| vlan | 4097 |
| vpn_private_address | 10.0.4.2 |
| vpn_public_address | - |
| vpn_public_port | 1004 |
+------
Changed in nova: | |
assignee: | nobody → Dong Liu (liudong78) |
Fix proposed to branch: master /review. openstack. org/104468
Review: https:/