Right; the run_switch script expects the old Stanford openflow image to be installed in the peer to oftest. I think this version will work:
git clone git://gitosis.stanford.edu/openflow.git You'll need to build it which hopefully will just mean cd openflow ./boot.sh ./configure make -Dan On Wed, Jun 20, 2012 at 7:14 PM, Bob Lantz <rla...@cs.stanford.edu> wrote: > Are you sure that you have installed/placed the reference user switch (which > is not part of oftest) > in the directory where run_switch.py is expecting it? > > On Jun 20, 2012, at 5:57 PM, shreya pandita wrote: > > Hi All, > > I have the latest version of oftest installed on a machine . Its cloned from > the floodlight/oftest repo on github. I did not face any issue while > installing oftest . Now, when I run the reference switch run_switch.py which > somes along with the oftest , I see the following error message . > > [root@dev2 tests]# ./run_switch.py > Creating veth pair 0 > Creating veth pair 1 > Creating veth pair 2 > Creating veth pair 3 > Cmd: ['/sbin/ifconfig', 'veth0', '192.168.10.1', 'netmask', > '255.255.255 .0'] > Cmd: ['/sbin/ifconfig', 'veth1', '192.168.11.1', 'netmask', > '255.255.255 .0'] > Cmd: ['/sbin/ifconfig', 'veth2', '192.168.12.1', 'netmask', > '255.255.255 .0'] > Cmd: ['/sbin/ifconfig', 'veth3', '192.168.13.1', 'netmask', > '255.255.255 .0'] > Cmd: ['/sbin/ifconfig', 'veth4', '192.168.14.1', 'netmask', > '255.255.255 .0'] > Cmd: ['/sbin/ifconfig', 'veth5', '192.168.15.1', 'netmask', > '255.255.255 .0'] > Cmd: ['/sbin/ifconfig', 'veth6', '192.168.16.1', 'netmask', > '255.255.255 .0'] > Cmd: ['/sbin/ifconfig', 'veth7', '192.168.17.1', 'netmask', > '255.255.255 .0'] > ls: cannot access ../../openflow/udatapath/ofdatapath: No such file or > d irectory > Could not find datapath daemon: ../../openflow/udatapath/ofdatapath > Traceback (most recent call last): > File "./run_switch.py", line 49, in <module> > > It seems like the datapath daemon could not be found . Any solutions on the > same ? > > Thanks, > Shreya > > > _______________________________________________ > openflow-discuss mailing list > openflow-discuss@lists.stanford.edu > https://mailman.stanford.edu/mailman/listinfo/openflow-discuss > > > > _______________________________________________ > openflow-discuss mailing list > openflow-discuss@lists.stanford.edu > https://mailman.stanford.edu/mailman/listinfo/openflow-discuss > _______________________________________________ openflow-discuss mailing list openflow-discuss@lists.stanford.edu https://mailman.stanford.edu/mailman/listinfo/openflow-discuss