Hi,

I'm trying many days to figure out how to implement load balancing using OvS,  
for example, I would like the incoming traffic to OvS switch will be 
automatically route to either one container, the switch looks like below:

root@kbl01:~# ovs-vsctl show
f192b4c1-f99d-4f9e-aaf3-b0547b5aec13
    Bridge yockgen-br1
        Port f29b4b10a8764_l  <-this is container 01, ip = 173.16.1.10
            Interface f29b4b10a8764_l
        Port yockgen-br1
            Interface yockgen-br1
                type: internal
        Port gre0
            Interface gre0
                type: gre
                options: {remote_ip="173.16.1.200"}
        Port "0e3fb3ce99ac4_l"
            Interface "0e3fb3ce99ac4_l" <- this container 02, ip=173.16.1.10
ovs_version: "2.15.0"

I've tried using group that from incomplete discussion from Internet:
ovs-ofctl -O openflow13 add-group yockgen-br1 "group_id=100 type=select 
selection_method=dp_hash bucket=output:3 bucket=output:2"
ovs-ofctl -O openflow13 add-flow yockgen-br1 
"table=0,ip,nw_src=173.16.2.0/24,actions=group:100"

Is it the correct direction? If so, how can I test the load balancer? I do not 
see anywhere that defined load balance generic IP address?

Thanks!



_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to