diff options
author | Feng Pan <fpan@redhat.com> | 2017-08-06 21:55:44 -0400 |
---|---|---|
committer | Feng Pan <fpan@redhat.com> | 2017-08-11 14:58:29 -0400 |
commit | 6bfab6c7e79ed029a9102ff7b7955b0a71f13c6d (patch) | |
tree | 6c85b73daba19e230c740d68f95db2c654c1171c /lib/python | |
parent | 240fb2eeb9398871e55703f9e62bc7fbb4e01162 (diff) |
Add os-odl-fdio-dvr support
apex-tripleo-heat-templates: I6a83c9e2deeb0df9a3ab09a707c9c64aa84da55e
apex-puppet-tripleo: I2025e3157b97b376b63002003ca17c7206aba546
JIRA: APEX-466
Change-Id: Iedb75994d35b5dc1dd5d5ce1a57277c8f3729dfd
Signed-off-by: Feng Pan <fpan@redhat.com>
Diffstat (limited to 'lib/python')
-rwxr-xr-x | lib/python/apex_python_utils.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/python/apex_python_utils.py b/lib/python/apex_python_utils.py index 063aa003..70fc592d 100755 --- a/lib/python/apex_python_utils.py +++ b/lib/python/apex_python_utils.py @@ -116,6 +116,9 @@ def build_nic_template(args): if ds['sdn_controller'] == 'opendaylight': nets['external'][0]['nic_mapping'][args.role]['phys_type'] =\ 'vpp_interface' + if ds.get('odl_vpp_routing_node') == 'dvr': + nets['admin']['nic_mapping'][args.role]['phys_type'] =\ + 'linux_bridge' if ds.get('performance', {}).get(args.role.title(), {}).get('vpp', {})\ .get('uio-driver'): nets['tenant']['nic_mapping'][args.role]['uio-driver'] =\ |