<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:32:28 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>[OPNFLWPLUG-436] inventory api shows removed openflow ports on the cisco switches</title>
                <link>https://jira.opendaylight.org/browse/OPNFLWPLUG-436</link>
                <project id="10155" key="OPNFLWPLUG">OpenFlowPlugin</project>
                    <description>&lt;p&gt;Steps to reproduce the issue&lt;br/&gt;
============================&lt;/p&gt;

&lt;p&gt;1) i have a n3k switch which configured as below&lt;/p&gt;

&lt;p&gt;on nexus3k i have OpenFlow configured as below..&lt;br/&gt;
openflow&lt;br/&gt;
  switch 1&lt;br/&gt;
    protocol-version negotiate&lt;br/&gt;
    logging flow-mod&lt;br/&gt;
    pipeline 201&lt;br/&gt;
    controller ipv4 11.11.11.11 port 6653 vrf management security none&lt;br/&gt;
    of-port interface ethernet1/1 &amp;lt;&amp;lt; only open port part of openflow&lt;br/&gt;
    of-port interface ethernet1/2&lt;br/&gt;
hardware profile openflow&lt;br/&gt;
virtual-service ofan3k4&lt;br/&gt;
  activate&lt;/p&gt;

&lt;p&gt;inventory api shows as below&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://11.11.11.11:8181/restconf/operational/opendaylight-inventory:nodes/node/openflow:466244700179552/node-connector/openflow:466244700179552:1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://11.11.11.11:8181/restconf/operational/opendaylight-inventory:nodes/node/openflow:466244700179552/node-connector/openflow:466244700179552:1&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;{&lt;br/&gt;
    &quot;node-connector&quot;: [&lt;br/&gt;
        {&lt;br/&gt;
            &quot;id&quot;: &quot;openflow:466244700179552:1&quot;,&lt;br/&gt;
            &quot;flow-node-inventory:port-number&quot;: &quot;1&quot;,&lt;br/&gt;
            &quot;flow-node-inventory:configuration&quot;: &quot;&quot;,&lt;br/&gt;
            &quot;flow-node-inventory:peer-features&quot;: &quot;&quot;,&lt;br/&gt;
            &quot;flow-node-inventory:hardware-address&quot;: &quot;A8:0C:0D:BB:8C:68&quot;,&lt;br/&gt;
            &quot;flow-node-inventory:advertised-features&quot;: &quot;&quot;,&lt;br/&gt;
            &quot;flow-node-inventory:supported&quot;: &quot;one-gb-hd&quot;,&lt;br/&gt;
            &quot;flow-node-inventory:current-speed&quot;: 1000000000,&lt;br/&gt;
            &quot;flow-node-inventory:state&quot;: &lt;/p&gt;
{
                &quot;live&quot;: false,
                &quot;blocked&quot;: false,
                &quot;link-down&quot;: false
            }
&lt;p&gt;,&lt;br/&gt;
            &quot;flow-node-inventory:maximum-speed&quot;: 1000000000,&lt;br/&gt;
            &quot;flow-node-inventory:current-feature&quot;: &quot;one-gb-hd&quot;,&lt;br/&gt;
            &quot;flow-node-inventory:name&quot;: &quot;Eth1/1&quot;,&lt;br/&gt;
            &quot;opendaylight-port-statistics:flow-capable-node-connector-statistics&quot;: {&lt;br/&gt;
                &quot;receive-frame-error&quot;: 18446744073709552000,&lt;br/&gt;
                &quot;packets&quot;: &lt;/p&gt;
{
                    &quot;transmitted&quot;: 764776,
                    &quot;received&quot;: 437285
                }
&lt;p&gt;,&lt;br/&gt;
                &quot;duration&quot;: &lt;/p&gt;
{
                    &quot;nanosecond&quot;: 4294967295,
                    &quot;second&quot;: 4294967295
                }
&lt;p&gt;,&lt;br/&gt;
                &quot;collision-count&quot;: 18446744073709552000,&lt;br/&gt;
                &quot;bytes&quot;: &lt;/p&gt;
{
                    &quot;transmitted&quot;: 85149917,
                    &quot;received&quot;: 54087597
                }
&lt;p&gt;,&lt;br/&gt;
                &quot;receive-over-run-error&quot;: 18446744073709552000,&lt;br/&gt;
                &quot;receive-crc-error&quot;: 18446744073709552000,&lt;br/&gt;
                &quot;transmit-errors&quot;: 0,&lt;br/&gt;
                &quot;receive-drops&quot;: 0,&lt;br/&gt;
                &quot;transmit-drops&quot;: 0,&lt;br/&gt;
                &quot;receive-errors&quot;: 0&lt;br/&gt;
            }&lt;br/&gt;
        }&lt;br/&gt;
    ]&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://11.11.11.11:8181/restconf/operational/opendaylight-inventory:nodes/node/openflow:466244700179552/node-connector/openflow:466244700179552:2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://11.11.11.11:8181/restconf/operational/opendaylight-inventory:nodes/node/openflow:466244700179552/node-connector/openflow:466244700179552:2&lt;/a&gt;&lt;br/&gt;
{&lt;br/&gt;
    &quot;node-connector&quot;: [&lt;br/&gt;
        {&lt;br/&gt;
            &quot;id&quot;: &quot;openflow:466244700179552:2&quot;,&lt;br/&gt;
            &quot;flow-node-inventory:configuration&quot;: &quot;&quot;,&lt;br/&gt;
            &quot;flow-node-inventory:port-number&quot;: &quot;2&quot;,&lt;br/&gt;
            &quot;flow-node-inventory:peer-features&quot;: &quot;&quot;,&lt;br/&gt;
            &quot;flow-node-inventory:hardware-address&quot;: &quot;A8:0C:0D:BB:8C:69&quot;,&lt;br/&gt;
            &quot;flow-node-inventory:advertised-features&quot;: &quot;&quot;,&lt;br/&gt;
            &quot;flow-node-inventory:supported&quot;: &quot;one-gb-hd&quot;,&lt;br/&gt;
            &quot;flow-node-inventory:current-speed&quot;: 1000000000,&lt;br/&gt;
            &quot;flow-node-inventory:state&quot;: &lt;/p&gt;
{
                &quot;live&quot;: false,
                &quot;blocked&quot;: false,
                &quot;link-down&quot;: true
            }
&lt;p&gt;,&lt;br/&gt;
            &quot;flow-node-inventory:maximum-speed&quot;: 1000000000,&lt;br/&gt;
            &quot;flow-node-inventory:current-feature&quot;: &quot;one-gb-hd&quot;,&lt;br/&gt;
            &quot;flow-node-inventory:name&quot;: &quot;Eth1/2&quot;,&lt;br/&gt;
            &quot;opendaylight-port-statistics:flow-capable-node-connector-statistics&quot;: {&lt;br/&gt;
                &quot;receive-frame-error&quot;: 18446744073709552000,&lt;br/&gt;
                &quot;packets&quot;: &lt;/p&gt;
{
                    &quot;transmitted&quot;: 0,
                    &quot;received&quot;: 0
                }
&lt;p&gt;,&lt;br/&gt;
                &quot;duration&quot;: &lt;/p&gt;
{
                    &quot;nanosecond&quot;: 4294967295,
                    &quot;second&quot;: 4294967295
                }
&lt;p&gt;,&lt;br/&gt;
                &quot;collision-count&quot;: 18446744073709552000,&lt;br/&gt;
                &quot;bytes&quot;: &lt;/p&gt;
{
                    &quot;transmitted&quot;: 0,
                    &quot;received&quot;: 0
                }
&lt;p&gt;,&lt;br/&gt;
                &quot;receive-over-run-error&quot;: 18446744073709552000,&lt;br/&gt;
                &quot;receive-crc-error&quot;: 18446744073709552000,&lt;br/&gt;
                &quot;transmit-errors&quot;: 0,&lt;br/&gt;
                &quot;receive-drops&quot;: 0,&lt;br/&gt;
                &quot;transmit-drops&quot;: 0,&lt;br/&gt;
                &quot;receive-errors&quot;: 0&lt;br/&gt;
            }&lt;br/&gt;
        }&lt;br/&gt;
    ]&lt;br/&gt;
}&lt;/p&gt;


&lt;p&gt;after i remove the  of-port interface ethernet1/2 from switch, i still the node connector 2&lt;/p&gt;

&lt;p&gt;openflow&lt;br/&gt;
  switch 1&lt;br/&gt;
    protocol-version negotiate&lt;br/&gt;
    logging flow-mod&lt;br/&gt;
    pipeline 201&lt;br/&gt;
    controller ipv4 10.194.132.37 port 6653 vrf management security none&lt;br/&gt;
    controller ipv4 10.194.132.147 port 6653 vrf management security none&lt;br/&gt;
    of-port interface ethernet1/1&lt;br/&gt;
hardware profile openflow&lt;br/&gt;
virtual-service ofan3k4&lt;br/&gt;
  activate&lt;/p&gt;

&lt;p&gt;i still see the node connector details for port 2 from the inventory API. &lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://11.11.11.11:8181/restconf/operational/opendaylight-inventory:nodes/node/openflow:466244700179552/node-connector/openflow:466244700179552:2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://11.11.11.11:8181/restconf/operational/opendaylight-inventory:nodes/node/openflow:466244700179552/node-connector/openflow:466244700179552:2&lt;/a&gt;&lt;br/&gt;
{&lt;br/&gt;
    &quot;node-connector&quot;: [&lt;br/&gt;
        {&lt;br/&gt;
            &quot;id&quot;: &quot;openflow:466244700179552:2&quot;,&lt;br/&gt;
            &quot;flow-node-inventory:configuration&quot;: &quot;&quot;,&lt;br/&gt;
            &quot;flow-node-inventory:port-number&quot;: &quot;2&quot;,&lt;br/&gt;
            &quot;flow-node-inventory:peer-features&quot;: &quot;&quot;,&lt;br/&gt;
            &quot;flow-node-inventory:hardware-address&quot;: &quot;A8:0C:0D:BB:8C:69&quot;,&lt;br/&gt;
            &quot;flow-node-inventory:advertised-features&quot;: &quot;&quot;,&lt;br/&gt;
            &quot;flow-node-inventory:supported&quot;: &quot;one-gb-hd&quot;,&lt;/p&gt;

&lt;p&gt;inventory api is not getting refreshed if openflow ports are removed from switch.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Linux&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="27704">OPNFLWPLUG-436</key>
            <summary>inventory api shows removed openflow ports on the cisco switches</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="-1">Unassigned</assignee>
                                    <reporter username="nkankipati@gmail.com">Narayana Rao Kankipati</reporter>
                        <labels>
                    </labels>
                <created>Sat, 9 May 2015 01:14:12 +0000</created>
                <updated>Mon, 27 Sep 2021 09:01:30 +0000</updated>
                            <resolved>Wed, 16 Mar 2016 09:21:59 +0000</resolved>
                                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="56850" author="abhijit2511" created="Tue, 10 Nov 2015 19:30:10 +0000"  >&lt;p&gt;Can you recheck with the latest code? This was fixed 3-4 months ago.&lt;/p&gt;</comment>
                            <comment id="56851" author="jozef.bacigal@pantheon.tech" created="Wed, 16 Mar 2016 09:21:59 +0000"  >&lt;p&gt;Long time no response, if persist open a new bug please.&lt;/p&gt;</comment>
                    </comments>
                    <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>3163</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=3163]]></customfieldvalue>

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

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