v1.feature_profile.sd_routing.transport.routing.ospf

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

Create a SD-Routing WAN OSPF Feature for Transport Feature Profile

def post(
    transport_id: str,
    payload: CreateSdroutingTransportRoutingOspfFeaturePostRequest,
) -> CreateSdroutingTransportRoutingOspfFeaturePostResponse: ...

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

Operation: PUT /dataservice/v1/feature-profile/sd-routing/transport/{transportId}/routing/ospf/{ospfId}

Edit a SD-Routing WAN OSPF Feature for Transport Feature Profile

def put(
    transport_id: str,
    ospf_id: str,
    payload: EditSdroutingTransportRoutingOspfFeaturePutRequest,
) -> EditSdroutingTransportRoutingOspfFeaturePutResponse: ...

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

Operation: DELETE /dataservice/v1/feature-profile/sd-routing/transport/{transportId}/routing/ospf/{ospfId}

Delete a SD-Routing WAN OSPF Feature for Transport Feature Profile

def delete(transport_id: str, ospf_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.routing.ospf.delete()

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

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

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

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

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

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