Retrieving routing/antispoofing information

You can retrieve static or dynamic routing information from an engine.

To retrieve the complete (static/dynamic) routing information from an engine, you can execute the following request:

GET /[version]/elements/[cluster_type]/[cluster_key]/routing/[routing_key]

To retrieve antispoofing information, you can execute the following request:

GET /[version]/elements/[cluster_type]/[cluster_key]/antispoofing/[ antispoofing _key]

For example, for the Helsinki Engine Cluster, you would have the following:
"link":
    [
    …
    {
    "href": "http://localhost:8082/7.1/elements/fw_cluster/1563/routing/887",
    "rel": "routing",
    "type": "routing"
    },
    {
    "href": "http://localhost:8082/7.1/elements/fw_cluster/1563/antispoofing/990",
    "rel": "antispoofing",
    "type": "antispoofing"
    },
    …
],

To access the routing information, you must use the routing link:

GET http://localhost:8082/7.1/elements/fw_cluster/1563/routing/887

The routing link returns a 200 HTTP response status code and the following:
    {
    "href": "http://localhost:8082/7.1/elements/fw_cluster/1563",
    "ip": "10.8.0.21",
    "key": 887,
    "level": "engine_cluster",
    "link":
    [
    {
    "href": "http://localhost:8082/7.1/elements/fw_cluster/1563/routing/887",
    "rel": "self",
    "type": "routing"
    }
    ],
    "name": "Helsinki FW",
    "read_only": false,
    "routing_node":
    [
    {
    "exclude_from_ip_counting": false,
    "href": "http://localhost:8082/7.1/elements/fw_cluster/1563/physical_interface/276",
    "key": 888,
    "level": "interface",
    "name": "Interface 0",
    "nic_id": "0",
    "read_only": false,
    "routing_node":
    [

To access the antispoofing information, you must use the antispoofing link:

GET http://localhost:8082/7.1/elements/fw_cluster/1563/antispoofing/990

The antispoofing link returns a 200 HTTP response status code and the following:
    …
    "auto_generated": "true",
    "href": "http://localhost:8082/7.1/elements/fw_cluster/1563/tunnel_interface/343",
    "key": 1333,
    "level": "interface",
    "name": "Tunnel Interface 1002",
    "nic_id": "1002",
    "read_only": false,
    "system": false,
    "validity": "enable"
    }
    ],
    "auto_generated": "true",
    "href": "http://localhost:8082/7.1/elements/fw_cluster/1563",
    "ip": "10.8.0.21",
    "key": 990,
    "level": "engine_cluster",
    "link":
    [
    {
    "href": "http://localhost:8082/7.1/elements/fw_cluster/1563/antispoofing/990",
    "rel": "self",
    "type": "antispoofing"
    }
    ],
    "name": "Helsinki FW",
    "read_only": false,
    "system": false,
    "valid"
    }