Add os-odl-fdio-dvr support
[apex.git] / lib / python / apex_python_utils.py
index 063aa00..70fc592 100755 (executable)
@@ -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'] =\