[ https://issues.apache.org/jira/browse/CLOUDSTACK-3384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13701123#comment-13701123 ]
Toshiaki Hatano commented on CLOUDSTACK-3384: --------------------------------------------- Review Requested: https://issues.apache.org/jira/browse/CLOUDSTACK-3384 > 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