Initial commit of a simple OpenOLT simulator
make openoltsim
./build/openoltsim
Openoltsim is meant to simulate an OLT running the OpenOLT driver.
Currently, it only sends the the "olt up" indication allowing
voltha pre-provision/enable commands to connect to openoltsim.
Change-Id: I95910657d269e37f4e4943d2b91f2780ecd8fd08
diff --git a/openoltsim/state.h b/openoltsim/state.h
new file mode 100644
index 0000000..c392a01
--- /dev/null
+++ b/openoltsim/state.h
@@ -0,0 +1,13 @@
+#ifndef OPENOLT_STATE_H_
+#define OPENOLT_STATE_H_
+
+namespace state {
+ bool is_activated();
+ bool is_connected();
+ void connect();
+ void disconnect();
+ void activate();
+ void deactivate();
+}
+
+#endif