Skip to content

Commit 60ecf15

Browse files
authored
Merge pull request #1883 from lsst-it/IT-6457-merken_networking
(node/foreman.cp) add new dhcp for merken-fqdn and merken-metallb
2 parents 00b199a + 9032c11 commit 60ecf15

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

hieradata/node/foreman.cp.lsst.org.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,20 @@ dhcp::pools:
4646
range:
4747
- "139.229.161.40 139.229.161.42"
4848
search_domains: "%{alias('dhcp::dnsdomain')}"
49+
MERKEN-FQDN:
50+
network: "139.229.161.64"
51+
mask: "255.255.255.240"
52+
gateway: "139.229.161.78"
53+
range:
54+
- "139.229.161.65 139.229.161.75"
55+
search_domains: "%{alias('dhcp::dnsdomain')}"
56+
MERKEN-METALLB:
57+
network: "139.229.161.80"
58+
mask: "255.255.255.224"
59+
gateway: "139.229.161.110"
60+
range:
61+
- "139.229.161.81 139.229.161.107"
62+
search_domains: "%{alias('dhcp::dnsdomain')}"
4963
IT-BMC:
5064
network: "139.229.162.0"
5165
mask: "255.255.255.0"

spec/hosts/nodes/foreman.cp.lsst.org_spec.rb

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,24 @@
362362
gateway: '10.18.5.254'
363363
)
364364
end
365+
366+
it do
367+
is_expected.to contain_dhcp__pool('MERKEN-FQDN').with(
368+
network: '139.229.161.64',
369+
mask: '255.255.255.240',
370+
range: ['139.229.161.65 139.229.161.75'],
371+
gateway: '139.229.161.78'
372+
)
373+
end
374+
375+
it do
376+
is_expected.to contain_dhcp__pool('MERKEN-METALLB').with(
377+
network: '139.229.161.80',
378+
mask: '255.255.255.224',
379+
range: ['139.229.161.81 139.229.161.107'],
380+
gateway: '139.229.161.110'
381+
)
382+
end
365383
end # on os
366384
end # on_supported_os
367385
end # role

0 commit comments

Comments
 (0)