Methods for managing VIMs, SDNs
Change-Id: I34c3ac84c811dcfe1d71fe7e6fec0b820993d541
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
diff --git a/osm_nbi/msgbase.py b/osm_nbi/msgbase.py
index a105414..25e8c80 100644
--- a/osm_nbi/msgbase.py
+++ b/osm_nbi/msgbase.py
@@ -1,4 +1,5 @@
+import asyncio
from http import HTTPStatus
__author__ = "Alfonso Tierno <alfonso.tiernosepulveda@telefonica.com>"
@@ -30,12 +31,17 @@
def connect(self, config):
pass
- def write(self, msg):
- pass
-
- def read(self):
- pass
-
def disconnect(self):
pass
+ def write(self, topic, key, msg):
+ pass
+
+ def read(self, topic):
+ pass
+
+ async def aiowrite(self, topic, key, msg, loop):
+ pass
+
+ async def aioread(self, topic, loop):
+ pass