On Tue, 31 Oct 2017 14:28:37 +0900 IWASE Yusuke <iwase.yusu...@gmail.com> wrote:
> Currently, rest_qos.py will raise AttributeError when deleting OVSDB > server address because rest_qos.py will try to split the given address > string but the address is None when deleting. > > The following patches fix this problem and include some improvements > for validating OVSDB address. > > This problem is reported by Bryon Gloden on the following post; > [Ryu-devel] Issue in ryu.app.rest_qos.py: access before check for None > > IWASE Yusuke (2): > lib/ovs/vsctl: Function for validate OVSDB address > rest_qos: Avoid None when deleting OVSDB addr > > ryu/app/rest_qos.py | 24 +++++++++++------------ > ryu/lib/ovs/bridge.py | 5 +++++ > ryu/lib/ovs/vsctl.py | 37 > ++++++++++++++++++++++++++++++++++++ > ryu/tests/unit/lib/ovs/test_vsctl.py | 24 +++++++++++++++++++++++ > 4 files changed, 77 insertions(+), 13 deletions(-) Applied, thanks. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Ryu-devel mailing list Ryu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ryu-devel