{ "id":"/axapi/v3/sflow/collector", "type":"object", "node-type":"intermediate", "title":"collector", "operation-not-allowed": ["PUT", "POST", "DELETE"], "partition-visibility":"shared", "description":"Configure sFlow collector (a.k.a. receiver)", "properties":{ "ip-list":{ "type":"array", "minItems":1, "items":{ "type":"ip" }, "uniqueItems":true, "$ref":"/axapi/v3/sflow/collector/ip/{addr}+{port}", "array":[ { "properties":{ "addr":{ "type":"string", "format":"ipv4-address", "partition-visibility":"shared", "description":"Configure sFlow collector IP address", "optional":false }, "port":{ "type":"number", "format":"number", "minimum":1, "maximum":65535, "default":6343, "partition-visibility":"shared", "description":"Port number (default is 6343)", "optional":false }, "use-mgmt-port":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"sFlow collector is through out-of-band management", "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 }, "customized-setting":{ "type":"object", "$ref":"/axapi/v3/sflow/collector/ip/{addr}+{port}/customized-setting", "properties":{ "export-enable":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'export': Export settings; ", "enum":[ "export" ] }, "packet-sampling":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable packet sampling" }, "counter-polling":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable counter polling" }, "a10-proprietary-polling":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable counters for ACOS control blocks" }, "event-notification":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable event notification" }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object" } } } }, "required":[ "addr", "port" ] } ] }, "custom-list":{ "type":"array", "minItems":1, "items":{ "type":"custom" }, "uniqueItems":true, "$ref":"/axapi/v3/sflow/collector/custom/{name}", "array":[ { "properties":{ "name":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"Configure name of sFlow Receiver", "optional":false }, "ipv4_addr":{ "type":"string", "format":"ipv4-address", "partition-visibility":"shared", "description":"Configure IP address of the sFlow Receiver", "optional":true }, "ipv6_addr":{ "type":"string", "format":"ipv6-address", "partition-visibility":"shared", "description":"Configure IPv6 address of the sFlow Receiver", "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":[ "name" ] } ] }, "ipv6-list":{ "type":"array", "minItems":1, "items":{ "type":"ipv6" }, "uniqueItems":true, "$ref":"/axapi/v3/sflow/collector/ipv6/{addr}+{port}", "array":[ { "properties":{ "addr":{ "type":"string", "format":"ipv6-address", "partition-visibility":"shared", "description":"Configure sFlow collector IPv6 address", "optional":false }, "port":{ "type":"number", "format":"number", "minimum":1, "maximum":65535, "default":6343, "partition-visibility":"shared", "description":"Port number (default is 6343)", "optional":false }, "use-mgmt-port":{ "type":"number", "format":"flag", "plat-neg-list":["chassis-duo"], "default":0, "partition-visibility":"shared", "description":"sFlow collector is through out-of-band management", "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 }, "customized-setting":{ "type":"object", "$ref":"/axapi/v3/sflow/collector/ipv6/{addr}+{port}/customized-setting", "properties":{ "export-enable":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'export': Customizes export settings for collector; ", "enum":[ "export" ] }, "packet-sampling":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable packet sampling" }, "counter-polling":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable counter polling" }, "a10-proprietary-polling":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable counters for ACOS control blocks" }, "event-notification":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable event notification" }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object" } } } }, "required":[ "addr", "port" ] } ] } } }