From bd2208922ea6a0486074c72a57b01d7df368f885 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Wed, 6 Jan 2021 09:12:56 +0100 Subject: Generating IP addresses. --- out/phase-1.yaml | 49 +++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 45 insertions(+), 4 deletions(-) (limited to 'out/phase-1.yaml') diff --git a/out/phase-1.yaml b/out/phase-1.yaml index 0ec42e0..8c34f1a 100644 --- a/out/phase-1.yaml +++ b/out/phase-1.yaml @@ -74,6 +74,8 @@ type: "io.trygvis.rules.acme.WgNet" data: name: "vpn0" domain: "vpn.acme.com" + linkCidr: "192.168.10.0/29" + networkCidr: "10.55.55.0/24" --- type: "io.trygvis.rules.dba.Cluster" data: @@ -158,7 +160,7 @@ data: type: "io.trygvis.rules.dba.Container" data: cluster: - name: "acme-ci" + name: "acme-production" name: "db" machineRole: "mdb" image: "mongodb" @@ -167,7 +169,7 @@ data: type: "io.trygvis.rules.dba.Container" data: cluster: - name: "acme-production" + name: "acme-ci" name: "db" machineRole: "mdb" image: "mongodb" @@ -176,7 +178,7 @@ data: type: "io.trygvis.rules.dba.Container" data: cluster: - name: "acme-ci" + name: "acme-production" name: "db" machineRole: "pdb" image: "postgresql" @@ -185,7 +187,7 @@ data: type: "io.trygvis.rules.dba.Container" data: cluster: - name: "acme-production" + name: "acme-ci" name: "db" machineRole: "pdb" image: "postgresql" @@ -285,6 +287,45 @@ 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: + network: -1062729216 + netmask: -8 + size: 8 + bits: 29 +--- type: "io.trygvis.rules.terraform.ScalewayMachine" data: machine: -- cgit v1.2.3