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
Request Body - application/json ()
Root Schema : schema
Type: object
configure enum servers
Show Source
  • Read Only: true
    Identifier for the element or sub-element
  • Cache/use additional DNS records included in received Enum (NAPTR) Responses
  • Minimum Value: 0
    Maximum Value: 4294967295
    Timer interval after which an inactive cache entry is removed (seconds)
  • enum-servers
    List of ENUM servers where the first server is the primary, and the rest serve as backups
  • Pattern: ^.*$|^[A-Za-z0-9_][A-Za-z0-9._\-]{0,127}$
    Name of the enum-config to failover to
  • Minimum Value: 0
    Maximum Value: 65535
    Health query interval (seconds). 0 means health query is disabled
  • 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 information in queries
  • Minimum Value: 0
    Maximum Value: 255
    Specifies the length of the ENUM query starting from the most significant bit
  • Minimum Value: 512
    Maximum Value: 65535
    Specifies EDNS0 capability for UDP ENUM responses larger than 512 bytes
  • Minimum Length: 1
    Pattern: ^[A-Za-z0-9_][A-Za-z0-9._\-]{0,127}$
    Enum Config name
  • Optional features/parameters
  • Allowed Values: [ "hunt", "round-robin" ]
  • Pattern: ^[A-Za-z0-9_][A-Za-z0-9._\-]{0,127}$
    Realm in which these enum servers are located
  • Do recursive query if NS record in answer
  • Set RD bit for remote (server) to query recursively
  • Replace Request-URI in forwarded requests
  • 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
  • Minimum Value: 0
    Maximum Value: 4294967295
    Maximum waiting time for a Enum response (seconds)
  • 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: object
Show Source
Back to Top

Response

Supported Media Types

200 Response

return one config element: EnumConfig
Body ()
Root Schema : schema
Type: object
configure enum servers
Show Source
  • Read Only: true
    Identifier for the element or sub-element
  • Cache/use additional DNS records included in received Enum (NAPTR) Responses
  • Minimum Value: 0
    Maximum Value: 4294967295
    Timer interval after which an inactive cache entry is removed (seconds)
  • enum-servers
    List of ENUM servers where the first server is the primary, and the rest serve as backups
  • Pattern: ^.*$|^[A-Za-z0-9_][A-Za-z0-9._\-]{0,127}$
    Name of the enum-config to failover to
  • Minimum Value: 0
    Maximum Value: 65535
    Health query interval (seconds). 0 means health query is disabled
  • 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 information in queries
  • Minimum Value: 0
    Maximum Value: 255
    Specifies the length of the ENUM query starting from the most significant bit
  • Minimum Value: 512
    Maximum Value: 65535
    Specifies EDNS0 capability for UDP ENUM responses larger than 512 bytes
  • Minimum Length: 1
    Pattern: ^[A-Za-z0-9_][A-Za-z0-9._\-]{0,127}$
    Enum Config name
  • Optional features/parameters
  • Allowed Values: [ "hunt", "round-robin" ]
  • Pattern: ^[A-Za-z0-9_][A-Za-z0-9._\-]{0,127}$
    Realm in which these enum servers are located
  • Do recursive query if NS record in answer
  • Set RD bit for remote (server) to query recursively
  • Replace Request-URI in forwarded requests
  • 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
  • Minimum Value: 0
    Maximum Value: 4294967295
    Maximum waiting time for a Enum response (seconds)
  • 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: object
Show Source

404 Response

Not Found
Body ()
Root Schema : ApiValidationError
Type: object
Show Source
Nested Schema : errors
Type: array
Show Source
Nested Schema : Errors
Type: object
Show Source

406 Response

Validation Failure
Body ()
Root Schema : ApiValidationError
Type: object
Show Source
Nested Schema : errors
Type: array
Show Source
Nested Schema : Errors
Type: object
Show Source
Back to Top