[pox-dev] Wild Card rules in POX

Keqiang He hekeqiang at gmail.com
Mon Jul 22 19:24:11 PDT 2013


Thanks for the information, I will try it tomorrow.

On Mon, Jul 22, 2013 at 10:16 PM, Sam Russell <sam.h.russell at gmail.com>wrote:

> The pronto 3290 supports OpenFlow 1.0 fine - if it didn't, then the
> connection wouldn't have stood up.
>
> The problem is that you haven't matched on ethertype = ip - if you don't
> do this explicitly, then the switch rejects the flow.
>
>
> On Tue, Jul 23, 2013 at 2:14 PM, Keqiang He <hekeqiang at gmail.com> wrote:
>
>> Hi--
>>
>> I have a confusing question regarding installing wild card rules by POX.
>>
>> The openflow switch I am running is pronto 3290 with Pica8's OvS, it
>> supports openflow 1.2.
>>
>> When I tried to install wild card rule as illustrated in POX wiki.
>> Basically, I want to the srcip and srcport to be fixed while keeping
>> other fields as wild card *. I did the following--
>>
>> msg = of.ofp_flow_mod()
>>  msg.priority = 42
>>  msg.match.nw_src = ip_packet.srcip
>>  msg.match.tp_src = tcp_packet.srcport
>>
>>  ...
>>  msg.actions.append(of.ofp_action_output(port = outputport))
>>  self.connection.send(msg)
>>
>>  However, the wild card rule installed into the switch is NOT what I
>> expected; they are indeed wild card, but none of the
>>  two fields I specified is fixed...
>>
>>  The only reason I can guess is that POX supports openflow 1.0 while the
>> switch fireware supports 1.3...Not sure
>> whether it is the cause..
>>
>> Do anyone has clue on this? Thanks
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.noxrepo.org/pipermail/pox-dev-noxrepo.org/attachments/20130722/4ff5dbef/attachment-0002.htm>


More information about the pox-dev mailing list