cookie on packets sent to controller incorrect

  • 5 Replies
  • 2000 Views
*

DTs301MElqS1

  • Newbie
  • *
  • 6
    • View Profile
cookie on packets sent to controller incorrect
« on: June 04, 2016, 01:51:17 PM »
with this rule installed on the zodiacfx:
Code: [Select]
Match:
  In Port: 1
  ETH Type: IPv4
  IP Protocol: UDP
 Attributes:
  Table ID: 0                           Cookie:0xffee12
  Priority: 100                         Duration: 61 secs
  Hard Timeout: 0 secs                  Idle Timeout: 0 secs
  Byte Count: 1906                      Packet Count: 12
  Last Match: 00:00:02
 Instructions:
  Apply Actions:
   Output: CONTROLLER
when the controller receives the packet(in my case RYU), the cookie appears as
Code: [Select]
0xffffffffffffffff I verified this in wireshark, and that is indeed what the OFPT_PACKET_IN message shows in the Cookie field.

*

Paul Zanna

  • Moderator
  • Sr. Member
  • *****
  • 373
    • View Profile
    • Northbound Networks
Re: cookie on packets sent to controller incorrect
« Reply #1 on: June 06, 2016, 12:26:27 AM »
That cookie value is normally reserved for table miss packet ins, are you using OpenFlow 1.0 or 1.3?

Regards,
Paul

*

DTs301MElqS1

  • Newbie
  • *
  • 6
    • View Profile
Re: cookie on packets sent to controller incorrect
« Reply #2 on: June 07, 2016, 03:38:14 AM »
This is OF 1.3, and i'm sure it isn't a table miss ( i even set a cookie value to the table miss rule to be sure)

It is matching the eth type 2048 and ip protocol UDP match, the cookie value is just incorrect.

*

Paul Zanna

  • Moderator
  • Sr. Member
  • *****
  • 373
    • View Profile
    • Northbound Networks
Re: cookie on packets sent to controller incorrect
« Reply #3 on: June 07, 2016, 05:52:33 AM »
Ok thanks, I'll take a look.

Regards,
Paul

*

Paul Zanna

  • Moderator
  • Sr. Member
  • *****
  • 373
    • View Profile
    • Northbound Networks
Re: cookie on packets sent to controller incorrect
« Reply #4 on: June 13, 2016, 09:26:22 PM »
This issue has now been fixed in version 0.62.

Regards,
Paul

*

DTs301MElqS1

  • Newbie
  • *
  • 6
    • View Profile
Re: cookie on packets sent to controller incorrect
« Reply #5 on: June 18, 2016, 08:54:55 AM »
confirmed. works now