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

Update configuration documentation #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ agent:
# Time to flush out inactive apps
cleanup_timer: 15m
# Consul api addr for dynamic discovery
consul_addr: https://consul
consul_addr: https://consul/v1
# interval to query consul for app discovery
consul_query_interval: 5m

Expand All @@ -15,6 +15,7 @@ bgp:
remote_as: 6789
# override the peer IP to use instead of auto discovering
peer_ip: 10.10.10.1
# at least 1 community must be specified
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for making this explicit ! At some point in the near future , I should probably make it optional.

Copy link

@killcity killcity Nov 29, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can more than one peer_ip be defined?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not as of today. Whats the use case ?

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use case for multiple peer_ips: on a host with redundant networking, and each top-of-rack switch having a distinct IP, I need to peer with each top-of-rack switch to ensure the service is available if one switch fails.

communities:
- asn:nnnn
- asn:nnnn
Expand Down