summaryrefslogtreecommitdiffstats
path: root/testcases/features/sfc/sfc_change_classi.bash
diff options
context:
space:
mode:
authorManuel Buil <manuel.buil@ericsson.com>2016-07-06 12:26:46 +0200
committerJose Lausuch <jose.lausuch@ericsson.com>2016-07-08 14:51:14 +0000
commitd1adf821aea259ab38794cab1f584ce955eab7b4 (patch)
tree6ce1b5f74aa4c6017a8877e124794f43b08d9dba /testcases/features/sfc/sfc_change_classi.bash
parentdb9fce16527573a7b81978fa15d03ebf0e937e94 (diff)
SFC Testcase for functest
JIRA: FUNCTEST-354 This test case creates two chains, one blocks ssh, the other http We check with the client that the blocking works in one and then we change the classifier rules to check the other one Change-Id: I7d12f5d8b4bc4a7e1566f04e02ca78ac2a4e0920 Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
Diffstat (limited to 'testcases/features/sfc/sfc_change_classi.bash')
-rwxr-xr-xtestcases/features/sfc/sfc_change_classi.bash7
1 files changed, 7 insertions, 0 deletions
diff --git a/testcases/features/sfc/sfc_change_classi.bash b/testcases/features/sfc/sfc_change_classi.bash
new file mode 100755
index 000000000..70375ab3b
--- /dev/null
+++ b/testcases/features/sfc/sfc_change_classi.bash
@@ -0,0 +1,7 @@
+tacker sfc-classifier-delete red_http
+tacker sfc-classifier-delete red_ssh
+
+tacker sfc-classifier-create --name blue_http --chain blue --match source_port=0,dest_port=80,protocol=6
+tacker sfc-classifier-create --name blue_ssh --chain blue --match source_port=0,dest_port=22,protocol=6
+
+tacker sfc-classifier-list