Hi Karthik, Rate speed feature needs OpenFlow1.3. You can start your mininet with extra argument `--switch=ovs,protocols=OpenFlow13` to enable OpenFlow 1.3.
Best, Jensen On Thu, Apr 28, 2016 at 11:19 PM, <[email protected]> wrote: > > Hi kai , > > Thanks a lot for your reply .I'm using ODL- integration stable/ lithium . > I installed odl-l2switch-all , openflowplugin-all, restconf-all, dlux-all > > I ran mininet with tree topo,3 . pingall worked. > When I check the > http://localhost:8181/restconf/operational/opendaylight-inventory:nodes > > flow-node-inventory:current-speed": 0 , max speed data is missing . > > And I modified the L2switch-> loop remover code to get the shortest path ! > .will it be the reason for data missing? > > Help me out ! Thanks in advance .let me know if you want more details . > > Regards, > -Karthik > ------------------------------ > *From:* Gao Kai <[email protected]> > *Sent:* Thursday, April 28, 2016 8:31:59 PM > *To:* Karthikeyan D (Product Engineering Service); > [email protected] > *Cc:* [email protected]; > [email protected]; [email protected] > > *Subject:* Re: [alto-dev] How to check Network Speed at each link in DLUX > ui? > > > ** This mail has been sent from an external source ** > Karthik, > > I have also cc'd this email to the DLUX and openflowplugin mailing > lists. Hope that helps. > > Regarding your question about the missing data, I think it's best you > provide some information about your OpenDaylight version and a list of > installed features so we can try to reproduce the issue on our machine. > Or maybe the colleagues from the openflowplugin team can give some insight > . > > Regards, > Kai > > On 28/04/16 19:43, [email protected] wrote: > > Hi , Jensen .. > > > I checked as per your idea. > > I did not get the ""flow-node-inventory:current-speed": 0," in my flow !. > I simply launched ODL, installed openflowplugin ,mininet running . > > Except this i am getting everything? May i know the reason? > > > Thanks, > > -Karthik > > > > plz check the data which i got .. > > > { > "nodes": { > "node": [ > { > "id": "openflow:1", > "node-connector": [ > { > "id": "openflow:1:1", > > "opendaylight-port-statistics:flow-capable-node-connector-statistics": { > "transmit-errors": 0, > "collision-count": 0, > "duration": {}, > "receive-drops": 0, > "transmit-drops": 0, > "packets": { > "transmitted": 1022, > "received": 1074 > }, > "receive-frame-error": 0, > "receive-errors": 0, > "receive-over-run-error": 0, > "receive-crc-error": 0, > "bytes": { > "transmitted": 147250, > "received": 156973 > } > }, > "flow-node-inventory:current-feature": "copper ten-gb-fd", > "flow-node-inventory:name": "s1-eth1", > "flow-node-inventory:port-number": "1", > "flow-node-inventory:supported": "", > "flow-node-inventory:configuration": "", > "flow-node-inventory:peer-features": "", > "flow-node-inventory:state": { > "link-down": false, > "blocked": false, > "live": false > }, > "flow-node-inventory:advertised-features": "", > "flow-node-inventory:hardware-address": "82:59:9A:B9:67:3D", > "stp-status-aware-node-connector:status": "forwarding" > } > > --- > ------------------------------ > *From:* Jensen Zhang <[email protected]> > <[email protected]> > *Sent:* Thursday, April 28, 2016 2:42:29 PM > *To:* Karthikeyan D (Product Engineering Service) > *Cc:* Junzhuo Wang; [email protected]; Kai GAO > *Subject:* Re: [alto-dev] How to check Network Speed at each link in DLUX > ui? > > > ** This mail has been sent from an external source ** > Hi Karthik, > > In current implementation, you can get rate of speed (both current speed > and maximum speed) from opendaylight-inventory. After installing > openflowplugin, you can send a GET request to the url > <http://localhost:8181/restconf/operational/opendaylight-inventory:nodes> > http://localhost:8181/restconf/operational/opendaylight-inventory:nodes > to get a JSON format response. > > The JSON response is like this schema: > > ~~~ json > { > "nodes": { > "node": [ > { > "id": "openflow:7", > "node-connector": [ > { > "id": "openflow:7:LOCAL", > "flow-node-inventory:state": { > "link-down": false, > "blocked": false, > "live": false > }, > "flow-node-inventory:configuration": "", > "flow-node-inventory:hardware-address": "6A:13:45:A1:4F:48", > "flow-node-inventory:current-speed": 0, > "flow-node-inventory:advertised-features": "", > "flow-node-inventory:name": "n7", > "flow-node-inventory:supported": "", > "flow-node-inventory:current-feature": "", > "flow-node-inventory:port-number": "LOCAL", > "flow-node-inventory:maximum-speed": 0, > "flow-node-inventory:peer-features": "", > ... > ~~~ > > I think it is enough for your requirement. I'm not familiar with DLUX, so > I cannot give more suggestions. If you want to improve DLUX, you can > contact DLUX team to talk about more details. I believe they will be happy > for your contribution. :) > > Best, > Jensen > > On Thu, Apr 28, 2016 at 12:19 PM, <[email protected]> wrote: > >> Hi Team , >> >> >> Myself karthik , working in ODL.I have a questions. Please help me!. >> >> >> When I am giving iperf or ping between two hosts , I need to check the >> network speed (rate at which data is traveling) in each link.For example >> you could see the ONOS UI , It will show you the data speed in each link. >> >> >> So I think In ODL DLUX-UI we dont have that kind of stuffs. I would like >> to develop that. I need your help. From where can i get the details of rate >> of speed? L2switch or OpenflowPlugin project or anything else? Give me some >> idea I will do it. >> >> >> Thanks, >> >> -Karthik >> >> The information contained in this electronic message and any attachments >> to this message are intended for the exclusive use of the addressee(s) and >> may contain proprietary, confidential or privileged information. If you are >> not the intended recipient, you should not disseminate, distribute or copy >> this e-mail. Please notify the sender immediately and destroy all copies of >> this message and any attachments. WARNING: Computer viruses can be >> transmitted via email. The recipient should check this email and any >> attachments for the presence of viruses. The company accepts no liability >> for any damage caused by any virus transmitted by this email. >> www.wipro.com >> >> _______________________________________________ >> alto-dev mailing list >> [email protected] >> https://lists.opendaylight.org/mailman/listinfo/alto-dev >> >> > The information contained in this electronic message and any attachments > to this message are intended for the exclusive use of the addressee(s) and > may contain proprietary, confidential or privileged information. If you are > not the intended recipient, you should not disseminate, distribute or copy > this e-mail. Please notify the sender immediately and destroy all copies of > this message and any attachments. WARNING: Computer viruses can be > transmitted via email. The recipient should check this email and any > attachments for the presence of viruses. The company accepts no liability > for any damage caused by any virus transmitted by this email. > www.wipro.com > > > The information contained in this electronic message and any attachments > to this message are intended for the exclusive use of the addressee(s) and > may contain proprietary, confidential or privileged information. If you are > not the intended recipient, you should not disseminate, distribute or copy > this e-mail. Please notify the sender immediately and destroy all copies of > this message and any attachments. WARNING: Computer viruses can be > transmitted via email. The recipient should check this email and any > attachments for the presence of viruses. The company accepts no liability > for any damage caused by any virus transmitted by this email. > www.wipro.com >
_______________________________________________ openflowplugin-dev mailing list [email protected] https://lists.opendaylight.org/mailman/listinfo/openflowplugin-dev
