code: def add_bridge(name, datapath_type=None):
      ''' Add the named bridge to openvswitch '''
      log('Creating bridge {}'.format(name))
      cmd = ["ovs-vsctl", "--", "--may-exist", "add-br", name]
      if datapath_type is not None:
          cmd += ['--', 'set', 'bridge', name,
                  'datapath_type={}'.format(datapath_type)]
      subprocess.check_call(cmdf add_bridge(name, datapath_type=None):
      ''' Add the named bridge to openvswitch '''
      log('Creating bridge {}'.format(name))
      cmd = ["ovs-vsctl", "--", "--may-exist", "add-br", name]
      if datapath_type is not None:
          cmd += ['--', 'set', 'bridge', name,
                  'datapath_type={}'.format(datapath_type)]
      subprocess.check_call(cmd)
docs: Add the named bridge to openvswitch