ovn: Connect to remote lports through localnet port.
authorHan Zhou <zhouhan@gmail.com>
Fri, 26 Feb 2016 04:49:46 +0000 (20:49 -0800)
committerBen Pfaff <blp@ovn.org>
Sat, 27 Feb 2016 00:25:03 +0000 (16:25 -0800)
commit6e6c3f9188a19d4e8981eb7813dd87fa54b8e882
tree10cbbd43534070d2dea1d8cc4b7aba28df7d4977
parentfa12812602aecea6ea19561f9e00ccf5a201e82f
ovn: Connect to remote lports through localnet port.

Before this patch, inter-chassis communication between VIFs of same
lswitch will always go through tunnel, which end up of modeling a
single physical network with many lswitches and pairs of lports, and
complexity in CMS like OpenStack neutron to manage the lswitches and
lports.

With this patch, inter-chassis communication can go through physical
networks via localnet port with a 1:1 mapping between lswitches and
physical networks. The pipeline becomes:

Ingress -> Egress (local) -> Ingress (remote) -> Egress

The original tunneling mechanism will still be used if there is no
localnet port configured on the lswitch.

Signed-off-by: Han Zhou <zhouhan@gmail.com>
Acked-by: Russell Bryant <russell@ovn.org>
Signed-off-by: Ben Pfaff <blp@ovn.org>
ovn/controller/binding.c
ovn/controller/ovn-controller.c
ovn/controller/ovn-controller.h
ovn/controller/patch.c
ovn/controller/physical.c
ovn/controller/physical.h
ovn/ovn-architecture.7.xml
ovn/ovn-nb.xml
ovn/ovn-sb.xml