From 4a3ef34fe21127538772c6e6a7acb1c62cf1d90b Mon Sep 17 00:00:00 2001 From: Yong Sheng Gong Date: Mon, 9 Dec 2013 15:25:19 +0800 Subject: [PATCH] Add the external gateway interface to vpn router Change-Id: Ib24080f0895a322576c837566976ade9fc4d8069 Closes-Bug: #1258379 --- tempest/api/network/test_vpnaas_extensions.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tempest/api/network/test_vpnaas_extensions.py b/tempest/api/network/test_vpnaas_extensions.py index 7905b972ce..63a8e24452 100644 --- a/tempest/api/network/test_vpnaas_extensions.py +++ b/tempest/api/network/test_vpnaas_extensions.py @@ -40,7 +40,9 @@ class VPNaaSJSON(base.BaseNetworkTest): super(VPNaaSJSON, cls).setUpClass() cls.network = cls.create_network() cls.subnet = cls.create_subnet(cls.network) - cls.router = cls.create_router(data_utils.rand_name("router-")) + cls.router = cls.create_router( + data_utils.rand_name("router-"), + external_network_id=cls.network_cfg.public_network_id) cls.create_router_interface(cls.router['id'], cls.subnet['id']) cls.vpnservice = cls.create_vpnservice(cls.subnet['id'], cls.router['id'])