From 6bfab6c7e79ed029a9102ff7b7955b0a71f13c6d Mon Sep 17 00:00:00 2001 From: Feng Pan Date: Sun, 6 Aug 2017 21:55:44 -0400 Subject: 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 --- lib/python/apex_python_utils.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/python') 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'] =\ -- cgit 1.2.3-korg