aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/controller/add_network.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/controller/add_network.go')
-rw-r--r--pkg/controller/add_network.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/pkg/controller/add_network.go b/pkg/controller/add_network.go
new file mode 100644
index 0000000..d35657b
--- /dev/null
+++ b/pkg/controller/add_network.go
@@ -0,0 +1,10 @@
+package controller
+
+import (
+ "ovn4nfv-k8s-plugin/pkg/controller/network"
+)
+
+func init() {
+ // AddToManagerFuncs is a list of functions to create controllers and add them to a manager.
+ AddToManagerFuncs = append(AddToManagerFuncs, network.Add)
+}