forked from scionproto/scion
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cs: fix beacon metadata core x-over, validate config
Fix the intra-AS metadata included for cross-over from up-segments to core-segments, to match the documented scheme (see scionproto#3963). Concretely, the core segments now contain no data for cross-over. Instead, the up/down segments now contain cross-over information to _all_ core interfaces (previously only a subset). Previously, core-segments were handled just like down segments, without taking into account that cross-over to the _ingress_ interface of the core-segment beacon also needs to be ensured; consequently, the data for the cross-over between the up- and core-segment was missing. Also, add some validation/convenience functionality for the configuration read from the staticInfoConfig.json file. Specifically, this extends missing information from the "Intra" sections to be symmetric (symmetry is an assumption of the system). Closes scionproto#3972 GitOrigin-RevId: d1cea6572623ea0f63ace7b7a9fc777dcf43d0ba
- Loading branch information
Showing
3 changed files
with
457 additions
and
191 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.