state manager stub
diff --git a/state/state.go b/state/state.go
new file mode 100644
index 0000000..5f7cc56
--- /dev/null
+++ b/state/state.go
@@ -0,0 +1,24 @@
+package state
+
+import (
+ pb "code.hackerspace.pl/q3k/topo/proto/control"
+)
+
+type SwitchportState struct {
+ Proto *pb.SwitchPort
+}
+
+type SwitchState struct {
+ Name string
+ Ports []*SwitchportState
+}
+
+type StateManager struct {
+ Switches map[string]*SwitchState
+}
+
+func NewManager() *StateManager {
+ return &StateManager{
+ Switches: make(map[string]*SwitchState),
+ }
+}