<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:38:41 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>OpenDaylight JIRA</title>
    <link>https://jira.opendaylight.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.20.10</version>
        <build-number>820010</build-number>
        <build-date>22-06-2022</build-date>
    </build-info>


<item>
            <title>[SFC-119] Clean up Classifier/RSP dependency</title>
                <link>https://jira.opendaylight.org/browse/SFC-119</link>
                <project id="10167" key="SFC">sfc</project>
                    <description>&lt;p&gt;From: Reinaldo Penno &lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;mailto:rapenno@gmail.com&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;rapenno@gmail.com&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;https://jira.opendaylight.org/images/icons/mail_small.gif&quot; height=&quot;12&quot; width=&quot;13&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt; &lt;br/&gt;
Sent: Tuesday, October 20, 2015 2:47 PM&lt;br/&gt;
To: Guo, Ruijing; Keith Burns&lt;br/&gt;
Cc: Brady Allen Johnson; sfc-dev@lists.opendaylight.org&lt;br/&gt;
Subject: Re: &lt;span class=&quot;error&quot;&gt;&amp;#91;sfc-dev&amp;#93;&lt;/span&gt; Classifier/RSP dependency&lt;/p&gt;

&lt;p&gt;Okay, I took some time looking around the code. &lt;/p&gt;

&lt;p&gt;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. &lt;/p&gt;

&lt;p&gt;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. &lt;/p&gt;

&lt;p&gt;Later we can do more deep changes if needed.&lt;/p&gt;


&lt;p&gt;From: &quot;Guo, Ruijing&quot; &amp;lt;ruijing.guo@intel.com&amp;gt;&lt;br/&gt;
Date: Monday, October 19, 2015 at 10:32 PM&lt;br/&gt;
To: Reinaldo Penno &amp;lt;rapenno@gmail.com&amp;gt;, Keith Burns &amp;lt;alagalah@gmail.com&amp;gt;&lt;br/&gt;
Cc: Brady Allen Johnson &amp;lt;brady.allen.johnson@ericsson.com&amp;gt;, &quot;sfc-dev@lists.opendaylight.org&quot; &amp;lt;sfc-dev@lists.opendaylight.org&amp;gt;&lt;br/&gt;
Subject: RE: &lt;span class=&quot;error&quot;&gt;&amp;#91;sfc-dev&amp;#93;&lt;/span&gt; Classifier/RSP dependency&lt;/p&gt;

&lt;p&gt;I agree with your suggestion and plan to remove classifier in RSP.&lt;/p&gt;

&lt;p&gt;Do you have concern about Configuration data store depends on Operation data store between classifier/RSP?&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
-Ruijing&lt;/p&gt;


&lt;p&gt;From: Reinaldo Penno &lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;mailto:rapenno@gmail.com&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;rapenno@gmail.com&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;https://jira.opendaylight.org/images/icons/mail_small.gif&quot; height=&quot;12&quot; width=&quot;13&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt; &lt;br/&gt;
Sent: Tuesday, October 20, 2015 12:48 PM&lt;br/&gt;
To: Keith Burns; Guo, Ruijing&lt;br/&gt;
Cc: Brady Allen Johnson; sfc-dev@lists.opendaylight.org&lt;br/&gt;
Subject: Re: &lt;span class=&quot;error&quot;&gt;&amp;#91;sfc-dev&amp;#93;&lt;/span&gt; Classifier/RSP dependency&lt;/p&gt;

&lt;p&gt;This is probably the best way to go and the perfect time to patch given all the work that is going on. &lt;/p&gt;

&lt;p&gt;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.  &lt;/p&gt;

&lt;p&gt;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). &lt;/p&gt;

&lt;p&gt;In summary, this is a good time to really clean this up.  &lt;/p&gt;

&lt;p&gt;1 - ACL action points to RSP (exists)&lt;br/&gt;
2 &#8211; No configuration of classifier or ACL in RSP&lt;br/&gt;
3 &#8211; Maybe we can completely remove classifier Yang since it seems it will have no purpose&lt;br/&gt;
4 &#8211; We store the relationship between ACL&amp;lt;-&amp;gt;RSP. If RSP is deleted (or ACL points to nothing) we say &#8220;Traffic is probably going to be blackholed&#8221;,  but that&#8217;s about it as far we should go. &lt;/p&gt;

&lt;p&gt;-RP&lt;/p&gt;

&lt;p&gt;From: Keith Burns &amp;lt;alagalah@gmail.com&amp;gt;&lt;br/&gt;
Date: Monday, October 19, 2015 at 9:25 PM&lt;br/&gt;
To: &quot;Guo, Ruijing&quot; &amp;lt;ruijing.guo@intel.com&amp;gt;&lt;br/&gt;
Cc: Reinaldo Penno &amp;lt;rapenno@gmail.com&amp;gt;, Brady Allen Johnson &amp;lt;brady.allen.johnson@ericsson.com&amp;gt;, &quot;sfc-dev@lists.opendaylight.org&quot; &amp;lt;sfc-dev@lists.opendaylight.org&amp;gt;&lt;br/&gt;
Subject: Re: &lt;span class=&quot;error&quot;&gt;&amp;#91;sfc-dev&amp;#93;&lt;/span&gt; Classifier/RSP dependency&lt;/p&gt;

&lt;p&gt;RSP should have no &quot;direct&quot; relationship to classifier.&lt;br/&gt;
I&apos;ve just finised a patch to introduce type safety (ie convert all the Strings into things like RspName, SfcName etc).&lt;br/&gt;
Once it&apos;s tested and gone through review/discussion, I think we need to have a serious look at all the models. &lt;br/&gt;
I don&apos;t think the RSP &lt;b&gt;model&lt;/b&gt; should contain ANY reference to the Classifier at all.&lt;br/&gt;
What RSPs a classifier is using is interesting for one functionality (ie potentially some notification) and what classifiers are using an RSP may also be interesting for path-selection (Scheduler) optimisation. But these things shouldn&apos;t be baked into the model at all.&lt;/p&gt;



&lt;p&gt;On Mon, Oct 19, 2015 at 7:50 PM, Guo, Ruijing &amp;lt;ruijing.guo@intel.com&amp;gt; wrote:&lt;br/&gt;
Hi, All,&lt;/p&gt;

&lt;p&gt;1. Recursive dependency between classifier/RSP.&lt;/p&gt;

&lt;p&gt;I think only classifier can refer to RSP and RSP cannot refer to classifier. What do you think?&lt;/p&gt;

&lt;p&gt;In rendered-service-path.yang:&lt;/p&gt;

&lt;p&gt;rpc create-rendered-path {&lt;/p&gt;

&lt;p&gt;leaf classifier {&lt;br/&gt;
      }&lt;br/&gt;
leaf symmetric-classifier {&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;In service-function-classifier.yang &amp;amp; service-function-acl.yang&lt;br/&gt;
container service-function-classifiers&lt;br/&gt;
{&lt;br/&gt;
       leaf access-list {&lt;br/&gt;
      choice sfc-action {&lt;br/&gt;
          leaf rendered-service-path &lt;/p&gt;
{
          type string;
      }
&lt;p&gt;}&lt;/p&gt;

&lt;p&gt;2. Configuration data store depends on Operation data store between classifier/RSP&lt;/p&gt;

&lt;p&gt;Classifier is configuration data store and RSP is operation data store. Is it an issue?&lt;br/&gt;
If controller reboot, operation data store is missing and configuration data store exists?&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
-Ruijing&lt;br/&gt;
_______________________________________________&lt;br/&gt;
sfc-dev mailing list&lt;br/&gt;
sfc-dev@lists.opendaylight.org&lt;br/&gt;
&lt;a href=&quot;https://lists.opendaylight.org/mailman/listinfo/sfc-dev&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://lists.opendaylight.org/mailman/listinfo/sfc-dev&lt;/a&gt;&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="24145">SFC-119</key>
            <summary>Clean up Classifier/RSP dependency</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                                <status id="5" iconUrl="https://jira.opendaylight.org/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="ruijing.guo@intel.com">Ruijing Guo</assignee>
                                    <reporter username="ruijing.guo@intel.com">Ruijing Guo</reporter>
                        <labels>
                    </labels>
                <created>Tue, 20 Oct 2015 08:40:09 +0000</created>
                <updated>Mon, 9 Nov 2015 01:16:15 +0000</updated>
                            <resolved>Mon, 9 Nov 2015 01:16:15 +0000</resolved>
                                    <version>unspecified</version>
                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                        <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_11400" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4500</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10201" key="com.atlassian.jira.plugin.system.customfieldtypes:url">
                        <customfieldname>External issue URL</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[https://bugs.opendaylight.org/show_bug.cgi?id=4500]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i02f67:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>