v1.feature_profile.sdwan.service.routing.bgp

Operation: POST /dataservice/v1/feature-profile/sdwan/service/{serviceId}/routing/bgp

Create a Routing Bgp Profile Parcel for Service feature profile

def post(
    service_id: str,
    payload: CreateRoutingBgpProfileParcelForServicePostRequest,
) -> CreateRoutingBgpProfileParcelForServicePostResponse: ...

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.sdwan.service.routing.bgp.post()

Operation: PUT /dataservice/v1/feature-profile/sdwan/service/{serviceId}/routing/bgp/{bgpId}

Update a Routing Bgp Profile Parcel for Service feature profile

def put(
    service_id: str,
    bgp_id: str,
    payload: EditRoutingBgpProfileParcelForServicePutRequest,
) -> EditRoutingBgpProfileParcelForServicePutResponse: ...

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.sdwan.service.routing.bgp.put()

Operation: DELETE /dataservice/v1/feature-profile/sdwan/service/{serviceId}/routing/bgp/{bgpId}

Delete a Routing Bgp Profile Parcel for Service feature profile

def delete(service_id: str, bgp_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.sdwan.service.routing.bgp.delete()

Operation: GET /dataservice/v1/feature-profile/sdwan/service/{serviceId}/routing/bgp

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

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.sdwan.service.routing.bgp.get()

Operation: GET /dataservice/v1/feature-profile/sdwan/service/{serviceId}/routing/bgp/{bgpId}

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

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.sdwan.service.routing.bgp.get()