From 02d65992cd045ef00832220538e4336b670d3479 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Tue, 19 Mar 2024 12:04:40 +0100 Subject: [PATCH] Add the swarm storageNFS ip addresses to the dev variables. --- openstack-tf/d4s-dev/variables/outputs-dev.tf | 4 ++++ openstack-tf/d4s-dev/variables/variables-dev.tf | 14 ++++++++++++++ 2 files changed, 18 insertions(+) diff --git a/openstack-tf/d4s-dev/variables/outputs-dev.tf b/openstack-tf/d4s-dev/variables/outputs-dev.tf index c959156..0f14d71 100644 --- a/openstack-tf/d4s-dev/variables/outputs-dev.tf +++ b/openstack-tf/d4s-dev/variables/outputs-dev.tf @@ -33,3 +33,7 @@ output "main_haproxy_l7_ip" { output "octavia_information" { value = var.octavia_information } + +output "swarm_manila_interfaces_ip" { + value = var.swarm_manila_interfaces_ip +} diff --git a/openstack-tf/d4s-dev/variables/variables-dev.tf b/openstack-tf/d4s-dev/variables/variables-dev.tf index 595f876..184d380 100644 --- a/openstack-tf/d4s-dev/variables/variables-dev.tf +++ b/openstack-tf/d4s-dev/variables/variables-dev.tf @@ -82,3 +82,17 @@ variable "octavia_information" { main_lb_hostname = "main-lb" } } + +variable "swarm_manila_interfaces_ip" { + type = map(string) + default = { + "mgr_1" = "172.17.2.74" + "mgr_2" = "172.17.3.218" + "mgr_3" = "172.17.2.230" + "worker_1" = "172.17.0.166" + "worker_2" = "172.17.2.171" + "worker_3" = "172.17.0.146" + "worker_4" = "172.17.1.195" + "worker_5" = "172.17.2.187" + } +}