Skip to content

Commit

Permalink
Set the IP ranges for Ironic Inspector DHCP service
Browse files Browse the repository at this point in the history
This is using static hostnames to give separate ranges for the 3 OSP
controllers. To have the predictable node name the ci-framework must run
with a static "run_id" i.e `cifmw_run_id: uni01alpha` must be set in the
scenario env.
  • Loading branch information
hjensas committed Dec 11, 2024
1 parent f3818fe commit 00c03de
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
10 changes: 10 additions & 0 deletions scenarios/uni01alpha/config_download.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,13 @@ parameter_defaults:
host_routes: []
name: ctlplane-subnet
ip_version: 4
# Since we need predictable node names to be able to set this paremeter,
# it a requirement to set the ci-framework parameter cifmw_run_id with
# this value 'uni01alpha'.
IronicInspectorSubnets:
osp-controller-uni01alpha-0:
- ip_range: 172.20.0.210,172.20.0.219
osp-controller-uni01alpha-1:
- ip_range: 172.20.0.220,172.20.0.229
osp-controller-uni01alpha-2:
- ip_range: 172.20.0.230,172.20.0.239
4 changes: 2 additions & 2 deletions scenarios/uni01alpha/network_data.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,5 @@
ironic_subnet:
ip_subnet: 172.20.0.0/24
allocation_pools:
- start: 172.20.0.200
end: 172.20.0.250
- start: 172.20.0.150
end: 172.20.0.200

0 comments on commit 00c03de

Please sign in to comment.