Our Roa class accepts input in the data structure supplied by rpki-client. We can support the jsonext format from routinator easily with a wrapper. However, a slight refactor of our Roa class might be convenient at the same time.
ROAs from routinator look like below (doc link). I don't know if the source array really may contain multiple ROA references but it doesn't seem like they'd put that in the file format for no reason. This needs more investigation before implementation.
Our Roa class accepts input in the data structure supplied by rpki-client. We can support the
jsonext
format from routinator easily with a wrapper. However, a slight refactor of our Roa class might be convenient at the same time.ROAs from routinator look like below (doc link). I don't know if the
source
array really may contain multiple ROA references but it doesn't seem like they'd put that in the file format for no reason. This needs more investigation before implementation.Our constructor is called like this:
Roa(**roa_dict_from_json_vrp_file)
and its argument declaration is:The rpki-client data is in a simpler format; it's what our Roa class's constructor was based on: