Hi,
I am trying to use the Ryu controller with dynamic flow modification based
on some statistics from the switch and servers. For that, I run two
different threads using hub.spawn(). One thread is using the data obtained
from the other thread. In this scenario, can I use threading.lock()? I am
Hi,
I am trying to set Queues and setting traffic to use that queues.
I have written the queue rules in a python code. Previously they have
worked. but today the rules shows empty.
I could not figure out what is wrong.
Could you please, let me know whether I am missing something here.
The
Hi
I included the path while loading .npz for reading as below and now it is
working.
npzfile = np.load('/users/gvelu/ryu/ryu/app/trainingresult.npz')
Thanks
Gandhimathi
On 7 May 2016 at 18:52, Gandhimathi Velusamy <mathiy...@gmail.com> wrote:
> Hi,
>
> I have added som
Hi,
I have added some functionality in packet-in, when a packet in happens
it will be sent to classify function which reads some data from a .npz file
and does some work and classifies tehe packet.
When I run the classifier.py separately which has classify function it
works for me. But when
Hi Randa,
It looks like already an instance of Ryu-manager/Controller running. You
can check it by
ps -ea | grep ryu
if there is an instance running, it will show the PID, Then kill that and
you can run your Ryu controller.
see the screenshot for reference:
[image: Inline images 1]
Thanks
Hi,
Please, see the code below:
pkt_tcp = pkt.get_protocol(tcp.tcp)
if pkt_tcp:
tcp_src_port = pkt_tcp.src_port
tcp_dst_port = pkt_tcp.dst_port
print "TCP_Source_port:", tcp_src_port
print "TCP_Dst_port:", tcp_dst_port
Hi,
Are you sure that controller is running from port 6653. It may run from
port 6633.
Check the port on which the controller is running and change it accordingly
in ovs-vsctl configuration.
To check from which port ryu controller is running, use the command
"netstat -tupln".
You could see from
Sure. Thanks!
-Gandhimathi
On 1 April 2016 at 02:22, Iwase Yusuke <iwase.yusu...@gmail.com> wrote:
> Hi,
>
>
> On 2016年03月31日 14:08, Gandhimathi Velusamy wrote:
>
>> Hi Iwase,
>>
>> Thank you for your reply.
>> Sure I will use binary_str().
> pkt.data[:6]=V�N�f�
> binary_str(pkt.data[:6])=\x56\x8a\x4e\xde\x66\xae
> packet in 1 96:a4:5e:ec:aa:f3 56:8a:4e:de:66:ae 1
>
>
> Thanks
>
>
> On 2016年03月31日 01:15, Gandhimathi Velusamy wrote:
>
>> Hi,
>> I trying to get first few bytes of payload of the pac
Hi,
I trying to get first few bytes of payload of the packet_in.
if I use *pkt[-1]* to extract the payload, I am getting " 'tcp' object is
not iterable" error.
other wise, if I use *pkt.data* , I am seeing some unknown symbols
prepended with payload.
def _packet_in_handler(self, ev):
#
Hi,
I tried to set queue for a particular flow ( considers only tp_src port) on
all ports connected with a bridge as below, I did n't get any error but I
could not see any difference with queue and without queue.
To set queue:
data1 = { 'type': 'linux-htb', 'max_rate': '1', 'queues':
Hi,
I used requests object.
import requests
import json
data1 = { 'port_name': 'eth3', 'type': 'linux-htb', 'max_rate':
'1', 'queues': [{'max_rate': '1000'}, {'min_rate': '8000'}]}
r1 = requests.post('http://localhost:8080/qos/queue/7a9ebe04a549',
data=json.dumps(data1))
Hi,
I am using REST- API of Ryu to get flow status in a python code as below.
The returned values are in Unicode and if I need to use them in my program,
I could not do it. I tried to decode it using decode('utf-8') but it is
giving error as:
.'dict' object has no attribute 'decode'
I want to
On 2015年08月15日 11:33, Gandhimathi Velusamy wrote:
Hi,
I just tried to modify the code simple_switch_13.py in app folder of ryu.
When packet in happens,
I tried to modify the eth_src of the packet coming from port 1 with
the value 02:a3:33:b2:2d:21.
It is working for me.
Please, find
Hi,
I just tried to modify the code simple_switch_13.py in app folder of ryu.
When packet in happens,
I tried to modify the eth_src of the packet coming from port 1 with the
value 02:a3:33:b2:2d:21.
It is working for me.
Please, find attached the code and screen shot of Ryu output.
[image:
Hi,
I want to send first few packets to an application from every new flow. So
I can match ip addresses of sender and receiver and port addresses and
protocol to match against new flows. But I don't know how to send only
first few packets to an application. Could you please, provide me some
hints
some time once the flows started, now my question is how to change
the path. As it is a learning switch how could I make it to change the
path. Does it involve routing? I am little confused. Could you please,
provide me some hint on this.
--
Thanks.
Gandhimathi Velusamy
Graduate Research
controller to use that queues.
--
Thanks.
Gandhimathi Velusamy
Graduate Research Assistant
College of Technology
University of Houston
gvelus...@uh.edu
--
November Webinars for C, C++, Fortran Developers
Accelerate application
Hi,
When I tried to install Ryu using 'sudo python ./setup.py install' , it is
giving me the error,
pc-3:~/ryu% sudo python ./setup.py install
running install
/usr/local/bin/python: No module named pip
error: /usr/local/bin/python -m pip.__init__ install 'eventlet' 'routes'
'webob=1.0.8'
Hi YAMAMOTO Takashi,
Now I am able to get fields on the flow table entries whatever I used
for matching.
Thank you so much.
Gandhi
On 12 June 2013 02:02, YAMAMOTO Takashi yamam...@valinux.co.jp wrote:
hi,
please don't drop ML Cc.
i meant something like this.
Hi,
I am using LINC switch with OpenFlow 1.3 and modified version of Ryu
controller program l2_switch_v1_3.py to forward icmp messages.
In the LINC console I am able to see the flow_mod messages with eth_type,
ip_pro, ipv4_src and ipv4_dst values but if I use
linc_us4_flow:get_flow_table(0,0).
When I start the ryu controller using the program simple_switch_v1_2.py, I
am getting the error message as follows:(linc@roadrunner)4 11:42:25.433
[info] Connected to controller localhost:6633/0 using OFP v4
11:42:25.434 [debug] Received message from the controller:
Hi,
I want to add the action to set the fields eth_type and ipv4_src in the
flow mod message to handle icmpv4 messages. could you please, provide me
the syntax for it.
Thanks
Gandhi
--
Get 100% visibility into Java/.NET
Hi,
I am trying to write switch functionality to handle icmp packets. I am
struck with packet_in event. I would like to know how to handle packet_in
to get IP address from the received packet. Could you please, guide me how
to do that.
Thanks
Gandhi
the Testbed setup as per the advise of
rpt from flowforwarding.org.
Thanks
Gandhi
On 12 February 2013 08:22, Gandhimathi Velusamy mathiy...@gmail.com wrote:
Thank you Very much!
Gandhi
On 12 February 2013 07:37, FUJITA Tomonori
fujita.tomon...@lab.ntt.co.jpwrote:
On Tue, 12 Feb 2013 11
...@lab.ntt.co.jpwrote:
On Thu, 14 Feb 2013 02:59:24 -0600
Gandhimathi Velusamy mathiy...@gmail.com wrote:
It is not throwing any error but when ping from one of the VM to another,
How to give the ip address. My doubt is how to assign addresses to VMs
and
use them. If i ping like from vm2 to vm3
26 matches
Mail list logo