Hello all,
I am running into an issue with the tar.gz download of 1.9 from the main site. I am attempting to mimic an openstack quantum setup for tunneling. Under this setup openflow rules are applied to a patch port on the tunnel bridge to translate vlans to tunnel id's and vice-versa. The problem is that under 1.9 patch ports do not have a port number so it is not possible to apply openflow rules to them. This use to work under 1.4 and is working again under 1.10.
ovs-vsctl show:
*snip*
Bridge "xenbr0-tun"
Port "xenbr0-tun-patch-int"
Interface "xenbr0-tun-patch-int"
type: patch
options: {peer="xenbr0-int-patch-tun"}
Port "xenbr0-tun"
Interface "xenbr0-tun"
type: internal
Port "gre1"
Interface "gre1"
type: gre
options: {in_key=flow, out_key=flow, remote_ip="10.224.50.3"}
Bridge "xenbr0-int"
Port "xenbr0-int"
Interface "xenbr0-int"
type: internal
Port "veth-xenbr0-int"
Interface "veth-xenbr0-int"
Port "xenbr0-int-patch-tun"
Interface "xenbr0-int-patch-tun"
type: patch
options: {peer="xenbr0-tun-patch-int"}
ovs_version: "1.9.0"
*snip*
ovs-ofctl show xenbr0-tun:
OFPT_FEATURES_REPLY (xid=0x1): dpid:0000c64d2e707940
n_tables:255, 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_NW_SRC SET_NW_DST SET_NW_TOS SET_TP_SRC SET_TP_DST ENQUEUE
1(gre1): addr:56:52:09:c7:06:69
config: 0
state: 0
speed: 100 Mbps now, 100 Mbps max
LOCAL(xenbr0-tun): addr:c6:4d:2e:70:79:40
config: 0
state: 0
speed: 100 Mbps now, 100 Mbps max
ovs-vsctl get Interface xenbr0-tun-patch-int ofport:
-1
Now using the latest 1.10 source with the same setup commands I get the following:
ovs-vsctl show
*snip*
Bridge "xenbr0-int"
Port "xenbr0-int"
Interface "xenbr0-int"
type: internal
Port "xenbr0-int-patch-tun"
Interface "xenbr0-int-patch-tun"
type: patch
options: {peer="xenbr0-tun-patch-int"}
Port "veth-xenbr0-int"
Interface "veth-xenbr0-int"
Bridge "xenbr0-tun"
Port "xenbr0-tun"
Interface "xenbr0-tun"
type: internal
Port "gre1"
Interface "gre1"
type: gre
options: {in_key=flow, out_key=flow, remote_ip="10.224.50.3"}
Port "xenbr0-tun-patch-int"
Interface "xenbr0-tun-patch-int"
type: patch
options: {peer="xenbr0-int-patch-tun"}
*snip*
ovs-ofctl show xenbr0-tun:
OFPT_FEATURES_REPLY (xid=0x2): dpid:000082520c63ae4d
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_NW_SRC SET_NW_DST SET_NW_TOS SET_TP_SRC SET_TP_DST ENQUEUE
1(xenbr0-tun-patc): addr:76:a2:4c:f7:55:6d
config: 0
state: 0
speed: 0 Mbps now, 0 Mbps max
3(gre1): addr:92:83:1a:a8:05:2b
config: 0
state: 0
speed: 0 Mbps now, 0 Mbps max
LOCAL(xenbr0-tun): addr:82:52:0c:63:ae:4d
config: 0
state: 0
speed: 0 Mbps now, 0 Mbps max
OFPT_GET_CONFIG_REPLY (xid=0x4): frags=normal miss_send_len=0
ovs-vsctl get Interface xenbr0-tun-patch-int ofport:
1
As you can see under 1.10 patch ports once again have port numbers and show up correctly as ports. Is their a newer version of 1.9.0 that I should be using?
____________________________________________
Kris Lindgren
Linux Systems Engineer
GoDaddy, LLC.
Linux Systems Engineer
GoDaddy, LLC.
_______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss