On Fri, Apr 22, 2016 at 04:14:25PM +0800, Huang Lei wrote:
> From: Huang Lei <lhua...@ebay.com>
> 
> Add a local address option for ovn-controller's TCP socket which
> connect to southbound ovsdb-server.
> 
> In a test environment, an interface may have multiple IP addresses
> in same subnet, if TCP client socket doesn't call bind() explicitly,
> OS chooses an ip and port for it, and the IP is the primary IP of
> the subnet on an interface. With this patch, a secondary IP of the
> subnet can be used as local address of TCP connection.
> 
> Signed-off-by: Huang Lei <lhua...@ebay.com>

Why not just extend the syntax for streams to allow a local address (and
possibly local port) to be specified?
e.g. remote-ip:remote-port:local-ip:local-port.
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to