]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Replace IP address validation with Python standard library functions 26184/head
authorAshish Singh <assingh@redhat.com>
Tue, 29 Jan 2019 09:33:18 +0000 (15:03 +0530)
committerAshish Singh <assingh@redhat.com>
Tue, 23 Apr 2019 11:50:23 +0000 (17:20 +0530)
commitaeb1c113345241b379ff0809f96b25bf97ddbeb7
treee7d7cce13ed61d8fb31befd52b5116cfebc66d0c
parent7cbbe9aceaee3677443af59c9a62a356b156129f
mgr/dashboard: Replace IP address validation with Python standard library functions

Instead of self-written validation methods to validate IPv4 and IPv6 addresses.
Use Python's standard library functions `ipaddress`.

Signed-off-by: Ashish Singh <assingh@redhat.com>
ceph.spec.in
debian/control
src/pybind/mgr/dashboard/services/rgw_client.py
src/pybind/mgr/dashboard/tests/test_tools.py
src/pybind/mgr/dashboard/tools.py