Hi,

I think there's a missing -O OpenFlow13 on the command-line, like so:

$sudo ovs-ofctl -O OpenFlow13 show L1

Jan

On Thu, Apr 3, 2014 at 1:44 AM, Maurice Qureshi (maquresh)
<[email protected]> wrote:
> I have upgraded from OVS1.6 to OVS2.0.1 in order to be able to use OVS
> switches in 1.3 mode. I have brought up couple of switches in OF1.0 mode,
> and another couple of switches in OF1.3 mode. When issuing "ova-ofctl"
> command, get the following error:
>
> ubuntu@ubuntuslave:~$ sudo ovs-ofctl show C1
> 2014-04-02T23:11:55Z|00001|vconn|WARN|unix:/usr/local/var/run/openvswitch/C1.mgmt:
> version negotiation failed (we support version 0x01, peer supports version
> 0x04)
> ovs-ofctl: C1: failed to connect to socket (Broken pipe)
> ubuntu@ubuntuslave
>
> However if I issue the same command to switches in OF1.0 mode, don't have
> any problem:
>
>
> ubuntu@ubuntuslave:~$ sudo ovs-ofctl show L1
> OFPT_FEATURES_REPLY (xid=0x2): dpid:0000000000000001
> n_tables:254, n_buffers:256
> capabilities: FLOW_STATS TABLE_STATS PORT_STATS QUEUE_STATS ARP_MATCH_IP
> actions: OUTPUT SET_VLAN_VID SET_VLAN_PCP STRIP_VLAN SET_DL_SRC SET_DL_DST
> SET_N
> ...
>
>
> All the utilities have been upgraded to OVS 2.0.1
>
> ubuntu@ubuntuslave:~$ sudo ovs-ofctl --version
> ovs-ofctl (Open vSwitch) 2.0.1
> Compiled Mar  7 2014 15:49:29
> OpenFlow versions 0x1:0x4
> ubuntu@ubuntuslave:~$
>
>
>
>
> Following command does show the switches came up:
>
>
> ubuntu@ubuntuslave:~$ sudo ovs-vsctl show
> dbe12ceb-bb60-4f9d-b0d9-3c6d12ae33b0
>     Bridge "C1"
>         Controller "tcp:172.28.30.54:6633"
>         Controller "tcp:171.70.172.90:6633"
>         fail_mode: secure
>         Port "C1_2-L2_3"
>             Interface "C1_2-L2_3"
>                 type: patch
>                 options: {peer="L2_3-C1_2"}
>         Port "C1"
>             Interface "C1"
>                 type: internal
>         Port "C1_1-L1_3"
>             Interface "C1_1-L1_3"
>                 type: patch
>                 options: {peer="L1_3-C1_1"}
>     Bridge "L1"
>         Controller "tcp:172.28.30.54:6633"
>         Controller "tcp:171.70.172.90:6633"
>         fail_mode: secure
>         Port "L1_4-C2_1"
>             Interface "L1_4-C2_1"
>                 type: patch
>                 options: {peer="C2_1-L1_4"}
>         Port "L1"
>             Interface "L1"
>                 type: internal
>         Port "veth_H1-1"
>             Interface "veth_H1-1"
>         Port "veth_H1-2"
>             Interface "veth_H1-2"
>         Port "L1_3-C1_1"
>             Interface "L1_3-C1_1"
>                 type: patch
>                 options: {peer="C1_1-L1_3"}
>     Bridge "L2"
>         Controller "tcp:172.28.30.54:6633"
>         Controller "tcp:171.70.172.90:6633"
>         fail_mode: secure
>         Port "L2_4-C2_2"
>             Interface "L2_4-C2_2"
>                 type: patch
>                 options: {peer="C2_2-L2_4"}
>         Port "L2"
>             Interface "L2"
>                 type: internal
>         Port "veth_H2-2"
>             Interface "veth_H2-2"
>         Port "veth_H2-1"
>             Interface "veth_H2-1"
>         Port "L2_3-C1_2"
>             Interface "L2_3-C1_2"
>                 type: patch
>                 options: {peer="C1_2-L2_3"}
>     Bridge "C2"
>         Controller "tcp:172.28.30.54:6633"
>         Controller "tcp:171.70.172.90:6633"
>         fail_mode: secure
>         Port "C2"
>             Interface "C2"
>                 type: internal
>         Port "C2_2-L2_4"
>             Interface "C2_2-L2_4"
>                 type: patch
>                 options: {peer="L2_4-C2_2"}
>         Port "C2_1-L1_4"
>             Interface "C2_1-L1_4"
>                 type: patch
>                 options: {peer="L1_4-C2_1"}
> ubuntu@ubuntuslave:~$
>
>
> _______________________________________________
> discuss mailing list
> [email protected]
> http://openvswitch.org/mailman/listinfo/discuss
>
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to