[ovs-discuss] how to install ovs-controller in RH

Morgan Yang Morgan.Yang at radisys.com
Thu Oct 10 07:17:53 UTC 2013


Hi Chris:

The packages with REHL 1.11.0 (openstack EPEL repo) also does not have ovs-controller. I wanted to explore a use case of using ovs-controller to manage other ovs instances (without an external openflow controller). Thanks for the patch, I will try it.

Much Thanks
Morgan Yang

-----Original Message-----
From: Chris Wright [mailto:chrisw at sous-sol.org] 
Sent: Wednesday, October 09, 2013 5:34 PM
To: Morgan Yang
Cc: discuss at openvswitch.org
Subject: Re: [ovs-discuss] how to install ovs-controller in RH

* Morgan Yang (Morgan.Yang at radisys.com) wrote:
> I have been using OpenVSwitch on RH6.4 following the rpmbuild and rpm install methods stated in INSTALL.RHEL. I've noticed that some utilities under the "utilities"directory is not installed a-part of the default rpm ovs install, namely ovs-controller.
> 
> Examining the openvswitch.spec file, it looks like ovs-controller and a few tools are purposely removed to "make the RPM happy"

Any reason you are not using the packages w/ RHEL?

> # Get rid of stuff we don't want to make RPM happy.
> rm \
>     $RPM_BUILD_ROOT/usr/bin/ovs-controller \
>     $RPM_BUILD_ROOT/usr/share/man/man8/ovs-controller.8 \
>     $RPM_BUILD_ROOT/usr/bin/ovs-test \
>     $RPM_BUILD_ROOT/usr/bin/ovs-l3ping \
>     $RPM_BUILD_ROOT/usr/share/man/man8/ovs-test.8 \
>     $RPM_BUILD_ROOT/usr/share/man/man8/ovs-l3ping.8 \
>     $RPM_BUILD_ROOT/usr/sbin/ovs-vlan-bug-workaround \
>     $RPM_BUILD_ROOT/usr/share/man/man8/ovs-vlan-bug-workaround.8
> 
> install -d -m 755 $RPM_BUILD_ROOT/var/lib/openvswitch
> 
> Is it possible to build and install ovs-controller on RH separately?

Yes, that's how we build it now at RH.

The attached patch should build the controller as a separate sub-package.

thanks,
-chris



More information about the discuss mailing list