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

[doc] BFD/SCION protocol specification #3873

Merged
merged 1 commit into from
Sep 15, 2020
Merged

[doc] BFD/SCION protocol specification #3873

merged 1 commit into from
Sep 15, 2020

Conversation

sustrik
Copy link
Contributor

@sustrik sustrik commented Sep 11, 2020

This change is Reviewable

Copy link
Collaborator

@lukedirtwalker lukedirtwalker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 3 of 3 files at r1.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @sustrik)


doc/protocols/scion-header.rst, line 58 at r1 (raw file):

    The PathType specifies the SCION path type with up to 256 different types.
    The format of each path type is independent of each other. The initially
    proposed SCION path types are SCION (0), OneHopPath (1), EPIC (2) and

Can we also change this here? Empty = 0, SCION = 1, OHP = 2, etc ?

Copy link
Contributor Author

@sustrik sustrik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @lukedirtwalker)


doc/protocols/scion-header.rst, line 58 at r1 (raw file):

Previously, lukedirtwalker (Lukas Vogel) wrote…

Can we also change this here? Empty = 0, SCION = 1, OHP = 2, etc ?

Done.

Copy link
Collaborator

@lukedirtwalker lukedirtwalker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 2 of 2 files at r2.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@sustrik sustrik requested review from sgmonroy and shitz September 11, 2020 08:59
@karampok
Copy link
Contributor


doc/protocols/bfd.rst, line 45 at r2 (raw file):

SCION router instance creates one "external" BFD session for each SCION
interface that it owns. Its BFD peer is the SCION router in the neighbouring
AS. The associated BFD packets must use SCION OneHopPath type.

what is the content of the OneHopPath? and how is it being used?

@karampok
Copy link
Contributor


doc/protocols/bfd.rst, line 54 at r2 (raw file):

EmptyPath type.

These BFD sessions are uniquely identified by the source address, as it appears

The source address as it appears in the SCION header is the same address we have when we initialize the router?

Copy link
Contributor Author

@sustrik sustrik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: all files reviewed, 3 unresolved discussions (waiting on @karampok, @sgmonroy, and @shitz)


doc/protocols/bfd.rst, line 45 at r2 (raw file):

Previously, karampok (Konstantinos) wrote…

what is the content of the OneHopPath? and how is it being used?

That's part of SCION header specification: https://internal.docs.anapaya.net/en/latest/src/protocols/scion-header.html#path-type-onehoppath


doc/protocols/bfd.rst, line 54 at r2 (raw file):

Previously, karampok (Konstantinos) wrote…

The source address as it appears in the SCION header is the same address we have when we initialize the router?
https://github.com/Anapaya/scion/blob/anapaya/go/pkg/router/connector.go#L63

yes


doc/protocols/bfd.rst, line 54 at r2 (raw file):

Previously, karampok (Konstantinos) wrote…

The source address as it appears in the SCION header is the same address we have when we initialize the router?

yes

Copy link
Contributor

@shitz shitz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: all files reviewed, 11 unresolved discussions (waiting on @karampok, @sgmonroy, and @sustrik)


doc/protocols/bfd.rst, line 24 at r2 (raw file):

    | SCION address header |
    +----------------------+
    |      SCION path      |

header


doc/protocols/bfd.rst, line 35 at r2 (raw file):

be

by


doc/protocols/bfd.rst, line 45 at r2 (raw file):

Previously, sustrik (Martin Sustrik) wrote…

That's part of SCION header specification: https://internal.docs.anapaya.net/en/latest/src/protocols/scion-header.html#path-type-onehoppath

Maybe add a link to the spec. Also, use https://scion.docs.anapaya.net/...


doc/protocols/bfd.rst, line 48 at r2 (raw file):

was received on.

Theoretically, you could have multiple remote IFIDs per local IFID, thus it's the combination of IFIDs that uniquely identify the session.


doc/protocols/bfd.rst, line 50 at r2 (raw file):

SCION border router

SCION router


doc/protocols/bfd.rst, line 52 at r2 (raw file):

EmptyPath type

Also add a link to the spec.


doc/protocols/bfd.rst, line 58 at r2 (raw file):

border router.

SCION router


doc/protocols/scion-header.rst, line 411 at r2 (raw file):

It has no additional fields.

..., i.e., it consumes 0 bytes on the wire.


doc/protocols/scion-header.rst, line 412 at r2 (raw file):

Keep in mind that address header is still present and must be correctly filled in.

This sentence is superfluous. The path has nothing to do with the address header.

Copy link
Contributor Author

@sustrik sustrik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: all files reviewed, 10 unresolved discussions (waiting on @karampok, @sgmonroy, and @shitz)


doc/protocols/bfd.rst, line 24 at r2 (raw file):

Previously, shitz (Samuel Hitz) wrote…

header

Done.


doc/protocols/bfd.rst, line 35 at r2 (raw file):

Previously, shitz (Samuel Hitz) wrote…
be

by

Done.


doc/protocols/bfd.rst, line 48 at r2 (raw file):

Previously, shitz (Samuel Hitz) wrote…
was received on.

Theoretically, you could have multiple remote IFIDs per local IFID, thus it's the combination of IFIDs that uniquely identify the session.

There's only one remote IFID, as discussed in person.


doc/protocols/bfd.rst, line 50 at r2 (raw file):

Previously, shitz (Samuel Hitz) wrote…
SCION border router

SCION router

Done.


doc/protocols/bfd.rst, line 52 at r2 (raw file):

Previously, shitz (Samuel Hitz) wrote…
EmptyPath type

Also add a link to the spec.

Done.


doc/protocols/bfd.rst, line 58 at r2 (raw file):

Previously, shitz (Samuel Hitz) wrote…
border router.

SCION router

Done.


doc/protocols/scion-header.rst, line 411 at r2 (raw file):

Previously, shitz (Samuel Hitz) wrote…
It has no additional fields.

..., i.e., it consumes 0 bytes on the wire.

Done.


doc/protocols/scion-header.rst, line 412 at r2 (raw file):

Previously, shitz (Samuel Hitz) wrote…
Keep in mind that address header is still present and must be correctly filled in.

This sentence is superfluous. The path has nothing to do with the address header.

Done.

Copy link
Contributor

@shitz shitz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 2 of 2 files at r3.
Reviewable status: all files reviewed, 3 unresolved discussions (waiting on @karampok, @sgmonroy, and @sustrik)


doc/protocols/bfd.rst, line 40 at r3 (raw file):

Bootstrapping in SCION Router

Somewhere you should mention that Your Discrimantor (or My Discriminator in the reply packet) is chosen randomly.

Copy link
Contributor Author

@sustrik sustrik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: 2 of 3 files reviewed, 3 unresolved discussions (waiting on @karampok, @sgmonroy, and @shitz)


doc/protocols/bfd.rst, line 40 at r3 (raw file):

Previously, shitz (Samuel Hitz) wrote…
Bootstrapping in SCION Router

Somewhere you should mention that Your Discrimantor (or My Discriminator in the reply packet) is chosen randomly.

Done.

Copy link
Contributor

@karampok karampok left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 1 of 1 files at r4.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @sgmonroy and @shitz)

Copy link
Contributor

@shitz shitz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @sgmonroy)

@sustrik sustrik merged commit c94a245 into scionproto:master Sep 15, 2020
@sustrik sustrik deleted the bfdspec branch September 23, 2020 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants