- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- InterconnectDiagnostics
- LinkStatus
- LinkLACPStatus
- State
- LinkLLDPStatus
- PacketCounts
- Try it!
Get the diagnostics of a single interconnect resource.
HTTP request
GET https://edgenetwork.googleapis.com/v1/{name=projects/*/locations/*/zones/*/interconnects/*}:diagnose
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. The name of the interconnect resource. |
Request body
The request body must be empty.
Response body
DiagnoseInterconnectResponse contains the current diagnostics for a specific interconnect.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"updateTime": string,
"result": {
object ( |
Fields | |
---|---|
update |
The time when the interconnect diagnostics was last updated. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
result |
The network status of a specific interconnect. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
InterconnectDiagnostics
Diagnostics information about interconnect, contains detailed and current technical information about Google's side of the connection.
JSON representation |
---|
{ "macAddress": string, "linkLayerAddresses": [ { object ( |
Fields | |
---|---|
mac |
The MAC address of the Interconnect's bundle interface. |
link |
A list of LinkLayerAddress, describing the ip address and corresponding link-layer address of the neighbors for this interconnect. |
links[] |
A list of LinkStatus objects, used to describe the status for each link on the Interconnect. |
LinkStatus
Describing the status for each link on the Interconnect.
JSON representation |
---|
{ "circuitId": string, "lacpStatus": { object ( |
Fields | |
---|---|
circuit |
The unique ID for this link assigned during turn up by Google. |
lacp |
Describing the state of a LACP link. |
lldp |
A list of LinkLLDPStatus objects, used to describe LLDP status of each peer for each link on the Interconnect. |
packet |
Packet counts specific statistics for this link. |
LinkLACPStatus
Describing the status of a LACP link.
JSON representation |
---|
{
"state": enum ( |
Fields | |
---|---|
state |
The state of a LACP link. |
google |
System ID of the port on Google's side of the LACP exchange. |
neighbor |
System ID of the port on the neighbor's side of the LACP exchange. |
aggregatable |
A true value indicates that the participant will allow the link to be used as part of the aggregate. A false value indicates the link should be used as an individual link. |
collecting |
If true, the participant is collecting incoming frames on the link, otherwise false |
distributing |
When true, the participant is distributing outgoing frames; when false, distribution is disabled |
State
State enum for LACP link.
Enums | |
---|---|
UNKNOWN |
The default state indicating state is in unknown state. |
ACTIVE |
The link is configured and active within the bundle. |
DETACHED |
The link is not configured within the bundle, this means the rest of the object should be empty. |
LinkLLDPStatus
Describing a LLDP link.
JSON representation |
---|
{ "peerSystemName": string, "peerSystemDescription": string, "peerChassisId": string, "peerChassisIdType": string, "peerPortId": string, "peerPortIdType": string } |
Fields | |
---|---|
peer |
The peer system's administratively assigned name. |
peer |
The textual description of the network entity of LLDP peer. |
peer |
The peer chassis component of the endpoint identifier associated with the transmitting LLDP agent. |
peer |
The format and source of the peer chassis identifier string. |
peer |
The port component of the endpoint identifier associated with the transmitting LLDP agent. If the specified port is an IEEE 802.3 Repeater port, then this TLV is optional. |
peer |
The format and source of the peer port identifier string. |
PacketCounts
Containing a collection of interface-related statistics objects.
JSON representation |
---|
{ "inboundUnicast": string, "inboundErrors": string, "inboundDiscards": string, "outboundUnicast": string, "outboundErrors": string, "outboundDiscards": string } |
Fields | |
---|---|
inbound |
The number of packets that are delivered. |
inbound |
The number of inbound packets that contained errors. |
inbound |
The number of inbound packets that were chosen to be discarded even though no errors had been detected to prevent their being deliverable. |
outbound |
The total number of packets that are requested be transmitted. |
outbound |
The number of outbound packets that could not be transmitted because of errors. |
outbound |
The number of outbound packets that were chosen to be discarded even though no errors had been detected to prevent their being transmitted. |