Hmm maybe it would be a good idea to add hostname if they are present for all nodes
I’ve been looping all nodes and printing it’s node ID and the inteface that has an ip that starts with 10.10.
As you can see from the excerpt of the result below, not all nodes seem to have an interface with that IP
Also looking at the result of the API call (underneath), ifaces returns null
I also don’t have way to map with node_id_v1
, I don’t have that data stored on files I have access to, I do have a list of the ZT IP’s but no access anymore to the ZT networks (my gig google account been deleted)
...
BSXnWFXa9HpkRbGrxzEMZCTvm6EY8685obo6Yt3yNzZ4
zos 10.10.110.127/23
eo42DKKMWY2cF6G9VG39RNRLQ5WfYoFapzE4x77a2oj
zos 10.10.110.125/23
DT2DiitgXyGKj8TFsEC8snBT7jy4ytQiPLQvqNwsjByb
7mYLPqhhdU2tP64ETpjsEyaDNFqMVRWgLijCeo8VRJnJ
eWKRy5VDbzn5mHzK6DPjr6E1N1ZHFkP2CaS6PPr1hC8
BH991CgyjBHdLb3mTqUYwnd2UTwZpDDt2RK7Us81pwBq
zos 10.10.110.11/23
7Gio9RjM4VJB421W7ci7mTLGSf3H7JYmaT5aVNrr9Nnk
A6YP8CJ2D2tqkSwCdBjHCLoDzDbkXiqCyvwsE2Vr2htW
zos 10.10.110.14/23
CeL6tZMAe7qd3EbBLTX36vPBCTV1SonrBuVNPW8k5tsN
zos 10.10.110.13/23
...
NYmbjAuE3UosHtD5Pxngz121NdYhiMrtYsCHxUXY2zd
zos 10.10.110.33/23
9VruBWdCHoQzaMfhL9Ky86NGbPuEFERmi1KT2gLH19HV
6TnVLJ7fMo2u4su4Giaf8PfB6iCnBWBsr9AwPdm9mj9k
2kTP36meeJXayRtFDV5Xs9Lv6Wg5awL7565m7dQNmm1m
zos 10.10.110.82/23
...
{
"id": 433,
"node_id": "DT2DiitgXyGKj8TFsEC8snBT7jy4ytQiPLQvqNwsjByb",
"node_id_v1": "ac1f6b457b2c",
"farm_id": 173635,
"os_version": "0.3.1",
"created": 1589209551,
"updated": 1589545463,
"uptime": 336244,
"address": "",
"location": {
"city": "Uknown",
"country": "Switzerland",
"continent": "Europe",
"latitude": 45.922,
"longitude": 8.9844
},
"total_resources": {
"cru": 8,
"mru": 63,
"hru": 0,
"sru": 22356
},
"used_resources": {
"cru": 0,
"mru": 0,
"hru": 0,
"sru": 0
},
"reserved_resources": {
"cru": 0,
"mru": 0,
"hru": 0,
"sru": 0
},
"workloads": {
"network": 0,
"volume": 0,
"zdb_namespace": 0,
"container": 0,
"k8s_vm": 0,
"proxy": 0,
"reverse_proxy": 0,
"subdomain": 0,
"delegate_domain": 0
},
"proofs": null,
"ifaces": null,
"public_config": null,
"free_to_use": false,
"approved": false,
"public_key_hex": "b8f6b90a9b55a08e2c19def83ae472242b5f5ebbac88e357a6dd6eb0a47b69ea",
"wg_ports": null
}