summaryrefslogtreecommitdiffstats
path: root/testcases/features/sfc/correct_classifier.bash
diff options
context:
space:
mode:
authorManuel Buil <manuel.buil@ericsson.com>2016-08-09 14:05:47 +0200
committerManuel Buil <manuel.buil@ericsson.com>2016-08-10 09:32:33 +0200
commit1274116ebecf15739d225bd27e107fe04bd7b710 (patch)
tree056097869c34141eeee954dd8d6d7a8187eed0ea /testcases/features/sfc/correct_classifier.bash
parent9f923a7996f47b1187a759e28ad0728916d56fc9 (diff)
Bug fix in functest ODL-SFC
Change-Id: I496ade3ea5888967e933231f515a340369bffe8f Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
Diffstat (limited to 'testcases/features/sfc/correct_classifier.bash')
-rwxr-xr-xtestcases/features/sfc/correct_classifier.bash4
1 files changed, 2 insertions, 2 deletions
diff --git a/testcases/features/sfc/correct_classifier.bash b/testcases/features/sfc/correct_classifier.bash
index ba34d7fe9..fb08af5c1 100755
--- a/testcases/features/sfc/correct_classifier.bash
+++ b/testcases/features/sfc/correct_classifier.bash
@@ -4,8 +4,8 @@
#when SFF and classifier are in the same swtich
nsp=`ovs-ofctl -O Openflow13 dump-flows br-int table=11 | \
-grep "nsp=" | awk '{print $6}' | awk -F ',' '{print $2}' | \
-awk -F '=' '{print $2}'`
+grep "NXM_NX_NSP" | head -1 | cut -d',' -f13 | cut -d':' -f2 \
+| cut -d'-' -f1`
ip=`ovs-ofctl -O Openflow13 dump-flows br-int table=11 | \
grep NXM_NX_NSH_C1 | head -1 | cut -d':' -f5 | cut -d'-' -f1`