|
5 | 5 | "private_ip": "10.0.1.1", |
6 | 6 | "mask": "255.255.255.0", |
7 | 7 | "gateway": "10.0.1.254", |
8 | | - "ciders": ["192.168.100.0/24", "192.168.101.0/24"] |
| 8 | + "ciders": ["192.168.100.0/24", "192.168.101.0/24"], |
| 9 | + "cider_mapping": {} |
9 | 10 | }, |
10 | 11 | { |
11 | 12 | "cluster": "production", |
12 | 13 | "identity": "prod-app-server-01", |
13 | 14 | "private_ip": "10.0.1.2", |
14 | 15 | "mask": "255.255.255.0", |
15 | 16 | "gateway": "10.0.1.254", |
16 | | - "ciders": [] |
| 17 | + "ciders": [], |
| 18 | + "cider_mapping": {} |
17 | 19 | }, |
18 | 20 | { |
19 | 21 | "cluster": "production", |
20 | 22 | "identity": "prod-db-server-01", |
21 | 23 | "private_ip": "10.0.1.3", |
22 | 24 | "mask": "255.255.255.0", |
23 | 25 | "gateway": "10.0.1.254", |
24 | | - "ciders": [] |
| 26 | + "ciders": [], |
| 27 | + "cider_mapping": {} |
25 | 28 | }, |
26 | 29 | { |
27 | 30 | "cluster": "staging", |
28 | 31 | "identity": "staging-gateway-01", |
29 | 32 | "private_ip": "10.0.2.1", |
30 | 33 | "mask": "255.255.255.0", |
31 | 34 | "gateway": "10.0.2.254", |
32 | | - "ciders": ["192.168.200.0/24"] |
| 35 | + "ciders": ["192.168.200.0/24"], |
| 36 | + "cider_mapping": {} |
33 | 37 | }, |
34 | 38 | { |
35 | 39 | "cluster": "staging", |
36 | 40 | "identity": "staging-app-server-01", |
37 | 41 | "private_ip": "10.0.2.2", |
38 | 42 | "mask": "255.255.255.0", |
39 | 43 | "gateway": "10.0.2.254", |
40 | | - "ciders": [] |
| 44 | + "ciders": [], |
| 45 | + "cider_mapping": {} |
41 | 46 | }, |
42 | 47 | { |
43 | 48 | "cluster": "development", |
44 | 49 | "identity": "dev-workstation-01", |
45 | 50 | "private_ip": "10.0.3.1", |
46 | 51 | "mask": "255.255.255.0", |
47 | 52 | "gateway": "10.0.3.254", |
48 | | - "ciders": [] |
| 53 | + "ciders": [], |
| 54 | + "cider_mapping": {} |
49 | 55 | }, |
50 | 56 | { |
51 | 57 | "cluster": "development", |
52 | 58 | "identity": "dev-workstation-02", |
53 | 59 | "private_ip": "10.0.3.2", |
54 | 60 | "mask": "255.255.255.0", |
55 | 61 | "gateway": "10.0.3.254", |
56 | | - "ciders": [] |
| 62 | + "ciders": [], |
| 63 | + "cider_mapping": {} |
57 | 64 | }, |
58 | 65 | { |
59 | 66 | "cluster": "remote-workers", |
60 | 67 | "identity": "remote-alice", |
61 | 68 | "private_ip": "10.0.100.1", |
62 | 69 | "mask": "255.255.255.0", |
63 | 70 | "gateway": "10.0.100.254", |
64 | | - "ciders": [] |
| 71 | + "ciders": [], |
| 72 | + "cider_mapping": {} |
65 | 73 | }, |
66 | 74 | { |
67 | 75 | "cluster": "remote-workers", |
68 | 76 | "identity": "remote-bob", |
69 | 77 | "private_ip": "10.0.100.2", |
70 | 78 | "mask": "255.255.255.0", |
71 | 79 | "gateway": "10.0.100.254", |
72 | | - "ciders": [] |
| 80 | + "ciders": [], |
| 81 | + "cider_mapping": {} |
| 82 | + }, |
| 83 | + { |
| 84 | + "cluster": "production", |
| 85 | + "identity": "client-with-conflict", |
| 86 | + "private_ip": "10.0.1.4", |
| 87 | + "mask": "255.255.255.0", |
| 88 | + "gateway": "10.0.1.254", |
| 89 | + "ciders": ["192.168.11.0/24"], |
| 90 | + "cider_mapping": { |
| 91 | + "192.168.11.0/24": "192.168.10.0/24" |
| 92 | + } |
73 | 93 | } |
74 | 94 | ] |
75 | 95 |
|
0 commit comments