{ "id":"/axapi/v3/scaleout/cluster/{cluster-id}/local-device", "type":"object", "node-type":"scalar", "title":"local-device", "partition-visibility":"shared", "description":"Local device configuration", "properties":{ "priority":{ "type":"number", "format":"number", "minimum":1, "maximum":255, "partition-visibility":"shared", "optional":true }, "id":{ "type":"number", "format":"number", "minimum":1, "maximum":16, "partition-visibility":"shared", "modify-not-allowed":1, "optional":true }, "action":{ "type":"string", "format":"enum", "default":"enable", "partition-visibility":"shared", "description":"'enable': enable; 'disable': disable; ", "enum":[ "enable", "disable" ], "optional":true }, "start-delay":{ "type":"number", "format":"number", "minimum":10, "maximum":300, "partition-visibility":"shared", "optional":true }, "cluster-mode":{ "type":"string", "format":"enum", "default":"layer-2", "partition-visibility":"shared", "description":"'layer-2': Nodes in cluster are layer 2 connected (default mode); 'layer-3': Nodes in cluster are l3 connected; ", "enum":[ "layer-2", "layer-3" ], "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 }, "l2-redirect":{ "type":"object", "$ref":"/axapi/v3/scaleout/cluster/{cluster-id}/local-device/l2-redirect", "properties":{ "redirect-eth":{ "type":"number", "format":"interface", "partition-visibility":"shared", "not":"redirect-trunk", "description":"Ethernet port (Port Value)" }, "ethernet-vlan":{ "type":"number", "format":"number", "minimum":2, "maximum":4094, "partition-visibility":"shared", "description":"VLAN ID" }, "redirect-trunk":{ "type":"number", "format":"number", "minimum":1, "maximum":4096, "partition-visibility":"shared", "not":"redirect-eth", "description":"L2 Trunk group" }, "trunk-vlan":{ "type":"number", "format":"number", "minimum":2, "maximum":4094, "partition-visibility":"shared", "description":"VLAN ID" }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object" } } }, "traffic-redirection":{ "type":"object", "$ref":"/axapi/v3/scaleout/cluster/{cluster-id}/local-device/traffic-redirection", "properties":{ "follow-shared":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"private", "description":"Follow shared partition for redirection" }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object" }, "interfaces":{ "type":"object", "$ref":"/axapi/v3/scaleout/cluster/{cluster-id}/local-device/traffic-redirection/interfaces", "properties":{ "eth-cfg":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "ethernet":{ "type":"number", "format":"interface", "partition-visibility":"shared", "description":"Ethernet Interface (Ethernet interface number)" } } } ] }, "trunk-cfg":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "trunk":{ "type":"number", "format":"number", "minimum":1, "maximum":4096, "partition-visibility":"shared", "description":"Trunk Interface (Trunk interface number)" } } } ] }, "ve-cfg":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "ve":{ "type":"number", "format":"number", "minimum":2, "maximum":4094, "partition-visibility":"shared", "description":"Virtual ethernet Interface (Virtual ethernet interface number)" } } } ] }, "loopback-cfg":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "loopback":{ "type":"number", "format":"number", "minimum":0, "maximum":10, "partition-visibility":"shared", "description":"Loopback Interface (Loopback interface number)" } } } ] }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object" } } }, "reachability-options":{ "type":"object", "$ref":"/axapi/v3/scaleout/cluster/{cluster-id}/local-device/traffic-redirection/reachability-options", "properties":{ "skip-default-route":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Do not choose default route for redirection" }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object" } } } } }, "session-sync":{ "type":"object", "$ref":"/axapi/v3/scaleout/cluster/{cluster-id}/local-device/session-sync", "properties":{ "follow-shared":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"private", "description":"Follow shared partition for session sync" }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object" }, "interfaces":{ "type":"object", "$ref":"/axapi/v3/scaleout/cluster/{cluster-id}/local-device/session-sync/interfaces", "properties":{ "eth-cfg":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "ethernet":{ "type":"number", "format":"interface", "partition-visibility":"shared", "description":"Ethernet Interface (Ethernet interface number)" } } } ] }, "trunk-cfg":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "trunk":{ "type":"number", "format":"number", "minimum":1, "maximum":4096, "partition-visibility":"shared", "description":"Trunk Interface (Trunk interface number)" } } } ] }, "ve-cfg":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "ve":{ "type":"number", "format":"number", "minimum":2, "maximum":4094, "partition-visibility":"shared", "description":"Virtual ethernet Interface (Virtual ethernet interface number)" } } } ] }, "loopback-cfg":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "loopback":{ "type":"number", "format":"number", "minimum":0, "maximum":10, "partition-visibility":"shared", "description":"Loopback Interface(Not applicable in 'layer-2' mode) (Loopback interface number)" } } } ] }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object" } } }, "reachability-options":{ "type":"object", "$ref":"/axapi/v3/scaleout/cluster/{cluster-id}/local-device/session-sync/reachability-options", "properties":{ "skip-default-route":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Do not choose default route for redirection(Not applicable in 'layer-2' mode)" }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object" } } } } }, "exclude-interfaces":{ "type":"object", "$ref":"/axapi/v3/scaleout/cluster/{cluster-id}/local-device/exclude-interfaces", "properties":{ "eth-cfg":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "ethernet":{ "type":"number", "format":"interface", "partition-visibility":"shared", "description":"Ethernet Interface (Ethernet interface number)" } } } ] }, "trunk-cfg":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "trunk":{ "type":"number", "format":"number", "minimum":1, "maximum":4096, "partition-visibility":"shared", "description":"Trunk Interface (Trunk interface number)" } } } ] }, "ve-cfg":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "ve":{ "type":"number", "format":"number", "minimum":2, "maximum":4094, "partition-visibility":"shared", "description":"Virtual ethernet Interface (Virtual ethernet interface number)" } } } ] }, "loopback-cfg":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "loopback":{ "type":"number", "format":"number", "minimum":0, "maximum":10, "partition-visibility":"shared", "description":"Loopback Interface (Loopback interface number)" } } } ] }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object" } } }, "tracking-template":{ "type":"object", "$ref":"/axapi/v3/scaleout/cluster/{cluster-id}/local-device/tracking-template", "properties":{ "template-list":{ "type":"array", "minItems":1, "items":{ "type":"template" }, "uniqueItems":true, "$ref":"/axapi/v3/scaleout/cluster/{cluster-id}/local-device/tracking-template/template/{template}", "array":[ { "properties":{ "template":{ "type":"string", "format":"string", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"bind tracking template name", "optional":false }, "threshold-cfg":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "threshold":{ "type":"number", "format":"number", "minimum":1, "maximum":65535, "partition-visibility":"shared", "description":"action triggering threshold" }, "action":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'down': node stops processing user traffic; 'exit-cluster': node exits scaleout cluster; ", "enum":[ "down", "exit-cluster" ] } } } ] }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object", "optional":true }, "user-tag":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "partition-visibility":"shared", "description":"Customized tag", "optional":true } }, "required":[ "template" ] } ] }, "multi-template-list":{ "type":"array", "minItems":1, "items":{ "type":"multi-template" }, "uniqueItems":true, "$ref":"/axapi/v3/scaleout/cluster/{cluster-id}/local-device/tracking-template/multi-template/{multi-template}", "array":[ { "properties":{ "multi-template":{ "type":"string", "format":"string", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"bind multi tracking template name", "optional":false }, "template":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "template-name":{ "type":"string", "format":"string", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"bind tracking template name" }, "partition-name":{ "type":"string", "format":"string", "minLength":1, "maxLength":14, "partition-visibility":"shared", "$ref":"/axapi/v3/partition", "description":"Partition name" } } } ] }, "threshold":{ "type":"number", "format":"number", "minimum":1, "maximum":65535, "partition-visibility":"shared", "description":"action triggering threshold", "optional":true }, "action":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'down': node stops processing user traffic; 'exit-cluster': node exits scaleout cluster; ", "enum":[ "down", "exit-cluster" ], "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 }, "user-tag":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "partition-visibility":"shared", "description":"Customized tag", "optional":true } }, "required":[ "multi-template" ] } ] } } } } }