Hi, In the API docs it shows the following: {
"mode": "spoke",
"hubs": [
{
"hubId": "N_4901849",
"useDefaultRoute": true
},
{
"hubId": "N_1892489",
"useDefaultRoute": false
}
],
"subnets": [
{
"localSubnet": "192.168.1.0/24",
"useVpn": true
},
{
"localSubnet": "192.168.128.0/24",
"useVpn": true
}
]
} In the spoke mode you can get which hubs its connected to. Is the "hubId" the networkID of where the hub is located? Or is just a random string that's generated? Also, if the FW is the hub, is there any way to find this ID if its not the networked ID? I'm writing code to stitch up VPN connections and its difficult to associate hub and spoke without some unique identifier. This is what I have when the FW is setup as hub: {
"mode": "hub",
"hubs": [],
"subnets": [
{
"localSubnet": "192.168.128.0/24",
"useVpn": true
},
{
"localSubnet": "137.68.11.0/24",
"useVpn": false
},
{
"localSubnet": "101.11.10.0/24",
"useVpn": true
}
]
}
... View more