[OPNFLWPLUG-78] (Error in simple forwarding application using OF10 plugin) and (Ping + Listing active hosts using OF10 plugin) Created: 06/Mar/14  Updated: 27/Sep/21  Resolved: 08/Mar/14

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

Type: Improvement
Reporter: Madhusudhan Ananderi Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Windows
Platform: PC



 Description   

For New plugin:

ARP Handler

1. When I add static host for a particular node, I could see that same host is showing up in all the nodes.

Steps to reproduce the issue:

a. Start the controller with of13 option
b. Bring up the mininet with new plugin - sudo mn --topo tree,2 --controller remote,ip=127.0.0.1 --switch ovsk,protocols=OpenFlow13
c. PUT http://127.0.0.1:8080/controller/nb/v2/hosttracker/default/address/10.1.0.4 using the below body
<hostConfig>
<dataLayerAddress>8e:ad:13:44:4d:8c</dataLayerAddress>
<networkAddress>10.1.0.4</networkAddress>
<nodeType>MD_SAL</nodeType>
<nodeId>openflow:3</nodeId>
<nodeConnectorType>MD_SAL</nodeConnectorType>
<nodeConnectorId>openflow:3:2</nodeConnectorId>
<staticHost>true</staticHost>
</hostConfig>
d. Verify the host using GET http://127.0.0.1:8080/controller/nb/v2/statistics/default/flow
You could see the same host in all the nodes.

Issue: One host should show up in a particular node

This is happening only with the new plugin.

For Old Plugin:

1. Ping fails:

a. Start the controller with of13 option
b. Bring up the mininet with old plugin - sudo mn --topo tree,2 --controller remote,ip=127.0.0.1
c. Do the following on the mininet: h1 ping h4

2. Because of the above, I could not see the active hosts with the old plugin
GET http://127.0.0.1:8080/controller/nb/v2/hosttracker/default/hosts/active



 Comments   
Comment by Madhusudhan Ananderi [ 07/Mar/14 ]

Please ignore the above comments!

For old plugin:

ARP Handler

1. When I add static host for a particular node, I could not see the flows with the same host in all the nodes

Steps to reproduce the issue:

a. Start the controller with of13 option
b. Bring up the mininet with new plugin - sudo mn --topo tree,2 --controller remote,ip=127.0.0.1 --switch ovsk,protocols=OpenFlow10
c. PUT http://127.0.0.1:8080/controller/nb/v2/hosttracker/default/address/10.1.0.4 using the below body
<hostConfig>
<dataLayerAddress>8e:ad:13:44:4d:8c</dataLayerAddress>
<networkAddress>10.1.0.4</networkAddress>
<nodeType>MD_SAL</nodeType>
<nodeId>openflow:3</nodeId>
<nodeConnectorType>MD_SAL</nodeConnectorType>
<nodeConnectorId>openflow:3:2</nodeConnectorId>
<staticHost>true</staticHost>
</hostConfig>
d. Verify the host using GET http://127.0.0.1:8080/controller/nb/v2/statistics/default/flow
You could not see the flows with the same host in all the nodes.

Issue: According to the simple forwarding application, the flows should forward to all the switches with the same host but in the different nodes

This is happening only with the old plugin.

2. Ping fails:

a. Start the controller with of13 option
b. Bring up the mininet with old plugin - sudo mn --topo tree,2 --controller remote,ip=127.0.0.1
c. Do the following on the mininet: h1 ping h4

3. Because of the above, I could not see the active hosts with the old plugin
GET http://127.0.0.1:8080/controller/nb/v2/hosttracker/default/hosts/active

Comment by Luis Gomez [ 07/Mar/14 ]

Just a couple of comments here:

  • When you read old plugin, it means mininet OF10 simulation
  • This could be related to OPNFLWPLUG-76 so please focus on this first
Comment by Madhusudhan Ananderi [ 08/Mar/14 ]

All of the testcases are working fine. Moved the status to FIXED

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