mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
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:
@@ -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"`
|
||||
|
||||
Reference in New Issue
Block a user