Add a new config element: SD.access-control
post
https://cloud-native-SBC-IP/config/v1/sd/access-control
Add a new config element: SD.access-control
Request
There are no request parameters for this operation.
Supported Media Types
- application/json
Root Schema : schema
Type:
object
configure a static or dynamic access control list
Show Source
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
access: string
Allowed Values:
[ "deny", "permit" ]
-
application-protocol(required): string
Allowed Values:
[ "SIP", "H323", "MGCP", "DIAMETER", "NONE" ]
-
average-rate-limit: integer
(int64)
Minimum Value:
0
Maximum Value:100
average data rate based on % of maximum signaling -
deny-period: integer
(int64)
Minimum Value:
0
Maximum Value:4294967295
blocked period in seconds for dynamic denied entries. e.g. 30 -
description: string
access control description
-
destination-address: object
FlowAddress
destination ip address
-
invalid-signal-threshold: integer
(int64)
Minimum Value:
0
Maximum Value:4294967295
acceptable invalid signaling msgs rate within tolerance window. e.g. 30 -
max-endpoints-per-nat: integer
(int64)
Minimum Value:
0
Maximum Value:65535
allowed maximum number of endpoints behind a NAT device -
maximum-signal-threshold: integer
(int64)
Minimum Value:
0
Maximum Value:4294967295
allowed maximum number of signaling msgs within tolerance window. e.g. 1000 -
minimum-reserved-bandwidth: integer
(int64)
Minimum Value:
0
Maximum Value:100
minimum reserved bandwidth based on % of maximum signaling. Only valid when trust-level is high -
nat-invalid-message-threshold: integer
(int64)
Minimum Value:
0
Maximum Value:65535
acceptable number of invalid messages from behind a NAT -
nat-trust-threshold: integer
(int64)
Minimum Value:
0
Maximum Value:65535
number of endpoints behind a NAT that have to be denied. e.g. 30 -
realm-id(required): string
Minimum Length:
1
Pattern:^[A-Za-z0-9_][A-Za-z0-9._\-]{0,127}$
name of realm for access control -
source-address: object
FlowAddress
destination ip address
-
transport-protocol(required): string
Allowed Values:
[ "UDP", "TCP", "SCTP", "ALL" ]
-
trust-level: string
Allowed Values:
[ "none", "low", "medium", "high" ]
-
untrusted-signal-threshold: integer
(int64)
Minimum Value:
0
Maximum Value:4294967295
allowed maximum number of signaling msgs within tolerance window, untrusted. e.g. 1000
Nested Schema : FlowAddress
Type:
object
destination ip address
Show Source
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
ip-address(required): string
Minimum Length:
1
-
ip-port: integer
(int32)
Minimum Value:
0
Maximum Value:65535
Enter a number in the range 0..65535. This will be an optional port number for both IPv4 and IPv6 addresses, (range: 0-65535 for both IPv4 and IPv6), e.g. 5000 -
num-bits: integer
(int64)
Minimum Value:
0
Maximum Value:128
Enter a number in the range 0..128. This will be an optional CIDR prefix for an IPv4 or IPv6 address (range: 0-32 for an IPv4 address) (range: 0-128 for an IPv6 address), e.g. 16(for IPv4) and 64(for IPv6) -
num-port-bits: integer
(int64)
Minimum Value:
0
Maximum Value:16
Enter a number in the range 0..16. This will be an optional CIDR prefix for the port, (range: 0-16 for both IPv4 and IPv6), e.g. 14
Response
Supported Media Types
- application/json
200 Response
return one config element: AccessControl
Root Schema : schema
Type:
object
configure a static or dynamic access control list
Show Source
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
access: string
Allowed Values:
[ "deny", "permit" ]
-
application-protocol(required): string
Allowed Values:
[ "SIP", "H323", "MGCP", "DIAMETER", "NONE" ]
-
average-rate-limit: integer
(int64)
Minimum Value:
0
Maximum Value:100
average data rate based on % of maximum signaling -
deny-period: integer
(int64)
Minimum Value:
0
Maximum Value:4294967295
blocked period in seconds for dynamic denied entries. e.g. 30 -
description: string
access control description
-
destination-address: object
FlowAddress
destination ip address
-
invalid-signal-threshold: integer
(int64)
Minimum Value:
0
Maximum Value:4294967295
acceptable invalid signaling msgs rate within tolerance window. e.g. 30 -
max-endpoints-per-nat: integer
(int64)
Minimum Value:
0
Maximum Value:65535
allowed maximum number of endpoints behind a NAT device -
maximum-signal-threshold: integer
(int64)
Minimum Value:
0
Maximum Value:4294967295
allowed maximum number of signaling msgs within tolerance window. e.g. 1000 -
minimum-reserved-bandwidth: integer
(int64)
Minimum Value:
0
Maximum Value:100
minimum reserved bandwidth based on % of maximum signaling. Only valid when trust-level is high -
nat-invalid-message-threshold: integer
(int64)
Minimum Value:
0
Maximum Value:65535
acceptable number of invalid messages from behind a NAT -
nat-trust-threshold: integer
(int64)
Minimum Value:
0
Maximum Value:65535
number of endpoints behind a NAT that have to be denied. e.g. 30 -
realm-id(required): string
Minimum Length:
1
Pattern:^[A-Za-z0-9_][A-Za-z0-9._\-]{0,127}$
name of realm for access control -
source-address: object
FlowAddress
destination ip address
-
transport-protocol(required): string
Allowed Values:
[ "UDP", "TCP", "SCTP", "ALL" ]
-
trust-level: string
Allowed Values:
[ "none", "low", "medium", "high" ]
-
untrusted-signal-threshold: integer
(int64)
Minimum Value:
0
Maximum Value:4294967295
allowed maximum number of signaling msgs within tolerance window, untrusted. e.g. 1000
Nested Schema : FlowAddress
Type:
object
destination ip address
Show Source
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
ip-address(required): string
Minimum Length:
1
-
ip-port: integer
(int32)
Minimum Value:
0
Maximum Value:65535
Enter a number in the range 0..65535. This will be an optional port number for both IPv4 and IPv6 addresses, (range: 0-65535 for both IPv4 and IPv6), e.g. 5000 -
num-bits: integer
(int64)
Minimum Value:
0
Maximum Value:128
Enter a number in the range 0..128. This will be an optional CIDR prefix for an IPv4 or IPv6 address (range: 0-32 for an IPv4 address) (range: 0-128 for an IPv6 address), e.g. 16(for IPv4) and 64(for IPv6) -
num-port-bits: integer
(int64)
Minimum Value:
0
Maximum Value:16
Enter a number in the range 0..16. This will be an optional CIDR prefix for the port, (range: 0-16 for both IPv4 and IPv6), e.g. 14
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" ]