Skip to content

Conversation

@es
Copy link
Contributor

@es es commented Jun 29, 2018

Fixes #469

For traffic shaping purposes, you may want to prepend the AS path announced to peers.
This PR enables that on a per-node basis with annotations:

  • kube-router.io/path-prepend.as: AS number to be prepended
  • kube-router.io/path-prepend.repeat-n: number of times to prepend ASN

@es es force-pushed the support-bgp-prepend branch from b155a4a to 22fea2f Compare June 29, 2018 21:16
// "Password that cluster-node BGP servers will use to authenticate one another when \"--nodes-full-mesh\" is set.")
fs.StringVarP(&s.VLevel, "v", "v", "0", "log level for V logs")
fs.Uint16Var(&s.HealthPort, "health-port", 20244, "Health check port, 0 = Disabled")
fs.BoolVar(&s.PathPrepend, "path-prepend", false, "tktk")
Copy link
Contributor

Choose a reason for hiding this comment

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

Not sure we need this, we should just turn on path prepend if it's found in the annotations.

@es es force-pushed the support-bgp-prepend branch 4 times, most recently from b7d3e1b to 4faf426 Compare July 9, 2018 20:03
@es es force-pushed the support-bgp-prepend branch from 4faf426 to 3763be6 Compare July 9, 2018 20:04
@es es changed the title [WIP] Add Support for BGP Prepend Add Support for BGP Prepend Jul 9, 2018
@es
Copy link
Contributor Author

es commented Jul 9, 2018

PR ready for 👀

@andrewsykim
Copy link
Contributor

LGTM

@andrewsykim andrewsykim merged commit 82410c1 into cloudnativelabs:master Jul 11, 2018
@es es deleted the support-bgp-prepend branch July 11, 2018 19:30
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.

3 participants