Im trying to write some audit/provision scripts in python - and i cannot seem to find any API call to get/set whether an MX appliance is in Routed mode, or Passthrough/VPN Concentrator mode ? From an audit perspective, this also exposes a bug (?) If VLANs were enabled prior to a network changing from Routed to Passthrough, then the getNetworkVlansEnabled() call returns True. The next logical line of code is to query the VLANs which are supposedly in existence using getNetworkVlans() This call will cause an exception and crash the script. Has anyone else encountered this issue?
... View more