Zack Williams | 0e58312 | 2016-04-30 16:57:03 -0700 | [diff] [blame] | 1 | --- |
| 2 | # simulate-fabric/defaults/main.yml |
| 3 | |
| 4 | simfabric_bridges: |
| 5 | - name: databr |
Zack Williams | c11aea5 | 2016-05-01 21:34:37 -0700 | [diff] [blame] | 6 | addresses: |
| 7 | - "10.168.0.1/24" |
| 8 | - "10.168.1.1/24" |
Zack Williams | 0e58312 | 2016-04-30 16:57:03 -0700 | [diff] [blame] | 9 | interfaces: |
| 10 | - veth0 |
| 11 | |
Zack Williams | c11aea5 | 2016-05-01 21:34:37 -0700 | [diff] [blame] | 12 | simfabric_links: |
| 13 | - name: veth |
| 14 | mac: "02:42:0a:a8:00:01" |
| 15 | |
Zack Williams | 0e58312 | 2016-04-30 16:57:03 -0700 | [diff] [blame] | 16 | simfabric_interfaces: |
| 17 | - veth0 |
| 18 | - veth1 |
| 19 | |
Zack Williams | 4a9b1ad | 2016-05-16 14:24:06 -0700 | [diff] [blame] | 20 | # see note in playbook, won't apply until ansible gets module support |
Zack Williams | c11aea5 | 2016-05-01 21:34:37 -0700 | [diff] [blame] | 21 | simfabric_iptables: |
| 22 | - table: nat |
| 23 | chain: POSTROUTING |
| 24 | source: "10.168.0.0/16" |
| 25 | dest: "! 10.168.0.0/16" |
| 26 | jump: MASQUERADE |
| 27 | |
| 28 | simfabric_sysctl: |
| 29 | - name: net.ipv4.ip_forward |
| 30 | value: 1 |
| 31 | - name: net.ipv4.conf.all.send_redirects |
| 32 | value: 0 |
| 33 | - name: net.ipv4.conf.default.send_redirects |
| 34 | value: 0 |
| 35 | - name: net.ipv4.conf.eth0.send_redirects |
| 36 | value: 0 |
| 37 | - name: net.ipv4.conf.databr.send_redirects |
| 38 | value: 0 |