v1.feature_profile.nfvirtual.networks.wan

Operation: POST /dataservice/v1/feature-profile/nfvirtual/networks/{networksId}/wan

Create a WAN Profile Parcel for Networks feature profile

def post(
    networks_id: str, payload: CreateNfvirtualWanParcelPostRequest
) -> CreateNfvirtualWanParcelPostResponse: ...

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.v1.feature_profile.nfvirtual.networks.wan.post()

Operation: GET /dataservice/v1/feature-profile/nfvirtual/networks/{networksId}/wan/{wanId}

Get WAN Profile Parcels for Networks feature profile

def get(
    networks_id: str, wan_id: str
) -> GetSingleNfvirtualNetworksWanPayload: ...

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.v1.feature_profile.nfvirtual.networks.wan.get()

Operation: PUT /dataservice/v1/feature-profile/nfvirtual/networks/{networksId}/wan/{wanId}

Edit a WAN Profile Parcel for networks feature profile

def put(
    networks_id: str,
    wan_id: str,
    payload: EditNfvirtualWanParcelPutRequest,
) -> EditNfvirtualWanParcelPutResponse: ...

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.v1.feature_profile.nfvirtual.networks.wan.put()

Operation: DELETE /dataservice/v1/feature-profile/nfvirtual/networks/{networksId}/wan/{wanId}

Delete a WAN Profile Parcel for Networks feature profile

def delete(networks_id: str, wan_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.v1.feature_profile.nfvirtual.networks.wan.delete()