Hi Justin,
Below is the output of echo $PATH. The output of "make sandbox" is attached.
mqureshi@vmexa-mqureshi:~/ovs/tutorial$ echo $PATH
/tools/sw/exa_2.0/exa-tools:/usr/lib64/ccache:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/home/mqureshi/bin:/sbin
mqureshi@vmexa-mqureshi:~/ovs/tutorial$
Thanks
Maurice
-----Original Message-----
From: Justin Pettit [mailto:jpet...@ovn.org]
Sent: Wednesday, April 27, 2016 10:58 AM
To: Maurice Qureshi <maurice.qure...@calix.com>
Cc: discuss@openvswitch.org
Subject: Re: [ovs-discuss] OVN Questions
Can you show all the commands and output from when you run "make sandbox"?
Also, what does "echo $PATH" show when running in the sanbox shell?
--Justin
> On Apr 27, 2016, at 12:37 PM, Maurice Qureshi <maurice.qure...@calix.com>
> wrote:
>
> Hi Justin,
>
> None of the ovn- commands are available.
>
> mqureshi@vmexa-mqureshi:~/ovs/tutorial$ ovn-nbctl lswitch-add sw0
> ovn-nbctl: command not found
> mqureshi@vmexa-mqureshi:~/ovs/tutorial$ whereis ovn-nbctl
> ovn-nbctl:
> mqureshi@vmexa-mqureshi:~/ovs/tutorial$ which ovn-nbctl
> mqureshi@vmexa-mqureshi:~/ovs/tutorial$
>
> -----Original Message-----
> From: Justin Pettit [mailto:jpet...@ovn.org]
> Sent: Tuesday, April 26, 2016 10:51 PM
> To: Maurice Qureshi <maurice.qure...@calix.com>
> Cc: discuss@openvswitch.org
> Subject: Re: [ovs-discuss] OVN Questions
>
>
>> On Apr 26, 2016, at 8:16 PM, Maurice Qureshi <maurice.qure...@calix.com>
>> wrote:
>>
>> Have following questions on OVN
>>
>> 1. Tried to use the ovs sandbox as described in
>> http://benpfaff.org/~blp/ovn-lbnl.pdf. Got following message, but the
>> commands like ovn-nbctl are failing. Both OVN daemons (ovn-northd and
>> ovn-controller) are running in addition to ovn-controller-vtep. I am using
>> Ubuntu 14.04 LTS
>
> What error are you seeing? I checked out the latest code, and it works for
> me.
>
> --Justin
>
>
mqureshi@vmexa-mqureshi:~/ovs$ make sandbox SANDBOXFLAGS="--ovn"
make all-recursive
make[1]: Entering directory `/home/mqureshi/ovs'
Making all in datapath
make[2]: Entering directory `/home/mqureshi/ovs/datapath'
make[3]: Entering directory `/home/mqureshi/ovs/datapath'
make[3]: Leaving directory `/home/mqureshi/ovs/datapath'
make[2]: Leaving directory `/home/mqureshi/ovs/datapath'
make[2]: Entering directory `/home/mqureshi/ovs'
make[3]: Entering directory `/home/mqureshi/ovs/datapath'
make[3]: `distfiles' is up to date.
make[3]: Leaving directory `/home/mqureshi/ovs/datapath'
make[2]: Leaving directory `/home/mqureshi/ovs'
make[1]: Leaving directory `/home/mqureshi/ovs'
cd ./tutorial && MAKE=make ./ovs-sandbox -b /home/mqureshi/ovs --ovn
make[1]: Entering directory `/home/mqureshi/ovs'
/bin/mkdir -p '/home/mqureshi/ovs/tutorial/sandbox/man/man1'
/usr/bin/install -c -m 644 utilities/ovs-pcap.1 utilities/ovs-tcpundump.1
ovsdb/ovsdb-tool.1 ovsdb/ovsdb-client.1 ovsdb/ovsdb-server.1
'/home/mqureshi/ovs/tutorial/sandbox/man/man1'
/bin/mkdir -p '/home/mqureshi/ovs/tutorial/sandbox/man/man5'
/usr/bin/install -c -m 644 vswitchd/ovs-vswitchd.conf.db.5 vtep/vtep.5
ovn/ovn-sb.5 ovn/ovn-nb.5 '/home/mqureshi/ovs/tutorial/sandbox/man/man5'
/bin/mkdir -p '/home/mqureshi/ovs/tutorial/sandbox/man/man7'
/usr/bin/install -c -m 644 ovn/ovn-architecture.7
'/home/mqureshi/ovs/tutorial/sandbox/man/man7'
/bin/mkdir -p '/home/mqureshi/ovs/tutorial/sandbox/man/man8'
/usr/bin/install -c -m 644 utilities/ovs-appctl.8 utilities/ovs-ctl.8
utilities/ovs-testcontroller.8 utilities/ovs-dpctl.8 utilities/ovs-dpctl-top.8
utilities/ovs-l3ping.8 utilities/ovs-ofctl.8 utilities/ovs-parse-backtrace.8
utilities/ovs-pki.8 utilities/ovs-vlan-bug-workaround.8 utilities/ovs-test.8
utilities/ovs-vlan-test.8 utilities/ovs-vsctl.8 utilities/bugtool/ovs-bugtool.8
vswitchd/ovs-vswitchd.8 vtep/vtep-ctl.8 ovn/controller/ovn-controller.8
ovn/controller-vtep/ovn-controller-vtep.8 ovn/northd/ovn-northd.8
ovn/utilities/ovn-ctl.8 ovn/utilities/ovn-nbctl.8 ovn/utilities/ovn-sbctl.8
'/home/mqureshi/ovs/tutorial/sandbox/man/man8'
make[1]: Leaving directory `/home/mqureshi/ovs'
----------------------------------------------------------------------
You are running in a dummy Open vSwitch environment. You can use
ovs-vsctl, ovs-ofctl, ovs-appctl, and other tools to work with the
dummy switch.
This environment also has the OVN daemons and databases enabled.
You can use ovn-nbctl and ovn-sbctl to interact with the OVN databases.
Log files, pidfiles, and the configuration database are in the
"sandbox" subdirectory.
Exit the shell to kill the running daemons.
mqureshi@vmexa-mqureshi
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss