stand(FullPipe): vc_nsxt (edge.tf), storage_config fast->SATA, provider 2.0.4

This commit is contained in:
Repinoid
2026-09-21 19:57:48 +03:00
parent 140100378f
commit d608fba338
5 changed files with 84 additions and 3 deletions
+46 -2
View File
@@ -54,6 +54,50 @@ variable "vdc_mem_allocated" {
variable "vdc_storage_config" {
type = string
default = "[{\"name\":\"fast\",\"size\":200}]"
description = "Дисковое хранилище (JSON-массив, size в GB)"
default = "[{\"name\":\"SATA\",\"size\":\"200\"}]"
description = "Дисковое хранилище (JSON-массив, size в GB). Имя политики должно существовать в ресурсном пуле (например, SATA, SSD)"
}
# --- vc_nsxt (Сетевой шлюз периметра / Edge) ---
variable "nsxt_resource_name" {
type = string
default = "fullpipe-edge"
description = "Имя Edge (vc_nsxt)"
}
variable "nsxt_vdc_type" {
type = string
default = "vdc"
description = "Тип родительской услуги: vdc или vdcGroup"
}
variable "nsxt_need_enable_avi" {
type = bool
default = false
description = "Включить AVI Load Balancer"
}
variable "nsxt_virtual_services_count" {
type = number
default = 1
description = "Кол-во виртуальных сервисов, резервируемых на AVI (1..4)"
}
variable "nsxt_ip_addr_pool" {
type = string
default = "10.10.102.0/24"
description = "Адресный пул routed-сети (маска /24 обязательна)"
}
variable "nsxt_main_dns" {
type = string
default = "81.22.46.22"
description = "Основной DNS"
}
variable "nsxt_second_dns" {
type = string
default = "185.247.187.77"
description = "Второй DNS"
}