Ask Your Question
0

neutron ml2, openvswitch and VLAN configuration [closed]

asked 2014-10-14 13:13:40 -0500

baribal gravatar image

updated 2014-10-14 13:35:39 -0500

mpetason gravatar image

Hi All.

I am using Openstack Icehouse RDO release with the latest updates, Centos 6.5 and NIC driver: e1000e, version: 2.3.2-k, VLAN 200-299. When I use "ovs-vsctl set interface eth1 other-config:enable-vlan-splinters=true" workaround I have tagged interfaces created for eth1 automatically (eth1.1/eth1.200, eth1.2/eth1.201 an so on) and correct flows setup for br-eth1 and br-int:

ovs-ofctl dump-flows br-eth1
NXST_FLOW reply (xid=0x4):
 cookie=0x0, duration=441349.204s, table=0, n_packets=200, n_bytes=34097, idle_age=2400, hard_age=65534, priority=4,in_port=9,dl_vlan=1 actions=mod_vlan_vid:208,NORMAL
 cookie=0x0, duration=441346.125s, table=0, n_packets=156, n_bytes=26087, idle_age=6473, hard_age=65534, priority=4,in_port=9,dl_vlan=7 actions=mod_vlan_vid:207,NORMAL
 cookie=0x0, duration=441346.715s, table=0, n_packets=91, n_bytes=17793, idle_age=26422, hard_age=65534, priority=4,in_port=9,dl_vlan=6 actions=mod_vlan_vid:203,NORMAL
 cookie=0x0, duration=441348.739s, table=0, n_packets=268, n_bytes=53403, idle_age=18, hard_age=65534, priority=4,in_port=9,dl_vlan=2 actions=mod_vlan_vid:201,NORMAL
 cookie=0x0, duration=441348.234s, table=0, n_packets=8, n_bytes=2703, idle_age=65534, hard_age=65534, priority=4,in_port=9,dl_vlan=3 actions=mod_vlan_vid:202,NORMAL
 cookie=0x0, duration=441345.273s, table=0, n_packets=381, n_bytes=118451, idle_age=221, hard_age=65534, priority=4,in_port=9,dl_vlan=8 actions=mod_vlan_vid:200,NORMAL
 cookie=0x0, duration=441347.763s, table=0, n_packets=0, n_bytes=0, idle_age=65534, hard_age=65534, priority=4,in_port=9,dl_vlan=4 actions=mod_vlan_vid:204,NORMAL
 cookie=0x0, duration=441344.789s, table=0, n_packets=195, n_bytes=34574, idle_age=417, hard_age=65534, priority=4,in_port=9,dl_vlan=9 actions=mod_vlan_vid:206,NORMAL
 cookie=0x0, duration=441347.265s, table=0, n_packets=0, n_bytes=0, idle_age=65534, hard_age=65534, priority=4,in_port=9,dl_vlan=5 actions=mod_vlan_vid:205,NORMAL
 cookie=0x0, duration=441354.375s, table=0, n_packets=6, n_bytes=468, idle_age=65534, hard_age=65534, priority=2,in_port=9 actions=drop
 cookie=0x0, duration=441355.073s, table=0, n_packets=12738722, n_bytes=2151522088, idle_age=0, hard_age=65534, priority=1 actions=NORMAL

Then:

ovs-ofctl dump-flows br-int
NXST_FLOW reply (xid=0x4):
 cookie=0x0, duration=441382.472s, table=0, n_packets=11850, n_bytes=1290903, idle_age=93, hard_age=65534, priority=3,in_port=13,dl_vlan=208 actions=mod_vlan_vid:1,NORMAL
 cookie=0x0, duration=441379.983s, table=0, n_packets=8771, n_bytes=771837, idle_age=95, hard_age=65534, priority=3,in_port=13,dl_vlan=203 actions=mod_vlan_vid:6,NORMAL
 cookie=0x0, duration=441382.004s, table=0, n_packets=32945, n_bytes=3211078, idle_age=51, hard_age=65534, priority=3,in_port=13,dl_vlan=201 actions=mod_vlan_vid:2,NORMAL
 cookie=0x0, duration=441381.5s, table=0, n_packets=6827, n_bytes=958520, idle_age=66, hard_age=65534, priority=3,in_port=13,dl_vlan=202 actions=mod_vlan_vid:3,NORMAL
 cookie=0x0, duration=441378.54s, table=0, n_packets=125403, n_bytes=7688867, idle_age=9, hard_age=65534, priority=3,in_port=13,dl_vlan=200 actions=mod_vlan_vid:8,NORMAL
 cookie=0x0, duration=441378.055s, table=0, n_packets=82289, n_bytes=5821168, idle_age=1, hard_age=65534, priority=3,in_port=13,dl_vlan=206 actions=mod_vlan_vid:9,NORMAL
 cookie=0x0, duration=441380.532s, table ...
(more)
edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by rbowen
close date 2016-04-01 08:26:04.871086

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-04-01 08:25:54 -0500

rbowen gravatar image

Question refers to an end-of-life version of OpenStack. Please reopen if you're still experiencing this with a current release. Thanks.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-10-14 13:11:43 -0500

Seen: 529 times

Last updated: Apr 01 '16