Add more yaml example for per template tuple generator
authorWenxian Li <[email protected]>
Tue, 8 Sep 2015 21:45:43 +0000 (17:45 -0400)
committerWenxian Li <[email protected]>
Tue, 8 Sep 2015 21:45:43 +0000 (17:45 -0400)
scripts/cap2/per_template_gen1.yaml
scripts/cap2/per_template_gen2.yaml
scripts/cap2/per_template_gen3.yaml [new file with mode: 0644]
scripts/cap2/per_template_gen4.yaml [new file with mode: 0644]

index 22b2ba6..4133251 100644 (file)
           generator_clients :
               - name : "c1"
                 distribution : "seq"
-                ip_start : "38.0.0.1"
-                ip_end : "38.0.1.255"
+                ip_start : "26.0.0.1"
+                ip_end : "26.0.1.255"
+              - name : "c2"
+                distribution : "seq"
+                ip_start : "36.0.0.1"
+                ip_end : "36.0.1.255"
           generator_servers :
               - name : "s1"
+                distribution : "seq"
+                ip_start : "28.0.0.1"
+                ip_end : "28.0.1.255"
+                track_ports : false
+              - name : "s2"
                 distribution : "seq"
                 ip_start : "38.0.0.1"
                 ip_end : "38.0.1.255"
index 5edc3e4..269e495 100644 (file)
           generator_clients :
               - name : "c1"
                 distribution : "seq"
-                ip_start : "16.0.0.1"
-                ip_end : "16.0.0.255"
+                ip_start : "26.0.0.1"
+                ip_end : "26.0.1.255"
+              - name : "c2"
+                distribution : "seq"
+                ip_start : "36.0.0.1"
+                ip_end : "36.0.1.255"
           generator_servers :
               - name : "s1"
                 distribution : "seq"
-                ip_start : "48.0.0.1"
-                ip_end : "48.0.255.255"
-                track_ports: true
+                ip_start : "28.0.0.1"
+                ip_end : "28.0.1.255"
+                track_ports : false
+              - name : "s2"
+                distribution : "seq"
+                ip_start : "38.0.0.1"
+                ip_end : "38.0.1.255"
+                track_ports : false
   mac        : [0x0,0x0,0x0,0x1,0x0,0x00]
   cap_info : 
      - name: cap2/http_get.pcap
@@ -30,4 +39,3 @@
        ipg : 100
        rtt : 10000
        w   : 1
-
diff --git a/scripts/cap2/per_template_gen3.yaml b/scripts/cap2/per_template_gen3.yaml
new file mode 100644 (file)
index 0000000..2bf428d
--- /dev/null
@@ -0,0 +1,41 @@
+- duration : 1.0
+  generator :  
+          distribution : "seq"
+          clients_start : "20.0.0.1"
+          clients_end   : "20.0.0.255"
+          servers_start : "90.0.0.1"
+          servers_end   : "90.0.255.255"
+          clients_per_gb : 201
+          min_clients    : 101
+          dual_port_mask : "1.0.0.0" 
+          tcp_aging      : 0
+          udp_aging      : 0
+          generator_clients :
+              - name : "c1"
+                distribution : "seq"
+                ip_start : "26.0.0.1"
+                ip_end : "26.0.1.255"
+              - name : "c2"
+                distribution : "seq"
+                ip_start : "36.0.0.1"
+                ip_end : "36.0.1.255"
+          generator_servers :
+              - name : "s1"
+                distribution : "seq"
+                ip_start : "28.0.0.1"
+                ip_end : "28.0.1.255"
+                track_ports : false
+              - name : "s2"
+                distribution : "seq"
+                ip_start : "38.0.0.1"
+                ip_end : "38.0.1.255"
+                track_ports : false
+  mac        : [0x0,0x0,0x0,0x1,0x0,0x00]
+  cap_info : 
+     - name: cap2/http_get.pcap
+       client_pool: "c2"
+       server_pool: "s2"
+       cps : 1.0
+       ipg : 100
+       rtt : 10000
+       w   : 1
diff --git a/scripts/cap2/per_template_gen4.yaml b/scripts/cap2/per_template_gen4.yaml
new file mode 100644 (file)
index 0000000..8a8a61b
--- /dev/null
@@ -0,0 +1,41 @@
+- duration : 1.0
+  generator :  
+          distribution : "seq"
+          clients_start : "20.0.0.1"
+          clients_end   : "20.0.0.255"
+          servers_start : "90.0.0.1"
+          servers_end   : "90.0.255.255"
+          clients_per_gb : 201
+          min_clients    : 101
+          dual_port_mask : "1.0.0.0" 
+          tcp_aging      : 0
+          udp_aging      : 0
+          generator_clients :
+              - name : "c1"
+                distribution : "seq"
+                ip_start : "26.0.0.1"
+                ip_end : "26.0.1.255"
+              - name : "c2"
+                distribution : "seq"
+                ip_start : "36.0.0.1"
+                ip_end : "36.0.1.255"
+          generator_servers :
+              - name : "s1"
+                distribution : "seq"
+                ip_start : "28.0.0.1"
+                ip_end : "28.0.1.255"
+                track_ports : false
+              - name : "s2"
+                distribution : "seq"
+                ip_start : "38.0.0.1"
+                ip_end : "38.0.1.255"
+                track_ports : false
+  mac        : [0x0,0x0,0x0,0x1,0x0,0x00]
+  cap_info : 
+     - name: cap2/http_get.pcap
+       client_pool: "c2"
+       server_pool: "s1"
+       cps : 1.0
+       ipg : 100
+       rtt : 10000
+       w   : 1