
This commit enable users to run `tox -e docs` to build docs for os-ken. It fixes several issues to ensure the build will succeed. In addition, the docs from upstream Ryu library is grouped into archived content. The future work is merging those docs into the os-ken contents. Change-Id: I5ee1998e0d2835495650cda530eb0b73c49b091a
1.1 KiB
1.1 KiB
OpenFlow version independent classes and functions
Base class for OpenFlow messages
MsgBase
_TYPE
_TYPE class attribute is used to annotate types of attributes.
This type information is used to find an appropriate conversion for a JSON style dictionary.
Currently the following types are implemented.
Type | Descrption |
---|---|
ascii | US-ASCII |
utf-8 | UTF-8 |
Example:
_TYPE = {
'ascii': [
'hw_addr',
],
'utf-8': [
'name',
]
}
Functions
ofp_msg_from_jsondict