v1.feature_profile.sdwan.service.lan.vpn.interface.ethernet

Operation: POST /dataservice/v1/feature-profile/sdwan/service/{serviceId}/lan/vpn/{vpnId}/interface/ethernet

Create a LanVpn InterfaceEthernet parcel for service feature profile

def post(
    service_id: str,
    vpn_id: str,
    payload: CreateLanVpnInterfaceEthernetParcelForServicePostRequest,
) -> CreateLanVpnInterfaceEthernetParcelForServicePostResponse: ...

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.sdwan.service.lan.vpn.interface.ethernet.post()

Operation: PUT /dataservice/v1/feature-profile/sdwan/service/{serviceId}/lan/vpn/{vpnId}/interface/ethernet/{ethernetId}

Update a LanVpn InterfaceEthernet Parcel for service feature profile

def put(
    service_id: str,
    vpn_id: str,
    ethernet_id: str,
    payload: EditLanVpnInterfaceEthernetParcelForServicePutRequest,
) -> EditLanVpnInterfaceEthernetParcelForServicePutResponse: ...

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.sdwan.service.lan.vpn.interface.ethernet.put()

Operation: DELETE /dataservice/v1/feature-profile/sdwan/service/{serviceId}/lan/vpn/{vpnId}/interface/ethernet/{ethernetId}

Delete a LanVpn InterfaceEthernet Parcel for service feature profile

def delete(
    service_id: str, vpn_id: str, ethernet_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.sdwan.service.lan.vpn.interface.ethernet.delete()

Operation: GET /dataservice/v1/feature-profile/sdwan/service/{serviceId}/lan/vpn/{vpnId}/interface/ethernet

@overload
def get(
    service_id: str, vpn_id: str
) -> GetListSdwanServiceLanVpnInterfaceEthernetPayload: ...

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.sdwan.service.lan.vpn.interface.ethernet.get()

Operation: GET /dataservice/v1/feature-profile/sdwan/service/{serviceId}/lan/vpn/{vpnId}/interface/ethernet/{ethernetId}

@overload
def get(
    service_id: str, vpn_id: str, ethernet_id: str
) -> GetSingleSdwanServiceLanVpnInterfaceEthernetPayload: ...

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.sdwan.service.lan.vpn.interface.ethernet.get()