Re: [Ryu-devel] All the links of the topology not getting discovered.

2018-03-23 Thread Taha Khan
Thanks for the reply.
But do you have any rough idea, how many links should a topology have to
not hit performance limit?
This is my systems specs.
I need EventLinkAdd and  EventLinkDelete to work properly as I am planning
to introduce multiple link failures from mininet.

I started with 62 nodes, 107 links and trimmed my topology to 30 Nodes and
43 Links(86 bi-directional) and found, I was able to discover the full
topology but EventLinkDelete wasn't triggering when I tried
with mininet (link down command).
Now I have 30 Nodes, 32 Links and still EventLinkDelte is not getting
triggered though I see the full topology information in my structures
storing their information in RYU controller.








Thanks!
Taha

On Fri, Mar 23, 2018 at 3:45 AM, Iwase Yusuke 
wrote:

> Hi Taha,
>
> IIRC, the similar problems had reported before on this mailing list.
> I think you hit the performance limit of "single" controller in order to
> use
> topology discovery feature against such many switches.
>
> For handling such large topology, how about splitting your topology into
> some
> sub-topology and having multiple controllers?
>
> Thanks,
> Iwase
>
>
>
> On 2018年03月23日 16:07, Taha Khan wrote:
>
>> Hi
>>
>> I am using RYU-4.23 and Mininet OVS.
>> I have a 62 Node topology. When I run my RYU application I noticed that
>> RYU is not able to discover all the datapaths and links everytime I run my
>> code. And also when I run (link down command ) in mininet CLI,
>> EventLinkDelete is not getting triggered everytime I did it. Few times I
>> was actually able to discover the full topology and EventLinkDelete was
>> also getting triggered.
>> Can you please suggest why is this so. I have attached codes below.
>>
>>
>> Thanks!
>> Taha
>>
>>
>> 
>> --
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>
>>
>>
>> ___
>> Ryu-devel mailing list
>> Ryu-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>>
>>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel


[Ryu-devel] Disable/Enable switch port with ryu

2018-03-23 Thread Valson Pereira
Hi everyone;

How i can disable/enable a specific swicth port with ryu?

Thanks.
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel


[Ryu-devel] ryu-devel:如何培养整个公司的质量意识? 65487

2018-03-23 Thread cohjnk
研发质量管理
【时间地点】2018年3月26-27日 北京  确定开课 燕山酒店
3月29-30日 上海  确定开课 中祥酒店 


【参加对象】企业CEO/总经理、研发总经理/副总、公司总工/技术总监、公司人力资源总监、研发总经理/副总、质量部经理、QA经理、PMO(项目管理办公室)主任、测试经理等
【学习费用】2800/人
【垂询热线】021-31006787,1338160100许先生
【QQ/ 微信】320588808 
课程背景:
通过产品质量问题的根源分析,发现54%的质量问题源自研发阶段,客户对产品的质量要求越来越高,质量成为产品在市场竞争中脱颖而出的重要武器:
1.如何培养整个公司的质量意识?
2.如何把质量管理活动变成具体开发的人员的自觉行为?
3.如何避免质量管理体系和实际执行“两张皮”?
4.如何把设计中构建产品质量的理念落实到具体的产品开发活动中去?
5.如何通过全流程的质量管理活动获得产品全生命周期成本的竞争优势?
6.如何构建能很好支撑公司核心业务运作的研发质量管理体系?
7.质量管理的职能部门如何设置?如何考评?与业务部门如何协同?
8.什么样的人比较从事研发质量管理,同时这部分人员的出路在哪里?
9.质量管理如何从一个支撑辅助角色,转变为公司研发决策的关键支撑?
这些问题是业界研发管理人员普遍感到困惑的核心问题。本课程通过业界最佳实践的分享、具体的案例研讨等方式,详细介绍研发质量管理六根基,具体涉及:
1.研发质量管理的组织体系
2.结构化的产品开发流程体系与指标体系
3.产品质量策略和质量计划的制定方法
4.产品开发过程中的技术评审体系(产品级+模块级)
5.产品开发的量化管理方法(业务度量、质量度量)
6.质量管理人员的工作职责、方法、职业发展
7.如何避免研发质量管理体系优化虎头蛇尾
课程收益:
1.了解业界产品研发质量管理的最佳模式与实践
2.了解业务导向的研发管理体系在公司管理体系中的位置
3.掌握研发质量管理组织的架构、职责定位
4.掌握结构化的产品开发流程体系、层次间的接口关系
5.掌握产品质量策划和质量计划的制定方法
6.掌握产品开发过程中技术评审的分层分级与操作方法
7.掌握如何建立质量保证体系、开展质量保证工作
8.掌握度量管理的方法及度量结果在过程改进和绩效考核中的应用
9.掌握如何成功在公司内部实施研发质量管理体系优化
课程大纲:
一、案例分析
二、研发质量管理概述
1.研发质量管理体系的六个根基:
1)之一:研发流程与指标体系
2)之二:研发质量的组织保障
3)研发质量执行体系
之三:研发质量策划(质量计划、质量目标)
之四:研发质量控制(评审、测试)
之五:研发质量保证(引导、培训、审计)
之六:研发质量改进(度量、考核、能力基线)
4)根基之载体:文件体系、IT体系
2.研发质量管理在研发价值链中的位置
1)研发质量管理与研发业务流程、研发项目管理之间的关系
2)研发质量管理与市场、制造、采购、客户服务之间的关系
3.研发质量管理中常见的误区(责任主体错位、缺少全流程概念、……)
4.业界常用研发管理模式介绍
1)NPD(PDMA)
8大要素介绍(结构化流程、管道管理、……)
实施实例讲解
2)CMM/CMMI(SEI)
模型/级别/过程域/具体实践
实施实例讲解
3)两者对比分析(优点、改进点、相互配合)
5.研发质量管理体系
1)质量管理新老七工具(关联图、系统图、直方图、控制图、……)
2)研发过程资产库(PAL)(作用、内容、……)
6.实战演练与问题讨论
三、六根基之一:研发流程与指标体系
1.研发流程体系定义方法论:Designflow
1)基于角色、关注客户、锁定开始与结束
2)角色、活动、链接、分支、结束、多线头、返回点、终端与连接
2.研发流程管理体系:
1)L0:公司整体流程体系定义方法论  波特价值链分析模型
2)L1:产品开发流程概览
3)L2:产品开发阶段流程
4)L3:产品开发子流程(软件开发流程、硬件开发流程、测试流程、……)
5)L4:活动定义与角色说明
6)L5:模板、指导书、样例、检查表
7)实例讲解:某案例公司产品开发流程体系介绍
8)使能流程体系
定义
举例:缺陷反馈流程、技术评审流程、问题跟踪流程、审计流程
3.度量的基本概念(定义、作用和目的、度量与测量、驾驶窗、度量模型、……)
1)过程质量指标、交付件质量指标
2)度量模型、度量流程
3)实例讲解:某业界最佳的某公司研发过程能力基线(PCB)
4.质量指标的定义
1)质量目标的分解(逻辑分解、物理分解)
2)实例讲解:某案例公司级质量指标定义
3)实例讲解:某案例公司产品级质量指标定义 
4)实例讲解:某案例公司项目级质量指标定义
四、六根基之二:研发质量的组织保障
1.如何设置研发质量管理组织
1)研发质量管理组织设计中存在的误区
2)公司级的质量管理组织如何定位
3)产品级的质量管理组织如何定位
4)项目级的质量管理角色如何定位
5)质量管理与测试、项目管理、文档管理混合在一起的弊端分析
6)质量管理人员的规模确定(业界经验、产品类型、行业竞争、……)
2.质量管理人员的任职资格与职业发展通道
3.什么样的人适合承担QA角色(PQA、SQA、HQA、TQA……)
1)员工不愿意作QA怎么办?
2)没有QA或者兼职QA可能会导致的后果
4.实例讲解:某业界最佳研发质量管理人员的任职资格体系介绍
5.如何培养QA人员?
6.实战演练与问题讨论
五、六根基之三:研发质量策划
1.制定质量计划的时机
2.产品质量策略与产品质量计划的关系
1)实例讲解:某案例公司产品质量策略
2)实例讲解:某案例公司产品质量计划(产品级、软件/硬件项目级)
3.产品质量计划相关的责任主体(谁制定、谁批准、谁配合、谁实施)
4.质量目标定义方法
1)目标、上限、下限
2)公司基线目标、公司基线上限、公司基线下限
5.产品质量计划与产品开发其他计划的配合关系
6.产品质量计划与PHB的关系
7.实战演练与问题讨论
六、六根基之四:研发质量控制之:技术评审(TR)
1.企业在评审操作中常见的问题
1)评审抓壮丁、评审先变科普会、再变批斗会、评审缺少标准靠拍脑袋……
2.业界最佳研发管理企业的评审体系介绍
1)三级评审体系(业务评审、技术评审、正规检视)
3.技术评审(TR)   
1)TR的目的、原则
2)TR评审流程(主要活动、输入、输出)   
3)各个角色在评审中的定义和职责(SE、PM、QA、技术专家、……)
4)各TR点的评审要素是如何相互支撑的(产品级、模块级、职能领域、……)
5)TR的三个结论
6)评审专家管理方法
7)谁决定TR是否通过?决策团队、项目经理、QA、还是技术专家?
8)如何避免技术评审流于形式?(任职资格、计划确定、评审标准、……)
9)实例讲解:某案例公司具体3级技术评审体系
4.实例讲解:TR的载体:TR IT化
5.实战演练与问题讨论
七、六根基之四:质量控制体系之:测试验证(V)
1.研发企业在测试操作中常见的问题
1)基于设计测试、测试过分重复、测试人员地位低下、……
2.产品级渐增测试模型
1)为什么尽早测试?
2)渐增测试的优点分析?(提前发现问题、并行开发、减少测试重复、……)
3.高效测试的前提条件  清晰、明确的需求定义
1)客户化测试思维
2)缺陷引入阶段分析
3)优秀需求的标准
4.高效测试的法宝  刚刚好,不多测,也不少测
1)场景用例设计法,案例讲解
2)边界值用例设计法,案例讲解
3)等价类用例设计法,案例讲解
5.业界测试经验汇总(NASA)
6.实战演练与问题讨论
八、六根基之五:研发质量保证
1.研发质量保证(QA)的理念
1)QA的独立性
2)QA与QC的区别
2.QA工作关系与汇报关系 (PQA、SQA、HQA、TQA……)
3.QA主要活动 
1)主要活动之一:产品质量计划
2)主要活动之二:引导培训
3)主要活动之三:产品质量度量
4)主要活动之四:技术评审(TR)
5)主要活动之五:审计 
6)主要活动之六:质量活动协调
7)主要活动之七:产品质量回溯
8)主要活动之八:质量报告
9)主要活动之九:准备PHB
10)主要活动之十:收集体系改进建议
4.实战演练与问题讨论
九、六根基之六:研发质量改进
1.企业在质量改进中常见的问题
1)缺少量化数据,管理拍脑袋、数据堆积如山但缺少分析……
2.度量是研发质量改进的基础(没有度量就没有改进,也无法考核)
3.度量结果的应用 
1)度量结果应用的常见误区
2)不考虑无人度量、用于考核又导致造假、如何处理?
3)哪些度量指标用于过程改进?
4)哪些度量指标用于绩效考核?
4.质量体系构造方法论:
1)如何处理变革中的人的问题?
2)如何正视研发管理体系优化导致的短期绩效下降?
3)如何分步实施研发管理体系优化?
4)研发管理体系优化3步曲(现状诊断、设计、推行)
5)研发体系优化成功的关键要素
6)实例讲解:分享历史近10家企业研发管理体系优化过程、遇到问题和解决方法
7)高层领导在研发体系优化中的关键作用
讲师介绍
Don  研发咨询资深顾问 INCOSE(国际系统工程师联合会www.incose.org)会员
专业背景:
十多年高科技企业的研发与管理实践经验,在某著名高科技企业工作期间,先后担当项目经理、系统工程师、产品经理、软件部经理;先后作为三个产品的主任系统工程师,带领系统分析团队开展客户需求调研、产品特性定义和详细的需求分解与分配等端到端的需求管理工作,奠定了产品市场的成功;长期与国际顶尖咨询顾问一起工作,全程参与该公司研发管理变革项目。曾驻印度工作一年半,先后负责四个合作项目(合作方分别为:BFL、Infosys)的实施,全程参与印度研究所CMM四级认证过程;对业务导向的研发质量管理体系的构建有深入地研究。
 
研发管理咨询经验:
曾作为项目总监或经理主导了10多个研发管理咨询项目,帮助这些企业全面建立研发管理体系(流程、组织、绩效),有效地提升了这些公司的研发效率和创新能力:
1)华大电子
2)超图软件
3)上海格尔
4)网易
5)重庆奥普泰
6)佳讯飞鸿
7)广联达软件
8)京信通信
9)华胜天成
10)信利半导体
研发管理培训经验:
曾为海尔、研祥科技、宇通重工、康佳集团、北京移动、北大方正、阿里巴巴、华胜天成、南太电子、网易、富港电子、用友软件、星网锐捷、东软股份、格林威尔、金蝶软件、天马微电子、超图地理、华动飞天、新奥特、信利半导体、郎坤软件、深圳桑菲、久其软件、德信无线、新意科技、沈阳移动、光桥科技、斯特奇、合力金桥、蓝托扑、绿盟科技、建行总行开发中心、成都迈普、上海电信、佳讯飞鸿、德信无线、创维集团、威创日新、TCL、日电电子、展讯通信、易思科技、盛大网络、威科姆科技、协同集团、成都索贝、重庆奥普泰、京信通信、汇川技术、亿力吉奥、迈瑞医疗、同方威视、大唐移动、中软国际、北大方正、思源电气、南京华瑞杰、联想网域、天津通广、兴唐通信、寿力亚洲、浪潮计算机、上海华虹、浦发银行、恒宝股份、武大吉奥、广东电信研究院、华宁电子、三安光电、广西博联、东方通信、北京拓明等100多家企业提供了专业的研发管理培训,涉及的行业包括通信、软件、互联网、家电、运营商、芯片等。--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! 

[Ryu-devel] 转发:新任管理者如何自我提升

2018-03-23 Thread 鞠�u光
ryu-devel@lists.sourceforge.net

73571 ¸½.¼þ.ÄÚ.ÈÝ.Çë.²é.ÔÄ
<>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel


[Ryu-devel] 信誉开票

2018-03-23 Thread 扬小姐
你好!本公司可以代理全国各地区增值税专用发票,普通增值税发票,点数优惠,真实有效验证后付款,需要联系:13670062475杨云(经理)微信同号:13670062475


信誉开票 诚信开票   长期合作愉快

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel


Re: [Ryu-devel] Spliting flows through two ports

2018-03-23 Thread Jose Carlos Ferreira de Melo Junior
Hey Iwase,


Split means really divide the flow I dont know if would be like a load
balancing (I think it is)

For example the image below




But I dont know if this would be possible using the group table.

2018-03-23 4:04 GMT-03:00 Iwase Yusuke :

> Hi Carlos,
>
> What does "split flows" exactly mean?
>
> > req = parser.OFPGroupMod(datapath, ofp.OFPFC_ADD, ofp.OFPGT_SELECT,
> >  group_id, buckets)
>
> If you specify OFPGT_SELECT, switch will execute "one" bucket in the group
> and
> not copied like the port mirroring. If you intend to do port mirroring,
> you need
> to specify OFPGT_ALL. For other available group types, please refer to the
> OpenFlow spec and your switch's specification.
>
> Thanks,
> Iwase
>
>
> On 2018年03月21日 04:02, Jose Carlos Ferreira de Melo Junior wrote:
>
>> Hi there,
>>
>> I know this topic was discussed before but I would like just a simple
>> explanation about it.
>>
>> Because I am using the group table with openflow 1.3 with no sucess.
>>
>>
>> My purpose is to split one flow in two flows and forward on port 3 and 4
>> using the group table.
>>
>> My code is as follows:
>>
>>
>> *def group_mod(self, datapath):*
>> *global ofp, _parser_, dp*
>> *port_1 = 4*
>> *queue_1 = _parser_.OFPActionSetQueue(0)*
>> *actions_1 = [queue_1, _parser_.OFPActionOutput(port_1)]*
>> *
>> *
>> *
>> *
>> *port_2 = 3*
>> *queue_2 = _parser_.OFPActionSetQueue(0)*
>> *actions_2 = [queue_2, _parser_.OFPActionOutput(port_2)]*
>> *
>> *
>> *weight_1 = 50*
>> *weight_2 = 50*
>> *
>> *
>> *watch_port = ofproto_v1_3.OFPP_ANY*
>> *watch_group = ofproto_v1_3.OFPQ_ALL*
>> *
>> *
>> *buckets = [*
>> *_parser_.OFPBucket(weight_1, watch_port, watch_group,
>> actions_1),*
>> *_parser_.OFPBucket(weight_2, watch_port, watch_group,
>> actions_2)]*
>> *
>> *
>> *group_id = 50*
>> *
>> *
>> *req = _parser_.OFPGroupMod(datapath, ofp.OFPFC_ADD,
>> ofp.OFPGT_SELECT,*
>> *group_id, buckets)*
>> *
>> *
>> *datapath.send_msg(req)*
>> *
>> *
>> *
>> *
>> *
>> *
>> Hope this is right.
>>
>> Could anyone help me with this issue?
>>
>>
>>
>>
>> --
>> Best regards,
>> José Carlos Ferreira
>> Msc student in Computer Science
>> System and Network Analyst at PoP-PE/RNP
>>
>>
>> 
>> --
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>
>>
>>
>> ___
>> Ryu-devel mailing list
>> Ryu-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>>
>>


-- 
Best regards,
José Carlos Ferreira
Msc student in Computer Science
System and Network Analyst at PoP-PE/RNP
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel


[Ryu-devel] Create or Upgrade Website To Drive More Traffic (NX3)

2018-03-23 Thread Gina Smith via Ryu-devel




Hello,
Have you been looking for a team of professional website developers
and graphic designers that can handle your website design and development
without delay? We are right here for you. With several years of experience
in software, design and website solutions to our growing clients on a
global scale, you can trust us to give your work an expert touch. We work
according to clients’ specifications, requirements and brands coupled
with the fact that our prices are affordable; perfectly aligned to your
budget. The following are some of the features of our website
services:


Responsive/ mobile design compatible with all mobile devices  
 


Design flexibility


High quality images


Retina ready


Cross-Platform support


Unlimited reasonable revisions


Very attractive look and feel depending on your choice


SEO optimized


Server setup and site migration from local to live


We quite understand that our clients have different needs and
unique brands. In order to fit into their business setup, we have wide
scope of professional website design experience. The following are some
areas we specialize in:


Web & Development using HTML5, CSS3 and _javascript_ &
jQuery


PHP & MySQL development


CMS site development including ecommerce integration


WordPress/Joomla development including themes and
plugins


Responsive mobile site design and development


Mobile app development


Other services we render include:


Logo design. Having completed over 2000 designs for various clients
who are proud of our jobs, you can trust us to help you with an expert job
in this area. We also give out samples of previous designs to convince you
of our professionalism. This category of our service is also aligned to
clients’ budgets.


Contents. We are expert curators who are ready to provide error and
plagiarism free contents for you at an affordable rate


SEO. Similarly, we offer SEO (Search Engine Optimization) for
clients who want their websites to be visible in the internet and to help
them have an edge over their competitors.


Keywords recommendation. We know that a lot of website owners do
not understand the right keywords to incorporate into their website
contents. We are experts here too. We have the knowledge of the right
keywords you can use to ensure your website rank high in search engines.
All these at affordable prices.


If you have been stagnant in your online business ventures, it is
because you have not applied the right techniques that can lead to your
online business success. We are synonymous with success; and our teeming
clients can attest to that. We have all it takes for you to soar high above
your competitors. We shall not only give you what you desire but much more.
You can contact us for the specific price of each service category. Looking
forward to have cordial business relationship with you!
Regards,Gina Smith



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel


Re: [Ryu-devel] BGP Usecase

2018-03-23 Thread knet solutions
Hi PA,

Thanks for the response.

Regarding use case1   (1.- Have an SDN domain look like a BGP router, for
example, a central office that grooms end-users and interacts with the
ISP's infrastructure),

SDN controller(app) is act  as a  BGP router, establishes the  neighbor
relation ships with one more ISPs for exchange routes.

Is that correct?  Still i need to visualize in eagles view, to see how data
path establishes between the ISP and SDN domain.


Regarding use case2)

you mean, exchanging the Routes between different SDN Controllers?

thanks
Suresh


On Fri, Mar 23, 2018 at 2:45 PM, Pedro Andres Aranda Gutierrez <
paag...@gmail.com> wrote:

> Hi Suresh,
>
> I see two use cases:
>
> 1.- Have an SDN domain look like a BGP router, for example, a central
> office that grooms end-users and interacts with the ISP's infrastructure
> 2.- Researchy kind of things like using BGP-4 for a possible East-West
> interface between SDN domains,
>
> /PA
>
> On 23 March 2018 at 03:17, knet solutions 
> wrote:
>
>> Hi,
>>
>> I see couple of mail threads related to BGP stuff.I couldn't understand
>> the  use case of the BGP with SDN.  Can some one point that reference links
>> / use case details for BGP in SDN Controllers.
>>
>>
>> Thanks
>> Suresh
>> --
>>
>> *Regards, *
>> *Knet solutions.*
>>
>> https://github.com/knetsolutions/KNet
>> http://knet-topology-builder.readthedocs.io/
>> http://knetsolutions.in/
>>
>>
>> 
>> --
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> ___
>> Ryu-devel mailing list
>> Ryu-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>>
>>
>
>
> --
> Fragen sind nicht da um beantwortet zu werden,
> Fragen sind da um gestellet zu werden
> Georg Kreisler
>



-- 

*Regards, *
*Knet solutions.*

https://github.com/knetsolutions/KNet
http://knet-topology-builder.readthedocs.io/
http://knetsolutions.in/
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel


Re: [Ryu-devel] BGP Usecase

2018-03-23 Thread Pedro Andres Aranda Gutierrez
Hi Suresh,

I see two use cases:

1.- Have an SDN domain look like a BGP router, for example, a central
office that grooms end-users and interacts with the ISP's infrastructure
2.- Researchy kind of things like using BGP-4 for a possible East-West
interface between SDN domains,

/PA

On 23 March 2018 at 03:17, knet solutions  wrote:

> Hi,
>
> I see couple of mail threads related to BGP stuff.I couldn't understand
> the  use case of the BGP with SDN.  Can some one point that reference links
> / use case details for BGP in SDN Controllers.
>
>
> Thanks
> Suresh
> --
>
> *Regards, *
> *Knet solutions.*
>
> https://github.com/knetsolutions/KNet
> http://knet-topology-builder.readthedocs.io/
> http://knetsolutions.in/
>
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Ryu-devel mailing list
> Ryu-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>
>


-- 
Fragen sind nicht da um beantwortet zu werden,
Fragen sind da um gestellet zu werden
Georg Kreisler
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel


Re: [Ryu-devel] Simulation for flow-table attack using ryu

2018-03-23 Thread Fujimoto Satoshi

Hi,

Thank you for the information!

In my environment, the simulation completed successfully.
I think your problem is lack of resource, especially CPU performance.
While Monitoring resource, CPU usage eventually reached 100%, but Memory 
usage has hardly changed.


My CPU is : Intel(R) Core(TM) i5-2320 CPU @ 3.00GHz

Thanks,
Fujimoto

On 2018年03月20日 17:21, ‏Eman ‏ Bany salameh via Ryu-devel wrote:

For the topology code just run this command
$sudo python slow-TCAM-topolgy.py
But keep the SYN-ACk.py script in the same directory with the topology 
code.


You can run the controller as any ryu application code, but keep in 
mind to start the controller before you run the topology code

$ ./bin/ryu-manager  app/slow-tcam-attack.py

Thanks,
Eman Bany Salameh


On Mar 20, 2018, at 7:41 AM, Fujimoto Satoshi 
> wrote:



Hi,

I'd like to run your application in my environment.
Could you tell me how to use these three scripts?

Thanks,
Fujimoto

On 2018年03月20日 02:05, ‫Eman Bany salameh‬ ‫ via Ryu-devel wrote:

Hello All,

I need to simulate slow SYN attack in mininet with Ryu. I need to 
fill the switch flow table with 1500 flow entries. However, when I 
run the code the maximum number of flows I saw was 67, and after  a 
while of running the code, my laptop holds.
My Laptop has Intel Core i5 cpu with 8GB RAM. I need to know if the 
problem from limited resources or from bug in the code.
The attached is my topology code with the controller code and the 
shell the host needs to run to generate SYN packets.


Any help will be appreciated.

Regards,


--
Check out the vibrant tech community on one of the world's most
engaging tech sites,Slashdot.org !http://sdm.link/slashdot


___
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel





--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot


___
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel


Re: [Ryu-devel] All the links of the topology not getting discovered.

2018-03-23 Thread Iwase Yusuke

Hi Taha,

IIRC, the similar problems had reported before on this mailing list.
I think you hit the performance limit of "single" controller in order to use
topology discovery feature against such many switches.

For handling such large topology, how about splitting your topology into some
sub-topology and having multiple controllers?

Thanks,
Iwase


On 2018年03月23日 16:07, Taha Khan wrote:

Hi

I am using RYU-4.23 and Mininet OVS.
I have a 62 Node topology. When I run my RYU application I noticed that RYU is 
not able to discover all the datapaths and links everytime I run my code. And 
also when I run (link down command ) in mininet CLI, EventLinkDelete is not 
getting triggered everytime I did it. Few times I was actually able to discover 
the full topology and EventLinkDelete was also getting triggered.

Can you please suggest why is this so. I have attached codes below.


Thanks!
Taha


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot



___
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel


Re: [Ryu-devel] Informing the controller about the first switch Datapath and port number which connected to the host.

2018-03-23 Thread Iwase Yusuke

Hi Soliman,

"ryu.topology" provides such feature, I guess.
How about the following APIs and events?
https://github.com/osrg/ryu/blob/master/ryu/topology/api.py#L38-L44
https://github.com/osrg/ryu/blob/e6773539b546576c13f7397769d2001c46bbfdaa/ryu/topology/event.py#L169-L186

If you want to implement your own host detection logic, the following app might
be helpful for you.
https://github.com/osrg/ryu/blob/master/ryu/topology/switches.py

Thanks,
Iwase


On 2018年03月22日 03:45, Soliman Awad Alshra´a Abdullah TU Ilmenau wrote:

Hello Dears,

In my topology, I should send packets from the host to a Ryu controller through 
many switches. I need to inform the controller about the first switch Datapath 
and port number which connected to the host.




Any idea or advice ?

Thanks in advance



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot



___
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel


[Ryu-devel] All the links of the topology not getting discovered.

2018-03-23 Thread Taha Khan
Hi

I am using RYU-4.23 and Mininet OVS.
I have a 62 Node topology. When I run my RYU application I noticed that RYU
is not able to discover all the datapaths and links everytime I run my
code. And also when I run (link down command ) in mininet CLI,
EventLinkDelete is not getting triggered everytime I did it. Few times I
was actually able to discover the full topology and EventLinkDelete was
also getting triggered.
Can you please suggest why is this so. I have attached codes below.


Thanks!
Taha
from mininet.net import Mininet
from mininet.node import Controller, RemoteController
from mininet.cli import CLI
from mininet.log import setLogLevel, info
from time import sleep

Nodes=[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16,
   17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29,
   30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44,
   45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62]

Links=[[1, 2], [1, 3], [3, 4], [3, 5], [6, 7], [6, 8], [4, 9], [10, 9], [10, 11],
   [5, 12], [5, 7], [5, 11], [5, 9], [5, 13], [9, 14], [9, 15],
   [9, 16], [9, 17], [15, 18], [19, 20], [19, 21], [19, 22],
   [23, 24], [23, 25], [25, 26], [25, 20], [25, 27], [28, 29],
   [28, 30], [29, 31], [29, 32], [29, 33], [29, 30], [29, 34],
   [35, 36], [35, 37], [37, 38], [37, 30], [38, 39], [39, 25],
   [25, 30], [30, 40], [30, 26], [30, 33], [30, 41], [30, 42],
   [30, 43], [30, 44], [45, 46], [45, 47], [45, 41], [45, 44],
   [27, 40], [27, 20], [27, 48], [27, 21], [48, 49], [48, 50],
   [32, 26], [41, 47], [16, 33], [16, 51], [16, 52], [16, 21],
   [49, 40], [22, 20], [53, 24], [53, 54], [24, 26], [43, 40],
   [31, 54], [42, 40], [40, 46], [40, 33], [40, 50], [55, 56],
   [55, 21], [34, 33], [51, 57], [51, 21], [56, 33], [21, 57],
   [21, 26], [21, 33], [21, 20], [54, 26], [36, 46], [7, 33],
   [7, 58], [12, 52], [12, 8], [13, 17], [46, 33], [46, 59],
   [46, 58], [59, 58], [58, 33], [33, 60], [33, 8], [8, 61],
   [8, 2], [52, 14], [52, 18], [52, 62], [62, 14], [14, 18], [60, 61]]



def emptyNet():
"Create an empty network and add nodes to it."

net = Mininet(controller=RemoteController)

info('*** Adding controller\n')
net.addController('c0', controller=RemoteController, ip='127.0.0.1', port=6633)


info('*** Adding hosts\n')
h = []
for i in Nodes:
host = 'h' + str(i)
h.append(net.addHost(host))

info('*** Adding switch\n')
s = []
for j in Nodes:
switch = 's' + str(j)
s.append(net.addSwitch(switch))
"""print(s)"""

info('*** Creating links\n')
## One host at each switch
for index in range(0,len(Nodes)):
net.addLink(s[index], h[index])

i=0;

for link_pair in Links:
i=i+1;
net.addLink('s'+str(link_pair[0]), 's'+str(link_pair[1]))
print('s'+str(link_pair[0]), 's'+str(link_pair[1]), i)


info('*** Starting network\n')
net.start()

for i in s:
	i.cmd('ovs-vsctl set bridge', i ,'protocols=OpenFlow13')

info('*** Running CLI\n')
CLI(net)
#sleep(2)
#net.pingAll()

info('*** Stopping network')
net.stop()


if __name__ == '__main__':
setLogLevel('info')
emptyNet()



# Copyright (C) 2011 Nippon Telegraph and Telephone Corporation.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# implied.
# See the License for the specific language governing permissions and
# limitations under the License.

from ryu.base import app_manager
from ryu.controller import ofp_event
from ryu.controller.handler import set_ev_cls
from ryu.ofproto import ofproto_v1_3
from ryu.lib.packet import packet
from ryu.lib.packet import ethernet
from ryu.lib.packet import ether_types
import logging
import struct
from ryu.controller.handler import MAIN_DISPATCHER, DEAD_DISPATCHER, CONFIG_DISPATCHER
from ryu.lib.packet import ipv4
from ryu.lib import mac
from ryu.lib.packet import arp
from ryu.topology import event, switches
from ryu.topology.api import get_switch, get_link
from ryu.controller import dpset
from ryu.lib import dpid
from ryu.controller import handler
from threading import Timer


class SimpleSwitch14(app_manager.RyuApp):
OFP_VERSIONS = [ofproto_v1_3.OFP_VERSION]
_CONTEXTS = {'dpset': dpset.DPSet}

def __init__(self, *args, **kwargs):
super(SimpleSwitch14, self).__init__(*args, **kwargs)
self.topology_api_app = self
self.mac_to_port = {}
self.switch_port_table = {}
self.link_to_port = {}
self.interior_ports = {}

Re: [Ryu-devel] Spliting flows through two ports

2018-03-23 Thread Iwase Yusuke

Hi Carlos,

What does "split flows" exactly mean?

> req = parser.OFPGroupMod(datapath, ofp.OFPFC_ADD, ofp.OFPGT_SELECT,
>  group_id, buckets)

If you specify OFPGT_SELECT, switch will execute "one" bucket in the group and
not copied like the port mirroring. If you intend to do port mirroring, you need
to specify OFPGT_ALL. For other available group types, please refer to the
OpenFlow spec and your switch's specification.

Thanks,
Iwase


On 2018年03月21日 04:02, Jose Carlos Ferreira de Melo Junior wrote:

Hi there,

I know this topic was discussed before but I would like just a simple 
explanation about it.


Because I am using the group table with openflow 1.3 with no sucess.


My purpose is to split one flow in two flows and forward on port 3 and 4 using 
the group table.


My code is as follows:


*def group_mod(self, datapath):*
*        global ofp, _parser_, dp*
*        port_1 = 4*
*        queue_1 = _parser_.OFPActionSetQueue(0)*
*        actions_1 = [queue_1, _parser_.OFPActionOutput(port_1)]*
*
*
*
*
*        port_2 = 3*
*        queue_2 = _parser_.OFPActionSetQueue(0)*
*        actions_2 = [queue_2, _parser_.OFPActionOutput(port_2)]*
*
*
*        weight_1 = 50*
*        weight_2 = 50*
*
*
*        watch_port = ofproto_v1_3.OFPP_ANY*
*        watch_group = ofproto_v1_3.OFPQ_ALL*
*
*
*        buckets = [*
*                _parser_.OFPBucket(weight_1, watch_port, watch_group, 
actions_1),*
*                _parser_.OFPBucket(weight_2, watch_port, watch_group, 
actions_2)]*
*
*
*        group_id = 50*
*
*
*        req = _parser_.OFPGroupMod(datapath, ofp.OFPFC_ADD, ofp.OFPGT_SELECT,*
*                group_id, buckets)*
*
*
*        datapath.send_msg(req)*
*
*
*
*
*
*
Hope this is right.

Could anyone help me with this issue?




--
Best regards,
José Carlos Ferreira
Msc student in Computer Science
System and Network Analyst at PoP-PE/RNP


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot



___
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel


Re: [Ryu-devel] Running multiple controllers

2018-03-23 Thread Iwase Yusuke

Hi,

I think this issue is a problem of Mininet not Ryu. I found the similar script
on Mininet's GitHub, but I don't know further.
https://github.com/mininet/mininet/blob/master/examples/controllers2.py

Thanks,
Iwase


On 2018年03月21日 00:05, Soliman Awad Alshra´a Abdullah TU Ilmenau wrote:

Hello all,

I am setting up a topology consists of 5 switches and 2 controllers, three 
switches connect to the first controller and the other connect to the second one.


    C1    C2

   /    |    \     / \

s1-- s2 - s3--s4--s5

c1 = net.addController('c1', controller=RemoteController, ip="127.0.0.1", 
port=6634)

c2 = net.addController('c2', controller=RemoteController, ip="127.0.0.2", 
port=6633)

and I use :

c1.start()

c2.start()

s1.start([c1])

s2.start([c1])

s3.start([c1])

s4.start([c2])

s5.start([c2])

unfortunately, All switches connect to both of controllers.

1 - how to force s1, s2 and s3 to  get instructions from C1 only ?

2 - how to install some entry to a certain switch ?



I look forward to hearing you

Thanks in advance
A.Soliman

*


*



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot



___
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel