From b4b894a6e41f838d4dda86c34527c4adc4942ea8 Mon Sep 17 00:00:00 2001
From: "S.H." <sebastian.heiss94@proton.me>
Date: Thu, 27 Feb 2025 11:51:10 +0100
Subject: [PATCH 1/2] add support for tls to
 configurationmanagement.go:createNetworkElements()

---
 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..4333e9c02 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


From 44c9503ed79062983abdf7fd3dc7f41f81e8e5a0 Mon Sep 17 00:00:00 2001
From: "S.H." <sebastian.heiss94@proton.me>
Date: Thu, 27 Feb 2025 19:23:48 +0100
Subject: [PATCH 2/2] fix formatting of line..

---
 controller/northbound/server/configurationmanagement.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/controller/northbound/server/configurationmanagement.go b/controller/northbound/server/configurationmanagement.go
index 4333e9c02..3b2aac5d3 100644
--- a/controller/northbound/server/configurationmanagement.go
+++ b/controller/northbound/server/configurationmanagement.go
@@ -313,7 +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,
+			Tls:  inputNetworkElement.TransportTLS,
 		}
 
 		plugin, err := c.pluginService.RequestPlugin(uuid.MustParse(inputNetworkElement.Plugin))
-- 
GitLab