{ "id":"/axapi/v3/flowspec/{name}/filtering-action", "type":"object", "node-type":"scalar", "title":"filtering-action", "partition-visibility":"shared", "description":"Configure Filtering Actions for a Flowspec", "properties":{ "terminal-action":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Evaluation stops after this rule if not set", "optional":true }, "sample-log":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable traffic sampling and logging", "optional":true }, "traffic-rate":{ "type":"number", "format":"number", "minimum":0, "maximum":4294967295, "partition-visibility":"shared", "description":"Type 0x8006 - Apply rate (in Bytes per second) for this class of traffic", "optional":true }, "traffic-marking":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'dscp': IPv4 DSCP; 'ipv6-traffic-class': IPv6 Traffic Class; ", "enum":[ "dscp", "ipv6-traffic-class" ], "optional":true }, "dscp-val":{ "type":"number", "format":"number", "minimum":1, "maximum":63, "partition-visibility":"shared", "description":"Set DSCP value", "optional":true }, "traffic-class":{ "type":"number", "format":"number", "minimum":1, "maximum":128, "partition-visibility":"shared", "description":"Set IPv6 Traffic Class value", "optional":true }, "redirect":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'next-hop-nlri': Type 0x0800 - IP encoded in MP_REACH_NLRI Next-hop network; 'next-hop': Type 0x0800 - Extended community Next-hop (Per v2 dated Feb 2015); 'vrf-route-target': Type 0x8008 - Redirect to VRF Route Target; ", "enum":[ "next-hop-nlri", "next-hop", "vrf-route-target" ], "optional":true }, "next-hop-nlri-type":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'ip': Type 0x0800 - IPv4 Address; 'ipv6': Type 0x0800 - IPv6 Address; ", "enum":[ "ip", "ipv6" ], "optional":true }, "ip-host-nlri":{ "type":"string", "format":"ipv4-address", "partition-visibility":"shared", "description":"IPv4 host address", "optional":true }, "copy-ip-host-nlri":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Copy bit", "optional":true }, "ipv6-host-nlri":{ "type":"string", "format":"ipv6-address", "partition-visibility":"shared", "description":"IPv6 host address", "optional":true }, "copy-ipv6-host-nlri":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Copy bit", "optional":true }, "next-hop-type":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'ip': Type 0x0800 - IPv4 Address; 'ipv6': Type 0x0800 - IPv6 Address; ", "enum":[ "ip", "ipv6" ], "optional":true }, "ip-host":{ "type":"string", "format":"ipv4-address", "partition-visibility":"shared", "description":"IPv4 host address", "optional":true }, "copy-ip-host":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Copy bit", "optional":true }, "ipv6-host":{ "type":"string", "format":"ipv6-address", "partition-visibility":"shared", "description":"IPv6 host address", "optional":true }, "copy-ipv6-host":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Copy bit", "optional":true }, "vrf-target-string":{ "type":"string", "format":"string", "minLength":1, "maxLength":31, "partition-visibility":"shared", "not":"vrf-target-ip", "description":"Type 0x8008(ASN-2:Index), 0x8208(ASN-4:Index) - Route Target AS", "optional":true }, "vrf-target-ip":{ "type":"string", "format":"enum", "partition-visibility":"shared", "not":"vrf-target-string", "description":"'ip': Type 0x8108 - Redirect to route-target IP; ", "enum":[ "ip" ], "optional":true }, "ip-host-rt":{ "type":"string", "format":"ipv4-address", "partition-visibility":"shared", "description":"Type 0x8108 - Route Target IPv4", "optional":true }, "value-ip-host":{ "type":"number", "format":"number", "minimum":1, "maximum":65535, "partition-visibility":"shared", "description":"2-byte decimal value(local-administrator)", "optional":true }, "ecomm-custom-hex":{ "type":"string", "format":"string", "minLength":2, "maxLength":48, "partition-visibility":"shared", "description":"Custom Extended Community in Hex", "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 } } }