Show trace in get-floating-ip.sh 53/26453/1
authorGary Wu <gary.i.wu@huawei.com>
Mon, 18 Dec 2017 18:18:50 +0000 (10:18 -0800)
committerGary Wu <gary.i.wu@huawei.com>
Mon, 18 Dec 2017 18:18:50 +0000 (10:18 -0800)
Change-Id: I8d0a43bd3377f06f7fa58c364f438ab5fc735a13
Issue-ID: INT-278
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
test/ete/scripts/get-floating-ip.sh

index 55854e7..004025d 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash -x
 # Get floating IP assigned to a server name
 
 PORT_ID=$(openstack server show -f json $1 | python -c 'import sys, json; print json.load(sys.stdin)["wrs-if:nics"][0]["nic1"]["port_id"]')