Functional Ethernet hub with new API. Uses Dynamips backend by default for now.

This commit is contained in:
grossmj
2016-05-17 21:22:18 -06:00
parent f052299eb1
commit 7ebbdcd47c
9 changed files with 138 additions and 402 deletions

View File

@ -49,7 +49,7 @@ class EthernetHub(Bridge):
def __json__(self):
return {"name": self.name,
"device_id": self.id,
"node_id": self.id,
"project_id": self.project.id}
@asyncio.coroutine