POST /overlay/set_mapping - Adaptive Applications - BlueCat Gateway - 20.8.1

BlueCat Overlay for Microsoft

Locale
English
Product name
BlueCat Gateway
Version
20.8.1

Set the mapping to the user provided file and returns the updated mapping defition.

Request
GET http://<Gateway_url>/overlay/get_mapping
Authorization: <token>
Content-type: multipart/form-data
file = <JSON file containing the network selection>
Parameters
  • file - the updated mapping JSON file.
Successful response
200 OK
Content-Type: text/json
{
  "dns_view": {
    "example.org": {
      "elected_primary": "PRIMARY - win-server2"
    },
    "example.net": {
      "elected_primary": "PRIMARY - win-server2"
    },
    "example.com": {
      "elected_primary": "PRIMARY - win-server2"
    }
  },
  "dhcp_data": {
    "10.10.10.0/24": {
      "selected_network": "win-server2"
    },
    "192.168.1.0/24": {
      "selected_network": "win-server2"
    },
...
]