From 634459ce333b7ada783b8a76d787f105db480356 Mon Sep 17 00:00:00 2001 From: David Howells Date: Thu, 10 Apr 2014 00:05:16 +0100 Subject: [PATCH] Fix "vos listaddrs" with -host Fix "vos listaddrs" with -host to expect a host name or ip address rather than a UUID. Signed-off-by: David Howells --- suite/commands/vos/listaddrs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/suite/commands/vos/listaddrs.py b/suite/commands/vos/listaddrs.py index 1c3f05f..c450f5b 100644 --- a/suite/commands/vos/listaddrs.py +++ b/suite/commands/vos/listaddrs.py @@ -98,6 +98,6 @@ def main(params): attributes.uuid = params["uuid"] if "host" in params: attributes.Mask |= kafs.VLADDR_IPADDR - attributes.uuid = params["uuid"] + attributes.ipaddr = addrcache.name2addr_int(params["host"][0]) list_one(params, vl_conn, attributes) -- 2.49.0