In the most ordinary case (as you show) the ports you add with add-port should exist as network devices.
On Mon, Jul 22, 2013 at 11:26:57PM +0200, Benjamin Lunsky wrote: > Physically no - I'm trying to add a virtual port to a virtual bridge > / switch. > > > > Benjamin Lunsky > [email protected] > > > --- > > > > > On 22 Jul 2013, at 11:05 PM, Ben Pfaff <[email protected]> wrote: > > > And does p1 exist? > > > > On Mon, Jul 22, 2013 at 11:03:42PM +0200, Benjamin Lunsky wrote: > >> The error is logged as follows: > >> ioctl(SIOCGIFINDEX) on p1 device failed: No such device > >> > >> > >> > >> > >> > >> Benjamin Lunsky > >> [email protected] > >> > >> > >> --- > >> > >> > >> > >> > >> On 22 Jul 2013, at 10:35 PM, Ben Pfaff <[email protected]> wrote: > >> > >>> On Mon, Jul 22, 2013 at 12:20:02PM +0200, Benjamin Lunsky wrote: > >>>> ovs-vsctl add-br br1 -- set bridge br1 datapath_type=netdev > >>>> ovs-vsctl add-port br1 p1 -- set interface p1 ofport_request=1 -- > >>>> > >>>> The second line causes an error in lib/netdev-linux.c in the > >>>> do_get_ifindex function - an error value of 19 is returned. > >>> > >>> No one knows what an error value of 19 means. The function logs the > >>> actual name of the error, please tell us what it is. > >> > _______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
