v1.feature_profile.sdwan.service.lan.vpn.interface.gre
Operation: POST /dataservice/v1/feature-profile/sdwan/service/{serviceId}/lan/vpn/{vpnId}/interface/gre
Create a LanVpn InterfaceGre for service feature profile
def post(
service_id: str,
vpn_id: str,
payload: CreateLanVpnInterfaceGreForServicePostRequest,
) -> CreateLanVpnInterfaceGreForServicePostResponse: ...
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.lan.vpn.interface.gre.post()
Operation: PUT /dataservice/v1/feature-profile/sdwan/service/{serviceId}/lan/vpn/{vpnId}/interface/gre/{greId}
Update a LanVpn InterfaceGre Feature for service feature profile
def put(
service_id: str,
vpn_id: str,
gre_id: str,
payload: EditLanVpnInterfaceGreForServicePutRequest,
) -> EditLanVpnInterfaceGreForServicePutResponse: ...
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.lan.vpn.interface.gre.put()
Operation: DELETE /dataservice/v1/feature-profile/sdwan/service/{serviceId}/lan/vpn/{vpnId}/interface/gre/{greId}
Delete a LanVpn InterfaceGre for service feature profile
def delete(service_id: str, vpn_id: str, gre_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.lan.vpn.interface.gre.delete()
Operation: GET /dataservice/v1/feature-profile/sdwan/service/{serviceId}/lan/vpn/{vpnId}/interface/gre
@overload
def get(
service_id: str, vpn_id: str
) -> GetListSdwanServiceLanVpnInterfaceGrePayload: ...
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.lan.vpn.interface.gre.get()
Operation: GET /dataservice/v1/feature-profile/sdwan/service/{serviceId}/lan/vpn/{vpnId}/interface/gre/{greId}
@overload
def get(
service_id: str, vpn_id: str, gre_id: str
) -> GetSingleSdwanServiceLanVpnInterfaceGrePayload: ...
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.lan.vpn.interface.gre.get()