Re: [Ryu-devel] Application specific settings

2016-09-16 Thread Nick Sedelnikov
Hi, Thank you for reply, but both methods lead to sources rewriting and app will break on ryu updates, so for now I wrote config loader and hard-coded locations, where it can be placed. Nick чт, 15 сент. 2016 г. в 11:00, Shinpei Muraoka : > Hi, > > Ryu config must be

Re: [Ryu-devel] Not able to install the RYU controller

2016-09-16 Thread Ajay Chopra
HI , Thank you Iwase .I have contacted the SDN Hub team for my issue I am in initial phase of learning and understanding . They have suggested few steps will try and see if it works . -Aj -Original Message- From: Iwase Yusuke [mailto:iwase.yusu...@gmail.com] Sent: 16 September 2016

Re: [Ryu-devel] [PATCH] Add Nicira extension vlan_tci field

2016-09-16 Thread FUJITA Tomonori
On Tue, 13 Sep 2016 16:04:37 +0900 IWAMOTO Toshihiro wrote: > This Nicira extension field is VLAN VID+CFI+PCP. > OXM_OF_VLAN_VID and OXM_OF_VLAN_PCP should work fine in theory, but > in OvS it seems vlan_tci must be used to access the CFI bit from > NX_LEARN actions. > >

Re: [Ryu-devel] Ryu app

2016-09-16 Thread Iwase Yusuke
Hi, I think it depends on your application design. I can not mention further about which is the better way... FYI: If you want to just avoid the looped topology (by blocking redundant port by STP), how about using STP support of OVS as following? e.g.) please enable STP support on your OVS

[Ryu-devel] Request to help on python

2016-09-16 Thread Darvid William
Hi All I am new to SDN and python. I want to start my learning on SDN with RYU controller May I request you guys to suggest the required topics in python I have to be perfect so that I can understand the code clearly. Any helpful links would be appreciated. Thanks William

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

2016-09-16 Thread Nick Sedelnikov
Alan, I've checked this on simple application: """ from ryu.base import app_manager from ryu.controller import ofp_event from ryu.controller.dpset import DPSet from ryu.controller.handler import MAIN_DISPATCHER, set_ev_cls from ryu.ofproto import ofproto_v1_3 class MyApp(app_manager.RyuApp):

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

2016-09-16 Thread Nick Sedelnikov
Hi, To know all registered switches try: """ from ryu.controller.dpset import DPSet class MyApp(app_manager.RyuApp): # ... _CONTEXTS = {'dpset': DPSet} def __init__(self, *args, **kwargs): super(MyApp, self).__init__(*args, **kwargs) # ... self.dpset =

[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

Re: [Ryu-devel] Ryu app

2016-09-16 Thread Francesco Murador
Can i activate stp sending a message directly from ryu? I want to include the code of the dal_plugin directly with an import and then do something similar to that i sent to you in my application code..could you help me in that? If i do that will it load dynamically the simple_switch_13 by

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

2016-09-16 Thread Alan Wang
Hi, Thanks for your reply. I tried your code and simulate it with mininet. But it returns empty list. How to solve the problem? Thanks, Alan 2016-09-16 21:46 GMT+08:00 Nick Sedelnikov : > Hi, > > To know all registered switches try: > """ > from ryu.controller.dpset