aboutsummaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests/vnf/ims/orchestra_clearwaterims.py
diff options
context:
space:
mode:
Diffstat (limited to 'functest/opnfv_tests/vnf/ims/orchestra_clearwaterims.py')
-rw-r--r--functest/opnfv_tests/vnf/ims/orchestra_clearwaterims.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/functest/opnfv_tests/vnf/ims/orchestra_clearwaterims.py b/functest/opnfv_tests/vnf/ims/orchestra_clearwaterims.py
index 2d248b2e6..2b458e8c1 100644
--- a/functest/opnfv_tests/vnf/ims/orchestra_clearwaterims.py
+++ b/functest/opnfv_tests/vnf/ims/orchestra_clearwaterims.py
@@ -21,6 +21,7 @@ import yaml
from functest.core import vnf
from functest.opnfv_tests.openstack.snaps import snaps_utils
from functest.utils import config
+from functest.utils import env
from org.openbaton.cli.errors.errors import NfvoException
from org.openbaton.cli.agents.agents import MainAgent
@@ -315,7 +316,8 @@ class ClearwaterImsVnf(vnf.VnfOnBoarding):
"Creating network/subnet/router if they doen't exist yet...")
subnet_settings = SubnetConfig(
name='{}_subnet-{}'.format(self.case_name, self.uuid),
- cidr="192.168.100.0/24")
+ cidr="192.168.100.0/24",
+ dns_nameservers=[env.get('NAMESERVER')])
network_settings = NetworkConfig(
name='{}_net-{}'.format(self.case_name, self.uuid),
subnet_settings=[subnet_settings])