summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorimarom <imarom@cisco.com>2016-06-30 16:29:39 +0300
committerimarom <imarom@cisco.com>2016-07-03 13:40:23 +0300
commited196079a710ddc30552ecbc0329db7a75a4ca60 (patch)
tree7f06a178499ebbcc88e07445aa0901b61bd267ea
parentd7c33685c85593e5b604f240272c000bdba3bc08 (diff)
added a template for client config file
-rw-r--r--scripts/cap2/client_cfg_template.yaml56
1 files changed, 56 insertions, 0 deletions
diff --git a/scripts/cap2/client_cfg_template.yaml b/scripts/cap2/client_cfg_template.yaml
new file mode 100644
index 00000000..8257b981
--- /dev/null
+++ b/scripts/cap2/client_cfg_template.yaml
@@ -0,0 +1,56 @@
+#
+# Client configuration example file
+# The file must contain the following fields
+#
+# 'vlan' - is the entire configuration under VLAN
+# if so, each client group must include vlan
+# configuration
+#
+# 'groups' - each client group must contain a range of IP
+# and initiator and responder maps
+# 'count' represents the number of MAC devices
+# on the group.
+#
+# initiator and responder can contain 'vlan', 'src_mac', 'dst_mac'
+#
+
+vlan: true
+
+groups:
+
+- ip_start : 5.0.0.1
+ ip_end : 5.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 : 5.0.0.5
+ ip_end : 5.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 : 5.0.0.13
+ ip_end : 5.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
+