fix:Modify configuration file fields
Former-commit-id: b3e7609f704e567a9501719fe9ca56d81f9bc4f4
This commit is contained in:
parent
9ab14b2f01
commit
c6ad5637be
|
@ -107,7 +107,7 @@ type (
|
||||||
NsID string `json:"nsID"`
|
NsID string `json:"nsID"`
|
||||||
Replicas int64 `json:"replicas,optional"`
|
Replicas int64 `json:"replicas,optional"`
|
||||||
MatchLabels map[string]string `json:"matchLabels,optional"`
|
MatchLabels map[string]string `json:"matchLabels,optional"`
|
||||||
server []ServerCommit `json:"server,optional"`
|
servers []ServerCommit `json:"servers,optional"`
|
||||||
platform string `json:"platform,optional"`
|
platform string `json:"platform,optional"`
|
||||||
}
|
}
|
||||||
ServerCommit {
|
ServerCommit {
|
||||||
|
|
|
@ -36,7 +36,7 @@ type (
|
||||||
absolute Absolute `json:"absolute,optional"`
|
absolute Absolute `json:"absolute,optional"`
|
||||||
}
|
}
|
||||||
GetComputeLimitsReq {
|
GetComputeLimitsReq {
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
|
|
||||||
GetComputeLimitsResp {
|
GetComputeLimitsResp {
|
||||||
|
@ -66,7 +66,7 @@ type (
|
||||||
absolute VolumeAbsolute `json:"absolute,optional"`
|
absolute VolumeAbsolute `json:"absolute,optional"`
|
||||||
}
|
}
|
||||||
GetVolumeLimitsReq {
|
GetVolumeLimitsReq {
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
|
|
||||||
GetVolumeLimitsResp {
|
GetVolumeLimitsResp {
|
||||||
|
@ -81,7 +81,7 @@ type (
|
||||||
ListServersReq {
|
ListServersReq {
|
||||||
Limit int32 `form:"limit,optional"`
|
Limit int32 `form:"limit,optional"`
|
||||||
OffSet int32 `form:"offSet,optional"`
|
OffSet int32 `form:"offSet,optional"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
ListServersResp {
|
ListServersResp {
|
||||||
TotalNumber uint32 `json:"totalNumber" copier:"TotalNumber"`
|
TotalNumber uint32 `json:"totalNumber" copier:"TotalNumber"`
|
||||||
|
@ -111,7 +111,7 @@ type (
|
||||||
|
|
||||||
type (
|
type (
|
||||||
ListServersDetailedReq {
|
ListServersDetailedReq {
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
ListServersDetailedResp {
|
ListServersDetailedResp {
|
||||||
ServersDetailed []ServersDetailed `json:"servers" copier:"ServersDetailed"`
|
ServersDetailed []ServersDetailed `json:"servers" copier:"ServersDetailed"`
|
||||||
|
@ -137,7 +137,7 @@ type (
|
||||||
type(
|
type(
|
||||||
GetServersDetailedByIdReq{
|
GetServersDetailedByIdReq{
|
||||||
ServerId string `form:"server_id" copier:"ServerId"`
|
ServerId string `form:"server_id" copier:"ServerId"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
|
|
||||||
GetServersDetailedByIdResp{
|
GetServersDetailedByIdResp{
|
||||||
|
@ -222,7 +222,7 @@ type(
|
||||||
UpdateServerReq{
|
UpdateServerReq{
|
||||||
ServerId string `form:"server_id" copier:"ServerId"`
|
ServerId string `form:"server_id" copier:"ServerId"`
|
||||||
ServerUpdate ServerUpdate `json:"server_update" copier:"ServerUpdate"`
|
ServerUpdate ServerUpdate `json:"server_update" copier:"ServerUpdate"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
ServerUpdate{
|
ServerUpdate{
|
||||||
Server Server `json:"server" copier:"Server"`
|
Server Server `json:"server" copier:"Server"`
|
||||||
|
@ -239,7 +239,7 @@ type (
|
||||||
ServerId string `json:"server_id" copier:"ServerId"`
|
ServerId string `json:"server_id" copier:"ServerId"`
|
||||||
Action []map[string]string `json:"action,optional" copier:"Action"`
|
Action []map[string]string `json:"action,optional" copier:"Action"`
|
||||||
start_action string `json:"start_action" copier:"start_action"`
|
start_action string `json:"start_action" copier:"start_action"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
StartServerResp {
|
StartServerResp {
|
||||||
Msg string `json:"msg,omitempty"`
|
Msg string `json:"msg,omitempty"`
|
||||||
|
@ -253,19 +253,20 @@ type(
|
||||||
ServerId string `json:"server_id" copier:"ServerId"`
|
ServerId string `json:"server_id" copier:"ServerId"`
|
||||||
Action []map[string]string `json:"action,optional" copier:"Action"`
|
Action []map[string]string `json:"action,optional" copier:"Action"`
|
||||||
stop_action string `json:"stop_action" copier:"stop_action"`
|
stop_action string `json:"stop_action" copier:"stop_action"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
StopServerResp {
|
StopServerResp {
|
||||||
Msg string `json:"msg,omitempty"`
|
Msg string `json:"msg,omitempty"`
|
||||||
ErrorMsg string `json:"errorMsg,omitempty"`
|
ErrorMsg string `json:"errorMsg,omitempty"`
|
||||||
Code int32 `json:"code,omitempty"` }
|
Code int32 `json:"code,omitempty"`
|
||||||
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
type(
|
type(
|
||||||
RebootServerReq{
|
RebootServerReq{
|
||||||
ServerId string `json:"server_id" copier:"ServerId"`
|
ServerId string `json:"server_id" copier:"ServerId"`
|
||||||
Reboot Reboot `json:"reboot" copier:"Reboot"`
|
Reboot Reboot `json:"reboot" copier:"Reboot"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
RebootServerResp {
|
RebootServerResp {
|
||||||
Msg string `json:"msg,omitempty"`
|
Msg string `json:"msg,omitempty"`
|
||||||
|
@ -281,7 +282,7 @@ type(
|
||||||
ServerId string `json:"server_id" copier:"ServerId"`
|
ServerId string `json:"server_id" copier:"ServerId"`
|
||||||
Action []map[string]string `json:"Action,optional" copier:"Action"`
|
Action []map[string]string `json:"Action,optional" copier:"Action"`
|
||||||
pause_action string `json:"pause_action" copier:"pause_action"`
|
pause_action string `json:"pause_action" copier:"pause_action"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
PauseServerResp {
|
PauseServerResp {
|
||||||
Msg string `json:"msg,omitempty"`
|
Msg string `json:"msg,omitempty"`
|
||||||
|
@ -295,7 +296,7 @@ type(
|
||||||
ServerId string `json:"server_id" copier:"ServerId"`
|
ServerId string `json:"server_id" copier:"ServerId"`
|
||||||
Action []map[string]string `json:"Action,optional" copier:"Action"`
|
Action []map[string]string `json:"Action,optional" copier:"Action"`
|
||||||
unpause_action string `json:"unpause_action" copier:"unpause_action"`
|
unpause_action string `json:"unpause_action" copier:"unpause_action"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
UnpauseServerResp {
|
UnpauseServerResp {
|
||||||
Msg string `json:"msg,omitempty"`
|
Msg string `json:"msg,omitempty"`
|
||||||
|
@ -307,7 +308,7 @@ type(
|
||||||
type (
|
type (
|
||||||
DeleteServerReq {
|
DeleteServerReq {
|
||||||
ServerId string `form:"server_id" copier:"ServerId"`
|
ServerId string `form:"server_id" copier:"ServerId"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
|
|
||||||
DeleteServerResp {
|
DeleteServerResp {
|
||||||
|
@ -320,7 +321,7 @@ type (
|
||||||
type (
|
type (
|
||||||
CreateServerReq {
|
CreateServerReq {
|
||||||
Server Server `json:"server" copier:"Server"`
|
Server Server `json:"server" copier:"Server"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
CreateServerResp {
|
CreateServerResp {
|
||||||
Server ServerResp `json:"server" copier:"Server"`
|
Server ServerResp `json:"server" copier:"Server"`
|
||||||
|
@ -361,7 +362,7 @@ type (
|
||||||
type(
|
type(
|
||||||
RebuildServerReq{
|
RebuildServerReq{
|
||||||
ServerId string `json:"server_id" copier:"ServerId"`
|
ServerId string `json:"server_id" copier:"ServerId"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
Rebuild Rebuild `json:"rebuild" copier:"Rebuild"`
|
Rebuild Rebuild `json:"rebuild" copier:"Rebuild"`
|
||||||
}
|
}
|
||||||
RebuildServerResp {
|
RebuildServerResp {
|
||||||
|
@ -435,7 +436,7 @@ type(
|
||||||
ServerId string `json:"server_id" copier:"ServerId"`
|
ServerId string `json:"server_id" copier:"ServerId"`
|
||||||
Action []map[string]string `json:"Action,optional" copier:"Action"`
|
Action []map[string]string `json:"Action,optional" copier:"Action"`
|
||||||
shelve_action string `json:"shelve_action" copier:"shelve_action"`
|
shelve_action string `json:"shelve_action" copier:"shelve_action"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
ShelveServerResp {
|
ShelveServerResp {
|
||||||
Msg string `json:"msg,omitempty"`
|
Msg string `json:"msg,omitempty"`
|
||||||
|
@ -447,7 +448,7 @@ type(
|
||||||
type(
|
type(
|
||||||
RescueServerReq{
|
RescueServerReq{
|
||||||
ServerId string `json:"server_id" copier:"ServerId"`
|
ServerId string `json:"server_id" copier:"ServerId"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
Rescue Rescue `json:"rescue" copier:"Rescue"`
|
Rescue Rescue `json:"rescue" copier:"Rescue"`
|
||||||
}
|
}
|
||||||
RescueServerResp {
|
RescueServerResp {
|
||||||
|
@ -465,7 +466,7 @@ type(
|
||||||
UnRescueServerReq{
|
UnRescueServerReq{
|
||||||
ServerId string `json:"server_id" copier:"ServerId"`
|
ServerId string `json:"server_id" copier:"ServerId"`
|
||||||
Action []map[string]string `json:"Action,optional" copier:"Action"`
|
Action []map[string]string `json:"Action,optional" copier:"Action"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
UnRescue_action string `json:"UnRescue_action" copier:"UnRescue_action"`
|
UnRescue_action string `json:"UnRescue_action" copier:"UnRescue_action"`
|
||||||
Rescue Rescue `json:"rescue" copier:"Rescue"`
|
Rescue Rescue `json:"rescue" copier:"Rescue"`
|
||||||
}
|
}
|
||||||
|
@ -480,7 +481,7 @@ type(
|
||||||
ChangeAdministrativePasswordReq{
|
ChangeAdministrativePasswordReq{
|
||||||
ServerId string `json:"server_id" copier:"ServerId"`
|
ServerId string `json:"server_id" copier:"ServerId"`
|
||||||
Changepassword string `json:"changePassword" copier:"Changepassword"`
|
Changepassword string `json:"changePassword" copier:"Changepassword"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
ChangePassword ChangePassword `json:"changepassword" copier:"ChangePassword"`
|
ChangePassword ChangePassword `json:"changepassword" copier:"ChangePassword"`
|
||||||
}
|
}
|
||||||
ChangeAdministrativePasswordResp {
|
ChangeAdministrativePasswordResp {
|
||||||
|
@ -497,7 +498,7 @@ type(
|
||||||
SuspendServerReq{
|
SuspendServerReq{
|
||||||
ServerId string `json:"server_id" copier:"ServerId"`
|
ServerId string `json:"server_id" copier:"ServerId"`
|
||||||
Action []map[string]string `json:"Action,optional" copier:"Action"`
|
Action []map[string]string `json:"Action,optional" copier:"Action"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
UnRescue_action string `json:"UnRescue_action" copier:"UnRescue_action"`
|
UnRescue_action string `json:"UnRescue_action" copier:"UnRescue_action"`
|
||||||
Rescue Rescue `json:"rescue" copier:"Rescue"`
|
Rescue Rescue `json:"rescue" copier:"Rescue"`
|
||||||
}
|
}
|
||||||
|
@ -512,7 +513,7 @@ type(
|
||||||
AddSecurityGroupToServerReq{
|
AddSecurityGroupToServerReq{
|
||||||
ServerId string `json:"server_id" copier:"ServerId"`
|
ServerId string `json:"server_id" copier:"ServerId"`
|
||||||
Action []map[string]string `json:"Action,optional" copier:"Action"`
|
Action []map[string]string `json:"Action,optional" copier:"Action"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
UnRescue_action string `json:"UnRescue_action" copier:"UnRescue_action"`
|
UnRescue_action string `json:"UnRescue_action" copier:"UnRescue_action"`
|
||||||
AddSecurityGroup AddSecurityGroup `json:"addSecurityGroup" copier:"AddSecurityGroup"`
|
AddSecurityGroup AddSecurityGroup `json:"addSecurityGroup" copier:"AddSecurityGroup"`
|
||||||
}
|
}
|
||||||
|
@ -529,7 +530,7 @@ type(
|
||||||
type(
|
type(
|
||||||
removeSecurityGroupReq{
|
removeSecurityGroupReq{
|
||||||
ServerId string `json:"server_id" copier:"ServerId"`
|
ServerId string `json:"server_id" copier:"ServerId"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
RemoveSecurityGroup RemoveSecurityGroup `json:"removeSecurityGroup" copier:"RemoveSecurityGroup"`
|
RemoveSecurityGroup RemoveSecurityGroup `json:"removeSecurityGroup" copier:"RemoveSecurityGroup"`
|
||||||
}
|
}
|
||||||
removeSecurityGroupResp {
|
removeSecurityGroupResp {
|
||||||
|
@ -565,7 +566,7 @@ type(
|
||||||
|
|
||||||
type(
|
type(
|
||||||
DeleteFlavorReq{
|
DeleteFlavorReq{
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
ServerId string `json:"server_id" copier:"ServerId"`
|
ServerId string `json:"server_id" copier:"ServerId"`
|
||||||
FlavorId string `json:"flavor_id" copier:"FlavorId"`
|
FlavorId string `json:"flavor_id" copier:"FlavorId"`
|
||||||
}
|
}
|
||||||
|
@ -581,8 +582,7 @@ type(
|
||||||
/******************find images end*************************/
|
/******************find images end*************************/
|
||||||
type (
|
type (
|
||||||
ListImagesReq {
|
ListImagesReq {
|
||||||
Limit int32 `form:"limit,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
Platform string `json:"platform,optional"`
|
|
||||||
}
|
}
|
||||||
ListImagesResp {
|
ListImagesResp {
|
||||||
First string `json:"first" copier:"First"`
|
First string `json:"first" copier:"First"`
|
||||||
|
@ -651,7 +651,7 @@ type (
|
||||||
type (
|
type (
|
||||||
UploadOsImageReq {
|
UploadOsImageReq {
|
||||||
ImageId string `form:"image_id" copier:"ImageId"`
|
ImageId string `form:"image_id" copier:"ImageId"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
UploadOsImageResp {
|
UploadOsImageResp {
|
||||||
Code int32 `json:"code,omitempty" copier:"Code"`
|
Code int32 `json:"code,omitempty" copier:"Code"`
|
||||||
|
@ -663,7 +663,7 @@ type (
|
||||||
type (
|
type (
|
||||||
DeleteImageReq {
|
DeleteImageReq {
|
||||||
ImageId string `form:"image_id" copier:"ImageId"`
|
ImageId string `form:"image_id" copier:"ImageId"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
DeleteImageResp {
|
DeleteImageResp {
|
||||||
Code int32 `json:"code,omitempty"`
|
Code int32 `json:"code,omitempty"`
|
||||||
|
@ -695,7 +695,7 @@ type (
|
||||||
|
|
||||||
type (
|
type (
|
||||||
ListNetworksReq {
|
ListNetworksReq {
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
ListNetworksResp {
|
ListNetworksResp {
|
||||||
Networks []Network `json:"networks" copier:"Networks"`
|
Networks []Network `json:"networks" copier:"Networks"`
|
||||||
|
@ -734,7 +734,7 @@ type (
|
||||||
type (
|
type (
|
||||||
DeleteNetworkReq {
|
DeleteNetworkReq {
|
||||||
NetworkId string `form:"network_id" copier:"NetworkId"`
|
NetworkId string `form:"network_id" copier:"NetworkId"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
DeleteNetworkResp {
|
DeleteNetworkResp {
|
||||||
Code int32 `json:"code,omitempty" copier:"Code"`
|
Code int32 `json:"code,omitempty" copier:"Code"`
|
||||||
|
@ -745,7 +745,7 @@ type (
|
||||||
type (
|
type (
|
||||||
CreateNetworkReq {
|
CreateNetworkReq {
|
||||||
Network CreateNetwork `json:"network" copier:"Network"`
|
Network CreateNetwork `json:"network" copier:"Network"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
CreateNetworkResp {
|
CreateNetworkResp {
|
||||||
Network Network `json:"network" copier:"Network"`
|
Network Network `json:"network" copier:"Network"`
|
||||||
|
@ -763,7 +763,7 @@ type (
|
||||||
type (
|
type (
|
||||||
CreateSubnetReq {
|
CreateSubnetReq {
|
||||||
Subnet Subnet `json:"subnet" copier:"Subnet"`
|
Subnet Subnet `json:"subnet" copier:"Subnet"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
CreateSubnetResp {
|
CreateSubnetResp {
|
||||||
Subnet SubnetResp `json:"subnet" copier:"Subnet"`
|
Subnet SubnetResp `json:"subnet" copier:"Subnet"`
|
||||||
|
@ -816,7 +816,7 @@ type (
|
||||||
type(
|
type(
|
||||||
ShowNetworkDetailsReq{
|
ShowNetworkDetailsReq{
|
||||||
NetworkId string `form:"network_id" copier:"NetworkId"`
|
NetworkId string `form:"network_id" copier:"NetworkId"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
ShowNetworkDetailsResp{
|
ShowNetworkDetailsResp{
|
||||||
Network Networkdetail `json:"network" copier:"Network"`
|
Network Networkdetail `json:"network" copier:"Network"`
|
||||||
|
@ -855,7 +855,7 @@ type(
|
||||||
UpdateNetworkReq {
|
UpdateNetworkReq {
|
||||||
NetworkId string `form:"network_id" copier:"NetworkId"`
|
NetworkId string `form:"network_id" copier:"NetworkId"`
|
||||||
Network Network `json:"network" copier:"Network"`
|
Network Network `json:"network" copier:"Network"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
UpdateNetworkResp {
|
UpdateNetworkResp {
|
||||||
Network Network `json:"network" copier:"Network"`
|
Network Network `json:"network" copier:"Network"`
|
||||||
|
@ -882,7 +882,7 @@ type(
|
||||||
ListSubnetsReq {
|
ListSubnetsReq {
|
||||||
Limit int32 `json:"limit,optional"`
|
Limit int32 `json:"limit,optional"`
|
||||||
OffSet int32 `json:"offSet,optional"`
|
OffSet int32 `json:"offSet,optional"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
ListSubnetsResp {
|
ListSubnetsResp {
|
||||||
Subnets []Subnets `json:"subnets" copier:"Subnets"`
|
Subnets []Subnets `json:"subnets" copier:"Subnets"`
|
||||||
|
@ -923,7 +923,7 @@ type(
|
||||||
type(
|
type(
|
||||||
DeleteSubnetReq{
|
DeleteSubnetReq{
|
||||||
subnetId string `json:"subnet_id,optional" copier:"subnetId"`
|
subnetId string `json:"subnet_id,optional" copier:"subnetId"`
|
||||||
Platform string `json:"platform,optional" copier:"Platform"`
|
Platform string `form:"platform,optional" copier:"Platform"`
|
||||||
}
|
}
|
||||||
DeleteSubnetResp{
|
DeleteSubnetResp{
|
||||||
Code int32 `json:"code,omitempty" copier:"Code"`
|
Code int32 `json:"code,omitempty" copier:"Code"`
|
||||||
|
@ -935,7 +935,7 @@ type(
|
||||||
type(
|
type(
|
||||||
UpdateSubnetReq{
|
UpdateSubnetReq{
|
||||||
subnetId string `json:"subnet_id,optional" copier:"subnetId"`
|
subnetId string `json:"subnet_id,optional" copier:"subnetId"`
|
||||||
Platform string `json:"platform,optional" copier:"Platform"`
|
Platform string `form:"platform,optional" copier:"Platform"`
|
||||||
}
|
}
|
||||||
UpdateSubnetResp{
|
UpdateSubnetResp{
|
||||||
Code int32 `json:"code,omitempty" copier:"Code"`
|
Code int32 `json:"code,omitempty" copier:"Code"`
|
||||||
|
@ -980,7 +980,7 @@ type (
|
||||||
ListNetworkSegmentRangesReq{
|
ListNetworkSegmentRangesReq{
|
||||||
Limit int32 `json:"limit,optional"`
|
Limit int32 `json:"limit,optional"`
|
||||||
OffSet int32 `json:"offSet,optional"`
|
OffSet int32 `json:"offSet,optional"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
|
|
||||||
ListNetworkSegmentRangesResp{
|
ListNetworkSegmentRangesResp{
|
||||||
|
@ -1012,7 +1012,7 @@ type (
|
||||||
type(
|
type(
|
||||||
DeleteNetworkSegmentRangesReq{
|
DeleteNetworkSegmentRangesReq{
|
||||||
network_segment_range_id string `json:"network_segment_range_id,optional" copier:"network_segment_range_id"`
|
network_segment_range_id string `json:"network_segment_range_id,optional" copier:"network_segment_range_id"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
DeleteNetworkSegmentRangesResp{
|
DeleteNetworkSegmentRangesResp{
|
||||||
Code int32 `json:"code,omitempty" copier:"Code"`
|
Code int32 `json:"code,omitempty" copier:"Code"`
|
||||||
|
@ -1025,7 +1025,7 @@ type(
|
||||||
UpdateNetworkSegmentRangesReq{
|
UpdateNetworkSegmentRangesReq{
|
||||||
network_segment_range_id string `json:"network_segment_range_id,optional" copier:"network_segment_range_id"`
|
network_segment_range_id string `json:"network_segment_range_id,optional" copier:"network_segment_range_id"`
|
||||||
NetworkSegmentRange Network_segment_range `json:"network_segment_range,optional" copier:"NetworkSegmentRange"`
|
NetworkSegmentRange Network_segment_range `json:"network_segment_range,optional" copier:"NetworkSegmentRange"`
|
||||||
Platform string `json:"platform,optional" copier:"Platform"`
|
Platform string `form:"platform,optional" copier:"Platform"`
|
||||||
}
|
}
|
||||||
UpdateNetworkSegmentRangesResp{
|
UpdateNetworkSegmentRangesResp{
|
||||||
NetworkSegmentRange Network_segment_range `json:"network_segment_range,optional" copier:"NetworkSegmentRange"`
|
NetworkSegmentRange Network_segment_range `json:"network_segment_range,optional" copier:"NetworkSegmentRange"`
|
||||||
|
@ -1099,7 +1099,7 @@ type (
|
||||||
ListPortsReq{
|
ListPortsReq{
|
||||||
Limit int32 `json:"limit,optional"`
|
Limit int32 `json:"limit,optional"`
|
||||||
OffSet int32 `json:"offSet,optional"`
|
OffSet int32 `json:"offSet,optional"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
ListPortsResp{
|
ListPortsResp{
|
||||||
ports []PortLists `json:"ports,optional" copier:"ports"`
|
ports []PortLists `json:"ports,optional" copier:"ports"`
|
||||||
|
@ -1155,7 +1155,7 @@ type (
|
||||||
type(
|
type(
|
||||||
DeletePortReq{
|
DeletePortReq{
|
||||||
port_id string `json:"port_id,optional" copier:"port_id"`
|
port_id string `json:"port_id,optional" copier:"port_id"`
|
||||||
platform string `json:"platform,optional" copier:"platform"`
|
platform string `form:"platform,optional" copier:"platform"`
|
||||||
}
|
}
|
||||||
DeletePortResp{
|
DeletePortResp{
|
||||||
Code int32 `json:"code,omitempty" copier:"Code"`
|
Code int32 `json:"code,omitempty" copier:"Code"`
|
||||||
|
@ -1168,7 +1168,7 @@ type(
|
||||||
UpdatePortReq{
|
UpdatePortReq{
|
||||||
port_id string `json:"port_id,optional" copier:"port_id"`
|
port_id string `json:"port_id,optional" copier:"port_id"`
|
||||||
port Port `json:"port,optional" copier:"port"`
|
port Port `json:"port,optional" copier:"port"`
|
||||||
platform string `json:"platform,optional" copier:"platform"`
|
platform string `form:"platform,optional" copier:"platform"`
|
||||||
}
|
}
|
||||||
UpdatePortResp{
|
UpdatePortResp{
|
||||||
port Port `json:"port,optional" copier:"port"`
|
port Port `json:"port,optional" copier:"port"`
|
||||||
|
@ -1182,7 +1182,7 @@ type(
|
||||||
ShowPortDetailsReq{
|
ShowPortDetailsReq{
|
||||||
port_id string `json:"port_id,optional" copier:"port_id"`
|
port_id string `json:"port_id,optional" copier:"port_id"`
|
||||||
fields string `json:"fields,optional" copier:"fields"`
|
fields string `json:"fields,optional" copier:"fields"`
|
||||||
platform string `json:"platform,optional" copier:"platform"`
|
platform string `form:"platform,optional" copier:"platform"`
|
||||||
}
|
}
|
||||||
ShowPortDetailsResp{
|
ShowPortDetailsResp{
|
||||||
port Port `json:"port,optional" copier:"port"`
|
port Port `json:"port,optional" copier:"port"`
|
||||||
|
@ -1197,7 +1197,7 @@ type(
|
||||||
ListRoutersReq{
|
ListRoutersReq{
|
||||||
Limit int32 `json:"limit,optional"`
|
Limit int32 `json:"limit,optional"`
|
||||||
OffSet int32 `json:"offSet,optional"`
|
OffSet int32 `json:"offSet,optional"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
ListRoutersResp{
|
ListRoutersResp{
|
||||||
routers []Routers `json:"routers,optional" copier:"routers"`
|
routers []Routers `json:"routers,optional" copier:"routers"`
|
||||||
|
@ -1288,7 +1288,7 @@ type(
|
||||||
type(
|
type(
|
||||||
UpdateRouterReq{
|
UpdateRouterReq{
|
||||||
router Router `json:"router,optional" copier:"router"`
|
router Router `json:"router,optional" copier:"router"`
|
||||||
Platform string `json:"platform,optional" copier:"Platform"`
|
Platform string `form:"platform,optional" copier:"Platform"`
|
||||||
|
|
||||||
}
|
}
|
||||||
UpdateRouterResp{
|
UpdateRouterResp{
|
||||||
|
@ -1302,7 +1302,7 @@ type(
|
||||||
type(
|
type(
|
||||||
ShowRouterDetailsReq{
|
ShowRouterDetailsReq{
|
||||||
router Router `json:"router,optional" copier:"router"`
|
router Router `json:"router,optional" copier:"router"`
|
||||||
Platform string `json:"platform,optional" copier:"Platform"`
|
Platform string `form:"platform,optional" copier:"Platform"`
|
||||||
|
|
||||||
}
|
}
|
||||||
ShowRouterDetailsResp{
|
ShowRouterDetailsResp{
|
||||||
|
@ -1315,7 +1315,7 @@ type(
|
||||||
|
|
||||||
type(
|
type(
|
||||||
DeleteRouterReq{
|
DeleteRouterReq{
|
||||||
Platform string `json:"platform,optional" copier:"Platform"`
|
Platform string `form:"platform,optional" copier:"Platform"`
|
||||||
router_id string `json:"router_id,optional" copier:"router_id"`
|
router_id string `json:"router_id,optional" copier:"router_id"`
|
||||||
}
|
}
|
||||||
DeleteRouterResp{
|
DeleteRouterResp{
|
||||||
|
@ -1328,7 +1328,7 @@ type(
|
||||||
//浮动IPs
|
//浮动IPs
|
||||||
type(
|
type(
|
||||||
ListFloatingIPsReq{
|
ListFloatingIPsReq{
|
||||||
Platform string `json:"platform,optional" copier:"Platform"`
|
Platform string `form:"platform,optional" copier:"Platform"`
|
||||||
Limit int32 `json:"limit,optional" copier:"Limit"`
|
Limit int32 `json:"limit,optional" copier:"Limit"`
|
||||||
OffSet int32 `json:"offSet,optional" copier:"OffSet"`
|
OffSet int32 `json:"offSet,optional" copier:"OffSet"`
|
||||||
}
|
}
|
||||||
|
@ -1413,7 +1413,7 @@ type(
|
||||||
|
|
||||||
type (
|
type (
|
||||||
UpdateFloatingIPReq{
|
UpdateFloatingIPReq{
|
||||||
Platform string `json:"platform,optional" copier:"Platform"`
|
Platform string `form:"platform,optional" copier:"Platform"`
|
||||||
floatingip_id string `json:"floatingip_id,optional" copier:"floatingip_id"`
|
floatingip_id string `json:"floatingip_id,optional" copier:"floatingip_id"`
|
||||||
floatingip Floatingip `json:"floatingip,optional" copier:"floatingip"`
|
floatingip Floatingip `json:"floatingip,optional" copier:"floatingip"`
|
||||||
}
|
}
|
||||||
|
@ -1427,7 +1427,7 @@ type (
|
||||||
|
|
||||||
type (
|
type (
|
||||||
DeleteFloatingIPReq{
|
DeleteFloatingIPReq{
|
||||||
Platform string `json:"platform,optional" copier:"Platform"`
|
Platform string `form:"platform,optional" copier:"Platform"`
|
||||||
floatingip_id string `json:"floatingip_id,optional" copier:"floatingip_id"`
|
floatingip_id string `json:"floatingip_id,optional" copier:"floatingip_id"`
|
||||||
}
|
}
|
||||||
DeleteFloatingIPResp{
|
DeleteFloatingIPResp{
|
||||||
|
@ -1453,7 +1453,7 @@ type (
|
||||||
//firewall
|
//firewall
|
||||||
type (
|
type (
|
||||||
ListFirewallGroupsReq{
|
ListFirewallGroupsReq{
|
||||||
Platform string `json:"platform,optional" copier:"Platform"`
|
Platform string `form:"platform,optional" copier:"Platform"`
|
||||||
fields string `json:"fields,optional" copier:"fields"`
|
fields string `json:"fields,optional" copier:"fields"`
|
||||||
}
|
}
|
||||||
ListFirewallGroupsResp{
|
ListFirewallGroupsResp{
|
||||||
|
@ -1480,7 +1480,7 @@ type (
|
||||||
type(
|
type(
|
||||||
DeleteFirewallGroupReq {
|
DeleteFirewallGroupReq {
|
||||||
firewall_group_id string `json:"firewall_group_id,optional" copier:"firewall_group_id"`
|
firewall_group_id string `json:"firewall_group_id,optional" copier:"firewall_group_id"`
|
||||||
Platform string `json:"platform,optional" copier:"Platform"`
|
Platform string `form:"platform,optional" copier:"Platform"`
|
||||||
}
|
}
|
||||||
DeleteFirewallGroupResp {
|
DeleteFirewallGroupResp {
|
||||||
Code int32 `json:"code,omitempty" copier:"Code"`
|
Code int32 `json:"code,omitempty" copier:"Code"`
|
||||||
|
@ -1518,7 +1518,7 @@ type(
|
||||||
type (
|
type (
|
||||||
UpdateFirewallGroupReq{
|
UpdateFirewallGroupReq{
|
||||||
firewall_group Firewall_group `json:"firewall_group,optional" copier:"firewall_group"`
|
firewall_group Firewall_group `json:"firewall_group,optional" copier:"firewall_group"`
|
||||||
Platform string `json:"platform,optional" copier:"Platform"`
|
Platform string `form:"platform,optional" copier:"Platform"`
|
||||||
firewall_group_id string `json:"firewall_group_id,optional" copier:"firewall_group_id"`
|
firewall_group_id string `json:"firewall_group_id,optional" copier:"firewall_group_id"`
|
||||||
}
|
}
|
||||||
UpdateFirewallGroupResp{
|
UpdateFirewallGroupResp{
|
||||||
|
@ -1531,7 +1531,7 @@ type (
|
||||||
|
|
||||||
type (
|
type (
|
||||||
ShowFirewallGroupDetailsReq{
|
ShowFirewallGroupDetailsReq{
|
||||||
Platform string `json:"platform,optional" copier:"Platform"`
|
Platform string `form:"platform,optional" copier:"Platform"`
|
||||||
firewall_group_id string `json:"firewall_group_id,optional" copier:"firewall_group_id"`
|
firewall_group_id string `json:"firewall_group_id,optional" copier:"firewall_group_id"`
|
||||||
}
|
}
|
||||||
ShowFirewallGroupDetailsResp{
|
ShowFirewallGroupDetailsResp{
|
||||||
|
@ -1567,7 +1567,7 @@ type(
|
||||||
|
|
||||||
type(
|
type(
|
||||||
DeleteFirewallPolicyReq{
|
DeleteFirewallPolicyReq{
|
||||||
Platform string `json:"platform,optional" copier:"Platform"`
|
Platform string `form:"platform,optional" copier:"Platform"`
|
||||||
firewall_policy_id string `json:"firewall_policy_id,optional" copier:"firewall_policy_id"`
|
firewall_policy_id string `json:"firewall_policy_id,optional" copier:"firewall_policy_id"`
|
||||||
}
|
}
|
||||||
DeleteFirewallPolicyResp{
|
DeleteFirewallPolicyResp{
|
||||||
|
@ -1579,7 +1579,7 @@ type(
|
||||||
|
|
||||||
type(
|
type(
|
||||||
ListFirewallPoliciesReq{
|
ListFirewallPoliciesReq{
|
||||||
Platform string `json:"platform,optional" copier:"Platform"`
|
Platform string `form:"platform,optional" copier:"Platform"`
|
||||||
fields string `json:"fields,optional" copier:"fields"`
|
fields string `json:"fields,optional" copier:"fields"`
|
||||||
}
|
}
|
||||||
ListFirewallPoliciesResp{
|
ListFirewallPoliciesResp{
|
||||||
|
@ -1647,7 +1647,7 @@ type(
|
||||||
|
|
||||||
type (
|
type (
|
||||||
DeleteFirewallRuleReq{
|
DeleteFirewallRuleReq{
|
||||||
Platform string `json:"platform,optional" copier:"Platform"`
|
Platform string `form:"platform,optional" copier:"Platform"`
|
||||||
firewall_rule_id string `json:"firewall_rule_id,optional" copier:"firewall_rule_id"`
|
firewall_rule_id string `json:"firewall_rule_id,optional" copier:"firewall_rule_id"`
|
||||||
}
|
}
|
||||||
DeleteFirewallRuleResp{
|
DeleteFirewallRuleResp{
|
||||||
|
@ -1659,7 +1659,7 @@ type (
|
||||||
|
|
||||||
type (
|
type (
|
||||||
ListFirewallRulesReq{
|
ListFirewallRulesReq{
|
||||||
Platform string `json:"platform,optional" copier:"Platform"`
|
Platform string `form:"platform,optional" copier:"Platform"`
|
||||||
fields string `json:"fields,optional" copier:"fields"`
|
fields string `json:"fields,optional" copier:"fields"`
|
||||||
}
|
}
|
||||||
ListFirewallRulesResp{
|
ListFirewallRulesResp{
|
||||||
|
@ -1690,7 +1690,7 @@ type (
|
||||||
|
|
||||||
type (
|
type (
|
||||||
ShowFirewallRuleDetailsReq{
|
ShowFirewallRuleDetailsReq{
|
||||||
Platform string `json:"platform,optional" copier:"Platform"`
|
Platform string `form:"platform,optional" copier:"Platform"`
|
||||||
firewall_rule_id string `json:"firewall_rule_id,optional" copier:"firewall_rule_id"`
|
firewall_rule_id string `json:"firewall_rule_id,optional" copier:"firewall_rule_id"`
|
||||||
}
|
}
|
||||||
ShowFirewallRuleDetailsResp{
|
ShowFirewallRuleDetailsResp{
|
||||||
|
@ -1704,7 +1704,7 @@ type (
|
||||||
//Security Group
|
//Security Group
|
||||||
type (
|
type (
|
||||||
ListSecurityGroupsReq{
|
ListSecurityGroupsReq{
|
||||||
Platform string `json:"platform,optional" copier:"Platform"`
|
Platform string `form:"platform,optional" copier:"Platform"`
|
||||||
fields string `json:"firewall_rule_id,optional" copier:"firewall_rule_id"`
|
fields string `json:"firewall_rule_id,optional" copier:"firewall_rule_id"`
|
||||||
}
|
}
|
||||||
ListSecurityGroupsResp{
|
ListSecurityGroupsResp{
|
||||||
|
@ -1730,7 +1730,7 @@ type (
|
||||||
|
|
||||||
type (
|
type (
|
||||||
CreateSecurityGroupReq{
|
CreateSecurityGroupReq{
|
||||||
Platform string `json:"platform,optional" copier:"Platform"`
|
Platform string `form:"platform,optional" copier:"Platform"`
|
||||||
firewall_rule_id string `json:"firewall_rule_id,optional" copier:"firewall_rule_id"`
|
firewall_rule_id string `json:"firewall_rule_id,optional" copier:"firewall_rule_id"`
|
||||||
}
|
}
|
||||||
CreateSecurityGroupResp{
|
CreateSecurityGroupResp{
|
||||||
|
@ -1776,7 +1776,7 @@ type (
|
||||||
|
|
||||||
type(
|
type(
|
||||||
DeleteSecurityGroupReq{
|
DeleteSecurityGroupReq{
|
||||||
Platform string `json:"platform,optional" copier:"Platform"`
|
Platform string `form:"platform,optional" copier:"Platform"`
|
||||||
security_group_id string `json:"security_group_id,optional" copier:"security_group_id"`
|
security_group_id string `json:"security_group_id,optional" copier:"security_group_id"`
|
||||||
}
|
}
|
||||||
DeleteSecurityGroupResp{
|
DeleteSecurityGroupResp{
|
||||||
|
@ -1788,7 +1788,7 @@ type(
|
||||||
|
|
||||||
type(
|
type(
|
||||||
UpdateSecurityGroupReq{
|
UpdateSecurityGroupReq{
|
||||||
Platform string `json:"platform,optional" copier:"Platform"`
|
Platform string `form:"platform,optional" copier:"Platform"`
|
||||||
security_group_id string `json:"security_group_id,optional" copier:"security_group_id"`
|
security_group_id string `json:"security_group_id,optional" copier:"security_group_id"`
|
||||||
}
|
}
|
||||||
UpdateSecurityGroupResp{
|
UpdateSecurityGroupResp{
|
||||||
|
@ -1802,7 +1802,7 @@ type(
|
||||||
|
|
||||||
type(
|
type(
|
||||||
ShowSecurityGroupReq{
|
ShowSecurityGroupReq{
|
||||||
Platform string `json:"platform,optional" copier:"Platform"`
|
Platform string `form:"platform,optional" copier:"Platform"`
|
||||||
security_group_id string `json:"security_group_id,optional" copier:"security_group_id"`
|
security_group_id string `json:"security_group_id,optional" copier:"security_group_id"`
|
||||||
fields string `json:"fields,optional" copier:"fields"`
|
fields string `json:"fields,optional" copier:"fields"`
|
||||||
verbose string `json:"verbose,optional" copier:"verbose"`
|
verbose string `json:"verbose,optional" copier:"verbose"`
|
||||||
|
@ -1818,7 +1818,7 @@ type(
|
||||||
//SecurityGroupRules
|
//SecurityGroupRules
|
||||||
type(
|
type(
|
||||||
ListSecurityGroupRulesReq{
|
ListSecurityGroupRulesReq{
|
||||||
Platform string `json:"platform,optional" copier:"Platform"`
|
Platform string `form:"platform,optional" copier:"Platform"`
|
||||||
}
|
}
|
||||||
ListSecurityGroupRulesResp{
|
ListSecurityGroupRulesResp{
|
||||||
Code int32 `json:"code,omitempty" copier:"Code"`
|
Code int32 `json:"code,omitempty" copier:"Code"`
|
||||||
|
@ -1861,7 +1861,7 @@ type(
|
||||||
|
|
||||||
type(
|
type(
|
||||||
ShowSecurityGroupRuleReq{
|
ShowSecurityGroupRuleReq{
|
||||||
Platform string `json:"platform,optional" copier:"Platform"`
|
Platform string `form:"platform,optional" copier:"Platform"`
|
||||||
security_group_rule_id string `json:"security_group_rule_id,optional" copier:"security_group_rule_id"`
|
security_group_rule_id string `json:"security_group_rule_id,optional" copier:"security_group_rule_id"`
|
||||||
}
|
}
|
||||||
ShowSecurityGroupRuleResp{
|
ShowSecurityGroupRuleResp{
|
||||||
|
@ -1874,7 +1874,7 @@ type(
|
||||||
|
|
||||||
type(
|
type(
|
||||||
DeleteSecurityGroupRuleReq{
|
DeleteSecurityGroupRuleReq{
|
||||||
Platform string `json:"platform,optional" copier:"Platform"`
|
Platform string `form:"platform,optional" copier:"Platform"`
|
||||||
security_group_rule_id string `json:"security_group_rule_id,optional" copier:"security_group_rule_id"`
|
security_group_rule_id string `json:"security_group_rule_id,optional" copier:"security_group_rule_id"`
|
||||||
}
|
}
|
||||||
DeleteSecurityGroupRuleResp{
|
DeleteSecurityGroupRuleResp{
|
||||||
|
@ -1890,7 +1890,7 @@ type(
|
||||||
/******************find ListVolumesDetail start*************************/
|
/******************find ListVolumesDetail start*************************/
|
||||||
type (
|
type (
|
||||||
ListVolumesDetailReq {
|
ListVolumesDetailReq {
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
ListVolumesDetailResp {
|
ListVolumesDetailResp {
|
||||||
VolumeDetail []VolumeDetail `json:"volumes" copier:"VolumeDetail"`
|
VolumeDetail []VolumeDetail `json:"volumes" copier:"VolumeDetail"`
|
||||||
|
@ -1925,7 +1925,7 @@ type (
|
||||||
VolumeId string `form:"volume_id" copier:"VolumeId"`
|
VolumeId string `form:"volume_id" copier:"VolumeId"`
|
||||||
Cascade bool `json:"cascade" copier:"Cascade"`
|
Cascade bool `json:"cascade" copier:"Cascade"`
|
||||||
Force bool `json:"force" copier:"force"`
|
Force bool `json:"force" copier:"force"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
DeleteVolumeResp {
|
DeleteVolumeResp {
|
||||||
Code int32 `json:"code,omitempty" copier:"Code"`
|
Code int32 `json:"code,omitempty" copier:"Code"`
|
||||||
|
@ -1976,7 +1976,7 @@ type (
|
||||||
)
|
)
|
||||||
type (
|
type (
|
||||||
ListVolumeTypesReq {
|
ListVolumeTypesReq {
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
ListVolumeTypesResp {
|
ListVolumeTypesResp {
|
||||||
VolumeTypes []Volume_types `json:"volume_types" copier:"VolumeTypes"`
|
VolumeTypes []Volume_types `json:"volume_types" copier:"VolumeTypes"`
|
||||||
|
@ -2002,7 +2002,7 @@ type(
|
||||||
UpdateVolumeReq {
|
UpdateVolumeReq {
|
||||||
Volume Volume `json:"volume" copier:"Volume"`
|
Volume Volume `json:"volume" copier:"Volume"`
|
||||||
VolumeId string `json:"volume_id" copier:"VolumeId"`
|
VolumeId string `json:"volume_id" copier:"VolumeId"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
UpdateVolumeResp {
|
UpdateVolumeResp {
|
||||||
Volume Volume `json:"volume" copier:"Volume"`
|
Volume Volume `json:"volume" copier:"Volume"`
|
||||||
|
@ -2015,7 +2015,7 @@ type(
|
||||||
type(
|
type(
|
||||||
GetVolumeDetailedByIdReq {
|
GetVolumeDetailedByIdReq {
|
||||||
VolumeId string `form:"volume_id" copier:"VolumeId"`
|
VolumeId string `form:"volume_id" copier:"VolumeId"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
GetVolumeDetailedByIdResp {
|
GetVolumeDetailedByIdResp {
|
||||||
Volume VolumeDetailed `json:"volume" copier:"Volume"`
|
Volume VolumeDetailed `json:"volume" copier:"Volume"`
|
||||||
|
@ -2067,7 +2067,7 @@ type(
|
||||||
type(
|
type(
|
||||||
DeleteVolumeTypeReq {
|
DeleteVolumeTypeReq {
|
||||||
VolumeTypeId string `json:"volume_type_id" copier:"VolumeTypeId"`
|
VolumeTypeId string `json:"volume_type_id" copier:"VolumeTypeId"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
DeleteVolumeTypeResp {
|
DeleteVolumeTypeResp {
|
||||||
Code int32 `json:"code,omitempty" copier:"Code"`
|
Code int32 `json:"code,omitempty" copier:"Code"`
|
||||||
|
@ -2087,7 +2087,7 @@ type(
|
||||||
CreatedAt string `json:"created_at" copier:"CreatedAt"`
|
CreatedAt string `json:"created_at" copier:"CreatedAt"`
|
||||||
ConsumesQuota bool `json:"consumes_quota" copier:"ConsumesQuota"`
|
ConsumesQuota bool `json:"consumes_quota" copier:"ConsumesQuota"`
|
||||||
UpdatedAt string `json:"updated_at" copier:"UpdatedAt"`
|
UpdatedAt string `json:"updated_at" copier:"UpdatedAt"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
ListVolumesResp {
|
ListVolumesResp {
|
||||||
Volumes []VolumesList `json:"volumes" copier:"Volumes"`
|
Volumes []VolumesList `json:"volumes" copier:"Volumes"`
|
||||||
|
@ -2106,7 +2106,7 @@ type(
|
||||||
|
|
||||||
type (
|
type (
|
||||||
ListFlavorsDetailReq {
|
ListFlavorsDetailReq {
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
|
|
||||||
ListFlavorsDetailResp {
|
ListFlavorsDetailResp {
|
||||||
|
@ -2133,7 +2133,7 @@ type (
|
||||||
/******************Bare Metal start*************************/
|
/******************Bare Metal start*************************/
|
||||||
type(
|
type(
|
||||||
ListNodesReq {
|
ListNodesReq {
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
Limit int64 `json:"limit" copier:"Limit"`
|
Limit int64 `json:"limit" copier:"Limit"`
|
||||||
Marker string `json:"marker" copier:"Marker"`
|
Marker string `json:"marker" copier:"Marker"`
|
||||||
SortDir string `json:"sort_dir" copier:"SortDir"`
|
SortDir string `json:"sort_dir" copier:"SortDir"`
|
||||||
|
|
|
@ -5,7 +5,8 @@ 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: 10.206.0.12:6379
|
||||||
|
|
|
@ -134,16 +134,6 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
|
||||||
Path: "/core/metrics",
|
Path: "/core/metrics",
|
||||||
Handler: core.MetricsHandler(serverCtx),
|
Handler: core.MetricsHandler(serverCtx),
|
||||||
},
|
},
|
||||||
{
|
|
||||||
Method: http.MethodGet,
|
|
||||||
Path: "/core/pullTaskInfo",
|
|
||||||
Handler: core.PullTaskInfoHandler(serverCtx),
|
|
||||||
},
|
|
||||||
{
|
|
||||||
Method: http.MethodGet,
|
|
||||||
Path: "/core/pushTaskInfo",
|
|
||||||
Handler: core.PushTaskInfoHandler(serverCtx),
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
rest.WithPrefix("/pcm/v1"),
|
rest.WithPrefix("/pcm/v1"),
|
||||||
)
|
)
|
||||||
|
|
|
@ -8,6 +8,7 @@ import (
|
||||||
"gitlink.org.cn/JointCloud/pcm-coordinator/api/pkg/response"
|
"gitlink.org.cn/JointCloud/pcm-coordinator/api/pkg/response"
|
||||||
"gitlink.org.cn/JointCloud/pcm-coordinator/pkg/constants"
|
"gitlink.org.cn/JointCloud/pcm-coordinator/pkg/constants"
|
||||||
"gitlink.org.cn/JointCloud/pcm-coordinator/pkg/models"
|
"gitlink.org.cn/JointCloud/pcm-coordinator/pkg/models"
|
||||||
|
tool "gitlink.org.cn/JointCloud/pcm-coordinator/pkg/utils"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/zeromicro/go-zero/core/logx"
|
"github.com/zeromicro/go-zero/core/logx"
|
||||||
|
@ -41,14 +42,15 @@ func (l *CommitVmTaskLogic) CommitVmTask(req *types.CommitVmTaskReq) (resp *type
|
||||||
if tx.Error != nil {
|
if tx.Error != nil {
|
||||||
return nil, tx.Error
|
return nil, tx.Error
|
||||||
}
|
}
|
||||||
/* hpc := models.Hpc{}
|
vm := models.Vm{}
|
||||||
tool.Convert(req, &hpc)*/
|
tool.Convert(req, &vm)
|
||||||
mqInfo := response.TaskInfo{
|
mqInfo := response.TaskInfo{
|
||||||
TaskId: taskModel.Id,
|
TaskId: taskModel.Id,
|
||||||
TaskType: "vm",
|
TaskType: "vm",
|
||||||
MatchLabels: req.MatchLabels,
|
MatchLabels: req.MatchLabels,
|
||||||
NsID: req.NsID,
|
NsID: req.NsID,
|
||||||
}
|
}
|
||||||
|
//req.TaskId = taskModel.Id
|
||||||
mqs.InsQueue.Beta.Add(&mqInfo)
|
mqs.InsQueue.Beta.Add(&mqInfo)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,11 +3,9 @@ package vm
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/jinzhu/copier"
|
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
"gitlink.org.cn/JointCloud/pcm-coordinator/pkg/helper/xerr"
|
"gitlink.org.cn/JointCloud/pcm-coordinator/pkg/helper/xerr"
|
||||||
"gitlink.org.cn/JointCloud/pcm-coordinator/pkg/repository/result"
|
"gitlink.org.cn/JointCloud/pcm-coordinator/pkg/repository/result"
|
||||||
"gitlink.org.cn/JointCloud/pcm-coordinator/pkg/utils"
|
|
||||||
"gitlink.org.cn/JointCloud/pcm-openstack/openstack"
|
"gitlink.org.cn/JointCloud/pcm-openstack/openstack"
|
||||||
|
|
||||||
"gitlink.org.cn/JointCloud/pcm-coordinator/api/internal/svc"
|
"gitlink.org.cn/JointCloud/pcm-coordinator/api/internal/svc"
|
||||||
|
@ -33,9 +31,10 @@ func NewGetImageNumLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetIm
|
||||||
func (l *GetImageNumLogic) GetImageNum(req *types.ListImagesReq) (resp *types.ImageNum, err error) {
|
func (l *GetImageNumLogic) GetImageNum(req *types.ListImagesReq) (resp *types.ImageNum, err error) {
|
||||||
// todo: add your logic here and delete this line
|
// todo: add your logic here and delete this line
|
||||||
resp = &types.ImageNum{}
|
resp = &types.ImageNum{}
|
||||||
ListImagesReq := &openstack.ListImagesReq{}
|
listImagesReq := &openstack.ListImagesReq{}
|
||||||
err = copier.CopyWithOption(ListImagesReq, req, copier.Option{Converters: utils.Converters})
|
listImagesReq.Platform = req.Platform
|
||||||
ListImagesResp, err := l.svcCtx.OpenstackRpc.ListImages(l.ctx, ListImagesReq)
|
//err = copier.CopyWithOption(ListImagesReq, req, copier.Option{Converters: utils.Converters})
|
||||||
|
ListImagesResp, err := l.svcCtx.OpenstackRpc.ListImages(l.ctx, listImagesReq)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, errors.Wrapf(xerr.NewErrMsg("Failed to get Networks list"), "Failed to get db Servers list err : %v ,req:%+v", err, req)
|
return nil, errors.Wrapf(xerr.NewErrMsg("Failed to get Networks list"), "Failed to get db Servers list err : %v ,req:%+v", err, req)
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,6 @@ package vm
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"fmt"
|
|
||||||
"github.com/jinzhu/copier"
|
"github.com/jinzhu/copier"
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
"gitlink.org.cn/JointCloud/pcm-coordinator/pkg/helper/xerr"
|
"gitlink.org.cn/JointCloud/pcm-coordinator/pkg/helper/xerr"
|
||||||
|
@ -41,7 +40,6 @@ func (l *GetNetworkNumLogic) GetNetworkNum(req *types.ListNetworksReq) (resp *ty
|
||||||
}
|
}
|
||||||
var count int = len(ListNetworksResp.Networks)
|
var count int = len(ListNetworksResp.Networks)
|
||||||
resp.NetworkNum = int32(count)
|
resp.NetworkNum = int32(count)
|
||||||
fmt.Println(count)
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, result.NewDefaultError(err.Error())
|
return nil, result.NewDefaultError(err.Error())
|
||||||
}
|
}
|
||||||
|
|
|
@ -93,7 +93,7 @@ type CommitVmTaskReq struct {
|
||||||
NsID string `json:"nsID"`
|
NsID string `json:"nsID"`
|
||||||
Replicas int64 `json:"replicas,optional"`
|
Replicas int64 `json:"replicas,optional"`
|
||||||
MatchLabels map[string]string `json:"matchLabels,optional"`
|
MatchLabels map[string]string `json:"matchLabels,optional"`
|
||||||
Server ServerCommit `json:"server,optional"`
|
Servers []ServerCommit `json:"servers,optional"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `json:"platform,optional"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2569,7 +2569,7 @@ type Limits struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type GetComputeLimitsReq struct {
|
type GetComputeLimitsReq struct {
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type GetComputeLimitsResp struct {
|
type GetComputeLimitsResp struct {
|
||||||
|
@ -2601,7 +2601,7 @@ type VolumeLimits struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type GetVolumeLimitsReq struct {
|
type GetVolumeLimitsReq struct {
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type GetVolumeLimitsResp struct {
|
type GetVolumeLimitsResp struct {
|
||||||
|
@ -2614,7 +2614,7 @@ type GetVolumeLimitsResp struct {
|
||||||
type ListServersReq struct {
|
type ListServersReq struct {
|
||||||
Limit int32 `form:"limit,optional"`
|
Limit int32 `form:"limit,optional"`
|
||||||
OffSet int32 `form:"offSet,optional"`
|
OffSet int32 `form:"offSet,optional"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type ListServersResp struct {
|
type ListServersResp struct {
|
||||||
|
@ -2643,7 +2643,7 @@ type Servers_links struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type ListServersDetailedReq struct {
|
type ListServersDetailedReq struct {
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type ListServersDetailedResp struct {
|
type ListServersDetailedResp struct {
|
||||||
|
@ -2667,7 +2667,7 @@ type ServersDetailed struct {
|
||||||
|
|
||||||
type GetServersDetailedByIdReq struct {
|
type GetServersDetailedByIdReq struct {
|
||||||
ServerId string `form:"server_id" copier:"ServerId"`
|
ServerId string `form:"server_id" copier:"ServerId"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type GetServersDetailedByIdResp struct {
|
type GetServersDetailedByIdResp struct {
|
||||||
|
@ -2755,7 +2755,7 @@ type ExtraSpecs struct {
|
||||||
type UpdateServerReq struct {
|
type UpdateServerReq struct {
|
||||||
ServerId string `form:"server_id" copier:"ServerId"`
|
ServerId string `form:"server_id" copier:"ServerId"`
|
||||||
ServerUpdate ServerUpdate `json:"server_update" copier:"ServerUpdate"`
|
ServerUpdate ServerUpdate `json:"server_update" copier:"ServerUpdate"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type ServerUpdate struct {
|
type ServerUpdate struct {
|
||||||
|
@ -2773,7 +2773,7 @@ type StartServerReq struct {
|
||||||
ServerId string `json:"server_id" copier:"ServerId"`
|
ServerId string `json:"server_id" copier:"ServerId"`
|
||||||
Action []map[string]string `json:"action,optional" copier:"Action"`
|
Action []map[string]string `json:"action,optional" copier:"Action"`
|
||||||
Start_action string `json:"start_action" copier:"start_action"`
|
Start_action string `json:"start_action" copier:"start_action"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type StartServerResp struct {
|
type StartServerResp struct {
|
||||||
|
@ -2786,7 +2786,7 @@ type StopServerReq struct {
|
||||||
ServerId string `json:"server_id" copier:"ServerId"`
|
ServerId string `json:"server_id" copier:"ServerId"`
|
||||||
Action []map[string]string `json:"action,optional" copier:"Action"`
|
Action []map[string]string `json:"action,optional" copier:"Action"`
|
||||||
Stop_action string `json:"stop_action" copier:"stop_action"`
|
Stop_action string `json:"stop_action" copier:"stop_action"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type StopServerResp struct {
|
type StopServerResp struct {
|
||||||
|
@ -2798,7 +2798,7 @@ type StopServerResp struct {
|
||||||
type RebootServerReq struct {
|
type RebootServerReq struct {
|
||||||
ServerId string `json:"server_id" copier:"ServerId"`
|
ServerId string `json:"server_id" copier:"ServerId"`
|
||||||
Reboot Reboot `json:"reboot" copier:"Reboot"`
|
Reboot Reboot `json:"reboot" copier:"Reboot"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type RebootServerResp struct {
|
type RebootServerResp struct {
|
||||||
|
@ -2815,7 +2815,7 @@ type PauseServerReq struct {
|
||||||
ServerId string `json:"server_id" copier:"ServerId"`
|
ServerId string `json:"server_id" copier:"ServerId"`
|
||||||
Action []map[string]string `json:"Action,optional" copier:"Action"`
|
Action []map[string]string `json:"Action,optional" copier:"Action"`
|
||||||
Pause_action string `json:"pause_action" copier:"pause_action"`
|
Pause_action string `json:"pause_action" copier:"pause_action"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type PauseServerResp struct {
|
type PauseServerResp struct {
|
||||||
|
@ -2828,7 +2828,7 @@ type UnpauseServerReq struct {
|
||||||
ServerId string `json:"server_id" copier:"ServerId"`
|
ServerId string `json:"server_id" copier:"ServerId"`
|
||||||
Action []map[string]string `json:"Action,optional" copier:"Action"`
|
Action []map[string]string `json:"Action,optional" copier:"Action"`
|
||||||
Unpause_action string `json:"unpause_action" copier:"unpause_action"`
|
Unpause_action string `json:"unpause_action" copier:"unpause_action"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type UnpauseServerResp struct {
|
type UnpauseServerResp struct {
|
||||||
|
@ -2839,7 +2839,7 @@ type UnpauseServerResp struct {
|
||||||
|
|
||||||
type DeleteServerReq struct {
|
type DeleteServerReq struct {
|
||||||
ServerId string `form:"server_id" copier:"ServerId"`
|
ServerId string `form:"server_id" copier:"ServerId"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type DeleteServerResp struct {
|
type DeleteServerResp struct {
|
||||||
|
@ -2850,7 +2850,7 @@ type DeleteServerResp struct {
|
||||||
|
|
||||||
type CreateServerReq struct {
|
type CreateServerReq struct {
|
||||||
Server Server `json:"server" copier:"Server"`
|
Server Server `json:"server" copier:"Server"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type CreateServerResp struct {
|
type CreateServerResp struct {
|
||||||
|
@ -2894,7 +2894,7 @@ type ServerResp struct {
|
||||||
|
|
||||||
type RebuildServerReq struct {
|
type RebuildServerReq struct {
|
||||||
ServerId string `json:"server_id" copier:"ServerId"`
|
ServerId string `json:"server_id" copier:"ServerId"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
Rebuild Rebuild `json:"rebuild" copier:"Rebuild"`
|
Rebuild Rebuild `json:"rebuild" copier:"Rebuild"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2969,7 +2969,7 @@ type ShelveServerReq struct {
|
||||||
ServerId string `json:"server_id" copier:"ServerId"`
|
ServerId string `json:"server_id" copier:"ServerId"`
|
||||||
Action []map[string]string `json:"Action,optional" copier:"Action"`
|
Action []map[string]string `json:"Action,optional" copier:"Action"`
|
||||||
Shelve_action string `json:"shelve_action" copier:"shelve_action"`
|
Shelve_action string `json:"shelve_action" copier:"shelve_action"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type ShelveServerResp struct {
|
type ShelveServerResp struct {
|
||||||
|
@ -2980,7 +2980,7 @@ type ShelveServerResp struct {
|
||||||
|
|
||||||
type RescueServerReq struct {
|
type RescueServerReq struct {
|
||||||
ServerId string `json:"server_id" copier:"ServerId"`
|
ServerId string `json:"server_id" copier:"ServerId"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
Rescue Rescue `json:"rescue" copier:"Rescue"`
|
Rescue Rescue `json:"rescue" copier:"Rescue"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2998,7 +2998,7 @@ type Rescue struct {
|
||||||
type UnRescueServerReq struct {
|
type UnRescueServerReq struct {
|
||||||
ServerId string `json:"server_id" copier:"ServerId"`
|
ServerId string `json:"server_id" copier:"ServerId"`
|
||||||
Action []map[string]string `json:"Action,optional" copier:"Action"`
|
Action []map[string]string `json:"Action,optional" copier:"Action"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
UnRescue_action string `json:"UnRescue_action" copier:"UnRescue_action"`
|
UnRescue_action string `json:"UnRescue_action" copier:"UnRescue_action"`
|
||||||
Rescue Rescue `json:"rescue" copier:"Rescue"`
|
Rescue Rescue `json:"rescue" copier:"Rescue"`
|
||||||
}
|
}
|
||||||
|
@ -3012,7 +3012,7 @@ type UnRescueServerResp struct {
|
||||||
type ChangeAdministrativePasswordReq struct {
|
type ChangeAdministrativePasswordReq struct {
|
||||||
ServerId string `json:"server_id" copier:"ServerId"`
|
ServerId string `json:"server_id" copier:"ServerId"`
|
||||||
Changepassword string `json:"changePassword" copier:"Changepassword"`
|
Changepassword string `json:"changePassword" copier:"Changepassword"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
ChangePassword ChangePassword `json:"changepassword" copier:"ChangePassword"`
|
ChangePassword ChangePassword `json:"changepassword" copier:"ChangePassword"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3029,7 +3029,7 @@ type ChangePassword struct {
|
||||||
type SuspendServerReq struct {
|
type SuspendServerReq struct {
|
||||||
ServerId string `json:"server_id" copier:"ServerId"`
|
ServerId string `json:"server_id" copier:"ServerId"`
|
||||||
Action []map[string]string `json:"Action,optional" copier:"Action"`
|
Action []map[string]string `json:"Action,optional" copier:"Action"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
UnRescue_action string `json:"UnRescue_action" copier:"UnRescue_action"`
|
UnRescue_action string `json:"UnRescue_action" copier:"UnRescue_action"`
|
||||||
Rescue Rescue `json:"rescue" copier:"Rescue"`
|
Rescue Rescue `json:"rescue" copier:"Rescue"`
|
||||||
}
|
}
|
||||||
|
@ -3043,7 +3043,7 @@ type SuspendServerResp struct {
|
||||||
type AddSecurityGroupToServerReq struct {
|
type AddSecurityGroupToServerReq struct {
|
||||||
ServerId string `json:"server_id" copier:"ServerId"`
|
ServerId string `json:"server_id" copier:"ServerId"`
|
||||||
Action []map[string]string `json:"Action,optional" copier:"Action"`
|
Action []map[string]string `json:"Action,optional" copier:"Action"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
UnRescue_action string `json:"UnRescue_action" copier:"UnRescue_action"`
|
UnRescue_action string `json:"UnRescue_action" copier:"UnRescue_action"`
|
||||||
AddSecurityGroup AddSecurityGroup `json:"addSecurityGroup" copier:"AddSecurityGroup"`
|
AddSecurityGroup AddSecurityGroup `json:"addSecurityGroup" copier:"AddSecurityGroup"`
|
||||||
}
|
}
|
||||||
|
@ -3060,7 +3060,7 @@ type AddSecurityGroup struct {
|
||||||
|
|
||||||
type RemoveSecurityGroupReq struct {
|
type RemoveSecurityGroupReq struct {
|
||||||
ServerId string `json:"server_id" copier:"ServerId"`
|
ServerId string `json:"server_id" copier:"ServerId"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
RemoveSecurityGroup RemoveSecurityGroup `json:"removeSecurityGroup" copier:"RemoveSecurityGroup"`
|
RemoveSecurityGroup RemoveSecurityGroup `json:"removeSecurityGroup" copier:"RemoveSecurityGroup"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3096,7 +3096,7 @@ type FlavorServer struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type DeleteFlavorReq struct {
|
type DeleteFlavorReq struct {
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
ServerId string `json:"server_id" copier:"ServerId"`
|
ServerId string `json:"server_id" copier:"ServerId"`
|
||||||
FlavorId string `json:"flavor_id" copier:"FlavorId"`
|
FlavorId string `json:"flavor_id" copier:"FlavorId"`
|
||||||
}
|
}
|
||||||
|
@ -3108,8 +3108,7 @@ type DeleteFlavorResp struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type ListImagesReq struct {
|
type ListImagesReq struct {
|
||||||
Limit int32 `form:"limit,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
Platform string `json:"platform,optional"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type ListImagesResp struct {
|
type ListImagesResp struct {
|
||||||
|
@ -3179,7 +3178,7 @@ type CreateImageResp struct {
|
||||||
|
|
||||||
type UploadOsImageReq struct {
|
type UploadOsImageReq struct {
|
||||||
ImageId string `form:"image_id" copier:"ImageId"`
|
ImageId string `form:"image_id" copier:"ImageId"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type UploadOsImageResp struct {
|
type UploadOsImageResp struct {
|
||||||
|
@ -3190,7 +3189,7 @@ type UploadOsImageResp struct {
|
||||||
|
|
||||||
type DeleteImageReq struct {
|
type DeleteImageReq struct {
|
||||||
ImageId string `form:"image_id" copier:"ImageId"`
|
ImageId string `form:"image_id" copier:"ImageId"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type DeleteImageResp struct {
|
type DeleteImageResp struct {
|
||||||
|
@ -3214,7 +3213,7 @@ type ImageNum struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type ListNetworksReq struct {
|
type ListNetworksReq struct {
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type ListNetworksResp struct {
|
type ListNetworksResp struct {
|
||||||
|
@ -3254,7 +3253,7 @@ type Network struct {
|
||||||
|
|
||||||
type DeleteNetworkReq struct {
|
type DeleteNetworkReq struct {
|
||||||
NetworkId string `form:"network_id" copier:"NetworkId"`
|
NetworkId string `form:"network_id" copier:"NetworkId"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type DeleteNetworkResp struct {
|
type DeleteNetworkResp struct {
|
||||||
|
@ -3265,7 +3264,7 @@ type DeleteNetworkResp struct {
|
||||||
|
|
||||||
type CreateNetworkReq struct {
|
type CreateNetworkReq struct {
|
||||||
Network CreateNetwork `json:"network" copier:"Network"`
|
Network CreateNetwork `json:"network" copier:"Network"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type CreateNetworkResp struct {
|
type CreateNetworkResp struct {
|
||||||
|
@ -3283,7 +3282,7 @@ type CreateNetwork struct {
|
||||||
|
|
||||||
type CreateSubnetReq struct {
|
type CreateSubnetReq struct {
|
||||||
Subnet Subnet `json:"subnet" copier:"Subnet"`
|
Subnet Subnet `json:"subnet" copier:"Subnet"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type CreateSubnetResp struct {
|
type CreateSubnetResp struct {
|
||||||
|
@ -3338,7 +3337,7 @@ type Allocation_pools struct {
|
||||||
|
|
||||||
type ShowNetworkDetailsReq struct {
|
type ShowNetworkDetailsReq struct {
|
||||||
NetworkId string `form:"network_id" copier:"NetworkId"`
|
NetworkId string `form:"network_id" copier:"NetworkId"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type ShowNetworkDetailsResp struct {
|
type ShowNetworkDetailsResp struct {
|
||||||
|
@ -3377,7 +3376,7 @@ type Networkdetail struct {
|
||||||
type UpdateNetworkReq struct {
|
type UpdateNetworkReq struct {
|
||||||
NetworkId string `form:"network_id" copier:"NetworkId"`
|
NetworkId string `form:"network_id" copier:"NetworkId"`
|
||||||
Network Network `json:"network" copier:"Network"`
|
Network Network `json:"network" copier:"Network"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type UpdateNetworkResp struct {
|
type UpdateNetworkResp struct {
|
||||||
|
@ -3402,7 +3401,7 @@ type BulkCreateNetworksResp struct {
|
||||||
type ListSubnetsReq struct {
|
type ListSubnetsReq struct {
|
||||||
Limit int32 `json:"limit,optional"`
|
Limit int32 `json:"limit,optional"`
|
||||||
OffSet int32 `json:"offSet,optional"`
|
OffSet int32 `json:"offSet,optional"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type ListSubnetsResp struct {
|
type ListSubnetsResp struct {
|
||||||
|
@ -3444,7 +3443,7 @@ type Allocation_pool struct {
|
||||||
|
|
||||||
type DeleteSubnetReq struct {
|
type DeleteSubnetReq struct {
|
||||||
SubnetId string `json:"subnet_id,optional" copier:"subnetId"`
|
SubnetId string `json:"subnet_id,optional" copier:"subnetId"`
|
||||||
Platform string `json:"platform,optional" copier:"Platform"`
|
Platform string `form:"platform,optional" copier:"Platform"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type DeleteSubnetResp struct {
|
type DeleteSubnetResp struct {
|
||||||
|
@ -3455,7 +3454,7 @@ type DeleteSubnetResp struct {
|
||||||
|
|
||||||
type UpdateSubnetReq struct {
|
type UpdateSubnetReq struct {
|
||||||
SubnetId string `json:"subnet_id,optional" copier:"subnetId"`
|
SubnetId string `json:"subnet_id,optional" copier:"subnetId"`
|
||||||
Platform string `json:"platform,optional" copier:"Platform"`
|
Platform string `form:"platform,optional" copier:"Platform"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type UpdateSubnetResp struct {
|
type UpdateSubnetResp struct {
|
||||||
|
@ -3500,7 +3499,7 @@ type Used struct {
|
||||||
type ListNetworkSegmentRangesReq struct {
|
type ListNetworkSegmentRangesReq struct {
|
||||||
Limit int32 `json:"limit,optional"`
|
Limit int32 `json:"limit,optional"`
|
||||||
OffSet int32 `json:"offSet,optional"`
|
OffSet int32 `json:"offSet,optional"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type ListNetworkSegmentRangesResp struct {
|
type ListNetworkSegmentRangesResp struct {
|
||||||
|
@ -3530,7 +3529,7 @@ type Network_segment_ranges struct {
|
||||||
|
|
||||||
type DeleteNetworkSegmentRangesReq struct {
|
type DeleteNetworkSegmentRangesReq struct {
|
||||||
Network_segment_range_id string `json:"network_segment_range_id,optional" copier:"network_segment_range_id"`
|
Network_segment_range_id string `json:"network_segment_range_id,optional" copier:"network_segment_range_id"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type DeleteNetworkSegmentRangesResp struct {
|
type DeleteNetworkSegmentRangesResp struct {
|
||||||
|
@ -3542,7 +3541,7 @@ type DeleteNetworkSegmentRangesResp struct {
|
||||||
type UpdateNetworkSegmentRangesReq struct {
|
type UpdateNetworkSegmentRangesReq struct {
|
||||||
Network_segment_range_id string `json:"network_segment_range_id,optional" copier:"network_segment_range_id"`
|
Network_segment_range_id string `json:"network_segment_range_id,optional" copier:"network_segment_range_id"`
|
||||||
NetworkSegmentRange Network_segment_range `json:"network_segment_range,optional" copier:"NetworkSegmentRange"`
|
NetworkSegmentRange Network_segment_range `json:"network_segment_range,optional" copier:"NetworkSegmentRange"`
|
||||||
Platform string `json:"platform,optional" copier:"Platform"`
|
Platform string `form:"platform,optional" copier:"Platform"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type UpdateNetworkSegmentRangesResp struct {
|
type UpdateNetworkSegmentRangesResp struct {
|
||||||
|
@ -3614,7 +3613,7 @@ type CreatePortResp struct {
|
||||||
type ListPortsReq struct {
|
type ListPortsReq struct {
|
||||||
Limit int32 `json:"limit,optional"`
|
Limit int32 `json:"limit,optional"`
|
||||||
OffSet int32 `json:"offSet,optional"`
|
OffSet int32 `json:"offSet,optional"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type ListPortsResp struct {
|
type ListPortsResp struct {
|
||||||
|
@ -3673,7 +3672,7 @@ type Fixed_ips struct {
|
||||||
|
|
||||||
type DeletePortReq struct {
|
type DeletePortReq struct {
|
||||||
Port_id string `json:"port_id,optional" copier:"port_id"`
|
Port_id string `json:"port_id,optional" copier:"port_id"`
|
||||||
Platform string `json:"platform,optional" copier:"platform"`
|
Platform string `form:"platform,optional" copier:"platform"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type DeletePortResp struct {
|
type DeletePortResp struct {
|
||||||
|
@ -3685,7 +3684,7 @@ type DeletePortResp struct {
|
||||||
type UpdatePortReq struct {
|
type UpdatePortReq struct {
|
||||||
Port_id string `json:"port_id,optional" copier:"port_id"`
|
Port_id string `json:"port_id,optional" copier:"port_id"`
|
||||||
Port Port `json:"port,optional" copier:"port"`
|
Port Port `json:"port,optional" copier:"port"`
|
||||||
Platform string `json:"platform,optional" copier:"platform"`
|
Platform string `form:"platform,optional" copier:"platform"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type UpdatePortResp struct {
|
type UpdatePortResp struct {
|
||||||
|
@ -3698,7 +3697,7 @@ type UpdatePortResp struct {
|
||||||
type ShowPortDetailsReq struct {
|
type ShowPortDetailsReq struct {
|
||||||
Port_id string `json:"port_id,optional" copier:"port_id"`
|
Port_id string `json:"port_id,optional" copier:"port_id"`
|
||||||
Fields string `json:"fields,optional" copier:"fields"`
|
Fields string `json:"fields,optional" copier:"fields"`
|
||||||
Platform string `json:"platform,optional" copier:"platform"`
|
Platform string `form:"platform,optional" copier:"platform"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type ShowPortDetailsResp struct {
|
type ShowPortDetailsResp struct {
|
||||||
|
@ -3711,7 +3710,7 @@ type ShowPortDetailsResp struct {
|
||||||
type ListRoutersReq struct {
|
type ListRoutersReq struct {
|
||||||
Limit int32 `json:"limit,optional"`
|
Limit int32 `json:"limit,optional"`
|
||||||
OffSet int32 `json:"offSet,optional"`
|
OffSet int32 `json:"offSet,optional"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type ListRoutersResp struct {
|
type ListRoutersResp struct {
|
||||||
|
@ -3805,7 +3804,7 @@ type Router struct {
|
||||||
|
|
||||||
type UpdateRouterReq struct {
|
type UpdateRouterReq struct {
|
||||||
Router Router `json:"router,optional" copier:"router"`
|
Router Router `json:"router,optional" copier:"router"`
|
||||||
Platform string `json:"platform,optional" copier:"Platform"`
|
Platform string `form:"platform,optional" copier:"Platform"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type UpdateRouterResp struct {
|
type UpdateRouterResp struct {
|
||||||
|
@ -3817,7 +3816,7 @@ type UpdateRouterResp struct {
|
||||||
|
|
||||||
type ShowRouterDetailsReq struct {
|
type ShowRouterDetailsReq struct {
|
||||||
Router Router `json:"router,optional" copier:"router"`
|
Router Router `json:"router,optional" copier:"router"`
|
||||||
Platform string `json:"platform,optional" copier:"Platform"`
|
Platform string `form:"platform,optional" copier:"Platform"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type ShowRouterDetailsResp struct {
|
type ShowRouterDetailsResp struct {
|
||||||
|
@ -3828,7 +3827,7 @@ type ShowRouterDetailsResp struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type DeleteRouterReq struct {
|
type DeleteRouterReq struct {
|
||||||
Platform string `json:"platform,optional" copier:"Platform"`
|
Platform string `form:"platform,optional" copier:"Platform"`
|
||||||
Router_id string `json:"router_id,optional" copier:"router_id"`
|
Router_id string `json:"router_id,optional" copier:"router_id"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3839,7 +3838,7 @@ type DeleteRouterResp struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type ListFloatingIPsReq struct {
|
type ListFloatingIPsReq struct {
|
||||||
Platform string `json:"platform,optional" copier:"Platform"`
|
Platform string `form:"platform,optional" copier:"Platform"`
|
||||||
Limit int32 `json:"limit,optional" copier:"Limit"`
|
Limit int32 `json:"limit,optional" copier:"Limit"`
|
||||||
OffSet int32 `json:"offSet,optional" copier:"OffSet"`
|
OffSet int32 `json:"offSet,optional" copier:"OffSet"`
|
||||||
}
|
}
|
||||||
|
@ -3926,7 +3925,7 @@ type Floatingip struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type UpdateFloatingIPReq struct {
|
type UpdateFloatingIPReq struct {
|
||||||
Platform string `json:"platform,optional" copier:"Platform"`
|
Platform string `form:"platform,optional" copier:"Platform"`
|
||||||
Floatingip_id string `json:"floatingip_id,optional" copier:"floatingip_id"`
|
Floatingip_id string `json:"floatingip_id,optional" copier:"floatingip_id"`
|
||||||
Floatingip Floatingip `json:"floatingip,optional" copier:"floatingip"`
|
Floatingip Floatingip `json:"floatingip,optional" copier:"floatingip"`
|
||||||
}
|
}
|
||||||
|
@ -3939,7 +3938,7 @@ type UpdateFloatingIPResp struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type DeleteFloatingIPReq struct {
|
type DeleteFloatingIPReq struct {
|
||||||
Platform string `json:"platform,optional" copier:"Platform"`
|
Platform string `form:"platform,optional" copier:"Platform"`
|
||||||
Floatingip_id string `json:"floatingip_id,optional" copier:"floatingip_id"`
|
Floatingip_id string `json:"floatingip_id,optional" copier:"floatingip_id"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3962,7 +3961,7 @@ type ShowFloatingIPDetailsResp struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type ListFirewallGroupsReq struct {
|
type ListFirewallGroupsReq struct {
|
||||||
Platform string `json:"platform,optional" copier:"Platform"`
|
Platform string `form:"platform,optional" copier:"Platform"`
|
||||||
Fields string `json:"fields,optional" copier:"fields"`
|
Fields string `json:"fields,optional" copier:"fields"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3989,7 +3988,7 @@ type Firewall_groups struct {
|
||||||
|
|
||||||
type DeleteFirewallGroupReq struct {
|
type DeleteFirewallGroupReq struct {
|
||||||
Firewall_group_id string `json:"firewall_group_id,optional" copier:"firewall_group_id"`
|
Firewall_group_id string `json:"firewall_group_id,optional" copier:"firewall_group_id"`
|
||||||
Platform string `json:"platform,optional" copier:"Platform"`
|
Platform string `form:"platform,optional" copier:"Platform"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type DeleteFirewallGroupResp struct {
|
type DeleteFirewallGroupResp struct {
|
||||||
|
@ -4026,7 +4025,7 @@ type Firewall_group struct {
|
||||||
|
|
||||||
type UpdateFirewallGroupReq struct {
|
type UpdateFirewallGroupReq struct {
|
||||||
Firewall_group Firewall_group `json:"firewall_group,optional" copier:"firewall_group"`
|
Firewall_group Firewall_group `json:"firewall_group,optional" copier:"firewall_group"`
|
||||||
Platform string `json:"platform,optional" copier:"Platform"`
|
Platform string `form:"platform,optional" copier:"Platform"`
|
||||||
Firewall_group_id string `json:"firewall_group_id,optional" copier:"firewall_group_id"`
|
Firewall_group_id string `json:"firewall_group_id,optional" copier:"firewall_group_id"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4038,7 +4037,7 @@ type UpdateFirewallGroupResp struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type ShowFirewallGroupDetailsReq struct {
|
type ShowFirewallGroupDetailsReq struct {
|
||||||
Platform string `json:"platform,optional" copier:"Platform"`
|
Platform string `form:"platform,optional" copier:"Platform"`
|
||||||
Firewall_group_id string `json:"firewall_group_id,optional" copier:"firewall_group_id"`
|
Firewall_group_id string `json:"firewall_group_id,optional" copier:"firewall_group_id"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4073,7 +4072,7 @@ type Firewall_policy struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type DeleteFirewallPolicyReq struct {
|
type DeleteFirewallPolicyReq struct {
|
||||||
Platform string `json:"platform,optional" copier:"Platform"`
|
Platform string `form:"platform,optional" copier:"Platform"`
|
||||||
Firewall_policy_id string `json:"firewall_policy_id,optional" copier:"firewall_policy_id"`
|
Firewall_policy_id string `json:"firewall_policy_id,optional" copier:"firewall_policy_id"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4084,7 +4083,7 @@ type DeleteFirewallPolicyResp struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type ListFirewallPoliciesReq struct {
|
type ListFirewallPoliciesReq struct {
|
||||||
Platform string `json:"platform,optional" copier:"Platform"`
|
Platform string `form:"platform,optional" copier:"Platform"`
|
||||||
Fields string `json:"fields,optional" copier:"fields"`
|
Fields string `json:"fields,optional" copier:"fields"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4150,7 +4149,7 @@ type Firewall_rule struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type DeleteFirewallRuleReq struct {
|
type DeleteFirewallRuleReq struct {
|
||||||
Platform string `json:"platform,optional" copier:"Platform"`
|
Platform string `form:"platform,optional" copier:"Platform"`
|
||||||
Firewall_rule_id string `json:"firewall_rule_id,optional" copier:"firewall_rule_id"`
|
Firewall_rule_id string `json:"firewall_rule_id,optional" copier:"firewall_rule_id"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4161,7 +4160,7 @@ type DeleteFirewallRuleResp struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type ListFirewallRulesReq struct {
|
type ListFirewallRulesReq struct {
|
||||||
Platform string `json:"platform,optional" copier:"Platform"`
|
Platform string `form:"platform,optional" copier:"Platform"`
|
||||||
Fields string `json:"fields,optional" copier:"fields"`
|
Fields string `json:"fields,optional" copier:"fields"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4192,7 +4191,7 @@ type Firewall_rules struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type ShowFirewallRuleDetailsReq struct {
|
type ShowFirewallRuleDetailsReq struct {
|
||||||
Platform string `json:"platform,optional" copier:"Platform"`
|
Platform string `form:"platform,optional" copier:"Platform"`
|
||||||
Firewall_rule_id string `json:"firewall_rule_id,optional" copier:"firewall_rule_id"`
|
Firewall_rule_id string `json:"firewall_rule_id,optional" copier:"firewall_rule_id"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4204,7 +4203,7 @@ type ShowFirewallRuleDetailsResp struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type ListSecurityGroupsReq struct {
|
type ListSecurityGroupsReq struct {
|
||||||
Platform string `json:"platform,optional" copier:"Platform"`
|
Platform string `form:"platform,optional" copier:"Platform"`
|
||||||
Fields string `json:"firewall_rule_id,optional" copier:"firewall_rule_id"`
|
Fields string `json:"firewall_rule_id,optional" copier:"firewall_rule_id"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4230,7 +4229,7 @@ type Security_groups struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type CreateSecurityGroupReq struct {
|
type CreateSecurityGroupReq struct {
|
||||||
Platform string `json:"platform,optional" copier:"Platform"`
|
Platform string `form:"platform,optional" copier:"Platform"`
|
||||||
Firewall_rule_id string `json:"firewall_rule_id,optional" copier:"firewall_rule_id"`
|
Firewall_rule_id string `json:"firewall_rule_id,optional" copier:"firewall_rule_id"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4277,7 +4276,7 @@ type Security_group_rules struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type DeleteSecurityGroupReq struct {
|
type DeleteSecurityGroupReq struct {
|
||||||
Platform string `json:"platform,optional" copier:"Platform"`
|
Platform string `form:"platform,optional" copier:"Platform"`
|
||||||
Security_group_id string `json:"security_group_id,optional" copier:"security_group_id"`
|
Security_group_id string `json:"security_group_id,optional" copier:"security_group_id"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4288,7 +4287,7 @@ type DeleteSecurityGroupResp struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type UpdateSecurityGroupReq struct {
|
type UpdateSecurityGroupReq struct {
|
||||||
Platform string `json:"platform,optional" copier:"Platform"`
|
Platform string `form:"platform,optional" copier:"Platform"`
|
||||||
Security_group_id string `json:"security_group_id,optional" copier:"security_group_id"`
|
Security_group_id string `json:"security_group_id,optional" copier:"security_group_id"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4300,7 +4299,7 @@ type UpdateSecurityGroupResp struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type ShowSecurityGroupReq struct {
|
type ShowSecurityGroupReq struct {
|
||||||
Platform string `json:"platform,optional" copier:"Platform"`
|
Platform string `form:"platform,optional" copier:"Platform"`
|
||||||
Security_group_id string `json:"security_group_id,optional" copier:"security_group_id"`
|
Security_group_id string `json:"security_group_id,optional" copier:"security_group_id"`
|
||||||
Fields string `json:"fields,optional" copier:"fields"`
|
Fields string `json:"fields,optional" copier:"fields"`
|
||||||
Verbose string `json:"verbose,optional" copier:"verbose"`
|
Verbose string `json:"verbose,optional" copier:"verbose"`
|
||||||
|
@ -4314,7 +4313,7 @@ type ShowSecurityGroupResp struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type ListSecurityGroupRulesReq struct {
|
type ListSecurityGroupRulesReq struct {
|
||||||
Platform string `json:"platform,optional" copier:"Platform"`
|
Platform string `form:"platform,optional" copier:"Platform"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type ListSecurityGroupRulesResp struct {
|
type ListSecurityGroupRulesResp struct {
|
||||||
|
@ -4356,7 +4355,7 @@ type Security_group_rule struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type ShowSecurityGroupRuleReq struct {
|
type ShowSecurityGroupRuleReq struct {
|
||||||
Platform string `json:"platform,optional" copier:"Platform"`
|
Platform string `form:"platform,optional" copier:"Platform"`
|
||||||
Security_group_rule_id string `json:"security_group_rule_id,optional" copier:"security_group_rule_id"`
|
Security_group_rule_id string `json:"security_group_rule_id,optional" copier:"security_group_rule_id"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4368,7 +4367,7 @@ type ShowSecurityGroupRuleResp struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type DeleteSecurityGroupRuleReq struct {
|
type DeleteSecurityGroupRuleReq struct {
|
||||||
Platform string `json:"platform,optional" copier:"Platform"`
|
Platform string `form:"platform,optional" copier:"Platform"`
|
||||||
Security_group_rule_id string `json:"security_group_rule_id,optional" copier:"security_group_rule_id"`
|
Security_group_rule_id string `json:"security_group_rule_id,optional" copier:"security_group_rule_id"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4380,7 +4379,7 @@ type DeleteSecurityGroupRuleResp struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type ListVolumesDetailReq struct {
|
type ListVolumesDetailReq struct {
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type ListVolumesDetailResp struct {
|
type ListVolumesDetailResp struct {
|
||||||
|
@ -4414,7 +4413,7 @@ type DeleteVolumeReq struct {
|
||||||
VolumeId string `form:"volume_id" copier:"VolumeId"`
|
VolumeId string `form:"volume_id" copier:"VolumeId"`
|
||||||
Cascade bool `json:"cascade" copier:"Cascade"`
|
Cascade bool `json:"cascade" copier:"Cascade"`
|
||||||
Force bool `json:"force" copier:"force"`
|
Force bool `json:"force" copier:"force"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type DeleteVolumeResp struct {
|
type DeleteVolumeResp struct {
|
||||||
|
@ -4464,7 +4463,7 @@ type VolumeResp struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type ListVolumeTypesReq struct {
|
type ListVolumeTypesReq struct {
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type ListVolumeTypesResp struct {
|
type ListVolumeTypesResp struct {
|
||||||
|
@ -4491,7 +4490,7 @@ type Extra_specs struct {
|
||||||
type UpdateVolumeReq struct {
|
type UpdateVolumeReq struct {
|
||||||
Volume Volume `json:"volume" copier:"Volume"`
|
Volume Volume `json:"volume" copier:"Volume"`
|
||||||
VolumeId string `json:"volume_id" copier:"VolumeId"`
|
VolumeId string `json:"volume_id" copier:"VolumeId"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type UpdateVolumeResp struct {
|
type UpdateVolumeResp struct {
|
||||||
|
@ -4503,7 +4502,7 @@ type UpdateVolumeResp struct {
|
||||||
|
|
||||||
type GetVolumeDetailedByIdReq struct {
|
type GetVolumeDetailedByIdReq struct {
|
||||||
VolumeId string `form:"volume_id" copier:"VolumeId"`
|
VolumeId string `form:"volume_id" copier:"VolumeId"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type GetVolumeDetailedByIdResp struct {
|
type GetVolumeDetailedByIdResp struct {
|
||||||
|
@ -4555,7 +4554,7 @@ type VolumeType struct {
|
||||||
|
|
||||||
type DeleteVolumeTypeReq struct {
|
type DeleteVolumeTypeReq struct {
|
||||||
VolumeTypeId string `json:"volume_type_id" copier:"VolumeTypeId"`
|
VolumeTypeId string `json:"volume_type_id" copier:"VolumeTypeId"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type DeleteVolumeTypeResp struct {
|
type DeleteVolumeTypeResp struct {
|
||||||
|
@ -4575,7 +4574,7 @@ type ListVolumesReq struct {
|
||||||
CreatedAt string `json:"created_at" copier:"CreatedAt"`
|
CreatedAt string `json:"created_at" copier:"CreatedAt"`
|
||||||
ConsumesQuota bool `json:"consumes_quota" copier:"ConsumesQuota"`
|
ConsumesQuota bool `json:"consumes_quota" copier:"ConsumesQuota"`
|
||||||
UpdatedAt string `json:"updated_at" copier:"UpdatedAt"`
|
UpdatedAt string `json:"updated_at" copier:"UpdatedAt"`
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type ListVolumesResp struct {
|
type ListVolumesResp struct {
|
||||||
|
@ -4592,7 +4591,7 @@ type VolumesList struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type ListFlavorsDetailReq struct {
|
type ListFlavorsDetailReq struct {
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type ListFlavorsDetailResp struct {
|
type ListFlavorsDetailResp struct {
|
||||||
|
@ -4617,7 +4616,7 @@ type Flavors struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type ListNodesReq struct {
|
type ListNodesReq struct {
|
||||||
Platform string `json:"platform,optional"`
|
Platform string `form:"platform,optional"`
|
||||||
Limit int64 `json:"limit" copier:"Limit"`
|
Limit int64 `json:"limit" copier:"Limit"`
|
||||||
Marker string `json:"marker" copier:"Marker"`
|
Marker string `json:"marker" copier:"Marker"`
|
||||||
SortDir string `json:"sort_dir" copier:"SortDir"`
|
SortDir string `json:"sort_dir" copier:"SortDir"`
|
||||||
|
|
Loading…
Reference in New Issue