From 1274116ebecf15739d225bd27e107fe04bd7b710 Mon Sep 17 00:00:00 2001 From: Manuel Buil Date: Tue, 9 Aug 2016 14:05:47 +0200 Subject: Bug fix in functest ODL-SFC Change-Id: I496ade3ea5888967e933231f515a340369bffe8f Signed-off-by: Manuel Buil --- testcases/features/sfc/correct_classifier.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testcases/features/sfc/correct_classifier.bash') diff --git a/testcases/features/sfc/correct_classifier.bash b/testcases/features/sfc/correct_classifier.bash index ba34d7fe..fb08af5c 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` -- cgit 1.2.3-korg