Skip to content

Add nodes.json filters for domain and domain_fallback_site#186

Open
RobWei wants to merge 1 commit intohopglass:masterfrom
RobWei:ffmsl_add_filter
Open

Add nodes.json filters for domain and domain_fallback_site#186
RobWei wants to merge 1 commit intohopglass:masterfrom
RobWei:ffmsl_add_filter

Conversation

@RobWei
Copy link
Copy Markdown

@RobWei RobWei commented Oct 3, 2024

Since the Gluon firmware comes with multidomain support, we have to determine the nodes of a community via the nodeinfo field "domain_code".
As an backwards compatible solution we need a "domain_fallback_site" filter to get all nodes that have not multidomain firmware yet.

The "domain_fallback_site"-Filter firstly tries to use the "domain_code" field and will fallback to the "site_code" field when not exists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant