device.action.software
Operation: GET /dataservice/device/action/software
Get software images
def get() -> Any: ...
Example:
from catalyswan.core import create_client
url = "example.com"
username = "admin"
password = "password123"
with create_client(
url=url, username=username, password=password
) as client:
client.device.action.software.get()
Operation: POST /dataservice/device/action/software
Create software image URL
def post(payload: Any) -> None: ...
Example:
from catalyswan.core import create_client
url = "example.com"
username = "admin"
password = "password123"
with create_client(
url=url, username=username, password=password
) as client:
client.device.action.software.post()
Operation: PUT /dataservice/device/action/software/{versionId}
Deprecated!!!
Update software image URL
def put(version_id: str, payload: Any) -> None: ...
Example:
from catalyswan.core import create_client
url = "example.com"
username = "admin"
password = "password123"
with create_client(
url=url, username=username, password=password
) as client:
client.device.action.software.put()
Operation: DELETE /dataservice/device/action/software/{versionId}
Delete software image URL
def delete(version_id: str) -> None: ...
Example:
from catalyswan.core import create_client
url = "example.com"
username = "admin"
password = "password123"
with create_client(
url=url, username=username, password=password
) as client:
client.device.action.software.delete()