This appears to be a problem with POSTMAN rest client you are using.
I’m seeing the same with POSTMAN 0.8.4.12 and it’s only in JSON/Pretty – if you 
switch to JSON/RAW it shall show correct dpid.
POSTMAN 1.0.8 does not have the problem.

From: ビバ9╆ [mailto:[email protected]]
Sent: Wednesday, February 04, 2015 6:57 PM
To: ryu-devel
Subject: [Ryu-devel] ryu questions

Dear all
      A problem encountered when I use the ryu-controller,the dpid of the SDN 
switch displayed at ryu-controller sever is not the same as using REST 
API(/stats/switches‍) to get ,the detail as next:
      After running ryu-controller sever and point the SDN switch to the 
controller,I can see the packet in data at the ryu-controller sever,the data 
is:"packet in 6790944927334400461 48:5a:b1:36:45:8d ff:ff:ff:ff:ff:ff 1".
      From the data we can get the dpid of the SDN switch is 
6790944927334400461.But when I using the REST API to get the SDN information,I 
get another dpid 6790944927334400000 ‍.And there is only a SDN switch have 
pointed to the ryu-controller.You also can see the next picture.

                              [cid:[email protected]]
                      From this picture we can see the dpid of the SDN switch 
is  6790944927334400461.

                              [cid:[email protected]]
                From this picture we can see the dpid is 
6790944927334400000,and this dpid is wrong.The true dpid is the one displayed 
on ryu-controller server.‍

I have afflict by this problem for a long time,if anyone can give me some 
help,thanks very much!

Best Regards
PanCheng

‍

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to