blob: c52e0c077260a70cef188e3aa822e78f4bbdb87c [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:
Andy Bavierc2335122016-06-25 09:59:22 -040013 - type: veth
14 dev: veth0
15 peer: fabric
Zack Williamsc11aea52016-05-01 21:34:37 -070016 mac: "02:42:0a:a8:00:01"
17
Zack Williams4a9b1ad2016-05-16 14:24:06 -070018# see note in playbook, won't apply until ansible gets module support
Zack Williamsc11aea52016-05-01 21:34:37 -070019simfabric_iptables:
20 - table: nat
21 chain: POSTROUTING
22 source: "10.168.0.0/16"
23 dest: "! 10.168.0.0/16"
24 jump: MASQUERADE
25
26simfabric_sysctl:
27 - name: net.ipv4.ip_forward
28 value: 1
29 - name: net.ipv4.conf.all.send_redirects
30 value: 0
31 - name: net.ipv4.conf.default.send_redirects
32 value: 0
33 - name: net.ipv4.conf.eth0.send_redirects
34 value: 0
35 - name: net.ipv4.conf.databr.send_redirects
36 value: 0