summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2020-05-12Merge pull request #88 from gizmoguy/update-urlsHEADmasterBrad Cowie
Update URLs.
2020-05-12Merge pull request #90 from gizmoguy/contributingBrad Cowie
Update how to contribute to Ryu.
2020-05-12Update how to contribute to Ryu.Brad Cowie
2020-05-12Update URLs.Brad Cowie
2020-04-22updated jsonrpc.Session call to have correct arguments for latest version of ovsScott
Signed-off-by: Scott <sdyear@gmail.com>
2020-04-01Fix two bugs in simple switch 13 examplesGrant Curell
- dpid with leading 0s would be truncated to less than 16 characters - Response object incorrectly used body type when it should use text
2019-11-27Restrict tinyrpc to version 0.9.4 as newer versions break python2 supportAdrian Freund
2019-10-01Ryu 4.34FUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-09-25Add support for revised RFC8227 withdraw labelsBenjamin Villain via Ryu-devel
This commit fixes a parsing error when a BGP update contains a "withdraw label" equal to 0x000000 instead of 0x8000000 as stated in RFC 3107. This commits treats both labels as "withdraw label" Signed-off-by: Benjamin Villain <villainb@amazon.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2019-09-25Add support for Adj-RIB-Out (draft-ietf-grow-bmp-adj-rib-out-03)Benjamin Villain via Ryu-devel
Signed-off-by: Benjamin Villain <villainb@amazon.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2019-08-01drop Python 3.4 CI testFUJITA Tomonori
Python 3.4 is officially dead. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-08-01Ryu 4.33FUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-07-18fix style errorsFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2019-07-18nx_action_encap and nx_action_decap classes are definedOzgur Yurekten
Signed-off-by: Ozgur Yurekten <ozgur.yurekten@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2019-05-02Ryu 4.32FUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-04-09app/ofctl: fix possible deadlockAtzm Watanabe
When datapath reconnects/disconnects, waiting requests on old datapath should be canceled. Otherwise, threads that sent requests may fall into deadlock because replies possibly never come. Signed-off-by: Atzm Watanabe <atzm@iij.ad.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-04-01Ryu 4.31FUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-03-28Choose the highest TLS versionIWAMOTO Toshihiro
Please note that this is a stop-gap measure. Also add a basic SSL server test. Co-authored-by: alex <atoptsoglou@suse.com> Signed-off-by: IWAMOTO Toshihiro <iwamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2018-11-03Ryu 4.30FUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-10-20Grammatical improvements to some of the documentation.Bill Allen
Signed-off-by: Bill Allen <photo.allen@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-10-03Ryu 4.29FUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-09-26app/ofctl: fix possible deadlock when the datapath disconnectsAtzm Watanabe
Signed-off-by: Atzm Watanabe <atzm@iij.ad.jp> Reviewed-by: IWAMOTO Toshihiro <iwamoto@valinux.co.jp>
2018-09-01Ryu 4.28FUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-08-14Fix convertion of ipv4 to string on i386 and archSlawek Kaplonski
On architectures like i386 or arm convertion of IPv4 to string was failing in some cases. It was like that because some integer values were converted to long which is not the case on x86_64. It was like that for example with value "2871386400" which is used in ryu.tests.unit.ofproto.test_parser_v10:TestOFPMatch unit test. Because of that this test was failing when running on architectures where integer range was too small to handle this value. Signed-off-by: Slawek Kaplonski <skaplons@redhat.com> Reviewed-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-08-11mrtlib: Define JSON representation typesIWASE Yusuke
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-08-11test_mrtlib: Test cases for ADD_PATHIWASE Yusuke
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-08-11mrtlib: Support RFC8050IWASE Yusuke
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-08-11mrtlib: Missing subclass for SUBTYPE_RIB_*_MULTICASTIWASE Yusuke
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-08-02Ryu 4.27FUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-08-01Declare support of recent python3 versionsIWAMOTO Toshihiro
Signed-off-by: IWAMOTO Toshihiro <iwamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-08-01Test more python versions on travis CIIWAMOTO Toshihiro
It seems tests weren't correctly run because of interactions between travis CI env and tox venv. Also, run the scenario test on more recent python3, as python3.4 is going away. The test uses a lot of memory and fails with pypy, so it's disabled for now. Signed-off-by: IWAMOTO Toshihiro <iwamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-08-01Bump oslo.config to 2.5.0IWAMOTO Toshihiro
Ryu is using item_type since commit f77529036, so oslo.config minimum version needs to be updated. Signed-off-by: IWAMOTO Toshihiro <iwamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-07-31Fix UT when running in python 3.7 envSlawek Kaplonski
Due to change [1] in python 3.7 one of ryu's unit tests was failing with this version of interpreter. It was like that because of missing __qualname__ attribute in functools.partial object. This patch fixes it by adding such attribute if it's not set already. [1] https://github.com/python/cpython/pull/4496 Signed-off-by: Slawek Kaplonski <skaplons@redhat.com> Acked-By: IWAMOTO Toshihiro <iwamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-07-21lib/ovs/bridge: Return multiple controllersIWAMOTO Toshihiro
OVSBridge may have more than one controller. Let get_controller() return a list of controllers in such cases. NOTE: this introduces incompatibility if multiple controllers are configured for a bridge. Signed-off-by: IWAMOTO Toshihiro <iwamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-07-15BGPSpeaker: Enable to specify remote port for neighborIWASE Yusuke
Currently, the remote port of neighbor is the hard-coded value 179. This patch enables to specify the remote port of neighbor in "BGPSpeaker.neighbor_add()" API. Suggested-by: Suresh Kumar <knetsolutions2@gmail.com> Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
2018-07-15switch.tester: Fix name shadowingIWAMOTO Toshihiro
tester.py imported all the classes from the packet library at the top level namespace. This commit adds CLSNAME_ALIASES dict so that those classes with the same names can be imported as different names. This fixes an issue reported by ted.nozaki in ryu-devel: https://sourceforge.net/p/ryu/mailman/message/36312622/ Signed-off-by: IWAMOTO Toshihiro <iwamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-07-15gui_topology: Avoid wildcard URL matchingIWAMOTO Toshihiro
GUIServerController eats up the entire URL space and sometimes causes problems. See the following thread in ryu-devel for example: https://sourceforge.net/p/ryu/mailman/message/36312411/ Signed-off-by: IWAMOTO Toshihiro <iwamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-07-01Ryu 4.26FUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-06-20nx_actions: Fix NXActionSetTunnel docstringIWAMOTO Toshihiro
set_tunnel and set_field:xxx->tun_id are different actions. Signed-off-by: IWAMOTO Toshihiro <iwamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-06-20Fix pycodestyle W605 warningsIWAMOTO Toshihiro
W605 invalid escape sequence, which was recently added in pycodestyle, would be a syntax error in future python3 versions. Signed-off-by: IWAMOTO Toshihiro <iwamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-06-20BGPSpeaker: Fix BGP state string conversionIWASE Yusuke
The constants BGP_FSM_* are str type values and not callable. Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-06-20pycodestyle: Ignore W504IWASE Yusuke
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-06-20BGPSpeaker: Advertise local routes to RR clientsIWASE Yusuke
The current implementation misses the mandatory attributes when sending locally generated routes to its Route Reflector (RR) clients, then the clients will reject the received routes. This patch fixes to add or update attributes to for sending locally generated routes its RR clients. Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-06-20pip: Blacklist eventlet 0.23.0IWAMOTO Toshihiro
This is to sync with OpenStack requirements. Signed-off-by: IWAMOTO Toshihiro <iwamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-06-20lldp: Remove remaining SystemCapabilities.subtype from testsIWAMOTO Toshihiro
Signed-off-by: IWAMOTO Toshihiro <iwamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-06-20lldp: fixed SystemCapabilities TLVMarcin Chron
This patch removes 'Subtype' byte from SystemCapabilities TLV. There was an inconsistency in offical IEEE document which was corrected in 802.1AB-2009/Cor 1-2013. Signed-off-by: Marcin Chron <marcin_miko1@o2.pl> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-06-01Ryu 4.25FUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-05-13allow versions of eventlet > 0.21.0Joe Mader
2018-04-01Ryu 4.24FUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-03-28ofproto: add Nicira extension ct_clear actionIWAMOTO Toshihiro
Signed-off-by: IWAMOTO Toshihiro <iwamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>