feat:Modifying Network Objects

This commit is contained in:
qiwang 2024-03-07 15:16:18 +08:00
parent 6dca8ba7c7
commit 61bbf7ef9e
3 changed files with 4133 additions and 3898 deletions

File diff suppressed because it is too large Load Diff

View File

@ -396,6 +396,7 @@ type (
ShowSecurityGroupResp_SecurityGroupRules = openstack.ShowSecurityGroupResp_SecurityGroupRules
ShowSecurityGroupRuleReq = openstack.ShowSecurityGroupRuleReq
ShowSecurityGroupRuleResp = openstack.ShowSecurityGroupRuleResp
ShowSecurityGroupRuleResp_SecurityGroupRule = openstack.ShowSecurityGroupRuleResp_SecurityGroupRule
StartServerReq = openstack.StartServerReq
StartServerResp = openstack.StartServerResp
StopServerReq = openstack.StopServerReq

View File

@ -2020,7 +2020,7 @@ message ShowPortDetailsResp {
string error_msg =4;// @gotags: copier:"ErrorMsg"
}
//port
//Router
message ListRoutersReq{
int32 limit = 1; // @gotags: copier:"Limit"
int32 offset = 2; // @gotags: copier:"Offset"
@ -2366,7 +2366,6 @@ message DeleteRouterResp{
string internal_ip_address = 2;
uint32 internal_port = 3;
string internal_port_id = 4;
uint32 external_port = 5;
string id = 6;
}
@ -2461,7 +2460,7 @@ message DeleteRouterResp{
string error_msg =4;// @gotags: copier:"ErrorMsg"
}
message UpdateFloatingIPReq{
message UpdateFloatingIPReq{
message Floatingip {
string port_id = 1;
}
@ -3142,10 +3141,6 @@ message ShowSecurityGroupResp{
Security_group_rule security_group_rule = 1;
string platform =2;
}
message CreateSecurityGroupRuleResp{
message Security_group_rule {
@ -3181,6 +3176,26 @@ message ShowSecurityGroupRuleResp{
string msg =1; // @gotags: copier:"Msg"
int32 code =2; // @gotags: copier:"Code"
string error_msg =3;// @gotags: copier:"ErrorMsg"
Security_group_rule security_group_rule = 4;
message Security_group_rule {
string direction = 1;
string ethertype = 2;
string id = 3;
uint32 port_range_max = 4;
uint32 port_range_min = 5;
string protocol = 6;
string remote_group_id = 7;
string remote_ip_prefix = 8;
string security_group_id = 9;
string project_id = 10;
uint32 revision_number = 11;
string tenant_id = 12;
int64 created_at = 13;
int64 updated_at = 14;
string description = 15;
bool belongs_to_default_sg = 16;
}
}
message DeleteSecurityGroupRuleReq{
string security_group_rule_id=1;
@ -3204,8 +3219,6 @@ message DeleteSecurityGroupRuleResp{
string tenant_id = 14;
bool belongs_to_default_sg = 15;
}
string msg =1; // @gotags: copier:"Msg"
int32 code =2; // @gotags: copier:"Code"
string error_msg =3;// @gotags: copier:"ErrorMsg"