From cbe820b878ace369bca6c9a83f304723ac34224b Mon Sep 17 00:00:00 2001 From: George Kraft Date: Thu, 24 Oct 2013 15:50:19 -0500 Subject: CXMAN-246: Add node ID to Node.__str__ --- cxmanage_api/node.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cxmanage_api/node.py b/cxmanage_api/node.py index 4973242..cd7dc57 100644 --- a/cxmanage_api/node.py +++ b/cxmanage_api/node.py @@ -121,7 +121,7 @@ class Node(object): return hash(self.ip_address) def __str__(self): - return 'Node: %s' % self.ip_address + return 'Node %i (%s)' % (self.node_id, self.ip_address) @property def tftp_address(self): -- cgit v1.2.1