summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWenxian Li <wenxianl@cisco.com>2015-09-08 17:45:43 -0400
committerWenxian Li <wenxianl@cisco.com>2015-09-08 17:45:43 -0400
commit9a524989d331f04abecd3faa72d98157a8651739 (patch)
tree591f03ded71f8bfd40bbb35c6ddfbb86e85f8f94
parent569ca4f3a4fe533f067d0c21c0624269b9c36c31 (diff)
Add more yaml example for per template tuple generator
-rw-r--r--scripts/cap2/per_template_gen1.yaml13
-rw-r--r--scripts/cap2/per_template_gen2.yaml20
-rw-r--r--scripts/cap2/per_template_gen3.yaml41
-rw-r--r--scripts/cap2/per_template_gen4.yaml41
4 files changed, 107 insertions, 8 deletions
diff --git a/scripts/cap2/per_template_gen1.yaml b/scripts/cap2/per_template_gen1.yaml
index 22b2ba64..41332518 100644
--- a/scripts/cap2/per_template_gen1.yaml
+++ b/scripts/cap2/per_template_gen1.yaml
@@ -13,11 +13,20 @@
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"
track_ports : false
diff --git a/scripts/cap2/per_template_gen2.yaml b/scripts/cap2/per_template_gen2.yaml
index 5edc3e49..269e4958 100644
--- a/scripts/cap2/per_template_gen2.yaml
+++ b/scripts/cap2/per_template_gen2.yaml
@@ -13,14 +13,23 @@
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
index 00000000..2bf428d0
--- /dev/null
+++ b/scripts/cap2/per_template_gen3.yaml
@@ -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
index 00000000..8a8a61b9
--- /dev/null
+++ b/scripts/cap2/per_template_gen4.yaml
@@ -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