This patch series adds VRRP service. The patch series is organized as follows
- 1-5: general clean up and improvement
- 6-10: VRRP packet parser/serializer
- 11-21: VRRP implemetation
Sample code is also included to show how to user VRRP service.
thanks,
Isaku Yamahata (21):
base/app_manager: RyuApp initialization race
ryu/base/app_manager: apply singleton pattern to AppManager
base/app_manager.py: record argument
base/app_manager: create/destroy RyuApp instances dynamically
lib/packet/arp.py: add convenience function to create arp for
ether+ip
ofproto/inet: add VRRP protocol number
lib/packet/ipv4: add constants for parse/serialize
lib/packet/ipv6: add constants for parse/serialize
lib/packet: VRRP packet parser/serializer
tests/unit, lib/packet/vrrp: unit test for vrrp packet
parser/serializer
services/vrrp: introduce vrrp module
services/vrrp/utils: util functions for vrrp service
services/vrrp/event: introduce VRRP related events and classes
services/vrrp/monitor: introduce interface monitor
services/vrrp/router: VRRP router
services/vrrp/manager: introduce a class that manages VRRP routers
services/vrrp/api: API for VRRP service
services/vrrp/sample_router: sample router code
services/vrrp/dumper: vrrp event dumper
tests/integrated, services/vrrp: a simple test app for VRRP service
tests/integrated, services/vrrp: a test for multiple VRRP routers
bin/ryu-manager | 2 +-
ryu/base/app_manager.py | 144 ++++++--
ryu/lib/packet/arp.py | 9 +
ryu/lib/packet/ipv4.py | 5 +
ryu/lib/packet/ipv6.py | 5 +
ryu/lib/packet/vrrp.py | 543 ++++++++++++++++++++++++++++++
ryu/ofproto/inet.py | 1 +
ryu/services/__init__.py | 15 +
ryu/services/vrrp/__init__.py | 15 +
ryu/services/vrrp/api.py | 45 +++
ryu/services/vrrp/dumper.py | 154 +++++++++
ryu/services/vrrp/event.py | 227 +++++++++++++
ryu/services/vrrp/manager.py | 154 +++++++++
ryu/services/vrrp/monitor.py | 261 +++++++++++++++
ryu/services/vrrp/router.py | 545 +++++++++++++++++++++++++++++++
ryu/services/vrrp/sample_router.py | 423 ++++++++++++++++++++++++
ryu/services/vrrp/utils.py | 76 +++++
ryu/tests/integrated/test_vrrp.py | 134 ++++++++
ryu/tests/integrated/test_vrrp_multi.py | 188 +++++++++++
ryu/tests/unit/packet/test_vrrp.py | 335 +++++++++++++++++++
20 files changed, 3250 insertions(+), 31 deletions(-)
create mode 100644 ryu/lib/packet/vrrp.py
create mode 100644 ryu/services/__init__.py
create mode 100644 ryu/services/vrrp/__init__.py
create mode 100644 ryu/services/vrrp/api.py
create mode 100644 ryu/services/vrrp/dumper.py
create mode 100644 ryu/services/vrrp/event.py
create mode 100644 ryu/services/vrrp/manager.py
create mode 100644 ryu/services/vrrp/monitor.py
create mode 100644 ryu/services/vrrp/router.py
create mode 100644 ryu/services/vrrp/sample_router.py
create mode 100644 ryu/services/vrrp/utils.py
create mode 100644 ryu/tests/integrated/test_vrrp.py
create mode 100644 ryu/tests/integrated/test_vrrp_multi.py
create mode 100644 ryu/tests/unit/packet/test_vrrp.py
--
1.7.10.4
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire
the most talented Cisco Certified professionals. Visit the
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel