增加独立的IP地址管理功能

This commit is contained in:
刘祥超
2021-08-31 17:24:30 +08:00
parent 1c93b42681
commit 94b3559eee
31 changed files with 822 additions and 50 deletions

View File

@@ -171,8 +171,8 @@ func (this *CreateNodeAction) RunPost(params struct {
addressId := address.GetInt64("id")
if addressId > 0 {
_, err = this.RPC().NodeIPAddressRPC().UpdateNodeIPAddressNodeId(this.AdminContext(), &pb.UpdateNodeIPAddressNodeIdRequest{
AddressId: addressId,
NodeId: nodeId,
NodeIPAddressId: addressId,
NodeId: nodeId,
})
} else {
var thresholdsJSON = []byte{}