code: def list_dvs(kwargs=None, call=None):
      '''
      List all the distributed virtual switches for this VMware environment
  
      CLI Example:
  
      .. code-block:: bash
  
          salt-cloud -f list_dvs my-vmware-config
      '''
      if call != 'function':
          raise SaltCloudSystemExit(
              'The list_dvs function must be called with '
              '-f or --function.'
          )
  
      return {'Distributed Virtual Switches': salt.utils.vmware.list_dvs(_get_si())f list_dvs(kwargs=None, call=None):
      '''
      List all the distributed virtual switches for this VMware environment
  
      CLI Example:
  
      .. code-block:: bash
  
          salt-cloud -f list_dvs my-vmware-config
      '''
      if call != 'function':
          raise SaltCloudSystemExit(
              'The list_dvs function must be called with '
              '-f or --function.'
          )
  
      return {'Distributed Virtual Switches': salt.utils.vmware.list_dvs(_get_si())}
docs: List all the distributed virtual switches for this VMware environment
  
      CLI Example:
  
      .. code-block:: bash
  
          salt-cloud -f list_dvs my-vmware-config