From 55dee18c5334a0b0d45d76822898b82cead5263a Mon Sep 17 00:00:00 2001
From: Fabian Seidl <fabian.b.seidl@stud.h-da.de>
Date: Thu, 9 Jun 2022 12:58:41 +0000
Subject: [PATCH] Resolve "Running the controller with file stores creates
 files that are not included in gitignore"

See merge request danet/gosdn!329
---
 .gitignore                    |  7 +++++++
 controller/configs/gosdn.toml | 14 --------------
 2 files changed, 7 insertions(+), 14 deletions(-)
 delete mode 100644 controller/configs/gosdn.toml

diff --git a/.gitignore b/.gitignore
index 3783bfbc1..6c56d29b9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -23,6 +23,7 @@ csbi/resources/csbi
 
 # controller
 controller/configs/testing-gosdn.toml
+controller/configs/gosdn.toml
 controller/configs/development-gosdn.toml
 controller/configs/containerlab-gosdn.toml
 controller/config/*_test.toml
@@ -40,3 +41,9 @@ controller/api/stores_testing/**
 controller/northbound/server/stores_testing/**
 controller/nucleus/stores_testing/**
 controller/nucleus/**/gostructs.go
+
+# stores
+stores/*.json
+
+# gosdn
+configs/gosdn.toml
diff --git a/controller/configs/gosdn.toml b/controller/configs/gosdn.toml
deleted file mode 100644
index d215797b3..000000000
--- a/controller/configs/gosdn.toml
+++ /dev/null
@@ -1,14 +0,0 @@
-# This is used as an example config or when the controller gets started using the config path flag.
-# If the controller is started from gosdn/controller directory the config file that gets used can
-# can be found in controller/cmd/gosdn/configs/gosdn.toml
-basepnduuid = "5f20f34b-cbd0-4511-9ddc-c50cf6a3b49d"
-basesouthboundtype = 1
-basesouthbounduuid = "ca29311a-3b17-4385-96f8-515b602a97ac"
-cli_pnd = "0455b241-5863-4660-ad15-dfde7617738e"
-cli_sbi = "a249f2d2-f7da-481d-8a99-b7f11471e0af"
-csbi-orchestrator = "localhost:55056"
-help = false
-plugin-folder = "plugins"
-log-level = "debug"
-pnduuid = "bf8160d4-4659-4a1b-98fd-f409a04111ec"
-socket = ":55055"
-- 
GitLab