-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add new indexer work to check node having ipv6 #937
add new indexer work to check node having ipv6 #937
Conversation
- add generator/loader for twin ipv6 and update the schema for the new table `node_ipv6` - add handle tests for the new filter on nodes `has_ipv6` - add new indexer work to call up nodes and check if they have ipv6 - update the db filters with the `has_ipv6` filter on nodes - add default values for the flags (1 worker runs every 1 day) - update makefile with helpful command to get db dump from the dev cluster
grid-proxy/Makefile
Outdated
@@ -3,6 +3,11 @@ PQ_HOST = $(shell docker inspect -f '{{range.NetworkSettings.Networks}}{{.IPAddr | |||
PQ_CONTAINER = postgres | |||
count = 3 | |||
|
|||
NAMESPACE := tfchain-dev | |||
DB_POD := $(shell kubectl --namespace $(NAMESPACE) get pods | grep processor-db | awk '{print $$1}') | |||
DUMP_CMD := PGPASSWORD="postgres" pg_dump -U postgres tfgrid-graphql > /tmp/dump.sql |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
اتقوا الله
@@ -937,3 +937,30 @@ func (c *Crafter) GeneratePricingPolicies() error { | |||
|
|||
return err | |||
} | |||
|
|||
func (c *Crafter) GenerateNodeIpv6() error { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see this being used in generateData
. It should be, right?
…-sdk-go into development_proxy_indexer_has_ipv6
Thank you! |
afaik the chain doesn't have this info, does it? and we need to ask the node for it. |
Is it something different than the ips in the interface in tfgridmodule ?
|
i thought it was different, but checking the data on chain for different node and the responses of the rmb-call |
checked with azmy and it turns out they are different: |
Description
add new indexer work to check node having ipv6
Changes
node_ipv6
has_ipv6
has_ipv6
filter on nodesRelated Issues
Checklist