d05adebf30
This PR adds support for loadbalancing across a group of endpoints that share the same service configuration as passed in by `OptionService`. The loadbalancer is implemented using ipvs with just round robin scheduling supported for now. Signed-off-by: Jana Radhakrishnan <mrjana@docker.com>
19 lines
396 B
Go
19 lines
396 B
Go
// +build !linux
|
|
|
|
package libnetwork
|
|
|
|
import (
|
|
"fmt"
|
|
"net"
|
|
)
|
|
|
|
func (c *controller) addServiceBinding(name, sid, nid, eid string, vip net.IP, ip net.IP) error {
|
|
return fmt.Errorf("not supported")
|
|
}
|
|
|
|
func (c *controller) rmServiceBinding(name, sid, nid, eid string, vip net.IP, ip net.IP) error {
|
|
return fmt.Errorf("not supported")
|
|
}
|
|
|
|
func (sb *sandbox) populateLoadbalancers(ep *endpoint) {
|
|
}
|