To summarize, you would like to be able to do something like:
openstack loadbalancer l7policy create --action REDIRECT_PREFIX --redirect-prefix /api/v2 --name l7p1 listener1 openstack loadbalancer l7rule create --compare-type STARTS_WITH --type PATH --value /api/v2 --invert l7p1
Right now --redirect-prefix /api/v2 is rejected because it doesn't contain a scheme or an hostname
Let's discuss it with the team, I don't know if there's a reason to not allow it.
To summarize, you would like to be able to do something like:
openstack loadbalancer l7policy create --action REDIRECT_PREFIX --redirect-prefix /api/v2 --name l7p1 listener1
openstack loadbalancer l7rule create --compare-type STARTS_WITH --type PATH --value /api/v2 --invert l7p1
Right now --redirect-prefix /api/v2 is rejected because it doesn't contain a scheme or an hostname
Let's discuss it with the team, I don't know if there's a reason to not allow it.