aboutsummaryrefslogtreecommitdiffstats
path: root/testcases/features/sfc/correct_classifier.bash
diff options
context:
space:
mode:
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`