nspcc-dev/neofs-node

Add nearest LOCODE search in neofs-cli by IP address

Open

#2,086 opened on Nov 23, 2022

 (1 comment) (0 reactions) (0 assignees)Go (49 forks)auto 404
I3S4U4configenhancementgood first issuehelp wantedneofs-cli

Repository metrics

Stars
 (36 stars)
PR merge metrics
 (PR metrics pending)

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.

Contributor guide