summaryrefslogtreecommitdiffstats
path: root/lib/python
diff options
context:
space:
mode:
authorDan Radez <dradez@redhat.com>2017-04-11 16:41:55 -0400
committerDan Radez <dradez@redhat.com>2017-05-15 08:34:29 -0400
commit26817bf3c1ce0d076ddd99d24194a00916f6fe0e (patch)
treee945d112a575023331d74190c922673c2791e37d /lib/python
parent95ee731525170e8dd4df813d5ca7e43b0ba2f4eb (diff)
Removing sdn_l3 and _l2 scenario features
JIRA: APEX-429 Change-Id: Ifb28bb27f8e58ac5b180454719dfb329c3edf000 Signed-off-by: Dan Radez <dradez@redhat.com>
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/apex/deploy_settings.py1
-rwxr-xr-xlib/python/apex_python_utils.py10
2 files changed, 4 insertions, 7 deletions
diff --git a/lib/python/apex/deploy_settings.py b/lib/python/apex/deploy_settings.py
index 48ce340d..1025fcea 100644
--- a/lib/python/apex/deploy_settings.py
+++ b/lib/python/apex/deploy_settings.py
@@ -15,7 +15,6 @@ from .common import utils
REQ_DEPLOY_SETTINGS = ['sdn_controller',
'odl_version',
- 'sdn_l3',
'tacker',
'congress',
'dataplane',
diff --git a/lib/python/apex_python_utils.py b/lib/python/apex_python_utils.py
index 1f49d474..c4c6dfe8 100755
--- a/lib/python/apex_python_utils.py
+++ b/lib/python/apex_python_utils.py
@@ -113,16 +113,14 @@ def build_nic_template(args):
if ds['dataplane'] == 'fdio':
nets['tenant']['nic_mapping'][args.role]['phys_type'] = 'vpp_interface'
- if ds['sdn_l3']:
- nets['external'][0]['nic_mapping'][args.role]['phys_type'] =\
- 'vpp_interface'
+ nets['external'][0]['nic_mapping'][args.role]['phys_type'] =\
+ 'vpp_interface'
if ds.get('performance', {}).get(args.role.title(), {}).get('vpp', {})\
.get('uio-driver'):
nets['tenant']['nic_mapping'][args.role]['uio-driver'] =\
ds['performance'][args.role.title()]['vpp']['uio-driver']
- if ds['sdn_l3']:
- nets['external'][0]['nic_mapping'][args.role]['uio-driver'] =\
- ds['performance'][args.role.title()]['vpp']['uio-driver']
+ nets['external'][0]['nic_mapping'][args.role]['uio-driver'] =\
+ ds['performance'][args.role.title()]['vpp']['uio-driver']
if ds.get('performance', {}).get(args.role.title(), {}).get('vpp', {})\
.get('interface-options'):
nets['tenant']['nic_mapping'][args.role]['interface-options'] =\