[OPNFLWPLUG-73] When the topology-manager bundle is stopped , it is expected that any changes in nodeconnector status is not received by the topology and so the topology does not get updated. But when the nodeconnector goes down, the corresponging link is teared down in Created: 20/Feb/14  Updated: 27/Sep/21  Due: 31/Mar/14  Resolved: 28/Mar/14

Status: Resolved
Project: OpenFlowPlugin
Component/s: General
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Sindhuri B Assignee: Kamal Rameshan
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Windows
Platform: PC


Attachments: Zip Archive Get_response_topo.zip    
External issue ID: 441

 Description   

When the below topology modules are stopped through osgi cli, the topology is getting updated when the nodeconnector is brought down

osgi> ss | grep topology
77 ACTIVE org.opendaylight.controller.model.topology_1.1.0.SNAPSHOT
120 RESOLVED org.opendaylight.controller.topologymanager_0.4.2.SNAPSHOT
126 RESOLVED org.opendaylight.controller.md.topology-manager_1.1.0.SNAPSH
OT
160 ACTIVE org.opendaylight.controller.topology.web_0.4.2.SNAPSHOT
181 ACTIVE org.opendaylight.yangtools.model.ietf-topology_2013.10.21.2-
SNAPSHOT
220 RESOLVED org.opendaylight.controller.topology.northbound_0.4.2.SNAPSH
OT
252 RESOLVED org.opendaylight.controller.md.topology-lldp-discovery_1.1.0
.SNAPSHOT
true

Test case:
=========
->Create a 2 switch topology to 2 hosts topology is created. Send the table miss flows to the switches.
->Make a GET request to the controller with URL:
http://<controller ip>:8080/restconf/operational/network-topology:network-topology/topology/flow:1
->Now the get response has the link information.
->Stop the above bundles in osgi cli.
->Bring down the link in the switch.
->Make a GET request for the topology:
http://<controller ip>:8080/restconf/operational/network-topology:network-topology/topology/flow:1
The get response does not contain the link information.

Could you please explain why the link status is getting updated when the listeners are stopped.

Thanks,
Sindhuri.



 Comments   
Comment by Sindhuri B [ 20/Feb/14 ]

Attachment Get_response_topo.zip has been added with description: Attached are the get response for topology before and after the bundles are stopped.

Comment by Kamal Rameshan [ 21/Mar/14 ]

Although this bug is put under openflowplugin, the fix lies in MD-sal's topology manager.
I have submitted a patch and its in the WAITING_FOR_REVIEW state
https://git.opendaylight.org/gerrit/#/c/5701/

Generated at Wed Feb 07 20:31:30 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.