aboutsummaryrefslogtreecommitdiffstats
path: root/samples/vnf_samples/traffic_profiles
diff options
context:
space:
mode:
Diffstat (limited to 'samples/vnf_samples/traffic_profiles')
-rw-r--r--samples/vnf_samples/traffic_profiles/ixia_ipv4_latency.yaml5
-rw-r--r--samples/vnf_samples/traffic_profiles/prox_acl.yaml28
-rw-r--r--samples/vnf_samples/traffic_profiles/prox_binsearch.yaml29
-rw-r--r--samples/vnf_samples/traffic_profiles/prox_ramp.yaml29
4 files changed, 91 insertions, 0 deletions
diff --git a/samples/vnf_samples/traffic_profiles/ixia_ipv4_latency.yaml b/samples/vnf_samples/traffic_profiles/ixia_ipv4_latency.yaml
index ccd40c33b..6b213a54a 100644
--- a/samples/vnf_samples/traffic_profiles/ixia_ipv4_latency.yaml
+++ b/samples/vnf_samples/traffic_profiles/ixia_ipv4_latency.yaml
@@ -53,6 +53,8 @@ private_1:
outer_l4:
srcport: "{{get(flow, 'flow.srcport_range', '1234') }}"
dstport: "{{get(flow, 'flow.dstport_range', '2001') }}"
+ count: "{{get(flow, 'flow.count', '1') }}"
+
public_1:
ipv4:
outer_l2:
@@ -75,6 +77,7 @@ public_1:
outer_l4:
srcport: "{{get(flow, 'flow.srcport_range', '1234') }}"
dstport: "{{get(flow, 'flow.dstport_range', '2001') }}"
+ count: "{{get(flow, 'flow.count', '1') }}"
private_2:
ipv4:
outer_l2:
@@ -97,6 +100,7 @@ private_2:
outer_l4:
srcport: "{{get(flow, 'flow.srcport_range', '1234') }}"
dstport: "{{get(flow, 'flow.dstport_range', '2001') }}"
+ count: "{{get(flow, 'flow.count', '1') }}"
public_2:
ipv4:
outer_l2:
@@ -119,3 +123,4 @@ public_2:
outer_l4:
srcport: "{{get(flow, 'flow.srcport_range', '1234') }}"
dstport: "{{get(flow, 'flow.dstport_range', '2001') }}"
+ count: "{{get(flow, 'flow.count', '1') }}"
diff --git a/samples/vnf_samples/traffic_profiles/prox_acl.yaml b/samples/vnf_samples/traffic_profiles/prox_acl.yaml
new file mode 100644
index 000000000..b306739bc
--- /dev/null
+++ b/samples/vnf_samples/traffic_profiles/prox_acl.yaml
@@ -0,0 +1,28 @@
+# Copyright (c) 2016-2017 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 implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+schema: "nsb:traffic_profile:0.1"
+
+name: prox_acl
+description: ACL max no-drop throughput over given packet sizes
+
+traffic_profile:
+ traffic_type: ProxACLProfile
+ tolerated_loss: 100.0
+ test_precision: 1.0
+ packet_sizes: [64]
+ duration: 5
+ lower_bound: 0.0
+ upper_bound: 100.0
+
diff --git a/samples/vnf_samples/traffic_profiles/prox_binsearch.yaml b/samples/vnf_samples/traffic_profiles/prox_binsearch.yaml
new file mode 100644
index 000000000..1a768f3be
--- /dev/null
+++ b/samples/vnf_samples/traffic_profiles/prox_binsearch.yaml
@@ -0,0 +1,29 @@
+# Copyright (c) 2016-2017 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 implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+schema: "nsb:traffic_profile:0.1"
+
+name: prox_binsearch
+description: Binary search for max no-drop throughput over given packet sizes
+
+traffic_profile:
+ traffic_type: ProxBinSearchProfile
+ tolerated_loss: 0.0
+ test_precision: 1.0
+# packet_sizes: [64, 128, 256, 512, 1024, 1280, 1518]
+ packet_sizes: [64, 65]
+ duration: 5
+ lower_bound: 0.0
+ upper_bound: 100.0
+
diff --git a/samples/vnf_samples/traffic_profiles/prox_ramp.yaml b/samples/vnf_samples/traffic_profiles/prox_ramp.yaml
new file mode 100644
index 000000000..2a9e220fa
--- /dev/null
+++ b/samples/vnf_samples/traffic_profiles/prox_ramp.yaml
@@ -0,0 +1,29 @@
+# Copyright (c) 2016-2017 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 implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+schema: "nsb:traffic_profile:0.1"
+
+name: fixed
+description: Fixed traffic profile to run UDP traffic
+
+traffic_profile:
+ traffic_type: ProxRampProfile
+ tolerated_loss: 0.0
+ test_precision: 1.0
+ packet_sizes: [64, 65]
+ duration: 5
+ lower_bound: 30.0
+ upper_bound: 100.0
+ step_interval: 10.0
+