diff options
Diffstat (limited to 'samples/vnf_samples')
89 files changed, 4202 insertions, 77 deletions
diff --git a/samples/vnf_samples/nsut/acl/tc_ovs_rfc2544_ipv4_1rule_1flow_64B_trex.yaml b/samples/vnf_samples/nsut/acl/tc_ovs_rfc2544_ipv4_1rule_1flow_64B_trex.yaml index 00bd186ee..e62425ad7 100644 --- a/samples/vnf_samples/nsut/acl/tc_ovs_rfc2544_ipv4_1rule_1flow_64B_trex.yaml +++ b/samples/vnf_samples/nsut/acl/tc_ovs_rfc2544_ipv4_1rule_1flow_64B_trex.yaml @@ -1,4 +1,4 @@ -# Copyright (c) 2016-2017 Intel Corporation +# Copyright (c) 2016-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. @@ -19,7 +19,7 @@ scenarios: traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml topology: acl-tg-topology.yaml nodes: - tg__0: tg__0.yardstick + tg__0: trafficgen_1.yardstick vnf__0: vnf__0.yardstick options: framesize: @@ -42,10 +42,10 @@ scenarios: contexts: - name: yardstick type: Node - file: etc/yardstick/nodes/standalone/pod_trex.yaml + file: /etc/yardstick/nodes/standalone/trex_bm.yaml - type: StandaloneOvsDpdk name: yardstick - file: etc/yardstick/nodes/standalone/host_ovs.yaml + file: /etc/yardstick/nodes/standalone/host_ovs.yaml vm_deploy: True ovs_properties: version: @@ -62,7 +62,7 @@ contexts: flavor: images: "/var/lib/libvirt/images/yardstick-nsb-image.img" - ram: 4096 + ram: 16384 extra_specs: hw:cpu_sockets: 1 hw:cpu_cores: 6 diff --git a/samples/vnf_samples/nsut/acl/tc_sriov_rfc2544_ipv4_1rule_1flow_64B_trex.yaml b/samples/vnf_samples/nsut/acl/tc_sriov_rfc2544_ipv4_1rule_1flow_64B_trex.yaml index 8b3241620..77df5b18c 100644 --- a/samples/vnf_samples/nsut/acl/tc_sriov_rfc2544_ipv4_1rule_1flow_64B_trex.yaml +++ b/samples/vnf_samples/nsut/acl/tc_sriov_rfc2544_ipv4_1rule_1flow_64B_trex.yaml @@ -1,4 +1,4 @@ -# Copyright (c) 2016-2017 Intel Corporation +# Copyright (c) 2016-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. @@ -19,8 +19,8 @@ scenarios: traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml topology: acl-tg-topology.yaml nodes: - tg__0: tg__0.yardstick - vnf__0: vnf.yardstick + tg__0: trafficgen_1.yardstick + vnf__0: vnf__0.yardstick options: framesize: uplink: {64B: 100} @@ -42,14 +42,14 @@ scenarios: contexts: - name: yardstick type: Node - file: /etc/yardstick/nodes/standalone/pod_trex.yaml + file: /etc/yardstick/nodes/standalone/trex_bm.yaml - type: StandaloneSriov file: /etc/yardstick/nodes/standalone/host_sriov.yaml name: yardstick vm_deploy: True flavor: - images: "/var/lib/libvirt/images/ubuntu.qcow2" - ram: 4096 + images: "/var/lib/libvirt/images/yardstick-nsb-image.img" + ram: 16384 extra_specs: hw:cpu_sockets: 1 hw:cpu_cores: 6 @@ -57,7 +57,7 @@ contexts: user: "" password: "" servers: - vnf: + vnf__0: network_ports: mgmt: cidr: '1.1.1.61/24' diff --git a/samples/vnf_samples/nsut/agnostic/agnostic_vnf_topology_ixia_2ports.yaml b/samples/vnf_samples/nsut/agnostic/agnostic_vnf_topology_ixia_2ports.yaml new file mode 100644 index 000000000..007d16f82 --- /dev/null +++ b/samples/vnf_samples/nsut/agnostic/agnostic_vnf_topology_ixia_2ports.yaml @@ -0,0 +1,49 @@ +# 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 implied. +# See the License for the specific language governing permissions and +# limitations under the License. +nsd:nsd-catalog: + nsd: + - id: agnostic-topology + name: agnostic-topology + short-name: agnostic-topology + description: agnostic-topology + constituent-vnfd: + - member-vnf-index: '1' + vnfd-id-ref: tg__0 + VNF model: ../../vnf_descriptors/ixia_rfc2544_tpl.yaml #TG type + - member-vnf-index: '2' + vnfd-id-ref: vnf__0 + VNF model: ../../vnf_descriptors/agnostic_vnf.yaml #VNF type + + vld: + - id: uplink_0 + name: tg__0 to vnf__0 link 1 + type: ELAN + vnfd-connection-point-ref: + - member-vnf-index-ref: '1' + vnfd-connection-point-ref: xe0 + vnfd-id-ref: tg__0 + - member-vnf-index-ref: '2' + vnfd-connection-point-ref: xe0 + vnfd-id-ref: vnf__0 + + - id: downlink_0 + name: vnf__0 to tg__0 link 2 + type: ELAN + vnfd-connection-point-ref: + - member-vnf-index-ref: '2' + vnfd-connection-point-ref: xe1 + vnfd-id-ref: vnf__0 + - member-vnf-index-ref: '1' + vnfd-connection-point-ref: xe1 + vnfd-id-ref: tg__0 diff --git a/samples/vnf_samples/nsut/agnostic/agnostic_vnf_topology_ixia_4ports.yaml b/samples/vnf_samples/nsut/agnostic/agnostic_vnf_topology_ixia_4ports.yaml new file mode 100644 index 000000000..1447faff3 --- /dev/null +++ b/samples/vnf_samples/nsut/agnostic/agnostic_vnf_topology_ixia_4ports.yaml @@ -0,0 +1,71 @@ +# 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 implied. +# See the License for the specific language governing permissions and +# limitations under the License. +nsd:nsd-catalog: + nsd: + - id: agnostic-topology + name: agnostic-topology + short-name: agnostic-topology + description: agnostic-topology + constituent-vnfd: + - member-vnf-index: '1' + vnfd-id-ref: tg__0 + VNF model: ../../vnf_descriptors/ixia_rfc2544_tpl.yaml #TG type + - member-vnf-index: '2' + vnfd-id-ref: vnf__0 + VNF model: ../../vnf_descriptors/agnostic_vnf.yaml #VNF type + + vld: + - id: uplink_0 + name: tg__0 to vnf__0 link 1 + type: ELAN + vnfd-connection-point-ref: + - member-vnf-index-ref: '1' + vnfd-connection-point-ref: xe0 + vnfd-id-ref: tg__0 + - member-vnf-index-ref: '2' + vnfd-connection-point-ref: xe0 + vnfd-id-ref: vnf__0 + + - id: downlink_0 + name: vnf__0 to tg__0 link 2 + type: ELAN + vnfd-connection-point-ref: + - member-vnf-index-ref: '2' + vnfd-connection-point-ref: xe1 + vnfd-id-ref: vnf__0 + - member-vnf-index-ref: '1' + vnfd-connection-point-ref: xe1 + vnfd-id-ref: tg__0 + + - id: uplink_1 + name: tg__0 to vnf__0 link 3 + type: ELAN + vnfd-connection-point-ref: + - member-vnf-index-ref: '1' + vnfd-connection-point-ref: xe2 + vnfd-id-ref: tg__0 + - member-vnf-index-ref: '2' + vnfd-connection-point-ref: xe2 + vnfd-id-ref: vnf__0 + + - id: downlink_1 + name: vnf__0 to tg__0 link 4 + type: ELAN + vnfd-connection-point-ref: + - member-vnf-index-ref: '2' + vnfd-connection-point-ref: xe3 + vnfd-id-ref: vnf__0 + - member-vnf-index-ref: '1' + vnfd-connection-point-ref: xe3 + vnfd-id-ref: tg__0 diff --git a/samples/vnf_samples/nsut/agnostic/agnostic_vnf_topology_trex_2ports.yaml b/samples/vnf_samples/nsut/agnostic/agnostic_vnf_topology_trex_2ports.yaml new file mode 100644 index 000000000..173880f08 --- /dev/null +++ b/samples/vnf_samples/nsut/agnostic/agnostic_vnf_topology_trex_2ports.yaml @@ -0,0 +1,49 @@ +# 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 implied. +# See the License for the specific language governing permissions and +# limitations under the License. +nsd:nsd-catalog: + nsd: + - id: agnostic-topology + name: agnostic-topology + short-name: agnostic-topology + description: agnostic-topology + constituent-vnfd: + - member-vnf-index: '1' + vnfd-id-ref: tg__0 + VNF model: ../../vnf_descriptors/tg_rfc2544_tpl.yaml #TG type + - member-vnf-index: '2' + vnfd-id-ref: vnf__0 + VNF model: ../../vnf_descriptors/agnostic_vnf.yaml #VNF type + + vld: + - id: uplink_0 + name: tg__0 to vnf__0 link 1 + type: ELAN + vnfd-connection-point-ref: + - member-vnf-index-ref: '1' + vnfd-connection-point-ref: xe0 + vnfd-id-ref: tg__0 + - member-vnf-index-ref: '2' + vnfd-connection-point-ref: xe0 + vnfd-id-ref: vnf__0 + + - id: downlink_0 + name: vnf__0 to tg__0 link 2 + type: ELAN + vnfd-connection-point-ref: + - member-vnf-index-ref: '2' + vnfd-connection-point-ref: xe1 + vnfd-id-ref: vnf__0 + - member-vnf-index-ref: '1' + vnfd-connection-point-ref: xe1 + vnfd-id-ref: tg__0
\ No newline at end of file diff --git a/samples/vnf_samples/nsut/agnostic/tc_baremetal_rfc2544_ipv4_64B_trex.yaml b/samples/vnf_samples/nsut/agnostic/tc_baremetal_rfc2544_ipv4_64B_trex.yaml new file mode 100644 index 000000000..53935dec2 --- /dev/null +++ b/samples/vnf_samples/nsut/agnostic/tc_baremetal_rfc2544_ipv4_64B_trex.yaml @@ -0,0 +1,45 @@ +# 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 implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +--- +schema: yardstick:task:0.1 +scenarios: +- type: NSPerf + traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml + topology: agnostic_vnf_topology_trex_2ports.yaml + nodes: + tg__0: tg_0.yardstick + vnf__0: vnf_0.yardstick + options: + framesize: + uplink: {64B: 100} + downlink: {64B: 100} + flow: + src_ip: [{'tg__0': 'xe0'}] + dst_ip: [{'tg__0': 'xe1'}] + count: 1 + traffic_type: 4 + rfc2544: + allowed_drop_rate: 0.0001 - 0.0001 + vnf__0: + [] + runner: + type: Iteration + iterations: 10 + interval: 35 +context: + type: Node + name: yardstick + nfvi_type: baremetal + file: /etc/yardstick/nodes/pod.yaml diff --git a/samples/vnf_samples/nsut/agnostic/tc_baremetal_rfc2544_latency_ipv4_64B_ixia.yaml b/samples/vnf_samples/nsut/agnostic/tc_baremetal_rfc2544_latency_ipv4_64B_ixia.yaml new file mode 100644 index 000000000..c054a985b --- /dev/null +++ b/samples/vnf_samples/nsut/agnostic/tc_baremetal_rfc2544_latency_ipv4_64B_ixia.yaml @@ -0,0 +1,45 @@ +# 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 implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +--- +schema: yardstick:task:0.1 +scenarios: +- type: NSPerf + traffic_profile: ../../traffic_profiles/ixia_ipv4_latency.yaml + topology: agnostic_vnf_topology_ixia_2ports.yaml + nodes: + tg__0: tg_0.yardstick + vnf__0: vnf_0.yardstick + options: + framesize: + uplink: {64B: 100} + downlink: {64B: 100} + flow: + src_ip: [{'tg__0': 'xe0'}] + dst_ip: [{'tg__0': 'xe1'}] + count: 1 + traffic_type: 4 + rfc2544: + allowed_drop_rate: 0.0001 - 0.0001 + vnf__0: + [] + runner: + type: Iteration + iterations: 10 + interval: 35 +context: + type: Node + name: yardstick + nfvi_type: baremetal + file: /etc/yardstick/nodes/pod_ixia.yaml diff --git a/samples/vnf_samples/nsut/cgnapt/tc_ovs_rfc2544_ipv4_1rule_64B_trex.yaml b/samples/vnf_samples/nsut/cgnapt/tc_ovs_rfc2544_ipv4_1rule_64B_trex.yaml index 52becd3c6..170b2c539 100644 --- a/samples/vnf_samples/nsut/cgnapt/tc_ovs_rfc2544_ipv4_1rule_64B_trex.yaml +++ b/samples/vnf_samples/nsut/cgnapt/tc_ovs_rfc2544_ipv4_1rule_64B_trex.yaml @@ -1,4 +1,4 @@ -# Copyright (c) 2016-2017 Intel Corporation +# Copyright (c) 2016-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. @@ -19,7 +19,7 @@ scenarios: traffic_profile: ../../traffic_profiles/ipv4_throughput_cgnapt.yaml topology: cgnapt-vnf-topology.yaml nodes: - tg__0: tg__0.yardstick + tg__0: trafficgen_1.yardstick vnf__0: vnf__0.yardstick options: framesize: @@ -42,7 +42,7 @@ scenarios: contexts: - name: yardstick type: Node - file: /etc/yardstick/nodes/standalone/pod_trex.yaml + file: /etc/yardstick/nodes/standalone/trex_bm.yaml - type: StandaloneOvsDpdk name: yardstick file: /etc/yardstick/nodes/standalone/pod_ovs.yaml @@ -59,8 +59,8 @@ contexts: vpath: "/usr/local" flavor: - images: "/var/lib/libvirt/images/ubuntu.qcow2" - ram: 4096 + images: "/var/lib/libvirt/images/yardstick-nsb-image.img" + ram: 16384 extra_specs: hw:cpu_sockets: 1 hw:cpu_cores: 7 diff --git a/samples/vnf_samples/nsut/cgnapt/tc_sriov_rfc2544_ipv4_1rule_64B_trex.yaml b/samples/vnf_samples/nsut/cgnapt/tc_sriov_rfc2544_ipv4_1rule_64B_trex.yaml index ec517bbef..523cb2eb3 100644 --- a/samples/vnf_samples/nsut/cgnapt/tc_sriov_rfc2544_ipv4_1rule_64B_trex.yaml +++ b/samples/vnf_samples/nsut/cgnapt/tc_sriov_rfc2544_ipv4_1rule_64B_trex.yaml @@ -1,4 +1,4 @@ -# Copyright (c) 2016-2017 Intel Corporation +# Copyright (c) 2016-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. @@ -19,8 +19,8 @@ scenarios: traffic_profile: ../../traffic_profiles/ipv4_throughput_cgnapt.yaml topology: cgnapt-vnf-topology.yaml nodes: - tg__0: tg__0.yardstick - vnf__0: vnf.yardstick + tg__0: trafficgen_1.yardstick + vnf__0: vnf__0.yardstick options: framesize: uplink: {64B: 100} @@ -42,14 +42,14 @@ scenarios: contexts: - name: yardstick type: Node - file: /etc/yardstick/nodes/standalone/pod_trex.yaml + file: /etc/yardstick/nodes/standalone/trex_bm.yaml - type: StandaloneSriov file: /etc/yardstick/nodes/standalone/host_sriov.yaml name: yardstick vm_deploy: True flavor: - images: "/var/lib/libvirt/images/ubuntu.qcow2" - ram: 4096 + images: "/var/lib/libvirt/images/yardstick-nsb-image.img" + ram: 16384 extra_specs: hw:cpu_sockets: 1 hw:cpu_cores: 7 @@ -57,7 +57,7 @@ contexts: user: "" password: "" servers: - vnf: + vnf__0: network_ports: mgmt: cidr: '1.1.1.61/24' diff --git a/samples/vnf_samples/nsut/prox/configs/gen_bng-4.cfg b/samples/vnf_samples/nsut/prox/configs/gen_bng-4.cfg index a70ea658b..60f21bd70 100644 --- a/samples/vnf_samples/nsut/prox/configs/gen_bng-4.cfg +++ b/samples/vnf_samples/nsut/prox/configs/gen_bng-4.cfg @@ -94,7 +94,7 @@ rand_offset=14 random=0000XXXX00XX00XX rand_offset=18 ; dst_ip: [10,11].[odd 1..255].[16,48,80,112,144,176,208,240].[odd 1..255] -random=0000101XXXXXXXX1XXX10000XXXXXXX1 +random=0000101XXXXXXXX11XXX0000XXXXXXX1 rand_offset=38 lat pos=42 @@ -113,7 +113,7 @@ rand_offset=14 random=0000XXXX00XX00XX rand_offset=18 ; dst_ip: [10,11].[odd 1..255].[16,48,80,112,144,176,208,240].[odd 1..255] -random=0000101XXXXXXXX1XXX10000XXXXXXX1 +random=0000101XXXXXXXX11XXX0000XXXXXXX1 rand_offset=38 lat pos=42 diff --git a/samples/vnf_samples/nsut/prox/configs/gen_bng_qos-4.cfg b/samples/vnf_samples/nsut/prox/configs/gen_bng_qos-4.cfg index a70ea658b..60f21bd70 100644 --- a/samples/vnf_samples/nsut/prox/configs/gen_bng_qos-4.cfg +++ b/samples/vnf_samples/nsut/prox/configs/gen_bng_qos-4.cfg @@ -94,7 +94,7 @@ rand_offset=14 random=0000XXXX00XX00XX rand_offset=18 ; dst_ip: [10,11].[odd 1..255].[16,48,80,112,144,176,208,240].[odd 1..255] -random=0000101XXXXXXXX1XXX10000XXXXXXX1 +random=0000101XXXXXXXX11XXX0000XXXXXXX1 rand_offset=38 lat pos=42 @@ -113,7 +113,7 @@ rand_offset=14 random=0000XXXX00XX00XX rand_offset=18 ; dst_ip: [10,11].[odd 1..255].[16,48,80,112,144,176,208,240].[odd 1..255] -random=0000101XXXXXXXX1XXX10000XXXXXXX1 +random=0000101XXXXXXXX11XXX0000XXXXXXX1 rand_offset=38 lat pos=42 diff --git a/samples/vnf_samples/nsut/prox/configs/handle_bng-4.cfg b/samples/vnf_samples/nsut/prox/configs/handle_bng-4.cfg index 7d350bd91..c191d29d5 100644 --- a/samples/vnf_samples/nsut/prox/configs/handle_bng-4.cfg +++ b/samples/vnf_samples/nsut/prox/configs/handle_bng-4.cfg @@ -14,7 +14,7 @@ # [lua] -lpm4 = dofile("ipv4.lua") +lpm4 = dofile("ipv4_bng.lua") user_table = dofile("gre_table.lua") [eal options] diff --git a/samples/vnf_samples/nsut/prox/configs/handle_bng_qos-4.cfg b/samples/vnf_samples/nsut/prox/configs/handle_bng_qos-4.cfg index f65b7cbf9..b873fb9af 100644 --- a/samples/vnf_samples/nsut/prox/configs/handle_bng_qos-4.cfg +++ b/samples/vnf_samples/nsut/prox/configs/handle_bng_qos-4.cfg @@ -14,7 +14,7 @@ # [lua] -lpm4 = dofile("ipv4.lua") +lpm4 = dofile("ipv4_bng.lua") user_table = dofile("gre_table.lua") dscp_table = dofile("dscp.lua") diff --git a/samples/vnf_samples/nsut/prox/configs/handle_l3fwd-2.cfg b/samples/vnf_samples/nsut/prox/configs/handle_l3fwd-2.cfg index 80b29f349..35f3646e7 100644 --- a/samples/vnf_samples/nsut/prox/configs/handle_l3fwd-2.cfg +++ b/samples/vnf_samples/nsut/prox/configs/handle_l3fwd-2.cfg @@ -22,12 +22,16 @@ no-output=no ; disable DPDK debug output [port 0] name=if0 mac=hardware +rx desc=2048 +tx desc=2048 [port 1] name=if1 mac=hardware +rx desc=2048 +tx desc=2048 [defaults] -mempool size=4K +mempool size=8K [lua] lpm4 = dofile("ipv4-2port.lua") diff --git a/samples/vnf_samples/nsut/prox/configs/handle_l3fwd-4.cfg b/samples/vnf_samples/nsut/prox/configs/handle_l3fwd-4.cfg index 09adbbe55..bd696c4b0 100644 --- a/samples/vnf_samples/nsut/prox/configs/handle_l3fwd-4.cfg +++ b/samples/vnf_samples/nsut/prox/configs/handle_l3fwd-4.cfg @@ -22,18 +22,26 @@ no-output=no ; disable DPDK debug output [port 0] name=if0 mac=hardware +rx desc=2048 +tx desc=2048 [port 1] name=if1 mac=hardware +rx desc=2048 +tx desc=2048 [port 2] name=if2 mac=hardware +rx desc=2048 +tx desc=2048 [port 3] name=if3 mac=hardware +rx desc=2048 +tx desc=2048 [defaults] -mempool size=4K +mempool size=8K [lua] lpm4 = dofile("ipv4.lua") diff --git a/samples/vnf_samples/nsut/prox/configs/ipv4_bng.lua b/samples/vnf_samples/nsut/prox/configs/ipv4_bng.lua new file mode 100644 index 000000000..22697b06a --- /dev/null +++ b/samples/vnf_samples/nsut/prox/configs/ipv4_bng.lua @@ -0,0 +1,99 @@ +-- 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. +-- + +require("parameters") + +local lpm4 = {} +lpm4.next_hops = { + {id = 0, port_id = 0, ip = ip("1.1.1.1"), mac = mac(tester_mac1), mpls = 0x112}, + {id = 1, port_id = 1, ip = ip("2.1.1.1"), mac = mac(tester_mac1), mpls = 0x212}, + {id = 2, port_id = 0, ip = ip("3.1.1.1"), mac = mac(tester_mac3), mpls = 0x312}, + {id = 3, port_id = 1, ip = ip("4.1.1.1"), mac = mac(tester_mac3), mpls = 0x412}, + {id = 4, port_id = 0, ip = ip("5.1.1.1"), mac = mac(tester_mac1), mpls = 0x512}, + {id = 5, port_id = 1, ip = ip("6.1.1.1"), mac = mac(tester_mac1), mpls = 0x612}, + {id = 6, port_id = 0, ip = ip("7.1.1.1"), mac = mac(tester_mac3), mpls = 0x712}, + {id = 7, port_id = 1, ip = ip("8.1.1.1"), mac = mac(tester_mac3), mpls = 0x812}, + {id = 8, port_id = 0, ip = ip("9.1.1.1"), mac = mac(tester_mac1), mpls = 0x912}, + {id = 9, port_id = 1, ip = ip("10.1.1.1"), mac = mac(tester_mac1), mpls = 0x1012}, + {id = 10, port_id = 0, ip = ip("11.1.1.1"), mac = mac(tester_mac3), mpls = 0x1112}, + {id = 11, port_id = 1, ip = ip("12.1.1.1"), mac = mac(tester_mac3), mpls = 0x1212}, + {id = 12, port_id = 0, ip = ip("13.1.1.1"), mac = mac(tester_mac1), mpls = 0x1312}, + {id = 13, port_id = 1, ip = ip("14.1.1.1"), mac = mac(tester_mac1), mpls = 0x1412}, + {id = 14, port_id = 0, ip = ip("15.1.1.1"), mac = mac(tester_mac3), mpls = 0x1512}, + {id = 15, port_id = 1, ip = ip("16.1.1.1"), mac = mac(tester_mac3), mpls = 0x1612}, + {id = 16, port_id = 0, ip = ip("17.1.1.1"), mac = mac(tester_mac1), mpls = 0x1712}, + {id = 17, port_id = 1, ip = ip("18.1.1.1"), mac = mac(tester_mac1), mpls = 0x1812}, + {id = 18, port_id = 0, ip = ip("19.1.1.1"), mac = mac(tester_mac3), mpls = 0x1912}, + {id = 19, port_id = 1, ip = ip("20.1.1.1"), mac = mac(tester_mac3), mpls = 0x2012}, + {id = 20, port_id = 0, ip = ip("21.1.1.1"), mac = mac(tester_mac1), mpls = 0x2112}, + {id = 21, port_id = 1, ip = ip("22.1.1.1"), mac = mac(tester_mac1), mpls = 0x2212}, + {id = 22, port_id = 0, ip = ip("23.1.1.1"), mac = mac(tester_mac3), mpls = 0x2312}, + {id = 23, port_id = 1, ip = ip("24.1.1.1"), mac = mac(tester_mac3), mpls = 0x2412}, + {id = 24, port_id = 0, ip = ip("25.1.1.1"), mac = mac(tester_mac1), mpls = 0x2512}, + {id = 25, port_id = 1, ip = ip("26.1.1.1"), mac = mac(tester_mac1), mpls = 0x2612}, + {id = 26, port_id = 0, ip = ip("27.1.1.1"), mac = mac(tester_mac3), mpls = 0x2712}, + {id = 27, port_id = 1, ip = ip("28.1.1.1"), mac = mac(tester_mac3), mpls = 0x2812}, + {id = 28, port_id = 0, ip = ip("29.1.1.1"), mac = mac(tester_mac1), mpls = 0x2912}, + {id = 29, port_id = 1, ip = ip("30.1.1.1"), mac = mac(tester_mac1), mpls = 0x3012}, + {id = 30, port_id = 0, ip = ip("31.1.1.1"), mac = mac(tester_mac3), mpls = 0x3112}, + {id = 31, port_id = 1, ip = ip("32.1.1.1"), mac = mac(tester_mac3), mpls = 0x3212}, + {id = 32, port_id = 0, ip = ip("33.1.1.1"), mac = mac(tester_mac1), mpls = 0x3312}, + {id = 33, port_id = 1, ip = ip("34.1.1.1"), mac = mac(tester_mac1), mpls = 0x3412}, + {id = 34, port_id = 0, ip = ip("35.1.1.1"), mac = mac(tester_mac3), mpls = 0x3512}, + {id = 35, port_id = 1, ip = ip("36.1.1.1"), mac = mac(tester_mac3), mpls = 0x3612}, + {id = 36, port_id = 0, ip = ip("37.1.1.1"), mac = mac(tester_mac1), mpls = 0x3712}, + {id = 37, port_id = 1, ip = ip("38.1.1.1"), mac = mac(tester_mac1), mpls = 0x3812}, + {id = 38, port_id = 0, ip = ip("39.1.1.1"), mac = mac(tester_mac3), mpls = 0x3912}, + {id = 39, port_id = 1, ip = ip("40.1.1.1"), mac = mac(tester_mac3), mpls = 0x4012}, + {id = 40, port_id = 0, ip = ip("41.1.1.1"), mac = mac(tester_mac1), mpls = 0x4112}, + {id = 41, port_id = 1, ip = ip("42.1.1.1"), mac = mac(tester_mac1), mpls = 0x4212}, + {id = 42, port_id = 0, ip = ip("43.1.1.1"), mac = mac(tester_mac3), mpls = 0x4312}, + {id = 43, port_id = 1, ip = ip("44.1.1.1"), mac = mac(tester_mac3), mpls = 0x4412}, + {id = 44, port_id = 0, ip = ip("45.1.1.1"), mac = mac(tester_mac1), mpls = 0x4512}, + {id = 45, port_id = 1, ip = ip("46.1.1.1"), mac = mac(tester_mac1), mpls = 0x4612}, + {id = 46, port_id = 0, ip = ip("47.1.1.1"), mac = mac(tester_mac3), mpls = 0x4712}, + {id = 47, port_id = 1, ip = ip("48.1.1.1"), mac = mac(tester_mac3), mpls = 0x4812}, + {id = 48, port_id = 0, ip = ip("49.1.1.1"), mac = mac(tester_mac1), mpls = 0x4912}, + {id = 49, port_id = 1, ip = ip("50.1.1.1"), mac = mac(tester_mac1), mpls = 0x5012}, + {id = 50, port_id = 0, ip = ip("51.1.1.1"), mac = mac(tester_mac3), mpls = 0x5112}, + {id = 51, port_id = 1, ip = ip("52.1.1.1"), mac = mac(tester_mac3), mpls = 0x5212}, + {id = 52, port_id = 0, ip = ip("53.1.1.1"), mac = mac(tester_mac1), mpls = 0x5312}, + {id = 53, port_id = 1, ip = ip("54.1.1.1"), mac = mac(tester_mac1), mpls = 0x5412}, + {id = 54, port_id = 0, ip = ip("55.1.1.1"), mac = mac(tester_mac3), mpls = 0x5512}, + {id = 55, port_id = 1, ip = ip("56.1.1.1"), mac = mac(tester_mac3), mpls = 0x5612}, + {id = 56, port_id = 0, ip = ip("57.1.1.1"), mac = mac(tester_mac1), mpls = 0x5712}, + {id = 57, port_id = 1, ip = ip("58.1.1.1"), mac = mac(tester_mac1), mpls = 0x5812}, + {id = 58, port_id = 0, ip = ip("59.1.1.1"), mac = mac(tester_mac3), mpls = 0x5912}, + {id = 59, port_id = 1, ip = ip("60.1.1.1"), mac = mac(tester_mac3), mpls = 0x6012}, + {id = 60, port_id = 0, ip = ip("61.1.1.1"), mac = mac(tester_mac1), mpls = 0x6112}, + {id = 61, port_id = 1, ip = ip("62.1.1.1"), mac = mac(tester_mac1), mpls = 0x6212}, + {id = 62, port_id = 0, ip = ip("63.1.1.1"), mac = mac(tester_mac3), mpls = 0x6312}, + {id = 63, port_id = 1, ip = ip("64.1.1.1"), mac = mac(tester_mac3), mpls = 0x6412}, +} + +lpm4.routes = {}; + +base_ip = 10 * 2^24; + +for i = 1,2^13 do + res = ip(base_ip + (1 * 2^12) * (i - 1)); + + lpm4.routes[i] = { + cidr = {ip = res, depth = 24}, + next_hop_id = (i - 1) % 64, + } +end + +return lpm4 diff --git a/samples/vnf_samples/nsut/prox/tc_prox_baremetal_acl-2.yaml b/samples/vnf_samples/nsut/prox/tc_prox_baremetal_acl-2.yaml index 22216d108..d6b30a987 100644 --- a/samples/vnf_samples/nsut/prox/tc_prox_baremetal_acl-2.yaml +++ b/samples/vnf_samples/nsut/prox/tc_prox_baremetal_acl-2.yaml @@ -35,6 +35,8 @@ scenarios: options: vnf__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/handle_acl-2.cfg" prox_args: @@ -43,6 +45,8 @@ scenarios: "configs/acl_rules-2.lua": "" tg__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/gen_acl-2.cfg" prox_args: diff --git a/samples/vnf_samples/nsut/prox/tc_prox_baremetal_acl-4.yaml b/samples/vnf_samples/nsut/prox/tc_prox_baremetal_acl-4.yaml index 8c6d0a2d7..cf72113b7 100644 --- a/samples/vnf_samples/nsut/prox/tc_prox_baremetal_acl-4.yaml +++ b/samples/vnf_samples/nsut/prox/tc_prox_baremetal_acl-4.yaml @@ -35,6 +35,8 @@ scenarios: options: vnf__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/handle_acl-4.cfg" prox_args: @@ -43,6 +45,8 @@ scenarios: "configs/acl_rules-2.lua": "" tg__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/gen_acl-4.cfg" prox_args: diff --git a/samples/vnf_samples/nsut/prox/tc_prox_baremetal_bng-4.yaml b/samples/vnf_samples/nsut/prox/tc_prox_baremetal_bng-4.yaml index 1711c561a..cd5329a5d 100644 --- a/samples/vnf_samples/nsut/prox/tc_prox_baremetal_bng-4.yaml +++ b/samples/vnf_samples/nsut/prox/tc_prox_baremetal_bng-4.yaml @@ -30,16 +30,20 @@ scenarios: interface_speed_gbps: 10 vnf__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/handle_bng-4.cfg" prox_args: "-t": "" prox_files: "configs/gre_table.lua" : "" - "configs/ipv4.lua" : "" + "configs/ipv4_bng.lua" : "" prox_generate_parameter: True tg__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/gen_bng-4.cfg" prox_args: diff --git a/samples/vnf_samples/nsut/prox/tc_prox_baremetal_bng_qos-4.yaml b/samples/vnf_samples/nsut/prox/tc_prox_baremetal_bng_qos-4.yaml index a7d2d3846..873696f93 100644 --- a/samples/vnf_samples/nsut/prox/tc_prox_baremetal_bng_qos-4.yaml +++ b/samples/vnf_samples/nsut/prox/tc_prox_baremetal_bng_qos-4.yaml @@ -30,17 +30,21 @@ scenarios: interface_speed_gbps: 10 vnf__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/handle_bng_qos-4.cfg" prox_args: "-t": "" prox_files: "configs/gre_table.lua" : "" - "configs/ipv4.lua" : "" + "configs/ipv4_bng.lua" : "" "configs/dscp.lua" : "" prox_generate_parameter: True tg__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/gen_bng_qos-4.cfg" prox_args: diff --git a/samples/vnf_samples/nsut/prox/tc_prox_baremetal_buffering-1.yaml b/samples/vnf_samples/nsut/prox/tc_prox_baremetal_buffering-1.yaml index 5cc4f3cc4..2f253b711 100644 --- a/samples/vnf_samples/nsut/prox/tc_prox_baremetal_buffering-1.yaml +++ b/samples/vnf_samples/nsut/prox/tc_prox_baremetal_buffering-1.yaml @@ -27,12 +27,16 @@ scenarios: options: vnf__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/handle_buffering-1.cfg" prox_args: "-t": "" tg__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/gen_buffering-1.cfg" prox_args: diff --git a/samples/vnf_samples/nsut/prox/tc_prox_baremetal_l2fwd-2.yaml b/samples/vnf_samples/nsut/prox/tc_prox_baremetal_l2fwd-2.yaml index 69778ed8c..e47bfadb8 100644 --- a/samples/vnf_samples/nsut/prox/tc_prox_baremetal_l2fwd-2.yaml +++ b/samples/vnf_samples/nsut/prox/tc_prox_baremetal_l2fwd-2.yaml @@ -29,12 +29,16 @@ scenarios: interface_speed_gbps: 10 vnf__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/handle_l2fwd-2.cfg" prox_args: "-t": "" tg__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/gen_l2fwd-2.cfg" prox_args: diff --git a/samples/vnf_samples/nsut/prox/tc_prox_baremetal_l2fwd-4.yaml b/samples/vnf_samples/nsut/prox/tc_prox_baremetal_l2fwd-4.yaml index 84edcd47d..405ab4534 100644 --- a/samples/vnf_samples/nsut/prox/tc_prox_baremetal_l2fwd-4.yaml +++ b/samples/vnf_samples/nsut/prox/tc_prox_baremetal_l2fwd-4.yaml @@ -29,18 +29,23 @@ scenarios: interface_speed_gbps: 10 vnf__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/handle_l2fwd-4.cfg" prox_args: "-t": "" tg__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/gen_l2fwd-4.cfg" prox_args: "-e": "" "-t": "" + runner: type: ProxDuration # sampling interval diff --git a/samples/vnf_samples/nsut/prox/tc_prox_baremetal_l2fwd_multiflow-2.yaml b/samples/vnf_samples/nsut/prox/tc_prox_baremetal_l2fwd_multiflow-2.yaml index 0354dc78c..916c80959 100644 --- a/samples/vnf_samples/nsut/prox/tc_prox_baremetal_l2fwd_multiflow-2.yaml +++ b/samples/vnf_samples/nsut/prox/tc_prox_baremetal_l2fwd_multiflow-2.yaml @@ -27,12 +27,16 @@ scenarios: options: vnf__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/handle_l2fwd_multiflow-2.cfg" prox_args: "-t": "" tg__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/gen_l2fwd_multiflow-2.cfg" prox_args: diff --git a/samples/vnf_samples/nsut/prox/tc_prox_baremetal_l2fwd_multiflow-4.yaml b/samples/vnf_samples/nsut/prox/tc_prox_baremetal_l2fwd_multiflow-4.yaml index ec49be722..c9eb556e4 100644 --- a/samples/vnf_samples/nsut/prox/tc_prox_baremetal_l2fwd_multiflow-4.yaml +++ b/samples/vnf_samples/nsut/prox/tc_prox_baremetal_l2fwd_multiflow-4.yaml @@ -27,12 +27,16 @@ scenarios: options: vnf__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/handle_l2fwd_multiflow-4.cfg" prox_args: "-t": "" tg__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/gen_l2fwd_multiflow-4.cfg" prox_args: diff --git a/samples/vnf_samples/nsut/prox/tc_prox_baremetal_l2fwd_pktTouch-2.yaml b/samples/vnf_samples/nsut/prox/tc_prox_baremetal_l2fwd_pktTouch-2.yaml index 8ee90ff93..b3a265bff 100644 --- a/samples/vnf_samples/nsut/prox/tc_prox_baremetal_l2fwd_pktTouch-2.yaml +++ b/samples/vnf_samples/nsut/prox/tc_prox_baremetal_l2fwd_pktTouch-2.yaml @@ -27,12 +27,16 @@ scenarios: options: vnf__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/handle_l2fwd_pktTouch-2.cfg" prox_args: "-t": "" tg__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/gen_l2fwd_pktTouch-2.cfg" prox_args: diff --git a/samples/vnf_samples/nsut/prox/tc_prox_baremetal_l2fwd_pktTouch-4.yaml b/samples/vnf_samples/nsut/prox/tc_prox_baremetal_l2fwd_pktTouch-4.yaml index 94f3a5629..6f6f87052 100644 --- a/samples/vnf_samples/nsut/prox/tc_prox_baremetal_l2fwd_pktTouch-4.yaml +++ b/samples/vnf_samples/nsut/prox/tc_prox_baremetal_l2fwd_pktTouch-4.yaml @@ -27,12 +27,16 @@ scenarios: options: vnf__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/handle_l2fwd_pktTouch-4.cfg" prox_args: "-t": "" tg__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/gen_l2fwd_pktTouch-4.cfg" prox_args: diff --git a/samples/vnf_samples/nsut/prox/tc_prox_baremetal_l3fwd-2.yaml b/samples/vnf_samples/nsut/prox/tc_prox_baremetal_l3fwd-2.yaml index 8d116bbde..c255a578c 100644 --- a/samples/vnf_samples/nsut/prox/tc_prox_baremetal_l3fwd-2.yaml +++ b/samples/vnf_samples/nsut/prox/tc_prox_baremetal_l3fwd-2.yaml @@ -27,6 +27,8 @@ scenarios: options: vnf__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/handle_l3fwd-2.cfg" prox_args: @@ -36,6 +38,8 @@ scenarios: prox_generate_parameter: True tg__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/gen_l3fwd-2.cfg" prox_args: diff --git a/samples/vnf_samples/nsut/prox/tc_prox_baremetal_l3fwd-4.yaml b/samples/vnf_samples/nsut/prox/tc_prox_baremetal_l3fwd-4.yaml index af69ab518..3e6d344f3 100644 --- a/samples/vnf_samples/nsut/prox/tc_prox_baremetal_l3fwd-4.yaml +++ b/samples/vnf_samples/nsut/prox/tc_prox_baremetal_l3fwd-4.yaml @@ -27,6 +27,8 @@ scenarios: options: vnf__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/handle_l3fwd-4.cfg" prox_args: @@ -36,6 +38,8 @@ scenarios: prox_generate_parameter: True tg__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/gen_l3fwd-4.cfg" prox_args: diff --git a/samples/vnf_samples/nsut/prox/tc_prox_baremetal_lb-4.yaml b/samples/vnf_samples/nsut/prox/tc_prox_baremetal_lb-4.yaml index c1969d441..5af76e085 100644 --- a/samples/vnf_samples/nsut/prox/tc_prox_baremetal_lb-4.yaml +++ b/samples/vnf_samples/nsut/prox/tc_prox_baremetal_lb-4.yaml @@ -32,6 +32,8 @@ scenarios: options: vnf__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/handle_lb-4.cfg" prox_args: @@ -40,6 +42,8 @@ scenarios: "configs/tuples.lua": "" tg__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/gen_lb-4.cfg" prox_args: diff --git a/samples/vnf_samples/nsut/prox/tc_prox_baremetal_lw_aftr-4.yaml b/samples/vnf_samples/nsut/prox/tc_prox_baremetal_lw_aftr-4.yaml index c190910c9..2691eaf84 100644 --- a/samples/vnf_samples/nsut/prox/tc_prox_baremetal_lw_aftr-4.yaml +++ b/samples/vnf_samples/nsut/prox/tc_prox_baremetal_lw_aftr-4.yaml @@ -27,6 +27,8 @@ scenarios: options: vnf__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/handle_lw_aftr-4.cfg" prox_args: @@ -35,6 +37,8 @@ scenarios: "configs/ip6_tun_bind_65k.lua" : "" tg__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/gen_lw_aftr-4.cfg" prox_args: diff --git a/samples/vnf_samples/nsut/prox/tc_prox_baremetal_mpls_tagging-2.yaml b/samples/vnf_samples/nsut/prox/tc_prox_baremetal_mpls_tagging-2.yaml index e74e59ada..7084fc10c 100644 --- a/samples/vnf_samples/nsut/prox/tc_prox_baremetal_mpls_tagging-2.yaml +++ b/samples/vnf_samples/nsut/prox/tc_prox_baremetal_mpls_tagging-2.yaml @@ -27,12 +27,16 @@ scenarios: options: vnf__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/handle_mpls_tag_untag-2.cfg" prox_args: "-t": "" tg__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/gen_mpls_tag_untag-2.cfg" prox_args: diff --git a/samples/vnf_samples/nsut/prox/tc_prox_baremetal_mpls_tagging-4.yaml b/samples/vnf_samples/nsut/prox/tc_prox_baremetal_mpls_tagging-4.yaml index 9c5edc117..a314a0049 100644 --- a/samples/vnf_samples/nsut/prox/tc_prox_baremetal_mpls_tagging-4.yaml +++ b/samples/vnf_samples/nsut/prox/tc_prox_baremetal_mpls_tagging-4.yaml @@ -27,12 +27,16 @@ scenarios: options: vnf__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/handle_mpls_tag_untag-4.cfg" prox_args: "-t": "" tg__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/gen_mpls_tag_untag-4.cfg" prox_args: diff --git a/samples/vnf_samples/nsut/prox/tc_prox_baremetal_ramp-2.yaml b/samples/vnf_samples/nsut/prox/tc_prox_baremetal_ramp-2.yaml index 1cf9d809d..deb8e374e 100644 --- a/samples/vnf_samples/nsut/prox/tc_prox_baremetal_ramp-2.yaml +++ b/samples/vnf_samples/nsut/prox/tc_prox_baremetal_ramp-2.yaml @@ -27,12 +27,16 @@ scenarios: options: vnf__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/handle_none-2.cfg" prox_args: "-t": "" tg__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/gen_all-2.cfg" prox_args: diff --git a/samples/vnf_samples/nsut/prox/tc_prox_baremetal_vpe-4.yaml b/samples/vnf_samples/nsut/prox/tc_prox_baremetal_vpe-4.yaml index 7b64f21bc..abb74ec0a 100644 --- a/samples/vnf_samples/nsut/prox/tc_prox_baremetal_vpe-4.yaml +++ b/samples/vnf_samples/nsut/prox/tc_prox_baremetal_vpe-4.yaml @@ -27,6 +27,8 @@ scenarios: options: vnf__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/handle_vpe-4.cfg" prox_args: @@ -40,6 +42,8 @@ scenarios: prox_generate_parameter: True tg__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/gen_vpe-4.cfg" prox_args: diff --git a/samples/vnf_samples/nsut/prox/tc_prox_heat_context_acl-2.yaml b/samples/vnf_samples/nsut/prox/tc_prox_heat_context_acl-2.yaml index e8701638b..a1f61a479 100644 --- a/samples/vnf_samples/nsut/prox/tc_prox_heat_context_acl-2.yaml +++ b/samples/vnf_samples/nsut/prox/tc_prox_heat_context_acl-2.yaml @@ -35,6 +35,8 @@ scenarios: options: vnf__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/handle_acl-2.cfg" prox_args: @@ -43,6 +45,8 @@ scenarios: "configs/acl_rules-2.lua" : "" tg__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/gen_acl-2.cfg" prox_args: diff --git a/samples/vnf_samples/nsut/prox/tc_prox_heat_context_acl-4.yaml b/samples/vnf_samples/nsut/prox/tc_prox_heat_context_acl-4.yaml index eaa940185..816ff493e 100644 --- a/samples/vnf_samples/nsut/prox/tc_prox_heat_context_acl-4.yaml +++ b/samples/vnf_samples/nsut/prox/tc_prox_heat_context_acl-4.yaml @@ -35,6 +35,8 @@ scenarios: options: vnf__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/handle_acl-4.cfg" prox_args: @@ -42,6 +44,8 @@ scenarios: prox_files: "configs/acl_rules-2.lua" tg__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/gen_acl-4.cfg" prox_args: diff --git a/samples/vnf_samples/nsut/prox/tc_prox_heat_context_bng-4.yaml b/samples/vnf_samples/nsut/prox/tc_prox_heat_context_bng-4.yaml index e4cd546bc..54c333cba 100644 --- a/samples/vnf_samples/nsut/prox/tc_prox_heat_context_bng-4.yaml +++ b/samples/vnf_samples/nsut/prox/tc_prox_heat_context_bng-4.yaml @@ -30,16 +30,20 @@ scenarios: interface_speed_gbps: 10 vnf__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/handle_bng-4.cfg" prox_args: "-t": "" prox_files: "configs/gre_table.lua" : "" - "configs/ipv4.lua" : "" + "configs/ipv4_bng.lua" : "" prox_generate_parameter: True tg__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/gen_bng-4.cfg" prox_args: diff --git a/samples/vnf_samples/nsut/prox/tc_prox_heat_context_bng_qos-4.yaml b/samples/vnf_samples/nsut/prox/tc_prox_heat_context_bng_qos-4.yaml index 60002f0b1..549af6827 100644 --- a/samples/vnf_samples/nsut/prox/tc_prox_heat_context_bng_qos-4.yaml +++ b/samples/vnf_samples/nsut/prox/tc_prox_heat_context_bng_qos-4.yaml @@ -30,17 +30,21 @@ scenarios: interface_speed_gbps: 10 vnf__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/handle_bng_qos-4.cfg" prox_args: "-t": "" prox_files: "configs/gre_table.lua" : "" - "configs/ipv4.lua" : "" + "configs/ipv4_bng.lua" : "" "configs/dscp.lua" : "" prox_generate_parameter: True tg__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/gen_bng_qos-4.cfg" prox_args: diff --git a/samples/vnf_samples/nsut/prox/tc_prox_heat_context_buffering-1.yaml b/samples/vnf_samples/nsut/prox/tc_prox_heat_context_buffering-1.yaml index 31b872dd4..52a044913 100644 --- a/samples/vnf_samples/nsut/prox/tc_prox_heat_context_buffering-1.yaml +++ b/samples/vnf_samples/nsut/prox/tc_prox_heat_context_buffering-1.yaml @@ -27,12 +27,16 @@ scenarios: options: vnf__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/handle_buffering-1.cfg" prox_args: "-t": "" tg__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/gen_buffering-1.cfg" prox_args: diff --git a/samples/vnf_samples/nsut/prox/tc_prox_heat_context_l2fwd-2.yaml b/samples/vnf_samples/nsut/prox/tc_prox_heat_context_l2fwd-2.yaml index 68218f312..37235f052 100644 --- a/samples/vnf_samples/nsut/prox/tc_prox_heat_context_l2fwd-2.yaml +++ b/samples/vnf_samples/nsut/prox/tc_prox_heat_context_l2fwd-2.yaml @@ -27,12 +27,16 @@ scenarios: options: vnf__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/handle_l2fwd-2.cfg" prox_args: "-t": "" tg__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/gen_l2fwd-2.cfg" prox_args: diff --git a/samples/vnf_samples/nsut/prox/tc_prox_heat_context_l2fwd-4.yaml b/samples/vnf_samples/nsut/prox/tc_prox_heat_context_l2fwd-4.yaml index 55f794325..9079a705a 100644 --- a/samples/vnf_samples/nsut/prox/tc_prox_heat_context_l2fwd-4.yaml +++ b/samples/vnf_samples/nsut/prox/tc_prox_heat_context_l2fwd-4.yaml @@ -27,12 +27,16 @@ scenarios: options: vnf__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/handle_l2fwd-4.cfg" prox_args: "-t": "" tg__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/gen_l2fwd-4.cfg" prox_args: diff --git a/samples/vnf_samples/nsut/prox/tc_prox_heat_context_l2fwd_multiflow-2.yaml b/samples/vnf_samples/nsut/prox/tc_prox_heat_context_l2fwd_multiflow-2.yaml index 776ddf1d2..10e655687 100644 --- a/samples/vnf_samples/nsut/prox/tc_prox_heat_context_l2fwd_multiflow-2.yaml +++ b/samples/vnf_samples/nsut/prox/tc_prox_heat_context_l2fwd_multiflow-2.yaml @@ -27,12 +27,16 @@ scenarios: options: vnf__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/handle_l2fwd_multiflow-2.cfg" prox_args: "-t": "" tg__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/gen_l2fwd_multiflow-2.cfg" prox_args: diff --git a/samples/vnf_samples/nsut/prox/tc_prox_heat_context_l2fwd_multiflow-4.yaml b/samples/vnf_samples/nsut/prox/tc_prox_heat_context_l2fwd_multiflow-4.yaml index 4a20fad84..807ee20e7 100644 --- a/samples/vnf_samples/nsut/prox/tc_prox_heat_context_l2fwd_multiflow-4.yaml +++ b/samples/vnf_samples/nsut/prox/tc_prox_heat_context_l2fwd_multiflow-4.yaml @@ -27,12 +27,16 @@ scenarios: options: vnf__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/handle_l2fwd_multiflow-4.cfg" prox_args: "-t": "" tg__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/gen_l2fwd_multiflow-4.cfg" prox_args: diff --git a/samples/vnf_samples/nsut/prox/tc_prox_heat_context_l2fwd_pktTouch-2.yaml b/samples/vnf_samples/nsut/prox/tc_prox_heat_context_l2fwd_pktTouch-2.yaml index db140d3ed..f761cc805 100644 --- a/samples/vnf_samples/nsut/prox/tc_prox_heat_context_l2fwd_pktTouch-2.yaml +++ b/samples/vnf_samples/nsut/prox/tc_prox_heat_context_l2fwd_pktTouch-2.yaml @@ -27,12 +27,16 @@ scenarios: options: vnf__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/handle_l2fwd_pktTouch-2.cfg" prox_args: "-t": "" tg__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/gen_l2fwd_pktTouch-2.cfg" prox_args: diff --git a/samples/vnf_samples/nsut/prox/tc_prox_heat_context_l2fwd_pktTouch-4.yaml b/samples/vnf_samples/nsut/prox/tc_prox_heat_context_l2fwd_pktTouch-4.yaml index a3ac21a59..29205480e 100644 --- a/samples/vnf_samples/nsut/prox/tc_prox_heat_context_l2fwd_pktTouch-4.yaml +++ b/samples/vnf_samples/nsut/prox/tc_prox_heat_context_l2fwd_pktTouch-4.yaml @@ -27,12 +27,16 @@ scenarios: options: vnf__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/handle_l2fwd_pktTouch-4.cfg" prox_args: "-t": "" tg__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/gen_l2fwd_pktTouch-4.cfg" prox_args: diff --git a/samples/vnf_samples/nsut/prox/tc_prox_heat_context_l3fwd-2.yaml b/samples/vnf_samples/nsut/prox/tc_prox_heat_context_l3fwd-2.yaml index 5003ef66c..cd600135f 100644 --- a/samples/vnf_samples/nsut/prox/tc_prox_heat_context_l3fwd-2.yaml +++ b/samples/vnf_samples/nsut/prox/tc_prox_heat_context_l3fwd-2.yaml @@ -27,6 +27,8 @@ scenarios: options: vnf__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/handle_l3fwd-2.cfg" prox_args: @@ -36,6 +38,8 @@ scenarios: prox_generate_parameter: True tg__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/gen_l3fwd-2.cfg" prox_args: diff --git a/samples/vnf_samples/nsut/prox/tc_prox_heat_context_l3fwd-4.yaml b/samples/vnf_samples/nsut/prox/tc_prox_heat_context_l3fwd-4.yaml index 7d7d2b02a..86e6a31ec 100644 --- a/samples/vnf_samples/nsut/prox/tc_prox_heat_context_l3fwd-4.yaml +++ b/samples/vnf_samples/nsut/prox/tc_prox_heat_context_l3fwd-4.yaml @@ -27,6 +27,8 @@ scenarios: options: vnf__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/handle_l3fwd-4.cfg" prox_args: @@ -36,6 +38,8 @@ scenarios: prox_generate_parameter: True tg__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/gen_l3fwd-4.cfg" prox_args: diff --git a/samples/vnf_samples/nsut/prox/tc_prox_heat_context_lb-4.yaml b/samples/vnf_samples/nsut/prox/tc_prox_heat_context_lb-4.yaml index c34b4d99a..b00c79230 100644 --- a/samples/vnf_samples/nsut/prox/tc_prox_heat_context_lb-4.yaml +++ b/samples/vnf_samples/nsut/prox/tc_prox_heat_context_lb-4.yaml @@ -27,6 +27,8 @@ scenarios: options: vnf__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/handle_lb-4.cfg" prox_args: @@ -35,6 +37,8 @@ scenarios: "configs/tuples.lua": "" tg__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/gen_lb-4.cfg" prox_args: diff --git a/samples/vnf_samples/nsut/prox/tc_prox_heat_context_lw_aftr-4.yaml b/samples/vnf_samples/nsut/prox/tc_prox_heat_context_lw_aftr-4.yaml index 2aa5cebe3..595b137e1 100644 --- a/samples/vnf_samples/nsut/prox/tc_prox_heat_context_lw_aftr-4.yaml +++ b/samples/vnf_samples/nsut/prox/tc_prox_heat_context_lw_aftr-4.yaml @@ -27,6 +27,8 @@ scenarios: options: vnf__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/handle_lw_aftr-4.cfg" prox_args: @@ -35,6 +37,8 @@ scenarios: "configs/ip6_tun_bind_65k.lua" : "" tg__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/gen_lw_aftr-4.cfg" prox_args: diff --git a/samples/vnf_samples/nsut/prox/tc_prox_heat_context_mpls_tagging-2.yaml b/samples/vnf_samples/nsut/prox/tc_prox_heat_context_mpls_tagging-2.yaml index e5e94ad29..71795146f 100644 --- a/samples/vnf_samples/nsut/prox/tc_prox_heat_context_mpls_tagging-2.yaml +++ b/samples/vnf_samples/nsut/prox/tc_prox_heat_context_mpls_tagging-2.yaml @@ -27,12 +27,16 @@ scenarios: options: vnf__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/handle_mpls_tag_untag-2.cfg" prox_args: "-t": "" tg__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/gen_mpls_tag_untag-2.cfg" prox_args: diff --git a/samples/vnf_samples/nsut/prox/tc_prox_heat_context_mpls_tagging-4.yaml b/samples/vnf_samples/nsut/prox/tc_prox_heat_context_mpls_tagging-4.yaml index 24f7ce4b7..41567018a 100644 --- a/samples/vnf_samples/nsut/prox/tc_prox_heat_context_mpls_tagging-4.yaml +++ b/samples/vnf_samples/nsut/prox/tc_prox_heat_context_mpls_tagging-4.yaml @@ -27,12 +27,16 @@ scenarios: options: vnf__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/handle_mpls_tag_untag-4.cfg" prox_args: "-t": "" tg__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/gen_mpls_tag_untag-4.cfg" prox_args: diff --git a/samples/vnf_samples/nsut/prox/tc_prox_heat_context_vpe-4.yaml b/samples/vnf_samples/nsut/prox/tc_prox_heat_context_vpe-4.yaml index 29277ca94..6683b6048 100644 --- a/samples/vnf_samples/nsut/prox/tc_prox_heat_context_vpe-4.yaml +++ b/samples/vnf_samples/nsut/prox/tc_prox_heat_context_vpe-4.yaml @@ -27,6 +27,8 @@ scenarios: options: vnf__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/handle_vpe-4.cfg" prox_args: @@ -40,6 +42,8 @@ scenarios: prox_generate_parameter: True tg__0: + collectd: + interval: 1 prox_path: /opt/nsb_bin/prox prox_config: "configs/gen_vpe-4.cfg" prox_args: diff --git a/samples/vnf_samples/nsut/udp_replay/tc_ovs_rfc2544_ipv4_1rule_64B_trex.yaml b/samples/vnf_samples/nsut/udp_replay/tc_ovs_rfc2544_ipv4_1rule_64B_trex.yaml index bea9c8261..86c8f6ea8 100644 --- a/samples/vnf_samples/nsut/udp_replay/tc_ovs_rfc2544_ipv4_1rule_64B_trex.yaml +++ b/samples/vnf_samples/nsut/udp_replay/tc_ovs_rfc2544_ipv4_1rule_64B_trex.yaml @@ -1,4 +1,4 @@ -# Copyright (c) 2016-2017 Intel Corporation +# Copyright (c) 2016-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. @@ -19,7 +19,7 @@ scenarios: traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml topology: udp_replay-vnf-topology.yaml nodes: - tg__0: tg__0.yardstick + tg__0: trafficgen_1.yardstick vnf__0: vnf__0.yardstick options: framesize: @@ -41,7 +41,7 @@ scenarios: contexts: - name: yardstick type: Node - file: /etc/yardstick/nodes/standalone/pod_trex.yaml + file: /etc/yardstick/nodes/standalone/trex_bm.yaml - type: StandaloneOvsDpdk name: yardstick file: /etc/yardstick/nodes/standalone/pod_ovs.yaml @@ -58,8 +58,8 @@ contexts: vpath: "/usr/local" flavor: - images: "/var/lib/libvirt/images/ubuntu.qcow2" - ram: 4096 + images: "/var/lib/libvirt/images/yardstick-nsb-image.img" + ram: 16384 extra_specs: hw:cpu_sockets: 1 hw:cpu_cores: 7 diff --git a/samples/vnf_samples/nsut/udp_replay/tc_sriov_rfc2544_ipv4_1rule_64B_trex.yaml b/samples/vnf_samples/nsut/udp_replay/tc_sriov_rfc2544_ipv4_1rule_64B_trex.yaml index 0867d6b51..f9bc8119e 100644 --- a/samples/vnf_samples/nsut/udp_replay/tc_sriov_rfc2544_ipv4_1rule_64B_trex.yaml +++ b/samples/vnf_samples/nsut/udp_replay/tc_sriov_rfc2544_ipv4_1rule_64B_trex.yaml @@ -1,4 +1,4 @@ -# Copyright (c) 2016-2017 Intel Corporation +# Copyright (c) 2016-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. @@ -19,8 +19,8 @@ scenarios: traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml topology: udp_replay-vnf-topology.yaml nodes: - tg__0: tg__0.yardstick - vnf__0: vnf.yardstick + tg__0: trafficgen_1.yardstick + vnf__0: vnf__0.yardstick options: framesize: uplink: {64B: 100} @@ -41,14 +41,14 @@ scenarios: contexts: - name: yardstick type: Node - file: /etc/yardstick/nodes/standalone/pod_trex.yaml + file: /etc/yardstick/nodes/standalone/trex_bm.yaml - type: StandaloneSriov file: /etc/yardstick/nodes/standalone/host_sriov.yaml name: yardstick vm_deploy: True flavor: - images: "/var/lib/libvirt/images/ubuntu.qcow2" - ram: 4096 + images: "/var/lib/libvirt/images/yardstick-nsb-image.img" + ram: 16384 extra_specs: hw:cpu_sockets: 1 hw:cpu_cores: 7 @@ -56,7 +56,7 @@ contexts: user: "" password: "" servers: - vnf: + vnf__0: network_ports: mgmt: cidr: '1.1.1.61/24' diff --git a/samples/vnf_samples/nsut/vepc/landslide_tg_topology.yaml b/samples/vnf_samples/nsut/vepc/landslide_tg_topology.yaml new file mode 100644 index 000000000..ccf496bf9 --- /dev/null +++ b/samples/vnf_samples/nsut/vepc/landslide_tg_topology.yaml @@ -0,0 +1,50 @@ +# 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 implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +nsd:nsd-catalog: + nsd: + - id: landslide-tg-topology + name: landslide-tg-topology + short-name: landslide-tg-topology + description: landslide-tg-topology + constituent-vnfd: + - member-vnf-index: '1' + vnfd-id-ref: tg__0 + VNF model: ../../vnf_descriptors/tg_landslide_tpl.yaml #TG type + - member-vnf-index: '2' + vnfd-id-ref: vnf__0 + VNF model: ../../vnf_descriptors/tg_landslide_tpl.yaml #VNF type: Emulated vEPC + + vld: + - id: uplink_0 + name: tg__0 to vnf__0 link 1 + type: ELAN + vnfd-connection-point-ref: + - member-vnf-index-ref: '1' + vnfd-connection-point-ref: xe0 + vnfd-id-ref: tg__0 + - member-vnf-index-ref: '2' + vnfd-connection-point-ref: xe0 + vnfd-id-ref: vnf__0 + + - id: downlink_0 + name: vnf__0 to tg__0 link 2 + type: ELAN + vnfd-connection-point-ref: + - member-vnf-index-ref: '2' + vnfd-connection-point-ref: xe1 + vnfd-id-ref: vnf__0 + - member-vnf-index-ref: '1' + vnfd-connection-point-ref: xe1 + vnfd-id-ref: tg__0 diff --git a/samples/vnf_samples/nsut/vepc/tc_epc_default_bearer_create_landslide.yaml b/samples/vnf_samples/nsut/vepc/tc_epc_default_bearer_create_landslide.yaml new file mode 100644 index 000000000..0b94d313f --- /dev/null +++ b/samples/vnf_samples/nsut/vepc/tc_epc_default_bearer_create_landslide.yaml @@ -0,0 +1,57 @@ +# 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 implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +--- +schema: yardstick:task:0.1 +description: > + UE default bearer creation test case. Measure successful default bearer + creation rate, total number of active bearer per server. + +scenarios: +- type: NSPerf + traffic_profile: "../../traffic_profiles/landslide/landslide_dmf_udp.yaml" + session_profile: "../../traffic_profiles/landslide/landslide_session_default_bearer.yaml" + topology: "vepc_vnf_topology_landslide.yaml" + nodes: + tg__0: tg__0.traffic_gen + vnf__0: vnf__0.vnf_epc + options: + dmf: + transactionRate: 5 + packetSize: 512 + test_cases: # test case parameters to apply on session profile + - type: SGW_Node # test type from test session profile + AssociatedPhys: 'eth6' # interface(s) in Node test type to loop traffic back from NetHost + BearerAddrPool: 2001::1 + BearerV4AddrPool: 1.0.0.1 + FireballEn: 'false' + Sessions: '20000' + - type: SGW_Nodal # test type from test session profile + StartRate: '1000.0' + DisconnectRate: '1000.0' + FireballEn: 'false' + Sessions: '20000' + + runner: + type: Duration + duration: 200 + interval: 5 + +contexts: +- name: traffic_gen + type: Node + file: /etc/yardstick/nodes/pod_landslide.yaml +- name: vnf_epc + type: Node + file: /etc/yardstick/nodes/pod_vepc_sut.yaml diff --git a/samples/vnf_samples/nsut/vepc/tc_epc_default_bearer_create_landslide_multi_dmf.yaml b/samples/vnf_samples/nsut/vepc/tc_epc_default_bearer_create_landslide_multi_dmf.yaml new file mode 100644 index 000000000..76567062a --- /dev/null +++ b/samples/vnf_samples/nsut/vepc/tc_epc_default_bearer_create_landslide_multi_dmf.yaml @@ -0,0 +1,57 @@ +# 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 implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +--- +schema: yardstick:task:0.1 +description: > + UE default bearer creation test case. Measure successful default bearer + creation rate, total number of active bearer per server. + +scenarios: +- type: NSPerf + traffic_profile: "../../traffic_profiles/landslide/landslide_dmf_udp_tcp.yaml" + session_profile: "../../traffic_profiles/landslide/landslide_session_default_bearer_multi_dmf.yaml" + topology: "vepc_vnf_topology_landslide.yaml" + nodes: + tg__0: tg__0.traffic_gen + vnf__0: vnf__0.vnf_epc + options: + dmf: + - transactionRate: 5 + packetSize: 512 + - transactionRate: 5 + packetSize: 1518 + test_cases: # test case parameters to apply on session profile + - type: SGW_Node # test type from test session profile + AssociatedPhys: 'eth6' # interface(s) in Node test type to loop traffic back from NetHost + BearerAddrPool: 2001::1 + BearerV4AddrPool: 1.0.0.1 + Sessions: '20000' + - type: SGW_Nodal # test type from test session profile + StartRate: '1000.0' + DisconnectRate: '1000.0' + Sessions: '20000' + + runner: + type: Duration + duration: 300 + interval: 5 + +contexts: +- name: traffic_gen + type: Node + file: /etc/yardstick/nodes/pod_landslide.yaml +- name: vnf_epc + type: Node + file: /etc/yardstick/nodes/pod_vepc_sut.yaml diff --git a/samples/vnf_samples/nsut/vepc/tc_epc_network_dedicated_bearer_create_landslide.yaml b/samples/vnf_samples/nsut/vepc/tc_epc_network_dedicated_bearer_create_landslide.yaml new file mode 100644 index 000000000..65f58bd0d --- /dev/null +++ b/samples/vnf_samples/nsut/vepc/tc_epc_network_dedicated_bearer_create_landslide.yaml @@ -0,0 +1,164 @@ +# 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 implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +--- +schema: yardstick:task:0.1 +description: > + NW triggered dedicated bearer creation test case. Measure successful dedicated bearers + creation rate, total number of active bearer per server. + +scenarios: +- type: NSPerf + traffic_profile: "../../traffic_profiles/landslide/landslide_dmf_udp.yaml" + session_profile: "../../traffic_profiles/landslide/landslide_session_network_dedicated_bearer.yaml" + topology: "vepc_vnf_topology_landslide.yaml" + nodes: + tg__0: tg__0.traffic_gen + vnf__0: vnf__0.vnf_epc + options: + dmf: + transactionRate: 5 + packetSize: 512 + burstCount: 1 # Applies only to Basic UDP DMF, DataProtocol==udp + test_cases: # test case parameters to apply on session profile + - type: SGW_Node # test type from test session profile + AssociatedPhys: 'eth6' # interface(s) in Node test type to loop traffic back from NetHost + BearerAddrPool: 2001::1 + BearerV4AddrPool: 1.0.0.1 + Sessions: 50000 + UeInitBearerEn: 'false' + DedicatedsPerDefaultBearer: 1 # number of dedicated bearers per default + DefaultBearers: 1 # number of default bearers + FireballEn: 'false' # Fireball settings + + # APN settings (number of APNs and APN's names) + Gtp2ApnNumSpecifiedApns_0: '1' + Gtp2ApnSpecified_0: + array: [dummy.an] + class: Array + + - type: PGW_Node # test type from test session profile + BearerAddrPool: 2001::1 + BearerV4AddrPool: 1.0.0.1 + Sessions: 50000 + DedicatedsPerDefaultBearer: 1 # number of dedicated bearers per default + DefaultBearers: 1 # number of default bearers + FireballEn: 'false' # Fireball settings + + # APN settings (number of APNs and APN's names) + Gtp2ApnNumSpecifiedApns_0: '1' + Gtp2ApnSpecified_0: + class: Array + array: [dummy.an] + + - type: SGW_Nodal # test type from test session profile + StartRate: '1000.0' + DisconnectRate: '1000.0' + Sessions: 50000 + UeInitBearerEn: 'false' + DedicatedsPerDefaultBearer: 1 # number of dedicated bearers per default + DefaultBearers: 1 # number of default bearers + PgwNodeEn: 'false' # Emulate PGW Node + FireballEn: 'false' # Fireball settings + + # APN settings (number of APNs and APN's names) + Gtp2ApnNumSpecifiedApns_0: '1' + Gtp2ApnSpecified_0: + class: Array + array: [dummy.an] + + # Creation delay individually for each dedicated bearer + # Array items specifies timeout between default and dedicated bearers creation + # Array items corresponds to specific dedicated bearer + ConnectBearerDelay: + class: Array + array: ['1'] + + - type: PCRF_Node # test type from test session profile + Sessions: 50000 + DisconnectRate: '1000' + + # Starting IP address + StartingMsIpAddr: 1.0.0.1 + + # APN settings (APN's Names) + TyCcSrvApns: + class: Array + array: [dummy.an] + + # Timer column (in seconds) + # Value specifies timeout after which dedicated bearer will be created + # None-zero timeout corresponds to dedicated bearer, zero timeout - to default bearer + TyCcV4SrvRuleInterval_1: '10' # APN1 dedicated bearer + TyCcV4SrvRuleInterval_2: '0' # APN1 default bearer + + # QoS Class ID + # Name Pattern: TyCcV4SrvCrQci_<RULE_SET_NUM>_<CHAR_RULE_NUM>_<RULE_DEF_NUM> + TyCcV4SrvCrQci_1_1_1: '1' # QCI of dedicated bearer + + # Dedicated bearer Uplink/Downlink Bandwidth settings + # Name Pattern: TyCcV4SrvPrMaxUL_<RULE_SET_NUM>_<CHAR_RULE_NUM>_<RULE_DEF_NUM> + # Name Pattern: TyCcV4SrvPrGuaranteedUplink_<RULE_SET_NUM>_<CHAR_RULE_NUM>_<RULE_DEF_NUM> + TyCcV4SrvPrMaxUL_1_1_1: '300' # Uplink Max Bandwidth + TyCcV4SrvPrMaxDL_1_1_1: '300' # Downlink Max Bandwidth + TyCcV4SrvPrGuaranteedUplink_1_1_1: '300' # Uplink Guaranteed Bandwidth + TyCcV4SrvPrGuaranteedDownlink_1_1_1: '300' # Downlink Guaranteed Bandwidth + + # Dedicated bearer ARP Rules + # Name Pattern: TyCcV4SrvPrArpEn_<RULE_SET_NUM>_<CHAR_RULE_NUM>_<RULE_DEF_NUM> + # Name Pattern: TyCcV4SrvPrArpValue_<RULE_SET_NUM>_<CHAR_RULE_NUM>_<RULE_DEF_NUM> + TyCcV4SrvPrArpEn_1_1_1: 'true' # Enable ARP Rules + TyCcV4SrvPrArpValue_1_1_1: '1' # ARP Value + TyCcV4SrvPrArpPreemptCapEn_1_1_1: 'true' # Enable Pre-emption Capability + TyCcV4SrvPrArpPreemptVulnEn_1_1_1: 'true' # Enable Pre-emption Vulnerability + + # Packet Filter Description + # Name Pattern: + # TyCcV4SrvCrFilter_<RULE_SET_NUM>_<CHAR_RULE_NUM>_<RULE_DEF_NUM>_<FILTER_NUM> + # To explicitly specify protocol number with decimal number, use following naming pattern: + # permit in <PROTOCOL_NUMBER> from + TyCcV4SrvCrFilter_1_1_1_1: permit in 17 from + + # Packet Filter Destination IP + # Name Pattern: + # TyCcV4SrvCrFilterDestIp_<RULE_SET_NUM>_<CHAR_RULE_NUM>_<RULE_DEF_NUM>_<FILTER_NUM> + # Parameter's value specifies filter's destination IP address and remote port range + TyCcV4SrvCrFilterDestIp_1_1_1_1: 0.0.0.0 0-65535 + + # Packet Filter IP Ext + # Name Pattern: + # TyCcV4SrvCrUserIpExt_<RULE_SET_NUM>_<CHAR_RULE_NUM>_<RULE_DEF_NUM>_<FILTER_NUM> + # Parameter's value specifies filter's local port range + TyCcV4SrvCrUserIpExt_1_1_1_1: 0-65535 + + # Packet Filter Flow Direction + # Name Pattern: + # TyCcV4SrvCrFilterDirection_<RULE_SET_NUM>_<CHAR_RULE_NUM>_<RULE_DEF_NUM>_<FILTER_NUM> + TyCcV4SrvCrFilterDirection_1_1_1_1: '3' # Bi-Directional + + # Diameter Transmission Protocol + TyCcSrvTcpProtocol: '1' # 0 - TCP, 1 - SCTP + + runner: + type: Duration + duration: 600 + interval: 5 + +contexts: +- name: traffic_gen + type: Node + file: /etc/yardstick/nodes/pod_landslide_network_dedicated.yaml +- name: vnf_epc + type: Node + file: /etc/yardstick/nodes/pod_vepc_sut.yaml diff --git a/samples/vnf_samples/nsut/vepc/tc_epc_network_service_request_landslide.yaml b/samples/vnf_samples/nsut/vepc/tc_epc_network_service_request_landslide.yaml new file mode 100644 index 000000000..55a96f4e4 --- /dev/null +++ b/samples/vnf_samples/nsut/vepc/tc_epc_network_service_request_landslide.yaml @@ -0,0 +1,67 @@ +# 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 implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +--- +schema: yardstick:task:0.1 +description: > + Downlink Data Notification from Network to UE that are in Idle state. + +scenarios: +- type: NSPerf + traffic_profile: "../../traffic_profiles/landslide/landslide_dmf_udp.yaml" + session_profile: "../../traffic_profiles/landslide/landslide_session_network_service_request.yaml" + topology: "vepc_vnf_topology_landslide.yaml" + nodes: + tg__0: tg__0.traffic_gen + vnf__0: vnf__0.vnf_epc + options: + dmf: + transactionRate: 0.1 + packetSize: 512 + burstCount: 1 # Applies only to Basic UDP DMF, DataProtocol==udp + test_cases: # test case parameters to apply on session profile + - type: SGW_Node # test type from test session profile + AssociatedPhys: 'eth6' + BearerAddrPool: 2001::1 + BearerV4AddrPool: 1.0.0.1 + Sessions: '20000' + - type: SGW_Nodal # test type from test session profile + StartRate: '1000.0' + DisconnectRate: '1000.0' + Sessions: '20000' + + # Configurations: + # 1. Specify continuous periodical events: UE goes to Idle state -> DL Data Notification + # E.g. Set Gtp2IdleEntryTime = 5 - UE goes to idle state after 5 seconds + # Set transactionRate = 0.1 - Send traffic periodically every 10 seconds + # 2. Set traffic run start delay + # E.g. Set Gtp2IdleEntryTime = 5 - UE goes to idle state after 5 seconds + # Set TrafficStartDelay with value greater that Gtp2IdleEntryTime + Gtp2IdleEntryTime: '5' # Idle Entry Time (s) + + # Downlink Data Notification settings + TrafficStartDelay: 1000 # Data Start Delay (ms) + + runner: + type: Duration + duration: 300 + interval: 5 + +contexts: +- name: traffic_gen + type: Node + file: /etc/yardstick/nodes/pod_landslide.yaml +- name: vnf_epc + type: Node + file: /etc/yardstick/nodes/pod_vepc_sut.yaml diff --git a/samples/vnf_samples/nsut/vepc/tc_epc_saegw_tput_relocation_landslide.yaml b/samples/vnf_samples/nsut/vepc/tc_epc_saegw_tput_relocation_landslide.yaml new file mode 100644 index 000000000..cece2a747 --- /dev/null +++ b/samples/vnf_samples/nsut/vepc/tc_epc_saegw_tput_relocation_landslide.yaml @@ -0,0 +1,62 @@ +# 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 implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +--- +schema: yardstick:task:0.1 +description: > + SAEGW throughput with relocation test case + +scenarios: +- type: NSPerf + traffic_profile: "../../traffic_profiles/landslide/landslide_dmf_udp.yaml" + session_profile: "../../traffic_profiles/landslide/landslide_session_saegw_relocation.yaml" + topology: "vepc_vnf_topology_landslide.yaml" + nodes: + tg__0: tg__0.traffic_gen + vnf__0: vnf__0.vnf_epc + options: + dmf: + transactionRate: 5 + packetSize: 512 + test_cases: # test case parameters to apply on session profile + - type: SGW_Node # test type from test session profile + AssociatedPhys: 'eth6' # interface(s) in Node test type to loop traffic back from NetHost + BearerAddrPool: 2001::1 + BearerV4AddrPool: 1.0.0.1 + Sessions: '20000' + - type: SGW_Nodal # test type from test session profile + StartRate: '1000.0' + DisconnectRate: '1000.0' + Sessions: '20000' + # Relocation settings + HandoffType: '0' # 0 - X2, 1 - S1, 2 - TAU/RAU + MobilityTimeMs: '10000' # Mobility Delay Time (ms) + StartType: When All Sessions Started # When All Sessions Started or When Session Started + SessionRetries: 'true' # Enable/disable Session Start Retries + MobilityRate: '120.0' # Mobility Rate + MobilityMode: Single Handoff # Handoff Mode: Single Handoff or Continuous Handoff + MobilityIntervalShape: Fixed # Mobility Rate Interval Distribution + + runner: + type: Duration + duration: 300 + interval: 5 + +contexts: +- name: traffic_gen + type: Node + file: /etc/yardstick/nodes/pod_landslide.yaml +- name: vnf_epc + type: Node + file: /etc/yardstick/nodes/pod_vepc_sut.yaml diff --git a/samples/vnf_samples/nsut/vepc/tc_epc_ue_dedicated_bearer_create_landslide.yaml b/samples/vnf_samples/nsut/vepc/tc_epc_ue_dedicated_bearer_create_landslide.yaml new file mode 100644 index 000000000..81a4149f8 --- /dev/null +++ b/samples/vnf_samples/nsut/vepc/tc_epc_ue_dedicated_bearer_create_landslide.yaml @@ -0,0 +1,74 @@ +# 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 implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +--- +schema: yardstick:task:0.1 +description: > + UE triggered dedicated bearer creation test case. Measure successful dedicated bearers + creation rate, total number of active bearer per server. + +scenarios: +- type: NSPerf + traffic_profile: "../../traffic_profiles/landslide/landslide_dmf_udp.yaml" + session_profile: "../../traffic_profiles/landslide/landslide_session_ue_dedicated_bearer.yaml" + topology: "vepc_vnf_topology_landslide.yaml" + nodes: + tg__0: tg__0.traffic_gen + vnf__0: vnf__0.vnf_epc + options: + dmf: + transactionRate: 5 + packetSize: 512 + burstCount: 1 # Applies only to Basic UDP DMF, DataProtocol==udp + test_cases: # test case parameters to apply on session profile + - type: SGW_Node # test type from test session profile + AssociatedPhys: 'eth6' # interface(s) in Node test type to loop traffic back from NetHost + BearerAddrPool: 2001::1 + BearerV4AddrPool: 1.0.0.1 + Sessions: '20000' + UeInitBearerEn: 'true' + DedicatedsPerDefaultBearer: 1 # number of dedicated bearers per default + DefaultBearers: 1 # number of default bearers + + # Fireball settings + FireballEn: 'false' + + - type: SGW_Nodal # test type from test session profile + StartRate: '1000.0' + DisconnectRate: '1000.0' + Sessions: '20000' + UeInitBearerEn: 'true' + DedicatedsPerDefaultBearer: '1' # number of dedicated bearers per default + DefaultBearers: '1' # number of default bearers + + # Connection delay individually for each dedicated bearer + ConnectBearerDelay: + class: Array + array: ['5'] + + # Fireball settings + FireballEn: 'false' + + runner: + type: Duration + duration: 300 + interval: 5 + +contexts: +- name: traffic_gen + type: Node + file: /etc/yardstick/nodes/pod_landslide.yaml +- name: vnf_epc + type: Node + file: /etc/yardstick/nodes/pod_vepc_sut.yaml diff --git a/samples/vnf_samples/nsut/vepc/tc_epc_ue_service_request_landslide.yaml b/samples/vnf_samples/nsut/vepc/tc_epc_ue_service_request_landslide.yaml new file mode 100644 index 000000000..eaf4ae99f --- /dev/null +++ b/samples/vnf_samples/nsut/vepc/tc_epc_ue_service_request_landslide.yaml @@ -0,0 +1,228 @@ +# 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 implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +--- +schema: yardstick:task:0.1 +description: > + UE triggered bearer modification request with new QoS and TFT settings + +scenarios: +- type: NSPerf + traffic_profile: "../../traffic_profiles/landslide/landslide_dmf_udp.yaml" + session_profile: "../../traffic_profiles/landslide/landslide_session_ue_service_request.yaml" + topology: "vepc_vnf_topology_landslide.yaml" + nodes: + tg__0: tg__0.traffic_gen + vnf__0: vnf__0.vnf_epc + options: + dmf: + transactionRate: 5 + packetSize: 512 + burstCount: 1 # Applies only to Basic UDP DMF, DataProtocol==udp + test_cases: # test case parameters to apply on session profile + - type: SGW_Node # test type from test session profile + AssociatedPhys: 'eth6' + BearerAddrPool: 2001::1 + BearerV4AddrPool: 1.0.0.1 + Sessions: '20000' + UeInitBearerEn: 'true' + DedicatedsPerDefaultBearer: 1 # number of dedicated bearers per default + DefaultBearers: 1 # number of default bearers + FireballEn: 'false' # Fireball settings + + # Number of TFTs + # Parameter name pattern: TrafficNumTftsForContext<DEDICATED_BEARER_INDEX> + TrafficNumTftsForContext0: '1' + + # TFT Settings + # Parameter name(s) depends on number of dedicated bearers and number of TFTs per bearer. + # Parameter naming pattern: "TrafficTftForContext<DEDICATED_BEARER_INDEX>_<TFT_INDEX>" + # E.g.: + # "TrafficTftForContext0_0" - dedicated bearer 1, 1st TFT + # "TrafficTftForContext0_1" - dedicated bearer 1, 2nd TFT + # "TrafficTftForContext1_0" - dedicated bearer 2, 1st TFT + TrafficTftForContext0_0: + array: + - '255' # Packet Evaluation Precedence + - '6' # Protocol Number + - '' + - '' # Starting Remote Port + - '' # Ending Remote Port + - '' # Remote Address + - '' # Starting Local Port + - '' # Ending Local Port + - '' # Type of Service + - '' # Mask + - '' # Security Parameter Index + - '' # Flow Label + - '' + - '' # Include In Bearer Modification Request + - '3' # Direction: 0 - Pre Rel 7, 1 - Downlink, 2 - Uplink, 3 - Bi-Directional + - '' + - '' + - '' + - '' + class: Array + + - type: SGW_Nodal # test type from test session profile + StartRate: '1000.0' + DisconnectRate: '1000.0' + Sessions: '20000' + UeInitBearerEn: 'true' + DedicatedsPerDefaultBearer: '1' # number of dedicated bearers per default + DefaultBearers: '1' # number of default bearers + FireballEn: 'false' # Fireball settings + + # Creation delay individually for each dedicated bearer + # Array items specifies timeout between default and dedicated bearers creation + # Array items corresponds to specific dedicated bearer: + # E.g. 1st item - 1st dedicated bearer, 2nd item - 2nd dedicated bearer, etc. + ConnectBearerDelay: + class: Array + array: ['1'] + + # Data start delay (ms) + TrafficStartDelay: 1000 + + # Number of TFTs + # Parameter name pattern: TrafficNumTftsForContext<DEDICATED_BEARER_INDEX> + TrafficNumTftsForContext0: '1' + + # TFT settings + # Parameter name(s) depends on number of dedicated bearers and number of TFTs per bearer. + # Parameter naming pattern: "TrafficTftForContext<DEDICATED_BEARER_INDEX>_<TFT_INDEX>" + # E.g.: + # "TrafficTftForContext0_0" - dedicated bearer 1, 1st TFT + # "TrafficTftForContext0_1" - dedicated bearer 1, 2nd TFT + # "TrafficTftForContext1_0" - dedicated bearer 2, 1st TFT + TrafficTftForContext0_0: + array: + - '255' # Packet Evaluation Precedence + - '6' # Protocol Number + - '' + - '' # Starting Remote Port + - '' # Ending Remote Port + - '' # Remote Address + - '' # Starting Local Port + - '' # Ending Local Port + - '' # Type of Service + - '' # Mask + - '' # Security Parameter Index + - '' # Flow Label + - '' + - '' # Include In Bearer Modification Request + - '3' # Direction: 0 - Pre Rel 7, 1 - Downlink, 2 - Uplink, 3 - Bi-Directional + - '' + - '' + - '' + - '' + class: Array + + # Bearers modification settings + # Dedicated bearers modification settings and TFT filters + Gtp2BearerModEn: 'true' # Enable/Disable bearer modification + Gtp2BearerModInit: 'UE' # Bearer modification initiator + Gtp2BearerDelayTime: '5' # Delay time (s) + Gtp2IncModQos_2: 'true' # Include QoS IE + Gtp2BearerContinuousMod: 'false' # Continuous modifications + # Operation code in TFT settings: + # Parameter name(s) depends on number of dedicated bearers + # Parameter naming pattern: "TrafficOpCodeForContext<DEDICATED_BEARER_INDEX>_2" + # E.g.: + # TrafficOpCodeForContext0_2 - operation code for 1st dedicated bearer's TFT + # TrafficOpCodeForContext1_2 - operation code for 2st dedicated bearer's TFT + # 1 - create new TFT + # 2 - delete existing TFT + # 3 - add packet filters to existing TFT + # 4 - replace packet filters in existing TFT + # 5 - delete packet filters from existing TFT + TrafficOpCodeForContext0_2: '1' + + # Number of TFTs + # Parameter name pattern: TrafficNumTftsForContext<DEDICATED_BEARER_INDEX>_2 + TrafficNumTftsForContext0_2: '1' + + # TFT settings + # Parameter name(s) depends on number of dedicated bearers and number of TFTs per bearer. + # Parameter naming pattern: "TrafficTftForContext<DEDICATED_BEARER_INDEX>_<TFT_INDEX>_2" + # E.g.: + # "TrafficTftForContext0_0" - dedicated bearer 1, 1st TFT + # "TrafficTftForContext0_1" - dedicated bearer 1, 2nd TFT + # "TrafficTftForContext1_0" - dedicated bearer 2, 1st TFT + TrafficTftForContext0_0_2: + class: Array + array: + - '255' # Packet Evaluation Precedence + - '17' # Protocol Number + - '' + - '2003' # Starting Remote Port + - '2003' # Ending Remote Port + - '' # Remote Address + - '2002' # Starting Local Port + - '2002' # Ending Local Port + - '' # Type of Service + - '' # Mask + - '' # Security Parameter Index + - '' # Flow Label + - '' + - 'true' # Include In Bearer Modification Request + - '3' # Direction: 0 - Pre Rel 7, 1 - Downlink, 2 - Uplink, 3 - Bi-Directional + - '' + - '' + - '' + - '' + + # Modified bearers QoS settings + Gtp2QosDetail_2: Individual # bearers QoS details (Summary, Individual, Per Bearer) + + # Parameter name(s) depends on number of dedicated bearers + # Parameter(s) naming pattern: "Gtp2QosClassId_2_<BEARER_INDEX>" + # E.g.: + # Gtp2QosClassId_2_1 - default bearer class identifier + # Gtp2QosClassId_2_2 - 1st dedicated bearer class identifier + # Gtp2QosClassId_2_3 - 2st dedicated bearer class identifier + # Modified default bearer settings + Gtp2QosClassId_2_1: '1' # Bearer class identifier + Gtp2QosArpValue_2_1: '1' # Bearer ARP priority level + Gtp2QosArpPreemptCapEn_2_1: 'false' # Pre-emption capability + Gtp2QosArpPreemptVulnEn_2_1: 'false' # Pre-emption vulnerability + Gtp2QosMaxUplink_2_1: '1000' # Uplink maximum bit rates (kb/s) + Gtp2QosMaxDownlink_2_1: '1000' # Downlink maximum bit rates (kb/s) + Gtp2QosGuarUplink_2_1: '1000' # Uplink guaranteed bit rates (kb/s) + Gtp2QosGuarDownlink_2_1: '1000' # Downlink guaranteed bit rates (kb/s) + + # Modified dedicated bearer settings + Gtp2QosClassId_2_2: '5' # Bearer class identifier + Gtp2QosArpValue_2_2: '1' # Bearer ARP priority level + Gtp2QosArpPreemptCapEn_2_2: 'false' # Pre-emption capability + Gtp2QosArpPreemptVulnEn_2_2: 'false' # Pre-emption vulnerability + + # Uncomment this settings in case Gtp2QosClassId_2_2 is equal to 1 + # Gtp2QosMaxUplink_2_2: '1000' # Uplink maximum bit rates (kb/s) + # Gtp2QosMaxDownlink_2_2: '1000' # Downlink maximum bit rates (kb/s) + # Gtp2QosGuarUplink_2_2: '1000' # Uplink guaranteed bit rates (kb/s) + # Gtp2QosGuarDownlink_2_2: '1000' # Downlink guaranteed bit rates (kb/s) + + runner: + type: Duration + duration: 300 + interval: 5 + +contexts: +- name: traffic_gen + type: Node + file: /etc/yardstick/nodes/pod_landslide.yaml +- name: vnf_epc + type: Node + file: /etc/yardstick/nodes/pod_vepc_sut.yaml diff --git a/samples/vnf_samples/nsut/vepc/vepc_vnf_topology_landslide.yaml b/samples/vnf_samples/nsut/vepc/vepc_vnf_topology_landslide.yaml new file mode 100644 index 000000000..f54cdaf81 --- /dev/null +++ b/samples/vnf_samples/nsut/vepc/vepc_vnf_topology_landslide.yaml @@ -0,0 +1,50 @@ +# 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 implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +nsd:nsd-catalog: + nsd: + - id: vEPC + name: vEPC + short-name: vEPC + description: vEPC VNF with Spirent landslide TG + constituent-vnfd: + - member-vnf-index: '1' + vnfd-id-ref: tg__0 + VNF model: ../../vnf_descriptors/tg_landslide_tpl.yaml #TG type + - member-vnf-index: '2' + vnfd-id-ref: vnf__0 + VNF model: ../../vnf_descriptors/vepc_vnf.yaml #VNF type + + vld: + - id: uplink_0 + name: tg__0 to vnf__0 link 1 + type: ELAN + vnfd-connection-point-ref: + - member-vnf-index-ref: '1' + vnfd-connection-point-ref: xe0 + vnfd-id-ref: tg__0 + - member-vnf-index-ref: '2' + vnfd-connection-point-ref: xe0 + vnfd-id-ref: vnf__0 + + - id: downlink_0 + name: vnf__0 to tg__0 link 2 + type: ELAN + vnfd-connection-point-ref: + - member-vnf-index-ref: '2' + vnfd-connection-point-ref: xe1 + vnfd-id-ref: vnf__0 + - member-vnf-index-ref: '1' + vnfd-connection-point-ref: xe1 + vnfd-id-ref: tg__0 diff --git a/samples/vnf_samples/nsut/vfw/tc_ovs_rfc2544_ipv4_1rule_1flow_64B_trex.yaml b/samples/vnf_samples/nsut/vfw/tc_ovs_rfc2544_ipv4_1rule_1flow_64B_trex.yaml index 6b9ccb111..4aeadc6db 100644 --- a/samples/vnf_samples/nsut/vfw/tc_ovs_rfc2544_ipv4_1rule_1flow_64B_trex.yaml +++ b/samples/vnf_samples/nsut/vfw/tc_ovs_rfc2544_ipv4_1rule_1flow_64B_trex.yaml @@ -1,4 +1,4 @@ -# Copyright (c) 2016-2017 Intel Corporation +# Copyright (c) 2016-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. @@ -19,7 +19,7 @@ scenarios: traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml topology: vfw-tg-topology.yaml nodes: - tg__0: tg__0.yardstick + tg__0: trafficgen_1.yardstick vnf__0: vnf__0.yardstick options: framesize: @@ -42,7 +42,7 @@ scenarios: contexts: - name: yardstick type: Node - file: /etc/yardstick/nodes/standalone/pod_trex.yaml + file: /etc/yardstick/nodes/standalone/trex_bm.yaml - type: StandaloneOvsDpdk name: yardstick file: /etc/yardstick/nodes/standalone/pod_ovs.yaml @@ -59,8 +59,8 @@ contexts: vpath: "/usr/local" flavor: - images: "/var/lib/libvirt/images/ubuntu.qcow2" - ram: 4096 + images: "/var/lib/libvirt/images/yardstick-nsb-image.img" + ram: 16384 extra_specs: hw:cpu_sockets: 1 hw:cpu_cores: 6 diff --git a/samples/vnf_samples/nsut/vfw/tc_sriov_rfc2544_ipv4_1rule_1flow_64B_trex.yaml b/samples/vnf_samples/nsut/vfw/tc_sriov_rfc2544_ipv4_1rule_1flow_64B_trex.yaml index 0f1560183..221ead4f9 100644 --- a/samples/vnf_samples/nsut/vfw/tc_sriov_rfc2544_ipv4_1rule_1flow_64B_trex.yaml +++ b/samples/vnf_samples/nsut/vfw/tc_sriov_rfc2544_ipv4_1rule_1flow_64B_trex.yaml @@ -1,4 +1,4 @@ -# Copyright (c) 2016-2017 Intel Corporation +# Copyright (c) 2016-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. @@ -19,8 +19,8 @@ scenarios: traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml topology: vfw-tg-topology.yaml nodes: - tg__0: tg__0.yardstick - vnf__0: vnf.yardstick + tg__0: trafficgen_1.yardstick + vnf__0: vnf__0.yardstick options: framesize: uplink: {64B: 100} @@ -42,14 +42,14 @@ scenarios: contexts: - name: yardstick type: Node - file: /etc/yardstick/nodes/standalone/pod_trex.yaml + file: /etc/yardstick/nodes/standalone/trex_bm.yaml - type: StandaloneSriov file: /etc/yardstick/nodes/standalone/host_sriov.yaml name: yardstick vm_deploy: True flavor: - images: "/var/lib/libvirt/images/ubuntu.qcow2" - ram: 4096 + images: "/var/lib/libvirt/images/yardstick-nsb-image.img" + ram: 16384 extra_specs: hw:cpu_sockets: 1 hw:cpu_cores: 6 @@ -57,7 +57,7 @@ contexts: user: "" password: "" servers: - vnf: + vnf__0: network_ports: mgmt: cidr: '1.1.1.61/24' diff --git a/samples/vnf_samples/nsut/vpe/tc_ovs_rfc2544_ipv4_1rule_64B_trex.yaml b/samples/vnf_samples/nsut/vpe/tc_ovs_rfc2544_ipv4_1rule_64B_trex.yaml index 2382e0292..ce239808e 100644 --- a/samples/vnf_samples/nsut/vpe/tc_ovs_rfc2544_ipv4_1rule_64B_trex.yaml +++ b/samples/vnf_samples/nsut/vpe/tc_ovs_rfc2544_ipv4_1rule_64B_trex.yaml @@ -1,4 +1,4 @@ -# Copyright (c) 2016-2017 Intel Corporation +# Copyright (c) 2016-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. @@ -19,7 +19,7 @@ scenarios: traffic_profile: ../../traffic_profiles/ipv4_throughput_vpe.yaml topology: vpe_vnf_topology.yaml nodes: - tg__0: tg__0.yardstick + tg__0: trafficgen_1.yardstick vnf__0: vnf__0.yardstick options: framesize: @@ -42,7 +42,7 @@ scenarios: contexts: - name: yardstick type: Node - file: /etc/yardstick/nodes/standalone/pod_trex.yaml + file: /etc/yardstick/nodes/standalone/trex_bm.yaml - type: StandaloneOvsDpdk name: yardstick file: /etc/yardstick/nodes/standalone/pod_ovs.yaml @@ -59,8 +59,8 @@ contexts: vpath: "/usr/local" flavor: - images: "/var/lib/libvirt/images/ubuntu.qcow2" - ram: 16364 + images: "/var/lib/libvirt/images/yardstick-nsb-image.img" + ram: 20480 extra_specs: hw:cpu_sockets: 1 hw:cpu_cores: 7 diff --git a/samples/vnf_samples/traffic_profiles/ipv4_throughput-10.yaml b/samples/vnf_samples/traffic_profiles/ipv4_throughput-10.yaml index 98b1bf96d..c1acb69a4 100644 --- a/samples/vnf_samples/traffic_profiles/ipv4_throughput-10.yaml +++ b/samples/vnf_samples/traffic_profiles/ipv4_throughput-10.yaml @@ -44,6 +44,7 @@ traffic_profile: traffic_type: RFC2544Profile # defines traffic behavior - constant or look for highest possible throughput frame_rate: 100 # pc of linerate duration: {{ duration }} + enable_latency: False uplink_0: ipv4: diff --git a/samples/vnf_samples/traffic_profiles/ipv4_throughput-2.yaml b/samples/vnf_samples/traffic_profiles/ipv4_throughput-2.yaml index ee0415371..54f42b2bc 100644 --- a/samples/vnf_samples/traffic_profiles/ipv4_throughput-2.yaml +++ b/samples/vnf_samples/traffic_profiles/ipv4_throughput-2.yaml @@ -44,6 +44,7 @@ traffic_profile: traffic_type: RFC2544Profile # defines traffic behavior - constant or look for highest possible throughput frame_rate: 100 # pc of linerate duration: {{ duration }} + enable_latency: False uplink_0: ipv4: diff --git a/samples/vnf_samples/traffic_profiles/ipv4_throughput-3.yaml b/samples/vnf_samples/traffic_profiles/ipv4_throughput-3.yaml index 19f083646..06fb220da 100644 --- a/samples/vnf_samples/traffic_profiles/ipv4_throughput-3.yaml +++ b/samples/vnf_samples/traffic_profiles/ipv4_throughput-3.yaml @@ -44,6 +44,7 @@ traffic_profile: traffic_type: RFC2544Profile # defines traffic behavior - constant or look for highest possible throughput frame_rate: 100 # pc of linerate duration: {{ duration }} + enable_latency: False uplink_0: ipv4: diff --git a/samples/vnf_samples/traffic_profiles/ipv4_throughput-4.yaml b/samples/vnf_samples/traffic_profiles/ipv4_throughput-4.yaml index 95fa0b6d8..f6a12eb31 100644 --- a/samples/vnf_samples/traffic_profiles/ipv4_throughput-4.yaml +++ b/samples/vnf_samples/traffic_profiles/ipv4_throughput-4.yaml @@ -44,6 +44,7 @@ traffic_profile: traffic_type: RFC2544Profile # defines traffic behavior - constant or look for highest possible throughput frame_rate: 100 # pc of linerate duration: {{ duration }} + enable_latency: False uplink_0: ipv4: diff --git a/samples/vnf_samples/traffic_profiles/ipv4_throughput.yaml b/samples/vnf_samples/traffic_profiles/ipv4_throughput.yaml index c267e7677..194bcd978 100644 --- a/samples/vnf_samples/traffic_profiles/ipv4_throughput.yaml +++ b/samples/vnf_samples/traffic_profiles/ipv4_throughput.yaml @@ -43,6 +43,7 @@ traffic_profile: traffic_type : RFC2544Profile # defines traffic behavior - constant or look for highest possible throughput frame_rate : 100 # pc of linerate duration: {{ duration }} + enable_latency: False uplink_0: ipv4: diff --git a/samples/vnf_samples/traffic_profiles/ixia_ipv4_latency.yaml b/samples/vnf_samples/traffic_profiles/ixia_ipv4_latency.yaml index 507491446..f71c08861 100644 --- a/samples/vnf_samples/traffic_profiles/ixia_ipv4_latency.yaml +++ b/samples/vnf_samples/traffic_profiles/ixia_ipv4_latency.yaml @@ -29,6 +29,7 @@ traffic_profile: traffic_type : IXIARFC2544Profile # defines traffic behavior - constant or look for highest possible throughput frame_rate : 100 # pc of linerate duration: {{ duration }} + enable_latency: True uplink_0: ipv4: @@ -52,7 +53,8 @@ uplink_0: srcip4: "{{get(flow, 'flow.src_ip_0', '1.1.1.1-1.15.255.255') }}" dstip4: "{{get(flow, 'flow.dst_ip_0', '90.90.1.1-90.105.255.255') }}" count: "{{get(flow, 'flow.count', '1') }}" - seed: "{{get(flow, 'flow.seed', '1') }}" + srcseed: "{{get(flow, 'flow.srcseed', '1') }}" + dstseed: "{{get(flow, 'flow.dstseed', '1') }}" ttl: 32 dscp: 0 outer_l4: @@ -85,7 +87,8 @@ downlink_0: dstip4: "{{get(flow, 'flow.public_ip_0', '90.90.1.1-90.105.255.255') }}" {% endif %} count: "{{get(flow, 'flow.count', '1') }}" - seed: "{{get(flow, 'flow.seed', '1') }}" + srcseed: "{{get(flow, 'flow.srcseed', '1') }}" + dstseed: "{{get(flow, 'flow.dstseed', '1') }}" ttl: 32 dscp: 0 outer_l4: @@ -115,7 +118,8 @@ uplink_1: srcip4: "{{get(flow, 'flow.src_ip_1', '1.1.1.1-1.15.255.255') }}" dstip4: "{{get(flow, 'flow.dst_ip_1', '90.90.1.1-90.105.255.255') }}" count: "{{get(flow, 'flow.count', '1') }}" - seed: "{{get(flow, 'flow.seed', '1') }}" + srcseed: "{{get(flow, 'flow.srcseed', '1') }}" + dstseed: "{{get(flow, 'flow.dstseed', '1') }}" ttl: 32 dscp: 0 outer_l4: @@ -148,7 +152,8 @@ downlink_1: dstip4: "{{get(flow, 'flow.public_ip_1', '90.90.1.1-90.105.255.255') }}" {% endif %} count: "{{get(flow, 'flow.count', '1') }}" - seed: "{{get(flow, 'flow.seed', '1') }}" + srcseed: "{{get(flow, 'flow.srcseed', '1') }}" + dstseed: "{{get(flow, 'flow.dstseed', '1') }}" ttl: 32 dscp: 0 outer_l4: diff --git a/samples/vnf_samples/traffic_profiles/ixia_ipv4_latency_cgnapt.yaml b/samples/vnf_samples/traffic_profiles/ixia_ipv4_latency_cgnapt.yaml index 3cbd7cd62..9e8f67216 100644 --- a/samples/vnf_samples/traffic_profiles/ixia_ipv4_latency_cgnapt.yaml +++ b/samples/vnf_samples/traffic_profiles/ixia_ipv4_latency_cgnapt.yaml @@ -29,6 +29,7 @@ traffic_profile: traffic_type : IXIARFC2544Profile # defines traffic behavior - constant or look for highest possible throughput frame_rate : 100 # pc of linerate duration: {{ duration }} + enable_latency: True uplink_0: ipv4: @@ -50,7 +51,8 @@ uplink_0: srcip4: "{{get(flow, 'flow.src_ip_0', '1.1.1.1-1.15.255.255') }}" dstip4: "{{get(flow, 'flow.dst_ip_0', '90.90.1.1-90.105.255.255') }}" count: "{{get(flow, 'flow.count', '1') }}" - seed: "{{get(flow, 'flow.seed', '1') }}" + srcseed: "{{get(flow, 'flow.srcseed', '1') }}" + dstseed: "{{get(flow, 'flow.dstseed', '1') }}" ttl: 32 dscp: 0 outer_l4: @@ -78,7 +80,8 @@ downlink_0: srcip4: "{{get(flow, 'flow.dst_ip_0', '1.1.1.1-1.15.255.255') }}" dstip4: "{{get(flow, 'flow.public_ip_0', '10.0.2.1-10.0.2.255') }}" count: "{{get(flow, 'flow.count', '1') }}" - seed: "{{get(flow, 'flow.seed', '1') }}" + srcseed: "{{get(flow, 'flow.srcseed', '1') }}" + dstseed: "{{get(flow, 'flow.dstseed', '1') }}" ttl: 32 dscp: 0 outer_l4: @@ -106,7 +109,8 @@ uplink_1: srcip4: "{{get(flow, 'flow.src_ip_1', '1.1.1.1-1.15.255.255') }}" dstip4: "{{get(flow, 'flow.dst_ip_1', '90.90.1.1-90.105.255.255') }}" count: "{{get(flow, 'flow.count', '1') }}" - seed: "{{get(flow, 'flow.seed', '1') }}" + srcseed: "{{get(flow, 'flow.srcseed', '1') }}" + dstseed: "{{get(flow, 'flow.dstseed', '1') }}" ttl: 32 dscp: 0 outer_l4: @@ -134,7 +138,8 @@ downlink_1: srcip4: "{{get(flow, 'flow.dst_ip_1', '1.1.1.1-1.15.255.255') }}" dstip4: "{{get(flow, 'flow.public_ip_1', '10.0.2.1-10.0.2.255') }}" count: "{{get(flow, 'flow.count', '1') }}" - seed: "{{get(flow, 'flow.seed', '1') }}" + srcseed: "{{get(flow, 'flow.srcseed', '1') }}" + dstseed: "{{get(flow, 'flow.dstseed', '1') }}" ttl: 32 dscp: 0 outer_l4: diff --git a/samples/vnf_samples/traffic_profiles/ixia_ipv4_latency_vpe.yaml b/samples/vnf_samples/traffic_profiles/ixia_ipv4_latency_vpe.yaml index edff3612e..7942fbf4d 100644 --- a/samples/vnf_samples/traffic_profiles/ixia_ipv4_latency_vpe.yaml +++ b/samples/vnf_samples/traffic_profiles/ixia_ipv4_latency_vpe.yaml @@ -43,6 +43,7 @@ traffic_profile: traffic_type : IXIARFC2544Profile # defines traffic behavior - constant or look for highest possible throughput frame_rate : 100 # pc of linerate injection_time: {{ injection_time }} + enable_latency: True uplink_0: ipv4: @@ -72,7 +73,8 @@ uplink_0: srcip4: "{{get(flow, 'flow.src_ip_0', '192.168.0.0-192.168.255.255') }}" dstip4: "{{get(flow, 'flow.dst_ip_0', '192.16.0.0-192.16.0.31') }}" count: "{{get(flow, 'flow.count', '1') }}" - seed: "{{get(flow, 'flow.seed', '1') }}" + srcseed: "{{get(flow, 'flow.srcseed', '1') }}" + dstseed: "{{get(flow, 'flow.dstseed', '1') }}" ttl: 32 dscp: 32 @@ -99,7 +101,8 @@ downlink_0: srcip4: "{{get(flow, 'flow.dst_ip_0', '192.16.0.0-192.16.0.31') }}" dstip4: "{{get(flow, 'flow.src_ip_0', '192.168.0.0-192.168.255.255') }}" count: "{{get(flow, 'flow.count', '1') }}" - seed: "{{get(flow, 'flow.seed', '1') }}" + srcseed: "{{get(flow, 'flow.srcseed', '1') }}" + dstseed: "{{get(flow, 'flow.dstseed', '1') }}" ttl: 32 dscp: 32 @@ -136,7 +139,8 @@ uplink_1: srcip4: "{{get(flow, 'flow.srcip_1', '192.168.0.0-192.168.255.255') }}" dstip4: "{{get(flow, 'flow.dstip_1', '192.16.0.0-192.16.0.31') }}" count: "{{get(flow, 'flow.count', '1') }}" - seed: "{{get(flow, 'flow.seed', '1') }}" + srcseed: "{{get(flow, 'flow.srcseed', '1') }}" + dstseed: "{{get(flow, 'flow.dstseed', '1') }}" ttl: 32 dscp: 32 @@ -163,7 +167,8 @@ downlink_1: srcip4: "{{get(flow, 'flow.dst_ip_1', '192.16.0.0-192.16.0.31') }}" dstip4: "{{get(flow, 'flow.src_ip_1', '192.168.0.0-192.168.255.255') }}" count: "{{get(flow, 'flow.count', '1') }}" - seed: "{{get(flow, 'flow.seed', '1') }}" + srcseed: "{{get(flow, 'flow.srcseed', '1') }}" + dstseed: "{{get(flow, 'flow.dstseed', '1') }}" ttl: 32 dscp: 32 diff --git a/samples/vnf_samples/traffic_profiles/landslide/landslide_dmf_fb_udp.yaml b/samples/vnf_samples/traffic_profiles/landslide/landslide_dmf_fb_udp.yaml new file mode 100644 index 000000000..f25239f57 --- /dev/null +++ b/samples/vnf_samples/traffic_profiles/landslide/landslide_dmf_fb_udp.yaml @@ -0,0 +1,79 @@ +# 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 implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +schema: "nsb:traffic_profile:0.1" + +name: LandslideProfile +description: Spirent Landslide traffic profile (Data Message Flow) + +traffic_profile: + traffic_type: LandslideProfile + +dmf_config: + dmf: + library: test + name: Fireball UDP + description: "Basic data flow using UDP/IP (Fireball DMF)" + keywords: 'UDP ' + dataProtocol: fb_udp + burstCount: 1 # Applies only to Basic UDP DMF, DataProtocol == (udp or fb_udp) + clientPort: + clientPort: 2002 + isClientPortRange: 'false' + serverPort: 2003 + connection: + initiatingSide: Client + disconnectSide: Client + underlyingProtocol: none + persistentConnection: 'false' + protocolId: 0 + persistentConnection: 'false' + transactionRate: 8.0 + transactions: + totalTransactions: 0 + retries: 0 + dataResponseTime: 60000 + packetSize: 64 + segment: + segmentSize: 64000 + maxSegmentSize: 0 + size: + sizeDistribution: Fixed + sizeDeviation: 10 + interval: + intervalDistribution: Fixed + intervalDeviation: 10 + ipHeader: + typeOfService: 0 + timeToLive: 64 + tcpConnection: + force3Way: 'false' + fixedRetryTime: 0 + maxPacketsToForceAck: 0 + tcp: + windowSize: 32768 + windowScaling: -1 + disableFinAckWait: 'false' + disconnectType: FIN + slowStart: 'false' + connectOnly: 'false' + vtag: + VTagMask: '0x0' + VTagValue: '0x0' + sctpPayloadProtocolId: 0 + billingIncludeSyn: true + billingIncludeSubflow: true + billingRecordPerTransaction: 'false' + tcpPush: 'false' + hostDataExpansionRatio: 1 diff --git a/samples/vnf_samples/traffic_profiles/landslide/landslide_dmf_fb_udp_tcp.yaml b/samples/vnf_samples/traffic_profiles/landslide/landslide_dmf_fb_udp_tcp.yaml new file mode 100644 index 000000000..e613f1769 --- /dev/null +++ b/samples/vnf_samples/traffic_profiles/landslide/landslide_dmf_fb_udp_tcp.yaml @@ -0,0 +1,136 @@ +# 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 implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +schema: "nsb:traffic_profile:0.1" + +name: LandslideProfile +description: Spirent Landslide traffic profile (Data Message Flow) + +traffic_profile: + traffic_type: LandslideProfile + +dmf_config: + - + dmf: + library: test + name: Fireball UDP + description: "Basic data flow using UDP/IP" + keywords: 'UDP ' + dataProtocol: fb_udp + burstCount: 1 # Applies only to Basic UDP DMF, DataProtocol==(udp or fb_udp) + clientPort: + clientPort: 2012 + isClientPortRange: 'false' + serverPort: 2013 + connection: + initiatingSide: Client + disconnectSide: Client + underlyingProtocol: none + persistentConnection: 'false' + protocolId: 0 + persistentConnection: 'false' + transactionRate: 8.0 + transactions: + totalTransactions: 0 + retries: 0 + dataResponseTime: 60000 + packetSize: 64 + segment: + segmentSize: 64000 + maxSegmentSize: 0 + size: + sizeDistribution: Fixed + sizeDeviation: 10 + interval: + intervalDistribution: Fixed + intervalDeviation: 10 + ipHeader: + typeOfService: 0 + timeToLive: 64 + tcpConnection: + force3Way: 'false' + fixedRetryTime: 0 + maxPacketsToForceAck: 0 + tcp: + windowSize: 32768 + windowScaling: -1 + disableFinAckWait: 'false' + disconnectType: FIN + slowStart: 'false' + connectOnly: 'false' + vtag: + VTagMask: '0x0' + VTagValue: '0x0' + sctpPayloadProtocolId: 0 + billingIncludeSyn: true + billingIncludeSubflow: true + billingRecordPerTransaction: 'false' + tcpPush: 'false' + hostDataExpansionRatio: 1 + - + dmf: + library: test + name: Fireball TCP + description: "Basic data flow using TCP/IP" + keywords: 'TCP ' + dataProtocol: fb_tcp + clientPort: + clientPort: 2002 + isClientPortRange: 'false' + serverPort: 2003 + connection: + initiatingSide: Client + disconnectSide: Client + underlyingProtocol: none + persistentConnection: 'false' + protocolId: 0 + persistentConnection: 'false' + transactionRate: 8.0 + transactions: + totalTransactions: 0 + retries: 0 + dataResponseTime: 60000 + packetSize: 64 + segment: + segmentSize: 64000 + maxSegmentSize: 0 + size: + sizeDistribution: Fixed + sizeDeviation: 10 + interval: + intervalDistribution: Fixed + intervalDeviation: 10 + ipHeader: + typeOfService: 0 + timeToLive: 64 + tcpConnection: + force3Way: 'false' + fixedRetryTime: 0 + maxPacketsToForceAck: 0 + tcp: + windowSize: 32768 + windowScaling: -1 + disableFinAckWait: 'false' + disconnectType: FIN + slowStart: 'false' + connectOnly: 'false' + vtag: + VTagMask: '0x0' + VTagValue: '0x0' + sctpPayloadProtocolId: 0 + billingIncludeSyn: true + billingIncludeSubflow: true + billingRecordPerTransaction: 'false' + tcpPush: 'false' + hostDataExpansionRatio: 1 diff --git a/samples/vnf_samples/traffic_profiles/landslide/landslide_dmf_udp.yaml b/samples/vnf_samples/traffic_profiles/landslide/landslide_dmf_udp.yaml new file mode 100644 index 000000000..c7fabd182 --- /dev/null +++ b/samples/vnf_samples/traffic_profiles/landslide/landslide_dmf_udp.yaml @@ -0,0 +1,79 @@ +# 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 implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +schema: "nsb:traffic_profile:0.1" + +name: LandslideProfile +description: Spirent Landslide traffic profile (Data Message Flow) + +traffic_profile: + traffic_type: LandslideProfile + +dmf_config: + dmf: + library: test + name: Basic UDP + description: "Basic data flow using UDP/IP" + keywords: 'UDP ' + dataProtocol: udp + burstCount: 1 # Applies only to Basic UDP DMF, DataProtocol==udp. + clientPort: + clientPort: 2002 + isClientPortRange: 'false' + serverPort: 2003 + connection: + initiatingSide: Client + disconnectSide: Client + underlyingProtocol: none + persistentConnection: 'false' + protocolId: 0 + persistentConnection: 'false' + transactionRate: 8.0 + transactions: + totalTransactions: 0 + retries: 0 + dataResponseTime: 60000 + packetSize: 64 + segment: + segmentSize: 64000 + maxSegmentSize: 0 + size: + sizeDistribution: Fixed + sizeDeviation: 10 + interval: + intervalDistribution: Fixed + intervalDeviation: 10 + ipHeader: + typeOfService: 0 + timeToLive: 64 + tcpConnection: + force3Way: 'false' + fixedRetryTime: 0 + maxPacketsToForceAck: 0 + tcp: + windowSize: 32768 + windowScaling: -1 + disableFinAckWait: 'false' + disconnectType: FIN + slowStart: 'false' + connectOnly: 'false' + vtag: + VTagMask: '0x0' + VTagValue: '0x0' + sctpPayloadProtocolId: 0 + billingIncludeSyn: true + billingIncludeSubflow: true + billingRecordPerTransaction: 'false' + tcpPush: 'false' + hostDataExpansionRatio: 1 diff --git a/samples/vnf_samples/traffic_profiles/landslide/landslide_dmf_udp_tcp.yaml b/samples/vnf_samples/traffic_profiles/landslide/landslide_dmf_udp_tcp.yaml new file mode 100644 index 000000000..80c0db0d0 --- /dev/null +++ b/samples/vnf_samples/traffic_profiles/landslide/landslide_dmf_udp_tcp.yaml @@ -0,0 +1,136 @@ +# 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 implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +schema: "nsb:traffic_profile:0.1" + +name: LandslideProfile +description: Spirent Landslide traffic profile (Data Message Flow) + +traffic_profile: + traffic_type: LandslideProfile + +dmf_config: + - + dmf: + library: test + name: Basic UDP + description: "Basic data flow using UDP/IP" + keywords: 'UDP ' + dataProtocol: udp + burstCount: 1 # Applies only to Basic UDP DMF, DataProtocol==(udp or fb_udp) + clientPort: + clientPort: 2012 + isClientPortRange: 'false' + serverPort: 2013 + connection: + initiatingSide: Client + disconnectSide: Client + underlyingProtocol: none + persistentConnection: 'false' + protocolId: 0 + persistentConnection: 'false' + transactionRate: 8.0 + transactions: + totalTransactions: 0 + retries: 0 + dataResponseTime: 60000 + packetSize: 64 + segment: + segmentSize: 64000 + maxSegmentSize: 0 + size: + sizeDistribution: Fixed + sizeDeviation: 10 + interval: + intervalDistribution: Fixed + intervalDeviation: 10 + ipHeader: + typeOfService: 0 + timeToLive: 64 + tcpConnection: + force3Way: 'false' + fixedRetryTime: 0 + maxPacketsToForceAck: 0 + tcp: + windowSize: 32768 + windowScaling: -1 + disableFinAckWait: 'false' + disconnectType: FIN + slowStart: 'false' + connectOnly: 'false' + vtag: + VTagMask: '0x0' + VTagValue: '0x0' + sctpPayloadProtocolId: 0 + billingIncludeSyn: 'true' + billingIncludeSubflow: 'true' + billingRecordPerTransaction: 'false' + tcpPush: 'false' + hostDataExpansionRatio: 1 + - + dmf: + library: test + name: Basic TCP + description: "Basic data flow using TCP/IP" + keywords: 'TCP ' + dataProtocol: tcp + clientPort: + clientPort: 2002 + isClientPortRange: 'false' + serverPort: 2003 + connection: + initiatingSide: Client + disconnectSide: Client + underlyingProtocol: none + persistentConnection: 'false' + protocolId: 0 + persistentConnection: 'false' + transactionRate: 8.0 + transactions: + totalTransactions: 0 + retries: 0 + dataResponseTime: 60000 + packetSize: 64 + segment: + segmentSize: 64000 + maxSegmentSize: 0 + size: + sizeDistribution: Fixed + sizeDeviation: 10 + interval: + intervalDistribution: Fixed + intervalDeviation: 10 + ipHeader: + typeOfService: 0 + timeToLive: 64 + tcpConnection: + force3Way: 'false' + fixedRetryTime: 0 + maxPacketsToForceAck: 0 + tcp: + windowSize: 32768 + windowScaling: -1 + disableFinAckWait: 'false' + disconnectType: FIN + slowStart: 'false' + connectOnly: 'false' + vtag: + VTagMask: '0x0' + VTagValue: '0x0' + sctpPayloadProtocolId: 0 + billingIncludeSyn: 'true' + billingIncludeSubflow: 'true' + billingRecordPerTransaction: 'false' + tcpPush: 'false' + hostDataExpansionRatio: 1 diff --git a/samples/vnf_samples/traffic_profiles/landslide/landslide_session_default_bearer.yaml b/samples/vnf_samples/traffic_profiles/landslide/landslide_session_default_bearer.yaml new file mode 100644 index 000000000..a90d8a189 --- /dev/null +++ b/samples/vnf_samples/traffic_profiles/landslide/landslide_session_default_bearer.yaml @@ -0,0 +1,147 @@ +# 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 implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +--- +description: 'UE default bearer creation test case' +name: default_bearer_capacity +keywords: '' +duration: 60 +tsGroups: +- tsId: SGW_NODE_TS_NAME # SGW-Node test server name placeholder + testCases: + - name: '' + type: SGW_Node + AssociatedPhys: '' + parameters: + BearerAddrPool: 2001::1 + BearerV4AddrPool: 1.0.0.1 + DedicatedsPerDefaultBearer: '0' + DefaultBearers: '1' + FireballEn: 'false' + Gtp2Imei: '50502410121507' + Gtp2Imsi: '505024101215074' + Gtp2Version: 13.6.0 + PgwNodeEn: 'true' + S5Protocol: GTPv2 + Sessions: '100000' + SgiPtpTunnelEn: 'false' + SgwControlAddr: + class: TestNode + ethStatsEnabled: 'false' + forcedEthInterface: '' + ip: SGW_CONTROL_IP # SGW-C TestNode IP address placeholder + mtu: 1500 + numLinksOrNodes: 1 + phy: SGW_CONTROL_PHY + SgwUserAddr: + class: TestNode + ethStatsEnabled: 'false' + forcedEthInterface: '' + ip: SGW_USER_IP # SGW-U TestNode IP address placeholder + mtu: 1500 + numLinksOrNodes: 1 + phy: SGW_USER_PHY + TestType: SGW-NODE + TrafficMtu: '1500' +- tsId: SGW_NODAL_TS_NAME # SGW-Nodal test server name placeholder + testCases: + - name: '' + type: SGW_Nodal + parameters: + DataTraffic: Continuous + DataUserCfgFileEn: 'false' + DedicatedsPerDefaultBearer: '0' + DefaultBearers: '1' + DisconnectRate: '1000.0' + Dmf: + class: Dmf + mainflows: + - library: TEST_USER + name: Basic UDP + instanceGroups: + - mainflowIdx: 0 + mixType: '' + rate: 0 + startPaused: 'false' + EnbUserAddr: + class: TestNode + ethStatsEnabled: 'false' + forcedEthInterface: '' + ip: ENB_USER_IP # eNodeB TestNode IP address placeholder + mac: '' + mtu: 1500 + nextHop: '' + numLinksOrNodes: 1 + numVlan: 1 + phy: ENB_USER_PHY + uniqueVlanAddr: 'false' + vlanDynamic: 0 + vlanId: 0 + vlanUserPriority: 0 + vlanTagType: 0 + FireballEn: 'false' + Gtp2Imei: '50502410121507' + Gtp2Imsi: '505024101215074' + Gtp2Version: 13.6.0 + MmeControlAddr: + class: TestNode + ethStatsEnabled: 'false' + forcedEthInterface: '' + ip: MME_CONTROL_IP # MME TestNode IP address placeholder + mac: '' + mtu: 1500 + nextHop: '' + numLinksOrNodes: 1 + numVlan: 1 + phy: MME_CONTROL_PHY + uniqueVlanAddr: 'false' + vlanDynamic: 0 + vlanId: 0 + vlanUserPriority: 0 + vlanTagType: 0 + NetworkHost: Local + NetworkHostAddrLocal: + class: TestNode + ethStatsEnabled: 'false' + forcedEthInterface: '' + ip: NET_HOST_IP # NetHost TestNode IP address placeholder + mac: '' + mtu: 1500 + nextHop: '' + numLinksOrNodes: 1 + numVlan: 1 + phy: NET_HOST_PHY + uniqueVlanAddr: 'false' + vlanDynamic: 0 + vlanId: 0 + vlanUserPriority: 0 + vlanTagType: 0 + PgwNodeEn: 'false' + PgwUserSutEn: 'false' + PgwV4Sut: + class: Sut + name: PGW_SUT_NAME # PGW TestNode name placeholder + S5Protocol: GTPv2 + Sessions: '100000' + SgwSut: + class: Sut + name: SGW_CONTROL_NAME # SGW-C SUT name placeholder + SgwUserSut: + class: Sut + name: SGW_USER_NAME # SGW-U SUT name placeholder + StartRate: '1000.0' + TestActivity: Capacity Test + TestType: SGW-NODAL + TrafficMtu: '1500' + TrafficStartType: When All Sessions Established diff --git a/samples/vnf_samples/traffic_profiles/landslide/landslide_session_default_bearer_multi_dmf.yaml b/samples/vnf_samples/traffic_profiles/landslide/landslide_session_default_bearer_multi_dmf.yaml new file mode 100644 index 000000000..7b1f50160 --- /dev/null +++ b/samples/vnf_samples/traffic_profiles/landslide/landslide_session_default_bearer_multi_dmf.yaml @@ -0,0 +1,150 @@ +# 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 implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +--- +description: 'UE default bearer creation test case' +name: default_bearer_capacity +keywords: '' +duration: 60 +tsGroups: +- tsId: SGW_NODE_TS_NAME # SGW-Node test server name placeholder + testCases: + - name: '' + type: SGW_Node + parameters: + BearerAddrPool: 2001::1 + BearerV4AddrPool: 1.0.0.1 + DedicatedsPerDefaultBearer: '0' + DefaultBearers: '1' + Gtp2Imei: '50502410121507' + Gtp2Imsi: '505024101215074' + Gtp2Version: 13.6.0 + PgwNodeEn: 'true' + S5Protocol: GTPv2 + Sessions: '100000' + SgiPtpTunnelEn: 'false' + SgwControlAddr: + class: TestNode + ethStatsEnabled: 'false' + forcedEthInterface: '' + ip: SGW_CONTROL_IP # SGW-C TestNode IP address placeholder + mtu: 1500 + numLinksOrNodes: 1 + phy: SGW_CONTROL_PHY + SgwUserAddr: + class: TestNode + ethStatsEnabled: 'false' + forcedEthInterface: '' + ip: SGW_USER_IP # SGW-U TestNode IP address placeholder + mtu: 1500 + numLinksOrNodes: 1 + phy: SGW_USER_PHY + TestType: SGW-NODE + TrafficMtu: '1500' +- tsId: SGW_NODAL_TS_NAME # SGW-Nodal test server name placeholder + testCases: + - name: '' + type: SGW_Nodal + parameters: + DataTraffic: Continuous + DataUserCfgFileEn: 'false' + DedicatedsPerDefaultBearer: '0' + DefaultBearers: '1' + DisconnectRate: '1000.0' + Dmf: + class: Dmf + mainflows: + - library: test + name: Basic UDP + - library: test + name: Basic TCP + instanceGroups: + - mainflowIdx: 0 + mixType: '' + rate: 0 + startPaused: 'false' + - mainflowIdx: 1 + mixType: '' + rate: 0 + startPaused: 'false' + EnbUserAddr: + class: TestNode + ethStatsEnabled: 'false' + forcedEthInterface: '' + ip: ENB_USER_IP # eNodeB TestNode IP address placeholder + mac: '' + mtu: 1500 + nextHop: '' + numLinksOrNodes: 1 + numVlan: 1 + phy: ENB_USER_PHY + uniqueVlanAddr: 'false' + vlanDynamic: 0 + vlanId: 0 + vlanUserPriority: 0 + vlanTagType: 0 + Gtp2Imei: '50502410121507' + Gtp2Imsi: '505024101215074' + Gtp2Version: 13.6.0 + MmeControlAddr: + class: TestNode + ethStatsEnabled: 'false' + forcedEthInterface: '' + ip: MME_CONTROL_IP # MME TestNode IP address placeholder + mac: '' + mtu: 1500 + nextHop: '' + numLinksOrNodes: 1 + numVlan: 1 + phy: MME_CONTROL_PHY + uniqueVlanAddr: 'false' + vlanDynamic: 0 + vlanId: 0 + vlanUserPriority: 0 + vlanTagType: 0 + NetworkHost: Local + NetworkHostAddrLocal: + class: TestNode + ethStatsEnabled: 'false' + forcedEthInterface: '' + ip: NET_HOST_IP # NetHost TestNode IP address placeholder + mac: '' + mtu: 1500 + nextHop: '' + numLinksOrNodes: 1 + numVlan: 1 + phy: NET_HOST_PHY + uniqueVlanAddr: 'false' + vlanDynamic: 0 + vlanId: 0 + vlanUserPriority: 0 + vlanTagType: 0 + PgwNodeEn: 'false' + PgwUserSutEn: 'false' + PgwV4Sut: + class: Sut + name: PGW_SUT_NAME # PGW TestNode name placeholder + S5Protocol: GTPv2 + Sessions: '100000' + SgwSut: + class: Sut + name: SGW_CONTROL_NAME # SGW-C SUT name placeholder + SgwUserSut: + class: Sut + name: SGW_USER_NAME # SGW-U SUT name placeholder + StartRate: '1000.0' + TestActivity: Capacity Test + TestType: SGW-NODAL + TrafficMtu: '1500' + TrafficStartType: When All Sessions Established diff --git a/samples/vnf_samples/traffic_profiles/landslide/landslide_session_network_dedicated_bearer.yaml b/samples/vnf_samples/traffic_profiles/landslide/landslide_session_network_dedicated_bearer.yaml new file mode 100644 index 000000000..2e79d8d51 --- /dev/null +++ b/samples/vnf_samples/traffic_profiles/landslide/landslide_session_network_dedicated_bearer.yaml @@ -0,0 +1,681 @@ +# 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 implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +--- +description: Network initiated dedicated bearer creation test case +duration: 60 +keywords: '' +library: test +name: network_dedicated_bearer_creation +tsGroups: +- testCases: + - name: '' + AssociatedPhys: '' + parameters: + BillingEn: 'false' + DedicatedsPerDefaultBearer: '1' + DefaultBearers: '1' + FireballEn: 'false' + Gtp2AmbrDownlink: '1' + Gtp2AmbrUplink: '1' + Gtp2ApnNumSpecifiedApns_0: '0' + Gtp2ApnRestriction: '0' + Gtp2ApnRetries_0: '0' + Gtp2ApnSelectMode: '0' + Gtp2ApnSpecified_0: + array: [] + class: Array + Gtp2ApnTotalApns_0: '1' + Gtp2Apn_0: ssenoauth146 + Gtp2CfgFileEn: 'false' + Gtp2Ecgi: '0' + Gtp2EcgiSize: '28' + Gtp2EchoTimeSec: '0' + Gtp2ExtEn: 'false' + Gtp2GtpcTunnelEndptId: '1000000' + Gtp2GtpuIncludeSeqEn: 'true' + Gtp2GtpuTunnelEndptId: '2000000' + Gtp2IgnoreRestartCtrEn: 'false' + Gtp2Imei: '50502410121507' + Gtp2Imsi: '505024101215074' + Gtp2IncCgiEn: 'false' + Gtp2IncEcgiEn: 'true' + Gtp2IncRaiEn: 'false' + Gtp2IncSaiEn: 'false' + Gtp2IncTaiEn: 'true' + Gtp2MacroEnbEn: 'false' + Gtp2Mcc: '000' + Gtp2Mnc: '000' + Gtp2MobGtpuForwardingEndptId: '5000000' + Gtp2MsIsdnEn: 'false' + Gtp2N3Attempts: '5' + Gtp2PagingTimeMs: '0' + Gtp2PersistentImsiEn: 'false' + Gtp2PiggybackEn_sgw: '0' + Gtp2QosArpPreemptCapEn_1: 'false' + Gtp2QosArpPreemptVulnEn_1: 'false' + Gtp2QosArpValue_1: '1' + Gtp2QosClassId_1: '1' + Gtp2QosDetail: Summary + Gtp2QosGuarDownlink_1: '1' + Gtp2QosGuarUplink_1: '1' + Gtp2QosMaxDownlink_1: '1' + Gtp2QosMaxUplink_1: '1' + Gtp2RadioAccessType: '6' + Gtp2RestartCnt: '1' + Gtp2S5GtpcTunnelEndptId: '3000000' + Gtp2S5GtpuTunnelEndptId: '4000000' + Gtp2SupportMabrEn: 'false' + Gtp2T3Time: '20' + Gtp2Tac: '0' + Gtp2Version: 15.2.0 + PgwNodeEn: 'false' + PgwNumSutsEn: 'false' + PgwSut: + class: Sut + name: PGW_SUT_NAME + PgwUserSutEn: 'false' + QciToDscpMarkingsEn: 'false' + S5Protocol: GTPv2 + SeparateS5InterfacesEn: 'false' + Sessions: '1' + SgwControlAddr: + class: TestNode + ethStatsEnabled: 'false' + forcedEthInterface: '' + innerVlanId: 0 + ip: SGW_CONTROL_IP + mac: '' + mtu: 1500 + nextHop: '' + numLinksOrNodes: 1 + numVlan: 1 + phy: SGW_CONTROL_PHY + uniqueVlanAddr: 'false' + vlanDynamic: 0 + vlanId: 0 + vlanTagType: 0 + vlanUserPriority: 0 + SgwControlAddrErrInj: '0' + SgwUserAddr: + class: TestNode + ethStatsEnabled: 'false' + forcedEthInterface: '' + innerVlanId: 0 + ip: SGW_USER_IP + mac: '' + mtu: 1500 + nextHop: '' + numLinksOrNodes: 1 + numVlan: 1 + phy: SGW_USER_PHY + uniqueVlanAddr: 'false' + vlanDynamic: 0 + vlanId: 0 + vlanTagType: 0 + vlanUserPriority: 0 + SgwUserAddrErrInj: '0' + SgwUserDualStackEn: 'false' + SxaControlNodeAddrXPort: '8805' + SxaUserNodeAddrXPort: '8805' + TestType: SGW-NODE + TrafficMtu: '1400' + type: SGW_Node + - name: '' + parameters: + AgwNodeAddr: + class: TestNode + ethStatsEnabled: 'false' + forcedEthInterface: '' + innerVlanId: 0 + ip: AGW_NODE_NAME + mac: '' + mtu: 1500 + nextHop: '' + numLinksOrNodes: 1 + numVlan: 1 + phy: AGW_NODE_PHY + uniqueVlanAddr: 'false' + vlanDynamic: 0 + vlanId: 0 + vlanTagType: 0 + vlanUserPriority: 0 + AgwNodeAddrErrInj: '0' + BearerAddrPool: 2001::1 + BearerV4AddrPool: 1.0.0.1 + BillingEn: 'false' + ConnectBearerDelay: + array: [] + class: Array + DataTraffic: Disabled + DedicatedsPerDefaultBearer: '1' + DefaultBearers: '1' + DisconnectDedicatedBearerEn: 'false' + FireballEn: 'false' + ForwardSessionVLanTag: '0' + Gtp2AmbrDownlink: '1' + Gtp2AmbrUplink: '1' + Gtp2ApnNumSpecifiedApns_0: '0' + Gtp2ApnRestriction: '0' + Gtp2ApnRetries_0: '0' + Gtp2ApnSelectMode: '0' + Gtp2ApnSpecified_0: + array: [] + class: Array + Gtp2ApnTotalApns_0: '1' + Gtp2Apn_0: ssenoauth146 + Gtp2Ecgi: '0' + Gtp2EcgiSize: '28' + Gtp2EchoTimeSec: '0' + Gtp2ExtEn: 'false' + Gtp2GtpcTunnelEndptId: '1000000' + Gtp2GtpuIncludeSeqEn: 'true' + Gtp2GtpuTunnelEndptId: '2000000' + Gtp2IgnoreRestartCtrEn: 'false' + Gtp2Imei: '50502410121507' + Gtp2Imsi: '505024101215074' + Gtp2IncCgiEn: 'false' + Gtp2IncEcgiEn: 'true' + Gtp2IncRaiEn: 'false' + Gtp2IncSaiEn: 'false' + Gtp2IncTaiEn: 'true' + Gtp2MacroEnbEn: 'false' + Gtp2Mcc: '000' + Gtp2Mnc: '000' + Gtp2MsIsdnEn: 'false' + Gtp2MultDedsPerMsgEn: 'false' + Gtp2PcoAddEn: 'false' + Gtp2PcoIpcpEn: 'false' + Gtp2PersistentImsiEn: 'false' + Gtp2PiggybackEn_pgw: '0' + Gtp2QosArpPreemptCapEn_1: 'false' + Gtp2QosArpPreemptVulnEn_1: 'false' + Gtp2QosArpValue_1: '1' + Gtp2QosClassId_1: '1' + Gtp2QosDetail: Summary + Gtp2QosGuarDownlink_1: '1' + Gtp2QosGuarUplink_1: '1' + Gtp2QosMaxDownlink_1: '1' + Gtp2QosMaxUplink_1: '1' + Gtp2RadioAccessType: '6' + Gtp2ResponseDelayEn: 'false' + Gtp2RestartCnt: '1' + Gtp2RouterAdDelay: '1' + Gtp2Tac: '0' + Gtp2Version: 15.2.0 + MobilityType: None + OverloadCtlEn: 'false' + PcrfClnAgwIf: Gx + PdnGwAddr: + class: TestNode + ethStatsEnabled: 'false' + forcedEthInterface: '' + innerVlanId: 0 + ip: PGW_CONTROL_NAME + mac: '' + mtu: 1500 + nextHop: '' + numLinksOrNodes: 1 + numVlan: 1 + phy: PGW_CONTROL_PHY + uniqueVlanAddr: 'false' + vlanDynamic: 0 + vlanId: 0 + vlanTagType: 0 + vlanUserPriority: 0 + PdnGwAddrErrInj: '0' + PdnGwUsrAddrEn: 'false' + PgwDualStackEn: 'false' + QciToDscpMarkingsEn: 'false' + S5Protocol: GTPv2 + S6bIfEn: 'false' + Sessions: '1' + SgiNasIfEn: 'false' + SgiNodeEn: 'false' + SgiPtpTunnelEn: 'false' + TestType: PGW-NODE + TrafficMtu: '1400' + TrafficNumTftsForContext0: '1' + TyCcClnAddFailedAvpEn: 'false' + TyCcClnApplicationId: '16777238' + TyCcClnAvpCfgFileEn: 'false' + TyCcClnConfiguration: Primary Server Only + TyCcClnDistributionMode: Dedicated + TyCcClnDoNotInitiateDprEn: 'false' + TyCcClnDprCause: '2' + TyCcClnHostAvpEn: 'true' + TyCcClnOriginHost: AGW.Spirent.com + TyCcClnOriginRealm: Spirent.com + TyCcClnProductName: 'Landslide PCRF' + TyCcClnRetryTime: '5000' + TyCcClnSctp3SackRuleEn: 'false' + TyCcClnSctpAckDelay: '100' + TyCcClnSctpSackThreshold: '2' + TyCcClnSutPort: '3868' + TyCcClnSutPrimaryHost: AGWServer.Spirent.com + TyCcClnSutPrimaryRealm: Spirent.com + TyCcClnSutPrimarySrv: + class: Sut + name: PCRF_TESTNODE_NAME + TyCcClnTcpProtocol: '1' + TyCcClnTcpWinSize: '32768' + TyCcClnVendorId: '10415' + TyCcClnVsa: + attrInfos: [] + class: Vsa + isCriteria: 'false' + isGeneric: 'false' + protocol: '301' + TyCcClnWatchDogTime: '30' + UeDhcpV4En: 'false' + UeInitBearerEn: 'false' + type: PGW_Node + tsId: SGW_PGW_NODE_TC_NAME +- testCases: + - name: '' + parameters: + ApnDnsEn: 'false' + ApnToPgwMappingEn: 'false' + AutoStopControlLayer: 'false' + ConnectBearerDelay: + array: [] + class: Array + ContinuousWithVerification: 'false' + CpCiotEpsOptimizationEn: 'false' + CtlBearerToDscpEn: 'false' + DataHostCfgFileEn: 'false' + DataResumeRate: '3000' + DataTraffic: Continuous + DataUserCfgFileEn: 'false' + DedicatedBearerConnectRateEn: 'false' + DedicatedBearerDisconnectRateEn: 'false' + DedicatedsPerDefaultBearer: '1' + DefaultBearers: '1' + DisconnectDedicatedBearerEn: 'false' + DisconnectRate: '1000.0' + Dmf: + class: Dmf + instanceGroups: + - mainflowIdx: 0 + mixType: '' + rate: 0.0 + rows: + - clientPort: 0 + context: 0 + node: 0 + overridePort: 'false' + ratingGroup: 0 + role: 0 + serviceId: 0 + transport: Any + mainflows: + - library: test + name: Basic UDP + DualStackEn: 'false' + EDrxValueEn: 'false' + EirIfEn: 'false' + EmergencyAttachWithImeiEn: 'false' + EmergencyAttachWoAuthEn: 'false' + EmergencyPdnIndexEn: 'false' + EnableExternalData: '0' + EnbUserAddr: + class: TestNode + ethStatsEnabled: 'false' + forcedEthInterface: '' + innerVlanId: 0 + ip: ENB_USER_IP + mac: '' + mtu: 1500 + nextHop: '' + numLinksOrNodes: 1 + numVlan: 1 + phy: ENB_USER_PHY + uniqueVlanAddr: 'false' + vlanDynamic: 0 + vlanId: 0 + vlanTagType: 0 + vlanUserPriority: 0 + EnbUserAddrErrInj: '0' + FireballEn: 'false' + Gtp2ActivationDelay: '0' + Gtp2AmbrDownlink: '1' + Gtp2AmbrUplink: '1' + Gtp2ApnNumSpecifiedApns_0: '0' + Gtp2ApnNumSpecifiedApns_1: '0' + Gtp2ApnRestriction: '0' + Gtp2ApnRetries_0: '0' + Gtp2ApnRetries_1: '0' + Gtp2ApnSelectMode: '0' + Gtp2ApnSpecified_0: + array: [] + class: Array + Gtp2ApnSpecified_1: + array: [] + class: Array + Gtp2ApnTotalApns_0: '1' + Gtp2ApnTotalApns_1: '1' + Gtp2Apn_0: ssenoauth146 + Gtp2Apn_1: ssenoauth146 + Gtp2BearerModEn: 'false' + Gtp2CfgFileEn: 'false' + Gtp2ChargingChars: '0x0' + Gtp2DelayDlPacketNotifReq: '1' + Gtp2Ecgi: '0' + Gtp2EcgiSize: '28' + Gtp2EchoTimeSec: '0' + Gtp2EnbUliEn: 'false' + Gtp2ExtEn: 'false' + Gtp2FwdUplinkDataEcmIdle: 'false' + Gtp2GtpcTunnelEndptId: '1000000' + Gtp2GtpuIncludeSeqEn: 'true' + Gtp2GtpuTunnelEndptId: '2000000' + Gtp2IdleEntryTime: '0' + Gtp2IgnoreRestartCtrEn: 'false' + Gtp2Imei: '50502410121507' + Gtp2Imsi: '505024101215074' + Gtp2IncCgiEn: 'false' + Gtp2IncEcgiEn: 'true' + Gtp2IncPcoOpt: none + Gtp2IncRaiEn: 'false' + Gtp2IncSaiEn: 'false' + Gtp2IncTaiEn: 'true' + Gtp2MacroEnbEn: 'false' + Gtp2MaxWaitTimeEn: 'false' + Gtp2Mcc: '000' + Gtp2Mnc: '000' + Gtp2ModBearerDlDataDelay: '0' + Gtp2MsIsdnEn: 'false' + Gtp2N3Attempts: '5' + Gtp2PagingTimeMs: '0' + Gtp2PcoAddEn: 'false' + Gtp2PcoIpcpEn: 'false' + Gtp2QosArpPreemptCapEn_1: 'false' + Gtp2QosArpPreemptVulnEn_1: 'false' + Gtp2QosArpValue_1: '1' + Gtp2QosClassId_1: '1' + Gtp2QosDetail: Summary + Gtp2QosGuarDownlink_1: '1' + Gtp2QosGuarUplink_1: '1' + Gtp2QosMaxDownlink_1: '1' + Gtp2QosMaxUplink_1: '1' + Gtp2RadioAccessType: '6' + Gtp2RejectDedEn: 'false' + Gtp2RemoteUeReportTime: '0' + Gtp2RestartCnt: '1' + Gtp2SupportMabrEn: 'false' + Gtp2SwVersionEn: 'false' + Gtp2T3Time: '20' + Gtp2Tac: '0' + Gtp2UeDaySaveTime: '0' + Gtp2UeMultPdnConnReqSameApnEn_0: 'false' + Gtp2UeTimeZone: '0' + Gtp2UliDbCmdCbRspEn: 'true' + Gtp2Version: 15.2.0 + HomeAddrType: '1' + HomeAddrTypePerBearerEn: 'false' + HssIfEn: 'false' + MmeControlAddr: + class: TestNode + ethStatsEnabled: 'false' + forcedEthInterface: '' + innerVlanId: 0 + ip: MME_CONTROL_IP + mac: '' + mtu: 1500 + nextHop: '' + numLinksOrNodes: 1 + numVlan: 1 + phy: MME_CONTROL_PHY + uniqueVlanAddr: 'false' + vlanDynamic: 0 + vlanId: 0 + vlanTagType: 0 + vlanUserPriority: 0 + MmeControlAddrErrInj: '0' + MultipathTcpEn: 'false' + NetworkHost: Local + NetworkHostAddrLocal: + class: TestNode + ethStatsEnabled: 'false' + forcedEthInterface: '' + innerVlanId: 0 + ip: NET_HOST_IP + mac: '' + mtu: 1500 + nextHop: '' + numLinksOrNodes: 1 + numVlan: 1 + phy: NET_HOST_PHY + uniqueVlanAddr: 'false' + vlanDynamic: 0 + vlanId: 0 + vlanTagType: 0 + vlanUserPriority: 0 + NetworkHostAddrLocalErrInj: '0' + NetworkHostNatedTrafficEn: 'false' + PgwNodeEn: 'false' + PgwUserSutEn: 'false' + PgwV4Sut: + class: Sut + name: PGW_TESTNODE_NAME + QciToDscpMarkingsEn: 'false' + S5Protocol: GTPv2 + SecPgwV4SutEn: 'false' + SessionIntervalShape: Fixed + SessionRetries: 'true' + Sessions: '1' + SgwNumSutsEn: 'false' + SgwSut: + class: Sut + name: SGW_CONTROL_NAME + SgwUserSut: + class: Sut + name: SGW_USER_NAME + StartRate: '1000.0' + T3324PwrSavingValueEn: 'false' + T3412ExValueEn: 'false' + TestActivity: Capacity Test + TestType: SGW-NODAL + TrafficDontFragIp: '0' + TrafficErrorInject: '0' + TrafficHostIdleTimeEnabler: 'false' + TrafficMtu: '1400' + TrafficStartDelay: '1000' + TrafficStartType: When All Sessions Established + UeDhcpV4En: 'false' + UeInitBearerEn: 'false' + UseStaticBearerIp: 'false' + type: SGW_Nodal + - name: '' + parameters: + AffinityModeEn: 'false' + AgwSrvNode: + class: TestNode + ethStatsEnabled: 'false' + forcedEthInterface: '' + innerVlanId: 0 + ip: PRIMARY_AGW_NAME + mac: '' + mtu: 1500 + nextHop: '' + numLinksOrNodes: 1 + numVlan: 1 + phy: PRIMARY_AGW_PHY + uniqueVlanAddr: 'false' + vlanDynamic: 0 + vlanId: 0 + vlanTagType: 0 + vlanUserPriority: 0 + AgwSrvNodeErrInj: '0' + CommandMode: 'Off' + DiaAvpDataSize: '200' + DisconnectRate: '1000.0' + HomeAddrType: '1' + LteVersion: 9.6.0 + PcrfProtocol: pcrf_gx_srv + RoamingEn: 'false' + Sessions: '1' + StartingMsIpAddr: 1.0.0.1 + TestType: PCRF-NODE + TyCcDsSrvNumRuleSet: '0' + TyCcSrvAddFailedAvpEn: 'false' + TyCcSrvApnCaseInsensitiveEn: 'true' + TyCcSrvApnMapEn: 'true' + TyCcSrvApnProfilesEn: 'false' + TyCcSrvApns: + array: [] + class: Array + TyCcSrvApplicationId: '16777238' + TyCcSrvAuthKey: '505024101215074' + TyCcSrvAuthKeyType: IMSI + TyCcSrvAvpCfgFileEn: 'false' + TyCcSrvCcaIDelayEn: 'false' + TyCcSrvCcaTDelayEn: 'false' + TyCcSrvCcaUDelayEn: 'false' + TyCcSrvChargingAvpEn: 'false' + TyCcSrvCopyFilterFromRxEn: 'false' + TyCcSrvDoNotInitiateDprEn: 'false' + TyCcSrvDprCause: '2' + TyCcSrvExcludeFlowDirEn: 'false' + TyCcSrvImeiSvKeyEn: 'false' + TyCcSrvMobSupportEn: 'false' + TyCcSrvNumPeers: '1' + TyCcSrvOfflineAvpEn: 'false' + TyCcSrvOnlineAvpEn: 'false' + TyCcSrvOriginHost: AGWServer.Spirent.com + TyCcSrvOriginRealm: Spirent.com + TyCcSrvPktFltIdAlwaysEn: 'false' + TyCcSrvProductName: 'Landslide PCRF' + TyCcSrvRetryTime: '5000' + TyCcSrvSctp3SackRuleEn: 'false' + TyCcSrvSctpAckDelay: '100' + TyCcSrvSctpAckEn: 'true' + TyCcSrvSctpHeartbeatInterval: '30' + TyCcSrvSctpMaxRetransAssoc: '5' + TyCcSrvSctpMultiHomedMultiSrcEn: 'false' + TyCcSrvSctpSackThreshold: '2' + TyCcSrvSecondaryPcrfEn: 'false' + TyCcSrvTcpProtocol: '1' + TyCcSrvTcpWinSize: '32768' + TyCcSrvVendorId: '10415' + TyCcSrvVsaDbList: '30' + TyCcSrvWatchDogTime: '30' + TyCcV41Vsa: + attrInfos: [] + class: Vsa + isCriteria: 'false' + isGeneric: 'false' + protocol: '603' + TyCcV42Vsa: + attrInfos: [] + class: Vsa + isCriteria: 'false' + isGeneric: 'false' + protocol: '603' + TyCcV4AvpDataSize1: '200' + TyCcV4AvpDataSize2: '0' + TyCcV4SrvApn_1: '0' + TyCcV4SrvApn_2: '0' + TyCcV4SrvCrAction_1_1: Install + TyCcV4SrvCrAction_2_1: Install + TyCcV4SrvCrActivationTimeEn_1_1: 'false' + TyCcV4SrvCrActivationTimeEn_2_1: 'false' + TyCcV4SrvCrBearerIdEn_1_1: 'false' + TyCcV4SrvCrBearerIdEn_2_1: 'false' + TyCcV4SrvCrDeactivationTimeEn_1_1: 'false' + TyCcV4SrvCrDeactivationTimeEn_2_1: 'false' + TyCcV4SrvCrFilterDestIp_1_1_1_1: any + TyCcV4SrvCrFilterDirection_1_1_1_1: '3' + TyCcV4SrvCrFilterFlowLabel_1_1_1_1: '' + TyCcV4SrvCrFilterId_1_1_1_1: Fltr_V4_1_1_1_1 + TyCcV4SrvCrFilterSpi_1_1_1_1: '' + TyCcV4SrvCrFilterTos_1_1_1_1: '' + TyCcV4SrvCrFilter_1_1_1_1: permit in ip from + TyCcV4SrvCrIpType_1_1_1_1: '0' + TyCcV4SrvCrNumBaseName_1_1: '0' + TyCcV4SrvCrNumBaseName_2_1: '0' + TyCcV4SrvCrNumFilters_1_1_1: '1' + TyCcV4SrvCrNumFilters_2_1_1: '0' + TyCcV4SrvCrNumRuleDef_1_1: '1' + TyCcV4SrvCrNumRuleDef_2_1: '1' + TyCcV4SrvCrNumRuleName_1_1: '1' + TyCcV4SrvCrNumRuleName_2_1: '1' + TyCcV4SrvCrOverwriteSrcIpEn_1_1_1_1: 'false' + TyCcV4SrvCrPolRuleEn_1_1_1: 'true' + TyCcV4SrvCrPolRuleEn_2_1_1: 'true' + TyCcV4SrvCrQciEn_1_1_1: 'true' + TyCcV4SrvCrQciEn_2_1_1: 'true' + TyCcV4SrvCrQci_1_1_1: '1' + TyCcV4SrvCrQci_2_1_1: '1' + TyCcV4SrvCrResourceAllocEn_1_1: 'false' + TyCcV4SrvCrResourceAllocEn_2_1: 'false' + TyCcV4SrvCrRuleDefAfChargIdEn_1_1_1: 'false' + TyCcV4SrvCrRuleDefAfChargIdEn_2_1_1: 'false' + TyCcV4SrvCrRuleDefAppSvcProvIdEn_1_1_1: 'false' + TyCcV4SrvCrRuleDefAppSvcProvIdEn_2_1_1: 'false' + TyCcV4SrvCrRuleDefFlowStatusEn_1_1_1: 'false' + TyCcV4SrvCrRuleDefFlowStatusEn_2_1_1: 'false' + TyCcV4SrvCrRuleDefMcdNumEn_1_1_1: 'false' + TyCcV4SrvCrRuleDefMcdNumEn_2_1_1: 'false' + TyCcV4SrvCrRuleDefMetMethodEn_1_1_1: 'false' + TyCcV4SrvCrRuleDefMetMethodEn_2_1_1: 'false' + TyCcV4SrvCrRuleDefName_1_1_1: dedicated_rule_definition + TyCcV4SrvCrRuleDefName_2_1_1: default_rule_definition + TyCcV4SrvCrRuleDefOfflineAvpEn_1_1_1: 'false' + TyCcV4SrvCrRuleDefOfflineAvpEn_2_1_1: 'false' + TyCcV4SrvCrRuleDefOnlineAvpEn_1_1_1: 'false' + TyCcV4SrvCrRuleDefOnlineAvpEn_2_1_1: 'false' + TyCcV4SrvCrRuleDefPrecEn_1_1_1: 'false' + TyCcV4SrvCrRuleDefPrecEn_2_1_1: 'false' + TyCcV4SrvCrRuleDefRatGrpEn_1_1_1: 'false' + TyCcV4SrvCrRuleDefRatGrpEn_2_1_1: 'false' + TyCcV4SrvCrRuleDefSponsorIdEn_1_1_1: 'false' + TyCcV4SrvCrRuleDefSponsorIdEn_2_1_1: 'false' + TyCcV4SrvCrRuleDefSrvIDEn_1_1_1: 'false' + TyCcV4SrvCrRuleDefSrvIDEn_2_1_1: 'false' + TyCcV4SrvCrRuleName_1_1_1: dedicated_charging_rule + TyCcV4SrvCrRuleName_2_1_1: default_charging_rule + TyCcV4SrvCrUserIpExt_1_1_1_1: '' + TyCcV4SrvNumCr_1: '1' + TyCcV4SrvNumCr_2: '1' + TyCcV4SrvNumRuleSet: '2' + TyCcV4SrvPrArpEn_1_1_1: 'false' + TyCcV4SrvPrArpEn_2_1_1: 'false' + TyCcV4SrvPrBearerIdEn_1_1_1: 'false' + TyCcV4SrvPrBearerIdEn_2_1_1: 'false' + TyCcV4SrvPrGuaranteedBwEn_1_1_1: 'true' + TyCcV4SrvPrGuaranteedBwEn_2_1_1: 'false' + TyCcV4SrvPrGuaranteedDownlink_1_1_1: '100' + TyCcV4SrvPrGuaranteedUplink_1_1_1: '100' + TyCcV4SrvPrIncPacketFilterUsage_1_1_1: 'false' + TyCcV4SrvPrIncPacketFilterUsage_2_1_1: 'false' + TyCcV4SrvPrMaxBwEn_1_1_1: 'true' + TyCcV4SrvPrMaxBwEn_2_1_1: 'false' + TyCcV4SrvPrMaxDL_1_1_1: '100' + TyCcV4SrvPrMaxUL_1_1_1: '100' + TyCcV4SrvPrUseAssignedEn_1_1_1: 'false' + TyCcV4SrvPrUseAssignedEn_2_1_1: 'false' + TyCcV4SrvRevalidateEn_1: 'false' + TyCcV4SrvRevalidateEn_2: 'false' + TyCcV4SrvRuleInterval_1: '10' + TyCcV4SrvRuleInterval_2: '0' + TyCcV6SrvNumRuleSet: '0' + TyCcVsa: + attrInfos: [] + class: Vsa + isCriteria: 'false' + isGeneric: 'false' + protocol: '303' + type: PCRF_Node + tsId: SGW_NODAL_PCRF_NODE_TS_NAME diff --git a/samples/vnf_samples/traffic_profiles/landslide/landslide_session_network_service_request.yaml b/samples/vnf_samples/traffic_profiles/landslide/landslide_session_network_service_request.yaml new file mode 100644 index 000000000..2589a6b47 --- /dev/null +++ b/samples/vnf_samples/traffic_profiles/landslide/landslide_session_network_service_request.yaml @@ -0,0 +1,341 @@ +# 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 implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +--- +description: Network triggered service request +keywords: '' +duration: 60 +library: test +name: network_initiated_service_request +tsGroups: +- testCases: + - name: '' + AssociatedPhys: '' + parameters: + BearerAddrPool: 2001::1 + BearerV4AddrPool: 1.0.0.1 + BillingEn: 'false' + DedicatedsPerDefaultBearer: '0' + DefaultBearers: '1' + FireballEn: 'false' + Gtp2AmbrDownlink: '1' + Gtp2AmbrUplink: '1' + Gtp2ApnNumSpecifiedApns_0: '0' + Gtp2ApnRestriction: '0' + Gtp2ApnRetries_0: '0' + Gtp2ApnSelectMode: '0' + Gtp2ApnSpecified_0: + array: [] + class: Array + Gtp2ApnTotalApns_0: '1' + Gtp2Apn_0: ssenoauth146 + Gtp2CfgFileEn: 'false' + Gtp2Ecgi: '0' + Gtp2EcgiSize: '28' + Gtp2EchoTimeSec: '0' + Gtp2ExtEn: 'false' + Gtp2GtpcTunnelEndptId: '1000000' + Gtp2GtpuIncludeSeqEn: 'true' + Gtp2GtpuTunnelEndptId: '2000000' + Gtp2IgnoreRestartCtrEn: 'false' + Gtp2Imei: '50502410121507' + Gtp2Imsi: '505024101215074' + Gtp2IncCgiEn: 'false' + Gtp2IncEcgiEn: 'true' + Gtp2IncRaiEn: 'false' + Gtp2IncSaiEn: 'false' + Gtp2IncTaiEn: 'true' + Gtp2MacroEnbEn: 'false' + Gtp2Mcc: '000' + Gtp2Mnc: '000' + Gtp2MobGtpuForwardingEndptId: '5000000' + Gtp2MsIsdnEn: 'false' + Gtp2N3Attempts: '5' + Gtp2PagingTimeMs: '0' + Gtp2PersistentImsiEn: 'false' + Gtp2QosArpPreemptCapEn_1: 'false' + Gtp2QosArpPreemptVulnEn_1: 'false' + Gtp2QosArpValue_1: '1' + Gtp2QosClassId_1: '1' + Gtp2QosDetail: Summary + Gtp2QosGuarDownlink_1: '1' + Gtp2QosGuarUplink_1: '1' + Gtp2QosMaxDownlink_1: '1' + Gtp2QosMaxUplink_1: '1' + Gtp2RadioAccessType: '6' + Gtp2ResponseDelayEn: 'false' + Gtp2RestartCnt: '1' + Gtp2RouterAdDelay: '1' + Gtp2S5GtpcTunnelEndptId: '3000000' + Gtp2S5GtpuTunnelEndptId: '4000000' + Gtp2SupportMabrEn: 'false' + Gtp2T3Time: '20' + Gtp2Tac: '0' + Gtp2Version: 15.2.0 + PgwNodeEn: 'true' + QciToDscpMarkingsEn: 'false' + S5Protocol: GTPv2 + Sessions: '1000' + SgiPtpTunnelEn: 'false' + SgwControlAddr: + class: TestNode + ethStatsEnabled: 'false' + forcedEthInterface: '' + innerVlanId: 0 + ip: SGW_CONTROL_IP + mac: '' + mtu: 1500 + nextHop: '' + numLinksOrNodes: 1 + numVlan: 1 + phy: SGW_CONTROL_PHY + uniqueVlanAddr: 'false' + vlanDynamic: 0 + vlanId: 0 + vlanTagType: 0 + vlanUserPriority: 0 + SgwControlAddrErrInj: '0' + SgwUserAddr: + class: TestNode + ethStatsEnabled: 'false' + forcedEthInterface: '' + innerVlanId: 0 + ip: SGW_USER_IP + mac: '' + mtu: 1500 + nextHop: '' + numLinksOrNodes: 1 + numVlan: 1 + phy: SGW_USER_PHY + uniqueVlanAddr: 'false' + vlanDynamic: 0 + vlanId: 0 + vlanTagType: 0 + vlanUserPriority: 0 + SgwUserAddrErrInj: '0' + SgwUserDualStackEn: 'false' + TestType: SGW-NODE + TrafficMtu: '1400' + UeDhcpV4En: 'false' + type: SGW_Node + tsId: SGW_NODE_TS_NAME +- testCases: + - name: '' + parameters: + ApnDnsEn: 'false' + ApnToPgwMappingEn: 'false' + AutoStopControlLayer: 'false' + ContinuousWithVerification: 'false' + CpCiotEpsOptimizationEn: 'false' + CtlBearerToDscpEn: 'false' + DataHostCfgFileEn: 'false' + DataResumeRate: '3000' + DataTraffic: Continuous + DataUserCfgFileEn: 'false' + DedicatedsPerDefaultBearer: '0' + DefaultBearers: '1' + DisconnectRate: '1000.0' + Dmf: + class: Dmf + instanceGroups: + - mainflowIdx: 0 + mixType: '' + rate: 0.0 + rows: + - clientPort: 0 + context: 0 + node: 0 + overridePort: 'false' + ratingGroup: 0 + role: Server + serviceId: 0 + transport: Any + mainflows: + - library: test + name: Basic UDP + DualStackEn: 'false' + EDrxValueEn: 'false' + EirIfEn: 'false' + EmergencyAttachWithImeiEn: 'false' + EmergencyAttachWoAuthEn: 'false' + EmergencyPdnIndexEn: 'false' + EnableExternalData: '0' + EnbUserAddr: + class: TestNode + ethStatsEnabled: 'false' + forcedEthInterface: '' + innerVlanId: 0 + ip: ENB_USER_IP + mac: '' + mtu: 1500 + nextHop: '' + numLinksOrNodes: 1 + numVlan: 1 + phy: ENB_USER_PHY + uniqueVlanAddr: 'false' + vlanDynamic: 0 + vlanId: 0 + vlanTagType: 0 + vlanUserPriority: 0 + EnbUserAddrErrInj: '0' + FireballEn: 'false' + Gtp2ActivationDelay: '0' + Gtp2AmbrDownlink: '1' + Gtp2AmbrUplink: '1' + Gtp2ApnNumSpecifiedApns_0: '0' + Gtp2ApnNumSpecifiedApns_1: '0' + Gtp2ApnRestriction: '0' + Gtp2ApnRetries_0: '0' + Gtp2ApnRetries_1: '0' + Gtp2ApnSelectMode: '0' + Gtp2ApnSpecified_0: + array: [] + class: Array + Gtp2ApnSpecified_1: + array: [] + class: Array + Gtp2ApnTotalApns_0: '1' + Gtp2ApnTotalApns_1: '1' + Gtp2Apn_0: ssenoauth146 + Gtp2Apn_1: ssenoauth146 + Gtp2BearerModEn: 'false' + Gtp2CfgFileEn: 'false' + Gtp2ChargingChars: '0x0' + Gtp2DelayDlPacketNotifReq: '1' + Gtp2Ecgi: '0' + Gtp2EcgiSize: '28' + Gtp2EchoTimeSec: '0' + Gtp2EnbUliEn: 'false' + Gtp2ExtEn: 'false' + Gtp2FwdUplinkDataEcmIdle: 'false' + Gtp2GtpcTunnelEndptId: '1000000' + Gtp2GtpuIncludeSeqEn: 'true' + Gtp2GtpuTunnelEndptId: '2000000' + Gtp2IdleEntryTime: '0' + Gtp2IgnoreRestartCtrEn: 'false' + Gtp2Imei: '50502410121507' + Gtp2Imsi: '505024101215074' + Gtp2IncCgiEn: 'false' + Gtp2IncEcgiEn: 'true' + Gtp2IncPcoOpt: none + Gtp2IncRaiEn: 'false' + Gtp2IncSaiEn: 'false' + Gtp2IncTaiEn: 'true' + Gtp2MacroEnbEn: 'false' + Gtp2MaxWaitTimeEn: 'false' + Gtp2Mcc: '000' + Gtp2Mnc: '000' + Gtp2ModBearerDlDataDelay: '0' + Gtp2MsIsdnEn: 'false' + Gtp2N3Attempts: '5' + Gtp2PagingTimeMs: '0' + Gtp2PcoAddEn: 'false' + Gtp2PcoIpcpEn: 'false' + Gtp2QosArpPreemptCapEn_1: 'false' + Gtp2QosArpPreemptVulnEn_1: 'false' + Gtp2QosArpValue_1: '1' + Gtp2QosClassId_1: '1' + Gtp2QosDetail: Summary + Gtp2QosGuarDownlink_1: '1' + Gtp2QosGuarUplink_1: '1' + Gtp2QosMaxDownlink_1: '1' + Gtp2QosMaxUplink_1: '1' + Gtp2RadioAccessType: '6' + Gtp2RejectDedEn: 'false' + Gtp2RemoteUeReportTime: '0' + Gtp2RestartCnt: '1' + Gtp2SupportMabrEn: 'false' + Gtp2SwVersionEn: 'false' + Gtp2T3Time: '20' + Gtp2Tac: '0' + Gtp2UeDaySaveTime: '0' + Gtp2UeMultPdnConnReqSameApnEn_0: 'false' + Gtp2UeTimeZone: '0' + Gtp2UliDbCmdCbRspEn: 'true' + Gtp2Version: 15.2.0 + HomeAddrType: '1' + HomeAddrTypePerBearerEn: 'false' + HssIfEn: 'false' + MmeControlAddr: + class: TestNode + ethStatsEnabled: 'false' + forcedEthInterface: '' + innerVlanId: 0 + ip: MME_CONTROL_IP + mac: '' + mtu: 1500 + nextHop: '' + numLinksOrNodes: 1 + numVlan: 1 + phy: MME_CONTROL_PHY + uniqueVlanAddr: 'false' + vlanDynamic: 0 + vlanId: 0 + vlanTagType: 0 + vlanUserPriority: 0 + MmeControlAddrErrInj: '0' + MultipathTcpEn: 'false' + NetworkHost: Local + NetworkHostAddrLocal: + class: TestNode + ethStatsEnabled: 'false' + forcedEthInterface: '' + innerVlanId: 0 + ip: NET_HOST_IP + mac: '' + mtu: 1500 + nextHop: '' + numLinksOrNodes: 1 + numVlan: 1 + phy: NET_HOST_PHY + uniqueVlanAddr: 'false' + vlanDynamic: 0 + vlanId: 0 + vlanTagType: 0 + vlanUserPriority: 0 + NetworkHostAddrLocalErrInj: '0' + NetworkHostNatedTrafficEn: 'false' + PgwNodeEn: 'false' + PgwUserSutEn: 'false' + PgwV4Sut: + class: Sut + name: PGW_SUT_NAME + QciToDscpMarkingsEn: 'false' + S5Protocol: GTPv2 + SecPgwV4SutEn: 'false' + SessionIntervalShape: Fixed + SessionRetries: 'true' + Sessions: '1000' + SgwNumSutsEn: 'false' + SgwSut: + class: Sut + name: PGW_SUT_NAME + SgwUserSut: + class: Sut + name: SGW_USER_NAME + StartRate: '1000.0' + T3324PwrSavingValueEn: 'false' + T3412ExValueEn: 'false' + TestActivity: Capacity Test + TestType: SGW-NODAL + TrafficDontFragIp: '0' + TrafficErrorInject: '0' + TrafficHostIdleTimeEnabler: 'false' + TrafficMtu: '1400' + TrafficStartDelay: '10000' + TrafficStartType: When All Sessions Established + UeDhcpV4En: 'false' + UseStaticBearerIp: 'false' + type: SGW_Nodal + tsId: SGW_NODAL_TS_NAME diff --git a/samples/vnf_samples/traffic_profiles/landslide/landslide_session_saegw_relocation.yaml b/samples/vnf_samples/traffic_profiles/landslide/landslide_session_saegw_relocation.yaml new file mode 100644 index 000000000..f6daeee40 --- /dev/null +++ b/samples/vnf_samples/traffic_profiles/landslide/landslide_session_saegw_relocation.yaml @@ -0,0 +1,177 @@ +# 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 implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +--- +description: SAEGW throughput with relocation test case +keywords: '' +duration: 60 +library: test +name: saegw_relocation +tsGroups: +- testCases: + - name: '' + type: SGW_Node + AssociatedPhys: '' + parameters: + BearerAddrPool: 2001::1 + BearerV4AddrPool: 1.0.0.1 + BillingEn: 'false' + DedicatedsPerDefaultBearer: '0' + DefaultBearers: '1' + FireballEn: 'false' + Gtp2Imei: '50502410121507' + Gtp2Imsi: '505024101215074' + Gtp2Version: 15.2.0 + PgwNodeEn: 'true' + QciToDscpMarkingsEn: 'false' + S5Protocol: GTPv2 + Sessions: '20000' + SgiPtpTunnelEn: 'false' + SgwControlAddr: + class: TestNode + ethStatsEnabled: 'false' + forcedEthInterface: '' + innerVlanId: 0 + ip: SGW_CONTROL_IP + mtu: 1500 + nextHop: '' + numLinksOrNodes: 1 + phy: SGW_CONTROL_PHY + SgwControlAddrErrInj: '0' + SgwUserAddr: + class: TestNode + ethStatsEnabled: 'false' + forcedEthInterface: '' + ip: SGW_USER_IP + mtu: 1500 + nextHop: '' + numLinksOrNodes: 1 + phy: SGW_USER_PHY + SgwUserAddrErrInj: '0' + SgwUserDualStackEn: 'false' + TestType: SGW-NODE + TrafficMtu: '1400' + UeDhcpV4En: 'false' + tsId: SGW_NODE_TS_NAME +- testCases: + - name: '' + type: SGW_Nodal + parameters: + ApnDnsEn: 'false' + ApnToPgwMappingEn: 'false' + AutoStopControlLayer: 'false' + ContinuousWithVerification: 'false' + CtlBearerToDscpEn: 'false' + DataHostCfgFileEn: 'false' + DataResumeRate: '3000' + DataTraffic: Continuous + DataUserCfgFileEn: 'false' + DedicatedsPerDefaultBearer: '0' + DefaultBearers: '1' + DisconnectRate: '1000.0' + Dmf: + class: Dmf + instanceGroups: + - mainflowIdx: 0 + mixType: '' + rate: 0.0 + mainflows: + - library: test + name: Basic UDP + DualStackEn: 'false' + EnbUserAddr: + class: TestNode + ethStatsEnabled: 'false' + forcedEthInterface: '' + innerVlanId: 0 + ip: ENB_USER_IP + mtu: 1500 + nextHop: '' + numLinksOrNodes: 1 + phy: ENB_USER_PHY + FireballEn: 'false' + Gtp2Imei: '50502410121507' + Gtp2Imsi: '505024101215074' + Gtp2Version: 15.2.0 + HandoffType: '0' + HomeAddrType: '1' + HomeAddrTypePerBearerEn: 'false' + HssIfEn: 'false' + MmeControlAddr: + class: TestNode + ethStatsEnabled: 'false' + forcedEthInterface: '' + innerVlanId: 0 + ip: MME_CONTROL_IP + mtu: 1500 + nextHop: '' + numLinksOrNodes: 1 + phy: MME_CONTROL_PHY + MmeControlAddrErrInj: '0' + MobEnbUserAddr: + class: TestNode + ethStatsEnabled: 'false' + forcedEthInterface: '' + innerVlanId: 0 + ip: TARGET_ENB_USER_IP + mtu: 1500 + nextHop: '' + numLinksOrNodes: 1 + phy: TARGET_ENB_USER_PHY + MobEnbUserAddrErrInj: '0' + MobilityIntervalShape: Fixed + MobilityMode: Single Handoff + MobilityRate: '1.0' + MobilityTimeMs: '10000' + MultipathTcpEn: 'false' + NetworkHost: Local + NetworkHostAddrLocal: + class: TestNode + ethStatsEnabled: 'false' + forcedEthInterface: '' + innerVlanId: 0 + ip: NET_HOST_IP + mtu: 1500 + nextHop: '' + numLinksOrNodes: 1 + phy: NET_HOST_PHY + NetworkHostAddrLocalErrInj: '0' + NetworkHostNatedTrafficEn: 'false' + PgwNodeEn: 'false' + PgwUserSutEn: 'false' + PgwV4Sut: + class: Sut + name: PGW_SUT_NAME + QciToDscpMarkingsEn: 'false' + S5Protocol: GTPv2 + SecPgwV4SutEn: 'false' + SessionIntervalShape: Fixed + SessionRetries: 'true' + Sessions: '20000' + SgwNumSutsEn: 'false' + SgwRelocationEn: 'false' + SgwSut: + class: Sut + name: SGW_CONTROL_NAME + SgwUserSut: + class: Sut + name: SGW_USER_NAME + StartRate: '1000.0' + StartType: When All Sessions Started + TestActivity: Intra-MME Mobility + TestType: SGW-NODAL + TrafficMtu: '1400' + TrafficStartDelay: '1000' + TrafficStartType: When Session Established + tsId: SGW_NODAL_TS_NAME diff --git a/samples/vnf_samples/traffic_profiles/landslide/landslide_session_ue_dedicated_bearer.yaml b/samples/vnf_samples/traffic_profiles/landslide/landslide_session_ue_dedicated_bearer.yaml new file mode 100644 index 000000000..ace6e0258 --- /dev/null +++ b/samples/vnf_samples/traffic_profiles/landslide/landslide_session_ue_dedicated_bearer.yaml @@ -0,0 +1,353 @@ +# 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 implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +--- +description: 'UE initiated dedicated bearer creation test case' +duration: 60 +keywords: '' +library: test +name: capacity_dedicated_bearer_creation +tsGroups: +- testCases: + - name: '' + AssociatedPhys: '' + parameters: + BearerAddrPool: 2001::1 + BearerV4AddrPool: 1.0.0.1 + BillingEn: 'false' + DedicatedsPerDefaultBearer: '1' + DefaultBearers: '1' + FireballEn: 'false' + Gtp2AmbrDownlink: '1' + Gtp2AmbrUplink: '1' + Gtp2ApnNumSpecifiedApns_0: '0' + Gtp2ApnRestriction: '0' + Gtp2ApnRetries_0: '0' + Gtp2ApnSelectMode: '0' + Gtp2ApnSpecified_0: + array: [] + class: Array + Gtp2ApnTotalApns_0: '1' + Gtp2Apn_0: ssenoauth146 + Gtp2CfgFileEn: 'false' + Gtp2Ecgi: '0' + Gtp2EcgiSize: '28' + Gtp2EchoTimeSec: '0' + Gtp2ExtEn: 'false' + Gtp2GtpcTunnelEndptId: '1000000' + Gtp2GtpuIncludeSeqEn: 'true' + Gtp2GtpuTunnelEndptId: '2000000' + Gtp2IgnoreRestartCtrEn: 'false' + Gtp2Imei: '50502410121507' + Gtp2Imsi: '505024101215074' + Gtp2IncCgiEn: 'false' + Gtp2IncEcgiEn: 'true' + Gtp2IncRaiEn: 'false' + Gtp2IncSaiEn: 'false' + Gtp2IncTaiEn: 'true' + Gtp2MacroEnbEn: 'false' + Gtp2Mcc: '000' + Gtp2Mnc: '000' + Gtp2MobGtpuForwardingEndptId: '5000000' + Gtp2MsIsdnEn: 'false' + Gtp2N3Attempts: '5' + Gtp2PagingTimeMs: '0' + Gtp2PersistentImsiEn: 'false' + Gtp2PiggybackEn_sgw: '0' + Gtp2QosArpPreemptCapEn_1: 'false' + Gtp2QosArpPreemptVulnEn_1: 'false' + Gtp2QosArpValue_1: '1' + Gtp2QosClassId_1: '1' + Gtp2QosDetail: Summary + Gtp2QosGuarDownlink_1: '1' + Gtp2QosGuarUplink_1: '1' + Gtp2QosMaxDownlink_1: '1' + Gtp2QosMaxUplink_1: '1' + Gtp2RadioAccessType: '6' + Gtp2ResponseDelayEn: 'false' + Gtp2RestartCnt: '1' + Gtp2RouterAdDelay: '1' + Gtp2S5GtpcTunnelEndptId: '3000000' + Gtp2S5GtpuTunnelEndptId: '4000000' + Gtp2SupportMabrEn: 'false' + Gtp2T3Time: '20' + Gtp2Tac: '0' + Gtp2Version: 15.2.0 + PgwNodeEn: 'true' + QciToDscpMarkingsEn: 'false' + S5Protocol: GTPv2 + Sessions: '1000' + SgiPtpTunnelEn: 'false' + SgwControlAddr: + class: TestNode + ethStatsEnabled: 'false' + forcedEthInterface: '' + innerVlanId: 0 + ip: SGW_CONTROL_IP + mac: '' + mtu: 1500 + nextHop: '' + numLinksOrNodes: 1 + numVlan: 1 + phy: eth5 + uniqueVlanAddr: 'false' + vlanDynamic: 0 + vlanId: 0 + vlanTagType: 0 + vlanUserPriority: 0 + SgwControlAddrErrInj: '0' + SgwUserAddr: + class: TestNode + ethStatsEnabled: 'false' + forcedEthInterface: '' + innerVlanId: 0 + ip: SGW_USER_IP + mac: '' + mtu: 1500 + nextHop: '' + numLinksOrNodes: 1 + numVlan: 1 + phy: eth5 + uniqueVlanAddr: 'false' + vlanDynamic: 0 + vlanId: 0 + vlanTagType: 0 + vlanUserPriority: 0 + SgwUserAddrErrInj: '0' + SgwUserDualStackEn: 'false' + SxaControlNodeAddrXPort: '8805' + SxaUserNodeAddrXPort: '8805' + TestType: SGW-NODE + TrafficMtu: '1400' + TrafficNumTftsForContext0: '1' + UeDhcpV4En: 'false' + UeInitBearerEn: 'false' + type: SGW_Node + tsId: SGW_NODE_TS_NAME +- testCases: + - name: '' + parameters: + ApnDnsEn: 'false' + ApnToPgwMappingEn: 'false' + AutoStopControlLayer: 'false' + ContinuousWithVerification: 'false' + CpCiotEpsOptimizationEn: 'false' + CtlBearerToDscpEn: 'false' + DataHostCfgFileEn: 'false' + DataResumeRate: '3000' + DataTraffic: Continuous + DataUserCfgFileEn: 'false' + DedBearerConnectDelay: '0' + DedBearerDisconnectDelay: '0' + DedicatedBearerConnectRateEn: 'false' + DedicatedBearerDisconnectRateEn: 'false' + DedicatedsPerDefaultBearer: '1' + DefaultBearers: '1' + DisconnectDedicatedBearerEn: 'false' + DisconnectRate: '1000.0' + Dmf: + class: Dmf + instanceGroups: + - mainflowIdx: 0 + mixType: '' + rate: 0.0 + rows: + - clientPort: 0 + context: 0 + node: 0 + overridePort: 'false' + ratingGroup: 0 + role: 0 + serviceId: 0 + transport: Any + mainflows: + - library: test + name: Basic UDP + DualStackEn: 'false' + EDrxValueEn: 'false' + EirIfEn: 'false' + EmergencyAttachWithImeiEn: 'false' + EmergencyAttachWoAuthEn: 'false' + EmergencyPdnIndexEn: 'false' + EnableExternalData: '0' + EnbUserAddr: + class: TestNode + ethStatsEnabled: 'false' + forcedEthInterface: '' + innerVlanId: 0 + ip: ENB_USER_IP + mac: '' + mtu: 1500 + nextHop: '' + numLinksOrNodes: 1 + numVlan: 1 + phy: eth5 + uniqueVlanAddr: 'false' + vlanDynamic: 0 + vlanId: 0 + vlanTagType: 0 + vlanUserPriority: 0 + EnbUserAddrErrInj: '0' + FireballEn: 'false' + Gtp2ActivationDelay: '0' + Gtp2AmbrDownlink: '1' + Gtp2AmbrUplink: '1' + Gtp2ApnNumSpecifiedApns_0: '0' + Gtp2ApnNumSpecifiedApns_1: '0' + Gtp2ApnRestriction: '0' + Gtp2ApnRetries_0: '0' + Gtp2ApnRetries_1: '0' + Gtp2ApnSelectMode: '0' + Gtp2ApnSpecified_0: + array: [] + class: Array + Gtp2ApnSpecified_1: + array: [] + class: Array + Gtp2ApnTotalApns_0: '1' + Gtp2ApnTotalApns_1: '1' + Gtp2Apn_0: ssenoauth146 + Gtp2Apn_1: ssenoauth146 + Gtp2BearerModEn: 'false' + Gtp2CfgFileEn: 'false' + Gtp2ChargingChars: '0x0' + Gtp2DelayDlPacketNotifReq: '1' + Gtp2Ecgi: '0' + Gtp2EcgiSize: '28' + Gtp2EchoTimeSec: '0' + Gtp2EnbUliEn: 'false' + Gtp2ExtEn: 'false' + Gtp2FwdUplinkDataEcmIdle: 'false' + Gtp2GtpcTunnelEndptId: '1000000' + Gtp2GtpuIncludeSeqEn: 'true' + Gtp2GtpuTunnelEndptId: '2000000' + Gtp2IdleEntryTime: '0' + Gtp2IgnoreRestartCtrEn: 'false' + Gtp2Imei: '50502410121507' + Gtp2Imsi: '505024101215074' + Gtp2IncCgiEn: 'false' + Gtp2IncEcgiEn: 'true' + Gtp2IncPcoOpt: none + Gtp2IncRaiEn: 'false' + Gtp2IncSaiEn: 'false' + Gtp2IncTaiEn: 'true' + Gtp2MacroEnbEn: 'false' + Gtp2MaxWaitTimeEn: 'false' + Gtp2Mcc: '000' + Gtp2Mnc: '000' + Gtp2ModBearerDlDataDelay: '0' + Gtp2MsIsdnEn: 'false' + Gtp2N3Attempts: '5' + Gtp2PagingTimeMs: '0' + Gtp2PcoAddEn: 'false' + Gtp2PcoIpcpEn: 'false' + Gtp2QosArpPreemptCapEn_1: 'false' + Gtp2QosArpPreemptVulnEn_1: 'false' + Gtp2QosArpValue_1: '1' + Gtp2QosClassId_1: '1' + Gtp2QosDetail: Summary + Gtp2QosGuarDownlink_1: '1' + Gtp2QosGuarUplink_1: '1' + Gtp2QosMaxDownlink_1: '1' + Gtp2QosMaxUplink_1: '1' + Gtp2RadioAccessType: '6' + Gtp2RejectDedEn: 'false' + Gtp2RemoteUeReportTime: '0' + Gtp2RestartCnt: '1' + Gtp2SupportMabrEn: 'false' + Gtp2SwVersionEn: 'false' + Gtp2T3Time: '20' + Gtp2Tac: '0' + Gtp2UeDaySaveTime: '0' + Gtp2UeMultPdnConnReqSameApnEn_0: 'false' + Gtp2UeTimeZone: '0' + Gtp2UliDbCmdCbRspEn: 'true' + Gtp2Version: 15.2.0 + HomeAddrType: '1' + HomeAddrTypePerBearerEn: 'false' + HssIfEn: 'false' + MmeControlAddr: + class: TestNode + ethStatsEnabled: 'false' + forcedEthInterface: '' + innerVlanId: 0 + ip: MME_CONTROL_IP + mac: '' + mtu: 1500 + nextHop: '' + numLinksOrNodes: 1 + numVlan: 1 + phy: eth5 + uniqueVlanAddr: 'false' + vlanDynamic: 0 + vlanId: 0 + vlanTagType: 0 + vlanUserPriority: 0 + MmeControlAddrErrInj: '0' + MultipathTcpEn: 'false' + NetworkHost: Local + NetworkHostAddrLocal: + class: TestNode + ethStatsEnabled: 'false' + forcedEthInterface: '' + innerVlanId: 0 + ip: NET_HOST_IP + mac: '' + mtu: 1500 + nextHop: '' + numLinksOrNodes: 1 + numVlan: 1 + phy: eth5 + uniqueVlanAddr: 'false' + vlanDynamic: 0 + vlanId: 0 + vlanTagType: 0 + vlanUserPriority: 0 + NetworkHostAddrLocalErrInj: '0' + NetworkHostNatedTrafficEn: 'false' + PgwNodeEn: 'false' + PgwUserSutEn: 'false' + PgwV4Sut: + class: Sut + name: PGW_SUT_NAME + QciToDscpMarkingsEn: 'false' + S5Protocol: GTPv2 + SecPgwV4SutEn: 'false' + SessionIntervalShape: Fixed + SessionRetries: 'true' + Sessions: '1000' + SgwNumSutsEn: 'false' + SgwSut: + class: Sut + name: SGW_CONTROL_NAME + SgwUserSut: + class: Sut + name: SGW_USER_NAME + StartRate: '1000.0' + T3324PwrSavingValueEn: 'false' + T3412ExValueEn: 'false' + TestActivity: Capacity Test + TestType: SGW-NODAL + TrafficDontFragIp: '0' + TrafficErrorInject: '0' + TrafficHostIdleTimeEnabler: 'false' + TrafficMtu: '1400' + TrafficNumTftsForContext0: '1' + TrafficStartDelay: '1000' + TrafficStartType: When All Sessions Established + UeDhcpV4En: 'false' + UeInitBearerEn: 'true' + UseStaticBearerIp: 'false' + type: SGW_Nodal + tsId: SGW_NODAL_TS_NAME diff --git a/samples/vnf_samples/traffic_profiles/landslide/landslide_session_ue_service_request.yaml b/samples/vnf_samples/traffic_profiles/landslide/landslide_session_ue_service_request.yaml new file mode 100644 index 000000000..c4b178558 --- /dev/null +++ b/samples/vnf_samples/traffic_profiles/landslide/landslide_session_ue_service_request.yaml @@ -0,0 +1,378 @@ +# 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 implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +--- +description: ue initiates service request test case +keywords: '' +duration: 60 +library: test +name: ue_initiates_service_request +tsGroups: +- testCases: + - name: '' + AssociatedPhys: '' + parameters: + BearerAddrPool: 2001::1 + BearerV4AddrPool: 1.0.0.1 + BillingEn: 'false' + DedicatedsPerDefaultBearer: '1' + DefaultBearers: '1' + FireballEn: 'false' + Gtp2AmbrDownlink: '1' + Gtp2AmbrUplink: '1' + Gtp2ApnNumSpecifiedApns_0: '0' + Gtp2ApnRestriction: '0' + Gtp2ApnRetries_0: '0' + Gtp2ApnSelectMode: '0' + Gtp2ApnSpecified_0: + array: [] + class: Array + Gtp2ApnTotalApns_0: '1' + Gtp2Apn_0: ssenoauth146 + Gtp2CfgFileEn: 'false' + Gtp2Ecgi: '0' + Gtp2EcgiSize: '28' + Gtp2EchoTimeSec: '0' + Gtp2ExtEn: 'false' + Gtp2GtpcTunnelEndptId: '1000000' + Gtp2GtpuIncludeSeqEn: 'true' + Gtp2GtpuTunnelEndptId: '2000000' + Gtp2IgnoreRestartCtrEn: 'false' + Gtp2Imei: '50502410121507' + Gtp2Imsi: '505024101215074' + Gtp2IncCgiEn: 'false' + Gtp2IncEcgiEn: 'true' + Gtp2IncRaiEn: 'false' + Gtp2IncSaiEn: 'false' + Gtp2IncTaiEn: 'true' + Gtp2MacroEnbEn: 'false' + Gtp2Mcc: '000' + Gtp2Mnc: '000' + Gtp2MobGtpuForwardingEndptId: '5000000' + Gtp2MsIsdnEn: 'false' + Gtp2N3Attempts: '5' + Gtp2PagingTimeMs: '0' + Gtp2PersistentImsiEn: 'false' + Gtp2QosArpPreemptCapEn_1: 'false' + Gtp2QosArpPreemptVulnEn_1: 'false' + Gtp2QosArpValue_1: '1' + Gtp2QosClassId_1: '1' + Gtp2QosDetail: Summary + Gtp2QosGuarDownlink_1: '150' + Gtp2QosGuarUplink_1: '150' + Gtp2QosMaxDownlink_1: '200' + Gtp2QosMaxUplink_1: '200' + Gtp2RadioAccessType: '6' + Gtp2ResponseDelayEn: 'false' + Gtp2RestartCnt: '1' + Gtp2RouterAdDelay: '1' + Gtp2S5GtpcTunnelEndptId: '3000000' + Gtp2S5GtpuTunnelEndptId: '4000000' + Gtp2SupportMabrEn: 'false' + Gtp2T3Time: '20' + Gtp2Tac: '0' + Gtp2Version: 15.2.0 + PgwNodeEn: 'true' + QciToDscpMarkingsEn: 'false' + S5Protocol: GTPv2 + Sessions: '1' + SgiPtpTunnelEn: 'false' + SgwControlAddr: + class: TestNode + ethStatsEnabled: 'false' + forcedEthInterface: '' + innerVlanId: 0 + ip: SGW_CONTROL_IP + mac: '' + mtu: 1500 + nextHop: '' + numLinksOrNodes: 1 + numVlan: 1 + phy: SGW_CONTROL_PHY + uniqueVlanAddr: 'false' + vlanDynamic: 0 + vlanId: 0 + vlanTagType: 0 + vlanUserPriority: 0 + SgwControlAddrErrInj: '0' + SgwUserAddr: + class: TestNode + ethStatsEnabled: 'false' + forcedEthInterface: '' + innerVlanId: 0 + ip: SGW_USER_IP + mac: '' + mtu: 1500 + nextHop: '' + numLinksOrNodes: 1 + numVlan: 1 + phy: SGW_USER_PHY + uniqueVlanAddr: 'false' + vlanDynamic: 0 + vlanId: 0 + vlanTagType: 0 + vlanUserPriority: 0 + SgwUserAddrErrInj: '0' + SgwUserDualStackEn: 'false' + TestType: SGW-NODE + TrafficMtu: '1400' + TrafficNumTftsForContext0: '0' + UeDhcpV4En: 'false' + UeInitBearerEn: 'true' + type: SGW_Node + tsId: SGW_NODE_TS_NAME +- testCases: + - name: '' + parameters: + ApnDnsEn: 'false' + ApnToPgwMappingEn: 'false' + AutoStopControlLayer: 'false' + ContinuousWithVerification: 'false' + CpCiotEpsOptimizationEn: 'false' + CtlBearerToDscpEn: 'false' + DataHostCfgFileEn: 'false' + DataResumeRate: '3000' + DataTraffic: Continuous + DataUserCfgFileEn: 'false' + DedBearerConnectDelay: '0' + DedBearerDisconnectDelay: '0' + DedicatedBearerConnectRateEn: 'false' + DedicatedBearerDisconnectRateEn: 'false' + DedicatedsPerDefaultBearer: '1' + DefaultBearers: '1' + DisconnectRate: '1000.0' + Dmf: + class: Dmf + instanceGroups: + - mainflowIdx: 0 + mixType: '' + rate: 0.0 + rows: + - clientPort: 0 + context: 0 + node: 0 + overridePort: 'false' + ratingGroup: 0 + role: 0 + serviceId: 0 + transport: Any + mainflows: + - library: test + name: Basic UDP + DualStackEn: 'false' + EDrxValueEn: 'false' + EirIfEn: 'false' + EmergencyAttachWithImeiEn: 'false' + EmergencyAttachWoAuthEn: 'false' + EmergencyPdnIndexEn: 'false' + EnableExternalData: '0' + EnbUserAddr: + class: TestNode + ethStatsEnabled: 'false' + forcedEthInterface: '' + innerVlanId: 0 + ip: ENB_USER_IP + mac: '' + mtu: 1500 + nextHop: '' + numLinksOrNodes: 1 + numVlan: 1 + phy: ENB_USER_PHY + uniqueVlanAddr: 'false' + vlanDynamic: 0 + vlanId: 0 + vlanTagType: 0 + vlanUserPriority: 0 + EnbUserAddrErrInj: '0' + FireballEn: 'false' + Gtp2ActivationDelay: '0' + Gtp2AmbrDownlink: '1' + Gtp2AmbrUplink: '1' + Gtp2ApnNumSpecifiedApns_0: '0' + Gtp2ApnNumSpecifiedApns_1: '0' + Gtp2ApnRestriction: '0' + Gtp2ApnRetries_0: '0' + Gtp2ApnRetries_1: '0' + Gtp2ApnSelectMode: '0' + Gtp2ApnSpecified_0: + array: [] + class: Array + Gtp2ApnSpecified_1: + array: [] + class: Array + Gtp2ApnTotalApns_0: '1' + Gtp2ApnTotalApns_1: '1' + Gtp2Apn_0: ssenoauth146 + Gtp2Apn_1: ssenoauth146 + Gtp2BearerContinuousMod: 'false' + Gtp2BearerDelayTime: '10' + Gtp2BearerModEn: 'true' + Gtp2BearerModInit: UE + Gtp2CfgFileEn: 'false' + Gtp2ChargingChars: '0x0' + Gtp2DelayDlPacketNotifReq: '1' + Gtp2Ecgi: '0' + Gtp2EcgiSize: '28' + Gtp2EchoTimeSec: '0' + Gtp2EnbUliEn: 'false' + Gtp2ExtEn: 'false' + Gtp2FwdUplinkDataEcmIdle: 'false' + Gtp2GtpcTunnelEndptId: '1000000' + Gtp2GtpuIncludeSeqEn: 'true' + Gtp2GtpuTunnelEndptId: '2000000' + Gtp2IdleEntryTime: '0' + Gtp2IgnoreRestartCtrEn: 'false' + Gtp2Imei: '50502410121507' + Gtp2Imsi: '505024101215074' + Gtp2IncCgiEn: 'false' + Gtp2IncEcgiEn: 'true' + Gtp2IncModQos_2: 'true' + Gtp2IncPcoOpt: none + Gtp2IncRaiEn: 'false' + Gtp2IncSaiEn: 'false' + Gtp2IncTaiEn: 'true' + Gtp2MacroEnbEn: 'false' + Gtp2MaxWaitTimeEn: 'false' + Gtp2Mcc: '000' + Gtp2Mnc: '000' + Gtp2ModBearerDlDataDelay: '0' + Gtp2MsIsdnEn: 'false' + Gtp2N3Attempts: '5' + Gtp2PagingTimeMs: '0' + Gtp2PcoAddEn: 'false' + Gtp2PcoIpcpEn: 'false' + Gtp2QosArpPreemptCapEn_1: 'false' + Gtp2QosArpPreemptCapEn_2: 'false' + Gtp2QosArpPreemptCapEn_2_1: 'false' + Gtp2QosArpPreemptCapEn_2_2: 'false' + Gtp2QosArpPreemptVulnEn_1: 'false' + Gtp2QosArpPreemptVulnEn_2: 'false' + Gtp2QosArpPreemptVulnEn_2_1: 'false' + Gtp2QosArpPreemptVulnEn_2_2: 'false' + Gtp2QosArpValue_1: '1' + Gtp2QosArpValue_2: '1' + Gtp2QosArpValue_2_1: '1' + Gtp2QosArpValue_2_2: '1' + Gtp2QosClassId_1: '1' + Gtp2QosClassId_2: '1' + Gtp2QosClassId_2_1: '1' + Gtp2QosClassId_2_2: '5' + Gtp2QosDetail: Individual + Gtp2QosDetail_2: Individual + Gtp2QosGuarDownlink_1: '150' + Gtp2QosGuarDownlink_2: '1000' + Gtp2QosGuarDownlink_2_1: '150' + Gtp2QosGuarUplink_1: '150' + Gtp2QosGuarUplink_2: '1000' + Gtp2QosGuarUplink_2_1: '150' + Gtp2QosMaxDownlink_1: '200' + Gtp2QosMaxDownlink_2: '2000' + Gtp2QosMaxDownlink_2_1: '250' + Gtp2QosMaxUplink_1: '200' + Gtp2QosMaxUplink_2: '2000' + Gtp2QosMaxUplink_2_1: '250' + Gtp2RadioAccessType: '6' + Gtp2RejectDedEn: 'false' + Gtp2RemoteUeReportTime: '0' + Gtp2RestartCnt: '1' + Gtp2SupportMabrEn: 'false' + Gtp2SwVersionEn: 'false' + Gtp2T3Time: '20' + Gtp2Tac: '0' + Gtp2UeDaySaveTime: '0' + Gtp2UeMultPdnConnReqSameApnEn_0: 'false' + Gtp2UeTimeZone: '0' + Gtp2UliDbCmdCbRspEn: 'true' + Gtp2Version: 15.2.0 + HomeAddrType: '1' + HomeAddrTypePerBearerEn: 'false' + HssIfEn: 'false' + MmeControlAddr: + class: TestNode + ethStatsEnabled: 'false' + forcedEthInterface: '' + innerVlanId: 0 + ip: MME_CONTROL_IP + mac: '' + mtu: 1500 + nextHop: '' + numLinksOrNodes: 1 + numVlan: 1 + phy: MME_CONTROL_PHY + uniqueVlanAddr: 'false' + vlanDynamic: 0 + vlanId: 0 + vlanTagType: 0 + vlanUserPriority: 0 + MmeControlAddrErrInj: '0' + MultipathTcpEn: 'false' + NetworkHost: Local + NetworkHostAddrLocal: + class: TestNode + ethStatsEnabled: 'false' + forcedEthInterface: '' + innerVlanId: 0 + ip: NET_HOST_IP + mac: '' + mtu: 1500 + nextHop: '' + numLinksOrNodes: 1 + numVlan: 1 + phy: NET_HOST_PHY + uniqueVlanAddr: 'false' + vlanDynamic: 0 + vlanId: 0 + vlanTagType: 0 + vlanUserPriority: 0 + NetworkHostAddrLocalErrInj: '0' + NetworkHostNatedTrafficEn: 'false' + PgwNodeEn: 'false' + PgwUserSutEn: 'false' + PgwV4Sut: + class: Sut + name: PGW_SUT_NAME + QciToDscpMarkingsEn: 'false' + S5Protocol: GTPv2 + SecPgwV4SutEn: 'false' + SessionIntervalShape: Fixed + SessionRetries: 'true' + Sessions: '1' + SgwNumSutsEn: 'false' + SgwSut: + class: Sut + name: SGW_CONTROL_NAME + SgwUserSut: + class: Sut + name: SGW_USER_NAME + StartRate: '1000.0' + T3324PwrSavingValueEn: 'false' + T3412ExValueEn: 'false' + TestActivity: Capacity Test + TestType: SGW-NODAL + TrafficAutoStartingDestPort: 'false' + TrafficAutoStartingDestPort_2: 'false' + TrafficDontFragIp: '0' + TrafficErrorInject: '0' + TrafficHostIdleTimeEnabler: 'false' + TrafficMtu: '1400' + TrafficNumTftsForContext0: '0' + TrafficNumTftsForContext0_2: '0' + TrafficOpCodeForContext0_2: '0' + TrafficStartDelay: '1000' + TrafficStartType: When All Sessions Established + UeDhcpV4En: 'false' + UeInitBearerEn: 'true' + UseStaticBearerIp: 'false' + type: SGW_Nodal + tsId: SGW_NODAL_TS_NAME diff --git a/samples/vnf_samples/vnf_descriptors/agnostic_vnf.yaml b/samples/vnf_samples/vnf_descriptors/agnostic_vnf.yaml new file mode 100644 index 000000000..14a3910e3 --- /dev/null +++ b/samples/vnf_samples/vnf_descriptors/agnostic_vnf.yaml @@ -0,0 +1,44 @@ +# 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 implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +vnfd:vnfd-catalog: + vnfd: + - id: AgnosticVnf + name: AgnosticVnf + short-name: AgnosticVnf + description: 'VNFD for AgnosticVNF which wraps around any unsupported VNF + and allows for blackbox testing of the VNF.' + mgmt-interface: + vdu-id: AgnosticVnf-baremetal + {% if user is defined %} + user: '{{user}}' # Value filled by vnfdgen + {% endif %} + {% if password is defined %} + password: '{{password}}' # Value filled by vnfdgen + {% endif %} + {% if ip is defined %} + ip: '{{ip}}' # Value filled by vnfdgen + {% endif %} + {% if key_filename is defined %} + key_filename: '{{key_filename}}' # Value filled by vnfdgen + {% endif %} + vdu: + - id: AgnosticVnf-baremetal + name: AgnosticVnf-baremetal + description: Agnostic vnf + routing_table: {{ routing_table }} + nd_route_tbl: {{ nd_route_tbl }} + benchmark: + kpi: + []
\ No newline at end of file diff --git a/samples/vnf_samples/vnf_descriptors/tg_landslide_tpl.yaml b/samples/vnf_samples/vnf_descriptors/tg_landslide_tpl.yaml new file mode 100644 index 000000000..48963f0a9 --- /dev/null +++ b/samples/vnf_samples/vnf_descriptors/tg_landslide_tpl.yaml @@ -0,0 +1,38 @@ +# 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 implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +vnfd:vnfd-catalog: + vnfd: + - id: LandslideTrafficGen # NSB python class mapping + name: LandslideTrafficGen + short-name: landslide + description: Spirent Landslide traffic generator + mgmt-interface: + vdu-id: landslide-tas + super-user: '{{tas_manager.super_user}}' + super-user-password: '{{tas_manager.super_user_password}}' + user: '{{tas_manager.test_user}}' + password: '{{tas_manager.test_user_password}}' + cfguser_password: '{{tas_manager.cfguser_password}}' + ip: '{{tas_manager.ip}}' + proto: '{{tas_manager.proto}}' # protocol used for REST API- http + license: '{{tas_manager.license}}' # Landslide license + config: {{config}} + vdu: + - id: abclient-baremetal + name: abclient-baremetal + description: AB client interface details + benchmark: + kpi: [] + diff --git a/samples/vnf_samples/vnf_descriptors/vepc_vnf.yaml b/samples/vnf_samples/vnf_descriptors/vepc_vnf.yaml new file mode 100644 index 000000000..73d3468bf --- /dev/null +++ b/samples/vnf_samples/vnf_descriptors/vepc_vnf.yaml @@ -0,0 +1,38 @@ +# 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 implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +vnfd:vnfd-catalog: + vnfd: + - id: EPCVnf # NSB python class mapping + name: EPCVnf + short-name: EPCVnf + description: EPCVnf + mgmt-interface: + vdu-id: vepcvnf-baremetal + {% if user is defined %} + user: '{{user}}' # Value filled by vnfdgen + {% endif %} + {% if password is defined %} + password: '{{password}}' # Value filled by vnfdgen + {% endif %} + {% if ip is defined %} + ip: '{{ip}}' # Value filled by vnfdgen + {% endif %} + vdu: + - id: vepcvnf-baremetal + name: vepc-vnf-baremetal + description: vEPCVnf workload + external-interface: [] + benchmark: + kpi: [] |