summaryrefslogtreecommitdiffhomepage
path: root/doc/source
diff options
context:
space:
mode:
Diffstat (limited to 'doc/source')
-rw-r--r--doc/source/conf.py2
-rw-r--r--doc/source/library.rst1
-rw-r--r--doc/source/library_packet_ref.rst52
3 files changed, 54 insertions, 1 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py
index 2494b76e..ebccb2c5 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -26,7 +26,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 = []
+extensions = [ 'sphinx.ext.autodoc' ]
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
diff --git a/doc/source/library.rst b/doc/source/library.rst
index 28d3e314..eee6877a 100644
--- a/doc/source/library.rst
+++ b/doc/source/library.rst
@@ -8,4 +8,5 @@ Ryu provides some useful library for your network applications.
:maxdepth: 1
library_packet.rst
+ library_packet_ref.rst
library_of_config.rst
diff --git a/doc/source/library_packet_ref.rst b/doc/source/library_packet_ref.rst
new file mode 100644
index 00000000..10e9cb84
--- /dev/null
+++ b/doc/source/library_packet_ref.rst
@@ -0,0 +1,52 @@
+****************************
+Packet library API Reference
+****************************
+
+Packet class
+============
+
+.. automodule:: ryu.lib.packet.packet
+ :members:
+
+Protocol Header classes
+=======================
+
+.. automodule:: ryu.lib.packet.packet_base
+ :members:
+
+.. automodule:: ryu.lib.packet.ethernet
+ :members:
+
+.. automodule:: ryu.lib.packet.vlan
+ :members:
+
+.. automodule:: ryu.lib.packet.mpls
+ :members:
+
+.. automodule:: ryu.lib.packet.arp
+ :members:
+
+.. automodule:: ryu.lib.packet.ipv4
+ :members:
+
+.. automodule:: ryu.lib.packet.icmp
+ :members:
+
+.. automodule:: ryu.lib.packet.ipv6
+ :members:
+
+.. automodule:: ryu.lib.packet.icmpv6
+ :members:
+
+.. automodule:: ryu.lib.packet.tcp
+ :members:
+
+.. automodule:: ryu.lib.packet.udp
+ :members:
+
+.. autoclass:: ryu.lib.packet.vrrp.vrrp
+ :members:
+.. autoclass:: ryu.lib.packet.vrrp.vrrpv2
+ :members:
+.. autoclass:: ryu.lib.packet.vrrp.vrrpv3
+ :members: