tc063: make node parameter can be pass
[yardstick.git] / tests / opnfv / test_cases / opnfv_yardstick_tc009.yaml
index c4e24c4..3c5f72d 100644 (file)
@@ -17,6 +17,10 @@ description: >
     amount of ports, then 10 times with the next amount of ports,
     and so on until all packet sizes have been run with;
 
+{% set provider = provider or none %}
+{% set physical_network = physical_network or 'physnet1' %}
+{% set segmentation_id = segmentation_id or none %}
+
 scenarios:
 {% for num_ports in [1, 10, 50, 100, 500, 1000] %}
 -
@@ -60,3 +64,10 @@ context:
   networks:
     test:
       cidr: '10.0.1.0/24'
+      {% if provider == "vlan" %}
+      provider: {{provider}}
+      physical_network: {{physical_network}}
+        {% if segmentation_id %}
+      segmentation_id: {{segmentation_id}}
+        {% endif %}
+      {% endif %}
\ No newline at end of file