It sounds a little like the "dummy" devices we use for testing.  Run
with --enable-dummy and set the iface type to "dummy".

On Mon, Jul 22, 2013 at 11:48:20PM +0200, Benjamin Lunsky wrote:
> I want to fake the ports so that OVS works as if the port exists, even
> though it doesn't physically.
> Ultimately it exists in another piece of hardware but OVS implementation
> has no way of knowing that at this point - it's on another hardware card
> and NIC isn't registered in the kernel under ifconfig.
> 
> On Monday, July 22, 2013, Ben Pfaff wrote:
> 
> > What do you mean by virtual port in this case?
> >
> > On Mon, Jul 22, 2013 at 11:43:19PM +0200, Benjamin Lunsky wrote:
> > > How does one add virtual ports?
> > >
> > > On Monday, July 22, 2013, Ben Pfaff wrote:
> > >
> > > > 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] <javascript:;> <javascript:;>
> > > > >
> > > > >
> > > > > ---
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > On 22 Jul 2013, at 11:05 PM, Ben Pfaff 
> > > > > <[email protected]<javascript:;><javascript:;>>
> > > > 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] <javascript:;> <javascript:;>
> > > > > >>
> > > > > >>
> > > > > >> ---
> > > > > >>
> > > > > >>
> > > > > >>
> > > > > >>
> > > > > >> On 22 Jul 2013, at 10:35 PM, Ben Pfaff 
> > > > > >> <[email protected]<javascript:;><javascript:;>>
> > > > 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

Reply via email to