{ "id":"/axapi/v3/ip/route", "type":"object", "node-type":"intermediate", "title":"route", "operation-not-allowed": ["PUT", "POST", "DELETE"], "partition-visibility":"shared", "description":"Establish static routes", "properties":{ "static":{ "type":"object", "$ref":"/axapi/v3/ip/route/static", "properties":{ "bfd-list":{ "type":"array", "minItems":1, "items":{ "type":"bfd" }, "uniqueItems":true, "$ref":"/axapi/v3/ip/route/static/bfd/{local-ip}+{nexthop-ip}", "array":[ { "properties":{ "local-ip":{ "type":"string", "format":"ipv4-address", "partition-visibility":"shared", "description":"Local IP address", "optional":false }, "nexthop-ip":{ "type":"string", "format":"ipv4-address", "partition-visibility":"shared", "description":"Nexthop IP address", "optional":false }, "template":{ "type":"string", "format":"string", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"Configure tracking template (bind tracking template name)", "optional":true }, "threshold":{ "type":"number", "format":"number", "minimum":1, "maximum":255, "partition-visibility":"shared", "description":"action triggering threshold", "optional":true }, "action":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'down': BFD down; (BFD state)", "enum":[ "down" ], "optional":true }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object", "optional":true } }, "required":[ "local-ip", "nexthop-ip" ] } ] } } }, "source":{ "type":"object", "$ref":"/axapi/v3/ip/route/source", "properties":{ "ve-list":{ "type":"array", "minItems":1, "items":{ "type":"ve" }, "uniqueItems":true, "$ref":"/axapi/v3/ip/route/source/ve/{ve-num}+{nexthop-ip}", "array":[ { "properties":{ "ve-num":{ "type":"number", "format":"number", "minimum":1, "maximum":4094, "partition-visibility":"shared", "optional":false }, "nexthop-ip":{ "type":"string", "format":"ipv4-address", "partition-visibility":"shared", "description":"Nexthop IP address", "optional":false }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object", "optional":true } }, "required":[ "ve-num", "nexthop-ip" ] } ] } } }, "rib-list":{ "type":"array", "minItems":1, "items":{ "type":"rib" }, "uniqueItems":true, "$ref":"/axapi/v3/ip/route/rib/{ip-dest-addr}+{ip-mask}", "array":[ { "properties":{ "ip-dest-addr":{ "type":"string", "format":"ipv4-address", "partition-visibility":"shared", "description":"Destination prefix", "optional":false }, "ip-mask":{ "type":"string", "format":"ipv4-netmask-brief", "partition-visibility":"shared", "description":"Destination prefix mask", "optional":false }, "ip-nexthop-ipv4":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "ip-next-hop":{ "type":"string", "format":"ipv4-address", "partition-visibility":"shared", "description":"Forwarding router's address" }, "distance-nexthop-ip":{ "type":"number", "format":"number", "minimum":1, "maximum":255, "default":1, "partition-visibility":"shared", "description":"Distance value for this route" }, "description-nexthop-ip":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"Description for static route" } } } ] }, "ip-nexthop-lif":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "lif":{ "type":"string", "format":"string", "minLength":1, "maxLength":15, "partition-visibility":"shared", "description":"LIF Interface (Logical tunnel interface name)" }, "description-nexthop-lif":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"Description for static route" } } } ] }, "ip-nexthop-tunnel":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "tunnel":{ "type":"number", "format":"number", "minimum":1, "maximum":128, "partition-visibility":"shared", "description":"Tunnel interface (Tunnel interface number)" }, "ip-next-hop-tunnel":{ "type":"string", "format":"ipv4-address", "partition-visibility":"shared", "description":"Forwarding router's address" }, "distance-nexthop-tunnel":{ "type":"number", "format":"number", "minimum":1, "maximum":255, "default":1, "partition-visibility":"shared", "description":"Distance value for this route" }, "description-nexthop-tunnel":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"Description for static route" } } } ] }, "ip-nexthop-partition":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "partition-name":{ "type":"string", "format":"string", "minLength":1, "maxLength":14, "partition-visibility":"shared", "description":"Name of network partition" }, "vrid-num-in-partition":{ "type":"number", "format":"number", "minimum":0, "maximum":31, "partition-visibility":"shared", "description":"Specify ha VRRP-A vrid" }, "description-nexthop-partition":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"Description for static route" }, "description-partition-vrid":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"Description for static route" } } } ] }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object", "optional":true } }, "required":[ "ip-dest-addr", "ip-mask" ] } ] } } }