This patch series implements topology discovery. v3.
1 - 2: minor improvement
This is not directly related to discovery
3 - 4: introduces application context
This is not directly related to discovery
5 - 8: implements discovery application
9 - 13: implements discovery REST API
Change v2 -> v1:
- quieten discovery when non-lldp packet is recieved
- generate EventPortAdd/Del when dp enter/leave
Then, simplified code of the user
- copyright
Changes v1 -> v2:
- various bug fixes and implemented missing features for merge
- implemented discovery REST API which is nox-like
Isaku Yamahata (13):
lib/dpid: dpid formatter/parser
ryu/controller/dpset.py: code simplification
base/app_manager: introduce application context
ryu/app: convert existing application to new style ryu application
dpset: add port{add, delete, modify} event for convenience and helper
functions
lib/lldp: lldp parser/serializer
controller/link_set: introduce a class to track link topology
app/discovery: link discovery application
app/wspath: URI parsers and related constants
ryu/app/rest_discovery.py: rest API to get topology
ryu/app/client: factor out rest client code
ryu/app/client.py: client library for discovery REST API
bin/ryu-client: support discovery rest api
bin/ryu-client | 27 +-
bin/ryu-manager | 14 +-
ryu/app/cbench.py | 7 +-
ryu/app/client.py | 74 +++--
ryu/app/discovery.py | 493 ++++++++++++++++++++++++++++
ryu/app/event_dumper.py | 7 +-
ryu/app/rest.py | 10 +-
ryu/app/rest_discovery.py | 105 ++++++
ryu/app/simple_isolation.py | 14 +-
ryu/app/simple_switch.py | 13 +-
ryu/app/wspath.py | 96 ++++++
ryu/base/app_manager.py | 120 ++++++-
ryu/controller/dpset.py | 115 ++++++-
ryu/controller/link_set.py | 142 ++++++++
ryu/{controller/dp_type.py => lib/dpid.py} | 25 +-
ryu/lib/lldp.py | 472 ++++++++++++++++++++++++++
16 files changed, 1643 insertions(+), 91 deletions(-)
create mode 100644 ryu/app/discovery.py
create mode 100644 ryu/app/rest_discovery.py
create mode 100644 ryu/app/wspath.py
create mode 100644 ryu/controller/link_set.py
copy ryu/{controller/dp_type.py => lib/dpid.py} (62%)
create mode 100644 ryu/lib/lldp.py
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel