Closed bluikko closed 1 year ago
Is arouteserver exporting or import this? If arouteserver is importing this, then it makes perfect sense that not all participants are necessarily using the route server, and thus those with routeserver
set to false
should not have a configuration built.
@rlaager The IX-F JSON file is generated by arouteserver. Since arouteserver is used to configure route server all peers are obviously route server clients.
Or maybe I am misunderstanding what you are asking.
Yeah, in that case, I agree. I am looking at this in the opposite direction, where I'm using arouteserver to import clients from a file.
Just to clarify a bit: ARouteServer can both import from and export to the IX-F JSON file.
When importing from the file, the arouteserver clients-from-euroix
sub-command already allows to skip participants for which the "routeserver" attribute is not set via the --routeserver-only
:
--routeserver-only Exclude members whose 'ixp_list.[].vlan.[].ipv[4|6].routeserver' attribute is false.
This issue is to let the tool to set the "routeserver" attribute when generating the JSON file starting from the list of clients which are configured in clients.yml. In that case, setting the attribute to true makes sense, because we're sure that all those clients are configured on the route server.
Hello,
thanks for reporting this issue and for the discussion here. I've just started the CI/CD pipeline for v1.21.0, which contains a fix. If everything goes well, the release will be pushed in about 1 hour to PyPi.
The IX-F export JSON schema includes attribute "routeserver" (bool). Since we are configuring a routeserver with the same data we know that all the peers are routeserver clients. So,
"routeserver": true
should be set for each peer in the IX-F export.Example: