Merge "Don't use jq in rally containers"
This commit is contained in:
commit
bb6a00f116
@ -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…
Reference in New Issue
Block a user