Ask Your Question

Can not Get Group Features & Meter Features Statistics ¿Why?

asked 2015-04-10 05:45:24 -0700

rolecram gravatar image

updated 2015-04-10 11:23:46 -0700

Hi guys: I access to Opendaylight web portal and see the packets and bytes sent and received from diferent flows in a node.

But, if I try to make an HTTP GET, to get the Group Features & Meter Features Statistics as specify in the wiki i.e.:

GET http://<controller-ip>:8080/restconf/operational/opendaylight-inventory:nodes/node/{node-id}</controller-ip>

I receive the response text: "No data exist"

In my case, the URL would be:

Here is the Node on Opendaylight Portal

image description

As you can see, the Node ID in Opendaylight is: OF|00:00:00:0c:29:70:45:9b

The word OF (Open Flow) is part of the ID node name?

I tried too:|00:00:00:0c:29:70:45:9b

image description

and try,

image description

¿Any idea?

Thank you in advance, Marcelo

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2015-04-10 08:52:38 -0700

jamoluhrsen gravatar image

Hi Marcelo,

grab a list of your nodes with a GET on /restconf/operational/opendaylight-inventory:nodes/ then you can append that URI, like this: /restconf/operational/opendaylight-inventory:nodes/node/openflow:1 (that assumes a node id of "openflow:1")

also, I notice you are using port 8080. I think you want to use 8181.

normally, I have seen the node's mac address converted to a decimal value, so I'm wondering if the node id you gave is what you will see when you list the nodes.

good luck

edit flag offensive delete publish link more


jamoluhrsen: Thanks a lot for your answer. I added some images in the question. Some considerations: 1) The port is 8080. 2) If I try to get the nodes list as you ask me: The response is: No data exist The rest is in the images I've uploaded. Thanks again, marcelo

rolecram ( 2015-04-10 11:36:15 -0700 )edit

what version of OpenDaylight are you using?

jamoluhrsen ( 2015-04-10 11:38:20 -0700 )edit

Hi. Helium version

rolecram ( 2015-04-10 12:46:47 -0700 )edit

I thought with Helium, the restconf port changed to 8181 with the introduction of karaf... How are you starting your controller? with karaf or the "" script?

jamoluhrsen ( 2015-04-13 11:38:32 -0700 )edit

Hi, Unfortunatly, I did not manage the controller, I have to ask to the rest of the team. Please wait until tomorrow. By the way, I receive a mail to accept the best answer for this question. What do I have to do? Do you want I accept your answer?, in that case, no problem. just tell me.

rolecram ( 2015-04-13 17:06:40 -0700 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2015-04-10 05:45:24 -0700

Seen: 167 times

Last updated: Apr 10 '15

Related questions