From: lei yang <lei.yang@windriver.com>
To: Bruce Ashfield <bruce.ashfield@gmail.com>
Cc: "meta-virtualization@yoctoproject.org"
<meta-virtualization@yoctoproject.org>
Subject: Re: [PATCH] openvswtich: start openvswitch at the boot time
Date: Fri, 1 Feb 2013 11:54:44 +0800 [thread overview]
Message-ID: <510B3C84.5060009@windriver.com> (raw)
In-Reply-To: <CADkTA4M6MPUeC6XfHnWOgbYEbC3tiWauf7NyyZm0UPq05SjD9w@mail.gmail.com>
On 01/31/2013 09:39 PM, Bruce Ashfield wrote:
>
>
>
> On Thu, Jan 31, 2013 at 2:18 AM, <lei.yang@windriver.com
> <mailto:lei.yang@windriver.com>> wrote:
>
> From: Lei Yang <lei.yang@windriver.com
> <mailto:lei.yang@windriver.com>>
>
> When I define the bridge, I get below error
>
> root@intel_5500_server:~# ovs-vsctl add-br ovsbr0
> Jan 25 17:34:07|00002|stream_unix|ERR|/tmp/stream-unix.1487.0:
> connection to /var/run/openvswitch/db.sock
> failed: No such file or directory
> ........
> ........
>
> This is because openvswitch damon isn't running,so we'd better
> start it at the boot time.
> The split-pacakage ${PN}-switch ${PN}-controller provide us to
> start nessary damon with update-rc.d
>
>
> s/pacakage/package/
> s/nessary/necessary/
> s/damon/daemon/
>
> so we add them to the RDEPENDS.
>
> Since openvswtich depends on openvswtich kernel module,so auto
> load the kernel module too.
>
>
> s/openvswtich/openvswitch/
>
>
> Signed-off-by: Lei Yang <lei.yang@windriver.com
> <mailto:lei.yang@windriver.com>>
> Tested-by: Lei Yang <lei.yang@windriver.com
> <mailto:lei.yang@windriver.com>>
>
>
> We can drop the Tested-by: since it is your patch :)
>
> I can make the changes below if you agree with them, and save us
> another revision
> of the patch.
>
Agree, I don't trust "set spell" again in vim :-( , it doesn't help me
for this spelling error
Lei
> Cheers,
>
> Bruce
>
> ---
> recipes-kernel/linux/linux-yocto_3.4.bbappend | 2 +-
> .../openvswitch/openvswitch_1.4.3.bb
> <http://openvswitch_1.4.3.bb> | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/recipes-kernel/linux/linux-yocto_3.4.bbappend
> b/recipes-kernel/linux/linux-yocto_3.4.bbappend
> index 5b163ff..918302a 100644
> --- a/recipes-kernel/linux/linux-yocto_3.4.bbappend
> +++ b/recipes-kernel/linux/linux-yocto_3.4.bbappend
> @@ -5,4 +5,4 @@ SRC_URI += "file://xt-checksum.scc \
> file://vswitch.scc \
> file://lxc.scc \
> "
> -
> +module_autoload_openvswitch = "openvswitch"
> diff --git a/recipes-networking/openvswitch/openvswitch_1.4.3.bb
> <http://openvswitch_1.4.3.bb>
> b/recipes-networking/openvswitch/openvswitch_1.4.3.bb
> <http://openvswitch_1.4.3.bb>
> index 88f0114..6764073 100644
> --- a/recipes-networking/openvswitch/openvswitch_1.4.3.bb
> <http://openvswitch_1.4.3.bb>
> +++ b/recipes-networking/openvswitch/openvswitch_1.4.3.bb
> <http://openvswitch_1.4.3.bb>
> @@ -7,7 +7,7 @@ LICENSE = "Apache-2"
> DEPENDS += "bridge-utils openssl python perl"
>
> RDEPENDS_${PN} += "util-linux-uuidgen util-linux-libuuid \
> - python perl perl-module-strict"
> + python perl perl-module-strict ${PN}-switch
> ${PN}-controller"
> RDEPENDS_${PN}-controller = "${PN} lsb ${PN}-pki"
> RDEPENDS_${PN}-switch = "${PN} openssl procps util-linux-uuidgen"
> RDEPENDS_${PN}-pki = "${PN}"
> --
> 1.7.1
>
>
>
>
> --
> "Thou shalt not follow the NULL pointer, for chaos and madness await
> thee at its end"
next prev parent reply other threads:[~2013-02-01 3:54 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-31 7:18 [PATCH] openvswtich: start openvswitch at the boot time lei.yang
2013-01-31 13:39 ` Bruce Ashfield
2013-02-01 3:54 ` lei yang [this message]
2013-02-01 14:10 ` Bruce Ashfield
-- strict thread matches above, loose matches on Subject: below --
2013-01-28 11:01 lei.yang
2013-01-29 13:46 ` Bruce Ashfield
2013-01-29 16:32 ` lei yang
2013-01-29 16:46 ` Bruce Ashfield
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=510B3C84.5060009@windriver.com \
--to=lei.yang@windriver.com \
--cc=bruce.ashfield@gmail.com \
--cc=meta-virtualization@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.