forked from jcce-pcm/pcm-openstack
修改类型字段
This commit is contained in:
parent
0008bdf459
commit
e557bb857b
|
@ -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"]; //物理网络上隔离段的ID,network_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;
|
||||
|
|
Loading…
Reference in New Issue