[
https://issues.apache.org/jira/browse/CLOUDSTACK-3384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13705447#comment-13705447
]
ASF subversion and git services commented on CLOUDSTACK-3384:
-------------------------------------------------------------
Commit b4cd6f097fcac7033ca8a07143e9e2592369945b in branch
refs/heads/master-6-17-stable from [~tsp]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=b4cd6f0 ]
CLOUDSTACK-3384: Fix the vlan range < 4096
VLAN ranges beyond 4095 are properly handled. Fix the test to accomdate
this change
Signed-off-by: Prasanna Santhanam <[email protected]>
(cherry picked from commit 3f5c1c6da3d2152fdc966603f929c3ea880d8b60)
> CloudStack allow VLAN range between 0-4096. Should be 0-'4095'.
> ---------------------------------------------------------------
>
> Key: CLOUDSTACK-3384
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3384
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: API
> Affects Versions: 4.2.0
> Reporter: Toshiaki Hatano
> Assignee: Toshiaki Hatano
> Priority: Minor
> Fix For: Future
>
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> There're VLAN range check code in com.cloud.network.NetworkServiceImpl.
> But it allows VLAN range between 0-4096.
> VLAN ID have 12 bit field and it's between 0-4095 (0x000 - 0xFFF) .
> CloudStack should return error when someone try to assign VLAN ID 4096 to
> network.
--
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