Andy Bavier | 30d27c9 | 2016-09-15 15:59:17 -0400 | [diff] [blame] | 1 | --- |
| 2 | # maas-simulate-fabric/defaults/main.yml |
| 3 | |
| 4 | simfabric_bridges: |
| 5 | - name: databr |
| 6 | addresses: |
| 7 | - "10.168.0.1/24" |
| 8 | - "10.168.1.1/24" |
| 9 | interfaces: |
| 10 | - veth0 |
| 11 | |
| 12 | simfabric_links: |
| 13 | - type: veth |
| 14 | dev: veth0 |
| 15 | peer: fabric |
| 16 | mac: "02:42:0a:a8:00:01" |
| 17 | |
| 18 | # see note in playbook, won't apply until ansible gets module support |
| 19 | simfabric_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 | |
| 26 | simfabric_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 |