<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:00:56 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>[GBP-18] Conditions do not work correctly - especially with inheritance</title>
                <link>https://jira.opendaylight.org/browse/GBP-18</link>
                <project id="10127" key="GBP">groupbasedpolicy</project>
                    <description>&lt;p&gt;Fixed in current work.&lt;/p&gt;

&lt;p&gt;FlowIDs not updated (no reference to &quot;cond&quot;, and hence FlowMap not updated.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="28324">GBP-18</key>
            <summary>Conditions do not work correctly - especially with inheritance</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="kblagov@cisco.com">Konstantin Blagov</assignee>
                                    <reporter username="alagalah">Keith Burns</reporter>
                        <labels>
                    </labels>
                <created>Wed, 11 Mar 2015 03:51:04 +0000</created>
                <updated>Sun, 11 Oct 2015 23:26:27 +0000</updated>
                            <resolved>Sun, 11 Oct 2015 23:26:27 +0000</resolved>
                                    <version>unspecified</version>
                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="59366" author="alagalah" created="Wed, 1 Apr 2015 17:45:37 +0000"  >&lt;p&gt;See Deadline. EP conditions already raised as bug, will be dealt with in Li&lt;/p&gt;</comment>
                            <comment id="59367" author="alagalah" created="Wed, 1 Apr 2015 17:55:18 +0000"  >&lt;p&gt;See #2934, will address&lt;/p&gt;</comment>
                            <comment id="59368" author="tbachman@yahoo.com" created="Thu, 28 May 2015 01:10:07 +0000"  >&lt;p&gt;With the following policy (just showing contract portion):&lt;/p&gt;

&lt;p&gt;&quot;contract&quot;: [&lt;br/&gt;
   {&lt;br/&gt;
       &quot;id&quot;: &quot;5c4b9e66-e014-4102-8058-cc44cfa0f803&quot;&lt;br/&gt;
       &quot;clause&quot;: [&lt;br/&gt;
          &lt;/p&gt;
{
             &quot;name&quot;: &quot;allow-icmp-clause&quot;,
             &quot;subject-refs&quot;: [ &quot;allow-icmp-subject&quot; ]
          }
&lt;p&gt;,&lt;br/&gt;
          {&lt;br/&gt;
             &quot;name&quot;: &quot;allow-http-clause&quot;,&lt;br/&gt;
             &quot;subject-refs&quot;: [ &quot;allow-http-subject&quot; ],&lt;br/&gt;
             &quot;consumer-matchers&quot;: {&lt;br/&gt;
                &quot;consumer-matcher&quot;: [&lt;br/&gt;
                    {&lt;br/&gt;
                       &quot;name&quot;: &quot;infected-matcher&quot;,&lt;br/&gt;
                       &quot;condition&quot;: [ &lt;/p&gt;
                          {
                              &quot;name&quot;: &quot;not-infected&quot;,
                              &quot;inclusion-rule&quot;: &quot;include&quot;
                          }
&lt;p&gt;                       ]&lt;br/&gt;
                    }&lt;br/&gt;
                ]&lt;br/&gt;
             }&lt;br/&gt;
          }&lt;/p&gt;

&lt;p&gt;I would have expected that all Endpoints would be able to ping (covered by the &quot;allow-icmp-clause&quot; selecting the &quot;allow-icmp-subject&quot;), but only Endpoints with the &quot;not-infected&quot; condition to be able to pass HTTP traffic. However, I found that Endpoints with the &quot;not-infected&quot; condition couldn&apos;t ping. The reason is that their source condition group is different, which is stored in Nicira register 1 in our pipeline (in SourceMapper.java). When it reaches the PolicyEnforcer, the PolicyEnforcer tries matching ICMP on the &quot;no conditions&quot; value in register 1, and since the &quot;not-infected&quot; value is stored in register 1, the ICMP traffic isn&apos;t let through.&lt;/p&gt;

&lt;p&gt;What&apos;s unclear is whether or not this is the expected behavior.&lt;/p&gt;</comment>
                            <comment id="59369" author="kblagov@cisco.com" created="Tue, 7 Jul 2015 14:01:43 +0000"  >&lt;p&gt;These 2 fragments below show corrected RESTconf, and I get expected result, i.e. everyone can ping everyone, but only &quot;not-infected&quot; consumers can HTTP (those with no condition get &quot;Connection timed out&quot;). Will test further with &quot;inclusion-rule&quot;: &quot;excluded&quot;, and with both rules/conditions on different consumers.&lt;/p&gt;

&lt;p&gt;POST http://&lt;tt&gt;controllerIp&lt;/tt&gt;:&lt;tt&gt;port&lt;/tt&gt;/restconf/operations/endpoint:register-endpoint&lt;br/&gt;
{&lt;br/&gt;
    &quot;input&quot;: {&lt;/p&gt;

&lt;p&gt;        &quot;endpoint-group&quot;: &quot;1eaf9a67-a171-42a8-9282-71cf702f61dd&quot;, &lt;br/&gt;
        &quot;condition&quot;: [&lt;br/&gt;
            &quot;not-infected&quot;&lt;br/&gt;
        ],&lt;br/&gt;
etc...&lt;/p&gt;

&lt;p&gt;in PUT tenant:&lt;br/&gt;
...&lt;br/&gt;
 &quot;contract&quot;: [&lt;br/&gt;
      {&lt;br/&gt;
        &quot;id&quot;: &quot;22282cca-9a13-4d0c-a67e-a933ebb0b0ae&quot;,&lt;br/&gt;
        &quot;subject&quot;: [&lt;br/&gt;
          {&lt;br/&gt;
            &quot;name&quot;: &quot;allow-icmp-subject&quot;,&lt;br/&gt;
            &quot;rule&quot;: [&lt;br/&gt;
              {&lt;br/&gt;
                &quot;name&quot;: &quot;allow-icmp-rule&quot;,&lt;br/&gt;
                &quot;classifier-ref&quot;: [&lt;/p&gt;
                  {
                    &quot;name&quot;: &quot;icmp&quot;
                  }
&lt;p&gt;                ],&lt;br/&gt;
                &quot;action-ref&quot;: [&lt;/p&gt;
                  {
                    &quot;name&quot;: &quot;allow1&quot;,
                    &quot;order&quot;: 0
                  }
&lt;p&gt;                ]&lt;br/&gt;
              }&lt;br/&gt;
            ]&lt;br/&gt;
          },&lt;br/&gt;
          {&lt;br/&gt;
            &quot;name&quot;: &quot;chain-http-subject&quot;,&lt;br/&gt;
            &quot;rule&quot;: [&lt;br/&gt;
              {&lt;br/&gt;
                &quot;name&quot;: &quot;chain-http-rule&quot;,&lt;br/&gt;
                &quot;classifier-ref&quot;: [&lt;br/&gt;
                  &lt;/p&gt;
{
                    &quot;name&quot;: &quot;http-dest&quot;,
                    &quot;direction&quot;: &quot;in&quot;
                  }
&lt;p&gt;,&lt;/p&gt;
                  {
                    &quot;name&quot;: &quot;http-src&quot;,
                    &quot;direction&quot;: &quot;out&quot;
                  }
&lt;p&gt;                ],&lt;br/&gt;
                &quot;action-ref&quot;: [&lt;/p&gt;
                  {
                    &quot;name&quot;: &quot;allow1&quot;,
                    &quot;order&quot;: 0
                  }
&lt;p&gt;                ]&lt;br/&gt;
              }&lt;br/&gt;
            ]&lt;br/&gt;
          }&lt;br/&gt;
        ],&lt;br/&gt;
        &quot;clause&quot;: [&lt;br/&gt;
          &lt;/p&gt;
{
            &quot;name&quot;: &quot;allow-icmp-clause&quot;,
            &quot;subject-refs&quot;: [
              &quot;allow-icmp-subject&quot;
            ]
          }
&lt;p&gt;,&lt;br/&gt;
          {&lt;br/&gt;
            &quot;name&quot;: &quot;chain-http-clause&quot;,&lt;br/&gt;
            &quot;subject-refs&quot;: [&lt;br/&gt;
              &quot;chain-http-subject&quot;&lt;br/&gt;
            ],&lt;/p&gt;

&lt;p&gt;            &quot;consumer-matchers&quot;: {&lt;br/&gt;
                &quot;condition-matcher&quot;: [&lt;br/&gt;
                    {&lt;br/&gt;
                       &quot;name&quot;: &quot;infected-matcher&quot;,&lt;br/&gt;
                       &quot;match-type&quot;: &quot;all&quot;,&lt;br/&gt;
                       &quot;condition&quot;: [ &lt;/p&gt;
                          {
                              &quot;name&quot;: &quot;not-infected&quot;,
                              &quot;inclusion-rule&quot;: &quot;include&quot;
                          }
&lt;p&gt;                       ]&lt;br/&gt;
                    }&lt;br/&gt;
                ]&lt;br/&gt;
            }&lt;/p&gt;

&lt;p&gt;          }&lt;br/&gt;
        ]&lt;br/&gt;
      }&lt;br/&gt;
    ]&lt;br/&gt;
...&lt;/p&gt;</comment>
                            <comment id="59370" author="kblagov@cisco.com" created="Wed, 8 Jul 2015 12:07:45 +0000"  >&lt;p&gt;After some testing tried, the result changed to initial: &quot;not-infected&quot; EP can HTTP, but cannot ping any provider, EP without condition can ping and cannot curl (it&apos;s expected)&lt;/p&gt;</comment>
                            <comment id="59371" author="kblagov@cisco.com" created="Fri, 17 Jul 2015 09:31:06 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/24230/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/24230/&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                                                <inwardlinks description="is blocked by">
                                        <issuelink>
            <issuekey id="28328">GBP-22</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <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>2815</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=2815]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10206" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Issue Type</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10300"><![CDATA[Bug]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10204" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>ODL SR Target Milestone</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10317"><![CDATA[Beryllium]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10202" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Priority</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10301"><![CDATA[Normal]]></customfieldvalue>

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

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