- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- NetworkStatus
- SubnetStatus
- MacsecStatus
- Try it!
Get the diagnostics of a single network resource.
HTTP request
GET https://edgenetwork.googleapis.com/v1/{name=projects/*/locations/*/zones/*/networks/*}:diagnose
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. The name of the network resource. |
Request body
The request body must be empty.
Response body
DiagnoseNetworkResponse contains the current status for a specific network.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"updateTime": string,
"result": {
object ( |
Fields | |
---|---|
update |
The time when the network status 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 network. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
NetworkStatus
NetworkStatus has a list of status for the subnets under the current network.
JSON representation |
---|
{ "subnetStatus": [ { object ( |
Fields | |
---|---|
subnet |
A list of status for the subnets under the current network. |
macsec |
The MACsec status of internal links. |
SubnetStatus
SubnetStatus contains detailed and current technical information about this subnet resource.
JSON representation |
---|
{
"name": string,
"macAddress": string,
"linkLayerAddresses": [
{
object ( |
Fields | |
---|---|
name |
The name of CCFE subnet resource. |
mac |
BVI MAC address. |
link |
A list of LinkLayerAddress, describing the ip address and corresponding link-layer address of the neighbors for this subnet. |
MacsecStatus
Denotes the status of MACsec sessions for the links of a zone.
Enums | |
---|---|
MACSEC_STATUS_UNSPECIFIED |
MACsec status not specified, likely due to missing metrics. |
SECURE |
All relevant links have at least one MACsec session up. |
UNSECURE |
At least one relevant link does not have any MACsec sessions up. |