[Ryu-devel] Questions

2016-07-17 Thread Alan Wang
Hi All, Can anyone implement ryu multi-thread controller? how to implement it? And how to implement ryu-cluster? i search ryu-cluster, but its data is too little. please tell me how to do them specifically. Thanks, Alan. --

Re: [Ryu-devel] Questions

2016-07-19 Thread Alan Wang
computer? I have tried many ways. Thanks, Alan 2016-07-19 15:27 GMT+08:00 Iwase Yusuke : > Hi Alan, > > Please keep mailing list. > > > On 2016年07月19日 15:55, Alan Wang wrote: > >> Hi, >> >> thanks for your reply. >> >> I have tried ryu clu

[Ryu-devel] How to send data from controller to the host

2016-08-04 Thread Alan Wang
Hi All, I want to send some data controller collected from Controller to Host. What should i do ? Thanks, Alan. -- ___ Ryu-devel mailing list Ryu-devel@lists.sourceforge.net htt

Re: [Ryu-devel] How to send data from controller to the host

2016-08-04 Thread Alan Wang
p://ryu.readthedocs.io/en/latest/ofproto_v1_3_ref.html#ry > u.ofproto.ofproto_v1_3_parser.OFPPacketOut > > Thanks, > Iwase > > > > On 2016年08月05日 12:45, Alan Wang wrote: > >> Hi All, >> >> I want to send some data controller collected from Co

Re: [Ryu-devel] How to send data from controller to the host

2016-08-07 Thread Alan Wang
l/packet_lib.html#gener > ation-of-packets-serialization > > Thanks, > Iwase > > > On 2016年08月05日 14:19, Alan Wang wrote: > >> HI, >> >> Thanks for your reply!! >> >> >> def send_packet_out(self, datapath, buffer_id, in_port): >>

Re: [Ryu-devel] How to send data from controller to the host

2016-08-08 Thread Alan Wang
HI, Thanks for tour reply!! However I want to use these data sent from the controller at host. How to receive packets from the controller and transfer it to txt file at the host? Thanks, Alan 2016-08-08 21:08 GMT+08:00 Alan Wang : > HI, > > Thanks for tour reply!! > > Howeve

Re: [Ryu-devel] How to send data from controller to the host

2016-08-26 Thread Alan Wang
ing > > > > 2016-08-08 21:09 GMT+08:00 Alan Wang : > >> HI, >> >> Thanks for tour reply!! >> >> However I want to use these data sent from the controller at host. >> >> How to receive packets from the controller and transfer it to txt file at

[Ryu-devel] Get the mac address of all switches

2016-09-16 Thread Alan Wang
Hi All, I want to know the mac address of all switches from controller. How to get the mac address of switch? Thanks, Alan -- ___ Ryu-devel mailing list Ryu-devel@lists.source

Re: [Ryu-devel] Get the mac address of all switches

2016-09-16 Thread Alan Wang
gs['dpset'] > # ... > """ > Then fetch switches: > >> switches = self.dpset.get_all() > >> mac_addresses = [(s[0], s[1].ports[OFPP_LOCAL].hw_addr) for s in > switches] > It will return tuple(dpid, mac_address), like this: > [(1, '0a

Re: [Ryu-devel] Get the mac address of all switches

2016-09-17 Thread Alan Wang
for correct switch registration by dpset - > there must be following lines in output (with --verbose flag set): > >> EVENT ofp_event->dpset EventOFPStateChange > >> DPSET: register datapath 0x7ff879a68550> > > > Nick > > пт, 16 сент. 2016 г. в 18:07,

[Ryu-devel] Ryu controller refused openvswitch

2016-10-26 Thread Alan Wang
Hi All, I tried to let openvswitch connect to the ryu controller. But the connection is be refused by ryu controller. I am so confused about is_connected:true and last_error="Connection refused". $ ovs-vsctl list controller _uuid : abbeff95-fdec-43c0-a566-6e4cf79163ee connection_m

[Ryu-devel] Modify packet header (destination ip and mac) and forward the packet to the new destination

2017-01-08 Thread Alan Wang
Hi All, I tried to modify the packet header (destination ip and mac) and forward the packet to the new destination (modified packet header about destination ip and mac). The code is below. I can't do what i want. what should i do ? def add_flow(self, datapath, priority, match, actions, buf

[Ryu-devel] The same packet-in messages are too many. I add a flow entry and it can't solve the problem.

2017-02-01 Thread Alan Wang
Hi All, I meet a problem. When the packet-in message is sent to the controller ,I add a flow entry to switch. After that,the same packages sent to the switch should match the flow entry.But they can't match the flow entry and the same packet-in messages are sent to the controller. What caused

Re: [Ryu-devel] The same packet-in messages are too many. I add a flow entry and it can't solve the problem.

2017-02-03 Thread Alan Wang
er_id in a short time. How can i solve the problem? Thanks, Alan 2017-02-03 2:21 GMT+08:00 Yi Tseng : > Hi Alan > > Can you check counters of flow entry? It should increase if flow matched. > > If it not increased, please check match fields. > > > Yi > > 2017-02-01

[Ryu-devel] Can't see FlowstatsReply every second

2017-02-25 Thread Alan Wang
HI All, I tried to combined the simple_switch_13 and simple_monitor. However,when i run my codes, I found a problem. I send OFPFlowStatsRequest to swtich every second, but i can't receive OFPFlowStatsReply every second, especially After packet_in_handler.I can't get the flow stats when i can't

Re: [Ryu-devel] Can't see FlowstatsReply every second

2017-03-02 Thread Alan Wang
#x27;t get the flow stats when Ns3-ofsoftswtich13 doesn't receive the flow_request and sent to reply . Thanks Alan 2017年3月3日 09:59,"Iwase Yusuke" 寫道: Hi, On 2017年02月25日 21:06, Alan Wang wrote: > HI All, > > I tried to combined the simple_switch_13 and simple_monit