From 99bcf0cf3b2b6e9675896084fee981830a732c0f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Sebastian=20Hei=C3=9F?= <sebastian.heiss@stud.h-da.de>
Date: Fri, 28 Feb 2025 08:13:33 +0000
Subject: [PATCH] Resolve "Applying a configuration with tls=true via
 configurationmanagement  is impossible"

See merge request danet/gosdn!1238

Co-authored-by: S.H. <sebastian.heiss94@proton.me>
---
 controller/northbound/server/configurationmanagement.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/controller/northbound/server/configurationmanagement.go b/controller/northbound/server/configurationmanagement.go
index 0dabea7d5..3b2aac5d3 100644
--- a/controller/northbound/server/configurationmanagement.go
+++ b/controller/northbound/server/configurationmanagement.go
@@ -313,6 +313,7 @@ func (c ConfigurationManagementServer) createNetworkElements(sdnConfig *loadedSD
 			// TODO: change TransportOption - type is not needed; this should
 			// be removed as soon as we remove the csbi device type
 			Type: spb.Type_TYPE_OPENCONFIG,
+			Tls:  inputNetworkElement.TransportTLS,
 		}
 
 		plugin, err := c.pluginService.RequestPlugin(uuid.MustParse(inputNetworkElement.Plugin))
-- 
GitLab