How to check Network Speed at each link in DLUX ui?


karthikeyan.d17@...
 

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


Jensen Zhang
 

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 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, <karthikeyan.d17@...> 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
alto-dev@...
https://lists.opendaylight.org/mailman/listinfo/alto-dev



karthikeyan.d17@...
 

Hi ,

Thank you so much for your information . Happy to see your quick response ! .  Could  you plz send me the DLUX-team mail id ? if you have .  So I will contact them for further development.


Thanks,

-Karthik


From: Jensen Zhang <jingxuan.n.zhang@...>
Sent: Thursday, April 28, 2016 2:42:29 PM
To: Karthikeyan D (Product Engineering Service)
Cc: Junzhuo Wang; alto-dev@...; 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 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, <karthikeyan.d17@...> 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
alto-dev@...
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


karthikeyan.d17@...
 

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 <jingxuan.n.zhang@...>
Sent: Thursday, April 28, 2016 2:42:29 PM
To: Karthikeyan D (Product Engineering Service)
Cc: Junzhuo Wang; alto-dev@...; 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 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, <karthikeyan.d17@...> 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
alto-dev@...
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


Gao Kai
 

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, karthikeyan.d17@... 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 <jingxuan.n.zhang@...>
Sent: Thursday, April 28, 2016 2:42:29 PM
To: Karthikeyan D (Product Engineering Service)
Cc: Junzhuo Wang; alto-dev@...; 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 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, <karthikeyan.d17@...> 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
alto-dev@...
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


karthikeyan.d17@...
 


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 <godrickk@...>
Sent: Thursday, April 28, 2016 8:31:59 PM
To: Karthikeyan D (Product Engineering Service); jingxuan.n.zhang@...
Cc: openflowplugin-dev@...; alto-dev@...; dlux-dev@...
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, karthikeyan.d17@... 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 <jingxuan.n.zhang@...>
Sent: Thursday, April 28, 2016 2:42:29 PM
To: Karthikeyan D (Product Engineering Service)
Cc: Junzhuo Wang; alto-dev@...; 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 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, <karthikeyan.d17@...> 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
alto-dev@...
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


Jensen Zhang
 

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, <karthikeyan.d17@...> 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 <godrickk@...>
Sent: Thursday, April 28, 2016 8:31:59 PM
To: Karthikeyan D (Product Engineering Service); jingxuan.n.zhang@...
Cc: openflowplugin-dev@...; alto-dev@...; dlux-dev@...

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, karthikeyan.d17@... 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 <jingxuan.n.zhang@...>
Sent: Thursday, April 28, 2016 2:42:29 PM
To: Karthikeyan D (Product Engineering Service)
Cc: Junzhuo Wang; alto-dev@...; 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 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, <karthikeyan.d17@...> 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
alto-dev@...
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


karthikeyan.d17@...
 

Hi Jensen,


I checked with ODL-berylium Integration Distribution. 



1. Launched ODL using below command .

integration-distribution/distribution-karaf/target/assembly/bin$ ./karaf clean of13


2. installed odl-l2switch-all odl-restconf-all odl-dlux-core


3. Started mininet using 

sudo mn --mac --switch=ovsk,protocols=OpenFlow13 --controller=remote --topo=tree,3

Pingall worked , hosts are visible in DLUX-UI

4. When i am trying to get
http://localhost:8181/restconf/operational/opendaylight-inventory:nodes/

{
  "nodes": {
    "node": [
      {
        "id": "openflow:1",
        "node-connector": [
          {
            "id": "openflow:1:1",
            "flow-node-inventory:current-feature": "copper ten-gb-fd",
            "flow-node-inventory:name": "s1-eth1",
            "flow-node-inventory:supported": "",
            "flow-node-inventory:port-number": "1",
            "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": "B2:6B:15:85:F1:A1",
            "stp-status-aware-node-connector:status": "forwarding",
            "opendaylight-port-statistics:flow-capable-node-connector-statistics": {
              "transmit-errors": 0,
              "collision-count": 0,
              "duration": {},
              "receive-drops": 0,
              "transmit-drops": 0,
              "packets": {
                "transmitted": 522,
                "received": 544
              },
              "receive-frame-error": 0,
              "receive-errors": 0,
              "receive-over-run-error": 0,
              "receive-crc-error": 0,
              "bytes": {
                "transmitted": 77878,
                "received": 82608
              }
            }
          },
---
---

5. I did not get the ""flow-node-inventory:current-speed": 0," in this information..

mn --version
2.1.0

odl@odl-HP-Compaq-Pro-6305-SFF:~$  ovs-vswitchd --version
ovs-vswitchd (Open vSwitch) 2.0.2
Compiled Dec  9 2015 14:08:11
OpenFlow versions 0x1:0x1

odl@odl-HP-Compaq-Pro-6305-SFF:~$  ovs-ofctl --version
ovs-ofctl (Open vSwitch) 2.0.2
Compiled Dec  9 2015 14:08:08
OpenFlow versions 0x1:0x4


Am i missing something? Please help me !

regards,
-karthik





From: Jensen Zhang <jingxuan.n.zhang@...>
Sent: Thursday, April 28, 2016 9:18 PM
To: Karthikeyan D (Product Engineering Service)
Cc: Kai GAO; openflowplugin-dev@...; alto-dev@...; dlux-dev@...
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,

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, <karthikeyan.d17@...> 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 <godrickk@...>
Sent: Thursday, April 28, 2016 8:31:59 PM
To: Karthikeyan D (Product Engineering Service); jingxuan.n.zhang@...
Cc: openflowplugin-dev@...; alto-dev@...; dlux-dev@...

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, karthikeyan.d17@... 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 <jingxuan.n.zhang@...>
Sent: Thursday, April 28, 2016 2:42:29 PM
To: Karthikeyan D (Product Engineering Service)
Cc: Junzhuo Wang; alto-dev@...; 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 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, <karthikeyan.d17@...> 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
alto-dev@...
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

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