Skip to content

Commit 2b929f6

Browse files
Enhance flavor for Cluster API (#212)
1 parent 7a5ae0c commit 2b929f6

File tree

2 files changed

+18
-7
lines changed

2 files changed

+18
-7
lines changed

files/rules.yaml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
11
---
22
egress:
3-
- comment: allow outgoing http
3+
- comment: allow outgoing http and https
44
ports:
55
- 80
6-
protocol: TCP
7-
to:
8-
- 0.0.0.0/0
9-
- comment: allow outgoing https
10-
ports:
116
- 443
127
protocol: TCP
138
to:
@@ -31,6 +26,15 @@ ingress:
3126
- 22
3227
protocol: TCP
3328
from:
34-
- 203.0.113.1/32
29+
- 203.0.113.0/24
30+
to:
31+
- 203.0.113.128/25
32+
- comment: allow incoming http and https
33+
ports:
34+
- 80
35+
- 443
36+
protocol: TCP
37+
from:
38+
- 203.0.113.0/24
3539
to:
3640
- 203.0.113.128/25

mini-lab.capms.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ mgmt:
77

88
topology:
99
nodes:
10+
metal-control-plane-control-plane:
11+
kind: ext-container
12+
exec:
13+
- ip addr add 203.0.113.100/24 dev mini_lab_ext
14+
- ip route add 203.0.113.128/25 via 203.0.113.128 dev mini_lab_ext
1015
exit:
1116
kind: linux
1217
image: quay.io/frrouting/frr:10.0.1
@@ -46,6 +51,8 @@ topology:
4651
QEMU_MACHINE_CPU_CORES: 2
4752
QEMU_MACHINE_DISK_SIZE: 20G
4853
links:
54+
- endpoints: ["metal-control-plane-control-plane:mini_lab_ext", "mini_lab_ext:kind"]
55+
mtu: 9000
4956
- endpoints: ["exit:mini_lab_ext", "mini_lab_ext:exit"]
5057
mtu: 9000
5158
- endpoints: ["leaf01:Ethernet0", "vms:lan0"]

0 commit comments

Comments
 (0)