cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-9207) Test to verify if additional ipaddress on vpcVR is removed if the network is restarted with cleanup
Date Thu, 21 Apr 2016 12:23:25 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-9207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15251800#comment-15251800
] 

ASF GitHub Bot commented on CLOUDSTACK-9207:
--------------------------------------------

Github user pavanb018 commented on a diff in the pull request:

    https://github.com/apache/cloudstack/pull/1304#discussion_r60570371
  
    --- Diff: test/integration/component/test_vpc_network.py ---
    @@ -2748,3 +2751,86 @@ def test_stop_start_vpc_router(self):
             if (exceptionOccured or (not isRouterInDesiredState)):
                 self.fail(exceptionMessage)
             return
    +
    +    @attr(tags=["advanced", "intervlan"], required_hardware="true")
    +    def test_restart_network_with_cleanup(self):
    +        """ Test restart network with cleanup
    +
    +        #1.Acquire pubilc ip
    +        #2.Configure PF rule on acquired ip
    +        #3.Restart network wich leanup
    +        #4.Verify that IP won't be deleted from vpc VR
    +        """
    +        self.public_ip_1 = PublicIPAddress.create(
    +            self.apiclient,
    +            accountid=self.account.name,
    +            zoneid=self.zone.id,
    +            domainid=self.account.domainid,
    +            networkid=self.network_1.id,
    +            vpcid=self.vpc.id
    +        )
    +        NATRule.create(
    +            self.apiclient,
    +            self.vm_1,
    +            self.services["natrule"],
    +            ipaddressid=self.public_ip_1.ipaddress.id,
    +            networkid=self.network_1.id
    +        )
    --- End diff --
    
    @sanju1010  Can we add a validation to make sure that secondary IP is indeed present on
the VR even before restarting the network , so that the test will not miss out on the issue
where secondary IP was not present on the VR interface even before restart for some reason
?


> Test to verify if additional ipaddress on vpcVR is removed if the network is restarted
with cleanup
> ---------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-9207
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9207
>             Project: CloudStack
>          Issue Type: Test
>      Security Level: Public(Anyone can view this level - this is the default.) 
>            Reporter: Sanjeev N
>            Assignee: Sanjeev N
>
> Test to check restarting vpc network (tier) with cleanup  does not delete the secondary
ip address from the VR.
> Steps followed:
> ============
> 1.Create VPC, tier and deploy vm in the tier
> 2.Acquire additional IP address and configure StaticNAT with vm created in step1
> 3.Restart vpc network with clean up 
> Expected Result:
> ==============
> Secondary ip address (IP configured on VPC VR's public interface) should not be deleted
( or it should be configured on vr) after network restart with cleanup.
> RootCause:
> =========
> As part of clean up, CS deletes all the network configuration from the VR and it configures
again. However, the reconfiguration did not include the additional ip addresses.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message