summaryrefslogtreecommitdiff
path: root/out
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2021-01-06 10:16:51 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2021-01-06 10:16:51 +0100
commit9eac79348242b5dc33f4cccdd86beda2a4ed4746 (patch)
tree95eaed3ba80ce4e39c3843f5c39cafe27479861b /out
parent2dcbdffc28b9eeaab68eb7c90eb8813899bd9546 (diff)
downloadrules-sandbox-9eac79348242b5dc33f4cccdd86beda2a4ed4746.tar.gz
rules-sandbox-9eac79348242b5dc33f4cccdd86beda2a4ed4746.tar.bz2
rules-sandbox-9eac79348242b5dc33f4cccdd86beda2a4ed4746.tar.xz
rules-sandbox-9eac79348242b5dc33f4cccdd86beda2a4ed4746.zip
Implementing VPN connections.
Diffstat (limited to 'out')
-rw-r--r--out/phase-1.yaml120
-rw-r--r--out/vpn0.yaml120
2 files changed, 168 insertions, 72 deletions
diff --git a/out/phase-1.yaml b/out/phase-1.yaml
index c9974d0..c0d093a 100644
--- a/out/phase-1.yaml
+++ b/out/phase-1.yaml
@@ -130,6 +130,90 @@ data:
netToNetIp: null
networkIp: null
---
+type: "io.trygvis.rules.acme.WgIpAllocation"
+data:
+ host: "acme-1"
+ role: "link"
+ ip:
+ value: "192.168.10.4"
+---
+type: "io.trygvis.rules.acme.WgIpAllocation"
+data:
+ host: "acme-1"
+ role: "network"
+ ip:
+ value: "10.55.55.4"
+---
+type: "io.trygvis.rules.acme.WgIpAllocation"
+data:
+ host: "acme-2"
+ role: "link"
+ ip:
+ value: "192.168.10.3"
+---
+type: "io.trygvis.rules.acme.WgIpAllocation"
+data:
+ host: "acme-2"
+ role: "network"
+ ip:
+ value: "10.55.55.3"
+---
+type: "io.trygvis.rules.acme.WgIpAllocation"
+data:
+ host: "acme-3"
+ role: "link"
+ ip:
+ value: "192.168.10.2"
+---
+type: "io.trygvis.rules.acme.WgIpAllocation"
+data:
+ host: "acme-3"
+ role: "network"
+ ip:
+ value: "10.55.55.2"
+---
+type: "io.trygvis.rules.acme.WgIpAllocation"
+data:
+ host: "ws-1"
+ role: "link"
+ ip:
+ value: "192.168.10.1"
+---
+type: "io.trygvis.rules.acme.WgIpAllocation"
+data:
+ host: "ws-1"
+ role: "network"
+ ip:
+ value: "10.55.55.1"
+---
+type: "io.trygvis.rules.acme.WgIpAllocation"
+data:
+ host: "ws-2"
+ role: "link"
+ ip:
+ value: "192.168.10.0"
+---
+type: "io.trygvis.rules.acme.WgIpAllocation"
+data:
+ host: "ws-2"
+ role: "network"
+ ip:
+ value: "10.55.55.0"
+---
+type: "io.trygvis.rules.acme.WgIpPool"
+data:
+ net: "vpn0"
+ role: "link"
+ cidr:
+ value: "192.168.10.0/29"
+---
+type: "io.trygvis.rules.acme.WgIpPool"
+data:
+ net: "vpn0"
+ role: "network"
+ cidr:
+ value: "10.55.55.0/24"
+---
type: "io.trygvis.rules.acme.WgNet"
data:
name: "vpn0"
@@ -347,42 +431,6 @@ data:
name: "ws-2"
fqdn: null
---
-type: "io.trygvis.rules.network.Ipv4Address"
-data:
- value: "192.168.10.7"
----
-type: "io.trygvis.rules.network.Ipv4Address"
-data:
- value: "192.168.10.6"
----
-type: "io.trygvis.rules.network.Ipv4Address"
-data:
- value: "192.168.10.5"
----
-type: "io.trygvis.rules.network.Ipv4Address"
-data:
- value: "192.168.10.4"
----
-type: "io.trygvis.rules.network.Ipv4Address"
-data:
- value: "192.168.10.3"
----
-type: "io.trygvis.rules.network.Ipv4Address"
-data:
- value: "192.168.10.2"
----
-type: "io.trygvis.rules.network.Ipv4Address"
-data:
- value: "192.168.10.1"
----
-type: "io.trygvis.rules.network.Ipv4Address"
-data:
- value: "192.168.10.0"
----
-type: "io.trygvis.rules.network.Ipv4Cidr"
-data:
- value: "192.168.10.0/29"
----
type: "io.trygvis.rules.terraform.ScalewayMachine"
data:
machine:
diff --git a/out/vpn0.yaml b/out/vpn0.yaml
index bf5aee6..fb8c684 100644
--- a/out/vpn0.yaml
+++ b/out/vpn0.yaml
@@ -99,6 +99,90 @@ data:
netToNetIp: null
networkIp: null
---
+type: "io.trygvis.rules.acme.WgIpAllocation"
+data:
+ host: "acme-1"
+ role: "link"
+ ip:
+ value: "192.168.10.4"
+---
+type: "io.trygvis.rules.acme.WgIpAllocation"
+data:
+ host: "acme-1"
+ role: "network"
+ ip:
+ value: "10.55.55.4"
+---
+type: "io.trygvis.rules.acme.WgIpAllocation"
+data:
+ host: "acme-2"
+ role: "link"
+ ip:
+ value: "192.168.10.3"
+---
+type: "io.trygvis.rules.acme.WgIpAllocation"
+data:
+ host: "acme-2"
+ role: "network"
+ ip:
+ value: "10.55.55.3"
+---
+type: "io.trygvis.rules.acme.WgIpAllocation"
+data:
+ host: "acme-3"
+ role: "link"
+ ip:
+ value: "192.168.10.2"
+---
+type: "io.trygvis.rules.acme.WgIpAllocation"
+data:
+ host: "acme-3"
+ role: "network"
+ ip:
+ value: "10.55.55.2"
+---
+type: "io.trygvis.rules.acme.WgIpAllocation"
+data:
+ host: "ws-1"
+ role: "link"
+ ip:
+ value: "192.168.10.1"
+---
+type: "io.trygvis.rules.acme.WgIpAllocation"
+data:
+ host: "ws-1"
+ role: "network"
+ ip:
+ value: "10.55.55.1"
+---
+type: "io.trygvis.rules.acme.WgIpAllocation"
+data:
+ host: "ws-2"
+ role: "link"
+ ip:
+ value: "192.168.10.0"
+---
+type: "io.trygvis.rules.acme.WgIpAllocation"
+data:
+ host: "ws-2"
+ role: "network"
+ ip:
+ value: "10.55.55.0"
+---
+type: "io.trygvis.rules.acme.WgIpPool"
+data:
+ net: "vpn0"
+ role: "link"
+ cidr:
+ value: "192.168.10.0/29"
+---
+type: "io.trygvis.rules.acme.WgIpPool"
+data:
+ net: "vpn0"
+ role: "network"
+ cidr:
+ value: "10.55.55.0/24"
+---
type: "io.trygvis.rules.acme.WgNet"
data:
name: "vpn0"
@@ -170,39 +254,3 @@ type: "io.trygvis.rules.machine.Machine"
data:
name: "ws-2"
fqdn: null
----
-type: "io.trygvis.rules.network.Ipv4Address"
-data:
- value: "192.168.10.7"
----
-type: "io.trygvis.rules.network.Ipv4Address"
-data:
- value: "192.168.10.6"
----
-type: "io.trygvis.rules.network.Ipv4Address"
-data:
- value: "192.168.10.5"
----
-type: "io.trygvis.rules.network.Ipv4Address"
-data:
- value: "192.168.10.4"
----
-type: "io.trygvis.rules.network.Ipv4Address"
-data:
- value: "192.168.10.3"
----
-type: "io.trygvis.rules.network.Ipv4Address"
-data:
- value: "192.168.10.2"
----
-type: "io.trygvis.rules.network.Ipv4Address"
-data:
- value: "192.168.10.1"
----
-type: "io.trygvis.rules.network.Ipv4Address"
-data:
- value: "192.168.10.0"
----
-type: "io.trygvis.rules.network.Ipv4Cidr"
-data:
- value: "192.168.10.0/29"