mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
Merge pull request #15757 from wanyaoqi/automated-cherry-pick-of-#15756-upstream-release-3.10
Automated cherry pick of #15756: fix(region): network_ip_macs allow update ip and mac
This commit is contained in:
@@ -52,9 +52,9 @@ type SNetworkIpMac struct {
|
||||
|
||||
NetworkId string `width:"36" charset:"ascii" nullable:"false" list:"user" index:"true" create:"required"`
|
||||
// MAC地址
|
||||
MacAddr string `width:"32" charset:"ascii" nullable:"false" list:"user" index:"true" create:"required"`
|
||||
MacAddr string `width:"32" charset:"ascii" nullable:"false" list:"user" index:"true" update:"user" create:"required"`
|
||||
// IPv4地址
|
||||
IpAddr string `width:"16" charset:"ascii" nullable:"false" list:"user" index:"true" create:"required"`
|
||||
IpAddr string `width:"16" charset:"ascii" nullable:"false" list:"user" index:"true" update:"user" create:"required"`
|
||||
}
|
||||
|
||||
func (manager *SNetworkIpMacManager) ResourceScope() rbacscope.TRbacScope {
|
||||
|
||||
Reference in New Issue
Block a user