policy-classifier create/update does not accept disjoint set of ports

Bug #1407328 reported by puppet-py
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Group Based Policy
Confirmed
Wishlist
Sumit Naiksatam

Bug Description

policy-classifier create/update does not accept disjoint set of ports either a 'comma-separated' string or "white-space separated" string. Basically if user has to allow a disjoint range of ports, today he will not be able to do it without range but that too it is little obscure..For example: if wants to allow Port 21 and 80, both then he has to do 21-80, cannot do 21,80

test@localhost:~/devstack$ gbp policy-classifier-create test1 --port-range '500,530'
Bad Request (HTTP 400) (Request-ID: req-7296c374-5971-45c0-9bde-52a063091e24)
test@localhost:~/devstack$
test@localhost:~/devstack$ gbp policy-classifier-create test1 --port-range "500 530"
Bad Request (HTTP 400) (Request-ID: req-d3e2f0b9-177c-4c65-bc8a-fdd002a0a7bb)
test@localhost:~/devstack$

affects: group-based-policy-client → group-based-policy
Changed in group-based-policy:
status: New → Confirmed
assignee: nobody → Sumit Naiksatam (snaiksat)
milestone: none → kilo-gbp-1
Changed in group-based-policy:
importance: Undecided → Wishlist
milestone: kilo-gbp-1 → next
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.