Merge pull request #15006 from zexi/automated-cherry-pick-of-#15005-upstream-master

Automated cherry pick of #15005: fix(climc): always net vlan_id to 1 when updating network
This commit is contained in:
Zexi Li
2022-09-20 10:46:36 +08:00
committed by GitHub
+1 -1
View File
@@ -68,7 +68,7 @@ type NetworkUpdateOptions struct {
Domain string `help:"Domain"`
Dhcp string `help:"DHCP server IP"`
Ntp string `help:"Ntp server domain names"`
VlanId int64 `help:"Vlan ID" default:"1"`
VlanId int64 `help:"Vlan ID"`
ExternalId string `help:"External ID"`
AllocPolicy string `help:"Address allocation policy" choices:"none|stepdown|stepup|random"`
IsAutoAlloc *bool `help:"Add network into auto-allocation pool" negative:"no_auto_alloc"`