修改类型字段

This commit is contained in:
qiwang 2023-10-20 10:41:25 +08:00
parent 0008bdf459
commit e557bb857b
1 changed files with 4 additions and 4 deletions

View File

@ -757,7 +757,7 @@ message Network{
string project_id = 13; // @gotags: copier:"ProjectId"
string qos_policy_id = 14; // @gotags: copier:"QosPolicyId"
int64 revision_number = 15;// @gotags: copier:"RevisionNumber"
Segment segment =26; // @gotags: copier:"Segment"
//Segment segment =26; // @gotags: copier:"Segment"
bool router_external = 16 [json_name = "router:external"]; // @gotags: copier:"RouterExternal"
bool shared = 17; // @gotags: copier:"Shared"
string status = 18; // @gotags: copier:"Status"
@ -770,11 +770,11 @@ message Network{
bool is_default = 25; // @gotags: copier:"IsDefault"
}
message Segment{
/*message Segment{
string provider_network_type = 1 [json_name = "provider:network_type"]; //
string provider_physical_network = 2 [json_name = "provider:physical_network"]; ///
int64 provider_segmentation_id = 3 [json_name = "provider:segmentation_id"]; //IDnetwork_type属性定义分段模型
}
}*/
message ShowNetworkDetailsResp{
Network network = 1; // @gotags: copier:"Network" //
@ -1110,7 +1110,7 @@ message BulkCreateNetworksResp{
string qos_policy_id = 18;
int64 revision_number = 19;
bool router_external = 20 [json_name = "router:external"];
repeated Segment segments = 21;
//repeated Segment segments = 21;
bool shared = 22;
string status = 23;
repeated string subnets = 24;