[Ryu-devel] Route management function

2018-10-16 Thread Sagar Ramani
Is there any route management function in the ryu through which we can
manage and get all the parameters related to route management?

-- 
Thanks & Regards,
Ramani Sagar V.
India.
___
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel


[Ryu-devel] How to estimate queing delay?

2018-10-23 Thread Sagar Ramani
Respected sir,
   I am trying to estimate different types of delay during packet routing
in from its path. Now I am trying to find packet queuing delay during its
routing but I am not getting any idea how to proceed ?
___
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel


[Ryu-devel] Regarding stop the flow during execution

2018-12-15 Thread Sagar Ramani
Hi,
I am trying to stop the flow during the execution if certain conditions
satisfy ,can I do that ? If yes then how I can do that ?
___
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel


[Ryu-devel] Get the packet loss for link

2018-12-27 Thread Sagar Ramani
Hi,
Is it possible to get the packet loss in the network topology link of the
network ?

-- 
Thanks & Regards,
Ramani Sagar V.
India.
___
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel


[Ryu-devel] regarding change packet length

2019-03-03 Thread Sagar Ramani
Hi,
  I am trying to figure out to fix the packet length for all kinds of
packet in controller TCP, UDP, ICMP,etc how I can do that? also is possible
to set lldp packet length in ryu?
-- 
Thanks & Regards,
Ramani Sagar V.
India.

[image: Mailtrack]

Sender
notified by
Mailtrack

03/04/19,
7:20:10 AM
___
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel


[Ryu-devel] send a message from control plane to data plane

2019-03-04 Thread Sagar Ramani
Hi,
I am working on the contract base application, if i want to send a message
from control plane(controller) to  data plane(mininet) then how I can do
that?

-- 
Thanks & Regards,
Ramani Sagar V.
G.E.S Class - II,
Govt Of Gujarat,
India.

[image: Mailtrack]

Sender
notified by
Mailtrack

03/05/19,
7:43:34 AM
___
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel


[Ryu-devel] Facing problem in this method with physical switch

2019-05-31 Thread Sagar Ramani
@set_ev_cls(ofp_event.EventOFPEchoReply, MAIN_DISPATCHER)
def echo_reply_handler(self, ev):
try:
latency = time.time() - eval(ev.msg.data)
self.echo_latency[ev.msg.datapath.id] = latency
except:
print("in exception")
return

 in the above method it runs perfectly with mininet while with the physical
switch which is Zodiac fx it shows exception because in eval() method
ev.msg.data value is not coming so how to solve this problem ? can any one
help me.. Zodiac fx switch is connection is ok and tested
-- 
Thanks & Regards,
Ramani Sagar V.
G.E.S Class - II,
Govt Of Gujarat,
India.
___
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel


[Ryu-devel] Not getting values in echo_reply_handler() method

2019-06-05 Thread Sagar Ramani
Below two methods i am using in QoS routing application :

method 1:
def _send_echo_request(self,datapath):
for datapath in self.datapaths.values():
ofproto = datapath.ofproto
parser = datapath.ofproto_parser
data = "%.6f" % time.time()
echo_req = parser.OFPEchoRequest(datapath, data=data)
datapath.send_msg(echo_req))

method 2:
@set_ev_cls(ofp_event.EventOFPEchoReply, MAIN_DISPATCHER)
def echo_reply_handler(self, ev):
try:
print(ev.msg.data)
latency = time.time() - eval(ev.msg.data)
self.echo_latency[ev.msg.datapath.id] = latency
except:
print("in exception")
return
 In the mininet both works perfectly but while i am using in Zodiac Fx
switches in the echo_reply_handler() method i am not getting data value
which is passed by method 1 it shows exception. How to trace or debug event
base method? Using print I have debug the code . While i print echo_req in
method 1 it sends the data value which is time but in the reply method it
is not getting in physical switch test bed environment. I am not getting
any idea regarding this...







-- 
Thanks & Regards,
Ramani Sagar V.
G.E.S Class - II,
Govt Of Gujarat,
India.
___
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel


[Ryu-devel] To call event base methods in ryu

2019-07-24 Thread Sagar Ramani
Hi ,
I have a question regarding that if in the controller I want to call event
base method if certain conditions will satisfy then how I can do that?
___
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel


[Ryu-devel] How to hold a packet at particular switch for a given time

2019-10-03 Thread Sagar Ramani
Hi ,
 I am trying to hold a packet for particular amount of time at  particular
switch then  how i can do it ? Also if i want to extract packet field then
how i can do that I saw a ryu book but i dint find a solution ?
-- 
Thanks & Regards,
Ramani Sagar V.
G.E.S Class - II,
Govt Of Gujarat,
India.
___
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel


[Ryu-devel] How to delay lldp packets from switch side?

2020-01-24 Thread Sagar Ramani
Hi ,
I am trying to delay lldp packets from switch side then how it is possible
to delay packets from switch side ?  I am using mininet topology with ryu .
Please i need advise .
___
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel


[Ryu-devel] If want to delete switch from ryu controller

2022-02-20 Thread Sagar Ramani
Hello,
I am working on the shortest path finding application in ryu controller. I
want to remove the openflow switch(dpid) from the ryu controller itself
when a certain condition is satisfied. Is it possible to remove the dp id
from ryu when certain conditions are satisfied  ?
I have tried this event method but this is not working . So how  to remove
any switch from ryu controller from topology based on certain condition
that  i am not able to figureout
@set_ev_cls(topology.event.EventSwitchLeave)
def switch_leave_handler(self, event):
"""
event handler triggered when switch leave.
delete the Switch object directly,
the broadcast thread will be killed by itself when
exception occured next time.
"""
dpid = event.switch.dp.id
self.logger.info('switch leave (dpid=%s)', dpid_lib.dpid_to_str(dpid))
try:
del self.switches[dpid]

except KeyError:
pass
 Can any one help me regarding this?
-- 
Thanks & Regards,
Ramani Sagar V.
G.E.S Class - II,
Govt of Gujarat,
India.
___
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel