v1.feature_profile.sd_routing.service.vrf.interface.ipsec

Operation: POST /dataservice/v1/feature-profile/sd-routing/service/{serviceId}/vrf/{vrfId}/interface/ipsec

Create a SD-Routing Ipsec Interface Feature for Service VRF in Service Feature Profile

def post(
    service_id: str,
    vrf_id: str,
    payload: CreateSdroutingServiceVrfInterfaceIpsecFeatureForServicePostRequest,
) -> CreateSdroutingServiceVrfInterfaceIpsecFeatureForServicePostResponse: ...

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.sd_routing.service.vrf.interface.ipsec.post()

Operation: PUT /dataservice/v1/feature-profile/sd-routing/service/{serviceId}/vrf/{vrfId}/interface/ipsec/{ipsecId}

Edit a SD-Routing Ipsec Interface Feature for Service VRF in Service Feature Profile

def put(
    service_id: str,
    vrf_id: str,
    ipsec_id: str,
    payload: EditSdroutingServiceVrfInterfaceIpsecFeatureForServicePutRequest,
) -> (
    EditSdroutingServiceVrfInterfaceIpsecFeatureForServicePutResponse
): ...

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.sd_routing.service.vrf.interface.ipsec.put()

Operation: DELETE /dataservice/v1/feature-profile/sd-routing/service/{serviceId}/vrf/{vrfId}/interface/ipsec/{ipsecId}

Delete a SD-Routing Ipsec Interface Feature for Service VRF in Service Feature Profile

def delete(service_id: str, vrf_id: str, ipsec_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.sd_routing.service.vrf.interface.ipsec.delete()

Operation: GET /dataservice/v1/feature-profile/sd-routing/service/{serviceId}/vrf/{vrfId}/interface/ipsec

@overload
def get(
    service_id: str, vrf_id: str
) -> GetListSdRoutingServiceVrfLanInterfaceIpsecPayload: ...

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.sd_routing.service.vrf.interface.ipsec.get()

Operation: GET /dataservice/v1/feature-profile/sd-routing/service/{serviceId}/vrf/{vrfId}/interface/ipsec/{ipsecId}

@overload
def get(
    service_id: str, vrf_id: str, ipsec_id: str
) -> GetSingleSdRoutingServiceVrfLanInterfaceIpsecPayload: ...

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.sd_routing.service.vrf.interface.ipsec.get()