Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

topology: allow peering links between core-ASes #4484

Closed
matzf opened this issue Mar 12, 2024 · 2 comments · Fixed by #4605
Closed

topology: allow peering links between core-ASes #4484

matzf opened this issue Mar 12, 2024 · 2 comments · Fixed by #4605
Assignees
Labels
feature New feature or request i/help wanted Nobody is working on this at the moment i/needs investigation Issues/proposals that need to be confirmed/explored

Comments

@matzf
Copy link
Contributor

matzf commented Mar 12, 2024

Currently, the topology loader forbids core ASes from having peering links (i.e. links with "link_to": "peer"). The validation check is here:

if isCore {
switch i.LinkType {
case Core, Child:
default:
return serrors.New("Illegal link type for core AS",
"type", i.LinkType, "br", brName)
}
.
As far as I'm aware, there is no technical reason why core ASes cannot have peering links.
Core ASes should be able to have peering links to any other AS, i.e. to both core or non-core ASes in both the same or different ISDs.

@matzf matzf added i/needs investigation Issues/proposals that need to be confirmed/explored feature New feature or request i/help wanted Nobody is working on this at the moment labels Mar 12, 2024
@nicorusti
Copy link
Contributor

In the current definitions of peering links in IETF drafts we say:

Peering Link: A link between two SCION border routers of different
ASes, where at least one of the two ASes is not core.

@jiceatscion We should clarify this and how it reflects into the spec

@jiceatscion
Copy link
Contributor

jiceatscion commented Aug 30, 2024

Both Anapaya and Adrian confirm that there's no reason to prohibit peering between core ASes. So my update to the draft should stand. As for fixing the code, that's a pretty minor issue comparatively. Just change the snippet that Matthias copied here and the associated tests if any.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request i/help wanted Nobody is working on this at the moment i/needs investigation Issues/proposals that need to be confirmed/explored
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants