Create traffic rule
POST/aaa/traffic_rules
aaa.traffic_rules.create
The type of the traffic rule defines when the rule will be executed:
_ initial - before the client identification, can be used to
apply processing regardless of the client;
_ after-client - after client has been identified, can be used to
apply processing based on the client;
_ after-rate - after service and rate have been identified, can
be used to apply processing based on the service and its rate;
_ after-routing - during dynamic routing, after list of vendors
for routing has been selected, can be used to apply processing
based on the routing result.
The mode of the traffic rule defines what happens when the rule is applied:
_ allow - once rule is applied, the system will stop looking for
other matching rules and will allow event to pass;
_ allow-continue - once rule is applied, the system will re-iterate
over matching possible rules and apply them in order of priority; * deny - the rule simply denies the event and stops further processing.
Request
Responses
- 200
- 400
- 401
- 404
- 422
- 500
Traffic rule object as has been stored.
The request contains invalid arguments or is malformed
Access is not authorized
Requested object was not found
A logical error occurred, making the request unprocessable
An unexpected error occurred