On 01/14/2014 09:01 AM, abhishek jain wrote:
> Hi all..
> 
> I'm using openvswitch 1.11 and trying to configure openflow 1.3 with it
> by using the below command..
> 
> ovs-vsctl set bridge br0 protocols=OpenFlow13
> 
> After the above command,the status of the bridge is as follows..
> 
>  ovs-vsctl list bridge
> _uuid               : 2fd7aa6c-69c8-4ad5-9ad9-92514de7946c
> controller          : []
> datapath_id         : "000000049f02a3e3"
> datapath_type       : ""
> external_ids        : {}
> fail_mode           : []
> flood_vlans         : []
> flow_tables         : {}
> ipfix               : []
> mirrors             : []
> name                : "br0"
> netflow             : []
> other_config        : {}
> ports               : [4d24b92a-d61d-4afd-a7ea-a4e056cbe5c6,
> 9f6058a4-aadd-4891-bff0-b076c8b224cd,
> c98bf679-4fd0-4b33-8a9f-23cd1c65c319, eecf29ad-5a71-4cf1-86b2-4965cf12cb27]
> protocols           : ["OpenFlow13"]
> sflow               : []
> status              : {}
> stp_enable          : false
> 
> 
> However when I dump-flows using ovs-ofctl dump-flows br0 command,I get
> the below output...
> 
> ovs-ofctl dump-flows br0
> 2013-10-29T07:26:53Z|00001|vconn|WARN|unix:/openvswitch_utils/var/run/openvswitch/br0.mgmt:
> version negotiation failed (we support version 0x01, peer supports
> version 0x04)

By default, ovs-ofctl is using OpenFlow 1.0 to talk to ovs-vswitchd.
You need to explicitly set OpenFlow 1.3, like this:

    ovs-ofctl -O OpenFlow13 dump-flows br0

Alternatively, you can use an alias like the following in your shell:

    alias ovs-ofctl='ovs-ofctl -O OpenFlow13'

> 
> 
> Moreover the connectivity of my controller is lost when I configure
> Openflow 1.3 on my bridge.

This is more likely a controller issue.  Which controller are you using?

-Lori

> 
> Please help me regarding this.
> 
> Thanks..
> Abhishek Jain
> 
> 
> _______________________________________________
> discuss mailing list
> discuss@openvswitch.org
> http://openvswitch.org/mailman/listinfo/discuss
> 
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to