| # Copyright (c) 2008 The Board of Trustees of The Leland Stanford Junior University |
| # Copyright (c) 2011, 2012 Open Networking Foundation |
| # Copyright (c) 2012, 2013 Big Switch Networks, Inc. |
| # See the file LICENSE.pyloxi which should have been included in the source distribution |
| # Automatically generated by LOXI from template toplevel_init.py |
| Import and return the protocol module for the given wire version. |
| class ProtocolError(Exception): |
| Raised when failing to deserialize an invalid OpenFlow message. |
| class Unimplemented(Exception): |
| Raised when an OpenFlow feature is not yet implemented in PyLoxi. |
| Superclass of all OpenFlow classes |
| def __init__(self, *args): |
| raise NotImplementedError("cannot instantiate abstract class") |
| return not self.__eq__(other) |