Re: [Ryu-devel] Datapath object from datapath.id

2016-02-25 Thread Minoru TAKAHASHI
Hi, > But I have also used --verbose to chek EventOFPErrorMsg > but I could not get any EventOFPErrorMsg Hmm,,, Can you edit app/ofctl/service.py as follows in order to identify the cause of the error message? @@ -174,6 +174,27 @@ class OfctlService(app_manager.RyuApp): def _handle_reply(s

Re: [Ryu-devel] Datapath object from datapath.id

2016-02-25 Thread Osman Titu
Hi Thanks for your reply. >from ryu.app.ofctl.api import get_datapath >dp = get_datapath(self, datapath.id ) The thing is that this code is giving me the datapath object from datapath.id but showing the error "unknown error xid" To execute my program I am using #ryu-manager --observe-links But

Re: [Ryu-devel] Datapath object from datapath.id

2016-02-24 Thread Minoru TAKAHASHI
Hi, On 2016年02月24日 01:03, Osman Titu wrote: > Hi > > For getting datapath object from datapath.id (which is > an integer) I have added this code bellow > > from ryu.app.ofctl.api import get_datapath > > dp = get_datapath(self, datapath.id ) Getting the

[Ryu-devel] Datapath object from datapath.id

2016-02-23 Thread Osman Titu
Hi For getting datapath object from datapath.id (which is an integer) I have added this code bellow from ryu.app.ofctl.api import get_datapath dp = get_datapath(self, datapath.id) but I am getting this message "unknown error xid" How can I fix it? BR Titu -