v1.feature_profile.sd_routing.system.snmp

Operation: POST /dataservice/v1/feature-profile/sd-routing/system/{systemId}/snmp

Create a SD-Routing SNMP Feature for System Feature Profile

def post(
    system_id: str, payload: CreateSdroutingSnmpFeaturePostRequest
) -> CreateSdroutingSnmpFeaturePostResponse: ...

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

Operation: PUT /dataservice/v1/feature-profile/sd-routing/system/{systemId}/snmp/{snmpId}

Edit a SD-Routing SNMP Feature for System Feature Profile

def put(
    system_id: str,
    snmp_id: str,
    payload: EditSdroutingSnmpFeaturePutRequest,
) -> EditSdroutingSnmpFeaturePutResponse: ...

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

Operation: DELETE /dataservice/v1/feature-profile/sd-routing/system/{systemId}/snmp/{snmpId}

Delete a SD-Routing SNMP Feature for System Feature Profile

def delete(system_id: str, snmp_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.system.snmp.delete()

Operation: GET /dataservice/v1/feature-profile/sd-routing/system/{systemId}/snmp

@overload
def get(
    system_id: str,
) -> GetListSdRoutingSystemSnmpSdRoutingPayload: ...

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

Operation: GET /dataservice/v1/feature-profile/sd-routing/system/{systemId}/snmp/{snmpId}

@overload
def get(
    system_id: str, snmp_id: str
) -> GetSingleSdRoutingSystemSnmpSdRoutingPayload: ...

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