Skip to content

Commit

Permalink
Check in for issue #353
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Smith committed Oct 18, 2019
1 parent 1ae5c91 commit 826a9a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion acitoolkit/aciphysobject.py
Original file line number Diff line number Diff line change
Expand Up @@ -2970,7 +2970,7 @@ def get(cls, session, pod_parent=None, node=None, module=None, port=None):
eth_query_url = ('/api/mo/' + dist_name + '/phys.json?query-target=self')
# add the case where we return all of the ports of a given node
elif node:
dist_name = 'topology/pod-1/node-{0}/sys'.format(node)
dist_name = 'topology/pod-{0}/node-{1}/sys'.format(pod_parent, node)
interface_query_url = ('/api/mo/' + dist_name + '.json?query-target=children&target-subtree-class=l1PhysIf')
eth_query_url = ('/api/mo/' + dist_name + '.json?query-target=subtree&target-subtree-class=ethpmPhysIf')

Expand Down

0 comments on commit 826a9a0

Please sign in to comment.