This PR changes the ASPA implementation to the new versions of the Internet drafts.
It changes the ASPA object in the repository module to profile draft version 15. For RTR, it drops the address family attribute but sticks to the PDU format in the old draft and just always sets the AFI flags to zero.
Because the provider AS set is now essentially an encoded version of SmallAsnSet, the PR also adds a conversion from the former into the latter that omits the unnecessary checks.
The code now also enforces a non-empty provider AS set upon parsing.
This PR changes the ASPA implementation to the new versions of the Internet drafts.
It changes the ASPA object in the repository module to profile draft version 15. For RTR, it drops the address family attribute but sticks to the PDU format in the old draft and just always sets the AFI flags to zero.
Because the provider AS set is now essentially an encoded version of
SmallAsnSet
, the PR also adds a conversion from the former into the latter that omits the unnecessary checks.The code now also enforces a non-empty provider AS set upon parsing.