1 **************************************************
2 OpenFlow version independent classes and functions
3 **************************************************
5 .. py:currentmodule:: ryu.ofproto.ofproto_parser
7 Base class for OpenFlow messages
8 --------------------------------
11 .. the descrption of _TYPE is inlined from ryu/lib/stringify.py.
12 .. this is a work around for a sphinx bug.
13 .. https://bitbucket.org/birkenfeld/sphinx/issue/741/autodoc-inherited-members-wont-work-for
15 .. autoclass:: MsgBase
16 :members: to_jsondict, from_jsondict
21 _TYPE class attribute is used to annotate types of attributes.
23 This type information is used to find an appropriate conversion for
24 a JSON style dictionary.
26 Currently the following types are implemented.
49 .. autofunction:: ofp_msg_from_jsondict