<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:22:53 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>[NETVIRT-956] Port update with fixed-ip and no-fixed-ip does not reflect in Configuration DataStore</title>
                <link>https://jira.opendaylight.org/browse/NETVIRT-956</link>
                <project id="10144" key="NETVIRT">netvirt</project>
                    <description>&lt;p&gt;Distro: distribution-karaf-0.6.0-Carbon.tar.gz &lt;br/&gt;
Openstack setup: carbon + ocata &lt;br/&gt;
ODL setup: 3 node cluster setup&lt;/p&gt;

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

&lt;p&gt;1. Create a network:&lt;br/&gt;
network create net1 --provider-network-type vxlan&lt;/p&gt;

&lt;p&gt;2. Create a subnet:&lt;br/&gt;
subnet create --network net1 --subnet-range 10.0.0.0/24 sub1&lt;/p&gt;

&lt;p&gt;3. Create a port:&lt;br/&gt;
port create --network net1 port1&lt;/p&gt;

&lt;p&gt;4. Create a VM:&lt;br/&gt;
server create --image &amp;lt;imageID&amp;gt; --flavor m1.tiny --nic port-id=port1 VM1&lt;br/&gt;
VM ip for created VM1 -&amp;gt; 10.0.0.5&lt;/p&gt;

&lt;p&gt;5. Update the port: fixed-ip&lt;br/&gt;
port set --fixed-ip subnet=sub1,ip-address=10.0.0.10 port1&lt;/p&gt;

&lt;p&gt;Reboot the server for port update:&lt;br/&gt;
server reboot --soft VM1&lt;/p&gt;

&lt;p&gt;Observation for fixed-ip:&lt;br/&gt;
=========================&lt;br/&gt;
The port update is not reflected in the config data store.&lt;/p&gt;

&lt;p&gt;6. Update the port: no-fixed-ip&lt;br/&gt;
port set --no-fixed-ip --fixed-ip subnet=sub1,ip-address=10.0.0.10 port1&lt;/p&gt;

&lt;p&gt;7. Reboot the server for port update:&lt;br/&gt;
server reboot --soft VM1&lt;/p&gt;

&lt;p&gt;Observation for no-fixed-ip:&lt;br/&gt;
============================&lt;br/&gt;
The port update is not reflected in the config data store.&lt;/p&gt;

&lt;p&gt;Config data store has the old value&lt;/p&gt;

&lt;p&gt;&quot;ports&quot;: {&lt;br/&gt;
            &quot;port&quot;: [&lt;br/&gt;
                {&lt;br/&gt;
                    &quot;admin-state-up&quot;: true,&lt;br/&gt;
                    &quot;device-id&quot;: &quot;ffe015fa-fd65-4f31-b496-d0a628fbbecb&quot;,&lt;br/&gt;
                    &quot;device-owner&quot;: &quot;compute:None&quot;,&lt;br/&gt;
                    &quot;fixed-ips&quot;: [&lt;/p&gt;
                        {
                            &quot;ip-address&quot;: &quot;10.0.0.5&quot;,
                            &quot;subnet-id&quot;: &quot;fddc3173-1ee6-4e32-89d9-a7eeeac2bef1&quot;
                        }
&lt;p&gt;                    ],&lt;br/&gt;
                    &quot;mac-address&quot;: &quot;fa:16:3e:1a:82:a7&quot;,&lt;br/&gt;
                    &quot;name&quot;: &quot;port1&quot;,&lt;br/&gt;
                    &quot;network-id&quot;: &quot;a1159d34-fc70-4418-b980-b47103ca28b2&quot;,&lt;br/&gt;
                    &quot;neutron-binding:host-id&quot;: &quot;os3-compute2&quot;,&lt;br/&gt;
                    &quot;neutron-binding:vif-details&quot;: [&lt;/p&gt;
                        {
                            &quot;details-key&quot;: &quot;port_filter&quot;,
                            &quot;value&quot;: &quot;true&quot;
                        }
&lt;p&gt;                    ],&lt;br/&gt;
                    &quot;neutron-binding:vif-type&quot;: &quot;ovs&quot;,&lt;br/&gt;
                    &quot;neutron-binding:vnic-type&quot;: &quot;normal&quot;,&lt;br/&gt;
                    &quot;neutron-portsecurity:port-security-enabled&quot;: true,&lt;br/&gt;
                    &quot;revision-number&quot;: 11,&lt;br/&gt;
                    &quot;security-groups&quot;: [&lt;br/&gt;
                        &quot;cc028bb7-73f0-4793-84bf-8ebfdf3ca255&quot;&lt;br/&gt;
                    ],&lt;br/&gt;
                    &quot;tenant-id&quot;: &quot;9c9916b0-cd94-4640-a428-6dbf148d5c6a&quot;,&lt;br/&gt;
                    &quot;uuid&quot;: &quot;1e50e85c-50ef-4e5e-8060-b13b103fb438&quot;&lt;br/&gt;
                },&lt;/p&gt;



&lt;p&gt;Port IP has been updated in the VM Console&lt;/p&gt;

&lt;ol&gt;
	&lt;li&gt;
	&lt;ol&gt;
		&lt;li&gt;
		&lt;ol&gt;
			&lt;li&gt;ifconfig -a&lt;br/&gt;
eth0      Link encap:Ethernet  HWaddr FA:16:3E:1A:82:A7&lt;br/&gt;
          inet addr:10.0.0.110  Bcast:10.0.0.255  Mask:255.255.255.0&lt;br/&gt;
          inet6 addr: fe80::f816:3eff:fe1a:82a7/64 Scope:Link&lt;br/&gt;
          UP BROADCAST RUNNING MULTICAST  MTU:1450  Metric:1&lt;br/&gt;
          RX packets:13 errors:0 dropped:3 overruns:0 frame:0&lt;br/&gt;
          TX packets:80 errors:0 dropped:0 overruns:0 carrier:0&lt;br/&gt;
          collisions:0 txqueuelen:1000&lt;br/&gt;
          RX bytes:1632 (1.5 KiB)  TX bytes:4322 (4.2 KiB)&lt;/li&gt;
		&lt;/ol&gt;
		&lt;/li&gt;
	&lt;/ol&gt;
	&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;lo        Link encap:Local Loopback&lt;br/&gt;
          inet addr:127.0.0.1  Mask:255.0.0.0&lt;br/&gt;
          inet6 addr: ::1/128 Scope:Host&lt;br/&gt;
          UP LOOPBACK RUNNING  MTU:16436  Metric:1&lt;br/&gt;
          RX packets:39 errors:0 dropped:0 overruns:0 frame:0&lt;br/&gt;
          TX packets:39 errors:0 dropped:0 overruns:0 carrier:0&lt;br/&gt;
          collisions:0 txqueuelen:0&lt;br/&gt;
          RX bytes:3456 (3.3 KiB)  TX bytes:3456 (3.3 KiB)&lt;/p&gt;


&lt;p&gt;Code snippet:&lt;br/&gt;
update port notification handler is invoked for port Port{getAllowedAddressPairs=[], getDeviceId=ffe015fa-fd65-4f31-b496-d0a628fbbecb, getDeviceOwner=compute:None, getExtraDhcpOpts=[], getFixedIps=[FixedIps{getIpAddress=IpAddress [_ipv4Address=Ipv4Address &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=10.0.0.105&amp;#93;&lt;/span&gt;], getSubnetId=Uuid &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=fddc3173-1ee6-4e32-89d9-a7eeeac2bef1&amp;#93;&lt;/span&gt;, augmentations={}}], getMacAddress=MacAddress &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=fa:16:3e:1a:82:a7&amp;#93;&lt;/span&gt;, getName=port1, getNetworkId=Uuid &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=a1159d34-fc70-4418-b980-b47103ca28b2&amp;#93;&lt;/span&gt;, getRevisionNumber=10, getSecurityGroups=[Uuid &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=cc028bb7-73f0-4793-84bf-8ebfdf3ca255&amp;#93;&lt;/span&gt;], getTenantId=Uuid &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=9c9916b0-cd94-4640-a428-6dbf148d5c6a&amp;#93;&lt;/span&gt;, getUuid=Uuid &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=1e50e85c-50ef-4e5e-8060-b13b103fb438&amp;#93;&lt;/span&gt;, isAdminStateUp=true, augmentations={interface org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.binding.rev150712.PortBindingExtension=PortBindingExtension{getHostId=os3-compute2, getVifDetails=&lt;span class=&quot;error&quot;&gt;&amp;#91;VifDetails{getDetailsKey=port_filter, getValue=true, augmentations={}}&amp;#93;&lt;/span&gt;, getVifType=ovs, getVnicType=normal}, interface org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.portsecurity.rev150712.PortSecurityExtension=PortSecurityExtension&lt;/p&gt;
{isPortSecurityEnabled=true}
&lt;p&gt;}}&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="20877">NETVIRT-956</key>
            <summary>Port update with fixed-ip and no-fixed-ip does not reflect in Configuration DataStore</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.opendaylight.org/images/icons/priorities/major.svg">Medium</priority>
                        <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="10001">Won&apos;t Do</resolution>
                                        <assignee username="HariPrasidh">Hari Prasidh</assignee>
                                    <reporter username="arthi.b@hcl.com">Arthi Bhattacharjee</reporter>
                        <labels>
                    </labels>
                <created>Fri, 13 Oct 2017 09:44:41 +0000</created>
                <updated>Wed, 7 Feb 2018 11:15:42 +0000</updated>
                            <resolved>Wed, 7 Feb 2018 11:15:42 +0000</resolved>
                                    <version>Carbon</version>
                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="38501" author="arthi.b@hcl.com" created="Fri, 13 Oct 2017 09:44:41 +0000"  >&lt;p&gt;Attachment port_set_fixed_ip_logs.zip has been added with description: Karaf logs&lt;/p&gt;</comment>
                            <comment id="60071" author="hariprasidh" created="Fri, 17 Nov 2017 05:59:20 +0000"  >&lt;p&gt;I have tested same scenario with latest nitrogen/pike and the issue is not reproduced.&lt;/p&gt;</comment>
                            <comment id="60964" author="gvrangan" created="Wed, 7 Feb 2018 11:15:42 +0000"  >&lt;p&gt;Not supported for Networking-odl in Ocata&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="12622" name="port_set_fixed_ip_logs.zip" size="745542" author="arthi.b@hcl.com" created="Fri, 13 Oct 2017 09:44:41 +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>9287</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=9287]]></customfieldvalue>

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

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