<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:48:10 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>[VTN-144] Failure in VTN Flowfilter CSIT to install flow with actions vtn-set-inet-src and vtn-set-inet-dst</title>
                <link>https://jira.opendaylight.org/browse/VTN-144</link>
                <project id="10185" key="VTN">vtn</project>
                    <description>&lt;p&gt;VTN Flowfilter CSIT which failed to install flows with actions vtn-set-inet-src and vtn-set-inet-dst in Boron.&lt;br/&gt;
Failure is not consistent. And issue occurs in OF13.&lt;/p&gt;

&lt;p&gt;Followed below steps in creating VTN Flowfilter test case&lt;br/&gt;
1) Create VTN&lt;br/&gt;
2) Create VBR1&lt;br/&gt;
3) Create VBR1-IF1 and VBR1-IF2&lt;br/&gt;
4) Configure portmap s2-eth1  (host h1) for VBR1-IF1 &lt;br/&gt;
5) Configure portmap s3-eth1  (host h3) for VBR1-IF2&lt;br/&gt;
6) ping h1 and h3&lt;br/&gt;
7) Create VBR2&lt;br/&gt;
8) Create VBR2-IF3 and VBR2-IF4&lt;br/&gt;
9) Configure portmap s2-eth2 (host h2) for VBR2-IF3 &lt;br/&gt;
10 Configure portmap s3-eth2 (host h4) for VBR2-IF4&lt;br/&gt;
11 ping h2 and h4&lt;br/&gt;
12 Create flowcondition with vtn-flow-math &lt;span class=&quot;error&quot;&gt;&amp;#91;inet4-src 10.0.0.1/32 and inet4-dst 10.0.0.3/32&amp;#93;&lt;/span&gt;&lt;br/&gt;
13) Create VTN Flowfilter with vtn-set-inet-src (192.0.0.1/32) and vtn-set-inet-dst (192.0.0.3/32)&lt;br/&gt;
14) Verify Mininet ping should not succeed Between h1 and h3.&lt;br/&gt;
15) Verify flowentry installed with vtn-set-inet-src (192.0.0.1) and vtn-set-inet-dst (192.0.0.3)   -&amp;gt; Here test case fails to detect inet-src and inet-dst in flow entry installed.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://logs.opendaylight.org/releng/jenkins092/vtn-csit-1node-manager-only-boron/649/archives/karaf.log.gz&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://logs.opendaylight.org/releng/jenkins092/vtn-csit-1node-manager-only-boron/649/archives/karaf.log.gz&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Below are the observation from the above log and Steps of VTN flowfilter&lt;/p&gt;

&lt;p&gt;1) When the above Step-13 is executed, found path-fault issue between openflow:2 --&amp;gt; openflow:3. And vbridge1 status become DOWN.&lt;br/&gt;
Please find log below for the same.&lt;/p&gt;

&lt;p&gt;2016-09-05 16:30:59,731 | TRACE | Runner: VTN Main | VTNFlowCondition                 | 194 - org.opendaylight.vtn.manager.implementation - 0.5.0.SNAPSHOT | cond_1: Matched the condition: match=&lt;span class=&quot;error&quot;&gt;&amp;#91;DL_TYPE=2048,IP_SRC=10.0.0.1,IP_DST=10.0.0.3&amp;#93;&lt;/span&gt;, packet=[Ether&lt;span class=&quot;error&quot;&gt;&amp;#91;src=56:33:cb:a7:29:f5,dst=6a:ef:a7:a4:36:f2,type=0x800&amp;#93;&lt;/span&gt;,Inet4&lt;span class=&quot;error&quot;&gt;&amp;#91;src=10.0.0.1,dst=10.0.0.3,proto=1,dscp=0&amp;#93;&lt;/span&gt;,ICMP&lt;span class=&quot;error&quot;&gt;&amp;#91;type=8,code=0&amp;#93;&lt;/span&gt;]&lt;br/&gt;
2016-09-05 16:30:59,731 | TRACE | Runner: VTN Main | VTNPassFilter                    | 194 - org.opendaylight.vtn.manager.implementation - 0.5.0.SNAPSHOT | VTN:Tenant1%IN.1: Flow action was applied: VTNSetInetSrcAction&lt;span class=&quot;error&quot;&gt;&amp;#91;addr=192.0.0.1,order=1&amp;#93;&lt;/span&gt;&lt;br/&gt;
2016-09-05 16:30:59,731 | TRACE | Runner: VTN Main | VTNPassFilter                    | 194 - org.opendaylight.vtn.manager.implementation - 0.5.0.SNAPSHOT | VTN:Tenant1%IN.1: Flow action was applied: VTNSetInetDstAction&lt;span class=&quot;error&quot;&gt;&amp;#91;addr=192.0.0.2,order=2&amp;#93;&lt;/span&gt;&lt;br/&gt;
2016-09-05 16:30:59,731 | TRACE | Runner: VTN Main | VTNPassFilter                    | 194 - org.opendaylight.vtn.manager.implementation - 0.5.0.SNAPSHOT | VTN:Tenant1%IN.1: Packet matched the condition: cond_1&lt;br/&gt;
2016-09-05 16:30:59,733 | WARN  | n-dispatcher-149 | VTenantManager                   | 194 - org.opendaylight.vtn.manager.implementation - 0.5.0.SNAPSHOT | vBridge:Tenant1/vBridge1: Path fault: openflow:2 -&amp;gt; openflow:3&lt;br/&gt;
2016-09-05 16:30:59,733 | INFO  | n-dispatcher-149 | VTenantManager                   | 194 - org.opendaylight.vtn.manager.implementation - 0.5.0.SNAPSHOT | vBridge:Tenant1/vBridge1: vBridge status has been changed: old=&lt;/p&gt;
{state=UP, path-faults=0}
&lt;p&gt;, new=&lt;/p&gt;
{state=DOWN, path-faults=1}


&lt;p&gt;2) Few seconds later (5sec) missing edge added and inter switch link has been created. Which in turns resolves path-fault issue.&lt;/p&gt;

&lt;p&gt;2016-09-05 16:31:04,338 | INFO  | n-dispatcher-149 | VTNRoutingManager                | 194 - org.opendaylight.vtn.manager.implementation - 0.5.0.SNAPSHOT | Inter-switch link has been created: &lt;/p&gt;
{id=openflow:1:2, src=openflow:1:2, dst=openflow:3:3, static=false}
&lt;p&gt;2016-09-05 16:31:04,338 | TRACE | n-dispatcher-149 | TopologyGraph                    | 194 - org.opendaylight.vtn.manager.implementation - 0.5.0.SNAPSHOT | Edge added: openflow:1:2 -&amp;gt; openflow:3:3&lt;br/&gt;
2016-09-05 16:31:04,338 | INFO  | n-dispatcher-149 | VTNRoutingManager                | 194 - org.opendaylight.vtn.manager.implementation - 0.5.0.SNAPSHOT | Routing table has been updated.&lt;br/&gt;
2016-09-05 16:31:04,338 | INFO  | on-dispatcher-45 | VTNInventoryManager              | 194 - org.opendaylight.vtn.manager.implementation - 0.5.0.SNAPSHOT | Port has been changed: old={id=openflow:3:3, name=s3-eth3, enabled=true, cost=1000, links=[&lt;/p&gt;
{id=openflow:3:3, peer=openflow:1:2}
&lt;p&gt;]}, new={id=openflow:3:3, name=s3-eth3, enabled=true, cost=1000, links=[&lt;/p&gt;
{id=openflow:3:3, peer=openflow:1:2}
&lt;p&gt;, &lt;/p&gt;
{id=openflow:1:2, peer=openflow:1:2}
&lt;p&gt;]}&lt;br/&gt;
2016-09-05 16:31:04,339 | INFO  | n-dispatcher-121 | VTNInventoryManager              | 194 - org.opendaylight.vtn.manager.implementation - 0.5.0.SNAPSHOT | Port has been changed: old={id=openflow:1:2, name=s1-eth2, enabled=true, cost=1000, links=[&lt;/p&gt;
{id=openflow:3:3, peer=openflow:3:3}
&lt;p&gt;]}, new={id=openflow:1:2, name=s1-eth2, enabled=true, cost=1000, links=[&lt;/p&gt;
{id=openflow:3:3, peer=openflow:3:3}
&lt;p&gt;, &lt;/p&gt;
{id=openflow:1:2, peer=openflow:3:3}
&lt;p&gt;]}&lt;/p&gt;

&lt;p&gt;3) But packet doesn&apos;t match the condition even after the path-fault resolved. &lt;/p&gt;

&lt;p&gt;2016-09-05 16:31:04,675 | TRACE | Runner: VTN Main | VTNFlowCondition                 | 194 - org.opendaylight.vtn.manager.implementation - 0.5.0.SNAPSHOT | cond_1: Does not match: match=&lt;span class=&quot;error&quot;&gt;&amp;#91;DL_TYPE=2048,IP_SRC=10.0.0.1,IP_DST=10.0.0.3&amp;#93;&lt;/span&gt;, packet=[Ether&lt;span class=&quot;error&quot;&gt;&amp;#91;src=56:33:cb:a7:29:f5,dst=6a:ef:a7:a4:36:f2,type=0x806&amp;#93;&lt;/span&gt;]&lt;br/&gt;
2016-09-05 16:31:04,675 | TRACE | Runner: VTN Main | VTNFlowCondition                 | 194 - org.opendaylight.vtn.manager.implementation - 0.5.0.SNAPSHOT | cond_1: Unmatched: packet=[Ether&lt;span class=&quot;error&quot;&gt;&amp;#91;src=56:33:cb:a7:29:f5,dst=6a:ef:a7:a4:36:f2,type=0x806&amp;#93;&lt;/span&gt;]&lt;br/&gt;
2016-09-05 16:31:04,675 | TRACE | Runner: VTN Main | VTNPassFilter                    | 194 - org.opendaylight.vtn.manager.implementation - 0.5.0.SNAPSHOT | VTN:Tenant1%IN.1: Packet did not match the condition: cond_1&lt;br/&gt;
2016-09-05 16:31:04,676 | TRACE | Runner: VTN Main | VBridge                          | 194 - org.opendaylight.vtn.manager.implementation - 0.5.0.SNAPSHOT | 0: Packet route resolved: openflow:2:1 -&amp;gt; [LinkEdge&lt;span class=&quot;error&quot;&gt;&amp;#91;openflow:2:3 -&amp;gt; openflow:1:1&amp;#93;&lt;/span&gt;, LinkEdge&lt;span class=&quot;error&quot;&gt;&amp;#91;openflow:1:2 -&amp;gt; openflow:3:3&amp;#93;&lt;/span&gt;] -&amp;gt; openflow:3:1&lt;br/&gt;
2016-09-05 16:31:04,676 | TRACE | Runner: VTN Main | VBridge                          | 194 - org.opendaylight.vtn.manager.implementation - 0.5.0.SNAPSHOT | vBridge:Tenant1/vBridge1: Forward packet to known host: src=56:33:cb:a7:29:f5, dst=6a:ef:a7:a4:36:f2, port=openflow:3:1, type=0x806, vlan=0&lt;br/&gt;
2016-09-05 16:31:04,677 | TRACE | Runner: VTN Main | Packet                           | 192 - org.opendaylight.vtn.manager - 0.5.0.SNAPSHOT | Serialized: ARP: 00:01:08:00:06:04:00:01:56:33:cb:a7:29:f5:0a:00:00:01:00:00:00:00:00:00:0a:00:00:03&lt;br/&gt;
2016-09-05 16:31:04,677 | TRACE | Runner: VTN Main | Packet                           | 192 - org.opendaylight.vtn.manager - 0.5.0.SNAPSHOT | Serialized: Ethernet: 6a:ef:a7:a4:36:f2:56:33:cb:a7:29:f5:08:06:00:01:08:00:06:04:00:01:56:33:cb:a7:29:f5:0a:00:00:01:00:00:00:00:00:00:0a:00:00:03&lt;br/&gt;
2016-09-05 16:31:04,677 | TRACE | entLoopGroup-5-5 | VTNPacketService                 | 194 - org.opendaylight.vtn.manager.implementation - 0.5.0.SNAPSHOT | transmit-packet: RPC completed successfully: result=null&lt;/p&gt;

&lt;p&gt;4) Due to unmatched packet, flow entry installed without vtn-set-inet-src and vtn-set-inet-dst in openflow3:1&lt;/p&gt;

&lt;p&gt;2016-09-05 16:31:04,684 | TRACE | entLoopGroup-5-5 | SendBarrierRpc                   | 194 - org.opendaylight.vtn.manager.implementation - 0.5.0.SNAPSHOT | send-barrier RPC has completed: node=openflow:3&lt;br/&gt;
2016-09-05 16:31:04,684 | TRACE | TN Flow Thread-0 | FlowAddContext                   | 194 - org.opendaylight.vtn.manager.implementation - 0.5.0.SNAPSHOT | Flow entry has been installed: flow=[id=7f56000000000027-2, pri=11, timeout=(0,0), node=openflow:3, ingress=openflow:3:3, cond=&lt;/p&gt;
{DL_SRC=56:33:cb:a7:29:f5,DL_DST=6a:ef:a7:a4:36:f2,DL_TYPE=2054,DL_VLAN=0}
&lt;p&gt;, actions=&lt;/p&gt;
{OUTPUT(port=openflow:3:1, len=65535)}

&lt;p&gt;We will add Report_Failure_Due_To_Bug in the failed test case.&lt;br/&gt;
Which report that a test failed due to a known Bugzilla bug whose Bug id is provided as an argument.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="26524">VTN-144</key>
            <summary>Failure in VTN Flowfilter CSIT to install flow with actions vtn-set-inet-src and vtn-set-inet-dst</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                                <status id="1" iconUrl="https://jira.opendaylight.org/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="blue-gray"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="siva-karthik@hcl.com">Karthik Sivasamy</reporter>
                        <labels>
                    </labels>
                <created>Tue, 6 Sep 2016 12:27:20 +0000</created>
                <updated>Thu, 19 Oct 2017 21:25:22 +0000</updated>
                                            <version>unspecified</version>
                                                    <component>VTN Manager</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="53150" author="hideyuki.tai@necam.com" created="Wed, 7 Sep 2016 17:06:38 +0000"  >&lt;p&gt;Thank you for creating this bug report!!!&lt;/p&gt;

&lt;p&gt;I&apos;ve checked your explanation, but it is not clear to me that which behavior of the VTN Manager was wrong. Could you make it clear which behavior of the VTN Manager was wrong? I&apos;m thinking VTN Manager worked fine as expected.&lt;/p&gt;


&lt;p&gt;The VTN Manager didn&apos;t filter the packet, since the packet didn&apos;t match the condition. As the following log message showed, the packet was an ARP packet (type=0x806), but not an IP packet. On the other hand, the conditis for IP packets (DL_TYPE=2048). Therefore, I think the behavior of the VTN Manager was fine.&lt;/p&gt;

&lt;p&gt;2016-09-05 16:31:04,675 (snip) cond_1: Does not match: match=&lt;span class=&quot;error&quot;&gt;&amp;#91;DL_TYPE=2048,IP_SRC=10.0.0.1,IP_DST=10.0.0.3&amp;#93;&lt;/span&gt;, packet=[Ether&lt;span class=&quot;error&quot;&gt;&amp;#91;src=56:33:cb:a7:29:f5,dst=6a:ef:a7:a4:36:f2,type=0x806&amp;#93;&lt;/span&gt;]&lt;br/&gt;
2016-09-05 16:31:04,675 (snip) cond_1: Unmatched: packet=[Ether&lt;span class=&quot;error&quot;&gt;&amp;#91;src=56:33:cb:a7:29:f5,dst=6a:ef:a7:a4:36:f2,type=0x806&amp;#93;&lt;/span&gt;]&lt;/p&gt;



&lt;p&gt;The following log message meant that the flow entry was installed for ARP packets (DL_TYPE=2054). The flow entry was not related to the flow filter. Therefore, that&apos;s fine.&lt;/p&gt;

&lt;p&gt;2016-09-05 16:31:04,684 (snip) Flow entry has been installed: flow=[id=7f56000000000027-2, pri=11, timeout=(0,0), node=openflow:3, ingress=openflow:3:3, cond=&lt;/p&gt;
{DL_SRC=56:33:cb:a7:29:f5,DL_DST=6a:ef:a7:a4:36:f2,DL_TYPE=2054,DL_VLAN=0}
&lt;p&gt;, actions=&lt;/p&gt;
{OUTPUT(port=openflow:3:1, len=65535)}

&lt;p&gt;Therefore, I could not see any issues of the VTN Manager here. Could you explain which behavior of the VTN Manager was wrong in the test? I&apos;m thinking that the test script of the CSIT may be wrong, although I&apos;ve not checked the CSIT code deeply.&lt;/p&gt;

&lt;p&gt;Or, I&apos;m thinking the path-fault caused the test failure. It could be that the VTN Manager didn&apos;t forward the IP packets between h1 and h3, and didn&apos;t install flow entries for them due to the path-fault. That could be the reason why the flow entries for the flow filter was not installed. In that case, we need to investigate why the path-fault occurred to check if the path-fault was expected or not.&lt;/p&gt;</comment>
                            <comment id="53152" author="siva-karthik@hcl.com" created="Tue, 20 Sep 2016 10:40:24 +0000"  >&lt;p&gt;Attachment FailureCSIT.zip has been added with description: Attached Failure CSIT Karaf log with TRACE enabled for VTN and Openflowplugin&lt;/p&gt;</comment>
                            <comment id="53153" author="siva-karthik@hcl.com" created="Tue, 20 Sep 2016 10:41:13 +0000"  >&lt;p&gt;Attachment SuccessCSIT.zip has been added with description: Attached Success CSIT Karaf log with TRACE enabled for VTN and Openflowplugin&lt;/p&gt;</comment>
                            <comment id="53151" author="siva-karthik@hcl.com" created="Tue, 20 Sep 2016 10:46:47 +0000"  >&lt;p&gt;To investigate the inconsistent path-fault issue, The following has been added to the CIST test cases.&lt;br/&gt;
Collecting VTN-Inventory information&lt;br/&gt;
Collecting ODL-Inventory information&lt;br/&gt;
Enabling Trace log for Openflow plugin.&lt;/p&gt;

&lt;p&gt;A patch with the above changes has been pushed to git.&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/45617/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/45617/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The patch was tested in Sandbox and the issue are reproduced.&lt;/p&gt;

&lt;p&gt;Attached Karaf log zip file for Failed CSIT build and Success CSIT Build. We compared and analysed both logs to understand the issue.&lt;br/&gt;
Attached File Info:&lt;br/&gt;
1) Failure CSIT karaf Log - FailureCSIT.zip&lt;br/&gt;
2) Success CSIT karaf Log - SuccessCSIT.zip&lt;/p&gt;

&lt;p&gt;Analysis:&lt;br/&gt;
============&lt;br/&gt;
The path-fault is detected during the Verify inet4src and inet4dst of vtn flowfilter test case in the VTN Manager Flowfilter test scenario.&lt;br/&gt;
The path-fault is due to the Inter-switch link between ports openflow:1:2 and openflow:3:3 is not present in the VTN Inventory during the test execution.&lt;/p&gt;

&lt;p&gt;On analyzing the failure karaf log, The Inter-Switch link between ports openflow:1:2 and openflow:3:3 removal was detected when the configuration was removed in the previous test case &#8216;Remove Portmap for If1 test case&#8217; in Vtn Manager Dataflow test scenario.&lt;/p&gt;

&lt;p&gt;Log Snippet - &lt;br/&gt;
Open flow plugin detects Link removal&lt;br/&gt;
2016-09-18 19:28:13,049 | DEBUG | yExporter-flow:1 | OperationProcessor               | 345 - org.opendaylight.openflowplugin.applications.topology-manager - 0.3.1.SNAPSHOT | New onLinkRemoved operation available, starting transaction&lt;/p&gt;

&lt;p&gt;VTN Manager detects link removal&lt;br/&gt;
2016-09-18 19:28:13,077 | INFO  | on-dispatcher-71 | VTNRoutingManager                | 492 - org.opendaylight.vtn.manager.implementation - 0.5.1.SNAPSHOT | Inter-switch link has been removed: &lt;/p&gt;
{id=openflow:1:2, src=openflow:1:2, dst=openflow:3:3, static=false}
&lt;p&gt;2016-09-18 19:28:13,077 | TRACE | on-dispatcher-71 | TopologyGraph                    | 492 - org.opendaylight.vtn.manager.implementation - 0.5.1.SNAPSHOT | Edge removed: openflow:1:2 -&amp;gt; openflow:3:3&lt;/p&gt;

&lt;p&gt;Also in the get vtn-inventory link edge opneflow:1:2 and openflow:3:3 is missing. And the same link ID is present in other test cases.&lt;/p&gt;

&lt;p&gt;VTN-Inventory of Delete VTN Test case in Failure case&lt;br/&gt;
=============================================&lt;br/&gt;
{&quot;vtn-nodes&quot;:{&quot;vtn-node&quot;:[{&quot;id&quot;:&quot;openflow:3&quot;,&quot;vtn-port&quot;:[{&quot;id&quot;:&quot;openflow:3:3&quot;,&quot;cost&quot;:1000,&quot;name&quot;:&quot;s3-eth3&quot;,&quot;enabled&quot;:true,&quot;port-link&quot;:[&lt;/p&gt;
{&quot;link-id&quot;:&quot;openflow:3:3&quot;,&quot;peer&quot;:&quot;openflow:1:2&quot;}
&lt;p&gt;]},&lt;/p&gt;
{&quot;id&quot;:&quot;openflow:3:2&quot;,&quot;cost&quot;:1000,&quot;name&quot;:&quot;s3-eth2&quot;,&quot;enabled&quot;:true}
&lt;p&gt;,&lt;/p&gt;
{&quot;id&quot;:&quot;openflow:3:1&quot;,&quot;cost&quot;:1000,&quot;name&quot;:&quot;s3-eth1&quot;,&quot;enabled&quot;:true}
&lt;p&gt;],&quot;openflow-version&quot;:&quot;OF13&quot;},{&quot;id&quot;:&quot;openflow:2&quot;,&quot;vtn-port&quot;:[{&quot;id&quot;:&quot;openflow:2:3&quot;,&quot;cost&quot;:1000,&quot;name&quot;:&quot;s2-eth3&quot;,&quot;enabled&quot;:true,&quot;port-link&quot;:[&lt;/p&gt;
{&quot;link-id&quot;:&quot;openflow:1:1&quot;,&quot;peer&quot;:&quot;openflow:1:1&quot;}
&lt;p&gt;,&lt;/p&gt;
{&quot;link-id&quot;:&quot;openflow:2:3&quot;,&quot;peer&quot;:&quot;openflow:1:1&quot;}
&lt;p&gt;]},&lt;/p&gt;
{&quot;id&quot;:&quot;openflow:2:2&quot;,&quot;cost&quot;:1000,&quot;name&quot;:&quot;s2-eth2&quot;,&quot;enabled&quot;:true}
&lt;p&gt;,&lt;/p&gt;
{&quot;id&quot;:&quot;openflow:2:1&quot;,&quot;cost&quot;:1000,&quot;name&quot;:&quot;s2-eth1&quot;,&quot;enabled&quot;:true}
&lt;p&gt;],&quot;openflow-version&quot;:&quot;OF13&quot;},{&quot;id&quot;:&quot;openflow:1&quot;,&quot;vtn-port&quot;:[{&quot;id&quot;:&quot;openflow:1:2&quot;,&quot;cost&quot;:1000,&quot;name&quot;:&quot;s1-eth2&quot;,&quot;enabled&quot;:true,&quot;port-link&quot;:[&lt;/p&gt;
{&quot;link-id&quot;:&quot;openflow:3:3&quot;,&quot;peer&quot;:&quot;openflow:3:3&quot;}
&lt;p&gt;]},{&quot;id&quot;:&quot;openflow:1:1&quot;,&quot;cost&quot;:1000,&quot;name&quot;:&quot;s1-eth1&quot;,&quot;enabled&quot;:true,&quot;port-link&quot;:[&lt;/p&gt;
{&quot;link-id&quot;:&quot;openflow:1:1&quot;,&quot;peer&quot;:&quot;openflow:2:3&quot;}
&lt;p&gt;,&lt;/p&gt;
{&quot;link-id&quot;:&quot;openflow:2:3&quot;,&quot;peer&quot;:&quot;openflow:2:3&quot;}
&lt;p&gt;]}],&quot;openflow-version&quot;:&quot;OF13&quot;}]}}&lt;/p&gt;

&lt;p&gt;VTN-Inventory of Delete VTN Test case in Success case.&lt;br/&gt;
=============================================&lt;br/&gt;
{&quot;vtn-nodes&quot;:{&quot;vtn-node&quot;:[{&quot;id&quot;:&quot;openflow:3&quot;,&quot;vtn-port&quot;:[&lt;/p&gt;
{&quot;id&quot;:&quot;openflow:3:2&quot;,&quot;cost&quot;:1000,&quot;name&quot;:&quot;s3-eth2&quot;,&quot;enabled&quot;:true}
&lt;p&gt;,&lt;/p&gt;
{&quot;id&quot;:&quot;openflow:3:1&quot;,&quot;cost&quot;:1000,&quot;name&quot;:&quot;s3-eth1&quot;,&quot;enabled&quot;:true}
&lt;p&gt;,{&quot;id&quot;:&quot;openflow:3:3&quot;,&quot;port-link&quot;:[&lt;/p&gt;
{&quot;link-id&quot;:&quot;openflow:3:3&quot;,&quot;peer&quot;:&quot;openflow:1:2&quot;}
&lt;p&gt;,&lt;/p&gt;
{&quot;link-id&quot;:&quot;openflow:1:2&quot;,&quot;peer&quot;:&quot;openflow:1:2&quot;}
&lt;p&gt;],&quot;cost&quot;:1000,&quot;name&quot;:&quot;s3-eth3&quot;,&quot;enabled&quot;:true}],&quot;openflow-version&quot;:&quot;OF13&quot;},{&quot;id&quot;:&quot;openflow:2&quot;,&quot;vtn-port&quot;:[{&quot;id&quot;:&quot;openflow:2:3&quot;,&quot;port-link&quot;:[&lt;/p&gt;
{&quot;link-id&quot;:&quot;openflow:1:1&quot;,&quot;peer&quot;:&quot;openflow:1:1&quot;}
&lt;p&gt;,&lt;/p&gt;
{&quot;link-id&quot;:&quot;openflow:2:3&quot;,&quot;peer&quot;:&quot;openflow:1:1&quot;}
&lt;p&gt;],&quot;cost&quot;:1000,&quot;name&quot;:&quot;s2-eth3&quot;,&quot;enabled&quot;:true},&lt;/p&gt;
{&quot;id&quot;:&quot;openflow:2:2&quot;,&quot;cost&quot;:1000,&quot;name&quot;:&quot;s2-eth2&quot;,&quot;enabled&quot;:true}
&lt;p&gt;,&lt;/p&gt;
{&quot;id&quot;:&quot;openflow:2:1&quot;,&quot;cost&quot;:1000,&quot;name&quot;:&quot;s2-eth1&quot;,&quot;enabled&quot;:true}
&lt;p&gt;],&quot;openflow-version&quot;:&quot;OF13&quot;},{&quot;id&quot;:&quot;openflow:1&quot;,&quot;vtn-port&quot;:[{&quot;id&quot;:&quot;openflow:1:2&quot;,&quot;port-link&quot;:[&lt;/p&gt;
{&quot;link-id&quot;:&quot;openflow:3:3&quot;,&quot;peer&quot;:&quot;openflow:3:3&quot;}
&lt;p&gt;,&lt;/p&gt;
{&quot;link-id&quot;:&quot;openflow:1:2&quot;,&quot;peer&quot;:&quot;openflow:3:3&quot;}
&lt;p&gt;],&quot;cost&quot;:1000,&quot;name&quot;:&quot;s1-eth2&quot;,&quot;enabled&quot;:true},{&quot;id&quot;:&quot;openflow:1:1&quot;,&quot;port-link&quot;:[&lt;/p&gt;
{&quot;link-id&quot;:&quot;openflow:1:1&quot;,&quot;peer&quot;:&quot;openflow:2:3&quot;}
&lt;p&gt;,&lt;/p&gt;
{&quot;link-id&quot;:&quot;openflow:2:3&quot;,&quot;peer&quot;:&quot;openflow:2:3&quot;}
&lt;p&gt;],&quot;cost&quot;:1000,&quot;name&quot;:&quot;s1-eth1&quot;,&quot;enabled&quot;:true}],&quot;openflow-version&quot;:&quot;OF13&quot;}]}}&lt;/p&gt;

&lt;p&gt;In the above vtn-inventory, &lt;/p&gt;
{&quot;link-id&quot;:&quot;openflow:1:2&quot;,&quot;peer&quot;:&quot;openflow:1:2&quot;}
&lt;p&gt; is missing in node:id &quot;&quot;openflow:3&quot;&quot; and &lt;/p&gt;
{&quot;link-id&quot;:&quot;openflow:1:2&quot;,&quot;peer&quot;:&quot;openflow:3:3&quot;}
&lt;p&gt; is missing in node:id &quot;&quot;openflow:1&quot;&quot; &lt;/p&gt;

&lt;p&gt;On completion of VTN Manager Dataflow Test scenario, VTN Manager Flowfilter test scenario is executed.&lt;br/&gt;
Below are Steps followed in VTN Manager Flowfilter test. &lt;br/&gt;
1) Create VTN    -&amp;gt; pass&lt;br/&gt;
2) Create VBR1  -&amp;gt; pass&lt;br/&gt;
3) Create VBR1-IF1 and VBR1-IF2              -&amp;gt; pass&lt;br/&gt;
4) Configure portmap s2-eth1  (host h1) for VBR1-IF1 -&amp;gt; pass&lt;br/&gt;
5) Configure portmap s3-eth1  (host h3) for VBR1-IF2 -&amp;gt;                pass&lt;br/&gt;
6) ping h1 and h3              -&amp;gt; pass&lt;br/&gt;
7) Create VBR2  -&amp;gt; pass&lt;br/&gt;
8) Create VBR2-IF3 and VBR2-IF4              -&amp;gt; pass&lt;br/&gt;
9) Configure portmap s2-eth2 (host h2) for VBR2-IF3 -&amp;gt; pass&lt;br/&gt;
10 Configure portmap s3-eth2 (host h4) for VBR2-IF4 -&amp;gt; pass&lt;br/&gt;
11 ping h2 and h4             -&amp;gt; pass&lt;br/&gt;
12 Create flowcondition with vtn-flow-math &lt;span class=&quot;error&quot;&gt;&amp;#91;inet4-src 10.0.0.1/32 and inet4-dst 10.0.0.3/32&amp;#93;&lt;/span&gt;      -&amp;gt; pass&lt;br/&gt;
13) Create VTN Flowfilter with vtn-set-inet-src (192.0.0.1/32) and vtn-set-inet-dst (192.0.0.3/32) -&amp;gt; pass&lt;/p&gt;

&lt;p&gt;From step 1 to step 13 the output of VTN-Inventory list doesn&apos;t contain Inter-switch link link edge opneflow:1:2 and openflow:3:3.&lt;/p&gt;

&lt;p&gt;VTN Inventory Output for the above Step 1 to step 13 - Inter-switch link is missing.&lt;br/&gt;
{&quot;vtn-nodes&quot;:{&quot;vtn-node&quot;:[{&quot;id&quot;:&quot;openflow:3&quot;,&quot;vtn-port&quot;:[{&quot;id&quot;:&quot;openflow:3:3&quot;,&quot;cost&quot;:1000,&quot;name&quot;:&quot;s3-eth3&quot;,&quot;enabled&quot;:true,&quot;port-link&quot;:[&lt;/p&gt;
{&quot;link-id&quot;:&quot;openflow:3:3&quot;,&quot;peer&quot;:&quot;openflow:1:2&quot;}
&lt;p&gt;]},&lt;/p&gt;
{&quot;id&quot;:&quot;openflow:3:2&quot;,&quot;cost&quot;:1000,&quot;name&quot;:&quot;s3-eth2&quot;,&quot;enabled&quot;:true}
&lt;p&gt;,&lt;/p&gt;
{&quot;id&quot;:&quot;openflow:3:1&quot;,&quot;cost&quot;:1000,&quot;name&quot;:&quot;s3-eth1&quot;,&quot;enabled&quot;:true}
&lt;p&gt;],&quot;openflow-version&quot;:&quot;OF13&quot;},{&quot;id&quot;:&quot;openflow:2&quot;,&quot;vtn-port&quot;:[{&quot;id&quot;:&quot;openflow:2:3&quot;,&quot;cost&quot;:1000,&quot;name&quot;:&quot;s2-eth3&quot;,&quot;enabled&quot;:true,&quot;port-link&quot;:[&lt;/p&gt;
{&quot;link-id&quot;:&quot;openflow:1:1&quot;,&quot;peer&quot;:&quot;openflow:1:1&quot;}
&lt;p&gt;,&lt;/p&gt;
{&quot;link-id&quot;:&quot;openflow:2:3&quot;,&quot;peer&quot;:&quot;openflow:1:1&quot;}
&lt;p&gt;]},&lt;/p&gt;
{&quot;id&quot;:&quot;openflow:2:2&quot;,&quot;cost&quot;:1000,&quot;name&quot;:&quot;s2-eth2&quot;,&quot;enabled&quot;:true}
&lt;p&gt;,&lt;/p&gt;
{&quot;id&quot;:&quot;openflow:2:1&quot;,&quot;cost&quot;:1000,&quot;name&quot;:&quot;s2-eth1&quot;,&quot;enabled&quot;:true}
&lt;p&gt;],&quot;openflow-version&quot;:&quot;OF13&quot;},{&quot;id&quot;:&quot;openflow:1&quot;,&quot;vtn-port&quot;:[{&quot;id&quot;:&quot;openflow:1:2&quot;,&quot;cost&quot;:1000,&quot;name&quot;:&quot;s1-eth2&quot;,&quot;enabled&quot;:true,&quot;port-link&quot;:[&lt;/p&gt;
{&quot;link-id&quot;:&quot;openflow:3:3&quot;,&quot;peer&quot;:&quot;openflow:3:3&quot;}
&lt;p&gt;]},{&quot;id&quot;:&quot;openflow:1:1&quot;,&quot;cost&quot;:1000,&quot;name&quot;:&quot;s1-eth1&quot;,&quot;enabled&quot;:true,&quot;port-link&quot;:[&lt;/p&gt;
{&quot;link-id&quot;:&quot;openflow:1:1&quot;,&quot;peer&quot;:&quot;openflow:2:3&quot;}
&lt;p&gt;,&lt;/p&gt;
{&quot;link-id&quot;:&quot;openflow:2:3&quot;,&quot;peer&quot;:&quot;openflow:2:3&quot;}
&lt;p&gt;]}],&quot;openflow-version&quot;:&quot;OF13&quot;}]}} &lt;/p&gt;

&lt;p&gt;As the Inter-switch link  is not present, Step 6 - ping h1 and h3  and Step 11 - ping h2 to h4 should actually fail but the ping is successful in CSIT. In the karaf log VTN Manager is able to successfully resolve the path&lt;/p&gt;

&lt;p&gt;2016-09-18 19:28:14,002 | TRACE | Runner: VTN Main | VBridge                          | 492 - org.opendaylight.vtn.manager.implementation - 0.5.1.SNAPSHOT | 0: Packet route resolved: openflow:3:1 -&amp;gt; [LinkEdge&lt;span class=&quot;error&quot;&gt;&amp;#91;openflow:3:3 -&amp;gt; openflow:1:2&amp;#93;&lt;/span&gt;, LinkEdge&lt;span class=&quot;error&quot;&gt;&amp;#91;openflow:1:1 -&amp;gt; openflow:2:3&amp;#93;&lt;/span&gt;] -&amp;gt; openflow:2:1&lt;br/&gt;
2016-09-18 19:28:14,466 | TRACE | Runner: VTN Main | VBridge                          | 492 - org.opendaylight.vtn.manager.implementation - 0.5.1.SNAPSHOT | 0: Packet route resolved: openflow:3:2 -&amp;gt; [LinkEdge&lt;span class=&quot;error&quot;&gt;&amp;#91;openflow:3:3 -&amp;gt; openflow:1:2&amp;#93;&lt;/span&gt;, LinkEdge&lt;span class=&quot;error&quot;&gt;&amp;#91;openflow:1:1 -&amp;gt; openflow:2:3&amp;#93;&lt;/span&gt;] -&amp;gt; openflow:2:2&lt;/p&gt;

&lt;p&gt;Also we cross verified the same ping test case with the successful CSIT job there in VTN-Inventory list Inter-switch link is present. &lt;/p&gt;

&lt;p&gt;14) Verify Mininet ping between h1 and h3. -&amp;gt; pass (ping should not work)&lt;br/&gt;
During this ping test VTN Manager detects a path fault.&lt;/p&gt;

&lt;p&gt;2016-09-18 19:28:14,707 | WARN  | on-dispatcher-71 | VTenantManager                   | 492 - org.opendaylight.vtn.manager.implementation - 0.5.1.SNAPSHOT | vBridge:Tenant1/vBridge1: Path fault: openflow:2 -&amp;gt; openflow:3&lt;br/&gt;
2016-09-18 19:28:14,707 | INFO  | on-dispatcher-71 | VTenantManager                   | 492 - org.opendaylight.vtn.manager.implementation - 0.5.1.SNAPSHOT | vBridge:Tenant1/vBridge1: vBridge status has been changed: old=&lt;/p&gt;
{state=UP, path-faults=0}
&lt;p&gt;, new=&lt;/p&gt;
{state=DOWN, path-faults=1}

&lt;p&gt;Due to this no flows are added to the switch by the VTN Manager.&lt;/p&gt;

&lt;p&gt;15) Verify flowentry installed with vtn-set-inet-src (192.0.0.1) and vtn-set-inet-dst (192.0.0.3)   -&amp;gt; As No flows are written this verification test fails in CSIT.&lt;/p&gt;

&lt;p&gt;During the execution of test 14 , Openflow plugin detects the link between Openflow:1:2 and Openflow:3:3&lt;br/&gt;
2016-09-18 19:28:16,768 | DEBUG | yExporter-flow:1 | OperationProcessor               | 345 - org.opendaylight.openflowplugin.applications.topology-manager - 0.3.1.SNAPSHOT | New onLinkDiscovered operation available, starting transaction&lt;br/&gt;
2016-09-18 19:28:16,768 | DEBUG | yExporter-flow:1 | OperationProcessor               | 345 - org.opendaylight.openflowplugin.applications.topology-manager - 0.3.1.SNAPSHOT | Next operation onLinkDiscovered&lt;/p&gt;

&lt;p&gt;VTN Manager Added the link to the Inventory.&lt;br/&gt;
2016-09-18 19:28:16,786 | INFO  | on-dispatcher-71 | VTNRoutingManager                | 492 - org.opendaylight.vtn.manager.implementation - 0.5.1.SNAPSHOT | Inter-switch link has been created: &lt;/p&gt;
{id=openflow:1:2, src=openflow:1:2, dst=openflow:3:3, static=false}
&lt;p&gt;2016-09-18 19:28:16,786 | TRACE | on-dispatcher-71 | TopologyGraph                    | 492 - org.opendaylight.vtn.manager.implementation - 0.5.1.SNAPSHOT | Edge added: openflow:1:2 -&amp;gt; openflow:3:3&lt;/p&gt;

&lt;p&gt;The missing inter switch links are added to the VTN inventory during step 15 and the subsequent tests are executed successfully in CSIT.&lt;/p&gt;

&lt;p&gt;{&quot;vtn-nodes&quot;:{&quot;vtn-node&quot;:[{&quot;id&quot;:&quot;openflow:3&quot;,&quot;vtn-port&quot;:[{&quot;id&quot;:&quot;openflow:3:3&quot;,&quot;cost&quot;:1000,&quot;name&quot;:&quot;s3-eth3&quot;,&quot;enabled&quot;:true,&quot;port-link&quot;:[&lt;/p&gt;
{&quot;link-id&quot;:&quot;openflow:3:3&quot;,&quot;peer&quot;:&quot;openflow:1:2&quot;}
&lt;p&gt;,&lt;/p&gt;
{&quot;link-id&quot;:&quot;openflow:1:2&quot;,&quot;peer&quot;:&quot;openflow:1:2&quot;}
&lt;p&gt;]},&lt;/p&gt;
{&quot;id&quot;:&quot;openflow:3:2&quot;,&quot;cost&quot;:1000,&quot;name&quot;:&quot;s3-eth2&quot;,&quot;enabled&quot;:true}
&lt;p&gt;,&lt;/p&gt;
{&quot;id&quot;:&quot;openflow:3:1&quot;,&quot;cost&quot;:1000,&quot;name&quot;:&quot;s3-eth1&quot;,&quot;enabled&quot;:true}
&lt;p&gt;],&quot;openflow-version&quot;:&quot;OF13&quot;},{&quot;id&quot;:&quot;openflow:2&quot;,&quot;vtn-port&quot;:[{&quot;id&quot;:&quot;openflow:2:3&quot;,&quot;cost&quot;:1000,&quot;name&quot;:&quot;s2-eth3&quot;,&quot;enabled&quot;:true,&quot;port-link&quot;:[&lt;/p&gt;
{&quot;link-id&quot;:&quot;openflow:1:1&quot;,&quot;peer&quot;:&quot;openflow:1:1&quot;}
&lt;p&gt;,&lt;/p&gt;
{&quot;link-id&quot;:&quot;openflow:2:3&quot;,&quot;peer&quot;:&quot;openflow:1:1&quot;}
&lt;p&gt;]},&lt;/p&gt;
{&quot;id&quot;:&quot;openflow:2:2&quot;,&quot;cost&quot;:1000,&quot;name&quot;:&quot;s2-eth2&quot;,&quot;enabled&quot;:true}
&lt;p&gt;,&lt;/p&gt;
{&quot;id&quot;:&quot;openflow:2:1&quot;,&quot;cost&quot;:1000,&quot;name&quot;:&quot;s2-eth1&quot;,&quot;enabled&quot;:true}
&lt;p&gt;],&quot;openflow-version&quot;:&quot;OF13&quot;},{&quot;id&quot;:&quot;openflow:1&quot;,&quot;vtn-port&quot;:[{&quot;id&quot;:&quot;openflow:1:2&quot;,&quot;cost&quot;:1000,&quot;name&quot;:&quot;s1-eth2&quot;,&quot;enabled&quot;:true,&quot;port-link&quot;:[&lt;/p&gt;
{&quot;link-id&quot;:&quot;openflow:3:3&quot;,&quot;peer&quot;:&quot;openflow:3:3&quot;}
&lt;p&gt;,&lt;/p&gt;
{&quot;link-id&quot;:&quot;openflow:1:2&quot;,&quot;peer&quot;:&quot;openflow:3:3&quot;}
&lt;p&gt;]},{&quot;id&quot;:&quot;openflow:1:1&quot;,&quot;cost&quot;:1000,&quot;name&quot;:&quot;s1-eth1&quot;,&quot;enabled&quot;:true,&quot;port-link&quot;:[&lt;/p&gt;
{&quot;link-id&quot;:&quot;openflow:1:1&quot;,&quot;peer&quot;:&quot;openflow:2:3&quot;}
&lt;p&gt;,&lt;/p&gt;
{&quot;link-id&quot;:&quot;openflow:2:3&quot;,&quot;peer&quot;:&quot;openflow:2:3&quot;}
&lt;p&gt;]}],&quot;openflow-version&quot;:&quot;OF13&quot;}]}}&lt;/p&gt;

&lt;p&gt;In the ODL Inventory all the ODL ports are present for all the test cases. We found only the Port information and not link information in the ODL inventory.&lt;/p&gt;

&lt;p&gt;Observations - &lt;br/&gt;
1)      As the Link edges are removed in the earlier test scenario, Ping test in step 6 and 11 should fail in VTN Manager, but the tests are successful and the path is resolved. Why Path fault was not reported during these tests? Is this the expected behavior of VTN Manager?&lt;br/&gt;
2)      As the Link addition/removal was detected by Openflow plugin first followed by VTN Manager, Our understanding is VTN Manager is handing the Openflow plugin events correctly. Is our understanding correct.&lt;br/&gt;
3)      In the Openflow plugin logs we didn&apos;t find any specific reason for the Link failure detected by the Openflow plugin.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="13714" name="FailureCSIT.zip" size="1017787" author="siva-karthik@hcl.com" created="Tue, 20 Sep 2016 10:40:24 +0000"/>
                            <attachment id="13715" name="SuccessCSIT.zip" size="400153" author="siva-karthik@hcl.com" created="Tue, 20 Sep 2016 10:41:13 +0000"/>
                    </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>6643</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=6643]]></customfieldvalue>

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

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