blob: c86c5ee0750818f6bdbb375d515b5f36cef84b6e [file] [log] [blame]
---
# maas-simulate-fabric/defaults/main.yml
simfabric_bridges:
- name: databr
addresses:
- "10.168.0.1/24"
- "10.168.1.1/24"
interfaces:
- veth0
simfabric_links:
- type: veth
dev: veth0
peer: fabric
mac: "02:42:0a:a8:00:01"
# see note in playbook, won't apply until ansible gets module support
simfabric_iptables:
- table: nat
chain: POSTROUTING
source: "10.168.0.0/16"
dest: "! 10.168.0.0/16"
jump: MASQUERADE
simfabric_sysctl:
- name: net.ipv4.ip_forward
value: 1
- name: net.ipv4.conf.all.send_redirects
value: 0
- name: net.ipv4.conf.default.send_redirects
value: 0
- name: net.ipv4.conf.eth0.send_redirects
value: 0
- name: net.ipv4.conf.databr.send_redirects
value: 0