novaclient.v1_1 を使用してインスタンスのリストを取得し、各サーバー インスタンスの診断を抽出しようとしています。
私が書いたコード
instances = nova.servers.list()
for i in instances:
val_list = i.diagnostics
print val_list
だからここで私はこのような出力を得ました
<bound method Server.diagnostics of <Server: ubuntu12_6>>
<bound method Server.diagnostics of <Server: ubuntu12_4>>
<bound method Server.diagnostics of <Server: ubuntu12_3>>
<bound method Server.diagnostics of <Server: ubuntu12_1>>
では、各サーバー インスタンスの完全な診断情報を取得するにはどうすればよいでしょうか?? このオブジェクトからタップ インターフェイス情報を抽出する方法は?