v1.feature_profile.sd_routing.service.routing.ospf

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

Create a SD-Routing LAN OSPF Feature for service VRF in Service Feature Profile

def post(
    service_id: str,
    payload: CreateSdroutingServiceVrfOspfFeaturePostRequest,
) -> CreateSdroutingServiceVrfOspfFeaturePostResponse: ...

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

Operation: PUT /dataservice/v1/feature-profile/sd-routing/service/{serviceId}/routing/ospf/{ospfId}

Edit a SD-Routing LAN OSPF Feature for service VRF in Service Feature Profile

def put(
    service_id: str,
    ospf_id: str,
    payload: EditSdroutingServiceVrfOspfFeaturePutRequest,
) -> EditSdroutingServiceVrfOspfFeaturePutResponse: ...

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

Operation: DELETE /dataservice/v1/feature-profile/sd-routing/service/{serviceId}/routing/ospf/{ospfId}

Delete a SD-Routing LAN OSPF Feature for service VRF in Service Feature Profile

def delete(service_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.service.routing.ospf.delete()

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

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

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

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

@overload
def get(
    service_id: str, ospf_id: str
) -> GetSingleSdRoutingServiceRoutingOspfPayload: ...

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