[OPNFLWPLUG-178] Different connector count in GUI depending if mininet OF10 or OF13 Created: 30/May/14  Updated: 27/Sep/21  Resolved: 29/Jun/14

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

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

Operating System: Linux
Platform: PC


Issue Links:
Blocks
is blocked by OPNFLWPLUG-121 Reserve ports should be logical ports Resolved
External issue ID: 1103

 Description   

Different connector count can be seen in the ODL GUI when using mininet OF10 and mininet OF13. The reason could be the different internal switch connector type learned by the AD-SAL switch manager.

For the same mininet topology:

Using OF13 simulation, the internal switch connector is type SW and does not show in GUI:

GET http://localhost:8080/controller/nb/v2/switchmanager/default/node/MD_SAL/openflow:1

{
"properties": {
"name":

{ "value": "s1" }

,
"state":

{ "value": 1 }

,
"config":

{ "value": 1 }

},
"nodeconnector": {
"node":

{ "id": "openflow:1", "type": "MD_SAL" }

,
"id": "0",
"type": "SW"
}
},

Using OF10 simulation, the internal switch connector is type MD_SAL and shows in GUI:

"properties": {
"name":

{ "value": "s1" }

,
"state":

{ "value": 1 }

,
"config":

{ "value": 1 }

},
"nodeconnector": {
"node":

{ "id": "openflow:1", "type": "MD_SAL" }

,
"id": "openflow:1:65534",
"type": "MD_SAL"
}
},

IMO the OF10 is the wrong behavior as the switch itself should not appear as a connector.

BR/Luis



 Comments   
Comment by Debolina Bandyopadhyay [ 09/Jun/14 ]

Hello Luis,

I’m running the OF10 simulation, the internal switch connector is type MD_SAL and shows in GUI:

<nodeConnectorProperties>
<nodeconnector>
<node>
<id>openflow:1</id>
<type>MD_SAL</type>
</node>
<id>openflow:1:65534</id>
<type>MD_SAL</type>
</nodeconnector>
<properties>
<property
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="state">
<value>1</value>
</property>
<property
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="config">
<value>1</value>
</property>
<property
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="name">
<value>s1</value>
</property>
</properties>
</nodeConnectorProperties>

Not sure actually, if this bug is fixed or is there something else which is being expected from this bug.

Thanks,
Debolina

Comment by Debolina Bandyopadhyay [ 11/Jun/14 ]

The changes made to fix OPNFLWPLUG-121 will fix this issue too.

Comment by Luis Gomez [ 12/Jun/14 ]

Thanks Debolina! will wait for the the other bug to get fix then.

Comment by Kamal Rameshan [ 27/Jun/14 ]

https://git.opendaylight.org/gerrit/#/c/7619/ should have fixed this issue.

Please confirm.

Comment by Luis Gomez [ 29/Jun/14 ]

Yes, it is fixed now.

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