[ovs-discuss] Question about statistics data.

Rafael Gomes rggg88 at hotmail.com
Fri Mar 8 11:31:49 UTC 2013


Hi everyone, I'm relative new in the SDN world, specificaly in openflow, for that I have a some questions about the statistic data that the controller give me.
My network right now have a 2 OVS (configured with openvswitch 1.7) and three host how you can see in attachment. I'm using the floodlight controller.
Well, relatively about my questions are:
1- When I execute this command http://localhost:8080/wm/topology/links/json i obtained this:"src-switch": "00:00:00:1b:11:b4:16:80",	"src-port": 1,	"src-port-state": 0,		"dst-switch": "00:00:00:02:44:a9:b5:34",	"dst-port": 1,	"dst-port-state": 0,	"type": "internal"
But I don't understand what meaning about src/dst-port-state,i.e, 0 = up or 0 = down for example?
2- When I execute this command http://localhost:8080/wm/core/controller/switches/json i obtained this information:
       "uplinkPorts": null, What this mean?	"connectedSince": 1362594430044,	"actions": 4095,	"dpid": "00:00:00:1b:11:b4:16:80",	"attributes": {		"supportsOfppFlood": true,		"supportsNxRole": true,		"FastWildcards": 4194303,		"supportsOfppTable": true	},	"ports": [{		"currentFeatures": 130,		"advertisedFeatures": 0,		"supportedFeatures": 0,		"peerFeatures": 0,		"name": "br0",		"state": 0,		"portNumber": 65534,		"hardwareAddress": "00:1b:11:b4:16:80",		"config": 0	},

In this case I don't understand what is the meaning about currentFeatures, advertisedFeatures and supportedFeatures and why once time is 130 and other times 192 or 703, I read the openflow specification but I continue without understand.On the other hand, the state and config = 0 meaning that no physical link present and port is administrative down, I don't know why this value. Besides the tables=-1 don't have much sense to me because this parameter mean supported tables of datapath right? 
Finally the parameter harole = master mean that the controller was master mode? and the parameters supports OfppFlood=true, supportsNxRole=true and supportsOfppTable=true mean what?
3- The last question is how can I restart the value of counters and controller?
Thanks so much for your time and you help. 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20130308/a4cda71d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: my_network.JPG
Type: image/jpeg
Size: 27607 bytes
Desc: not available
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20130308/a4cda71d/attachment.jpe>


More information about the discuss mailing list