blob: b038889d3d3904503c4ee61a607f609cfe0409f3 [file] [log] [blame]
Zack Williams0e583122016-04-30 16:57:03 -07001---
2# simulate-fabric/defaults/main.yml
3
4simfabric_bridges:
5 - name: databr
Zack Williamsc11aea52016-05-01 21:34:37 -07006 addresses:
7 - "10.168.0.1/24"
8 - "10.168.1.1/24"
Zack Williams0e583122016-04-30 16:57:03 -07009 interfaces:
10 - veth0
11
Zack Williamsc11aea52016-05-01 21:34:37 -070012simfabric_links:
13 - name: veth
14 mac: "02:42:0a:a8:00:01"
15
Zack Williams0e583122016-04-30 16:57:03 -070016simfabric_interfaces:
17 - veth0
18 - veth1
19
Zack Williamsc11aea52016-05-01 21:34:37 -070020simfabric_iptables:
21 - table: nat
22 chain: POSTROUTING
23 source: "10.168.0.0/16"
24 dest: "! 10.168.0.0/16"
25 jump: MASQUERADE
26
27simfabric_sysctl:
28 - name: net.ipv4.ip_forward
29 value: 1
30 - name: net.ipv4.conf.all.send_redirects
31 value: 0
32 - name: net.ipv4.conf.default.send_redirects
33 value: 0
34 - name: net.ipv4.conf.eth0.send_redirects
35 value: 0
36 - name: net.ipv4.conf.databr.send_redirects
37 value: 0