cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daan Hoogland (JIRA)" <>
Subject [jira] [Commented] (CLOUDSTACK-5502) [Automation] createVlanIpRange API failing, if you pass VLAN
Date Fri, 20 Dec 2013 12:22:16 GMT


Daan Hoogland commented on CLOUDSTACK-5502:

It seems by the description of the api "untagged" never was a valid value to submit.

    @Parameter(name=ApiConstants.VLAN, type=CommandType.STRING, description="the ID or VID
of the VLAN. If not specified," +
            " will be defaulted to the vlan of the network or if vlan of the network is null
- to Untagged")

it is misleading though, as it states that null will be treated as "untagged"
I will implement the lenient behavior of interpreting "untagged" as null, which will then
lead to setting it to either the network-vlan or "untagged" again. Hopefully this will suit
all scenario's that where not foreseen.

> [Automation] createVlanIpRange API failing, if you pass VLAN 
> -------------------------------------------------------------
>                 Key: CLOUDSTACK-5502
>                 URL:
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>    Affects Versions: 4.3.0
>         Environment: KVM Basic Zone with SG
>            Reporter: Rayees Namathponnan
>            Assignee: Daan Hoogland
>            Priority: Blocker
>             Fix For: 4.3.0
> This issue found in KVM basic zone with SG automation run;  test cases from below suite
> integration.component.test_multiple_ip_ranges.
> Steps to reproduce 
> Step 1 :  Create basic zone with SG
> Step 2 : Crete IP VLAN Range with below command (pass vlan=untagged)
> Result;
> API command failed with error 
> { "createvlaniprangeresponse" : {"uuidList":[],"errorcode":431,"cserrorcode":4350,"errortext":"Vlan
doesn't match vlan of the network"} }
> this API command works only, if you are not passing any VLAN

This message was sent by Atlassian JIRA

View raw message