On 1/10/2019 12:34 AM, Ramzah Rehman wrote:
Thank you so much. I was able to add meter now following this link
<https://github.com/ebiken/doc-network/wiki/How-To:-Install-OVS-(Kernel-Module)-from-Source-Code>.
To build the Linux kernel module, I had to configure with --with-linux
argument. Also, I had to delete the kernel's build-in openvswitch.ko
module present in: /lib/modules/$(uname -r)/kernel/net/openvswitch
before loading the one from OVS source.
Deleting the built-in module is not necessary if you have built and
installed your out of tree kernel modules
correctly.
- Greg
Best Regards,
Ramzah Rehman
On Thu, Jan 10, 2019 at 11:50 AM Justin Pettit <[email protected]
<mailto:[email protected]>> wrote:
You’ll need to consult your distro’s documentation about how to
load an out-of-tree kernel module. There’s usually plenty of
examples available online.
--Justin
On Jan 9, 2019, at 10:41 PM, Ramzah Rehman <[email protected]
<mailto:[email protected]>> wrote:
I made sure while building that I use the module that was built
from OVS sources by creating a config file as shown in Building
section here:
http://docs.openvswitch.org/en/latest/intro/install/general/
What else should I do to use the module from OVS sources?
On Thu, Jan 10, 2019 at 11:33 AM Justin Pettit
<[email protected] <mailto:[email protected]>> wrote:
That’s the version of ovs-vswitchd—the userspace daemon that
talks with the kernel datapath.
--Justin
On Jan 9, 2019, at 10:17 PM, Ramzah Rehman
<[email protected] <mailto:[email protected]>> wrote:
Alright. But I can find ovs-vswitchd version like this:
ovs-vswitchd --version
ovs-vswitchd (Open vSwitch) 2.10.90
Does this mean something?
On Thu, Jan 10, 2019 at 2:33 AM Justin Pettit
<[email protected] <mailto:[email protected]>> wrote:
> On Jan 8, 2019, at 5:48 AM, Ramzah Rehman
<[email protected] <mailto:[email protected]>>
wrote:
>
> ovs-vsctl list bridge br0
>
> _uuid : bd776aad-3a88-4d38-a7a2-6be57723f04b
> auto_attach : []
> controller : []
> datapath_id : "0000ae6a77bd384d"
> datapath_type : ""
> datapath_version : "<unknown>"
I think this is indicating that you're not using the
just-built OVS kernel module. The Linux built-in OVS
kernel module doesn't return a version, but the one
built from OVS sources would indicate the version number
of OVS that you built.
--Justin
_______________________________________________
discuss mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
_______________________________________________
discuss mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss