- add explicit classified layout to ofproto_v1_[23]_ref
- put contents of ofproto_ref back to toctree.

Signed-off-by: Yoshihiro Kaneko <[email protected]>
---
 doc/source/conf.py              |    2 +-
 doc/source/ofproto_ref.rst      |  471 +--------------------------------------
 doc/source/ofproto_v1_2_ref.rst |  160 +++++++++++++
 doc/source/ofproto_v1_3_ref.rst |  178 +++++++++++++++
 4 files changed, 343 insertions(+), 468 deletions(-)
 create mode 100644 doc/source/ofproto_v1_2_ref.rst
 create mode 100644 doc/source/ofproto_v1_3_ref.rst

diff --git a/doc/source/conf.py b/doc/source/conf.py
index b953ea8..dcc9594 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -27,7 +27,7 @@ from ryu import version as ryu_version
 
 # Add any Sphinx extension module names here, as strings. They can be 
extensions
 # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
-extensions = [ 'sphinx.ext.autodoc', 'sphinx.ext.autosummary' ]
+extensions = [ 'sphinx.ext.autodoc' ]
 
 # Add any paths that contain templates here, relative to this directory.
 templates_path = ['_templates']
diff --git a/doc/source/ofproto_ref.rst b/doc/source/ofproto_ref.rst
index 7740749..216db35 100644
--- a/doc/source/ofproto_ref.rst
+++ b/doc/source/ofproto_ref.rst
@@ -2,471 +2,8 @@
 OpenFlow protocol API Reference
 *******************************
 
-| :ref:`OpenFlow v1.2 Messages and Structures <OpenFlow-v1.2>`
-| :ref:`OpenFlow v1.3 Messages and Structures <OpenFlow-v1.3>`
-
-.. _OpenFlow-v1.2:
-
-OpenFlow v1.2 Messages and Structures
-=====================================
-.. py:currentmodule:: ryu.ofproto.ofproto_v1_2_parser
-
-Controller-to-Switch Messages
------------------------------
-
-Handshake
-^^^^^^^^^
-
-.. autosummary::
-   :nosignatures:
-
-   OFPFeaturesRequest
-   OFPSwitchFeatures
-
-Switch Configuration
-^^^^^^^^^^^^^^^^^^^^
-
-.. autosummary::
-   :nosignatures:
-
-   OFPSetConfig
-   OFPGetConfigRequest
-   OFPGetConfigReply
-
-Flow Table Configuration
-^^^^^^^^^^^^^^^^^^^^^^^^
-
-.. autosummary::
-   :nosignatures:
-
-   OFPTableMod
-
-Modify State Messages
-^^^^^^^^^^^^^^^^^^^^^
-
-.. autosummary::
-   :nosignatures:
-
-   OFPFlowMod
-   OFPGroupMod
-   OFPPortMod
-
-Read State Messages
-^^^^^^^^^^^^^^^^^^^
-
-.. autosummary::
-   :nosignatures:
-
-   OFPDescStatsRequest
-   OFPDescStats
-   OFPFlowStatsRequest
-   OFPFlowStats
-   OFPAggregateStatsRequest
-   OFPAggregateStatsReply
-   OFPTableStatsRequest
-   OFPTableStats
-   OFPPortStatsRequest
-   OFPPortStats
-   OFPQueueStatsRequest
-   OFPQueueStats
-   OFPGroupStatsRequest
-   OFPGroupStats
-   OFPGroupDescStatsRequest
-   OFPGroupDescStats
-   OFPGroupFeaturesStatsRequest
-   OFPGroupFeaturesStats
-
-Queue Configuration Messages
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-.. autosummary::
-   :nosignatures:
-
-   OFPQueueGetConfigRequest
-   OFPQueueGetConfigReply
-
-Packet-Out Message
-^^^^^^^^^^^^^^^^^^
-
-.. autosummary::
-   :nosignatures:
-
-   OFPPacketOut
-
-Barrier Message
-^^^^^^^^^^^^^^^
-
-.. autosummary::
-   :nosignatures:
-
-   OFPBarrierRequest
-   OFPBarrierReply
-
-Role Request Message
-^^^^^^^^^^^^^^^^^^^^
-
-.. autosummary::
-   :nosignatures:
-
-   OFPRoleRequest
-   OFPRoleReply
-
-
-Asynchronous Messages
----------------------
-
-Packet-In Message
-^^^^^^^^^^^^^^^^^
-
-.. autosummary::
-
-   OFPPacketIn
-
-Flow Removed Message
-^^^^^^^^^^^^^^^^^^^^
-
-.. autosummary::
-
-   OFPFlowRemoved
-
-Port Status Message
-^^^^^^^^^^^^^^^^^^^
-
-.. autosummary::
-   :nosignatures:
-
-   OFPPortStatus
-
-Error Message
-^^^^^^^^^^^^^
-
-.. autosummary::
-   :nosignatures:
-
-   OFPErrorMsg
-
-
-Symmetric Messages
-------------------
-
-Hello
-^^^^^
-
-.. autosummary::
-   :nosignatures:
-
-   OFPHello
-
-Echo Request
-^^^^^^^^^^^^
-
-.. autosummary::
-   :nosignatures:
-
-   OFPEchoRequest
-
-Echo Reply
-^^^^^^^^^^
-
-.. autosummary::
-   :nosignatures:
-
-   OFPEchoReply
-
-Experimenter
-^^^^^^^^^^^^
-.. autosummary::
-   :nosignatures:
-
-   OFPExperimenter
-
-
-Flow Match Structure
---------------------
-
-.. autosummary::
-   :nosignatures:
-
-   OFPMatch
-
-
-Flow Instruction Structures
----------------------------
-
-.. autosummary::
-   :nosignatures:
-
-   OFPInstructionGotoTable
-   OFPInstructionWriteMetadata
-   OFPInstructionActions
-
-
-Action Structures
------------------
-
-.. autosummary::
-   :nosignatures:
-
-   OFPActionOutput
-   OFPActionGroup
-   OFPActionSetQueue
-   OFPActionSetMplsTtl
-   OFPActionDecMplsTtl
-   OFPActionSetNwTtl
-   OFPActionDecNwTtl
-   OFPActionCopyTtlOut
-   OFPActionCopyTtlIn
-   OFPActionPushVlan
-   OFPActionPushMpls
-   OFPActionPopVlan
-   OFPActionPopMpls
-   OFPActionSetField
-   OFPActionExperimenter
-
-
-.. _OpenFlow-v1.3:
-
-OpenFlow v1.3 Messages and Structures
-=====================================
-.. py:currentmodule:: ryu.ofproto.ofproto_v1_3_parser
-
-Controller-to-Switch Messages
------------------------------
-
-Handshake
-^^^^^^^^^
-
-.. autosummary::
-   :nosignatures:
-
-   OFPFeaturesRequest
-   OFPSwitchFeatures
-
-Switch Configuration
-^^^^^^^^^^^^^^^^^^^^
-
-.. autosummary::
-   :nosignatures:
-
-   OFPSetConfig
-   OFPGetConfigRequest
-   OFPGetConfigReply
-
-Flow Table Configuration
-^^^^^^^^^^^^^^^^^^^^^^^^
-
-.. autosummary::
-   :nosignatures:
-
-   OFPTableMod
-
-Modify State Messages
-^^^^^^^^^^^^^^^^^^^^^
-
-.. autosummary::
-   :nosignatures:
-
-   OFPFlowMod
-   OFPGroupMod
-   OFPPortMod
-   OFPMeterMod
-
-Multipart Messages
-^^^^^^^^^^^^^^^^^^
-
-.. autosummary::
-   :nosignatures:
-
-   OFPDescStatsRequest
-   OFPDescStatsReply
-   OFPFlowStatsRequest
-   OFPFlowStatsReply
-   OFPAggregateStatsRequest
-   OFPAggregateStatsReply
-   OFPTableStatsRequest
-   OFPTableStatsReply
-   OFPPortStatsRequest
-   OFPPortStatsReply
-   OFPPortDescStatsRequest
-   OFPPortDescStatsReply
-   OFPQueueStatsRequest
-   OFPQueueStatsReply
-   OFPGroupStatsRequest
-   OFPGroupStatsReply
-   OFPGroupDescStatsRequest
-   OFPGroupDescStatsReply
-   OFPGroupFeaturesStatsRequest
-   OFPGroupFeaturesStatsReply
-   OFPMeterStatsRequest
-   OFPMeterStatsReply
-   OFPMeterConfigStatsRequest
-   OFPMeterConfigStatsReply
-   OFPMeterFeaturesStatsRequest
-   OFPMeterFeaturesStatsReply
-
-Queue Configuration Messages
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-.. autosummary::
-   :nosignatures:
-
-   OFPQueueGetConfigRequest
-   OFPQueueGetConfigReply
-
-Packet-Out Message
-^^^^^^^^^^^^^^^^^^
-
-.. autosummary::
-   :nosignatures:
-
-   OFPPacketOut
-
-Barrier Message
-^^^^^^^^^^^^^^^
-
-.. autosummary::
-   :nosignatures:
-
-   OFPBarrierRequest
-   OFPBarrierReply
-
-Role Request Message
-^^^^^^^^^^^^^^^^^^^^
-
-.. autosummary::
-   :nosignatures:
-
-   OFPRoleRequest
-   OFPRoleReply
-
-Set Asynchronous Configuration Message
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-.. autosummary::
-   :nosignatures:
-
-   OFPSetAsync
-   OFPGetAsyncRequest
-   OFPGetAsyncReply
-
-
-Asynchronous Messages
----------------------
-
-.. autosummary::
-   :nosignatures:
-
-
-Packet-In Message
-^^^^^^^^^^^^^^^^^
-
-.. autosummary::
-   :nosignatures:
-
-   OFPPacketIn
-
-Flow Removed Message
-^^^^^^^^^^^^^^^^^^^^
-
-.. autosummary::
-   :nosignatures:
-
-   OFPFlowRemoved
-
-Port Status Message
-^^^^^^^^^^^^^^^^^^^
-
-.. autosummary::
-   :nosignatures:
-
-   OFPPortStatus
-
-Error Message
-^^^^^^^^^^^^^
-
-.. autosummary::
-   :nosignatures:
-
-   OFPErrorMsg
-
-
-Symmetric Messages
-------------------
-
-Hello
-^^^^^
-
-.. autosummary::
-   :nosignatures:
-
-   OFPHello
-   OFPHelloElemVersionBitmap
-
-Echo Request
-^^^^^^^^^^^^
-
-.. autosummary::
-   :nosignatures:
-
-   OFPEchoRequest
-
-Echo Reply
-^^^^^^^^^^
-
-.. autosummary::
-   :nosignatures:
-
-   OFPEchoReply
-
-Experimenter
-^^^^^^^^^^^^
-
-.. autosummary::
-   :nosignatures:
-
-   OFPExperimenter
-
-
-Flow Match Structure
---------------------
-
-.. autosummary::
-   :nosignatures:
-
-   OFPMatch
-
-
-Flow Instruction Structures
----------------------------
-
-.. autosummary::
-   :nosignatures:
-
-   OFPInstructionGotoTable
-   OFPInstructionWriteMetadata
-   OFPInstructionActions
-   OFPInstructionMeter
-
-
-Action Structures
------------------
-
-.. autosummary::
-   :nosignatures:
-
-   OFPActionOutput
-   OFPActionGroup
-   OFPActionSetQueue
-   OFPActionSetMplsTtl
-   OFPActionDecMplsTtl
-   OFPActionSetNwTtl
-   OFPActionDecNwTtl
-   OFPActionCopyTtlOut
-   OFPActionCopyTtlIn
-   OFPActionPushVlan
-   OFPActionPushMpls
-   OFPActionPopVlan
-   OFPActionPopMpls
-   OFPActionSetField
-   OFPActionExperimenter
+.. toctree::
+   :maxdepth: 3
 
+   ofproto_v1_2_ref.rst
+   ofproto_v1_3_ref.rst
diff --git a/doc/source/ofproto_v1_2_ref.rst b/doc/source/ofproto_v1_2_ref.rst
new file mode 100644
index 0000000..ca20eca
--- /dev/null
+++ b/doc/source/ofproto_v1_2_ref.rst
@@ -0,0 +1,160 @@
+*************************************
+OpenFlow v1.2 Messages and Structures
+*************************************
+
+.. py:currentmodule:: ryu.ofproto.ofproto_v1_2_parser
+
+Controller-to-Switch Messages
+=============================
+
+Handshake
+---------
+
+.. autoclass:: OFPFeaturesRequest
+.. autoclass:: OFPSwitchFeatures
+
+Switch Configuration
+--------------------
+
+.. autoclass:: OFPSetConfig
+.. autoclass:: OFPGetConfigRequest
+.. autoclass:: OFPGetConfigReply
+
+Flow Table Configuration
+------------------------
+
+.. autoclass:: OFPTableMod
+
+Modify State Messages
+---------------------
+
+.. autoclass:: OFPFlowMod
+.. autoclass:: OFPGroupMod
+.. autoclass:: OFPPortMod
+
+Read State Messages
+-------------------
+
+.. autoclass:: OFPDescStatsRequest
+.. autoclass:: OFPDescStats
+.. autoclass:: OFPFlowStatsRequest
+.. autoclass:: OFPFlowStats
+.. autoclass:: OFPAggregateStatsRequest
+.. autoclass:: OFPAggregateStatsReply
+.. autoclass:: OFPTableStatsRequest
+.. autoclass:: OFPTableStats
+.. autoclass:: OFPPortStatsRequest
+.. autoclass:: OFPPortStats
+.. autoclass:: OFPQueueStatsRequest
+.. autoclass:: OFPQueueStats
+.. autoclass:: OFPGroupStatsRequest
+.. autoclass:: OFPGroupStats
+.. autoclass:: OFPGroupDescStatsRequest
+.. autoclass:: OFPGroupDescStats
+.. autoclass:: OFPGroupFeaturesStatsRequest
+.. autoclass:: OFPGroupFeaturesStats
+
+Queue Configuration Messages
+----------------------------
+
+.. autoclass:: OFPQueueGetConfigRequest
+.. autoclass:: OFPQueueGetConfigReply
+
+Packet-Out Message
+------------------
+
+.. autoclass:: OFPPacketOut
+
+Barrier Message
+---------------
+
+.. autoclass:: OFPBarrierRequest
+.. autoclass:: OFPBarrierReply
+
+Role Request Message
+--------------------
+
+.. autoclass:: OFPRoleRequest
+.. autoclass:: OFPRoleReply
+
+
+Asynchronous Messages
+=====================
+
+Packet-In Message
+-----------------
+
+.. autoclass:: OFPPacketIn
+
+Flow Removed Message
+--------------------
+
+.. autoclass:: OFPFlowRemoved
+
+Port Status Message
+-------------------
+
+.. autoclass:: OFPPortStatus
+
+Error Message
+-------------
+
+.. autoclass:: OFPErrorMsg
+
+
+Symmetric Messages
+==================
+
+Hello
+-----
+
+.. autoclass:: OFPHello
+
+Echo Request
+------------
+
+.. autoclass:: OFPEchoRequest
+
+Echo Reply
+----------
+
+.. autoclass:: OFPEchoReply
+
+Experimenter
+------------
+
+.. autoclass:: OFPExperimenter
+
+
+Flow Match Structure
+====================
+
+.. autoclass:: OFPMatch
+
+
+Flow Instruction Structures
+===========================
+
+.. autoclass:: OFPInstructionGotoTable
+.. autoclass:: OFPInstructionWriteMetadata
+.. autoclass:: OFPInstructionActions
+
+
+Action Structures
+=================
+
+.. autoclass:: OFPActionOutput
+.. autoclass:: OFPActionGroup
+.. autoclass:: OFPActionSetQueue
+.. autoclass:: OFPActionSetMplsTtl
+.. autoclass:: OFPActionDecMplsTtl
+.. autoclass:: OFPActionSetNwTtl
+.. autoclass:: OFPActionDecNwTtl
+.. autoclass:: OFPActionCopyTtlOut
+.. autoclass:: OFPActionCopyTtlIn
+.. autoclass:: OFPActionPushVlan
+.. autoclass:: OFPActionPushMpls
+.. autoclass:: OFPActionPopVlan
+.. autoclass:: OFPActionPopMpls
+.. autoclass:: OFPActionSetField
+.. autoclass:: OFPActionExperimenter
diff --git a/doc/source/ofproto_v1_3_ref.rst b/doc/source/ofproto_v1_3_ref.rst
new file mode 100644
index 0000000..3e1a513
--- /dev/null
+++ b/doc/source/ofproto_v1_3_ref.rst
@@ -0,0 +1,178 @@
+*************************************
+OpenFlow v1.3 Messages and Structures
+*************************************
+
+.. py:currentmodule:: ryu.ofproto.ofproto_v1_3_parser
+
+Controller-to-Switch Messages
+=============================
+
+Handshake
+---------
+
+.. autoclass:: OFPFeaturesRequest
+.. autoclass:: OFPSwitchFeatures
+
+Switch Configuration
+--------------------
+
+.. autoclass:: OFPSetConfig
+.. autoclass:: OFPGetConfigRequest
+.. autoclass:: OFPGetConfigReply
+
+Flow Table Configuration
+------------------------
+
+.. autoclass:: OFPTableMod
+
+Modify State Messages
+---------------------
+
+.. autoclass:: OFPFlowMod
+.. autoclass:: OFPGroupMod
+.. autoclass:: OFPPortMod
+.. autoclass:: OFPMeterMod
+
+Multipart Messages
+------------------
+
+.. autoclass:: OFPDescStatsRequest
+.. autoclass:: OFPDescStatsReply
+.. autoclass:: OFPFlowStatsRequest
+.. autoclass:: OFPFlowStatsReply
+.. autoclass:: OFPAggregateStatsRequest
+.. autoclass:: OFPAggregateStatsReply
+.. autoclass:: OFPTableStatsRequest
+.. autoclass:: OFPTableStatsReply
+.. autoclass:: OFPPortStatsRequest
+.. autoclass:: OFPPortStatsReply
+.. autoclass:: OFPPortDescStatsRequest
+.. autoclass:: OFPPortDescStatsReply
+.. autoclass:: OFPQueueStatsRequest
+.. autoclass:: OFPQueueStatsReply
+.. autoclass:: OFPGroupStatsRequest
+.. autoclass:: OFPGroupStatsReply
+.. autoclass:: OFPGroupDescStatsRequest
+.. autoclass:: OFPGroupDescStatsReply
+.. autoclass:: OFPGroupFeaturesStatsRequest
+.. autoclass:: OFPGroupFeaturesStatsReply
+.. autoclass:: OFPMeterStatsRequest
+.. autoclass:: OFPMeterStatsReply
+.. autoclass:: OFPMeterConfigStatsRequest
+.. autoclass:: OFPMeterConfigStatsReply
+.. autoclass:: OFPMeterFeaturesStatsRequest
+.. autoclass:: OFPMeterFeaturesStatsReply
+
+Queue Configuration Messages
+----------------------------
+
+.. autoclass:: OFPQueueGetConfigRequest
+.. autoclass:: OFPQueueGetConfigReply
+
+Packet-Out Message
+------------------
+
+.. autoclass:: OFPPacketOut
+
+Barrier Message
+---------------
+
+.. autoclass:: OFPBarrierRequest
+.. autoclass:: OFPBarrierReply
+
+Role Request Message
+--------------------
+
+.. autoclass:: OFPRoleRequest
+.. autoclass:: OFPRoleReply
+
+Set Asynchronous Configuration Message
+--------------------------------------
+
+.. autoclass:: OFPSetAsync
+.. autoclass:: OFPGetAsyncRequest
+.. autoclass:: OFPGetAsyncReply
+
+
+Asynchronous Messages
+=====================
+
+Packet-In Message
+-----------------
+
+.. autoclass:: OFPPacketIn
+
+Flow Removed Message
+--------------------
+
+.. autoclass:: OFPFlowRemoved
+
+Port Status Message
+-------------------
+
+.. autoclass:: OFPPortStatus
+
+Error Message
+-------------
+
+.. autoclass:: OFPErrorMsg
+
+
+Symmetric Messages
+==================
+
+Hello
+-----
+
+.. autoclass:: OFPHello
+.. autoclass:: OFPHelloElemVersionBitmap
+
+Echo Request
+------------
+
+.. autoclass:: OFPEchoRequest
+
+Echo Reply
+----------
+
+.. autoclass:: OFPEchoReply
+
+Experimenter
+------------
+
+.. autoclass:: OFPExperimenter
+
+
+Flow Match Structure
+====================
+
+.. autoclass:: OFPMatch
+
+
+Flow Instruction Structures
+===========================
+
+.. autoclass:: OFPInstructionGotoTable
+.. autoclass:: OFPInstructionWriteMetadata
+.. autoclass:: OFPInstructionActions
+.. autoclass:: OFPInstructionMeter
+
+
+Action Structures
+=================
+
+.. autoclass:: OFPActionOutput
+.. autoclass:: OFPActionGroup
+.. autoclass:: OFPActionSetQueue
+.. autoclass:: OFPActionSetMplsTtl
+.. autoclass:: OFPActionDecMplsTtl
+.. autoclass:: OFPActionSetNwTtl
+.. autoclass:: OFPActionDecNwTtl
+.. autoclass:: OFPActionCopyTtlOut
+.. autoclass:: OFPActionCopyTtlIn
+.. autoclass:: OFPActionPushVlan
+.. autoclass:: OFPActionPushMpls
+.. autoclass:: OFPActionPopVlan
+.. autoclass:: OFPActionPopMpls
+.. autoclass:: OFPActionSetField
+.. autoclass:: OFPActionExperimenter
-- 
1.7.9.5


------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to