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

AdvertiseHostname not passing validation #256

Open
bonzi opened this issue Nov 14, 2024 · 0 comments
Open

AdvertiseHostname not passing validation #256

bonzi opened this issue Nov 14, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@bonzi
Copy link

bonzi commented Nov 14, 2024

Describe the bug

Setting AdvertiseHostname results in pathvector failing to generate a valid config for bird.

FATA[0005] BIRD: BIRD validation error:
        import limit AS1234_COMPANY_IMPORT_v4 action disable;
        advertise hostname on;
        ^ syntax error, unexpected ADVERTISE

Environment

  1. Output from pathvector version
Pathvector 6.3.2
Built c35220bf121f366ff05a51d93c6236e8c324d682 on 2023-06-11T07:03:14Z
No plugins
BIRD: ready.
  1. OS version
    Debian GNU/Linux 12 (bookworm) x86_64
  2. Minimum reproducible example of your Pathvector config file formatted with triple backticks with yaml language identifier
...
hostname: router.as1234.net
...
  AS112:
    asn: 112
    description: AS112
    template: downstream
    neighbors:
      - 100.100.100.112
    announce-hostname: true
...

To Reproduce
Steps to reproduce the behavior:

  1. Implement hostname, and advertise-hostname
  2. Run pathvector g
  3. See error

Expected behavior
Pathvector should generate a valid config

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant