code: def bridge_to_vlan(br):
      '''
      Returns the VLAN ID of a bridge.
  
      Args:
          br: A string - bridge name
  
      Returns:
          VLAN ID of the bridge. The VLAN ID is 0 if the bridge is not a fake
          bridge.  If the bridge does not exist, False is returned.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' openvswitch.bridge_to_parent br0
      '''
      cmd = 'ovs-vsctl br-to-vlan {0}'.format(br)
      result = __salt__['cmd.run_all'](cmd)
      if result['retcode'] != 0:
          return False
      return int(result['stdout']f bridge_to_vlan(br):
      '''
      Returns the VLAN ID of a bridge.
  
      Args:
          br: A string - bridge name
  
      Returns:
          VLAN ID of the bridge. The VLAN ID is 0 if the bridge is not a fake
          bridge.  If the bridge does not exist, False is returned.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' openvswitch.bridge_to_parent br0
      '''
      cmd = 'ovs-vsctl br-to-vlan {0}'.format(br)
      result = __salt__['cmd.run_all'](cmd)
      if result['retcode'] != 0:
          return False
      return int(result['stdout'])
docs: Returns the VLAN ID of a bridge.
  
      Args:
          br: A string - bridge name
  
      Returns:
          VLAN ID of the bridge. The VLAN ID is 0 if the bridge is not a fake
          bridge.  If the bridge does not exist, False is returned.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' openvswitch.bridge_to_parent br0