diff --git a/pkg/mcclient/options/compute/loadbalanceragents.go b/pkg/mcclient/options/compute/loadbalanceragents.go index cff84fc23b..e20d6cb953 100644 --- a/pkg/mcclient/options/compute/loadbalanceragents.go +++ b/pkg/mcclient/options/compute/loadbalanceragents.go @@ -81,8 +81,11 @@ func (opts *LoadbalancerAgentParamsOptions) Params() (*jsonutils.JSONDict, error type LoadbalancerAgentCreateOptions struct { NAME string + IP string `help:"access ip of lbagent"` + INTERFACE string `help:"access interface of lbagent"` + VERSION string `help:"version of lbagent"` HbTimeout *int - Cluster string `required:"true"` + // Cluster string `required:"true"` LoadbalancerAgentParamsOptions }