[OPNFLWPLUG-646] FRM features.xml reorganize Created: 22/Mar/16  Updated: 27/Sep/21  Resolved: 13/Jul/16

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

Type: Bug
Reporter: Jozef Slezák Assignee: Andrej Leitner
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 FeaturesActualMasterDefault.dot.svg     File FeaturesRegroupPatch6.dot.svg     File featuresNew.dot.svg     File featuresOrig.dot.svg     File featuresPatch2.dot.svg     File featuresPatch3.dot.svg    
External issue ID: 5572

 Description   

When someone wants custom FRM he needs to copy&paste existing OpenFlowPlugin feature.xml. Please, modify existing stable/beryllium/features-li/**/features.xml that it is possible reference existing features (without existing FRM).

The main problem is in feature "odl-openflowplugin-nsf-services-li" because id referes FRM.



 Comments   
Comment by Andrej Leitner [ 15/Apr/16 ]

patch: https://git.opendaylight.org/gerrit/#/c/37670/

Comment by Andrej Leitner [ 18/Apr/16 ]

Attachment featuresOrig.dot.svg has been added with description: current state

Comment by Andrej Leitner [ 18/Apr/16 ]

Attachment featuresNew.dot.svg has been added with description: proposed patch

Comment by Abhijit Kumbhare [ 18/Apr/16 ]

Can you share more details Michal (Rehak) and Jozef Slezak?

Comment by Andrej Leitner [ 19/Apr/16 ]

Hi guys,
after discussion w/ Michal I made some regrouping of ofp-features in this patch.

Forwarding-rules-manager bundle was extracted as separate feature on upper level (above the main southbound-li). The same is made with topology-lldp-discovery and topology-manager which are in addition merged along with lldp-speaker into new app feature named app-topology-li. Then the main feature ofp-southbound-li is not dependent on them, but it is dependency of them (see attached diagrams).

So if someone would like to add and use e.g. custom FRM, it's possible to install only the main ofp-southbound-li feature without any default apps and then any particular features/apps/extensions he wants (actual or newly added).

However actual behaviour is still preserved because in flow-services-li installation our default apps and main southbound feature (+dependencies) are included as before.

In addition, I removed unnecessary flow-services-all-li and also nsf-services-li feature where extracted apps where located (unecessary then).

As we decided at the meeting yesterday, it would be better to perform this change after he/li features swap.

Comment by Luis Gomez [ 19/Apr/16 ]

I like these changes. You will need a new patch after the He-Li swap as there will be no feature called -Li anymore but you will figure out very easily.

Comment by Anil Vishnoi [ 20/Apr/16 ]

Luis, is it okay removing feature directly rather than deprecating them first and then removing in next release ?

Comment by Luis Gomez [ 20/Apr/16 ]

Features is not as critical as API, as long as you make sure downstream projects are not impacted by these changes it is OK.

Comment by Anil Vishnoi [ 20/Apr/16 ]

okay, that's good. I would suggest then we should do the proper cleaning and have some best practices around it. Ideally we should allow user to pick up what they want, and also we should provide wrapper features as well that provides some dedicated functionality using the existing fine grain features. I added couple of comments on the patch as well.

Comment by Andrej Leitner [ 21/Apr/16 ]

Hi, new patch is there. I made changes according to Anil's comments and also updated dependencies of drop-test feature - it is

Comment by Andrej Leitner [ 21/Apr/16 ]

...not dependent on the wrapper feature now.

Comment by Andrej Leitner [ 21/Apr/16 ]

Attachment featuresPatch2.dot.svg has been added with description: patch2

Comment by Andrej Leitner [ 27/Jun/16 ]

rebased and updated after OFP design swap

Comment by Andrej Leitner [ 27/Jun/16 ]

Attachment featuresPatch3.dot.svg has been added with description: patch 3

Comment by Andrej Leitner [ 29/Jun/16 ]

Attachment FeaturesActualMasterDefault.dot.svg has been added with description: features actual master default

Comment by Andrej Leitner [ 29/Jun/16 ]

Attachment FeaturesRegroupPatch6.dot.svg has been added with description: patch 6 final update

Comment by Andrej Leitner [ 13/Jul/16 ]

merged

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