Great! Thanks a lot Ben :) On Tue, May 30, 2017 at 6:57 PM, Ben Pfaff <b...@ovn.org> wrote:
> On Fri, May 26, 2017 at 12:08:43PM +0000, Daniel Alvarez wrote: > > This patch introduces a new type of OVN ports called "localport". > > These ports will be present in every hypervisor and may have the > > same IP/MAC addresses. They are not bound to any chassis and traffic > > to these ports will never go through a tunnel. > > > > Its main use case is the OpenStack metadata API support which relies > > on a local agent running on every hypervisor and serving metadata to > > VM's locally. This service is described in detail at [0]. > > > > An example to illustrate the purpose of this patch: > > > > - One logical switch sw0 with 2 ports (p1, p2) and 1 localport (lp) > > - Two hypervisors: HV1 and HV2 > > - p1 in HV1 (OVS port with external-id:iface-id="p1") > > - p2 in HV2 (OVS port with external-id:iface-id="p2") > > - lp in both hypevisors (OVS port with external-id:iface-id="lp") > > - p1 should be able to reach p2 and viceversa > > - lp on HV1 should be able to reach p1 but not p2 > > - lp on HV2 should be able to reach p2 but not p1 > > > > Explicit drop rules are inserted in table 32 with priority 150 > > in order to prevent traffic originated at a localport to go over > > a tunnel. > > > > [0] > > https://docs.openstack.org/developer/networking-ovn/ > design/metadata_api.html > > > > Signed-off-by: Daniel Alvarez <dalva...@redhat.com> > > Signed-off-by: Ben Pfaff <b...@ovn.org> > > Thanks! I'm very pleased to see us getting close to full OpenStack > support. I made some minor style fixes and applied this to master. > _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev