From a8b16c4eaf589a7f91cf3f79bf105704309c7ebb Mon Sep 17 00:00:00 2001 From: Tim Boring <tjb@google.com> Date: Sun, 10 May 2009 10:27:04 -0400 Subject: [PATCH] Exporting the instance network_port on the RAPI Patch for adding network_port to the instance attributes exported by the RAPI. [iustin@google.com: slightly changed the formatting] Signed-off-by: Iustin Pop <iustin@google.com> Reviewed-by: Iustin Pop <iustin@google.com> --- lib/rapi/rlib2.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/rapi/rlib2.py b/lib/rapi/rlib2.py index 9e617bf78..79b95da16 100644 --- a/lib/rapi/rlib2.py +++ b/lib/rapi/rlib2.py @@ -34,6 +34,7 @@ I_FIELDS = ["name", "admin_state", "os", "pnode", "snodes", "disk_template", "nic.ips", "nic.macs", "nic.bridges", + "network_port", "disk.sizes", "disk_usage", "beparams", "hvparams", "oper_state", "oper_ram", "status", -- GitLab