- 1、本文档共10页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
ProgrammingSDN1.docx
Programming SDN 1
Problems with programming with POX
Programming SDN
How to specify the functionality in network applications
Net apps: routing, access control, monitoring NAT, TE, etc
History solution: ad hoc, by configuring individual routers to achieve the objective
SDN promises: new solution based on the global network view provided by the SDN controller.
How?? This is a brand new domain!!!
It does not help that northbound API is not fixed.
Openflow
Programming SDN with NOX/POX
Event driven programming paradigm
Application writer register the events and write the event handlers.
API
Events:
packet_in(switch, port, packet)
stats_in (switch, xid, pattern, packets, bytes)
flow_removed (switch, pattern, packets, bytes)
switch_join(switch)
Port_change(switch, port, up)
Control and query openflow switches
Install(switch, pattern, priority, timeout, actions)
uninstall(switch, pattern)
Query_stats(switch, pattern)
Programming SDN with POX: a repeater application
Network app: when the switch is up, install rules for repeater (port 1 to port 2, port 2 to port1)
Programming SDN with NOX/POX
NOX/POX API is very low level, exposing detailed OpenFlow interface with the forwarding elements
install and remove OpenFlow rules on a switch
Programming with other controllers is similar, although with different features.
SDN controllers expose the switch capability, but do not make programming SDN easier.
What is your perfect programming paradigm for SDN?
Properties?
Issue with NOX programming: components not composable
Monitoring capability
Ideal solution: if the program is composable
Issue with NOX programming: components not composable
Pattern priority timeout action count
p1 output(p2)
p2 output(p1)
p2,tp_src(80)
Rules can interact: p2,tp_src(80) also matches the
rule for p2. The counter will be wrong in this case.
Issue with NOX programming
Issues with NOX
您可能关注的文档
最近下载
- 专升本语文资料.docx VIP
- 西南15G701-2-混凝土结构轻质填充墙构造图集.pdf
- 《在祖国怀抱里课件》小学音乐冀少2011课标版三年级上课件.ppt
- 烹饪专业调研报告.pdf
- 城市轨道交通安全管理项目2城市轨道交通危险源辨识与安全标志.pptx VIP
- 铁工电〔2023〕54号 国铁集团关于印发《普速铁路工务安全规则》的通知.docx VIP
- 新人教版(部编)一年级语文上册《文语文园地六和大人一起读》优质课教案_20.pdf
- 燃气管道第三方施工管理安全技术规范.pdf
- 生活中的位置(课件)2024-2025-学年度苏教版(2024)数学一年级上册.pptx VIP
- 说课评价量表.doc VIP
文档评论(0)