v1.feature_profile.sd_routing.transport.vrf

Operation: POST /dataservice/v1/feature-profile/sd-routing/transport/{transportId}/vrf

Create a SD-Routing VRF Feature for Transport Feature Profile

def post(
    transport_id: str,
    payload: CreateSdroutingTransportVrfFeaturePostRequest,
) -> CreateSdroutingTransportVrfFeaturePostResponse: ...

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

Operation: PUT /dataservice/v1/feature-profile/sd-routing/transport/{transportId}/vrf/{vrfId}

Edit a SD-Routing VRF Feature for Transport Feature Profile

def put(
    transport_id: str,
    vrf_id: str,
    payload: EditSdroutingTransportVrfFeaturePutRequest,
) -> EditSdroutingTransportVrfFeaturePutResponse: ...

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

Operation: DELETE /dataservice/v1/feature-profile/sd-routing/transport/{transportId}/vrf/{vrfId}

Delete a SD-Routing VRF Feature for Transport Feature Profile

def delete(transport_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.transport.vrf.delete()

Operation: GET /dataservice/v1/feature-profile/sd-routing/transport/{transportId}/vrf

@overload
def get(transport_id: str) -> GetListSdRoutingTransportVrfPayload: ...

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

Operation: GET /dataservice/v1/feature-profile/sd-routing/transport/{transportId}/vrf/{vrfId}

@overload
def get(
    transport_id: str, vrf_id: str
) -> GetSingleSdRoutingTransportVrfPayload: ...

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