nspcc-dev/neofs-node

Add nearest LOCODE search in neofs-cli by IP address

Aperta

#2086 aperta il 23 nov 2022

 (1 commento) (0 reazioni) (0 assegnatari)Go (49 fork)auto 404
I3S4U4configenhancementgood first issuehelp wantedneofs-cli

Metriche repository

Star
 (36 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor