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

policy: ImplementAsAppendAction #1637

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Conversation

fujimoto-s
Copy link
Contributor

In this PR, we implement "as-append" action which appends AS to the tail of AS_PATH.
Usage:

    $ gobgp policy statement <statement name> add action as-append <as num> <repeat num>
    [policy-definitions.statements.actions.bgp-actions.set-as-path-append]
    as = "6666"
    repeat-n = 3

Signed-off-by: Satoshi Fujimoto <[email protected]>
In this commit, we append aspath as a new AsPath instance,
instead of merging with the existing AsPath instance.
This will not violate the RFC, and is not harmful for
other BGP speakers which receive this AsPath.

Signed-off-by: Satoshi Fujimoto <[email protected]>
Signed-off-by: Satoshi Fujimoto <[email protected]>
@mrosic
Copy link

mrosic commented May 23, 2022

Would it be possible to merge this?

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.

2 participants