[ovs-dev] [PATCH] ovs-sandbox: use the $schema var for creating the db.
Ben Pfaff
blp at nicira.com
Wed May 1 19:27:02 UTC 2013
I couldn't apply this from the email for some reason (whitespace
damage?) but since it was a one-liner I fixed it up.
Thanks a lot! Applied to master and branch-1.11.
On Wed, May 01, 2013 at 11:50:08AM -0700, Duffie Cooley wrote:
> Found a bug in the ovs-sandbox script. We should use the well
> defined $schema var to create the db. Not the $srcdir/dir stuff.
>
> Thanks,
>
> Duffie
>
>
>
> Signed-off-by: Duffie Cooley <dcooley at nicira.com>
> ---
> tutorial/ovs-sandbox | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tutorial/ovs-sandbox b/tutorial/ovs-sandbox
> index 04e8858..db980d2 100755
> --- a/tutorial/ovs-sandbox
> +++ b/tutorial/ovs-sandbox
> @@ -199,7 +199,7 @@ trap 'kill `cat "$sandbox"/*.pid`' 0 1 2 3 13 14 15
>
> # Create database and start ovsdb-server.
> touch "$sandbox"/.conf.db.~lock~
> -run ovsdb-tool create conf.db "$srcdir"/vswitchd/vswitch.ovsschema
> +run ovsdb-tool create conf.db "$schema"
> run ovsdb-server --detach --no-chdir --pidfile -vconsole:off --log-file \
> --remote=punix:"$sandbox"/db.sock
>
> --
> 1.8.1.2
>
>
More information about the dev
mailing list