X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=nodeconfig.py;h=ac84ec338f68cf021d0949bdcd10ab2f61fc1330;hb=refs%2Fheads%2F1.0;hp=ce644e69c7f8d143bf25f4e148936dd23c2768d9;hpb=69c53cbc39d4fed2c8947809fbecd297f9336b2f;p=monitor.git diff --git a/nodeconfig.py b/nodeconfig.py index ce644e6..ac84ec3 100755 --- a/nodeconfig.py +++ b/nodeconfig.py @@ -41,7 +41,7 @@ def main(): try: n = api.GetNodes(node)[0] #print n - net = api.GetNodeNetworks(n['nodenetwork_ids'])[0] + net = api.GetInterfaces(n['interface_ids'])[0] #print net node_keys = ['boot_state', 'key', 'last_updated', 'last_contact']