code: def network_stop(name, **kwargs):
      '''
      Stop a defined virtual network.
  
      :param name: virtual network name
      :param connection: libvirt connection URI, overriding defaults
      :param username: username to connect with, overriding defaults
      :param password: password to connect with, overriding defaults
  
      .. versionadded:: 2019.2.0
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' virt.network_stop default
      '''
      conn = __get_conn(**kwargs)
      try:
          net = conn.networkLookupByName(name)
          return not bool(net.destroy())
      finally:
          conn.close(f network_stop(name, **kwargs):
      '''
      Stop a defined virtual network.
  
      :param name: virtual network name
      :param connection: libvirt connection URI, overriding defaults
      :param username: username to connect with, overriding defaults
      :param password: password to connect with, overriding defaults
  
      .. versionadded:: 2019.2.0
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' virt.network_stop default
      '''
      conn = __get_conn(**kwargs)
      try:
          net = conn.networkLookupByName(name)
          return not bool(net.destroy())
      finally:
          conn.close()
docs: Stop a defined virtual network.
  
      :param name: virtual network name
      :param connection: libvirt connection URI, overriding defaults
      :param username: username to connect with, overriding defaults
      :param password: password to connect with, overriding defaults
  
      .. versionadded:: 2019.2.0
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' virt.network_stop default