[OPNFLWPLUG-641] Milestone: Update translators Created: 16/Mar/16  Updated: 27/Sep/21  Resolved: 08/Aug/16

Status: Resolved
Project: OpenFlowPlugin
Component/s: General
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Jozef Bacigal Assignee: Tomas Slusny
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Attachments: File cbench-results.tar.gz    
External issue ID: 5540

 Comments   
Comment by Tomas Slusny [ 30/Jun/16 ]

So, after discussion with Michal Rehák, this is what I am currently trying to achieve:

  • Split giant ActionConvertor (1215 lines) and MatchConvertorImpl (2000 lines) classes to smaller pieces to be more managable and get rid of big if-else chains in these two classes
  • Update all convertors in package org.opendaylight.openflowplugin.openflow.md.core.sal.convertor to use one generic method to convert between SAL and OPF model (and vice versa) if possible
  • Update and fix all unit tests for convertors in above package to increase coverage and test all possibilities of different conversion types

So, in short, with these changes, convertors (converters) should be more manageable and easier to modify, when needed.

Here are links to GERRIT:

Comment by Tomas Slusny [ 18/Jul/16 ]

Attaching results of CBench tests on master and with new convertor changes, both using same configuration and on same machine.

Configuration:
controller: localhost
port: 6633
loops: 20
msPerTest: 10000
macPerSwitch: 1000
startupDelay: 1000
warmup: 1
switches: 16

To see actual graph, just open out3d.pdf, or run `gnuplot out3d.plot`.
For each branch (master, convertors) I did 3 tests to gather more data.

Comment by Tomas Slusny [ 18/Jul/16 ]

Attachment cbench-results.tar.gz has been added with description: CBench test results

Comment by Patrick Laurin [ 05/Aug/16 ]

Hi, this may have introduced a regression in NetIDE.

See https://gist.github.com/mosieurlaurin/059de066ef2849489534da921e4378bf

NetIDE cannot compile properly.

Comment by Tomas Slusny [ 08/Aug/16 ]

I submitted patch that will fix that compile errors to NetIDE project here: https://git.opendaylight.org/gerrit/#/c/43302

Generated at Wed Feb 07 20:33:00 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.