diff options
author | 2017-01-22 16:20:45 +0200 | |
---|---|---|
committer | 2017-01-22 16:20:45 +0200 | |
commit | 904eacd9be1230efb7ae0ab7997ec131b588ec8a (patch) | |
tree | 8e4bcd1b1a5f683efdb8f3eeb962acefc3201961 /scripts/cap2 | |
parent | d2f1c8451e2e8ffc47b208f68f9b16697d706d60 (diff) | |
parent | b81cdb6c2d6d118c1c346e7c8dae6a5e747d867d (diff) |
Merge branch 'master' into capture
Signed-off-by: imarom <imarom@cisco.com>
Conflicts:
scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py
scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_jsonrpc_client.py
scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_port.py
src/main_dpdk.cpp
Diffstat (limited to 'scripts/cap2')
-rw-r--r-- | scripts/cap2/cluster_example.yaml | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/scripts/cap2/cluster_example.yaml b/scripts/cap2/cluster_example.yaml new file mode 100644 index 00000000..6168d131 --- /dev/null +++ b/scripts/cap2/cluster_example.yaml @@ -0,0 +1,65 @@ +# +# Cluster configuration example file +# The file must contain the following fields +# +# 'vlan' - Set to true, if the entire configuration is under VLAN. False otherwise. +# if set to true, each client group must include vlan configuration +# +# 'groups' - Each client group must contain range of IPs +# and initiator and responder maps +# 'count' is the number of devices on the group. +# +# initiator and responder can contain 'vlan', 'src_mac', 'dst_mac', 'next_hop'. +# + +vlan: true + +groups: + +- ip_start : 16.0.0.1 + ip_end : 16.0.0.4 + initiator : + vlan : 100 + dst_mac : "00:00:00:01:00:00" + responder : + vlan : 200 + dst_mac : "00:00:00:01:00:00" + + count : 2 + +- ip_start : 16.0.0.5 + ip_end : 16.0.0.12 + initiator : + vlan : 101 + dst_mac : "01:00:00:00:01:01" + + responder : + vlan : 201 + dst_mac : "01:00:00:00:02:01" + + count : 4 + +- ip_start : 16.0.0.13 + ip_end : 16.0.0.30 + + initiator : + vlan : 103 + dst_mac : "02:00:00:00:01:01" + responder : + + vlan : 203 + dst_mac : "02:00:00:00:02:01" + + count : 8 + +- ip_start : 16.0.0.31 + ip_end : 16.0.1.255 + + initiator : + vlan : 104 + dst_mac : "04:00:00:00:01:01" + responder : + + vlan : 204 + dst_mac : "04:00:00:00:02:01" + |