Remove dns server from juju_epc config 33/51833/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Wed, 7 Feb 2018 07:16:31 +0000 (08:16 +0100)
committerCédric Ollivier <cedric.ollivier@orange.com>
Wed, 7 Feb 2018 07:19:58 +0000 (08:19 +0100)
The dns server shoud be set by the Cloud provider via Neutron configs.
Snaps is currently enforcing 8.8.8.8 as default too.

Change-Id: I3e9a25d8bbfbab4cd1d44e394235b329df86e82e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
functest/ci/config_functest.yaml
functest/opnfv_tests/vnf/epc/juju_epc.py

index 54e8d08..928da8f 100644 (file)
@@ -153,8 +153,6 @@ vnf:
         private_subnet_cidr: 172.16.0.0/24
         private_subnet_name: abot-subnet
         external_router: abot-router
-        dns_nameserver: ['8.8.8.8']
-
     cloudify_ims:
         tenant_name: cloudify_ims
         tenant_description: vIMS
index 4ca540f..c373eee 100644 (file)
@@ -226,13 +226,10 @@ class JujuEpc(vnf.VnfOnBoarding):
             CONST, 'vnf_{}_private_subnet_cidr'.format(self.case_name))
         abot_router = getattr(
             CONST, 'vnf_{}_external_router'.format(self.case_name))
-        dns_nameserver = getattr(
-            CONST, 'vnf_{}_dns_nameserver'.format(self.case_name))
 
         self.__logger.info("Creating full network ...")
         subnet_settings = SubnetConfig(
-            name=private_subnet_name, cidr=private_subnet_cidr,
-            dns_nameservers=dns_nameserver)
+            name=private_subnet_name, cidr=private_subnet_cidr)
         network_settings = NetworkConfig(
             name=private_net_name, subnet_settings=[subnet_settings])
         network_creator = OpenStackNetwork(self.snaps_creds, network_settings)