Skip to content
Snippets Groups Projects
Commit 8f310286 authored by Bob Lantz's avatar Bob Lantz
Browse files

Add setLinkInfo() which seems to be missing.

parent b97c0392
No related branches found
No related tags found
No related merge requests found
......@@ -148,6 +148,11 @@ def linkInfo( self, src, dst ):
src, dst = self.sorted([src, dst])
return self.link_info[(src, dst)]
def setlinkInfo( self, src, dst, info ):
"Set link metadata"
src, dst = self.sorted([src, dst])
self.link_info[(src, dst)] = info
def nodeInfo( self, name ):
"Return metadata (dict) for node"
info = self.node_info[ name ]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment