Skip to content
Snippets Groups Projects
Unverified Commit cbf31339 authored by Nathan Johnson's avatar Nathan Johnson Committed by GitHub
Browse files

Disable BGP functionality on Windows since gobgp does not support this. (#919)

Update README
parent 4ed0d1a6
No related branches found
No related tags found
No related merge requests found
......@@ -82,9 +82,10 @@ It supports ([Full feature list](https://fabiolb.net/feature/))
* [Prometheus](https://fabiolb.net/feature/metrics/),
* [Circonus](https://fabiolb.net/feature/metrics/),
* [Graphite](https://fabiolb.net/feature/metrics/),
* [StatsD](https://fabiolb.net/feature/metrics/) and
* [DataDog](https://fabiolb.net/feature/metrics/) metrics
* [WebUI](https://fabiolb.net/feature/web-ui/)
* [StatsD](https://fabiolb.net/feature/metrics/),
* [DataDog](https://fabiolb.net/feature/metrics/) for metrics,
* [WebUI](https://fabiolb.net/feature/web-ui/) and
* [Advertising BGP anycast addresses](https://fabiolb.net/feature/bgp/) on non-windows platforms.
[Watch](https://www.youtube.com/watch?v=gf43TcWjBrE&list=PL81sUbsFNc5b-Gd59Lpz7BW0eHJBt0GvE&index=1)
Kelsey Hightower demo Consul, Nomad, Vault and fabio at HashiConf EU 2016.
......
//go:build !windows
// +build !windows
package bgp
import (
......
// +build !windows
package bgp
import (
......
package bgp
import (
"errors"
"github.com/fabiolb/fabio/config"
)
type BGPHandler struct{}
var ErrNoWindows = errors.New("cannot run bgp on windows")
func NewBGPHandler(config *config.BGP) (*BGPHandler, error) {
return nil, ErrNoWindows
}
func (bgph *BGPHandler) Start() error {
return ErrNoWindows
}
func ValidateConfig(config *config.BGP) error {
return ErrNoWindows
}
......@@ -3,6 +3,10 @@ title: "BGP"
since: "1.6.3"
---
NOTE: This feature does not work on Windows at present since the gobgp project
does not support windows.
This feature integrates the functionality of [gobgpd](https://github.com/osrg/gobgp)
with fabio. This is particularly useful in the scenario where we are using
anycast IP addresses and want to dynamically advertise to upstream routers
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment