Because ryu/app/rest_nw_id.py has been deleted, the reference for NW_ID_UNKNOWN can not be resolved now. This patch fixes this problem.
Signed-off-by: IWASE Yusuke <[email protected]> --- ryu/controller/network.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ryu/controller/network.py b/ryu/controller/network.py index ac247ff..9b9baa4 100644 --- a/ryu/controller/network.py +++ b/ryu/controller/network.py @@ -18,12 +18,14 @@ import collections from ryu.base import app_manager import ryu.exception as ryu_exc -from ryu.app.rest_nw_id import NW_ID_UNKNOWN from ryu.controller import event from ryu.exception import NetworkNotFound, NetworkAlreadyExist from ryu.exception import PortAlreadyExist, PortNotFound, PortUnknown +NW_ID_UNKNOWN = '__NW_ID_UNKNOWN__' + + class MacAddressAlreadyExist(ryu_exc.RyuException): message = 'port (%(dpid)s, %(port)s) has already mac %(mac_address)s' -- 2.7.4 ------------------------------------------------------------------------------ Mobile security can be enabling, not merely restricting. Employees who bring their own devices (BYOD) to work are irked by the imposition of MDM restrictions. Mobile Device Manager Plus allows you to control only the apps on BYO-devices by containerizing them, leaving personal data untouched! https://ad.doubleclick.net/ddm/clk/304595813;131938128;j _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
