Change tc_trex files to execute standalone tests 47/60647/3
authorStepan Andrushko <stepanx.andrushko@intel.com>
Mon, 6 Aug 2018 17:41:04 +0000 (20:41 +0300)
committerStepan Andrushko <stepanx.andrushko@intel.com>
Tue, 14 Aug 2018 11:11:38 +0000 (14:11 +0300)
Changes made in test cases for trex TG files to be able to run tests
for standalone setup (OVS-DPDK/SRIOV).
- tg__0: trafficgen_1

Changes to improve templates for tc_trex:
- flavor: images: changed to default name: yardstick-nsb-image.img
- default path for files under contexts section
- RAM size

JIRA: YARDSTICK-1368

Change-Id: Ida85de219acd566840de1a94975b8050c7f59b9b
Signed-off-by: Stepan Andrushko <stepanx.andrushko@intel.com>
samples/vnf_samples/nsut/acl/tc_ovs_rfc2544_ipv4_1rule_1flow_64B_trex.yaml
samples/vnf_samples/nsut/acl/tc_sriov_rfc2544_ipv4_1rule_1flow_64B_trex.yaml
samples/vnf_samples/nsut/cgnapt/tc_ovs_rfc2544_ipv4_1rule_64B_trex.yaml
samples/vnf_samples/nsut/cgnapt/tc_sriov_rfc2544_ipv4_1rule_64B_trex.yaml
samples/vnf_samples/nsut/udp_replay/tc_ovs_rfc2544_ipv4_1rule_64B_trex.yaml
samples/vnf_samples/nsut/udp_replay/tc_sriov_rfc2544_ipv4_1rule_64B_trex.yaml
samples/vnf_samples/nsut/vfw/tc_ovs_rfc2544_ipv4_1rule_1flow_64B_trex.yaml
samples/vnf_samples/nsut/vfw/tc_sriov_rfc2544_ipv4_1rule_1flow_64B_trex.yaml
samples/vnf_samples/nsut/vpe/tc_ovs_rfc2544_ipv4_1rule_64B_trex.yaml

index 00bd186..e62425a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (c) 2016-2017 Intel Corporation
+# Copyright (c) 2016-2018 Intel Corporation
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -19,7 +19,7 @@ scenarios:
   traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml
   topology: acl-tg-topology.yaml
   nodes:
-    tg__0: tg__0.yardstick
+    tg__0: trafficgen_1.yardstick
     vnf__0: vnf__0.yardstick
   options:
     framesize:
@@ -42,10 +42,10 @@ scenarios:
 contexts:
    - name: yardstick
      type: Node
-     file: etc/yardstick/nodes/standalone/pod_trex.yaml
+     file: /etc/yardstick/nodes/standalone/trex_bm.yaml
    - type: StandaloneOvsDpdk
      name: yardstick
-     file: etc/yardstick/nodes/standalone/host_ovs.yaml
+     file: /etc/yardstick/nodes/standalone/host_ovs.yaml
      vm_deploy: True
      ovs_properties:
        version:
@@ -62,7 +62,7 @@ contexts:
 
      flavor:
        images: "/var/lib/libvirt/images/yardstick-nsb-image.img"
-       ram: 4096
+       ram: 16384
        extra_specs:
          hw:cpu_sockets: 1
          hw:cpu_cores: 6
index 8b32416..77df5b1 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (c) 2016-2017 Intel Corporation
+# Copyright (c) 2016-2018 Intel Corporation
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -19,8 +19,8 @@ scenarios:
   traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml
   topology: acl-tg-topology.yaml
   nodes:
-    tg__0: tg__0.yardstick
-    vnf__0: vnf.yardstick
+    tg__0: trafficgen_1.yardstick
+    vnf__0: vnf__0.yardstick
   options:
     framesize:
       uplink: {64B: 100}
@@ -42,14 +42,14 @@ scenarios:
 contexts:
    - name: yardstick
      type: Node
-     file: /etc/yardstick/nodes/standalone/pod_trex.yaml
+     file: /etc/yardstick/nodes/standalone/trex_bm.yaml
    - type: StandaloneSriov
      file: /etc/yardstick/nodes/standalone/host_sriov.yaml
      name: yardstick
      vm_deploy: True
      flavor:
-       images: "/var/lib/libvirt/images/ubuntu.qcow2"
-       ram: 4096
+       images: "/var/lib/libvirt/images/yardstick-nsb-image.img"
+       ram: 16384
        extra_specs:
          hw:cpu_sockets: 1
          hw:cpu_cores: 6
@@ -57,7 +57,7 @@ contexts:
        user: ""
        password: ""
      servers:
-       vnf:
+       vnf__0:
          network_ports:
            mgmt:
              cidr: '1.1.1.61/24'
index 52becd3..170b2c5 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (c) 2016-2017 Intel Corporation
+# Copyright (c) 2016-2018 Intel Corporation
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -19,7 +19,7 @@ scenarios:
   traffic_profile: ../../traffic_profiles/ipv4_throughput_cgnapt.yaml
   topology: cgnapt-vnf-topology.yaml
   nodes:
-    tg__0: tg__0.yardstick
+    tg__0: trafficgen_1.yardstick
     vnf__0: vnf__0.yardstick
   options:
     framesize:
@@ -42,7 +42,7 @@ scenarios:
 contexts:
    - name: yardstick
      type: Node
-     file: /etc/yardstick/nodes/standalone/pod_trex.yaml
+     file: /etc/yardstick/nodes/standalone/trex_bm.yaml
    - type: StandaloneOvsDpdk
      name: yardstick
      file: /etc/yardstick/nodes/standalone/pod_ovs.yaml
@@ -59,8 +59,8 @@ contexts:
        vpath: "/usr/local"
 
      flavor:
-       images: "/var/lib/libvirt/images/ubuntu.qcow2"
-       ram: 4096
+       images: "/var/lib/libvirt/images/yardstick-nsb-image.img"
+       ram: 16384
        extra_specs:
          hw:cpu_sockets: 1
          hw:cpu_cores: 7
index ec517bb..523cb2e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (c) 2016-2017 Intel Corporation
+# Copyright (c) 2016-2018 Intel Corporation
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -19,8 +19,8 @@ scenarios:
   traffic_profile: ../../traffic_profiles/ipv4_throughput_cgnapt.yaml
   topology: cgnapt-vnf-topology.yaml
   nodes:
-    tg__0: tg__0.yardstick
-    vnf__0: vnf.yardstick
+    tg__0: trafficgen_1.yardstick
+    vnf__0: vnf__0.yardstick
   options:
     framesize:
       uplink: {64B: 100}
@@ -42,14 +42,14 @@ scenarios:
 contexts:
    - name: yardstick
      type: Node
-     file: /etc/yardstick/nodes/standalone/pod_trex.yaml
+     file: /etc/yardstick/nodes/standalone/trex_bm.yaml
    - type: StandaloneSriov
      file: /etc/yardstick/nodes/standalone/host_sriov.yaml
      name: yardstick
      vm_deploy: True
      flavor:
-       images: "/var/lib/libvirt/images/ubuntu.qcow2"
-       ram: 4096
+       images: "/var/lib/libvirt/images/yardstick-nsb-image.img"
+       ram: 16384
        extra_specs:
          hw:cpu_sockets: 1
          hw:cpu_cores: 7
@@ -57,7 +57,7 @@ contexts:
        user: ""
        password: ""
      servers:
-       vnf:
+       vnf__0:
          network_ports:
            mgmt:
              cidr: '1.1.1.61/24'
index bea9c82..86c8f6e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (c) 2016-2017 Intel Corporation
+# Copyright (c) 2016-2018 Intel Corporation
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -19,7 +19,7 @@ scenarios:
   traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml
   topology: udp_replay-vnf-topology.yaml
   nodes:
-    tg__0: tg__0.yardstick
+    tg__0: trafficgen_1.yardstick
     vnf__0: vnf__0.yardstick
   options:
     framesize:
@@ -41,7 +41,7 @@ scenarios:
 contexts:
    - name: yardstick
      type: Node
-     file: /etc/yardstick/nodes/standalone/pod_trex.yaml
+     file: /etc/yardstick/nodes/standalone/trex_bm.yaml
    - type: StandaloneOvsDpdk
      name: yardstick
      file: /etc/yardstick/nodes/standalone/pod_ovs.yaml
@@ -58,8 +58,8 @@ contexts:
        vpath: "/usr/local"
 
      flavor:
-       images: "/var/lib/libvirt/images/ubuntu.qcow2"
-       ram: 4096
+       images: "/var/lib/libvirt/images/yardstick-nsb-image.img"
+       ram: 16384
        extra_specs:
          hw:cpu_sockets: 1
          hw:cpu_cores: 7
index 0867d6b..f9bc811 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (c) 2016-2017 Intel Corporation
+# Copyright (c) 2016-2018 Intel Corporation
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -19,8 +19,8 @@ scenarios:
   traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml
   topology: udp_replay-vnf-topology.yaml
   nodes:
-    tg__0: tg__0.yardstick
-    vnf__0: vnf.yardstick
+    tg__0: trafficgen_1.yardstick
+    vnf__0: vnf__0.yardstick
   options:
     framesize:
       uplink: {64B: 100}
@@ -41,14 +41,14 @@ scenarios:
 contexts:
    - name: yardstick
      type: Node
-     file: /etc/yardstick/nodes/standalone/pod_trex.yaml
+     file: /etc/yardstick/nodes/standalone/trex_bm.yaml
    - type: StandaloneSriov
      file: /etc/yardstick/nodes/standalone/host_sriov.yaml
      name: yardstick
      vm_deploy: True
      flavor:
-       images: "/var/lib/libvirt/images/ubuntu.qcow2"
-       ram: 4096
+       images: "/var/lib/libvirt/images/yardstick-nsb-image.img"
+       ram: 16384
        extra_specs:
          hw:cpu_sockets: 1
          hw:cpu_cores: 7
@@ -56,7 +56,7 @@ contexts:
        user: ""
        password: ""
      servers:
-       vnf:
+       vnf__0:
          network_ports:
            mgmt:
              cidr: '1.1.1.61/24'
index 6b9ccb1..4aeadc6 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (c) 2016-2017 Intel Corporation
+# Copyright (c) 2016-2018 Intel Corporation
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -19,7 +19,7 @@ scenarios:
   traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml
   topology: vfw-tg-topology.yaml
   nodes:
-    tg__0: tg__0.yardstick
+    tg__0: trafficgen_1.yardstick
     vnf__0: vnf__0.yardstick
   options:
     framesize:
@@ -42,7 +42,7 @@ scenarios:
 contexts:
    - name: yardstick
      type: Node
-     file: /etc/yardstick/nodes/standalone/pod_trex.yaml
+     file: /etc/yardstick/nodes/standalone/trex_bm.yaml
    - type: StandaloneOvsDpdk
      name: yardstick
      file: /etc/yardstick/nodes/standalone/pod_ovs.yaml
@@ -59,8 +59,8 @@ contexts:
        vpath: "/usr/local"
 
      flavor:
-       images: "/var/lib/libvirt/images/ubuntu.qcow2"
-       ram: 4096
+       images: "/var/lib/libvirt/images/yardstick-nsb-image.img"
+       ram: 16384
        extra_specs:
          hw:cpu_sockets: 1
          hw:cpu_cores: 6
index 0f15601..221ead4 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (c) 2016-2017 Intel Corporation
+# Copyright (c) 2016-2018 Intel Corporation
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -19,8 +19,8 @@ scenarios:
   traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml
   topology: vfw-tg-topology.yaml
   nodes:
-    tg__0: tg__0.yardstick
-    vnf__0: vnf.yardstick
+    tg__0: trafficgen_1.yardstick
+    vnf__0: vnf__0.yardstick
   options:
     framesize:
       uplink: {64B: 100}
@@ -42,14 +42,14 @@ scenarios:
 contexts:
    - name: yardstick
      type: Node
-     file: /etc/yardstick/nodes/standalone/pod_trex.yaml
+     file: /etc/yardstick/nodes/standalone/trex_bm.yaml
    - type: StandaloneSriov
      file: /etc/yardstick/nodes/standalone/host_sriov.yaml
      name: yardstick
      vm_deploy: True
      flavor:
-       images: "/var/lib/libvirt/images/ubuntu.qcow2"
-       ram: 4096
+       images: "/var/lib/libvirt/images/yardstick-nsb-image.img"
+       ram: 16384
        extra_specs:
          hw:cpu_sockets: 1
          hw:cpu_cores: 6
@@ -57,7 +57,7 @@ contexts:
        user: ""
        password: ""
      servers:
-       vnf:
+       vnf__0:
          network_ports:
            mgmt:
              cidr: '1.1.1.61/24'
index 2382e02..ce23980 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (c) 2016-2017 Intel Corporation
+# Copyright (c) 2016-2018 Intel Corporation
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -19,7 +19,7 @@ scenarios:
   traffic_profile: ../../traffic_profiles/ipv4_throughput_vpe.yaml
   topology: vpe_vnf_topology.yaml
   nodes:
-    tg__0: tg__0.yardstick
+    tg__0: trafficgen_1.yardstick
     vnf__0: vnf__0.yardstick
   options:
     framesize:
@@ -42,7 +42,7 @@ scenarios:
 contexts:
    - name: yardstick
      type: Node
-     file: /etc/yardstick/nodes/standalone/pod_trex.yaml
+     file: /etc/yardstick/nodes/standalone/trex_bm.yaml
    - type: StandaloneOvsDpdk
      name: yardstick
      file: /etc/yardstick/nodes/standalone/pod_ovs.yaml
@@ -59,8 +59,8 @@ contexts:
        vpath: "/usr/local"
 
      flavor:
-       images: "/var/lib/libvirt/images/ubuntu.qcow2"
-       ram: 16364
+       images: "/var/lib/libvirt/images/yardstick-nsb-image.img"
+       ram: 20480
        extra_specs:
          hw:cpu_sockets: 1
          hw:cpu_cores: 7