Segment Range Validation should be Done based on Segment Type.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cisco Openstack |
Fix Committed
|
Undecided
|
Abishek Subramanian |
Bug Description
The value entered in Segment Range should be validated for example for the vlan if i entered vlan range >4094 it should given the error message saying segment range is invalid.
Segment Type - Range
Vlan <1-3967,4048-4093>
vxlan - 4096-16000000
Logs :
(quantum) cisco-network-
+------
| id | name | segment_type | sub_type | segment_range | physical_network | multicast_ip_range |
+------
| 3fd8d809-
| 54ffca18-
| b8ef8e12-
+------
(quantum)
With CLI also
(quantum) cisco-network-
Created a new network_profile:
+------
| Field | Value |
+------
| id | 02101cf2-
| multicast_ip_range | |
| name | test |
| physical_network | VSM |
| segment_range | 4092-4096 |
| segment_type | vlan |
| sub_type | |
+------
(quantum)
(quantum) cisco-network-
+------
| id | name | segment_type | sub_type | segment_range | physical_network | multicast_ip_range |
+------
| 02101cf2-
| 0a6fd808-
+------
(quantum)
tags: | added: n1k |
Changed in openstack-cisco: | |
assignee: | nobody → Abishek Subramanian (absubram) |
This is a VSM issue - not an openstack issue. The help description is more of a guideline giving the segment ranges. However if the VSM accepts those ranges, then openstack can't error out.