From: Phani Kiran Thaticharla <phani.kiran.thaticharla@intel.com>
Date: Mon, 16 Oct 2017 17:39:22 +0000 (-0700)
Subject: Adding vFirewall HTTP Traffic Profiles.
X-Git-Tag: opnfv-6.0.0~260
X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=bb2da407193d6a5747cf15069d61cceb4c6bf1f7;p=yardstick.git

Adding vFirewall HTTP Traffic Profiles.

Modified http_locator location for 64K, 256K, 512K and 1024K
concurrency files.

The traffic profiles include various http locator image sizes i.e
4K,64K,256K,512K and 1024K

The traffic schema is changed to "nsb" from "isb" for all the
traffic profiles

Change-Id: I012da8daaa880ca80db2d3b08cebd9a73c19cd47
Signed-off-by: Phani Kiran Thaticharla <phani.kiran.thaticharla@intel.com>
Reviewed-by: Oscar Medina-Duran <oscar.medina-duran@intel.com>
Reviewed-by: Deepak S <deepak.s@linux.intel.com>
Reviewed-by: Ross Brattain <ross.b.brattain@intel.com> 
---

diff --git a/samples/vnf_samples/traffic_profiles/http_tests/HTTP_1024K-requests_65000_concurrency.yaml b/samples/vnf_samples/traffic_profiles/http_tests/HTTP_1024K-requests_65000_concurrency.yaml
new file mode 100644
index 000000000..bfc75982f
--- /dev/null
+++ b/samples/vnf_samples/traffic_profiles/http_tests/HTTP_1024K-requests_65000_concurrency.yaml
@@ -0,0 +1,24 @@
+schema: "nsb:traffic_profile:0.1"
+
+name:            TrafficProfileGenericHTTP
+description:     Traffic profile to run HTTP test
+traffic_profile:
+  traffic_type: TrafficProfileGenericHTTP
+
+#http client specific values
+uplink_0:
+    http_no_requests: "1000"                # number of http iterations
+    http_concurency: "65000"                  # number of threads to be run
+    http_locator:  "/1024K.bin"              # http locator to be read
+    http_peer_address: "152.40.40.20"       # address range of the servers
+    http_peer_port: "9004"                  # port range of the server
+    http_client_address: "152.16.100.20"    # address range of the servers
+    private_subnet_mask: "255.255.255.0"
+    attacker_tests: "False"                 # True : If attacker Test, False : Otherwise
+
+#http server side
+downlink_0:
+    http_locator_image_size: "1024KB"      # image size requested by http client
+    http_bind_address: "152.40.40.20"   # where address is bound
+    http_bind_port: "9004"              # when port is bound
+    public_subnet_mask: "255.255.255.0"
diff --git a/samples/vnf_samples/traffic_profiles/http_tests/HTTP_1b-requests_65000_concurrency.yaml b/samples/vnf_samples/traffic_profiles/http_tests/HTTP_1b-requests_65000_concurrency.yaml
index 3d97c8c59..112836ac9 100644
--- a/samples/vnf_samples/traffic_profiles/http_tests/HTTP_1b-requests_65000_concurrency.yaml
+++ b/samples/vnf_samples/traffic_profiles/http_tests/HTTP_1b-requests_65000_concurrency.yaml
@@ -1,4 +1,4 @@
-schema: "isb:traffic_profile:0.1"
+schema: "nsb:traffic_profile:0.1"
 
 name:            TrafficProfileGenericHTTP
 description:     Traffic profile to run HTTP test
diff --git a/samples/vnf_samples/traffic_profiles/http_tests/HTTP_256K-requests_65000_concurrency.yaml b/samples/vnf_samples/traffic_profiles/http_tests/HTTP_256K-requests_65000_concurrency.yaml
new file mode 100644
index 000000000..100257533
--- /dev/null
+++ b/samples/vnf_samples/traffic_profiles/http_tests/HTTP_256K-requests_65000_concurrency.yaml
@@ -0,0 +1,24 @@
+schema: "nsb:traffic_profile:0.1"
+
+name:            TrafficProfileGenericHTTP
+description:     Traffic profile to run HTTP test
+traffic_profile:
+  traffic_type: TrafficProfileGenericHTTP
+
+#http client specific values
+uplink_0:
+    http_no_requests: "1000"                # number of http iterations
+    http_concurency: "65000"                  # number of threads to be run
+    http_locator:  "/256K.bin"              # http locator to be read
+    http_peer_address: "152.40.40.20"       # address range of the servers
+    http_peer_port: "9004"                  # port range of the server
+    http_client_address: "152.16.100.20"    # address range of the servers
+    private_subnet_mask: "255.255.255.0"
+    attacker_tests: "False"                 # True : If attacker Test, False : Otherwise
+
+#http server side
+downlink_0:
+    http_locator_image_size: "256KB"      # image size requested by http client
+    http_bind_address: "152.40.40.20"   # where address is bound
+    http_bind_port: "9004"              # when port is bound
+    public_subnet_mask: "255.255.255.0"
diff --git a/samples/vnf_samples/traffic_profiles/http_tests/HTTP_4K-requests_65000_concurrency.yaml b/samples/vnf_samples/traffic_profiles/http_tests/HTTP_4K-requests_65000_concurrency.yaml
new file mode 100644
index 000000000..a62aeb210
--- /dev/null
+++ b/samples/vnf_samples/traffic_profiles/http_tests/HTTP_4K-requests_65000_concurrency.yaml
@@ -0,0 +1,24 @@
+schema: "nsb:traffic_profile:0.1"
+
+name:            TrafficProfileGenericHTTP
+description:     Traffic profile to run HTTP test
+traffic_profile:
+  traffic_type: TrafficProfileGenericHTTP
+
+#http client specific values
+uplink_0:
+    http_no_requests: "1000"                # number of http iterations
+    http_concurency: "65000"                  # number of threads to be run
+    http_locator:  "/4K.bin"              # http locator to be read
+    http_peer_address: "152.40.40.20"       # address range of the servers
+    http_peer_port: "9004"                  # port range of the server
+    http_client_address: "152.16.100.20"    # address range of the servers
+    private_subnet_mask: "255.255.255.0"
+    attacker_tests: "False"                 # True : If attacker Test, False : Otherwise
+
+#http server side
+downlink_0:
+    http_locator_image_size: "4KB"      # image size requested by http client
+    http_bind_address: "152.40.40.20"   # where address is bound
+    http_bind_port: "9004"              # when port is bound
+    public_subnet_mask: "255.255.255.0"
diff --git a/samples/vnf_samples/traffic_profiles/http_tests/HTTP_512K-requests_65000_concurrency.yaml b/samples/vnf_samples/traffic_profiles/http_tests/HTTP_512K-requests_65000_concurrency.yaml
new file mode 100644
index 000000000..9fd76354f
--- /dev/null
+++ b/samples/vnf_samples/traffic_profiles/http_tests/HTTP_512K-requests_65000_concurrency.yaml
@@ -0,0 +1,24 @@
+schema: "nsb:traffic_profile:0.1"
+
+name:            TrafficProfileGenericHTTP
+description:     Traffic profile to run HTTP test
+traffic_profile:
+  traffic_type: TrafficProfileGenericHTTP
+
+#http client specific values
+uplink_0:
+    http_no_requests: "1000"                # number of http iterations
+    http_concurency: "65000"                  # number of threads to be run
+    http_locator:  "/512K.bin"              # http locator to be read
+    http_peer_address: "152.40.40.20"       # address range of the servers
+    http_peer_port: "9004"                  # port range of the server
+    http_client_address: "152.16.100.20"    # address range of the servers
+    private_subnet_mask: "255.255.255.0"
+    attacker_tests: "False"                 # True : If attacker Test, False : Otherwise
+
+#http server side
+downlink_0:
+    http_locator_image_size: "512KB"      # image size requested by http client
+    http_bind_address: "152.40.40.20"   # where address is bound
+    http_bind_port: "9004"              # when port is bound
+    public_subnet_mask: "255.255.255.0"
diff --git a/samples/vnf_samples/traffic_profiles/http_tests/HTTP_64K-requests_65000_concurrency.yaml b/samples/vnf_samples/traffic_profiles/http_tests/HTTP_64K-requests_65000_concurrency.yaml
new file mode 100644
index 000000000..4585b31e9
--- /dev/null
+++ b/samples/vnf_samples/traffic_profiles/http_tests/HTTP_64K-requests_65000_concurrency.yaml
@@ -0,0 +1,24 @@
+schema: "nsb:traffic_profile:0.1"
+
+name:            TrafficProfileGenericHTTP
+description:     Traffic profile to run HTTP test
+traffic_profile:
+  traffic_type: TrafficProfileGenericHTTP
+
+#http client specific values
+uplink_0:
+    http_no_requests: "1000"                # number of http iterations
+    http_concurency: "65000"                  # number of threads to be run
+    http_locator:  "/64K.bin"              # http locator to be read
+    http_peer_address: "152.40.40.20"       # address range of the servers
+    http_peer_port: "9004"                  # port range of the server
+    http_client_address: "152.16.100.20"    # address range of the servers
+    private_subnet_mask: "255.255.255.0"
+    attacker_tests: "False"                 # True : If attacker Test, False : Otherwise
+
+#http server side
+downlink_0:
+    http_locator_image_size: "64KB"      # image size requested by http client
+    http_bind_address: "152.40.40.20"   # where address is bound
+    http_bind_port: "9004"              # when port is bound
+    public_subnet_mask: "255.255.255.0"