And "ovn-nbctl" doesn't w?ork? Can you show me all the commands I've asked and
their output without any breaks
- make sandbox SANDBOXFLAGS="--ovn"
- echo $PATH
- ovn-nbctl show
Are you pulling the source code from the tip of master?
--Justin
> On Apr 28, 2016, at 1:59 PM, Maurice Qureshi <[email protected]>
> wrote:
>
> Below is the output of "make sandbox" from the time when I typed "make
> sandbox SANDBOXFLAGS="--ovn". Do I need to turn on some other flag also to
> make it more verbose.
>
> 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:~/ovs/tutorial
>
> -----Original Message-----
> From: Justin Pettit [mailto:[email protected]]
> Sent: Wednesday, April 27, 2016 8:51 PM
> To: Maurice Qureshi <[email protected]>
> Cc: [email protected]
> Subject: Re: [ovs-discuss] OVN Questions
>
> You need to run "make sandbox" as shown in the presentation. It doesn't
> matter if you run just "make" first.
>
> I noticed if I copied and pasted from those slides it didn't work properly
> because the quotes were stylized and not standard. However since you still
> haven't shown the output that I've requested a couple of times, I can't say
> for sure.
>
> --Justin
>
>
>> On Apr 27, 2016, at 8:32 PM, Maurice Qureshi <[email protected]>
>> wrote:
>>
>> Hi Justin,
>>
>> In the link "http://benpfaff.org/~blp/ovn-lbnl.pdf", there is a slide
>> titled as "Test #1 - ovs-sandbox". Based on this slide, I followed
>> these steps
>>
>> 1: git clone http://github.com/openvswitch/ovs.git
>> 2: cd ovs
>> 3a: ./boot.sh
>> 3b: ./configure
>> 3c: make
>> 4: make sandbox SANDBOXFLAGS="--ovn"
>>
>> Should I have done "make sandbox", instead of "make" in step "3c" above.
>> These slides may be old, so I may be missing some important step.
>>
>> Thanks
>> Maurice
>>
>> -----Original Message-----
>> From: Justin Pettit [mailto:[email protected]]
>> Sent: Wednesday, April 27, 2016 3:02 PM
>> To: Maurice Qureshi <[email protected]>
>> Cc: [email protected]
>> Subject: Re: [ovs-discuss] OVN Questions
>>
>> It doesn't look like it got started properly. Can you provide all the output
>> starting from when you type "make sandbox"?
>>
>> --Justin
>>
>>
>>> On Apr 27, 2016, at 4:53 PM, Maurice Qureshi <[email protected]>
>>> wrote:
>>>
>>> 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:[email protected]]
>>> Sent: Wednesday, April 27, 2016 10:58 AM
>>> To: Maurice Qureshi <[email protected]>
>>> Cc: [email protected]
>>> 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 <[email protected]>
>>>> 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:[email protected]]
>>>> Sent: Tuesday, April 26, 2016 10:51 PM
>>>> To: Maurice Qureshi <[email protected]>
>>>> Cc: [email protected]
>>>> Subject: Re: [ovs-discuss] OVN Questions
>>>>
>>>>
>>>>> On Apr 26, 2016, at 8:16 PM, Maurice Qureshi <[email protected]>
>>>>> 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
>>>
>>> <make_sandbox.txt>
>>
>
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss