Hi Darrell,
I checked and it looks similar to your
+
PATH=/home/mqureshi/ovs/ovn/controller:/home/mqureshi/ovs/ovn/controller-vtep:/home/mqureshi/ovs/ovn/northd:/home/mqureshi/ovs/ovn/utilities:/home/mqureshi/ovs/ovsdb:/home/mqureshi/ovs/vswitchd:/home/mqureshi/ovs/utilities:/home/mqureshi/ovs/vtep:/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
+ export PATH
The difference I see is that in your case, the build directory is
"openvswitch/ovs/_gcc" whereas in my case it is simply "ovs". I have attached
the full output of " sh -x ../tutorial/ovs-sandbox --ovn" command.
Have two questions.
1. Do I need to install the openvswitch before installing the ovn-sandbox. I
think the sandbox does that for you as I see all the necessary daemons running
(ovs-vswitchd, ovsdb-server, ovn-northd, ovn-controller, ovn-controller-vtep)
2. Looks like this sandbox runs its own shell. But "echo $SHELL" still shows
"bash" as shell. Is that correct?
mqureshi@vmexa-mqureshi:~/ovs$ echo $SHELL
/bin/bash
mqureshi@vmexa-mqureshi:~/ovs$
3. What if I just wanted to install OVN directly without sandbox, how can I do
that (something similar to "sudo apt-get install openvswitch-switch"). Most of
the documentation about OVN on Google is about the sandbox.
Thanks
Maurice
-----Original Message-----
From: Darrell Ball [mailto:db...@vmware.com]
Sent: Thursday, April 28, 2016 5:35 PM
To: Maurice Qureshi <maurice.qure...@calix.com>; Justin Pettit <jpet...@ovn.org>
Cc: discuss@openvswitch.org
Subject: Re: [ovs-discuss] OVN Questions
Since the path is not being updated correctly, from build directory (in my case
ovs/_gcc), check and show the output of
sh -x ../tutorial/ovs-sandbox --ovn
Output should include something similar to below
.
.
+ PATH=/home/dball/openvswitch/ovs/_gcc/ovn/controller:/home/dball/openv
+ switch/ovs/_gcc/ovn/controller-vtep:/home/dball/openvswitch/ovs/_gcc/o
+ vn/northd:/home/dball/openvswitch/ovs/_gcc/ovn/utilities:/home/dball/o
+ penvswitch/ovs/_gcc/ovsdb:/home/dball/openvswitch/ovs/_gcc/vswitchd:/h
+ ome/dball/openvswitch/ovs/_gcc/utilities:/home/dball/openvswitch/ovs/_
+ gcc/vtep:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ export PATH
.
.
On 4/28/16, 1:01 PM, "discuss on behalf of Maurice Qureshi"
<discuss-boun...@openvswitch.org on behalf of maurice.qure...@calix.com> wrote:
>Hi Justin,
>
>As you can see from the logs below,
>
>1. ovn-nbctl doesn't work
>2. The output of all the commands you have asked for is provided
>without any breaks 3. "git log" shows the last commit of Apr. 27th
>
>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$ 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$ ovn-nbctl show
>ovn-nbctl: command not found
>mqureshi@vmexa-mqureshi:~/ovs/tutorial$ git log commit
>a78350d91a67f977608c2f47b4b17d6e045e7930
>Author: Pravin B Shelar <pshe...@ovn.org>
>Date: Wed Apr 27 14:57:33 2016 -0700
>
> stt: linearize for CONFIG_SLUB case
>
>
>-----Original Message-----
>From: Justin Pettit [mailto:jpet...@ovn.org]
>Sent: Thursday, April 28, 2016 12:11 PM
>To: Maurice Qureshi <maurice.qure...@calix.com>
>Cc: discuss@openvswitch.org
>Subject: Re: [ovs-discuss] OVN Questions
>
>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 <maurice.qure...@calix.com>
>> 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:jpet...@ovn.org]
>> Sent: Wednesday, April 27, 2016 8:51 PM
>> To: Maurice Qureshi <maurice.qure...@calix.com>
>> Cc: discuss@openvswitch.org
>> 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 <maurice.qure...@calix.com>
>>> wrote:
>>>
>>> Hi Justin,
>>>
>>> In the link
>>> "https://urldefense.proofpoint.com/v2/url?u=http-3A__benpfaff.org_-7
>>> Eblp_ovn-2Dlbnl.pdf&d=BQIGaQ&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNt
>>> Xt-uEs&r=dGZmbKhBG9tJHY4odedsGA&m=h-7ifxFpG2ex-XB1MvTQ7hWetF2L7yBDPw
>>> 0hJkPT4E8&s=qkb1Bdud9DEKR0ds7WsyvCJOd_EcXrZSrYKT9ZV15R0&e= ", there
>>> is a slide titled as "Test #1 - ovs-sandbox". Based on this slide, I
>>> followed these steps
>>>
>>> 1: git clone
>>> https://urldefense.proofpoint.com/v2/url?u=http-3A__github.com_openv
>>> switch_ovs.git&d=BQIGaQ&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uE
>>> s&r=dGZmbKhBG9tJHY4odedsGA&m=h-7ifxFpG2ex-XB1MvTQ7hWetF2L7yBDPw0hJkP
>>> T4E8&s=vNl5O-6U1y_qyt69zrgI7bInTAHaMDsy0Nk_mc1hymA&e=
>>> 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:jpet...@ovn.org]
>>> Sent: Wednesday, April 27, 2016 3:02 PM
>>> To: Maurice Qureshi <maurice.qure...@calix.com>
>>> Cc: discuss@openvswitch.org
>>> 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 <maurice.qure...@calix.com>
>>>> 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: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
>>>>>> https://urldefense.proofpoint.com/v2/url?u=http-3A__benpfaff.org_-7Eblp_ovn-2Dlbnl.pdf&d=BQIGaQ&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=dGZmbKhBG9tJHY4odedsGA&m=h-7ifxFpG2ex-XB1MvTQ7hWetF2L7yBDPw0hJkPT4E8&s=qkb1Bdud9DEKR0ds7WsyvCJOd_EcXrZSrYKT9ZV15R0&e=
>>>>>> . 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
>discuss@openvswitch.org
>https://urldefense.proofpoint.com/v2/url?u=http-3A__openvswitch.org_mai
>lman_listinfo_discuss&d=BQIGaQ&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=dGZmbKhBG9tJHY4odedsGA&m=h-7ifxFpG2ex-XB1MvTQ7hWetF2L7yBDPw0hJkPT4E8&s=NHLZJ93vwRCOZ-nh0yGFIv1__R2mcjdUDxm9icqw2MA&e=
mqureshi@vmexa-mqureshi:~/ovs$ sh -x tutorial/ovs-sandbox --ovn
+ set -e
+ gdb_vswitchd=false
+ gdb_ovsdb=false
+ gdb_vswitchd_ex=false
+ gdb_ovsdb_ex=false
+ gdb_ovn_northd=false
+ gdb_ovn_northd_ex=false
+ gdb_ovn_controller=false
+ gdb_ovn_controller_ex=false
+ gdb_ovn_controller_vtep=false
+ gdb_ovn_controller_vtep_ex=false
+ builddir=
+ srcdir=
+ schema=
+ installed=false
+ built=false
+ ovn=false
+ ovnsb_schema=
+ ovnnb_schema=
+ for option in '"$@"'
+ test -n ''
+ case $option in
+ optarg=yes
+ case $dashdash$option in
+ ovn=true
+ shift
+ false
+ false
+ false
+ test -e vswitchd/ovs-vswitchd
+ built=:
+ builddir=.
+ :
+ test '!' -e ./vswitchd/ovs-vswitchd
++ cd .
++ pwd
+ builddir=/home/mqureshi/ovs
+ case $srcdir in
+ srcdir=/home/mqureshi/ovs
+ test '!' -e /home/mqureshi/ovs/WHY-OVS.md
+ schema=/home/mqureshi/ovs/vswitchd/vswitch.ovsschema
+ test '!' -e /home/mqureshi/ovs/vswitchd/vswitch.ovsschema
+ true
+ ovnsb_schema=/home/mqureshi/ovs/ovn/ovn-sb.ovsschema
+ test '!' -e /home/mqureshi/ovs/ovn/ovn-sb.ovsschema
+ ovnnb_schema=/home/mqureshi/ovs/ovn/ovn-nb.ovsschema
+ test '!' -e /home/mqureshi/ovs/ovn/ovn-nb.ovsschema
+ vtep_schema=/home/mqureshi/ovs/vtep/vtep.ovsschema
+ test '!' -e /home/mqureshi/ovs/vtep/vtep.ovsschema
+ test '!' -e /home/mqureshi/ovs/vswitchd/ovs-vswitchd
+
PATH=/home/mqureshi/ovs/ovsdb:/home/mqureshi/ovs/vswitchd:/home/mqureshi/ovs/utilities:/home/mqureshi/ovs/vtep:/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
+ true
+
PATH=/home/mqureshi/ovs/ovn/controller:/home/mqureshi/ovs/ovn/controller-vtep:/home/mqureshi/ovs/ovn/northd:/home/mqureshi/ovs/ovn/utilities:/home/mqureshi/ovs/ovsdb:/home/mqureshi/ovs/vswitchd:/home/mqureshi/ovs/utilities:/home/mqureshi/ovs/vtep:/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
+ export PATH
+ rm -rf sandbox
+ mkdir sandbox
++ cd sandbox
++ pwd
+ sandbox=/home/mqureshi/ovs/sandbox
+ OVS_RUNDIR=/home/mqureshi/ovs/sandbox
+ export OVS_RUNDIR
+ OVS_LOGDIR=/home/mqureshi/ovs/sandbox
+ export OVS_LOGDIR
+ OVS_DBDIR=/home/mqureshi/ovs/sandbox
+ export OVS_DBDIR
+ OVS_SYSCONFDIR=/home/mqureshi/ovs/sandbox
+ export OVS_SYSCONFDIR
+ :
+ cd /home/mqureshi/ovs
+ make install-man mandir=/home/mqureshi/ovs/sandbox/man
make[1]: Entering directory `/home/mqureshi/ovs'
/bin/mkdir -p '/home/mqureshi/ovs/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/sandbox/man/man1'
/bin/mkdir -p '/home/mqureshi/ovs/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/sandbox/man/man5'
/bin/mkdir -p '/home/mqureshi/ovs/sandbox/man/man7'
/usr/bin/install -c -m 644 ovn/ovn-architecture.7
'/home/mqureshi/ovs/sandbox/man/man7'
/bin/mkdir -p '/home/mqureshi/ovs/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/sandbox/man/man8'
make[1]: Leaving directory `/home/mqureshi/ovs'
+ MANPATH=/home/mqureshi/ovs/sandbox/man:
+ export MANPATH
+ trap 'kill `cat "$sandbox"/*.pid`' 0 1 2 3 13 14 15
+ touch /home/mqureshi/ovs/sandbox/.conf.db.~lock~
+ run ovsdb-tool create conf.db /home/mqureshi/ovs/vswitchd/vswitch.ovsschema
+ cd /home/mqureshi/ovs/sandbox
+ ovsdb-tool create conf.db /home/mqureshi/ovs/vswitchd/vswitch.ovsschema
+ ovsdb_server_args=
+ true
+ touch /home/mqureshi/ovs/sandbox/.ovnsb.db.~lock~
+ touch /home/mqureshi/ovs/sandbox/.ovnnb.db.~lock~
+ run ovsdb-tool create ovnsb.db /home/mqureshi/ovs/ovn/ovn-sb.ovsschema
+ cd /home/mqureshi/ovs/sandbox
+ ovsdb-tool create ovnsb.db /home/mqureshi/ovs/ovn/ovn-sb.ovsschema
+ run ovsdb-tool create ovnnb.db /home/mqureshi/ovs/ovn/ovn-nb.ovsschema
+ cd /home/mqureshi/ovs/sandbox
+ ovsdb-tool create ovnnb.db /home/mqureshi/ovs/ovn/ovn-nb.ovsschema
+ run ovsdb-tool create vtep.db /home/mqureshi/ovs/vtep/vtep.ovsschema
+ cd /home/mqureshi/ovs/sandbox
+ ovsdb-tool create vtep.db /home/mqureshi/ovs/vtep/vtep.ovsschema
+ ovsdb_server_args='vtep.db conf.db'
+ ovsdb_sb_server_args=ovnsb.db
+ ovsdb_nb_server_args=ovnnb.db
+ rungdb false false ovsdb-server --detach --no-chdir --pidfile -vconsole:off
--log-file --remote=punix:/home/mqureshi/ovs/sandbox/db.sock vtep.db conf.db
+ under_gdb=false
+ gdb_run=false
+ shift
+ shift
+ false
+ run ovsdb-server --detach --no-chdir --pidfile -vconsole:off --log-file
--remote=punix:/home/mqureshi/ovs/sandbox/db.sock vtep.db conf.db
+ cd /home/mqureshi/ovs/sandbox
+ ovsdb-server --detach --no-chdir --pidfile -vconsole:off --log-file
--remote=punix:/home/mqureshi/ovs/sandbox/db.sock vtep.db conf.db
+ true
+ rungdb false false ovsdb-server --detach --no-chdir
--pidfile=/home/mqureshi/ovs/sandbox/ovnnb_db.pid -vconsole:off
--log-file=/home/mqureshi/ovs/sandbox/ovnnb_db.log
--remote=punix:/home/mqureshi/ovs/sandbox/ovnnb_db.sock ovnnb.db
+ under_gdb=false
+ gdb_run=false
+ shift
+ shift
+ false
+ run ovsdb-server --detach --no-chdir
--pidfile=/home/mqureshi/ovs/sandbox/ovnnb_db.pid -vconsole:off
--log-file=/home/mqureshi/ovs/sandbox/ovnnb_db.log
--remote=punix:/home/mqureshi/ovs/sandbox/ovnnb_db.sock ovnnb.db
+ cd /home/mqureshi/ovs/sandbox
+ ovsdb-server --detach --no-chdir
--pidfile=/home/mqureshi/ovs/sandbox/ovnnb_db.pid -vconsole:off
--log-file=/home/mqureshi/ovs/sandbox/ovnnb_db.log
--remote=punix:/home/mqureshi/ovs/sandbox/ovnnb_db.sock ovnnb.db
+ rungdb false false ovsdb-server --detach --no-chdir
--pidfile=/home/mqureshi/ovs/sandbox/ovnsb_db.pid -vconsole:off
--log-file=/home/mqureshi/ovs/sandbox/ovnsb_db.log
--remote=punix:/home/mqureshi/ovs/sandbox/ovnsb_db.sock ovnsb.db
+ under_gdb=false
+ gdb_run=false
+ shift
+ shift
+ false
+ run ovsdb-server --detach --no-chdir
--pidfile=/home/mqureshi/ovs/sandbox/ovnsb_db.pid -vconsole:off
--log-file=/home/mqureshi/ovs/sandbox/ovnsb_db.log
--remote=punix:/home/mqureshi/ovs/sandbox/ovnsb_db.sock ovnsb.db
+ cd /home/mqureshi/ovs/sandbox
+ ovsdb-server --detach --no-chdir
--pidfile=/home/mqureshi/ovs/sandbox/ovnsb_db.pid -vconsole:off
--log-file=/home/mqureshi/ovs/sandbox/ovnsb_db.log
--remote=punix:/home/mqureshi/ovs/sandbox/ovnsb_db.sock ovnsb.db
+ sleep 0.1
+ test '!' -e /home/mqureshi/ovs/sandbox/db.sock
+ run ovs-vsctl --no-wait -- init
+ cd /home/mqureshi/ovs/sandbox
+ ovs-vsctl --no-wait -- init
+ rungdb false false ovs-vswitchd --detach --no-chdir --pidfile -vconsole:off
--log-file --enable-dummy=override -vvconn -vnetdev_dummy
+ under_gdb=false
+ gdb_run=false
+ shift
+ shift
+ false
+ run ovs-vswitchd --detach --no-chdir --pidfile -vconsole:off --log-file
--enable-dummy=override -vvconn -vnetdev_dummy
+ cd /home/mqureshi/ovs/sandbox
+ ovs-vswitchd --detach --no-chdir --pidfile -vconsole:off --log-file
--enable-dummy=override -vvconn -vnetdev_dummy
+ true
+ ovs-vsctl set open .
external-ids:system-id=56b18105-5706-46ef-80c4-ff20979ab068
+ ovs-vsctl set open . external-ids:hostname=sandbox
+ ovs-vsctl set open .
external-ids:ovn-remote=unix:/home/mqureshi/ovs/sandbox/ovnsb_db.sock
+ ovs-vsctl set open . external-ids:ovn-encap-type=geneve
+ ovs-vsctl set open . external-ids:ovn-encap-ip=127.0.0.1
+ rungdb false false ovn-northd --detach --no-chdir --pidfile -vconsole:off
--log-file --ovnsb-db=unix:/home/mqureshi/ovs/sandbox/ovnsb_db.sock
--ovnnb-db=unix:/home/mqureshi/ovs/sandbox/ovnnb_db.sock
+ under_gdb=false
+ gdb_run=false
+ shift
+ shift
+ false
+ run ovn-northd --detach --no-chdir --pidfile -vconsole:off --log-file
--ovnsb-db=unix:/home/mqureshi/ovs/sandbox/ovnsb_db.sock
--ovnnb-db=unix:/home/mqureshi/ovs/sandbox/ovnnb_db.sock
+ cd /home/mqureshi/ovs/sandbox
+ ovn-northd --detach --no-chdir --pidfile -vconsole:off --log-file
--ovnsb-db=unix:/home/mqureshi/ovs/sandbox/ovnsb_db.sock
--ovnnb-db=unix:/home/mqureshi/ovs/sandbox/ovnnb_db.sock
+ rungdb false false ovn-controller --detach --no-chdir --pidfile -vconsole:off
--log-file
+ under_gdb=false
+ gdb_run=false
+ shift
+ shift
+ false
+ run ovn-controller --detach --no-chdir --pidfile -vconsole:off --log-file
+ cd /home/mqureshi/ovs/sandbox
+ ovn-controller --detach --no-chdir --pidfile -vconsole:off --log-file
+ rungdb false false ovn-controller-vtep --detach --no-chdir --pidfile
-vconsole:off --log-file
--ovnsb-db=unix:/home/mqureshi/ovs/sandbox/ovnsb_db.sock
+ under_gdb=false
+ gdb_run=false
+ shift
+ shift
+ false
+ run ovn-controller-vtep --detach --no-chdir --pidfile -vconsole:off
--log-file --ovnsb-db=unix:/home/mqureshi/ovs/sandbox/ovnsb_db.sock
+ cd /home/mqureshi/ovs/sandbox
+ ovn-controller-vtep --detach --no-chdir --pidfile -vconsole:off --log-file
--ovnsb-db=unix:/home/mqureshi/ovs/sandbox/ovnsb_db.sock
+ cat
----------------------------------------------------------------------
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.
+ true
+ cat
This environment also has the OVN daemons and databases enabled.
You can use ovn-nbctl and ovn-sbctl to interact with the OVN databases.
+ cat
Log files, pidfiles, and the configuration database are in the
"sandbox" subdirectory.
Exit the shell to kill the running daemons.
+ status=0
+ /bin/bash
mqureshi@vmexa-mqureshi:~/ovs$
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss