Skip to content

Commit 2206a0f

Browse files
Google APIscopybara-github
authored andcommitted
feat: add content of IP Utilization insights to Stackdriver logging proto for Network Analyzer
PiperOrigin-RevId: 465110127
1 parent 072a946 commit 2206a0f

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

google/cloud/networkanalyzer/logging/v1/analyzer_log.proto

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,25 @@ enum ReportCauseCode {
9797
LOAD_BALANCER_BEST_PRACTICES_BACKEND_SERVICE_HEALTH_CHECK_PORT_MISMATCH = 1024;
9898
}
9999

100+
message IpUtilizationInfo {
101+
message SubnetIpUtilization {
102+
// URI of subnet.
103+
string subnet_uri = 1;
104+
105+
// Secondary range name. If the range is the primary range of the subnet,
106+
// this field is empty.
107+
string secondary_range_name = 2;
108+
109+
// Total number of usable IP addresses in the IP range.
110+
uint64 total_usable_addresses = 3;
111+
112+
// The ratio of allocated IP addresses from the total usable addresses.
113+
double allocation_ratio = 4;
114+
}
115+
116+
repeated SubnetIpUtilization subnet_ip_utilization = 1;
117+
}
118+
100119
// Log entry that describes a report from Network Analyzer.
101120
message Report {
102121
// Priority level of an report.
@@ -182,4 +201,8 @@ message Report {
182201

183202
// The groups of the report. One report may be present in multiple groups.
184203
repeated ReportGroup report_groups = 18;
204+
205+
oneof content {
206+
IpUtilizationInfo ip_utilization_info = 19;
207+
}
185208
}

0 commit comments

Comments
 (0)