nspcc-dev/neofs-node

Add nearest LOCODE search in neofs-cli by IP address

Ouverte

#2 086 ouverte le 23 nov. 2022

 (1 commentaire) (0 réaction) (0 personne assignée)Go (49 forks)auto 404
I3S4U4configenhancementgood first issuehelp wantedneofs-cli

Métriques du dépôt

Stars
 (36 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

On NeoFS Storage node set up, the administrator needs to set the LOCODE for the node in configuration file. Now there is no easy way to find nearest LOCODE known to NeoFS InnerRing.

We need to add and option to neofs-cli, providing a list of nearest LOCODEs by taking an IP address from the command line arguments, finding the location via some public GeoIP DB and then finding the best matching LOCODE.

Guide contributeur