This article describes an alternative way to check connectivity information (link information) related to a tenant site other than checking via the CSO UI.
Perform the following steps:
Get the authentication token for the site that needs to be used in POSTMAN to send the GET request. Refer to KB36299 - [CSO] Getting CSO AUTH token using development tools in the browser [juniper.net] .
Get the site UUID by using the following API. Search for the required site to get the UUID.
https://<cso ip> /topology-service/site
<Output snip for a test site "TESTABC">
{ "fq_name": [ "default-domain", "TEST-TENANT", "TESTABC" ], "uuid": "6d29e1d7-a628-4643-b19c-4ccb6dc12412", }
The topology service microservice provides all connectivity and other basic information about the site.
Use a "GET request" on the following API to get the connectivity information. Make use of the site UUID obtained from the above output.
https://<cso ip> /topology-service/site/<site UUID>
<Output snip>
display_name": "TESTABC", "properties": { "property": [ { "name": "site_basic_properties", "value": { "local_breakout": null, "site_type": "on_premise", "cloud_service": "EDGE", "site_address": { "city": null, "country": "US", "street2": null, "state": null, "street": null, "zip_code": null }, "device_redundancy": false, "site_deployment_capabilities": [ "SDWAN" ], "multi_homing_enabled": false, "site_description": null, "on_premise_gateway": false, "site_role": "SPOKE", "device_template": [ { "lan_segment": [], "wan_link_info": [ { "exclusive_for_local_breakout": false, "enable_pppoe": false, "wan_link_type": "Internet", "address_assignment": null, "preferred_breakout_link": false, "wan_link": "WAN_0", "static_ip_assignment": null, "traffic_type": null, "public_ip": null, "cost": 800, "subscribed_bandwidth": 1000, "backup_link": false, "local_breakout_enabled": true, "cost_currency": "USD", "default_link": false, "provider": "ISP1", "used_for_oam": false, "access_type": "Ethernet" } ], "device_name": "TESTABC", "ex_behind_cpe": null }