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

4 Bytes ASN not supported in Route-map #8009

Closed
BouchardClaude opened this issue Feb 4, 2022 · 3 comments · Fixed by #8011
Closed

4 Bytes ASN not supported in Route-map #8009

BouchardClaude opened this issue Feb 4, 2022 · 3 comments · Fixed by #8011

Comments

@BouchardClaude
Copy link

I look like 4 Bytes ASN support was added but not for route map.
Example that will fail the device parsing (ARISTA or CISCO at least) is :

route-map TEST permit 10
   match ip address prefix-list TEST1
   set as-path prepend 4294967294 4294967294

Device will parse if 4 bytes AS is in the bgp configuration, but not in a route-map

@dhalperi
Copy link
Member

dhalperi commented Feb 6, 2022

@BouchardClaude specific list of operating systems, please?

@dhalperi
Copy link
Member

dhalperi commented Feb 6, 2022

Also, are there any global configuration options that change how ASNs are handled or displayed in your configs?

Ideally, just share a full config with the issue (anonymized with netconan is okay).

dhalperi added a commit to dhalperi/batfish that referenced this issue Feb 6, 2022
Make sure ASNs are always using typed integers
Get rid of some int vs long cases
add deprecated int functions to problematic classes to catch future misuses

Likely fixes batfish#8009
@BouchardClaude
Copy link
Author

I just looked at your commit and I think you understood the issue :) will let know as soon as I can test it so we can close this one.

dhalperi added a commit to dhalperi/batfish that referenced this issue Feb 6, 2022
Make sure ASNs are always using typed integers
Get rid of some int vs long cases
add deprecated int functions to problematic classes to catch future misuses

Likely fixes batfish#8009
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 a pull request may close this issue.

2 participants