Add a new config element: SD.enum-config
post
https://cloud-native-SBC-IP/config/v1/sd/enum-config
Add a new config element: SD.enum-config
Request
There are no request parameters for this operation.
Supported Media Types
- application/json
Root Schema : schema
Type:
object
configure enum servers
Show Source
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
cache-addl-records: boolean
Cache/use additional DNS records included in received Enum (NAPTR) Responses
-
cacheInactivityTimer: integer
(int64)
Minimum Value:
0
Maximum Value:4294967295
Timer interval after which an inactive cache entry is removed (seconds) -
enum-servers: array
enum-servers
List of ENUM servers where the first server is the primary, and the rest serve as backups
-
failover-to: string
Pattern:
^.*$|^[A-Za-z0-9_][A-Za-z0-9._\-]{0,127}$
Name of the enum-config to failover to -
health-query-interval: integer
(int64)
Minimum Value:
0
Maximum Value:65535
Health query interval (seconds). 0 means health query is disabled -
health-query-number: string
Pattern:
^$|^((\+[0-9.()-]+)|([0-9A-F*#.()-]+))(;.*)?$|^[A-Za-z0-9_][A-Za-z0-9._\-]{0,127}$
Health query phone number. e.g., +7815556789 -
include-source-info: boolean
Include source information in queries
-
lookup-length: integer
(int64)
Minimum Value:
0
Maximum Value:255
Specifies the length of the ENUM query starting from the most significant bit -
max-response-size: integer
(int64)
Minimum Value:
512
Maximum Value:65535
Specifies EDNS0 capability for UDP ENUM responses larger than 512 bytes -
name(required): string
Minimum Length:
1
Pattern:^[A-Za-z0-9_][A-Za-z0-9._\-]{0,127}$
Enum Config name -
options: string
Optional features/parameters
-
query-method: string
Allowed Values:
[ "hunt", "round-robin" ]
-
realm-id: string
Pattern:
^[A-Za-z0-9_][A-Za-z0-9._\-]{0,127}$
Realm in which these enum servers are located -
recursive-query: boolean
Do recursive query if NS record in answer
-
remote-recursion: boolean
Set RD bit for remote (server) to query recursively
-
retarget-requests: boolean
Replace Request-URI in forwarded requests
-
service-type: string
Pattern:
^((E2U\+([A-Za-z0-9:+]){1,32})|(([A-Za-z0-9:]){1,32}\+E2U))?(,((E2U\+([A-Za-z0-9:+]){1,32})|(([A-Za-z0-9:+]{1,32})\+E2U)))*$
List of Enum Service Types. e.g., E2U+sip,sip+E2U,E2U+tel -
timeout: integer
(int64)
Minimum Value:
0
Maximum Value:4294967295
Maximum waiting time for a Enum response (seconds) -
top-level-domain: string
Pattern:
^$|^((([0-1]{0,1}[0-9]{0,1}|2[0-4])[0-9]|25[0-5])[.]){3}(([0-1]{0,1}[0-9]{0,1}|2[0-4])[0-9]|25[0-5])$|^((([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4})|(([0-9a-fA-F]{1,4}:){6}((:[0-9a-fA-F]{1,4})|(((([0-1]{0,1}[0-9]{0,1}|2[0-4])[0-9]|25[0-5])[.]){3}(([0-1]{0,1}[0-9]{0,1}|2[0-4])[0-9]|25[0-5]))))|(([0-9a-fA-F]{1,4}:){5}:((([0-9a-fA-F]{1,4}:)?[0-9a-fA-F]{1,4})|(((([0-1]{0,1}[0-9]{0,1}|2[0-4])[0-9]|25[0-5])[.]){3}(([0-1]{0,1}[0-9]{0,1}|2[0-4])[0-9]|25[0-5]))))|(([0-9a-fA-F]{1,4}:){4}:((([0-9a-fA-F]{1,4}:){0,2}[0-9a-fA-F]{1,4})|(([0-9a-fA-F]{1,4}:)?((([0-1]{0,1}[0-9]{0,1}|2[0-4])[0-9]|25[0-5])[.]){3}(([0-1]{0,1}[0-9]{0,1}|2[0-4])[0-9]|25[0-5]))))|(([0-9a-fA-F]{1,4}:){3}:((([0-9a-fA-F]{1,4}:){0,3}[0-9a-fA-F]{1,4})|(([0-9a-fA-F]{1,4}:){0,2}((([0-1]{0,1}[0-9]{0,1}|2[0-4])[0-9]|25[0-5])[.]){3}(([0-1]{0,1}[0-9]{0,1}|2[0-4])[0-9]|25[0-5]))))|(([0-9a-fA-F]{1,4}:){2}:((([0-9a-fA-F]{1,4}:){0,4}[0-9a-fA-F]{1,4})|(([0-9a-fA-F]{1,4}:){0,3}((([0-1]{0,1}[0-9]{0,1}|2[0-4])[0-9]|25[0-5])[.]){3}(([0-1]{0,1}[0-9]{0,1}|2[0-4])[0-9]|25[0-5]))))|([0-9a-fA-F]{1,4}::((([0-9a-fA-F]{1,4}:){0,5}[0-9a-fA-F]{1,4})|(([0-9a-fA-F]{1,4}:){0,4}((([0-1]{0,1}[0-9]{0,1}|2[0-4])[0-9]|25[0-5])[.]){3}(([0-1]{0,1}[0-9]{0,1}|2[0-4])[0-9]|25[0-5]))))|(::((([0-9a-fA-F]{1,4}:){0,6}[0-9a-fA-F]{1,4})|(([0-9a-fA-F]{1,4}:){0,5}((([0-1]{0,1}[0-9]{0,1}|2[0-4])[0-9]|25[0-5])[.]){3}(([0-1]{0,1}[0-9]{0,1}|2[0-4])[0-9]|25[0-5]))))|(([0-9a-fA-F]{1,4}:){1,7}:)|(::))$|^([A-Za-z0-9]([A-Za-z0-9-]*[A-Za-z0-9]){0,1}[.])*([A-Za-z]([A-Za-z0-9-]*[A-Za-z0-9]){0,1})[.]{0,1}$
Top Level Domain to be used for queries using this enum configuration
Nested Schema : enum-servers
Type:
array
List of ENUM servers where the first server is the primary, and the rest serve as backups
Show Source
Nested Schema : EnumServer
Type:
Show Source
object
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
addr: string
Response
Supported Media Types
- application/json
200 Response
return one config element: EnumConfig
Root Schema : schema
Type:
object
configure enum servers
Show Source
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
cache-addl-records: boolean
Cache/use additional DNS records included in received Enum (NAPTR) Responses
-
cacheInactivityTimer: integer
(int64)
Minimum Value:
0
Maximum Value:4294967295
Timer interval after which an inactive cache entry is removed (seconds) -
enum-servers: array
enum-servers
List of ENUM servers where the first server is the primary, and the rest serve as backups
-
failover-to: string
Pattern:
^.*$|^[A-Za-z0-9_][A-Za-z0-9._\-]{0,127}$
Name of the enum-config to failover to -
health-query-interval: integer
(int64)
Minimum Value:
0
Maximum Value:65535
Health query interval (seconds). 0 means health query is disabled -
health-query-number: string
Pattern:
^$|^((\+[0-9.()-]+)|([0-9A-F*#.()-]+))(;.*)?$|^[A-Za-z0-9_][A-Za-z0-9._\-]{0,127}$
Health query phone number. e.g., +7815556789 -
include-source-info: boolean
Include source information in queries
-
lookup-length: integer
(int64)
Minimum Value:
0
Maximum Value:255
Specifies the length of the ENUM query starting from the most significant bit -
max-response-size: integer
(int64)
Minimum Value:
512
Maximum Value:65535
Specifies EDNS0 capability for UDP ENUM responses larger than 512 bytes -
name(required): string
Minimum Length:
1
Pattern:^[A-Za-z0-9_][A-Za-z0-9._\-]{0,127}$
Enum Config name -
options: string
Optional features/parameters
-
query-method: string
Allowed Values:
[ "hunt", "round-robin" ]
-
realm-id: string
Pattern:
^[A-Za-z0-9_][A-Za-z0-9._\-]{0,127}$
Realm in which these enum servers are located -
recursive-query: boolean
Do recursive query if NS record in answer
-
remote-recursion: boolean
Set RD bit for remote (server) to query recursively
-
retarget-requests: boolean
Replace Request-URI in forwarded requests
-
service-type: string
Pattern:
^((E2U\+([A-Za-z0-9:+]){1,32})|(([A-Za-z0-9:]){1,32}\+E2U))?(,((E2U\+([A-Za-z0-9:+]){1,32})|(([A-Za-z0-9:+]{1,32})\+E2U)))*$
List of Enum Service Types. e.g., E2U+sip,sip+E2U,E2U+tel -
timeout: integer
(int64)
Minimum Value:
0
Maximum Value:4294967295
Maximum waiting time for a Enum response (seconds) -
top-level-domain: string
Pattern:
^$|^((([0-1]{0,1}[0-9]{0,1}|2[0-4])[0-9]|25[0-5])[.]){3}(([0-1]{0,1}[0-9]{0,1}|2[0-4])[0-9]|25[0-5])$|^((([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4})|(([0-9a-fA-F]{1,4}:){6}((:[0-9a-fA-F]{1,4})|(((([0-1]{0,1}[0-9]{0,1}|2[0-4])[0-9]|25[0-5])[.]){3}(([0-1]{0,1}[0-9]{0,1}|2[0-4])[0-9]|25[0-5]))))|(([0-9a-fA-F]{1,4}:){5}:((([0-9a-fA-F]{1,4}:)?[0-9a-fA-F]{1,4})|(((([0-1]{0,1}[0-9]{0,1}|2[0-4])[0-9]|25[0-5])[.]){3}(([0-1]{0,1}[0-9]{0,1}|2[0-4])[0-9]|25[0-5]))))|(([0-9a-fA-F]{1,4}:){4}:((([0-9a-fA-F]{1,4}:){0,2}[0-9a-fA-F]{1,4})|(([0-9a-fA-F]{1,4}:)?((([0-1]{0,1}[0-9]{0,1}|2[0-4])[0-9]|25[0-5])[.]){3}(([0-1]{0,1}[0-9]{0,1}|2[0-4])[0-9]|25[0-5]))))|(([0-9a-fA-F]{1,4}:){3}:((([0-9a-fA-F]{1,4}:){0,3}[0-9a-fA-F]{1,4})|(([0-9a-fA-F]{1,4}:){0,2}((([0-1]{0,1}[0-9]{0,1}|2[0-4])[0-9]|25[0-5])[.]){3}(([0-1]{0,1}[0-9]{0,1}|2[0-4])[0-9]|25[0-5]))))|(([0-9a-fA-F]{1,4}:){2}:((([0-9a-fA-F]{1,4}:){0,4}[0-9a-fA-F]{1,4})|(([0-9a-fA-F]{1,4}:){0,3}((([0-1]{0,1}[0-9]{0,1}|2[0-4])[0-9]|25[0-5])[.]){3}(([0-1]{0,1}[0-9]{0,1}|2[0-4])[0-9]|25[0-5]))))|([0-9a-fA-F]{1,4}::((([0-9a-fA-F]{1,4}:){0,5}[0-9a-fA-F]{1,4})|(([0-9a-fA-F]{1,4}:){0,4}((([0-1]{0,1}[0-9]{0,1}|2[0-4])[0-9]|25[0-5])[.]){3}(([0-1]{0,1}[0-9]{0,1}|2[0-4])[0-9]|25[0-5]))))|(::((([0-9a-fA-F]{1,4}:){0,6}[0-9a-fA-F]{1,4})|(([0-9a-fA-F]{1,4}:){0,5}((([0-1]{0,1}[0-9]{0,1}|2[0-4])[0-9]|25[0-5])[.]){3}(([0-1]{0,1}[0-9]{0,1}|2[0-4])[0-9]|25[0-5]))))|(([0-9a-fA-F]{1,4}:){1,7}:)|(::))$|^([A-Za-z0-9]([A-Za-z0-9-]*[A-Za-z0-9]){0,1}[.])*([A-Za-z]([A-Za-z0-9-]*[A-Za-z0-9]){0,1})[.]{0,1}$
Top Level Domain to be used for queries using this enum configuration
Nested Schema : enum-servers
Type:
array
List of ENUM servers where the first server is the primary, and the rest serve as backups
Show Source
Nested Schema : EnumServer
Type:
Show Source
object
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
addr: string
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" ]