code: def _get_xml_rpc():
      '''
      Uses the OpenNebula cloud provider configurations to connect to the
      OpenNebula API.
  
      Returns the server connection created as well as the user and password
      values from the cloud provider config file used to make the connection.
      '''
      vm_ = get_configured_provider()
  
      xml_rpc = config.get_cloud_config_value(
          'xml_rpc', vm_, __opts__, search_global=False
      )
  
      user = config.get_cloud_config_value(
          'user', vm_, __opts__, search_global=False
      )
  
      password = config.get_cloud_config_value(
          'password', vm_, __opts__, search_global=False
      )
  
      server = salt.ext.six.moves.xmlrpc_client.ServerProxy(xml_rpc)
  
      return server, user, passworf _get_xml_rpc():
      '''
      Uses the OpenNebula cloud provider configurations to connect to the
      OpenNebula API.
  
      Returns the server connection created as well as the user and password
      values from the cloud provider config file used to make the connection.
      '''
      vm_ = get_configured_provider()
  
      xml_rpc = config.get_cloud_config_value(
          'xml_rpc', vm_, __opts__, search_global=False
      )
  
      user = config.get_cloud_config_value(
          'user', vm_, __opts__, search_global=False
      )
  
      password = config.get_cloud_config_value(
          'password', vm_, __opts__, search_global=False
      )
  
      server = salt.ext.six.moves.xmlrpc_client.ServerProxy(xml_rpc)
  
      return server, user, password
docs: Uses the OpenNebula cloud provider configurations to connect to the
      OpenNebula API.
  
      Returns the server connection created as well as the user and password
      values from the cloud provider config file used to make the connection.