From 815ace7d2cb32a039948cf4e81fa7ecf7b4809ec Mon Sep 17 00:00:00 2001 From: Repinoid Date: Tue, 22 Sep 2026 18:48:46 +0300 Subject: [PATCH] =?UTF-8?q?fix(fullpipe):=20=D0=BC=D0=BE=D0=B4=D0=B8=D1=84?= =?UTF-8?q?=D0=B8=D0=BA=D0=B0=D1=82=D0=BE=D1=80=20edge=5Fnet=20=D1=88?= =?UTF-8?q?=D0=BB=D1=91=D1=82=20ALB/VS/qos=20=D1=86=D0=B5=D0=BB=D0=B8?= =?UTF-8?q?=D0=BA=D0=BE=D0=BC=20=E2=80=94=20=D0=B8=D0=BD=D0=B0=D1=87=D0=B5?= =?UTF-8?q?=20modify=20=D1=81=20null=20=D1=81=D0=B1=D1=80=D0=B0=D1=81?= =?UTF-8?q?=D1=8B=D0=B2=D0=B0=D0=B5=D1=82=20needEnableAVI=20=D0=B2=20false?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DEV_STAND/FullPipe/edge_network.tf | 6 ++++++ DEV_STAND/FullPipe/variables.tf | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/DEV_STAND/FullPipe/edge_network.tf b/DEV_STAND/FullPipe/edge_network.tf index 83d5c79..4d09e27 100644 --- a/DEV_STAND/FullPipe/edge_network.tf +++ b/DEV_STAND/FullPipe/edge_network.tf @@ -12,5 +12,11 @@ resource "nubes_vc_nsxt_network" "edge_net" { # SNAT: внешний IP из организации; "no-needed" — выключить SNAT ip_space_name = var.org_ip_space_name + # ⚠ Обязательно слать create-поля целиком: modify с null сбрасывает их в дефолт + # (иначе needEnableAVI упадёт в false после create=true). + qos_profile = var.nsxt_qos_profile + need_enable_avi = var.nsxt_need_enable_avi + virtual_services_count = var.nsxt_virtual_services_count + depends_on = [nubes_vc_org_ip_space.org_ips] } diff --git a/DEV_STAND/FullPipe/variables.tf b/DEV_STAND/FullPipe/variables.tf index 4b8a786..b9d9513 100644 --- a/DEV_STAND/FullPipe/variables.tf +++ b/DEV_STAND/FullPipe/variables.tf @@ -102,6 +102,12 @@ variable "nsxt_second_dns" { description = "Второй DNS" } +variable "nsxt_qos_profile" { + type = string + default = "QoS-100Mbit" + description = "Профиль пропускной способности Edge" +} + # --- vc_org (Организация в Cloud Director) — модификатор ip_space --- variable "org_ip_space_name" {