On 1/9/2019 10:41 PM, Ramzah Rehman 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?

Use 'cat /sys/module/openvswitch/version'

Example:

root@ubuntu-1604-base:~/ovs-test-scripts# cat /sys/module/openvswitch/version
2.10.90

That will tell you what version of your kernel module is actually loaded.

'modinfo openvswitch'

Will tell you what the OS thinks it should load for a 'modprobe openvswitch' command.

- Greg



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

Reply via email to