Code bigrest.common.restobject.RESTObject) → bigrest.common.restobject.RESTObject

Saves on the device the changes that were made locally to the object.

Sends an HTTP PUT request to the iControl REST API.

Parameters:path – HTTP path used in the HTTP request sent to the device.
RESTAPIError: Raised when iControl REST API returns an error.


virtual = device.load(
    "/mgmt/tm/ltm/virtual/bigrest_vs")[0]["pool"] = "bigrest_pool"


After you load the object from the device, you can edit its properties.
However, the modifications you do are local, so you need to send the modified object to the device.
You do this using the method save, and passing the object to be saved.