[CONTROLLER-240] Unable to get values in NW Src,TP Src and TP Dst in ODL UI/Switch Created: 27/Mar/14  Updated: 25/Jul/23  Resolved: 04/May/15

Status: Resolved
Project: controller
Component/s: adsal
Affects Version/s: None
Fix Version/s: None

Type: Improvement
Reporter: Rajani Srivastava Assignee: Unassigned
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Linux
Platform: PC


Attachments: PNG File ODL-UI.png    

 Description   

Following these steps :

1.Running the ODL controller(Hydrogen)
2.Creating a topology (tree,2) using mininet and pinging the hosts.(OF plugin 1.0)
3.Checking the flows on ODL UI / Switch .
4.The only values I get in any flow on ODL UI are : DL_TYPE and NW_DST (under match fields)

The other match fields such as TP Src, TP Dst and NW_SRC are missing in UI / Switch.
Find the attached image.



 Comments   
Comment by Rajani Srivastava [ 27/Mar/14 ]

Attachment ODL-UI.png has been added with description: screenshot of capturing information of flows

Comment by Anil Vishnoi [ 28/Mar/14 ]

Hi Rajani,

You only see DL_TYPE and NW_DST fields value of the flow because controller installs flow with these two fields value set to some specific value, rest all fields are wildcarded. If you dump flows in mininet (mininet> sh ovs-ofctl dump-flows s1), you can see the exact flow installed by the controller. So its expected result.

If you manually install flow with all the fields value set to non-wildcard value, you will see the same in GUI.

THanks
Anil

Comment by Shashwat Srivastava [ 31/Mar/14 ]

Hi Anil,

I want to get values in TP Src, TP Dst and NW_SRC fields for a dynamic flow.
Can you please suggest for the same.
And please clarify me about what do u meant by "manually install flow " ? Does it mean writing hard coded flows or static flow through REST API or CLI ?

Thanks
Shashwat

Comment by Anil Vishnoi [ 31/Mar/14 ]

Hi Shashwat,

Yes, by manual flow installation i meant, you can use OSGI CLI, REST API or even a simple module that installs flow to the switch. You can check following two links to install flow with all the required tuples and see if those are getting reflected in the GUI or not.

https://wiki.opendaylight.org/view/OpenDaylight_OpenFlow_Plugin:End_to_End_Flows
https://wiki.opendaylight.org/view/Editing_OpenDaylight_OpenFlow_Plugin:End_to_End_Flows:Example_Flows

Thanks
Anil

Comment by Shashwat Srivastava [ 31/Mar/14 ]

Hi Anil,

I got your point but in case of dynamic flows(in Real environment),can I get there TP Src, TP Dst and NW_SRC anyhow in opendaylight GUI?

Thanks
Shashwat

Comment by Anil Vishnoi [ 31/Mar/14 ]

Hi Shashwat,

Yes, GUI shows whatever flow controller installs to the switch. If controller will install flow with tp-src,tp-dst,nw-src and other tuples, ODL GUI will show those flows.

Thanks
Anil

Comment by Shashwat Srivastava [ 31/Mar/14 ]

Hi Anil ,

Thanks for your reply.

In dynamic flow,when the controller will install the flows with tp-src,tp-dst,nw-src and other tuples ? as we don't want to manually install the flows.

Thanks
Shashwat

Comment by Anil Vishnoi [ 31/Mar/14 ]

It depends on the applications running in the controller. Each application realize their services by installing specific type of flows, so if any application need routing based on granular level of match, that probably will install flows with more tuples rather then just destination address.

Anil

Comment by Carol Sanders [ 04/May/15 ]

This bug is part of the project to Move all ADSAL associated component bugs to ADSAL

Generated at Wed Feb 07 19:52:32 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.