- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
Returns the interconnectDiagnostics
for the specified Interconnect.
In the event of a global outage, do not use this API to make decisions about where to redirect your network traffic.
Unlike a VLAN attachment, which is regional, a Cloud Interconnect connection is a global resource. A global outage can prevent this API from functioning properly.
HTTP request
GET https://compute.googleapis.com/compute/beta/projects/{project}/global/interconnects/{interconnect}/getDiagnostics
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
project |
Project ID for this request. |
interconnect |
Name of the interconnect resource to query. |
Request body
The request body must be empty.
Response body
Response for the InterconnectsGetDiagnosticsRequest.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{ "result": { "macAddress": string, "arpCaches": [ { "macAddress": string, "ipAddress": string } ], "links": [ { "circuitId": string, "googleDemarc": string, "receivingOpticalPower": { "value": number, "state": enum }, "transmittingOpticalPower": { "value": number, "state": enum }, "lacpStatus": { "state": enum, "googleSystemId": string, "neighborSystemId": string }, "operationalStatus": enum, "arpCaches": [ { "macAddress": string, "ipAddress": string } ], "macsec": { "operational": boolean, "ckn": string } } ], "bundleOperationalStatus": enum, "bundleAggregationType": enum } } |
Fields | |
---|---|
result |
|
result.macAddress |
The MAC address of the Interconnect's bundle interface. |
result.arpCaches[] |
A list of |
result.arpCaches[].macAddress |
The MAC address of this ARP neighbor. |
result.arpCaches[].ipAddress |
The IP address of this ARP neighbor. |
result.links[] |
A list of |
result.links[].circuitId |
The unique ID for this link assigned during turn up by Google. |
result.links[].googleDemarc |
The Demarc address assigned by Google and provided in the LoA. |
result.links[].receivingOpticalPower |
An |
result.links[].receivingOpticalPower.value |
Value of the current receiving or transmitting optical power, read in dBm. Take a known good optical value, give it a 10% margin and trigger warnings relative to that value. In general, a -7dBm warning and a -11dBm alarm are good optical value estimates for most links. |
result.links[].receivingOpticalPower.state |
The status of the current value when compared to the warning and alarm levels for the receiving or transmitting transceiver. Possible states include:
|
result.links[].transmittingOpticalPower |
An |
result.links[].transmittingOpticalPower.value |
Value of the current receiving or transmitting optical power, read in dBm. Take a known good optical value, give it a 10% margin and trigger warnings relative to that value. In general, a -7dBm warning and a -11dBm alarm are good optical value estimates for most links. |
result.links[].transmittingOpticalPower.state |
The status of the current value when compared to the warning and alarm levels for the receiving or transmitting transceiver. Possible states include:
|
result.links[].lacpStatus |
|
result.links[].lacpStatus.state |
The state of a LACP link, which can take one of the following values:
|
result.links[].lacpStatus.googleSystemId |
System ID of the port on Google's side of the LACP exchange. |
result.links[].lacpStatus.neighborSystemId |
System ID of the port on the neighbor's side of the LACP exchange. |
result.links[].operationalStatus |
The operational status of the link. |
result.links[].arpCaches[] |
A list of |
result.links[].arpCaches[].macAddress |
The MAC address of this ARP neighbor. |
result.links[].arpCaches[].ipAddress |
The IP address of this ARP neighbor. |
result.links[].macsec |
Describes the status of MACsec encryption on this link. |
result.links[].macsec.operational |
Indicates whether or not MACsec is operational on this link. |
result.links[].macsec.ckn |
Indicates the Connectivity Association Key Name (CKN) currently being used if MACsec is operational. |
result.bundleOperationalStatus |
The operational status of the bundle interface. |
result.bundleAggregationType |
The aggregation type of the bundle interface. |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/compute.readonly
https://www.googleapis.com/auth/compute
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
In addition to any permissions specified on the fields above, authorization requires one or more of the following IAM permissions:
compute.interconnects.get
To find predefined roles that contain those permissions, see Compute Engine IAM Roles.