From 569ca4f3a4fe533f067d0c21c0624269b9c36c31 Mon Sep 17 00:00:00 2001 From: Wenxian Li Date: Tue, 8 Sep 2015 17:23:15 -0400 Subject: tuple generator phase 3.1, support random, support per template client/server generator, Dynamic sellection of client type Signed-off-by: Wenxian Li --- scripts/cap2/per_template_gen2.yaml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 scripts/cap2/per_template_gen2.yaml (limited to 'scripts/cap2/per_template_gen2.yaml') diff --git a/scripts/cap2/per_template_gen2.yaml b/scripts/cap2/per_template_gen2.yaml new file mode 100644 index 00000000..5edc3e49 --- /dev/null +++ b/scripts/cap2/per_template_gen2.yaml @@ -0,0 +1,33 @@ +- 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 : "16.0.0.1" + ip_end : "16.0.0.255" + generator_servers : + - name : "s1" + distribution : "seq" + ip_start : "48.0.0.1" + ip_end : "48.0.255.255" + track_ports: true + mac : [0x0,0x0,0x0,0x1,0x0,0x00] + cap_info : + - name: cap2/http_get.pcap + client_pool: "c1" + server_pool: "s1" + cps : 1.0 + ipg : 100 + rtt : 10000 + w : 1 + -- cgit 1.2.3-korg From 9a524989d331f04abecd3faa72d98157a8651739 Mon Sep 17 00:00:00 2001 From: Wenxian Li Date: Tue, 8 Sep 2015 17:45:43 -0400 Subject: Add more yaml example for per template tuple generator --- scripts/cap2/per_template_gen1.yaml | 13 ++++++++++-- scripts/cap2/per_template_gen2.yaml | 20 ++++++++++++------ scripts/cap2/per_template_gen3.yaml | 41 +++++++++++++++++++++++++++++++++++++ scripts/cap2/per_template_gen4.yaml | 41 +++++++++++++++++++++++++++++++++++++ 4 files changed, 107 insertions(+), 8 deletions(-) create mode 100644 scripts/cap2/per_template_gen3.yaml create mode 100644 scripts/cap2/per_template_gen4.yaml (limited to 'scripts/cap2/per_template_gen2.yaml') 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,10 +13,19 @@ 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" 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 -- cgit 1.2.3-korg