mdp.attach_devices
Operation: GET /dataservice/mdp/attachDevices/{nmsId}
Retrieve MDP attached devices
def get(nms_id: str) -> List[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.mdp.attach_devices.get()
Operation: PUT /dataservice/mdp/attachDevices/{nmsId}
Edit attached devices
def put(nms_id: str, payload: Any) -> 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.mdp.attach_devices.put()
Operation: POST /dataservice/mdp/attachDevices/{nmsId}
Share devices with MDP
def post(nms_id: str, payload: Any) -> 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.mdp.attach_devices.post()