more work on simulate-fabric role
diff --git a/roles/simulate-fabric/defaults/main.yml b/roles/simulate-fabric/defaults/main.yml
index 968f6d9..b038889 100644
--- a/roles/simulate-fabric/defaults/main.yml
+++ b/roles/simulate-fabric/defaults/main.yml
@@ -3,12 +3,35 @@
simfabric_bridges:
- name: databr
- ipaddr: "10.168.0.1/24"
- nat: True
+ addresses:
+ - "10.168.0.1/24"
+ - "10.168.1.1/24"
interfaces:
- veth0
+simfabric_links:
+ - name: veth
+ mac: "02:42:0a:a8:00:01"
+
simfabric_interfaces:
- veth0
- veth1
+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