You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by sanju1010 <gi...@git.apache.org> on 2016/04/06 13:38:13 UTC

[GitHub] cloudstack pull request: Test to create vpn customer gateway with ...

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

    https://github.com/apache/cloudstack/pull/1308#discussion_r58690197
  
    --- Diff: test/integration/component/test_vpc.py ---
    @@ -2490,3 +2498,23 @@ def test_21_deploy_vm_with_gateway_ip(self):
                 "Failed to create VM with first ip address in the CIDR as the vm ip"
             )
             return
    +
    +    @attr(tags=["advanced", "intervlan"], required_hardware="false")
    +    def test_22_vpn_customer_gw_with_hostname(self):
    +        """
    +            Test to create vpn customer gateway with hostname
    +            instead of gateway ip address
    +        """
    +        try:
    +            vpnGw = VpnCustomerGateway.create(
    +                self.apiclient,
    +                self.services["vpn_customer_gw"],
    +                name="test_vpn_customer_gw",
    +                gateway="GwWithHostName",
    +                cidrlist="10.1.0.0/16"
    +            )
    +            self.cleanup.append(vpnGw)
    +        except Exception as e:
    +            self.fail("Creating vpn customer gateway with hostname\
    +                      Failed with error :%s" % e)
    +        return
    --- End diff --
    
    @DaanHoogland , I have added few validations based on your review comments. Can you please check and give LGTM if you are okay with those changes? 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---