<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:05:45 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>[L2SWITCH-35] When new ports are added into a OVS switch connected to ODL a default flow is not programmed</title>
                <link>https://jira.opendaylight.org/browse/L2SWITCH-35</link>
                <project id="10134" key="L2SWITCH">l2switch</project>
                    <description>&lt;p&gt;Confirmed on both ODL Helium SR2 and Brocade Vyatta Controller 1.1.1.  Confirmed that behavior is the same if new port is up or down.&lt;/p&gt;

&lt;p&gt;Steps to reproduce:&lt;/p&gt;

&lt;p&gt;1. Connect OVS device up to ODL controller&lt;br/&gt;
2. dump flows for switch (in this case switch1)&lt;br/&gt;
3. add new port to switch&lt;br/&gt;
4. dump flows for switch - no flow installed for new port&lt;br/&gt;
5. disconnect/reconnect to ODL&lt;br/&gt;
6. dump flows for switch - new port will have default flow.&lt;/p&gt;

&lt;p&gt;Logs:&lt;/p&gt;

&lt;p&gt;admin@3920-2$cli&lt;br/&gt;
Synchronizing configuration...OK.&lt;br/&gt;
Pica8 PicOS Version 2.5.2&lt;br/&gt;
Welcome to PicOS L2/L3 on 3920-2&lt;br/&gt;
admin@3920-2&amp;gt; config&lt;br/&gt;
Entering configuration mode.&lt;br/&gt;
There are no other users in configuration mode.&lt;br/&gt;
admin@3920-2# set interface gigabit-ethernet ge-1/1/8 crossflow enable true&lt;br/&gt;
admin@3920-2# set interface gigabit-ethernet ge-1/1/8 crossflow local-control false&lt;br/&gt;
admin@3920-2# commit&lt;br/&gt;
Commit OK.&lt;br/&gt;
Save done.&lt;br/&gt;
admin@3920-2# exit&lt;br/&gt;
admin@3920-2&amp;gt; exit&lt;br/&gt;
admin@3920-2$ovs-vsctl show&lt;br/&gt;
0af6f9ee-ac59-4590-a55b-8295a4c26cd7&lt;br/&gt;
Bridge &quot;switch1&quot;&lt;br/&gt;
Controller &quot;tcp:192.168.21.109:6633&quot;&lt;br/&gt;
is_connected: true&lt;br/&gt;
fail_mode: standalone&lt;br/&gt;
Port &quot;ge-1/1/2&quot;&lt;br/&gt;
Interface &quot;ge-1/1/2&quot;&lt;br/&gt;
type: &quot;pica8&quot;&lt;br/&gt;
Port &quot;ge-1/1/1&quot;&lt;br/&gt;
Interface &quot;ge-1/1/1&quot;&lt;br/&gt;
type: &quot;pica8&quot;&lt;br/&gt;
Port &quot;ge-1/1/4&quot;&lt;br/&gt;
Interface &quot;ge-1/1/4&quot;&lt;br/&gt;
type: &quot;pica8&quot;&lt;br/&gt;
Port &quot;te-1/1/49&quot;&lt;br/&gt;
tag: 1&lt;br/&gt;
Interface &quot;te-1/1/49&quot;&lt;br/&gt;
type: &quot;pica8&quot;&lt;br/&gt;
options: &lt;/p&gt;
{flow_ctl=none, link_speed=auto}&lt;br/&gt;
Port &quot;ge-1/1/5&quot;&lt;br/&gt;
Interface &quot;ge-1/1/5&quot;&lt;br/&gt;
type: &quot;pica8&quot;&lt;br/&gt;
Port &quot;ge-1/1/6&quot;&lt;br/&gt;
Interface &quot;ge-1/1/6&quot;&lt;br/&gt;
type: &quot;pica8&quot;&lt;br/&gt;
Port &quot;ge-1/1/3&quot;&lt;br/&gt;
Interface &quot;ge-1/1/3&quot;&lt;br/&gt;
type: &quot;pica8&quot;&lt;br/&gt;
Port &quot;switch1&quot;&lt;br/&gt;
Interface &quot;switch1&quot;&lt;br/&gt;
type: internal&lt;br/&gt;
Port &quot;ge-1/1/7&quot;&lt;br/&gt;
Interface &quot;ge-1/1/7&quot;&lt;br/&gt;
type: &quot;pica8&quot;&lt;br/&gt;
admin@3920-2$&lt;br/&gt;
&lt;br/&gt;
&amp;#8212; add new port &amp;#8212;&lt;br/&gt;
&lt;br/&gt;
admin@3920-2$ovs-vsctl add-port switch1 ge-1/1/8 &amp;#8211; set interface ge-1/1/8 type=pica8&lt;br/&gt;
admin@3920-2$ovs-vsctl show&lt;br/&gt;
0af6f9ee-ac59-4590-a55b-8295a4c26cd7&lt;br/&gt;
Bridge &quot;switch1&quot;&lt;br/&gt;
Controller &quot;tcp:192.168.21.109:6633&quot;&lt;br/&gt;
is_connected: true&lt;br/&gt;
fail_mode: standalone&lt;br/&gt;
Port &quot;ge-1/1/8&quot;&lt;br/&gt;
Interface &quot;ge-1/1/8&quot;&lt;br/&gt;
type: &quot;pica8&quot;&lt;br/&gt;
Port &quot;ge-1/1/2&quot;&lt;br/&gt;
Interface &quot;ge-1/1/2&quot;&lt;br/&gt;
type: &quot;pica8&quot;&lt;br/&gt;
Port &quot;ge-1/1/1&quot;&lt;br/&gt;
Interface &quot;ge-1/1/1&quot;&lt;br/&gt;
type: &quot;pica8&quot;&lt;br/&gt;
Port &quot;ge-1/1/4&quot;&lt;br/&gt;
Interface &quot;ge-1/1/4&quot;&lt;br/&gt;
type: &quot;pica8&quot;&lt;br/&gt;
Port &quot;te-1/1/49&quot;&lt;br/&gt;
tag: 1&lt;br/&gt;
Interface &quot;te-1/1/49&quot;&lt;br/&gt;
type: &quot;pica8&quot;&lt;br/&gt;
options: {flow_ctl=none, link_speed=auto}
&lt;p&gt;Port &quot;ge-1/1/5&quot;&lt;br/&gt;
Interface &quot;ge-1/1/5&quot;&lt;br/&gt;
type: &quot;pica8&quot;&lt;br/&gt;
Port &quot;ge-1/1/6&quot;&lt;br/&gt;
Interface &quot;ge-1/1/6&quot;&lt;br/&gt;
type: &quot;pica8&quot;&lt;br/&gt;
Port &quot;ge-1/1/3&quot;&lt;br/&gt;
Interface &quot;ge-1/1/3&quot;&lt;br/&gt;
type: &quot;pica8&quot;&lt;br/&gt;
Port &quot;switch1&quot;&lt;br/&gt;
Interface &quot;switch1&quot;&lt;br/&gt;
type: internal&lt;br/&gt;
Port &quot;ge-1/1/7&quot;&lt;br/&gt;
Interface &quot;ge-1/1/7&quot;&lt;br/&gt;
type: &quot;pica8&quot;&lt;br/&gt;
admin@3920-2$&lt;/p&gt;

&lt;p&gt;&amp;#8212; new port does not get default flow &amp;#8212;&lt;/p&gt;

&lt;p&gt;admin@3920-2$ovs-ofctl dump-flows switch1&lt;br/&gt;
OFPST_FLOW reply (OF1.3) (xid=0x2):&lt;br/&gt;
cookie=0x2b000000000001c2, duration=19015.716s, table=0, n_packets=n/a, n_bytes=372953, priority=100,dl_type=0x88cc actions=CONTROLLER:65535&lt;br/&gt;
cookie=0x2b00000000001a61, duration=7459.341s, table=0, n_packets=n/a, n_bytes=0, priority=2,in_port=7 actions=output:4,output:3,output:2,output:1,output:49,output:5,output:6,CONTROLLER:65535&lt;br/&gt;
cookie=0x2b00000000001a62, duration=7459.338s, table=0, n_packets=n/a, n_bytes=4160, priority=2,in_port=5 actions=output:4,output:3,output:2,output:1,output:49,output:7,output:6,CONTROLLER:65535&lt;br/&gt;
cookie=0x2b00000000001a5c, duration=7459.352s, table=0, n_packets=n/a, n_bytes=1706942803, priority=2,in_port=4 actions=output:3,output:2,output:1,output:49,output:7,output:5,output:6,CONTROLLER:65535&lt;br/&gt;
cookie=0x2b00000000001a5f, duration=7459.345s, table=0, n_packets=n/a, n_bytes=128, priority=2,in_port=1 actions=output:4,output:3,output:2,output:49,output:7,output:5,output:6,CONTROLLER:65535&lt;br/&gt;
cookie=0x2b00000000001a63, duration=7459.336s, table=0, n_packets=n/a, n_bytes=4160, priority=2,in_port=6 actions=output:4,output:3,output:2,output:1,output:49,output:7,output:5,CONTROLLER:65535&lt;br/&gt;
cookie=0x2b00000000001a5e, duration=7459.347s, table=0, n_packets=n/a, n_bytes=128, priority=2,in_port=2 actions=output:4,output:3,output:1,output:49,output:7,output:5,output:6,CONTROLLER:65535&lt;br/&gt;
cookie=0x2b00000000001a60, duration=7459.343s, table=0, n_packets=n/a, n_bytes=220639260, priority=2,in_port=49 actions=output:4,output:3,output:2,output:1,output:7,output:5,output:6,CONTROLLER:65535&lt;br/&gt;
cookie=0x2b00000000001a5d, duration=7459.349s, table=0, n_packets=n/a, n_bytes=1706917767, priority=2,in_port=3 actions=output:4,output:2,output:1,output:49,output:7,output:5,output:6,CONTROLLER:65535&lt;/p&gt;

&lt;p&gt;&amp;#8212; change to a different controller &amp;#8212;&lt;/p&gt;

&lt;p&gt;admin@3920-2$ovs-vsctl set-controller switch1 tcp:192.168.21.110:6633&lt;br/&gt;
admin@3920-2$ovs-vsctl show&lt;br/&gt;
0af6f9ee-ac59-4590-a55b-8295a4c26cd7&lt;br/&gt;
Bridge &quot;switch1&quot;&lt;br/&gt;
Controller &quot;tcp:192.168.21.110:6633&quot;&lt;br/&gt;
is_connected: true&lt;br/&gt;
fail_mode: standalone&lt;br/&gt;
Port &quot;ge-1/1/8&quot;&lt;br/&gt;
Interface &quot;ge-1/1/8&quot;&lt;br/&gt;
type: &quot;pica8&quot;&lt;br/&gt;
Port &quot;ge-1/1/2&quot;&lt;br/&gt;
Interface &quot;ge-1/1/2&quot;&lt;br/&gt;
type: &quot;pica8&quot;&lt;br/&gt;
Port &quot;ge-1/1/1&quot;&lt;br/&gt;
Interface &quot;ge-1/1/1&quot;&lt;br/&gt;
type: &quot;pica8&quot;&lt;br/&gt;
Port &quot;ge-1/1/4&quot;&lt;br/&gt;
Interface &quot;ge-1/1/4&quot;&lt;br/&gt;
type: &quot;pica8&quot;&lt;br/&gt;
Port &quot;te-1/1/49&quot;&lt;br/&gt;
tag: 1&lt;br/&gt;
Interface &quot;te-1/1/49&quot;&lt;br/&gt;
type: &quot;pica8&quot;&lt;br/&gt;
options: &lt;/p&gt;
{flow_ctl=none, link_speed=auto}
&lt;p&gt;Port &quot;ge-1/1/5&quot;&lt;br/&gt;
Interface &quot;ge-1/1/5&quot;&lt;br/&gt;
type: &quot;pica8&quot;&lt;br/&gt;
Port &quot;ge-1/1/6&quot;&lt;br/&gt;
Interface &quot;ge-1/1/6&quot;&lt;br/&gt;
type: &quot;pica8&quot;&lt;br/&gt;
Port &quot;ge-1/1/3&quot;&lt;br/&gt;
Interface &quot;ge-1/1/3&quot;&lt;br/&gt;
type: &quot;pica8&quot;&lt;br/&gt;
Port &quot;switch1&quot;&lt;br/&gt;
Interface &quot;switch1&quot;&lt;br/&gt;
type: internal&lt;br/&gt;
Port &quot;ge-1/1/7&quot;&lt;br/&gt;
Interface &quot;ge-1/1/7&quot;&lt;br/&gt;
type: &quot;pica8&quot;&lt;br/&gt;
admin@3920-2$ovs-ofctl dump-flows switch1&lt;br/&gt;
OFPST_FLOW reply (OF1.3) (xid=0x2):&lt;/p&gt;

&lt;p&gt;&amp;#8212; change back to ODL controller &amp;#8212;&lt;/p&gt;

&lt;p&gt;admin@3920-2$ovs-vsctl set-controller switch1 tcp:192.168.21.109:6633&lt;br/&gt;
admin@3920-2$ovs-ofctl dump-flows switch1&lt;br/&gt;
OFPST_FLOW reply (OF1.3) (xid=0x2):&lt;br/&gt;
cookie=0x2b0000000000028e, duration=7.946s, table=0, n_packets=n/a, n_bytes=73, priority=100,dl_type=0x88cc actions=CONTROLLER:65535&lt;br/&gt;
cookie=0x2b00000000001a8d, duration=3.952s, table=0, n_packets=n/a, n_bytes=0, priority=2,in_port=7 actions=output:4,output:3,output:2,output:1,output:49,output:8,output:5,output:6,CONTROLLER:65535&lt;br/&gt;
cookie=0x2b00000000001a8f, duration=3.948s, table=0, n_packets=n/a, n_bytes=0, priority=2,in_port=5 actions=output:4,output:3,output:2,output:1,output:49,output:7,output:8,output:6,CONTROLLER:65535&lt;br/&gt;
cookie=0x2b00000000001a88, duration=3.963s, table=0, n_packets=n/a, n_bytes=0, priority=2,in_port=4 actions=output:3,output:2,output:1,output:49,output:7,output:8,output:5,output:6,CONTROLLER:65535&lt;br/&gt;
cookie=0x2b00000000001a8b, duration=3.954s, table=0, n_packets=n/a, n_bytes=0, priority=2,in_port=1 actions=output:4,output:3,output:2,output:49,output:7,output:8,output:5,output:6,CONTROLLER:65535&lt;br/&gt;
cookie=0x2b00000000001a90, duration=3.945s, table=0, n_packets=n/a, n_bytes=0, priority=2,in_port=6 actions=output:4,output:3,output:2,output:1,output:49,output:7,output:8,output:5,CONTROLLER:65535&lt;br/&gt;
cookie=0x2b00000000001a8a, duration=3.959s, table=0, n_packets=n/a, n_bytes=0, priority=2,in_port=2 actions=output:4,output:3,output:1,output:49,output:7,output:8,output:5,output:6,CONTROLLER:65535&lt;br/&gt;
cookie=0x2b00000000001a8e, duration=3.950s, table=0, n_packets=n/a, n_bytes=0, priority=2,in_port=8 actions=output:4,output:3,output:2,output:1,output:49,output:7,output:5,output:6,CONTROLLER:65535&lt;br/&gt;
cookie=0x2b00000000001a8c, duration=3.957s, table=0, n_packets=n/a, n_bytes=246, priority=2,in_port=49 actions=output:4,output:3,output:2,output:1,output:7,output:8,output:5,output:6,CONTROLLER:65535&lt;br/&gt;
cookie=0x2b00000000001a89, duration=3.961s, table=0, n_packets=n/a, n_bytes=0, priority=2,in_port=3 actions=output:4,output:2,output:1,output:49,output:7,output:8,output:5,output:6,CONTROLLER:65535&lt;/p&gt;

&lt;p&gt;Note that port 8 now has a default flow.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Linux&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="21548">L2SWITCH-35</key>
            <summary>When new ports are added into a OVS switch connected to ODL a default flow is not programmed</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                                <status id="10003" iconUrl="https://jira.opendaylight.org/images/icons/status_generic.gif" description="">Confirmed</status>
                    <statusCategory id="2" key="new" colorName="blue-gray"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="satish.inakoti@gmail.com">satish inakoti</assignee>
                                    <reporter username="snoble@netdef.org">Steven Noble</reporter>
                        <labels>
                    </labels>
                <created>Thu, 5 Feb 2015 17:28:09 +0000</created>
                <updated>Mon, 28 Aug 2017 07:25:59 +0000</updated>
                                            <version>unspecified</version>
                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="40316" author="sunil.g.kumar@ericsson.com" created="Mon, 28 Aug 2017 07:25:59 +0000"  >&lt;p&gt;Is there any update on this bug? &lt;br/&gt;
If you are still able to reproduce the issue, can you please provide entity ownership details and wireshark capture.&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>2683</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=2683]]></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|i01z53:</customfieldvalue>

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