Ask is moving to Stack Overflow and Serverfault.com! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode

0

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

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

rolecram gravatar image

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

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:

http://10.59.6.252:8080/restconf/operational/opendaylight-inventory:nodes/node/00:00:00:0c:29:70:45:9b

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:

http://10.59.6.252:8080/restconf/operational/opendaylight-inventory:nodes/node/OF|00:00:00:0c:29:70:45:9b

image description

and try,

http://10.59.6.252:8080/restconf/operational/opendaylight-inventory:nodes/node/OF/00:00:00:0c:29:70:45:9b

image description

¿Any idea?

Thank you in advance, Marcelo

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

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

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

Comments

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: http://10.59.6.252:8080/restconf/operational/opendaylight-inventory:nodes/ 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 -0800 )edit

what version of OpenDaylight are you using?

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

Hi. Helium version

rolecram ( 2015-04-10 12:46:47 -0800 )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 "run.sh" script?

jamoluhrsen ( 2015-04-13 11:38:32 -0800 )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 -0800 )edit
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

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

Seen: 167 times

Last updated: Apr 10 '15

Related questions