Don't use jq in rally containers
jq is not a part of xrally-openstack container, so using something worse for the same instead of producing an extra image. Change-Id: I0f22488fcb9f0247e6279e6754393f22b2dd0251 Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
This commit is contained in:
parent
031c54cc04
commit
2895760204
@ -842,7 +842,7 @@ conf:
|
||||
openstack router unset --external-gateway $ROUTER
|
||||
openstack router set --disable --no-ha $ROUTER
|
||||
|
||||
SUBNS=$(openstack router show $ROUTER -c interfaces_info --format=value | jq .[].subnet_id | tr -d '\r\"')
|
||||
SUBNS=$(openstack router show $ROUTER -c interfaces_info --format=value | python -m json.tool | grep -oP '(?<="subnet_id": ")[a-f0-9\-]{36}(?=")' | sort | uniq)
|
||||
for SUBN in $SUBNS
|
||||
do
|
||||
openstack router remove subnet $ROUTER $SUBN
|
||||
|
Loading…
x
Reference in New Issue
Block a user