Local Internet Breakout - VPN Exclusion Rules

NiftyMaker
Here to help

Local Internet Breakout - VPN Exclusion Rules

Is there an API call to get/set a networks VPN exclusion rules? I've been searching everywhere I can find, but I cannot seem to locate anything.

I was planning on deploying a longer list of subnets to many locations and it would be much easier if it could be automated.  

3 Replies 3
Marvin_
Here to help

Yes, these calls have been added.

GET https://api.meraki.com/api/v1/organizations/:organizationId/appliance/trafficShaping/vpnExclusions/byNetwork

and

PUT https://api.meraki.com/api/v1/networks/:networkId/appliance/trafficShaping/vpnExclusions

With this body:

{
  "custom": [
    {
      "protocol": "<string>",
      "destination": "<string>",
      "port": "<string>"
    },
    {
      "protocol": "<string>",
      "destination": "<string>",
      "port": "<string>"
    }
  ],
  "majorApplications": [
    {
      "id": "<string>",
      "name": "<string>"
    },
    {
      "id": "<string>",
      "name": "<string>"
    }
  ]
}

 

For some reason I cannot find this call at https://developer.cisco.com/meraki/api-v1/ , only in the postman collection.

 

Greetings,

Marvin

MichaelGrant
Comes here often

So there is no way to GET the vpnExclusions for a single network?

cf27
Comes here often

I am using this: 
'organizations/{}/appliance/trafficShaping/vpnExclusions/byNetwork?networkIds[]=L_12345xx'
Get notified when there are additional replies to this discussion.