]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pybind/argparse: blocklist ip validation 51811/head
authorNitzan Mordechai <nmordech@redhat.com>
Tue, 7 Mar 2023 06:36:21 +0000 (06:36 +0000)
committerNitzan Mordechai <nmordech@redhat.com>
Mon, 29 May 2023 12:24:19 +0000 (12:24 +0000)
commit614be1bcd0e6efa04989ec7725fc1b1b57079ba0
tree8d5119f0eab1854fb554dcec3def7af0cf312990
parentee95d55a6b6d0d77f3e73eb805c5acb67c71b794
pybind/argparse: blocklist ip validation

ceph_argparse ip validation needed to be match the msg_type ip validation
adding v1\v2\any leading strings and additional tests

Fixes: https://tracker.ceph.com/issues/58884
Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
(cherry picked from commit c95106423568a660acbe08361d9df908fe188c2d)
src/pybind/ceph_argparse.py
src/test/pybind/test_ceph_argparse.py