fix:modify virtual machine interfaces
Former-commit-id: 36de12f7eabd1df67329d8b8c22a1c25430d5a3e
This commit is contained in:
parent
d9f0f3d204
commit
bda5f58086
|
@ -36,8 +36,6 @@ type (
|
||||||
absolute Absolute `json:"absolute,optional"`
|
absolute Absolute `json:"absolute,optional"`
|
||||||
}
|
}
|
||||||
GetComputeLimitsReq {
|
GetComputeLimitsReq {
|
||||||
Limit int32 `json:"limit,optional"`
|
|
||||||
OffSet int32 `json:"offSet,optional"`
|
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `json:"platform,optional"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -68,8 +66,6 @@ type (
|
||||||
absolute VolumeAbsolute `json:"absolute,optional"`
|
absolute VolumeAbsolute `json:"absolute,optional"`
|
||||||
}
|
}
|
||||||
GetVolumeLimitsReq {
|
GetVolumeLimitsReq {
|
||||||
Limit int32 `json:"limit,optional"`
|
|
||||||
OffSet int32 `json:"offSet,optional"`
|
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `json:"platform,optional"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -5,14 +5,17 @@ Port: 8999
|
||||||
Timeout: 50000
|
Timeout: 50000
|
||||||
|
|
||||||
DB:
|
DB:
|
||||||
DataSource: root:uJpLd6u-J?HC1@(10.206.0.12:3306)/pcm?parseTime=true&loc=Local
|
#DataSource: root:uJpLd6u-J?HC1@(10.206.0.12:3306)/pcm?parseTime=true&loc=Local
|
||||||
|
DataSource: root:uJpLd6u-J?HC1@(47.92.88.143:3306)/pcm?parseTime=true&loc=Local
|
||||||
|
|
||||||
Redis:
|
Redis:
|
||||||
Host: 10.206.0.12:6379
|
Host: 47.92.88.143:6379
|
||||||
|
#Host: 10.206.0.12:6379
|
||||||
Pass: redisPW123
|
Pass: redisPW123
|
||||||
|
|
||||||
Cache:
|
Cache:
|
||||||
- Host: 10.206.0.12:6379
|
- Host: 10.206.0.12:6379
|
||||||
|
# - Host: 10.206.0.12:6379
|
||||||
Pass: redisPW123
|
Pass: redisPW123
|
||||||
|
|
||||||
# k8s rpc
|
# k8s rpc
|
||||||
|
@ -67,15 +70,17 @@ OctopusRpcConf:
|
||||||
Timeout: 20000
|
Timeout: 20000
|
||||||
|
|
||||||
OpenstackRpcConf:
|
OpenstackRpcConf:
|
||||||
target: nacos://10.206.0.12:8848/pcm.openstack.rpc?timeout=30s&namespaceid=test&groupname=DEFAULT_GROUP&appName=pcm.core.api
|
# target: nacos://10.206.0.12:8848/pcm.openstack.rpc?timeout=30s&namespaceid=test&groupname=DEFAULT_GROUP&appName=pcm.core.api
|
||||||
# Endpoints:
|
# target: nacos://127.0.0.1:8848/pcm.openstack.rpc?timeout=30s&namespaceid=test&groupname=DEFAULT_GROUP&appName=pcm.core.api
|
||||||
# - 127.0.0.1:8888
|
Endpoints:
|
||||||
|
- 127.0.0.1:2010
|
||||||
NonBlock: true
|
NonBlock: true
|
||||||
Timeout: 20000
|
Timeout: 20000
|
||||||
|
|
||||||
# core rpc
|
# core rpc
|
||||||
PcmCoreRpcConf:
|
PcmCoreRpcConf:
|
||||||
target: nacos://10.206.0.12:8848/pcm.core.rpc?timeout=30s&namespaceid=test&groupname=DEFAULT_GROUP&appName=pcm.core.api
|
# target: nacos://10.206.0.12:8848/pcm.core.rpc?timeout=30s&namespaceid=test&groupname=DEFAULT_GROUP&appName=pcm.core.api
|
||||||
|
target: nacos://47.92.88.143:8848/pcm.core.rpc?timeout=30s&namespaceid=test&groupname=DEFAULT_GROUP&appName=pcm.core.api
|
||||||
# Endpoints:
|
# Endpoints:
|
||||||
# - 127.0.0.1:8888
|
# - 127.0.0.1:8888
|
||||||
NonBlock: true
|
NonBlock: true
|
||||||
|
|
|
@ -2507,8 +2507,6 @@ type Limits struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type GetComputeLimitsReq struct {
|
type GetComputeLimitsReq struct {
|
||||||
Limit int32 `json:"limit,optional"`
|
|
||||||
OffSet int32 `json:"offSet,optional"`
|
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `json:"platform,optional"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2541,8 +2539,6 @@ type VolumeLimits struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type GetVolumeLimitsReq struct {
|
type GetVolumeLimitsReq struct {
|
||||||
Limit int32 `json:"limit,optional"`
|
|
||||||
OffSet int32 `json:"offSet,optional"`
|
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `json:"platform,optional"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,8 @@ ListenOn: 0.0.0.0:2004
|
||||||
Timeout: 15000 # 15s,设置rpc服务的响应的超时时间,若超过15s还未返回则结束请求
|
Timeout: 15000 # 15s,设置rpc服务的响应的超时时间,若超过15s还未返回则结束请求
|
||||||
|
|
||||||
DB:
|
DB:
|
||||||
DataSource: root:uJpLd6u-J?HC1@(10.206.0.12:3306)/pcm?parseTime=true
|
# DataSource: root:uJpLd6u-J?HC1@(10.206.0.12:3306)/pcm?parseTime=true
|
||||||
|
DataSource: root:uJpLd6u-J?HC1@(47.92.88.143:3306)/pcm?parseTime=true
|
||||||
|
|
||||||
#链路追踪
|
#链路追踪
|
||||||
# Telemetry:
|
# Telemetry:
|
||||||
|
|
Loading…
Reference in New Issue