Working with Interface Mappings

The Interface mapping defines how devices are connected. The Interface Mapping APIs allow you to retrieve information about which zones and IP addresses are connected to an interface, and modify the zone mapping if required. For example, you could generate a list of all network zones that were manually excluded from an interface.

You can create a mutation to modify the interface mapping, for example you could add, update, or delete the mapping of SecureTrack network zones to a device.

Interface Mapping API Example

SecureTrack Network Zone IDs Connected to the Interface

The following query generates a list of interfaces and the name of SecureTrack Network Zones that are automatically mapped to each interface.

{
  interfaces {
    values {
      name
      autoMappingRouteableZones{
        name
      }
    }
  }  
}

Output

{
  "data": {
    "interfaces": {
      "values": [
        {
          "name": "Eathernet0/1",
          "autoMappingRouteableZones": [
            {
              "name": "Zone 1"
            },
			{
              "name": "Zone 2"			
			}
          ]
        }
      ]
    }
  }
}