Skip to content

Comments

policy: ImplementAsAppendAction#1637

Open
fujimoto-s wants to merge 5 commits intoosrg:masterfrom
fujimoto-s:add_asn
Open

policy: ImplementAsAppendAction#1637
fujimoto-s wants to merge 5 commits intoosrg:masterfrom
fujimoto-s:add_asn

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 <satoshi.fujimoto7@gmail.com>
Signed-off-by: Satoshi Fujimoto <satoshi.fujimoto7@gmail.com>
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 <satoshi.fujimoto7@gmail.com>
Signed-off-by: Satoshi Fujimoto <satoshi.fujimoto7@gmail.com>
Signed-off-by: Satoshi Fujimoto <satoshi.fujimoto7@gmail.com>
@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