def api_detail_net(client, *args):
tid, nid = args
try:
- res = client.list_network_details(nid)["networks"]["network"]
+ res = client.show_network_details(nid)["networks"]["network"]
except Exception, e:
LOG.error("Failed to get network details: %s" % e)
return
print "Remote Interfaces on Virtual Network:%s\n" % nid
for port in ports["ports"]:
pid = port["id"]
- res = client.list_port_attachments(nid, pid)
+ res = client.show_port_attachment(nid, pid)
LOG.debug(res)
remote_iface = res["attachment"]
print "\tRemote interface:%s" % remote_iface
def api_detail_port(client, *args):
tid, nid, pid = args
try:
- port = client.list_port_details(nid, pid)["ports"]["port"]
+ port = client.show_port_details(nid, pid)["ports"]["port"]
except Exception, e:
LOG.error("Failed to get port details: %s" % e)
return