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