[Ryu-devel] dropping packets error (OFPET_BAD_MATCH)

2019-02-10 Thread Maged Motawea
Dear Sir/Madam, I'm trying to drop packets that match an IP address using this code > class RuleBase(object): > def __init__(self, dp: Datapath, *args, **kwargs): > self.dp = dp > self.ofproto = self.dp.ofproto > self.parser = self.dp.ofproto_parser > self.matc

Re: [Ryu-devel] dropping packets error (OFPET_BAD_MATCH)

2019-02-10 Thread William Fisher
The error code is OFPBMC_BAD_PREREQ; you are missing a pre-requisite for ipv6_dst. Include eth_type = 0x86dd in your match. On Sun, Feb 10, 2019 at 7:36 AM Maged Motawea wrote: > > Dear Sir/Madam, > > I'm trying to drop packets that match an IP address using this code > > > class RuleBase(object

Re: [Ryu-devel] dropping packets error (OFPET_BAD_MATCH)

2019-02-10 Thread Maged Motawea
Thank you for the clarification. On Sun, Feb 10, 2019 at 7:53 PM William Fisher wrote: > The error code is OFPBMC_BAD_PREREQ; you are missing a pre-requisite > for ipv6_dst. > > Include eth_type = 0x86dd in your match. > > On Sun, Feb 10, 2019 at 7:36 AM Maged Motawea > wrote: > > > > Dear Sir/