Branch: refs/heads/2.1.0
Home:
https://github.com/tribe29/checkmk
Commit: 9549c8eee30d6a3185ae42e2ce3e6e0996bb7b0e
https://github.com/tribe29/checkmk/commit/9549c8eee30d6a3185ae42e2ce3e6e099…
Author: Wontek Hong <wontek.hong(a)tribe29.com>
Date: 2023-01-31 (Tue, 31 Jan 2023)
Changed paths:
A .werks/15209
M cmk/gui/plugins/wato/builtin_attributes.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_host_config.py
Log Message:
-----------
FIX 15209 REST-API host_config: fix host attribute IPv6 address validation
Prior to this werk, the REST API failed with a 500 error if the
user tried to query or create a host with a valid Host- or DNS
name as Ipv6 address.
This restriction also caused an error in the DCD as it is reliant
on the the list all hosts endpoint.
This werk resolves both issues.
Change-Id: I0faf2948f455980335daf98e85cb75554b8cc1e6