You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Ashutosh Kelkar <as...@clogeny.com> on 2014/07/29 16:20:38 UTC

Review Request 24055: CLOUDSTACK-2251: Automation test cases for feature - Dedicated guest VLAN ranges per tenant

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/24055/
-----------------------------------------------------------

Review request for cloudstack, suresh sadhu, sailaja mada, sanjeev n, and Sowmya Krishnan.


Bugs: CLOUDSTACK-2251
    https://issues.apache.org/jira/browse/CLOUDSTACK-2251


Repository: cloudstack-git


Description
-------

Automation test cases for feature - Dedicated guest VLAN ranges per tenant


Diffs
-----

  test/integration/component/test_dedicate_guest_vlan_ranges.py PRE-CREATION 
  tools/marvin/marvin/lib/base.py 58033c6 
  tools/marvin/marvin/lib/common.py 187ede6 

Diff: https://reviews.apache.org/r/24055/diff/


Testing
-------

Yes.


Thanks,

Ashutosh Kelkar


Re: Review Request 24055: CLOUDSTACK-2251: Automation test cases for feature - Dedicated guest VLAN ranges per tenant

Posted by sanjeev n <sa...@citrix.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/24055/#review51756
-----------------------------------------------------------

Ship it!


Ship It!

- sanjeev n


On Aug. 22, 2014, 10:14 a.m., Ashutosh Kelkar wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/24055/
> -----------------------------------------------------------
> 
> (Updated Aug. 22, 2014, 10:14 a.m.)
> 
> 
> Review request for cloudstack, suresh sadhu, sailaja mada, sanjeev n, and Sowmya Krishnan.
> 
> 
> Bugs: CLOUDSTACK-2251
>     https://issues.apache.org/jira/browse/CLOUDSTACK-2251
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> -------
> 
> Automation test cases for feature - Dedicated guest VLAN ranges per tenant
> 
> 
> Diffs
> -----
> 
>   test/integration/component/test_dedicate_guest_vlan_ranges.py PRE-CREATION 
>   tools/marvin/marvin/lib/base.py f0d53a6 
>   tools/marvin/marvin/lib/common.py 3706456 
> 
> Diff: https://reviews.apache.org/r/24055/diff/
> 
> 
> Testing
> -------
> 
> Yes.
> 
> 
> Thanks,
> 
> Ashutosh Kelkar
> 
>


Re: Review Request 24055: CLOUDSTACK-2251: Automation test cases for feature - Dedicated guest VLAN ranges per tenant

Posted by Ashutosh Kelkar <as...@clogeny.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/24055/
-----------------------------------------------------------

(Updated Aug. 22, 2014, 10:14 a.m.)


Review request for cloudstack, suresh sadhu, sailaja mada, sanjeev n, and Sowmya Krishnan.


Changes
-------

Review Changes.


Bugs: CLOUDSTACK-2251
    https://issues.apache.org/jira/browse/CLOUDSTACK-2251


Repository: cloudstack-git


Description
-------

Automation test cases for feature - Dedicated guest VLAN ranges per tenant


Diffs (updated)
-----

  test/integration/component/test_dedicate_guest_vlan_ranges.py PRE-CREATION 
  tools/marvin/marvin/lib/base.py f0d53a6 
  tools/marvin/marvin/lib/common.py 3706456 

Diff: https://reviews.apache.org/r/24055/diff/


Testing
-------

Yes.


Thanks,

Ashutosh Kelkar


Re: Review Request 24055: CLOUDSTACK-2251: Automation test cases for feature - Dedicated guest VLAN ranges per tenant

Posted by Ashutosh Kelkar <as...@clogeny.com>.

> On Aug. 18, 2014, 5:36 a.m., sanjeev n wrote:
> > test/integration/component/test_dedicate_guest_vlan_ranges.py, line 1197
> > <https://reviews.apache.org/r/24055/diff/1/?file=644474#file644474line1197>
> >
> >     This assert statement does not make sense because no vlan would be assigned to the network created here. Not sure what would be the value of netowrks[0].vlan when there is no vlan assigned for the network.

Why would there be no vlan assigned? The network takes vlan from the dedicated range automatically, and if dedicated range is not availble, then it will take random vlan from the vlan range of physical network.


> On Aug. 18, 2014, 5:36 a.m., sanjeev n wrote:
> > test/integration/component/test_dedicate_guest_vlan_ranges.py, line 1201
> > <https://reviews.apache.org/r/24055/diff/1/?file=644474#file644474line1201>
> >
> >     Not catching the exception if releasing vlan range fails for some reason. Add code to handle the error in releasing vlan range.

I don't think that is necessary, because anyway cleanup operation will be called when exception occurs in the test case. And if releasing vlan range fails then there is nothing to do explicitly. We will get to see the reason in the logs.


> On Aug. 18, 2014, 5:36 a.m., sanjeev n wrote:
> > test/integration/component/test_dedicate_guest_vlan_ranges.py, line 567
> > <https://reviews.apache.org/r/24055/diff/1/?file=644474#file644474line567>
> >
> >     Add assertions to check whether the vlan dedecation is success or not. Applies to account2 as well.

Will do.


> On Aug. 18, 2014, 5:36 a.m., sanjeev n wrote:
> > test/integration/component/test_dedicate_guest_vlan_ranges.py, line 962
> > <https://reviews.apache.org/r/24055/diff/1/?file=644474#file644474line962>
> >
> >     Add assertion since this is where the actual test is happening.

Will do.


- Ashutosh


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/24055/#review50850
-----------------------------------------------------------


On July 29, 2014, 2:20 p.m., Ashutosh Kelkar wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/24055/
> -----------------------------------------------------------
> 
> (Updated July 29, 2014, 2:20 p.m.)
> 
> 
> Review request for cloudstack, suresh sadhu, sailaja mada, sanjeev n, and Sowmya Krishnan.
> 
> 
> Bugs: CLOUDSTACK-2251
>     https://issues.apache.org/jira/browse/CLOUDSTACK-2251
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> -------
> 
> Automation test cases for feature - Dedicated guest VLAN ranges per tenant
> 
> 
> Diffs
> -----
> 
>   test/integration/component/test_dedicate_guest_vlan_ranges.py PRE-CREATION 
>   tools/marvin/marvin/lib/base.py 58033c6 
>   tools/marvin/marvin/lib/common.py 187ede6 
> 
> Diff: https://reviews.apache.org/r/24055/diff/
> 
> 
> Testing
> -------
> 
> Yes.
> 
> 
> Thanks,
> 
> Ashutosh Kelkar
> 
>


Re: Review Request 24055: CLOUDSTACK-2251: Automation test cases for feature - Dedicated guest VLAN ranges per tenant

Posted by Ashutosh Kelkar <as...@clogeny.com>.

> On Aug. 18, 2014, 5:36 a.m., sanjeev n wrote:
> > test/integration/component/test_dedicate_guest_vlan_ranges.py, line 1197
> > <https://reviews.apache.org/r/24055/diff/1/?file=644474#file644474line1197>
> >
> >     This assert statement does not make sense because no vlan would be assigned to the network created here. Not sure what would be the value of netowrks[0].vlan when there is no vlan assigned for the network.
> 
> Ashutosh Kelkar wrote:
>     Why would there be no vlan assigned? The network takes vlan from the dedicated range automatically, and if dedicated range is not availble, then it will take random vlan from the vlan range of physical network.

I have used persistent network here, hence it will automatically get a vlan id even when VM is not deployed in it.


- Ashutosh


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/24055/#review50850
-----------------------------------------------------------


On Aug. 22, 2014, 10:14 a.m., Ashutosh Kelkar wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/24055/
> -----------------------------------------------------------
> 
> (Updated Aug. 22, 2014, 10:14 a.m.)
> 
> 
> Review request for cloudstack, suresh sadhu, sailaja mada, sanjeev n, and Sowmya Krishnan.
> 
> 
> Bugs: CLOUDSTACK-2251
>     https://issues.apache.org/jira/browse/CLOUDSTACK-2251
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> -------
> 
> Automation test cases for feature - Dedicated guest VLAN ranges per tenant
> 
> 
> Diffs
> -----
> 
>   test/integration/component/test_dedicate_guest_vlan_ranges.py PRE-CREATION 
>   tools/marvin/marvin/lib/base.py f0d53a6 
>   tools/marvin/marvin/lib/common.py 3706456 
> 
> Diff: https://reviews.apache.org/r/24055/diff/
> 
> 
> Testing
> -------
> 
> Yes.
> 
> 
> Thanks,
> 
> Ashutosh Kelkar
> 
>


Re: Review Request 24055: CLOUDSTACK-2251: Automation test cases for feature - Dedicated guest VLAN ranges per tenant

Posted by sanjeev n <sa...@citrix.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/24055/#review50850
-----------------------------------------------------------



test/integration/component/test_dedicate_guest_vlan_ranges.py
<https://reviews.apache.org/r/24055/#comment88722>

    Add assertions to check whether the vlan dedecation is success or not. Applies to account2 as well.



test/integration/component/test_dedicate_guest_vlan_ranges.py
<https://reviews.apache.org/r/24055/#comment88723>

    Add assertion since this is where the actual test is happening.



test/integration/component/test_dedicate_guest_vlan_ranges.py
<https://reviews.apache.org/r/24055/#comment88724>

    This assert statement does not make sense because no vlan would be assigned to the network created here. Not sure what would be the value of netowrks[0].vlan when there is no vlan assigned for the network.



test/integration/component/test_dedicate_guest_vlan_ranges.py
<https://reviews.apache.org/r/24055/#comment88725>

    Not catching the exception if releasing vlan range fails for some reason. Add code to handle the error in releasing vlan range.


- sanjeev n


On July 29, 2014, 2:20 p.m., Ashutosh Kelkar wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/24055/
> -----------------------------------------------------------
> 
> (Updated July 29, 2014, 2:20 p.m.)
> 
> 
> Review request for cloudstack, suresh sadhu, sailaja mada, sanjeev n, and Sowmya Krishnan.
> 
> 
> Bugs: CLOUDSTACK-2251
>     https://issues.apache.org/jira/browse/CLOUDSTACK-2251
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> -------
> 
> Automation test cases for feature - Dedicated guest VLAN ranges per tenant
> 
> 
> Diffs
> -----
> 
>   test/integration/component/test_dedicate_guest_vlan_ranges.py PRE-CREATION 
>   tools/marvin/marvin/lib/base.py 58033c6 
>   tools/marvin/marvin/lib/common.py 187ede6 
> 
> Diff: https://reviews.apache.org/r/24055/diff/
> 
> 
> Testing
> -------
> 
> Yes.
> 
> 
> Thanks,
> 
> Ashutosh Kelkar
> 
>