Add ip_version to CtlplaneNetworkAttributes

Change-Id: I26228293f3be34fa092b3d3b1ced86a3520f64b3
(cherry picked from commit a12fef6e18)
This commit is contained in:
John Fulton 2022-05-19 09:03:04 -04:00
parent c25f4e8bdf
commit a531169034
1 changed files with 2 additions and 0 deletions

View File

@ -654,6 +654,7 @@ class Deploy(command.Command):
p_ip = parsed_args.public_virtual_ip
else:
p_ip = ip
ip_version = str(ip_nw.version)
tmp_env = self._generate_hosts_parameters(parsed_args, p_ip)
tmp_env.update(self._generate_portmap_parameters(
@ -698,6 +699,7 @@ class Deploy(command.Command):
'ctlplane-subnet': {
'cidr': str(ip_nw.cidr),
'host_routes': host_routes,
'ip_version': ip_version,
}
}
}