Hi @All
API: GET /organizations/{organizationId}/appliance/vpn/statuses
Need to know the different types of reachability states (i.e enum) for MerakiVpnPeer and thirdPartyVpnPeers that we get when we query the above mentioned API.
Currently in Meraki developer hub, under schema definition for reachability the states was not provided, please find the screenshot below,
Thanks in Advance, kindly provide some insights on this!
"merakiVpnPeers": [
{
"networkId": "L_6xxxxxxxxxxxxxxxx2",
"networkName": "myNetworkName",
"reachability": "reachable"
}
This is the output from my test environment. I think it will be "reachable" and "unreachable".
In general, AP states match those in Dashboard documentation for the device/function, as a first step that's where I'd look/search.
See https://documentation.meraki.com/MX/Site-to-site_VPN/VPN_Status_Page and you'll find it matches what @pdeleuw says.
The response has an array of individual peers, an individual peer can only be either reachable or unreachable.
IMO the Dashboard "Some peers are unreachable" simply means there are least two peers with at least one peer in each state, i.e. it's a 'calculated state' from the list of individual peer states.
The API response shows each peer individually. Each peer has a defined state, unreachable or reachable. The API response shows no "summary state" as the dashboard does.