[
https://issues.apache.org/jira/browse/CLOUDSTACK-2752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13678408#comment-13678408
]
Jessica Wang commented on CLOUDSTACK-2752:
------------------------------------------
(1) UI doesn't allow update VLAN Range field anyway. (VLAN Range field is not
editable in Edit mode, see my screenshot)
(2) UpdatePhysicalNetwork API doesn't allow smaller vlan range anyway:
e.g. on my machine, VLAN range is 1000-1072 and I try to use
UpdatePhysicalNetwork API to shrink it to 1000-1069 and API returns an error:
http://10.216.133.43:8080/client/api?command=listPhysicalNetworks&response=json&sessionkey=ect1ydRpM3XJe7A7m7A7MIp3LV4%3D&id=9c9b5eb5-19da-4c57-9a80-2a63d398d9bb&_=1370636855712
{
"listphysicalnetworksresponse": {
"count": 1,
"physicalnetwork": [
{
"id": "9c9b5eb5-19da-4c57-9a80-2a63d398d9bb",
"name": "Physical Network 1",
"broadcastdomainrange": "ZONE",
"zoneid": "a92cbc65-7f70-492f-9ea5-5a5191d72037",
"state": "Enabled",
"vlan": "1000-1072",
"tags": "bbb",
"isolationmethods": "VLAN"
}
]
}
}
http://10.216.133.43:8080/client/api?command=updatePhysicalNetwork&id=9c9b5eb5-19da-4c57-9a80-2a63d398d9bb&vlan=1000-1069&response=json&sessionkey=ect1ydRpM3XJe7A7m7A7MIp3LV4%3D&_=1370636708162
{
"updatephysicalnetworkresponse": {
"jobid": "d9e1c2be-3bb2-4fa0-9d5e-ec82f92a9a95"
}
}
http://10.216.133.43:8080/client/api?command=queryAsyncJobResult&jobId=d9e1c2be-3bb2-4fa0-9d5e-ec82f92a9a95&response=json&sessionkey=ect1ydRpM3XJe7A7m7A7MIp3LV4%3D&_=1370636711639
{
"queryasyncjobresultresponse": {
"accountid": "30c1d106-cec9-11e2-9d2a-3c970e739c3e",
"userid": "30c20946-cec9-11e2-9d2a-3c970e739c3e",
"cmd":
"org.apache.cloudstack.api.command.admin.network.UpdatePhysicalNetworkCmd",
"jobstatus": 2,
"jobprocstatus": 0,
"jobresultcode": 530,
"jobresulttype": "object",
"jobresult": {
"errorcode": 530,
"errortext": "The vlan range you trying to add already exists."
},
"created": "2013-06-07T13:29:37-0700",
"jobid": "d9e1c2be-3bb2-4fa0-9d5e-ec82f92a9a95"
}
}
> [UI] Failed to update Guest VLAN range
> --------------------------------------
>
> Key: CLOUDSTACK-2752
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2752
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: UI
> Affects Versions: 4.2.0
> Environment: Master build
> Reporter: Rayees Namathponnan
> Assignee: Jessica Wang
> Fix For: 4.2.0
>
> Attachments: VLANRanges_is_not_editable.PNG
>
>
> Steps to reproduce
> Step 1 : Create advance zone (Provided VLAN 2301-2360)
> Step 2 : Updated Guest Vlan Range (2301-2358)
> Expected Result
> Vlan range should be updated to 2301-2358, if this range is not using
> Actual Result
> VLAN range not update to 2301-2358, still showing 2301-2360
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira