{ "id":"/axapi/v3/netflow/monitor/{name}", "type":"object", "node-type":"list", "title":"monitor", "description":"Configure NetFlow Monitor", "properties":{ "name":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "description":"Name of netflow monitor", "optional":false }, "disable":{ "type":"number", "format":"flag", "default":0, "description":"Disable this netflow monitor", "optional":true }, "source-ip-use-mgmt":{ "type":"number", "format":"flag", "default":0, "description":"Use management interface's IP address for source ip of netflow packets", "optional":true }, "flow-timeout":{ "type":"number", "format":"number", "minimum":0, "maximum":1440, "default":10, "description":"Configure timeout value to export flow records periodically for long-live session ( Number of minutes: default is 10, 0 means only send flow record when session is deleted)", "optional":true }, "counter-polling-interval":{ "type":"number", "format":"number", "minimum":1, "maximum":3600, "default":60, "description":"Configure the interval to export global counters (Number of seconds: default is 60)", "optional":true }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "modify-not-allowed":1, "description":"uuid of the object", "optional":true }, "user-tag":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "description":"Customized tag", "optional":true }, "protocol":{ "type":"object", "$ref":"/axapi/v3/netflow/monitor/{name}/protocol", "properties":{ "version":{ "type":"string", "format":"enum", "default":"v9", "description":"'v9': Netflow version 9; 'v10': Netflow version 10 (IPFIX); ", "enum":[ "v9", "v10" ] }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "modify-not-allowed":1, "description":"uuid of the object" } } }, "record":{ "type":"object", "$ref":"/axapi/v3/netflow/monitor/{name}/record", "properties":{ "netflow-v5":{ "type":"number", "format":"flag", "default":0, "description":"NetFlow V5 Flow Record Template" }, "netflow-v5-ext":{ "type":"number", "format":"flag", "default":0, "description":"Extended NetFlow V5 Flow Record Template, supports ipv6" }, "ddos-general-stat":{ "type":"number", "format":"flag", "default":0, "description":"General DDOS statistics" }, "ddos-http-stat":{ "type":"number", "format":"flag", "default":0, "description":"HTTP DDOS statistics" }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "modify-not-allowed":1, "description":"uuid of the object" } } }, "destination":{ "type":"object", "$ref":"/axapi/v3/netflow/monitor/{name}/destination", "properties":{ "ip-cfg":{ "type":"object", "properties":{ "ip":{ "type":"string", "format":"ipv4-address", "not":"ipv6", "description":"IP address of netflow collector" }, "port4":{ "type":"number", "format":"number", "minimum":1, "maximum":65535, "default":9996, "description":"Port number, default is 9996" } } }, "ipv6-cfg":{ "type":"object", "properties":{ "ipv6":{ "type":"string", "format":"ipv6-address", "not":"ip", "description":"IPv6 address of netflow collector" }, "port6":{ "type":"number", "format":"number", "minimum":1, "maximum":65535, "default":9996, "description":"Port number, default is 9996" } } }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "modify-not-allowed":1, "description":"uuid of the object" } } }, "source-address":{ "type":"object", "$ref":"/axapi/v3/netflow/monitor/{name}/source-address", "properties":{ "ip":{ "type":"string", "format":"ipv4-address", "description":"Specify source IP address" }, "ipv6":{ "type":"string", "format":"ipv6-address", "description":"Specify source IPv6 address" }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "modify-not-allowed":1, "description":"uuid of the object" } } }, "resend-template":{ "type":"object", "$ref":"/axapi/v3/netflow/monitor/{name}/resend-template", "properties":{ "timeout":{ "type":"number", "format":"number", "minimum":0, "maximum":86400, "default":1800, "description":"To set time interval to resend template (number of seconds: default is 1800, 0 means never resend template)" }, "records":{ "type":"number", "format":"number", "minimum":0, "maximum":1000000, "default":1000, "description":"To resend template once for each number of records (Number of records: default is 1000, 0 means never resend template)" }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "modify-not-allowed":1, "description":"uuid of the object" } } }, "sample":{ "type":"object", "$ref":"/axapi/v3/netflow/monitor/{name}/sample", "properties":{ "ethernet-list":{ "type":"array", "minItems":1, "items":{ "type":"ethernet" }, "uniqueItems":true, "$ref":"/axapi/v3/netflow/monitor/{name}/sample/ethernet/{ifindex}", "array":[ { "properties":{ "ifindex":{ "type":"number", "format":"interface", "minimum":1, "maximum":131, "description":"Ethernet interface number", "optional":false }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "modify-not-allowed":1, "description":"uuid of the object", "optional":true } }, "required":[ "ifindex" ] } ] }, "ve-list":{ "type":"array", "minItems":1, "items":{ "type":"ve" }, "uniqueItems":true, "$ref":"/axapi/v3/netflow/monitor/{name}/sample/ve/{ve-num}", "array":[ { "properties":{ "ve-num":{ "type":"number", "format":"number", "minimum":2, "maximum":4094, "$ref":"/axapi/v3/interface/ve", "description":"VE interface number", "optional":false }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "modify-not-allowed":1, "description":"uuid of the object", "optional":true } }, "required":[ "ve-num" ] } ] } } } }, "object-keys":[ "name" ], "required":[ "name" ] }