{ "id":"/axapi/v3/sflow/polling", "type":"object", "node-type":"scalar", "title":"polling", "partition-visibility":"shared", "auto-created-object":1, "description":"Configure sFlow counter polling on specified source", "properties":{ "eth-list":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "eth-start":{ "type":"number", "format":"interface", "plat-neg-list":["tps"], "partition-visibility":"shared", "description":"Ethernet interface to sample" }, "eth-end":{ "type":"number", "format":"interface", "plat-neg-list":["tps"], "partition-visibility":"shared", "description":"Ethernet interface to sample" } } } ] }, "ve-list":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "ve-start":{ "type":"number", "format":"number", "plat-neg-list":["tps"], "partition-visibility":"shared", "$ref":"/axapi/v3/interface/ve", "description":"VE interface to sample" }, "ve-end":{ "type":"number", "format":"number", "plat-neg-list":["tps"], "partition-visibility":"shared", "$ref":"/axapi/v3/interface/ve", "description":"VE interface to sample" } } } ] }, "cpu-usage":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Polling CPU usage", "optional":true }, "http-counter":{ "type":"number", "format":"flag", "plat-neg-list":["tps"], "default":0, "partition-visibility":"shared", "description":"Polling HTTP counters", "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 }, "http":{ "type":"object", "$ref":"/axapi/v3/sflow/polling/http", "properties":{ "toggle":{ "type":"string", "format":"enum", "default":"disable", "partition-visibility":"shared", "description":"'enable': Enable polling HTTP counters; 'disable': Disable polling HTTP counters; ", "enum":[ "enable", "disable" ] }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object" } } }, "system-health":{ "type":"object", "$ref":"/axapi/v3/sflow/polling/system-health", "properties":{ "system-health-usage":{ "type":"string", "format":"enum", "default":"disable", "partition-visibility":"shared", "description":"'enable': Enable polling system health information; 'disable': Disable polling system health information; ", "enum":[ "enable", "disable" ] }, "per-control-cpu-usage":{ "type":"string", "format":"enum", "default":"disable", "partition-visibility":"shared", "description":"'enable': Enable polling control cpu; 'disable': Disable polling control cpu usage; ", "enum":[ "enable", "disable" ] }, "per-data-cpu-usage":{ "type":"string", "format":"enum", "default":"disable", "partition-visibility":"shared", "description":"'enable': Enable polling data cpu; 'disable': Disable polling data cpu usage; ", "enum":[ "enable", "disable" ] }, "license-statistics":{ "type":"string", "format":"enum", "default":"disable", "partition-visibility":"shared", "description":"'enable': Enable polling license statistics; 'disable': Disable polling license statistics; ", "enum":[ "enable", "disable" ] }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object" } } }, "ddos":{ "type":"object", "$ref":"/axapi/v3/sflow/polling/ddos", "properties":{ "toggle":{ "type":"string", "format":"enum", "default":"disable", "partition-visibility":"shared", "description":"'enable': Enable sflow polling for DDOS statistics; 'disable': Disable sflow polling for DDOS statistics; ", "enum":[ "enable", "disable" ] }, "3_0-compatibility":{ "type":"number", "format":"flag", "plat-neg-list":["chassis-duo"], "default":0, "partition-visibility":"shared", "not":"2_9-compatibility", "description":"Enable DDOS sflow polling 3.0/3.1 compatibility mode" }, "address-byte-order-host":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Export sflow address field in host byte order" }, "2_9-compatibility":{ "type":"number", "format":"flag", "plat-neg-list":["chassis-duo"], "default":0, "partition-visibility":"shared", "not":"3_0-compatibility", "description":"Enable DDOS sflow polling 2.9 compatibility mode" }, "dns-cache-zone-stats":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable polling for dns cache per instance and per zone statistics" }, "enable-anomaly-stats":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable Polling for system wide anomaly statistics" }, "dyn-entry-stats":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable polling for dynamic entry statistics" }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object" } } }, "a10-proprietary":{ "type":"object", "$ref":"/axapi/v3/sflow/polling/a10-proprietary", "properties":{ "export-deprecated-counters":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Export deprecated counters" }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object" } } }, "ethernet-list":{ "type":"array", "minItems":1, "items":{ "type":"ethernet" }, "uniqueItems":true, "$ref":"/axapi/v3/sflow/polling/ethernet/{start}", "array":[ { "properties":{ "start":{ "type":"number", "format":"interface", "partition-visibility":"shared", "description":"Ethernet interface to poll", "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":[ "start" ] } ] }, "ethernet-ext-list":{ "type":"array", "minItems":1, "items":{ "type":"ethernet-ext" }, "uniqueItems":true, "$ref":"/axapi/v3/sflow/polling/ethernet-ext/{start}", "array":[ { "properties":{ "start":{ "type":"number", "format":"interface", "partition-visibility":"shared", "description":"Ethernet interface to poll", "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":[ "start" ] } ] } } }