summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2016-05-18doc: Add description for EventOFPPortStateChangeIWASE Yusuke
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-05-18controller: Implement EventOFPPortStateChangeIWASE Yusuke
To notify ofp_port state change, this patch implements ofp_event.EventOFPPortStateChange. This event performs like EventOFPPortStatus, but ofp_handler will send this event after updating "ports" dict of datapath instances. And, this patch suppresses the warning when user app accessing to datapath.ports for backward compatibility. Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-05-16doc/app/ofctl_rest: Remove unused match fieldShinpei Muraoka
This patch removed unused match field in Openflow1.2 or later. The following is removed match filed. - dl_dst - dl_src - dl_type - dl_vlan - nw_src - nw_dst - nw_proto - tp_src - tp_dst Signed-off-by: Shinpei Muraoka <shinpei.muraoka@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-05-16doc/source/conf: Set the False to SmartyPantsShinpei Muraoka
This patch will not be converted to quotes and dashes to typographically correct entities. Signed-off-by: Shinpei Muraoka <shinpei.muraoka@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-05-16doc/app/ofctl_rest: Add a description for openflow1.5Shinpei Muraoka
Signed-off-by: Shinpei Muraoka <shinpei.muraoka@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-05-16doc/app/ofctl_rest: Update the optional parameter of the messageShinpei Muraoka
Signed-off-by: Shinpei Muraoka <shinpei.muraoka@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-05-16doc/app/ofctl_rest: Add pbb_uca to match fieldShinpei Muraoka
Signed-off-by: Shinpei Muraoka <shinpei.muraoka@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-05-16doc/app/ofctl_rest: Update the description method of ExampleShinpei Muraoka
Signed-off-by: Shinpei Muraoka <shinpei.muraoka@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-05-16doc/app/ofctl_rest: Add Openflow versionShinpei Muraoka
This patch adds Openflow version to the Match message and Actions message. Signed-off-by: Shinpei Muraoka <shinpei.muraoka@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-05-13Bump version requirement for oslo.config, given usage of min parameter to IntOptVictor J. Orlikowski
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-05-13tox: Integrate Coveralls.ioIWASE Yusuke
To check the code coverage of the unit tests on web, this patch add integration of Coveralls.io (https://coveralls.io/). Usage: 1. Sign in to Coveralls.io with your GitHub account. 2. Add repos at your account page. 3. Execute tests on Travis-CI. Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-05-13tox: Add Python 3.5IWASE Yusuke
>From Ubuntu 16.04 LTS, the default version of Python 3 has been upgraded to 3.5.1. e.g.) $ python3 --version Python 3.5.1+ This patch enables to run unit tests on Python 3.5 environment. Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-05-13test_ofctl: Add test cases for new Actions of of15Shinpei Muraoka
This patch adds the test cases for the following actions. - Copy Field Action - Meter Action Signed-off-by: Shinpei Muraoka <shinpei.muraoka@gmail.com> Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-05-13test_ofctl_rest: Add unit tests for ofctl_restMinoru TAKAHASHI
Signed-off-by: Minoru TAKAHASHI <takahashi.minoru7@gmail.com> Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-05-13test_ofctl: Add test cases for OpenFlow 1.5Minoru TAKAHASHI
Signed-off-by: Minoru TAKAHASHI <takahashi.minoru7@gmail.com> Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-05-13ofctl_rest: Support OpenFlow 1.5Minoru TAKAHASHI
Signed-off-by: Minoru TAKAHASHI <takahashi.minoru7@gmail.com> Signed-off-by: Shinpei Muraoka <shinpei.muraoka@gmail.com> Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-05-13lib/ofctl: Support OpenFlow 1.5Minoru TAKAHASHI
Signed-off-by: Minoru TAKAHASHI <takahashi.minoru7@gmail.com> Signed-off-by: Shinpei Muraoka <shinpei.muraoka@gmail.com> Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-05-13ofproto_v1_5_parser: Fix serialized length of OFPActionCopyFieldShinpei Muraoka
Signed-off-by: Shinpei Muraoka <shinpei.muraoka@gmail.com> Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-05-13ofctl_v1_4: Port some improvements from ofctl_v1_3IWASE Yusuke
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-05-13ofctl_v1_4: Rename to get_queue_desc for uniformityIWASE Yusuke
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-05-13ofctl_v1_4: Support request parametersMinoru TAKAHASHI
Signed-off-by: Minoru TAKAHASHI <takahashi.minoru7@gmail.com> Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-05-13ofctl_utils: Enhance user value conversionIWASE Yusuke
Currently, OFCtlUtil._reserved_num_from_user() fails to convert an user specified value when it is a numeric string. This patch enhances this conversion to enable to convert an user value as follows. e.g.) - Integer: 1 -> 1 - Numeric string: "1" -> 1 - Reserved number: "OFPP_ANY" -> 0xffffffff - Invalid value: "foobar" -> "foobar" (do not conversion) Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-05-13REST Apps: Adopt to Python 3IWASE Yusuke
In Python 3, webob.Request.body is a byte type value and json.loads() cannot parse it, because json.loads() suppose a str type value. This patch fixes to use webob.Request.json to parse request body and avoids this problem. Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-05-13topology: Adopt to Python 3IWASE Yusuke
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-05-13ofctl_rest: Enable to omit port_no and queue_idShinpei Muraoka
Signed-off-by: Shinpei Muraoka <shinpei.muraoka@gmail.com> Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-05-13ofctl_rest: Adopt decorator to simplifyIWASE Yusuke
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-05-13test_ofctl: Test cases for omitting port_no in get_queue_configShinpei Muraoka
Add test cases of specify the port number for get queues config. Signed-off-by: Shinpei Muraoka <shinpei.muraoka@gmail.com> Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-05-13lib/ofctl_v1_[23]: Unify the arguments orderIWASE Yusuke
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-05-13ofctl_utils: Confirm binary type data in send_experimenterIWASE Yusuke
In Python 3, the data field in OFPExperimenter must be a binary type value, but when data_type='ascii', ofctl_utils may get it as a str type value. This patch confirms the data field is a binary type value. Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-05-13test_import_module: Update test casesMinoru TAKAHASHI
Because Python does not provides features to unimport modules which ware imported before, this patch separates dummy modules to test import features of Ryu. e.g.) If 'aaa' was imported in the previous test case, 'aaa' affects the subsequent test cases. Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-05-13utils: fix for temporarily storing the value of sys.pathMinoru TAKAHASHI
Currentry, the *reference* of sys.path is temporarily stored before appending a path to the user modules. However, the *value* of sys.path should be stored because the type of sys.path is list (mutable object) type. Reported-by: Xandaros <mz.bremerhaven@gmail.com> Signed-off-by: Minoru TAKAHASHI <takahashi.minoru7@gmail.com> Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-05-10Ryu 4.2FUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-05-10Enable filtering the OVSDB schema tables/columnsAlan Quillin
Adds the ability to filter the OVSDB scheme to only include specified tables from the config as well as filter out (exclude) specific table columns. If neither of the values are defined in the config, then the discovered schema is used unchanged. The is needed to calm down noise with unused tables/columns to help with scale problems on hosts with a large number of bridges and interfaces. Signed-off-by: Alan Quillin <alanquillin@gmail.com> Acked-By: Jason Kölker <jason@koelker.net> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-05-09tox: Upgrade PyPy version to 2.6IWASE Yusuke
Recently, Paramiko updates the requirements to 'cryptography>=1.1', cryptography 1.0 is not compatible with PyPy < 2.6, but PyPy version of Travis-CI is older than 2.6. So this causes CI test error. This patch upgrades PyPy interpreter version to 2.6 in tox environment. Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-04-20Eventlet throws a subclass of IOError when an SSL read timeout occurs. ↵Victor J. Orlikowski
Ensure that the read loop continues in this case. Signed-off-by: Victor J. Orlikowski <vjo@duke.edu> Tested-by: Andy Hill <hillad@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-04-18Added support for the tcp flags nicira extensionAlan Quillin
Adds support for setting TCP flags using the nicira extensions for OF1.0 and OF1.2+ Allows using the extensions with OF1.2+ for OVS versions < 2.4 where the TCP flags OF extension is not yet supported. Signed-off-by: Alan Quillin <alanquillin@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-04-06Removes unnecessary Windows requirementsClaudiu Belu
The wmi and pywin32 modules are not used anywhere in this project. There is no reason to have them.
2016-04-02Ryu 4.1FUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-04-02doc/app/ofctl_rest: Update example of set-field actionShinpei Muraoka
Signed-off-by: Shinpei Muraoka <shinpei.muraoka@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-04-02doc/app/ofctl_rest: Update the code-block language of response dataShinpei Muraoka
Signed-off-by: Shinpei Muraoka <shinpei.muraoka@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-04-02doc/app/ofctl_rest: Update the ryu.app.ofctl_rest version from openflow1.3 ↵Shinpei Muraoka
to openflow1.4 Signed-off-by: Shinpei Muraoka <shinpei.muraoka@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-03-30lib/ofctl_v1_[234]: Consolidate send_experimenterJason Kölker
Signed-off-by: Jason Kölker <jason@koelker.net> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-03-30lib/ofctl_v1_[34]: Consolidate common functionsJason Kölker
Signed-off-by: Jason Kölker <jason@koelker.net> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-03-30lib/ofctl_v1_3: Support nicira extensionsJason Kölker
Signed-off-by: Jason Kölker <jason@koelker.net> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-03-30lib/ofctl_v1_3: Allow caller to disable conversionJason Kölker
Paramaterizes type converions in function to allow calling code to specify if responses should be converted to user friendly display (strings) or type perserved. Signed-off-by: Jason Kölker <jason@koelker.net> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-03-30lib/ofctl_*: Consolidate `send_stats_requst`Jason Kölker
Signed-off-by: Jason Kölker <jason@koelker.net> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-03-30lib/ofctl_*: Log the xid of messages being sentJason Kölker
Useful for debugging calling code that waits for or uses reponses. Signed-off-by: Jason Kölker <jason@koelker.net> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-03-30unit/lib/test_ofctl: Fix Flake8 [e731]Jason Kölker
Signed-off-by: Jason Kölker <jason@koelker.net> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-03-30ofproto/ofproto_v1_4_parser: Flake8 FixesJason Kölker
Signed-off-by: Jason Kölker <jason@koelker.net> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-03-30ofproto/ofproto_v1_3_parser: Flake8 FixesJason Kölker
Signed-off-by: Jason Kölker <jason@koelker.net> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>