summaryrefslogtreecommitdiffstats
path: root/scripts/cap2/cluster_example.yaml
blob: 6168d1318c280ac8ba9a46c363e7bb0283d5b01a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
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"