diff options
author | evasquez <eric.vasquez@calxeda.com> | 2013-07-11 10:21:48 -0500 |
---|---|---|
committer | evasquez <eric.vasquez@calxeda.com> | 2013-07-11 10:21:48 -0500 |
commit | d3813d5e5cd1d14b540385901f25b0bcf8d935ba (patch) | |
tree | aa04d14096467605a591928b5fc45295990e796b | |
parent | 7ce5df7d9cdbc2265505a68a3e671a5856ab7921 (diff) | |
download | cxmanage-d3813d5e5cd1d14b540385901f25b0bcf8d935ba.tar.gz |
Added doc example for get_linkmap()
-rw-r--r-- | cxmanage_api/node.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cxmanage_api/node.py b/cxmanage_api/node.py index 2e19be8..9405d2e 100644 --- a/cxmanage_api/node.py +++ b/cxmanage_api/node.py @@ -1155,6 +1155,9 @@ class Node(object): def get_linkmap(self): """Gets the src and destination of each link on a node. + >>> node.get_linkmap() + {1: 2, 3: 1, 4: 3} + :return: Returns a map of link_id->node_id. :rtype: dictionary |