Re: [Ryu-devel] Push tables to the switchs using curl

2015-01-18 Thread Yusuke Iwase
Hi, On 2015年01月16日 19:24, Clément Rault wrote: > So I went back to using an older VM and it works. At least the simple example. > > But I try to do something more advanced the group entry is not present :/. > > ubuntu@sdnhubvm:~[02:21]$ curl -X POST -d '{ > "dpid": 1, > "type": "FF"

Re: [Ryu-devel] Push tables to the switchs using curl

2015-01-16 Thread Clément Rault
So I went back to using an older VM and it works. At least the simple example. But I try to do something more advanced the group entry is not present :/. ubuntu@sdnhubvm:~[02:21]$ curl -X POST -d '{ "dpid": 1, "type": "FF", "group_id": 1, "buckets": [ {

Re: [Ryu-devel] Push tables to the switchs using curl

2015-01-16 Thread Clément Rault
Hi, Thanks for your answer! I use this version of OVS: mininet@mininet-vm:~$ sudo ovs-ofctl --version ovs-ofctl (Open vSwitch) 2.0.2 Compiled Aug 15 2014 14:31:02 OpenFlow versions 0x1:0x4 I simply took this VM image Mininet 2.2.0 on Ubuntu 14.04 and installed ryu using the install.sh -y comman

Re: [Ryu-devel] Push tables to the switchs using curl

2015-01-15 Thread Yusuke Iwase
Hi, Well... On my enviroment, the following commands (that you were mentioned) works fine. # Run mininet --- $ sudo mn --topo single,2 --mac --switch ovsk --controller remote *** Creating network *** Adding controller Unable to contact the remote controller at 127.0.0.1:6633 *** Adding hosts: h1

Re: [Ryu-devel] Push tables to the switchs using curl

2015-01-13 Thread Clément Rault
Hi, Now that I solved my other problems I'm trying to try some things using group tables. But the weird thing is that it doesn't seem to work. I tried what you wrote in the previous email: mininet@mininet-vm:~$ curl -X POST -d '{ > "dpid": 1, > "type": "FF", > "group_id": 1, > "

Re: [Ryu-devel] Push tables to the switchs using curl

2014-12-01 Thread Yusuke Iwase
Hi, On 2014年12月01日 20:13, Clément Rault wrote: > Hi, > > Ok, thanks. > >> I think it's right. >> OpenFlow Spec describes like as follows. >> >> --- >> OpenFlow1.3.4 Spec: >> 5.6.1 Group Types >> --- >> ... >> - Optional: fast failover: Execute the first live bucket. Each action >

Re: [Ryu-devel] Push tables to the switchs using curl

2014-12-01 Thread Clément Rault
Hi, Ok, thanks. > I think it's right. > OpenFlow Spec describes like as follows. > > --- > OpenFlow1.3.4 Spec: > 5.6.1 Group Types > --- > ... > - Optional: fast failover: Execute the first live bucket. Each action > bucket is associated with > a specific port and/or group tha

Re: [Ryu-devel] Push tables to the switchs using curl

2014-11-30 Thread Yusuke Iwase
Hi, On 2014年11月29日 02:04, Clément Rault wrote: > Hi, > > On 28 November 2014 at 02:23, Yusuke Iwase wrote: >> Hi, >> >> >> OpenFlow1.3 Spec describes watch_port/watch_group as follows. >> >> /* Bucket for use in groups. */ >> struct ofp_bucket { >> ... >> uint32_t watch_port; /* Po

Re: [Ryu-devel] Push tables to the switchs using curl

2014-11-28 Thread Clément Rault
Hi, On 28 November 2014 at 02:23, Yusuke Iwase wrote: > Hi, > > > OpenFlow1.3 Spec describes watch_port/watch_group as follows. > > /* Bucket for use in groups. */ > struct ofp_bucket { > ... > uint32_t watch_port; /* Port whose state affects whether this >

Re: [Ryu-devel] Push tables to the switchs using curl

2014-11-27 Thread Yusuke Iwase
Hi, On 2014年11月28日 01:59, Clément Rault wrote: > Hi, > > Thanks for your answer! > > These commands are what I was looking for yes. > > The watch_group argument is the group that will be used if the port > being watched (watch_port argument) is down, right? OpenFlow1.3 Spec describes watch_por

Re: [Ryu-devel] Push tables to the switchs using curl

2014-11-27 Thread Clément Rault
Hi, Thanks for your answer! These commands are what I was looking for yes. The watch_group argument is the group that will be used if the port being watched (watch_port argument) is down, right? And how could I use mask on vlan tags with these commands? Like it's done here: def test_rule_set_v

Re: [Ryu-devel] Push tables to the switchs using curl

2014-11-25 Thread Yusuke Iwase
Hi, On 2014年11月21日 23:05, Clément Rault wrote: > Hi, > > I'm trying to implement in-band mechanisms and therefore I need to > push the proper tables. At first I thought about programming a ryu > application but since I just wanna push tables it's not the best way > to do I guess? I discovered tha

[Ryu-devel] Push tables to the switchs using curl

2014-11-21 Thread Clément Rault
Hi, I'm trying to implement in-band mechanisms and therefore I need to push the proper tables. At first I thought about programming a ryu application but since I just wanna push tables it's not the best way to do I guess? I discovered that it's possible to push tables using curl and it looks bette