Add a new config element: SD.session-constraints
post
https://cloud-native-SBC-IP/config/v1/sd/session-constraints
Add a new config element: SD.session-constraints
Request
There are no request parameters for this operation.
Supported Media Types
- application/json
Root Schema : schema
Type:
object
configure session constraints
Show Source
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
burst-rate-window: integer
(int64)
Minimum Value:
0
Maximum Value:999999999
burst rate window (seconds) <0-999999999> -
cac-alarm-threshold: integer
(int64)
Minimum Value:
0
Maximum Value:99
CAC utilization threshold (percent). An alarm will be generated when session utilization or burst-rate utilization exceeds this value. -
in-service-period: integer
(int64)
Minimum Value:
0
Maximum Value:999999999
in service period <0-999999999> -
max-burst-rate: integer
(int64)
Minimum Value:
0
Maximum Value:999999999
max burst rate (invites per second) <0-999999999> -
max-inbound-burst-rate: integer
(int64)
Minimum Value:
0
Maximum Value:999999999
max inbound burst rate (invites per second) <0-999999999> -
max-inbound-sessions: integer
(int64)
Minimum Value:
0
Maximum Value:999999999
max inbound sessions allowed <0-999999999> -
max-inbound-sustain-rate: integer
(int64)
Minimum Value:
0
Maximum Value:999999999
max inbound sustained rate (invites per second) <0-999999999> -
max-outbound-burst-rate: integer
(int64)
Minimum Value:
0
Maximum Value:999999999
max outbound burst rate (invites per second) <0-999999999> -
max-outbound-sessions: integer
(int64)
Minimum Value:
0
Maximum Value:999999999
max outbound sessions allowed <0-999999999> -
max-outbound-sustain-rate: integer
(int64)
Minimum Value:
0
Maximum Value:999999999
max outbound sustained rate (invites per second) <0-999999999> -
max-sessions: integer
(int64)
Minimum Value:
0
Maximum Value:999999999
max sessions allowed <0-999999999> -
max-sustain-rate: integer
(int64)
Minimum Value:
0
Maximum Value:999999999
max sustained rate (invites per second) <0-999999999> -
min-asr: integer
(int64)
Minimum Value:
0
Maximum Value:100
minimum asr <0-100>percentage -
min-seizures: integer
(int64)
Minimum Value:
1
Maximum Value:999999999
minimum number of seizures for a no-answer scenario <1-999999999> -
name(required): string
Minimum Length:
1
Pattern:^[A-Za-z0-9_][A-Za-z0-9._\-]{0,127}$
name of the constraint -
rate-constraints: array
rate-constraints
create a rate constraint for a method
-
state: boolean
session constraint is enabled or not <enabled/disabled>
-
sustain-rate-window: integer
(int64)
Minimum Value:
0
Maximum Value:999999999
sustained rate window (seconds) <0-999999999> -
time-to-resume: integer
(int64)
Minimum Value:
0
Maximum Value:999999999
time to resume <0-999999999> -
ttr-no-response: integer
(int64)
Minimum Value:
0
Maximum Value:999999999
no response time to resume <0-999999999>
Nested Schema : rate-constraints
Type:
array
create a rate constraint for a method
Show Source
-
Array of:
object schema
create a rate constraint for a method
Nested Schema : schema
Type:
object
create a rate constraint for a method
Show Source
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
max-inbound-burst-rate: integer
(int64)
Minimum Value:
0
Maximum Value:999999999
max inbound burst rate (methods per rate) -
max-inbound-sustain-rate: integer
(int64)
Minimum Value:
0
Maximum Value:999999999
max inbound sustained rate (methods per rate) -
max-outbound-burst-rate: integer
(int64)
Minimum Value:
0
Maximum Value:999999999
max outbound burst rate (methods per rate) -
max-outbound-sustain-rate: integer
(int64)
Minimum Value:
0
Maximum Value:999999999
max outbound sustained rate (methods per rate) -
method(required): string
Allowed Values:
[ "INVITE", "ACK", "BYE", "CANCEL", "REGISTER", "OPTIONS", "PRACK", "SUBSCRIBE", "NOTIFY", "PUBLISH", "INFO", "REFER", "MESSAGE", "UPDATE" ]
Response
Supported Media Types
- application/json
200 Response
return one config element: SessionConstraints
Root Schema : schema
Type:
object
configure session constraints
Show Source
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
burst-rate-window: integer
(int64)
Minimum Value:
0
Maximum Value:999999999
burst rate window (seconds) <0-999999999> -
cac-alarm-threshold: integer
(int64)
Minimum Value:
0
Maximum Value:99
CAC utilization threshold (percent). An alarm will be generated when session utilization or burst-rate utilization exceeds this value. -
in-service-period: integer
(int64)
Minimum Value:
0
Maximum Value:999999999
in service period <0-999999999> -
max-burst-rate: integer
(int64)
Minimum Value:
0
Maximum Value:999999999
max burst rate (invites per second) <0-999999999> -
max-inbound-burst-rate: integer
(int64)
Minimum Value:
0
Maximum Value:999999999
max inbound burst rate (invites per second) <0-999999999> -
max-inbound-sessions: integer
(int64)
Minimum Value:
0
Maximum Value:999999999
max inbound sessions allowed <0-999999999> -
max-inbound-sustain-rate: integer
(int64)
Minimum Value:
0
Maximum Value:999999999
max inbound sustained rate (invites per second) <0-999999999> -
max-outbound-burst-rate: integer
(int64)
Minimum Value:
0
Maximum Value:999999999
max outbound burst rate (invites per second) <0-999999999> -
max-outbound-sessions: integer
(int64)
Minimum Value:
0
Maximum Value:999999999
max outbound sessions allowed <0-999999999> -
max-outbound-sustain-rate: integer
(int64)
Minimum Value:
0
Maximum Value:999999999
max outbound sustained rate (invites per second) <0-999999999> -
max-sessions: integer
(int64)
Minimum Value:
0
Maximum Value:999999999
max sessions allowed <0-999999999> -
max-sustain-rate: integer
(int64)
Minimum Value:
0
Maximum Value:999999999
max sustained rate (invites per second) <0-999999999> -
min-asr: integer
(int64)
Minimum Value:
0
Maximum Value:100
minimum asr <0-100>percentage -
min-seizures: integer
(int64)
Minimum Value:
1
Maximum Value:999999999
minimum number of seizures for a no-answer scenario <1-999999999> -
name(required): string
Minimum Length:
1
Pattern:^[A-Za-z0-9_][A-Za-z0-9._\-]{0,127}$
name of the constraint -
rate-constraints: array
rate-constraints
create a rate constraint for a method
-
state: boolean
session constraint is enabled or not <enabled/disabled>
-
sustain-rate-window: integer
(int64)
Minimum Value:
0
Maximum Value:999999999
sustained rate window (seconds) <0-999999999> -
time-to-resume: integer
(int64)
Minimum Value:
0
Maximum Value:999999999
time to resume <0-999999999> -
ttr-no-response: integer
(int64)
Minimum Value:
0
Maximum Value:999999999
no response time to resume <0-999999999>
Nested Schema : rate-constraints
Type:
array
create a rate constraint for a method
Show Source
-
Array of:
object schema
create a rate constraint for a method
Nested Schema : schema
Type:
object
create a rate constraint for a method
Show Source
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
max-inbound-burst-rate: integer
(int64)
Minimum Value:
0
Maximum Value:999999999
max inbound burst rate (methods per rate) -
max-inbound-sustain-rate: integer
(int64)
Minimum Value:
0
Maximum Value:999999999
max inbound sustained rate (methods per rate) -
max-outbound-burst-rate: integer
(int64)
Minimum Value:
0
Maximum Value:999999999
max outbound burst rate (methods per rate) -
max-outbound-sustain-rate: integer
(int64)
Minimum Value:
0
Maximum Value:999999999
max outbound sustained rate (methods per rate) -
method(required): string
Allowed Values:
[ "INVITE", "ACK", "BYE", "CANCEL", "REGISTER", "OPTIONS", "PRACK", "SUBSCRIBE", "NOTIFY", "PUBLISH", "INFO", "REFER", "MESSAGE", "UPDATE" ]
404 Response
Not Found
Root Schema : ApiValidationError
Type:
Show Source
object
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
code: string
-
errors: array
errors
-
message: string
-
timestamp: string
Nested Schema : Errors
Type:
Show Source
object
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
attribute: string
-
code: string
-
message: string
-
type: string
Allowed Values:
[ "error", "fatal", "warn" ]
406 Response
Validation Failure
Root Schema : ApiValidationError
Type:
Show Source
object
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
code: string
-
errors: array
errors
-
message: string
-
timestamp: string
Nested Schema : Errors
Type:
Show Source
object
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
attribute: string
-
code: string
-
message: string
-
type: string
Allowed Values:
[ "error", "fatal", "warn" ]