Pull FrostFS endpoints from network map #50

Open
opened 2023-03-08 23:38:12 +00:00 by snegurochka · 0 comments
Member

Original issue: https://github.com/nspcc-dev/neofs-s3-gw/issues/582

For pilot installations, @realloc suggested having list of FrostFS endpoints from network map. But address field of node info should not be used, because it is going to be internal private address.

Instead, Node can define attribute PublicEndpoints with value grpc://public1:8080,grpcs://public1:8082. Consider addresses split by , or whitespace.

S3 Gateway makes request to the side chain and receives network map. If no public endpoint is defined, then use values from config.

Original issue: https://github.com/nspcc-dev/neofs-s3-gw/issues/582 For pilot installations, @realloc suggested having list of FrostFS endpoints from network map. But [address](https://github.com/nspcc-dev/neofs-api/blob/10f18e4b69ec79991b1a2b83e212d99203f3ee1a/netmap/types.proto#L136) field of node info should not be used, because it is going to be internal private address. Instead, Node can define attribute `PublicEndpoints` with value `grpc://public1:8080,grpcs://public1:8082`. Consider addresses split by `,` or whitespace. S3 Gateway makes request to the side chain and receives network map. If no public endpoint is defined, then use values from config.
alexvanin changed title from Pull NeoFS endpoints from network map to Pull FrostFS endpoints from network map 2024-07-11 14:11:18 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-s3-gw#50
No description provided.