Remove jenkins links and git clone from OFP docs
[docs.git] / docs / user-guide / openflow-plugin-project-user-guide.rst
index 93a9b862d25d6ad499e2c67230b2100d8840bfa7..901795412a519ee964036e833964733756911a52 100644 (file)
@@ -31,7 +31,7 @@ Scope
 
 -  Ongoing support and integration of the OpenFlow specification
 
--  The plugin should be implemented in an easily extensibile manner
+-  The plugin should be implemented in an easily extensible manner
 
 -  Protocol verification activities will be performed on supported
    OpenFlow specifications
@@ -100,7 +100,7 @@ Coverage
 ^^^^^^^^
 
 Coverage has been moved to a `GoogleDoc
-Spreadshee <https://docs.google.com/spreadsheet/ccc?key=0AtpUuSEP8OyMdHNTZjBoM0VjOE9BcGhHMzk3N19uamc&usp=sharing%23gid=2#gid=0>`__
+Spreadsheet <https://docs.google.com/spreadsheet/ccc?key=0AtpUuSEP8OyMdHNTZjBoM0VjOE9BcGhHMzk3N19uamc&usp=sharing%23gid=2#gid=0>`__
 
 OF 1.3 Considerations
 ^^^^^^^^^^^^^^^^^^^^^
@@ -119,74 +119,11 @@ matches and actions.
 Tutorial / How-To
 -----------------
 
+.. _ofp-running-new-plugin:
+
 Running the controller with the new OpenFlow Plugin
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
-Opendaylight Controller Plugin Options
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
--  Run OpenDaylight controller with the new OpenFlow 1.0/1.3 plugin
-
-There are 2 ways. In integration project the plugin version is
-controlled by startup parameter. Or there is distribution build
-available directly in openflowplugin project.
-
-1. use **integration** project
-
-   -  download and unzip latest build from
-      https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/distribution-karaf/0.2.2-SNAPSHOT/
-
-      ::
-
-          cd <extracted directory>/bin
-          ./karaf
-
-   -  or clone and build **integration** project:
-
-      ::
-
-          git clone https://git.opendaylight.org/gerrit/p/integration.git
-          cd integration/distributions/extra/karaf
-          mvn clean install
-          cd ./target/assembly/bin
-
-   -  and finally run
-
-      ::
-
-          ./karaf
-
-2. use **openflowplugin** project
-
-   -  download and unzip latest build from
-      https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/openflowplugin/openflowplugin-karaf/0.1.0-SNAPSHOT/
-
-      ::
-
-          cd <extracted directory>/bin
-          ./karaf
-
-   -  or clone and build **openflowplugin** project:
-
-      ::
-
-          git clone https://git.opendaylight.org/gerrit/p/openflowplugin.git
-          cd openflowplugin
-          mvn clean install
-          cd ./distribution/karaf/target/assembly/bin/
-
-   -  or build whole distribution localy from folder distribution/karaf
-
-      ::
-
-          mvn clean install -DskipTests
-
-   -  and run
-
-      ::
-
-          ./karaf
-
 **How to start**
 
 There are all helium features (from features-openflowplugin) duplicated
@@ -293,47 +230,6 @@ URL
 
     http://<controller-ip>:8181/dlux/index.html
 
-**Run OpenDaylight controller with the old OpenFlow 1.0-only (old)
-plugin**
-
-There are 2 ways. In integration project the plugin version is
-controlled by startup parameter. Or there is distribution build
-available directly in controller project.
-
-1. use **integration/distributions/base** project
-
-   -  use the instructions from
-      OpenDaylight\_OpenFlow\_Plugin::Running\_controller\_with\_the\_new\_OF\_plugin#To\_run\_the\_OpenDaylight\_controller\_with\_the\_new\_OpenFlow\_1.0/1.3\_(new)\_plugin[
-      1.0/1.3 plugin], but skip the plugin version parameter:
-
-      ::
-
-          ./run.sh
-
-2. use **controller/distribution/opendaylight** project
-
-   -  download and unzip latest build from
-      https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/controller/distribution.opendaylight/
-
-      ::
-
-          cd opendaylight
-
-   -  or clone and build **controller** project:
-
-      ::
-
-          git clone https://git.opendaylight.org/gerrit/p/controller.git
-          cd controller/opendaylight/distribution/opendaylight
-          mvn clean install
-          cd target/distribution.opendaylight-osgipackage/opendaylight
-
-   -  and finally run (there is no version specific option, because the
-
-      1.0/1.3 (new) plugin is not available here at all)
-
-**Give it a minute to come up :)**
-
 OpenFlow 1.3 Enabled Software Switches / Environment
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
@@ -407,7 +303,7 @@ features.
 -  You can setup the switch as per the instructions given on the
    following URL
 
-```https://github.com/CPqD/ofsoftswitch13`` <https://github.com/CPqD/ofsoftswitch13>`__
+`https://github.com/CPqD/ofsoftswitch13 <https://github.com/CPqD/ofsoftswitch13>`__
 
 -  Fire following command to start the switch
 
@@ -519,6 +415,8 @@ From within the Mininet VM, run:
 
      sudo mn --topo single,3  --controller 'remote,ip=<your controller ip>,port=6653' --switch ovsk,protocols=OpenFlow13
 
+.. _ofp-e2e-inv:
+
 End to End Inventory
 ~~~~~~~~~~~~~~~~~~~~
 
@@ -606,18 +504,14 @@ Instructions
 Learn End to End for Inventory
 ''''''''''''''''''''''''''''''
 
-`End to End
-Inventory <#odl-ofp-end-to-end-inventory_introduction-introduction>`__
+See :ref:`ofp-e2e-inv`
 
 Check inventory
 '''''''''''''''
 
--  Run mininet with support for OF 1.3 as described in `End to End
-   Inventory <#odl-ofp-end-to-end-inventory_introduction-introduction>`__
+-  Run mininet with support for OF 1.3 as described in :ref:`ofp-e2e-inv`
 
--  Make sure you see the openflow:1 node come up as described in `End to
-   End
-   Inventory <#odl-ofp-end-to-end-inventory_introduction-introduction>`__
+-  Make sure you see the openflow:1 node come up as described in :ref:`ofp-e2e-inv`
 
 Flow Strategy
 '''''''''''''
@@ -725,8 +619,7 @@ Check for your flow in the controller config via RESTCONF
 
 -  See your configured flow in POSTMAN with
 
-   -  URL `http://<controller <http://<controller>`__
-      IP>:8181/restconf/operational/opendaylight-inventory:nodes/node/openflow:1/table/0/
+   -  URL http://<controller IP>:8181/restconf/operational/opendaylight-inventory:nodes/node/openflow:1/table/0/
 
    -  GET
 
@@ -1444,7 +1337,7 @@ Example Flows
 ^^^^^^^^^^^^^
 
 Examples for XML for various flow matches, instructions & actions can be
-found in following section `here <#odl-ofp-example-flows_overview>`__
+found in following section :ref:`here <ofp-example-flows>`.
 
 End to End Topology
 ~~~~~~~~~~~~~~~~~~~
@@ -1458,11 +1351,11 @@ Manager working end to end with the openflowplugin using OpenFlow 1.3.
 Basically, you will learn how to:
 
 1. Run the Base/Virtualization/Service provider Edition with the new
-   openflowplugin: `Running the controller with the new OpenFlow
-   Plugin <#odl-ofp-running-controller-with-the-new-of-plugin_top>`__
+   openflowplugin: :ref:`Running the controller with the new OpenFlow
+   Plugin <ofp-running-new-plugin>`
 
-2. Start mininet to use OF 1.3: `OpenFlow 1.3 Enabled Software Switches
-   / Environment <#odl-ofp-test-environment_top>`__
+2. Start mininet to use OF 1.3: :ref:`OpenFlow 1.3 Enabled Software Switches
+   / Environment <ofp-test-environment>`
 
 3. Use RESTCONF to see the topology information.
 
@@ -1529,8 +1422,7 @@ Groups are NOT SUPPORTED in current (2.0.0) version of
 -  http://comments.gmane.org/gmane.linux.network.openvswitch.general/3251
 
 For testing group feature please use for example
-`CPQD <#odl-ofp-end-to-end-inventory_introduction-introduction>`__
-virtual switch.
+CPQD virtual switch in the :ref:`ofp-e2e-inv` section.
 
 Instructions
 ^^^^^^^^^^^^
@@ -1538,18 +1430,14 @@ Instructions
 Learn End to End for Inventory
 ''''''''''''''''''''''''''''''
 
-`End to End
-Inventory <#odl-ofp-end-to-end-inventory_introduction-introduction>`__
+:ref:`ofp-e2e-inv`
 
 Check inventory
 '''''''''''''''
 
-Run CPqD with support for OF 1.3 as described in `End to End
-Inventory <#odl-ofp-end-to-end-inventory_introduction-introduction>`__
+Run CPqD with support for OF 1.3 as described in :ref:`ofp-e2e-inv`
 
-Make sure you see the openflow:1 node come up as described in `End to
-End
-Inventory <#odl-ofp-end-to-end-inventory_introduction-introduction>`__
+Make sure you see the openflow:1 node come up as described in :ref:`ofp-e2e-inv`
 
 Group Strategy
 ''''''''''''''
@@ -1666,7 +1554,7 @@ Check for your group in the controller config via RESTCONF
 -  See your configured group in POSTMAN with
 
    -  URL
-      `http://<ip-address>:8080/restconf/config/opendaylight-inventory:nodes/node/openflow:1/group/1 <http://<ip-address>:8080/restconf/config/opendaylight-inventory:nodes/node/openflow:1/group/1>`__
+      http://<ip-address>:8080/restconf/config/opendaylight-inventory:nodes/node/openflow:1/group/1
 
    -  GET
 
@@ -1681,7 +1569,7 @@ Look for your group stats in the controller operational data via RESTCONF
 -  See your operational group stats in POSTMAN with
 
    -  URL
-      `http://<ip-address>:8080/restconf/operational/opendaylight-inventory:nodes/node/openflow:1/group/1 <http://<ip-address>:8080/restconf/operational/opendaylight-inventory:nodes/node/openflow:1/group/1>`__
+      http://<ip-address>:8080/restconf/operational/opendaylight-inventory:nodes/node/openflow:1/group/1
 
    -  GET
 
@@ -1759,18 +1647,14 @@ Instructions
 Learn End to End for Inventory
 ''''''''''''''''''''''''''''''
 
--  `End to End
-   Inventory <#odl-ofp-end-to-end-inventory_introduction-introduction>`__
+-  :ref:`ofp-e2e-inv`
 
 Check inventory
 '''''''''''''''
 
--  Run mininet with support for OF 1.3 as described in `End to End
-   Inventory <#odl-ofp-end-to-end-inventory_introduction-introduction>`__
+-  Run mininet with support for OF 1.3 as described in :ref:`ofp-e2e-inv`
 
--  Make sure you see the openflow:1 node come up as described in `End to
-   End
-   Inventory <#odl-ofp-end-to-end-inventory_introduction-introduction>`__
+-  Make sure you see the openflow:1 node come up as described in :ref:`ofp-e2e-inv`
 
 Meter Strategy
 ''''''''''''''
@@ -2125,17 +2009,19 @@ The following is not exactly CLI - just a set of test commands which can
 be executed on the OSGI console testing various features in OpenFlow 1.3
 spec.
 
--  `OSGI Console Test Provider Commands:
-   Flows <#odl-ofp-test-provider-flows_test-provider>`__
+-  :ref:`OSGI Console Test Provider Commands:
+   Flows <ofp-test-provider-flows>`
+
+-  :ref:`OSGI Console Test Provider Commands:
+   Groups <ofp-test-provider-groups>`
 
--  `OSGI Console Test Provider Commands:
-   Groups <#odl-ofp-test-provider-groups_test-provider>`__
+-  :ref:`OSGI Console Test Provider Commands:
+   Meters <ofp-test-provider-meters>`
 
--  `OSGI Console Test Provider Commands:
-   Meters <#odl-ofp-test-provider-meters_test-provider>`__
+-  :ref:`OSGI Console Test Provider Commands: Topology
+   Events <ofp-test-provider-topology>`
 
--  `OSGI Console Test Provider Commands: Topology
-   Events <#odl-ofp-test-provider-topoogy_test-provider>`__
+.. _ofp-test-provider-flows:
 
 Flows : Test Provider
 ~~~~~~~~~~~~~~~~~~~~~
@@ -2198,6 +2084,8 @@ where # is a number between 1 and 80 and openflow:1 is the of the
 switch. The flow to be deleted should have same flowid and Nodeid as
 used for flow add.
 
+.. _ofp-test-provider-groups:
+
 Group : Test Provider
 ~~~~~~~~~~~~~~~~~~~~~
 
@@ -2276,6 +2164,8 @@ Where # is a number between 1 and 4 for grouptype(g#) and 1 and 28 for
 actiontype(a#). GroupId should be same as that used for adding the flow.
 You can confirm that it was modified on the switch.
 
+.. _ofp-test-provider-meters:
+
 Meters : Test Provider
 ~~~~~~~~~~~~~~~~~~~~~~
 
@@ -2353,6 +2243,8 @@ along) in the inventory, at the OSGI command line try running:
 The CLI takes care of using the same meterId and nodeId as used for
 meter add. You can confirm that it was modified on the switch.
 
+.. _ofp-test-provider-topology:
+
 Topology : Notification
 ~~~~~~~~~~~~~~~~~~~~~~~
 
@@ -2416,6 +2308,8 @@ OpenFlow Services at:
 -  `Models Documentation (OpenFlow Services
    Section) <https://wiki.opendaylight.org/view/OpenDaylight_Controller:Config:Model_Reference>`__
 
+.. _ofp-example-flows:
+
 Example flows
 -------------
 
@@ -2450,10 +2344,6 @@ Match Examples
 The format of the XML that describes OpenFlow matches is determined by
 the opendaylight-match-types yang model: .
 
-The RESTCONF documentation for the match-types yang model can be found
-at
-`opendaylight-match-types.html <https://jenkins.opendaylight.org/controller/job/controller-merge/lastSuccessfulBuild/artifact/opendaylight/md-sal/model/model-flow-base/target/site/models/opendaylight-match-types.html>`__
-
 IPv4 Dest Address
 ^^^^^^^^^^^^^^^^^
 
@@ -3456,10 +3346,6 @@ Actions
 The format of the XML that describes OpenFlow actions is determined by
 the opendaylight-action-types yang model: .
 
-The RESTCONF documentation for the match-types yang model can be found
-at
-`opendaylight-action-types.html <https://jenkins.opendaylight.org/controller/job/controller-merge/lastSuccessfulBuild/artifact/opendaylight/md-sal/model/model-flow-base/target/site/models/opendaylight-action-types.html>`__
-
 Apply Actions
 ^^^^^^^^^^^^^