I don't think OpenFlow v.1.3 has such a feature, but how about adding a
counter in your Ryu app to keep track of added/removed rules...
On Wed, Feb 28, 2018 at 11:53 AM, Eman Bany salameh via Ryu-devel <
ryu-devel@lists.sourceforge.net> wrote:
> Hi,
>
> I need to know the number of flows insta
If we maintain the count in SDN controller, There is a possibility of
mismatch in the count between the switch and controller .
Each flow has a timeout(idle and hard), it will be flushed out after the
timeout period.
On Wed, Feb 28, 2018 at 1:59 PM, Moh'd Reza Abbasi
wrote:
> I don't think OpenF
Thanks for your response,
On the one hand, I have no problem when I use these instructions on
http://tocai.dia.uniroma3.it/compunet-wiki/index.php/In-band_control_with_Open_vSwitch
(sudo mn --topo linear,5 --switch ovsk,inband=True
--controller=remote,ip=10.0.0.3)
when I check the disable-in-b
You could look for flow-removed messages from switch and use that to adjust
flows installed in your app accordingly.
In OpenFlow version >= 1.4 you could use flow monitoring as well. This way you
can keep a check on flows in the switch.
7.3.5.19 Flow Monitoring
https://www.opennetworking.org/
In my application I need to use the OVSDB manager to spawn ports and
bridges on OVS switches running on separate hosts. As I need to use
in-band control, I need to use an "active manager", i.e. the OVS switch
initiates the OVSDB connection to the manager.
It appears that the OVSDB manager libr
Hi all,
Thanks for your replays.
Yes, I decrement the counter when the flow removed by idle_timeout and used
flow-removed_handler to know this. But the problem in this case is the
packet-in generated more than once for the same packet but the flow is added
once and this increments the counter
Hi,
I want to use botnets to simulate an attack in Mininet with Ryu controller. I
need 800 bots which I can’t create as hosts in my machine, instead I want to
use IP spoofing from one host how could I do this??
Regards,
Eman Bany Salameh
---
William Fisher pointed out that Ryu on Python 3 will raise exception when
failed negotiate the OpenFlow version. The following patches include the fix
for this issue.
Also, the following patches add a new option to close socket connecting to a
switch after sending a specified message.
IWASE Yusuk
Hi Bill,
>> A little difference though, how about doing "encode" in parser classes as the
>> following? If encoding is done in parser, the differences of Python2 and
>> Python3 can be obscured against Ryu users.
>
> Yes, this change looks good to me. It makes sense to handle the ascii
> encoding
Currently, Ryu does not provide the way to close a socket connecting to
a switch after sending all enqueued messages, but provides only the way
to close the socket immediately regardless of enqueued messages.
This patch adds a new option "close_socket" into "Datapath.send_msg()"
method and this op
The counter has to be incremented when you add the flows add_flows(not
packet-in) and to be decremented flow-removed event message.
On Wed, Feb 28, 2018 at 7:39 PM, Eman Bany salameh <
banysalam...@yahoo.com> wrote:
> Hi all,
>
> Thanks for your replays.
>
> Yes, I decrement the counter when
Hi,
Excuse me for jumping in.
How about sending OFPAggregateStatsRequest in synchronous way?
You can use "ryu.app.ofctl.api" to send an OpenFlow message synchronously.
http://ryu.readthedocs.io/en/latest/app/ofctl.html
$ git diff
diff --git a/ryu/app/simple_switch_13.py b/ryu/app/simple_switch
Currently, when Ryu failed to negotiate the OpenFlow version with a
switch, Ryu will send the OFPT_ERROR message with an error reason on its
data field.
But on Python 3, error reason string is a str type value and required to
be encoded into a bytes type value, otherwise causes an exception when
se
With this patch, when failed to negotiate the OpenFlow version with a
switch, Ryu will close the socket connecting to the switch after sending
a OFPT_ERROR message.
Signed-off-by: IWASE Yusuke
---
ryu/controller/ofp_handler.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/r
Signed-off-by: IWASE Yusuke
---
ryu/app/ofctl/api.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/ryu/app/ofctl/api.py b/ryu/app/ofctl/api.py
index fe76b80..1149e06 100644
--- a/ryu/app/ofctl/api.py
+++ b/ryu/app/ofctl/api.py
@@ -78,11 +78,11 @@ def send_msg(app, msg,
Hi Soliman,
I cannot answer for the contents of the Blog post you mentioned, because it is
not the official document of Ryu project and this issue seems be on Mininet
script side.
> https://techandtrains.com/2013/10/05/in-band-controller-with-mininet-part-2/
> or
> https://github.com/hmd1st/mn_t
16 matches
Mail list logo