aboutsummaryrefslogtreecommitdiffstats
path: root/testcases/features/sfc/correct_classifier.bash
diff options
context:
space:
mode:
authorvalentin boucher <valentin.boucher@orange.com>2016-08-11 08:24:29 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-08-11 08:24:29 +0000
commite5e78d039162b5758a2943467b2dd3c3a79f6be8 (patch)
tree6b110b887108d4157aa7273034b0bb646cc6a0fb /testcases/features/sfc/correct_classifier.bash
parent7bc9945698fa29c0f1fae4696b4aecb6537aa19a (diff)
parent1274116ebecf15739d225bd27e107fe04bd7b710 (diff)
Merge "Bug fix in functest ODL-SFC"
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 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`