Skip to content

Apply color to new Yellow network state #718

@ausias-armesto

Description

@ausias-armesto

The hoprd v4 network health seem that now can return a Yellow state:

Enum definition: https://github.com/hoprnet/hoprnet/blob/master/hopr/api/src/network/types.rs#L12

Example of request:
https://rotsee-node-2.core-team.rotsee.hoprnet.link/api/v4/node/info

 {
    "announcedAddress": [
        "/ip4/34.179.160.247/tcp/9091"
    ],
    "listeningAddress": [
        "/ip4/34.179.160.247/tcp/9091"
    ],
    "providerUrl": "http://blokli-rotsee.blokli.svc:8080",
    "hoprNetworkName": "rotsee",
    "hoprNodeSafe": "0xA786E17665047b7Bf1FbC314e9fcBf67558c8f2c",
    "connectivityStatus": "Yellow",
    "channelClosurePeriod": 300
}

AdminUI should apply the specific yellow color.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions