Replies: 2 comments 1 reply
-
|
The node name was configured at installation step, and there no way to guarantee that best solution for now is rename your node follow pattern: "^[a-zA-Z][a-zA-Z0-9_]+$" |
Beta Was this translation helpful? Give feedback.
-
|
Was there any reason originally to not allow a dash in the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi All,
Suspect this is something I'm doing wrong so figured I'd try and ask before raising an issue.
When configuring the cluster it allows me to use '-' in the member names. However, when configuring the NetAlias side of the house my "member" parameter gets rejected with the '-'.
Get Cluster:
{ "name": "itLabs", "members": [ "itLabs-libresbc" ], "rtp_start_port": 10000, "rtp_end_port": 60000, "max_calls_per_second": 200, "max_concurrent_calls": 20 }Post for Create NetAlias:
{ "name": "Internet_Zone", "desc": "", "addresses": [ { "member": "itLabs-libresbc", "listen": "10.0.xxx.xxx", "advertise": "x.xx.44.27" } ] }Response from Create NetAlias:
{ "detail": [ { "loc": [ "body", "addresses", 0, "member" ], "msg": "string does not match regex \"^[a-zA-Z][a-zA-Z0-9_]+$\"", "type": "value_error.str.regex", "ctx": { "pattern": "^[a-zA-Z][a-zA-Z0-9_]+$" } } ] }Wondering if I am not allowed to use '-' should this have been rejected earlier or am I using an incorrect parameter for "member".
Beta Was this translation helpful? Give feedback.
All reactions