template.device.migration
Operation: GET /dataservice/template/device/migration
Generate a list of templates which require migration<br><br><br>Note: In a multitenant vManage system, this API is only available in the Provider view.
def get(has_aaa: Optional[bool] = None) -> 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.template.device.migration.get()
Operation: POST /dataservice/template/device/migration
Migrate the device templates given the template Ids
def post(
id: List[str],
prefix: Optional[str] = "cisco",
include_all: Optional[bool] = True,
) -> 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.template.device.migration.post()