On Thu, Mar 17, 2016 at 9:30 AM, Ben Pfaff <b...@ovn.org> wrote:

> On Thu, Mar 17, 2016 at 04:23:35AM -0400, Marcin Mirecki wrote:
> > I'm have a problem with OVN.
> > I'm using a build version of master, last commit was:
> a36bb33445acdbc5bfc30ecab8408dac9a99913e
> >
> >
> > I have ovn up and running, but it looks like it is generating the ovs
> flows incorrectly.
> > (you can fast forward to the PROBLEMS section at the bottom of the email)
> >
> >
> > I have a ovs/ovn env with one vm acting as a switch (a simple setup just
> to demonstrate the problem), two nics that need to be bridged:
> >
> >               VM
> >       ------------------
> >       |                |
> >       |    ovn/ovs     |
> >  <--ens8 <----------->ens9 -->
> >       |                |
> >       ------------------
> > (keeping it as simple as possible to make it less complicated)
> >
> > I'm setting it up:
> > ovn-nbctl lswitch-add sw0
> > ovn-nbctl lport-add sw0 lport8
> > ovn-nbctl lport-add sw0 lport9
> >
> > ovs-vsctl add-port br-int ens8 -- set Interface ens8
> external_ids:iface-id=lport8
> > ovs-vsctl add-port br-int ens9 -- set Interface ens9
> external_ids:iface-id=lport9
>
> It looks like you didn't tell OVN the lports' MAC addresses, with
> lport-set-addresses.  It needs that information to do switching (or you
> can tell it "unknown").


I've seen this before when helping debug setups.  It would be nice to help
catch this somehow and flag that configuration is incomplete, but I haven't
come up with any specific ideas.

-- 
Russell Bryant
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to