summaryrefslogtreecommitdiffstats
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/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
3 files changed, 86 insertions, 0 deletions
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
+