Use uBridge for Qemu connections. Ref #267.

Handle packet captures for VPCS & Qemu nodes. Fixes #548.
This commit is contained in:
grossmj
2016-06-23 16:56:06 -06:00
parent 4eb03b5a99
commit 04022677bd
9 changed files with 244 additions and 119 deletions

View File

@ -122,11 +122,11 @@ class UDPLink(Link):
# use the local node first to save bandwidth
for node in self._nodes:
if node["node"].compute.id == "local" and node["node"].node_type not in ["qemu"]:
if node["node"].compute.id == "local" and node["node"].node_type not in [""]: # FIXME
return node
for node in self._nodes:
if node["node"].node_type not in ["qemu"]:
if node["node"].node_type not in [""]: # FIXME
return node
raise aiohttp.web.HTTPConflict(text="Capture is not supported for this link")