summaryrefslogtreecommitdiffstats
path: root/samples/vnf_samples/traffic_profiles/ixload/http_ixload.yaml
diff options
context:
space:
mode:
authorAbhijit Sinha <abhijit.sinha@intel.com>2018-12-06 16:08:22 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-12-06 16:08:22 +0000
commita8a59b333db0b2aa1e3a9f3ee8002096fb92b3f1 (patch)
tree75fe127e8d789c1277a34694314e675f0ae75720 /samples/vnf_samples/traffic_profiles/ixload/http_ixload.yaml
parent09360f2133b0b9bfe5449cc340af63aaab2d0c96 (diff)
parent5b4d203f63a1293f95584de2e6b5cbef0d74d16a (diff)
Merge "Add HTTP IxLoad test cases for agnostic VNF"
Diffstat (limited to 'samples/vnf_samples/traffic_profiles/ixload/http_ixload.yaml')
-rw-r--r--samples/vnf_samples/traffic_profiles/ixload/http_ixload.yaml56
1 files changed, 56 insertions, 0 deletions
diff --git a/samples/vnf_samples/traffic_profiles/ixload/http_ixload.yaml b/samples/vnf_samples/traffic_profiles/ixload/http_ixload.yaml
new file mode 100644
index 000000000..7b52f7dae
--- /dev/null
+++ b/samples/vnf_samples/traffic_profiles/ixload/http_ixload.yaml
@@ -0,0 +1,56 @@
+# Copyright (c) 2018 Intel Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or imp
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+schema: "nsb:traffic_profile:0.1"
+
+name: TrafficProfileGenericHTTP
+description: Traffic profile to run HTTP test
+traffic_profile:
+ traffic_type: TrafficProfileGenericHTTP
+
+uplink_0:
+ ip:
+ address: "172.16.50.132" # must be in same subnet with gateway
+ subnet_prefix: 24 # subnet prefix
+ mac: "00:00:00:00:44:33" # port mac addr or auto to generate automatically
+ gateway: <GATEWAY_ADDR> # will be taken from pod file
+
+ http_client:
+ simulated_users: {{ get(simulated_users, 'simulated_users.uplink_0') }}
+ page_object: {{ get(page_object, 'page_object.uplink_0', '/1b.html') }}
+
+downlink_0:
+ ip:
+ address: "172.16.31.132" # must be in same subnet with gateway
+ subnet_prefix: 24 # subnet prefix
+ mac: "00:00:00:00:44:44" # port mac addr or auto to generate automatically
+ gateway: <GATEWAY_ADDR> # will be taken from pod file
+
+uplink_1:
+ ip:
+ address: "12.12.12.32"
+ subnet_prefix: 24
+ mac: "Auto" # port mac addr or auto to generate automatically
+ gateway: <GATEWAY_ADDR>
+
+ http_client:
+ simulated_users: {{ get(simulated_users, 'simulated_users.uplink_1', '65000') }} # number of threads to be run
+ page_object: {{ get(page_object, 'page_object.uplink_1', '/1b.html') }} # http locator to be read
+
+downlink_1:
+ ip:
+ address: "13.13.13.32"
+ subnet_prefix: 24
+ mac: "Auto" # port mac addr or auto to generate automatically
+ gateway: <GATEWAY_ADDR>