[SFC-119] Clean up Classifier/RSP dependency Created: 20/Oct/15 Updated: 09/Nov/15 Resolved: 09/Nov/15 |
|
| Status: | Resolved |
| Project: | sfc |
| Component/s: | General |
| Affects Version/s: | unspecified |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Ruijing Guo | Assignee: | Ruijing Guo |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 4500 |
| Description |
|
From: Reinaldo Penno rapenno@gmail.com Okay, I took some time looking around the code. If the change is limited to removing the classifier from RSP then it seems to me it is not risky. You just stop configuring it and remove it from RSP yang model. But you need a way to attach an ACL to the actual classifier device. Today it is done through the classifier model since it points to a SFF that exists. I would suggest this stays the same since there are two listeners that depend on it. Later we can do more deep changes if needed. From: "Guo, Ruijing" <ruijing.guo@intel.com> I agree with your suggestion and plan to remove classifier in RSP. Do you have concern about Configuration data store depends on Operation data store between classifier/RSP? Thanks, From: Reinaldo Penno rapenno@gmail.com This is probably the best way to go and the perfect time to patch given all the work that is going on. Paul and I had this grand master plan where a user could only configure a ACL and point to a RSP if the RSP was already created, and then if the RSP was deleted we could notify the user, etc. But the notification does not really need the RSP to the tied to ACL at the config level, we just need the right oper/state Yang models in place (which we have). In summary, this is a good time to really clean this up. 1 - ACL action points to RSP (exists) -RP From: Keith Burns <alagalah@gmail.com> RSP should have no "direct" relationship to classifier. On Mon, Oct 19, 2015 at 7:50 PM, Guo, Ruijing <ruijing.guo@intel.com> wrote: 1. Recursive dependency between classifier/RSP. I think only classifier can refer to RSP and RSP cannot refer to classifier. What do you think? In rendered-service-path.yang: rpc create-rendered-path { leaf classifier { In service-function-classifier.yang & service-function-acl.yang } 2. Configuration data store depends on Operation data store between classifier/RSP Classifier is configuration data store and RSP is operation data store. Is it an issue? Thanks, |