This patch series implements OFConfig support. Althogh I focused on OFConfig, I think similar abstraction can be done for NETCONF.
I tested this patch series with LINC. Some validation of sample tests code fails, but it's for the XML sent by the peer which is out of control of Ryu. Test with other switches is very welcome. thanks, Isaku Yamahata (14): MANIFEST.in: include XML schema files netconf: import xml schema netconf: import XML schema for netconf netconf: improve schema for netconf netconf: add constants for netconf of_config: import XML schema files for OF config. of_config/schema: add missing import of_config: constants for of-config of_config: capable switch to issue OFConfig request of_config: events for other ryu app to use OFConfig of_config: manager to handle OFConfig reuqest of_config: internal api to request OFConfig operation test_of_config: sample test code to use ofconfig capable_switch of_config: sample test code to use ofconfig internal api MANIFEST.in | 1 + ryu/lib/netconf/__init__.py | 20 + ryu/lib/netconf/constants.py | 184 +++ ryu/lib/netconf/netconf.xsd | 562 ++++++++ ryu/lib/netconf/xml.xsd | 29 + ryu/lib/of_config/README.rst | 7 + ryu/lib/of_config/__init__.py | 47 + ryu/lib/of_config/api.py | 85 ++ ryu/lib/of_config/capable_switch.py | 106 ++ ryu/lib/of_config/constants.py | 349 +++++ ryu/lib/of_config/events.py | 70 + ryu/lib/of_config/ietf-inet-types.xsd | 389 ++++++ ryu/lib/of_config/ietf-yang-types.xsd | 408 ++++++ ryu/lib/of_config/manager.py | 80 ++ ryu/lib/of_config/of-config-1.0.xsd | 434 ++++++ ryu/lib/of_config/of-config-1.1.1.xsd | 2015 ++++++++++++++++++++++++++++ ryu/lib/of_config/of-config-1.1.xsd | 744 ++++++++++ ryu/lib/of_config/xmldsig-core-schema.xsd | 318 +++++ ryu/tests/integrated/test_of_config.py | 170 +++ ryu/tests/integrated/test_of_config_api.py | 151 +++ 20 files changed, 6169 insertions(+) create mode 100644 ryu/lib/netconf/__init__.py create mode 100644 ryu/lib/netconf/constants.py create mode 100644 ryu/lib/netconf/netconf.xsd create mode 100644 ryu/lib/netconf/xml.xsd create mode 100644 ryu/lib/of_config/README.rst create mode 100644 ryu/lib/of_config/__init__.py create mode 100644 ryu/lib/of_config/api.py create mode 100644 ryu/lib/of_config/capable_switch.py create mode 100644 ryu/lib/of_config/constants.py create mode 100644 ryu/lib/of_config/events.py create mode 100644 ryu/lib/of_config/ietf-inet-types.xsd create mode 100644 ryu/lib/of_config/ietf-yang-types.xsd create mode 100644 ryu/lib/of_config/manager.py create mode 100644 ryu/lib/of_config/of-config-1.0.xsd create mode 100644 ryu/lib/of_config/of-config-1.1.1.xsd create mode 100644 ryu/lib/of_config/of-config-1.1.xsd create mode 100644 ryu/lib/of_config/xmldsig-core-schema.xsd create mode 100644 ryu/tests/integrated/test_of_config.py create mode 100644 ryu/tests/integrated/test_of_config_api.py -- 1.7.10.4 ------------------------------------------------------------------------------ Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
