]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pybind/argparse: blocklist ip validation 51812/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:26:40 +0000 (12:26 +0000)
commit66383d8e5331a5eb633d8b189c6cc7f916a3ae71
tree47ea6fea297f46d5cc7807eae37e27dc17e0855f
parentd8c5d34975dce1c5eb0aa3a7979a4d9b9a99d1ec
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