fix(climc): hostlocal server type for network-create (#21151)

This commit is contained in:
Zexi Li
2024-09-03 14:41:24 +08:00
committed by GitHub
parent f0089b6ba8
commit bcc3b6769c
+1 -1
View File
@@ -80,7 +80,7 @@ type NetworkCreateOptions struct {
VlanId int64 `help:"Vlan ID" default:"1"`
IfnameHint string `help:"Hint for ifname generation"`
AllocPolicy string `help:"Address allocation policy" choices:"none|stepdown|stepup|random"`
ServerType string `help:"Server type" choices:"baremetal|container|eip|guest|ipmi|pxe"`
ServerType string `help:"Server type" choices:"baremetal|container|eip|guest|ipmi|pxe|hostlocal"`
IsAutoAlloc *bool `help:"Auto allocation IP pool"`
BgpType string `help:"Internet service provider name" positional:"false"`
Desc string `help:"Description" metavar:"DESCRIPTION"`