Hi Ben,

Thanks for the quick reply!

Ok. How do I get the lldp packets through ovs to the lldp process?

Initially I think they were dropped.

ovs-appctl ofproto/trace br0 in_port=3,dl_dst=01:80:c2:00:00:0e,dl_type=0x88cc
Bridge: br0
Flow: 
metadata=0,in_port=3,vlan_tci=0x0000,dl_src=00:00:00:00:00:00,dl_dst=01:80:c2:00:00:0e,dl_type=0x88cc
Rule: table=0 cookie=0 priority=0
OpenFlow actions=NORMAL
no input bundle, dropping

Final flow: unchanged
Megaflow: 
skb_priority=0,in_port=3,vlan_tci=0x0000/0x1fff,dl_src=00:00:00:00:00:00,dl_dst=01:80:c2:00:00:0e,dl_type=0x88cc
Datapath actions: drop


I then added

ovs-vsctl set Bridge br0 other_config:forward-bpdu=true

Now at least the packets aren’t getting dropped.


ovs-appctl ofproto/trace br0 in_port=3,dl_dst=01:80:c2:00:00:0e,dl_type=0x88cc
Bridge: br0
Flow: 
metadata=0,in_port=3,vlan_tci=0x0000,dl_src=00:00:00:00:00:00,dl_dst=01:80:c2:00:00:0e,dl_type=0x88cc
Rule: table=0 cookie=0 priority=65535,dl_dst=01:00:00:00:00:00/ff:00:00:00:00:00
OpenFlow actions=ALL

Final flow: unchanged
Megaflow: 
skb_priority=0,in_port=3,dl_dst=01:00:00:00:00:00/ff:00:00:00:00:00,dl_type=0x88cc
Datapath actions: 1,2,3



But the packets still don’t get counted by lldp. I think I need to add a flow, 
something like this:

ovs-ofctl add-flow br0 
priority=65535,dl_dst=01:80:c2:00:00:0e/ff:00:00:00:00:00,idle_timeout=0,actions=all

But not sure what I should be setting action to?

Thanks,

—Dave



On 5/15/15, 2:20 PM, "Ben Pfaff" <[email protected]<mailto:[email protected]>> 
wrote:

On Fri, May 15, 2015 at 12:33:39PM +0000, Dave DeSimone (ddesimon) wrote:
Hi,
I?m running an OVS rpm (no source code) on RHEL 7.0
ovs-vswitchd (Open vSwitch) 2.3.1
Compiled Dec 26 2014 15:35:15
OpenFlow versions 0x1:0x1
Is there support in this version for LLDP?
On the wiki it says
   *   IETF Auto-Attach SPBM and rudimentary required LLDP support
Is there any documentation on this as it looks like a new feature on this 
latest release?

This support is only going to be useful if you want to use Auto-Attach
SPBM.

_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to