From 05a69ac0be41c41e0c5583fa71df647087daae09 Mon Sep 17 00:00:00 2001 From: Qiu Jian Date: Mon, 14 Jan 2019 22:39:32 +0800 Subject: [PATCH] add os-type list filter --- pkg/mcclient/options/servers.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/mcclient/options/servers.go b/pkg/mcclient/options/servers.go index 6fd0d8b643..ec4d589d6b 100644 --- a/pkg/mcclient/options/servers.go +++ b/pkg/mcclient/options/servers.go @@ -22,6 +22,7 @@ type ServerListOptions struct { Region string `help:"Show servers in cloudregion"` WithEip *bool `help:"Show Servers with EIP"` WithoutEip *bool `help:"Show Servers without EIP"` + OsType string `help:"OS Type" choices:"linux|windows|vmware"` ResourceType string `help:"Resource type" choices:"shared|prepaid|dedicated"`