v1.feature_profile.sd_routing.transport.global_vrf

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

Create a SD-Routing Global VRF Feature for Transport Feature Profile

def post(
    transport_id: str,
    payload: CreateSdroutingTransportGlobalVrfFeaturePostRequest,
) -> CreateSdroutingTransportGlobalVrfFeaturePostResponse: ...

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

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

Edit a SD-Routing Global VRF Feature for Transport Feature Profile

def put(
    transport_id: str,
    vrf_id: str,
    payload: EditSdroutingTransportGlobalVrfFeaturePutRequest,
) -> EditSdroutingTransportGlobalVrfFeaturePutResponse: ...

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

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

Delete a SD-Routing Global 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.global_vrf.delete()

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

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

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

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

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

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