[ovs-discuss] Cannot Add Meter in OVS 2.10.2

Gregory Rose gvrose8192 at gmail.com
Thu Jan 10 17:27:14 UTC 2019



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 <jpettit.ovn at gmail.com 
> <mailto:jpettit.ovn at gmail.com>> 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 <ramzahrehman at gmail.com
>     <mailto:ramzahrehman at gmail.com>> 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
>>     <jpettit.ovn at gmail.com <mailto:jpettit.ovn at gmail.com>> 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
>>         <ramzahrehman at gmail.com <mailto:ramzahrehman at gmail.com>> 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
>>>         <jpettit at ovn.org <mailto:jpettit at ovn.org>> wrote:
>>>
>>>
>>>             > On Jan 8, 2019, at 5:48 AM, Ramzah Rehman
>>>             <ramzahrehman at gmail.com <mailto:ramzahrehman at gmail.com>>
>>>             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
> discuss at openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20190110/c886d5d9/attachment-0001.html>


More information about the discuss mailing list