v1.feature_profile.sd_routing.service.vrf

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

Create a SD-Routing VRF Feature for Service Feature Profile

def post(
    service_id: str,
    payload: CreateSdroutingServiceVrfFeaturePostRequest,
) -> CreateSdroutingServiceVrfFeaturePostResponse: ...

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.post()

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

Edit a SD-Routing VRF Feature for Service Feature Profile

def put(
    service_id: str,
    vrf_id: str,
    payload: EditSdroutingServiceVrfFeaturePutRequest,
) -> EditSdroutingServiceVrfFeaturePutResponse: ...

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.put()

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

Delete a SD-Routing VRF Feature for Service Feature Profile

def delete(service_id: str, vrf_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.delete()

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

@overload
def get(service_id: str) -> GetListSdRoutingServiceVrfPayload: ...

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.get()

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

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

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.get()