diff options
author | Abhijit Sinha <abhijit.sinha@intel.com> | 2018-09-20 16:40:11 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-09-20 16:40:11 +0000 |
commit | 4faa5ea500f65cca2b606a27fd2c22ed19358941 (patch) | |
tree | f3950e8ce19f89fc79a2bb3264217fc71ed4901d /samples/vnf_samples | |
parent | 7ab7287fc0332b9a592d2bbf86c646e3b1b3058b (diff) | |
parent | c32cfdf59d67d15053e5c843684fe7093de50650 (diff) |
Merge changes from topics 'YARDSTICK-1354', 'YARDSTICK-1348', 'YARDSTICK-1359', 'YARDSTICK-1356'
* changes:
Add vEPC service request test cases
Add network initiated dedicated bearers creation
Add UE initiated dedicated bearer creation test
Add vEPC infrastructure for Landslide TG
Add vEPC default bearers relocation test case
Add vEPC default bearers create/delete test case
Add Spirent Landslide traffic profile templates
Update LSResourceHelper unittests
Add Spirent Landslide TG API
Added Landslide Resource Helper implementation
Add TclClients for Spirent Landslide TG
Diffstat (limited to 'samples/vnf_samples')
22 files changed, 3542 insertions, 0 deletions
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/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/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: [] |