[Ryu-devel] VLAN match with PopVlanAction doesnt work

2018-05-10 Thread knet solutions
Hi, Adding flow for VLAN Match with PopVlan action doesnt work for me. I see the error in wireshark ( OFPET_BAT_MATCH with OFPBMC_BAD_PREREQ code) code snippet == actions.append(parser.OFPActionPopVlan()) actions.append(parser.OFPActionOutput(out_port)) vid = vlan_id | ofproto_v1_3.OF

Re: [Ryu-devel] VLAN match with PopVlanAction doesnt work

2018-05-10 Thread Yi Tseng
Try add Ethernet type = VLAN to match knet solutions 於 2018年5月10日 週四,下午7:40寫道: > > Hi, > > Adding flow for VLAN Match with PopVlan action doesnt work for me. I see > the error in wireshark ( > > OFPET_BAT_MATCH with OFPBMC_BAD_PREREQ code) > > > > code snippet > == > > actions.append(pars

Re: [Ryu-devel] Adding Ryu In Existing Application

2018-05-10 Thread Steve Jarvis
Thank you! I actually came across Neutron’s patch the other day and believe that will work. I'm integrating something like that into our project now. I’m glad you pointed out the same. > On May 10, 2018, at 12:28 AM, IWAMOTO Toshihiro wrote: > > On Fri, 04 May 2018 13:22:28 +0900, > Steve Jarv

Re: [Ryu-devel] VLAN match with PopVlanAction doesnt work

2018-05-10 Thread knet solutions
Hi, I have tried. match = parser.OFPMatch(in_port=in_port, eth_type=ether_types.ETH_TYPE_8021Q, vlan_vid=vid, ipv4_src=src, ipv4_dst=dst) This also doesnt work. receives same error. Looks like popvlan actions requires some kind of specific match. Thanks suresh On Thu, May 10, 2018

Re: [Ryu-devel] VLAN match with PopVlanAction doesnt work

2018-05-10 Thread Yi Tseng
I think this is not related to the action because the error is *OFPBMC_BAD_PREREQ* Not sure if you can hit both IPv4 and VLAN ID by OpenFlow. Maybe you can try use eth_type = IPv4 ? 2018-05-11 0:54 GMT+08:00 knet solutions : > Hi, > I have tried. > > match = parser.OFPMatch(in_port=

[Ryu-devel] [PATCH] lldp: fixed SystemCapabilities TLV

2018-05-10 Thread mchron
This patch removes 'Subtype' byte from SystemCapabilities TLV. There was an inconsistency in offical IEEE document which was corrected in 802.1AB-2009/Cor 1-2013. Signed-off-by: Marcin Chron --- ryu/lib/packet/lldp.py | 11 --- ryu/tests/unit/packet/test_lldp.py | 3 +-- 2