Skip to content

flowspec: Add sub-command for FlowSpec with SR Policy #2903

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

y-kzm
Copy link

@y-kzm y-kzm commented Mar 30, 2025

This PR adds sub-command for FlowSpec with SR Policy as defined in draft-ietf-idr-ts-flowspec-srv6-policy-05.

  • Usage Examples:

    $ gobgp global rib -a ipv6-flowspec add match destination 2001:db8::/64 then redirect fd00:1::1:0 color 100 prefix 2001:db8:2:2::/64 locator-node-length 24 function-length 16 behavior END_DT6
    $ gobgp global rib -a ipv6-flowspec
       Network                        Next Hop             AS_PATH              Age        Attrs
    *> [destination: 2001:db8::/64/0] fictitious                                00:00:21   [{Origin: ?} {Extcomms: [100]} {Extcomms: [redirect: fd00:1::1:0]} {Prefix SID attributes: {SRv6 L3 Service Attribute: {SRv6 Information Sub TLV: SID: 2001:db8:2:2:: Flag: 0 Endpoint Behavior: 18 {SRv6 Structure Sub Sub TLV: [ Locator Block Length: 64, Locator Node Length: 24, Function Length: 16, Argument Length: 0, Transposition Length: 0, Transposition Offset: 0] } } } }]
    
    $ gobgp global rib -a ipv6-flowspec add match destination 2001:db8::/64 then redirect fd00:1::1:0 color 100
    $ gobgp global rib -a ipv6-flowspec
       Network                        Next Hop             AS_PATH              Age        Attrs
    *> [destination: 2001:db8::/64/0] fictitious                                00:00:02   [{Origin: ?} {Extcomms: [100]} {Extcomms: [redirect: fd00:1::1:0]}]
    

@y-kzm y-kzm force-pushed the draft-ietf-idr-ts-flowspec-srv6-policy-05 branch from bb2d71f to 3b56f5a Compare April 3, 2025 07:39
@y-kzm
Copy link
Author

y-kzm commented Apr 3, 2025

@fujita I've fixed the flowspec error.
But I couldn't find the cause of the error in graceful-restart.
I tried to replicate it locally, but it didn't occur. I think it might be a temporary issue.
Could you rerun the workflow?

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.

1 participant