All of lore.kernel.org
 help / color / mirror / Atom feed
* Installing openvswitch
@ 2016-06-09 15:13 Rajasekaran, Monica
  2016-06-09 15:48 ` Burton, Ross
  0 siblings, 1 reply; 8+ messages in thread
From: Rajasekaran, Monica @ 2016-06-09 15:13 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 226 bytes --]

Hi,

I am new to the Yocto project. Could someone please give me information on how to install openvswitch ? I have already done the same in other Linux OSs but no idea on how to do the same for Yocto.

Thanks,
Monica


[-- Attachment #2: Type: text/html, Size: 2125 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Installing openvswitch
  2016-06-09 15:13 Installing openvswitch Rajasekaran, Monica
@ 2016-06-09 15:48 ` Burton, Ross
  2016-06-09 18:56   ` Rajasekaran, Monica
  0 siblings, 1 reply; 8+ messages in thread
From: Burton, Ross @ 2016-06-09 15:48 UTC (permalink / raw)
  To: Rajasekaran, Monica; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 542 bytes --]

On 9 June 2016 at 16:13, Rajasekaran, Monica <
Monica.Rajasekaran@us.fujitsu.com> wrote:

> I am new to the Yocto project. Could someone please give me information on
> how to install openvswitch ? I have already done the same in other Linux
> OSs but no idea on how to do the same for Yocto.
>
>
The meta-virtualization layer (
http://layers.openembedded.org/layerindex/branch/master/layer/meta-virtualization/)
has a recipe for openvswitch, so add that to your bblayers.conf and add the
packages you need to your image.

Ross

[-- Attachment #2: Type: text/html, Size: 1112 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Installing openvswitch
  2016-06-09 15:48 ` Burton, Ross
@ 2016-06-09 18:56   ` Rajasekaran, Monica
  2016-06-09 19:47     ` Burton, Ross
  0 siblings, 1 reply; 8+ messages in thread
From: Rajasekaran, Monica @ 2016-06-09 18:56 UTC (permalink / raw)
  To: Burton, Ross; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 1268 bytes --]

Hi Ross,

I see the following files under /meta-virtualization/recipes-networking/openvswitch/:

-        files/

-        openvswitch_1.10.0.bb

-        openvswitch_2.0.0.bb

So, I just went to /repo/poky/build/conf/bblayers.conf and the following line is already present there:
  /data/users/mrajase/ulp/repo/poky/meta-virtualization \

Doesn’t that include the openvswitch folder as well? If it is, what else do I need to add/change?

Thanks,
Monica

From: Burton, Ross [mailto:ross.burton@intel.com]
Sent: Thursday, June 09, 2016 10:48 AM
To: Rajasekaran, Monica <Monica.Rajasekaran@us.fujitsu.com>
Cc: yocto@yoctoproject.org
Subject: Re: [yocto] Installing openvswitch


On 9 June 2016 at 16:13, Rajasekaran, Monica <Monica.Rajasekaran@us.fujitsu.com<mailto:Monica.Rajasekaran@us.fujitsu.com>> wrote:
I am new to the Yocto project. Could someone please give me information on how to install openvswitch ? I have already done the same in other Linux OSs but no idea on how to do the same for Yocto.

The meta-virtualization layer (http://layers.openembedded.org/layerindex/branch/master/layer/meta-virtualization/) has a recipe for openvswitch, so add that to your bblayers.conf and add the packages you need to your image.

Ross

[-- Attachment #2: Type: text/html, Size: 9127 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Installing openvswitch
  2016-06-09 18:56   ` Rajasekaran, Monica
@ 2016-06-09 19:47     ` Burton, Ross
  2016-06-09 19:53       ` Rajasekaran, Monica
  0 siblings, 1 reply; 8+ messages in thread
From: Burton, Ross @ 2016-06-09 19:47 UTC (permalink / raw)
  To: Rajasekaran, Monica; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 281 bytes --]

On 9 June 2016 at 19:56, Rajasekaran, Monica <
Monica.Rajasekaran@us.fujitsu.com> wrote:

> Doesn’t that include the openvswitch folder as well? If it is, what else
> do I need to add/change?
>
>
You need to actually add the packages that you want to your image.

Ross

[-- Attachment #2: Type: text/html, Size: 795 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Installing openvswitch
  2016-06-09 19:47     ` Burton, Ross
@ 2016-06-09 19:53       ` Rajasekaran, Monica
  2016-06-09 20:57         ` Rajasekaran, Monica
  0 siblings, 1 reply; 8+ messages in thread
From: Rajasekaran, Monica @ 2016-06-09 19:53 UTC (permalink / raw)
  To: Burton, Ross; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 776 bytes --]

Okay thanks. I’m assuming by packages you mean the various dependency packages for openvswitch.

And, once I add and bring up the image, do I just start ovs by the usual procedure or is the procedure different ?

Thanks,
Monica

From: Burton, Ross [mailto:ross.burton@intel.com]
Sent: Thursday, June 09, 2016 2:47 PM
To: Rajasekaran, Monica <Monica.Rajasekaran@us.fujitsu.com>
Cc: yocto@yoctoproject.org
Subject: Re: [yocto] Installing openvswitch


On 9 June 2016 at 19:56, Rajasekaran, Monica <Monica.Rajasekaran@us.fujitsu.com<mailto:Monica.Rajasekaran@us.fujitsu.com>> wrote:
Doesn’t that include the openvswitch folder as well? If it is, what else do I need to add/change?

You need to actually add the packages that you want to your image.

Ross

[-- Attachment #2: Type: text/html, Size: 4265 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Installing openvswitch
  2016-06-09 19:53       ` Rajasekaran, Monica
@ 2016-06-09 20:57         ` Rajasekaran, Monica
  2016-06-09 21:40           ` Rajasekaran, Monica
  0 siblings, 1 reply; 8+ messages in thread
From: Rajasekaran, Monica @ 2016-06-09 20:57 UTC (permalink / raw)
  To: Burton, Ross; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 1227 bytes --]

Thanks for the info. It worked once I added the openvswitch package using image_install.

Thanks,
Monica

From: yocto-bounces@yoctoproject.org [mailto:yocto-bounces@yoctoproject.org] On Behalf Of Rajasekaran, Monica
Sent: Thursday, June 09, 2016 2:54 PM
To: Burton, Ross <ross.burton@intel.com>
Cc: yocto@yoctoproject.org
Subject: Re: [yocto] Installing openvswitch

Okay thanks. I’m assuming by packages you mean the various dependency packages for openvswitch.

And, once I add and bring up the image, do I just start ovs by the usual procedure or is the procedure different ?

Thanks,
Monica

From: Burton, Ross [mailto:ross.burton@intel.com]
Sent: Thursday, June 09, 2016 2:47 PM
To: Rajasekaran, Monica <Monica.Rajasekaran@us.fujitsu.com<mailto:Monica.Rajasekaran@us.fujitsu.com>>
Cc: yocto@yoctoproject.org<mailto:yocto@yoctoproject.org>
Subject: Re: [yocto] Installing openvswitch


On 9 June 2016 at 19:56, Rajasekaran, Monica <Monica.Rajasekaran@us.fujitsu.com<mailto:Monica.Rajasekaran@us.fujitsu.com>> wrote:
Doesn’t that include the openvswitch folder as well? If it is, what else do I need to add/change?

You need to actually add the packages that you want to your image.

Ross

[-- Attachment #2: Type: text/html, Size: 6019 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Installing openvswitch
  2016-06-09 20:57         ` Rajasekaran, Monica
@ 2016-06-09 21:40           ` Rajasekaran, Monica
  2016-06-09 22:11             ` Burton, Ross
  0 siblings, 1 reply; 8+ messages in thread
From: Rajasekaran, Monica @ 2016-06-09 21:40 UTC (permalink / raw)
  To: Burton, Ross; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 3036 bytes --]

Please excuse if this seems to be a very basic question. I am completely new to yocto.

I have openvswitch package installed in my image. But, I do not see a folder called “openvswitch-2.xx” with all the source code at all! I need the code to make changes. I see these:


-        find -iname "openvswitch*"
./run/openvswitch
./usr/local/etc/openvswitch
./usr/lib/libvirt/ptest/tests/networkxml2xmlupdateout/openvswitch-net-modified.xml
./usr/lib/libvirt/ptest/tests/networkxml2xmlupdateout/openvswitch-net-without-alice.xml
./usr/lib/libvirt/ptest/tests/networkxml2xmlupdateout/openvswitch-net-more-portgroups.xml
./usr/lib/libvirt/ptest/tests/networkxml2xmlout/openvswitch-net.xml
./usr/lib/libvirt/ptest/tests/networkxml2xmlin/openvswitch-net.xml
./usr/lib/openvswitch
./usr/share/openvswitch
./usr/share/openvswitch/bugtool-plugins/system-configuration/openvswitch.xml
./usr/share/openvswitch/bugtool-plugins/system-logs/openvswitch.xml
./usr/share/openvswitch/bugtool-plugins/kernel-info/openvswitch.xml
./usr/share/openvswitch/bugtool-plugins/network-status/openvswitch.xml
./usr/include/linux/openvswitch.h
./etc/openvswitch-controller
./etc/default/openvswitch-controller
./etc/default/openvswitch-switch
./etc/init.d/openvswitch-controller
./etc/init.d/openvswitch-switch
./etc/openvswitch
./var/lib/openvswitch
./var/log/openvswitch

But they don’t have the code. Any help ?

Thanks,
Monica

From: yocto-bounces@yoctoproject.org [mailto:yocto-bounces@yoctoproject.org] On Behalf Of Rajasekaran, Monica
Sent: Thursday, June 09, 2016 3:58 PM
To: Burton, Ross <ross.burton@intel.com>
Cc: yocto@yoctoproject.org
Subject: Re: [yocto] Installing openvswitch

Thanks for the info. It worked once I added the openvswitch package using image_install.

Thanks,
Monica

From: yocto-bounces@yoctoproject.org<mailto:yocto-bounces@yoctoproject.org> [mailto:yocto-bounces@yoctoproject.org] On Behalf Of Rajasekaran, Monica
Sent: Thursday, June 09, 2016 2:54 PM
To: Burton, Ross <ross.burton@intel.com<mailto:ross.burton@intel.com>>
Cc: yocto@yoctoproject.org<mailto:yocto@yoctoproject.org>
Subject: Re: [yocto] Installing openvswitch

Okay thanks. I’m assuming by packages you mean the various dependency packages for openvswitch.

And, once I add and bring up the image, do I just start ovs by the usual procedure or is the procedure different ?

Thanks,
Monica

From: Burton, Ross [mailto:ross.burton@intel.com]
Sent: Thursday, June 09, 2016 2:47 PM
To: Rajasekaran, Monica <Monica.Rajasekaran@us.fujitsu.com<mailto:Monica.Rajasekaran@us.fujitsu.com>>
Cc: yocto@yoctoproject.org<mailto:yocto@yoctoproject.org>
Subject: Re: [yocto] Installing openvswitch


On 9 June 2016 at 19:56, Rajasekaran, Monica <Monica.Rajasekaran@us.fujitsu.com<mailto:Monica.Rajasekaran@us.fujitsu.com>> wrote:
Doesn’t that include the openvswitch folder as well? If it is, what else do I need to add/change?

You need to actually add the packages that you want to your image.

Ross

[-- Attachment #2: Type: text/html, Size: 16060 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Installing openvswitch
  2016-06-09 21:40           ` Rajasekaran, Monica
@ 2016-06-09 22:11             ` Burton, Ross
  0 siblings, 0 replies; 8+ messages in thread
From: Burton, Ross @ 2016-06-09 22:11 UTC (permalink / raw)
  To: Rajasekaran, Monica; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 879 bytes --]

On 9 June 2016 at 22:40, Rajasekaran, Monica <
Monica.Rajasekaran@us.fujitsu.com> wrote:

> I have openvswitch package installed in my image. But, I do not see a
> folder called “openvswitch-2.xx” with all the source code at all! I need
> the code to make changes. I see these:
>
>
You installed binary packages, not the sources.

If you want to edit and compile openvswitch on the target then just fetch
it using git and edit/compile/install using gcc and so on (adding tools-sdk
to IMAGE_FEATURES will give you a full toolchain to get this started).

Alternatively you can use devtool to edit on your build machine and deploy
updated binaries to your target.  The Development Manual covers this,
http://www.yoctoproject.org/docs/2.1/dev-manual/dev-manual.html#devtool-use-devtool-modify-to-enable-work-on-code-associated-with-an-existing-recipe
.

Ross

[-- Attachment #2: Type: text/html, Size: 1729 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-06-09 22:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-09 15:13 Installing openvswitch Rajasekaran, Monica
2016-06-09 15:48 ` Burton, Ross
2016-06-09 18:56   ` Rajasekaran, Monica
2016-06-09 19:47     ` Burton, Ross
2016-06-09 19:53       ` Rajasekaran, Monica
2016-06-09 20:57         ` Rajasekaran, Monica
2016-06-09 21:40           ` Rajasekaran, Monica
2016-06-09 22:11             ` Burton, Ross

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.