template.policy.list.ipv6prefix

Operation: GET /dataservice/template/policy/list/ipv6prefix

Get policy lists

def get_policy_lists_18() -> 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.policy.list.ipv6prefix.get_policy_lists_18()

Operation: POST /dataservice/template/policy/list/ipv6prefix

Create policy list

def create_policy_list_20(payload: Optional[Any] = None) -> 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.policy.list.ipv6prefix.create_policy_list_20()

Operation: DELETE /dataservice/template/policy/list/ipv6prefix

Delete policy lists with specific info tag

def delete_policy_lists_with_info_tag_20(
    info_tag: Optional[str] = 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.policy.list.ipv6prefix.delete_policy_lists_with_info_tag_20()

Operation: GET /dataservice/template/policy/list/ipv6prefix/{id}

Get a specific policy list based on the id

def get_lists_by_id_20(id: str) -> 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.policy.list.ipv6prefix.get_lists_by_id_20()

Operation: PUT /dataservice/template/policy/list/ipv6prefix/{id}

Edit policy list entries for a specific type of policy list

def edit_policy_list_20(
    id: str, payload: Optional[Any] = None
) -> 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.policy.list.ipv6prefix.edit_policy_list_20()

Operation: DELETE /dataservice/template/policy/list/ipv6prefix/{id}

Delete policy list entry for a specific type of policy list

def delete_policy_list_20(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.template.policy.list.ipv6prefix.delete_policy_list_20()