RPC Client — VMware Salt API

RPC Client — VMware Salt API

RPC Client

The programmatic RPC clients in the sseapiclient module work with Python version 2.7 and Python version 3.5 or later. The clients connect to SSE via HTTP or HTTPS and authenticate. Using the RPC client has the advantage of being somewhat easier to use than the HTTP bridge.

The samples in this guide assume:

  • client = APIClient(<addr>, <user>, <pwd>)
  • Default state-based install of eAPI
  • SSL enabled
  • sseapiclient imported. Example:
from sseapiclient import APIClient