X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=docs%2Fuser-guide.rst;h=f8ee5e8ba3e7bc49ba3e35a8d10f742fae13c61f;hb=450696b90c3399ed243be1e6aebb3f56a5066b1f;hp=34b0b38cbd8c32b5454d3477e1ffa00115d9163e;hpb=ce0a5f273573a8f0f736f6b28ddb0c36d5a56fbb;p=transportpce.git diff --git a/docs/user-guide.rst b/docs/user-guide.rst index 34b0b38cb..f8ee5e8ba 100644 --- a/docs/user-guide.rst +++ b/docs/user-guide.rst @@ -29,7 +29,7 @@ handler, Renderer responsible for the path configuration through optical equipment and Optical Line Management (OLM) is associated with a generic block relying on open models, each of them communicating through published APIs. -.. figure:: ./images/TransportPCE-Diagramm-Magnesium.jpg +.. figure:: ./images/TransportPCE-Diagram-Phosphorus.jpg :alt: TransportPCE architecture TransportPCE architecture @@ -60,6 +60,11 @@ TransportPCE User-Facing Features - This feature is considered experimental. It provides a REST client in order to send TPCE notifications to ONAP Dmaap Message router. +- **feature odl-transportpce-nbinotifications** + + - This feature is considered experimental. It provides transportPCE with connectors in order to read/write + notifications stored in topics of a Kafka server. + How To Start ------------ @@ -78,6 +83,23 @@ Preparing for Installation Installation Feature ~~~~~~~~~~~~~~~~~~~~ +Creation of services with TransportPCE controller on real optical devices takes a rather long while, +due to the fact that the output optical power level modification on interfaces requires time for stabilisation +level. Per default values of TransportPCE timers are those recommended by OpenROADM MSA, respectively 120 000 +and 20 000 seconds. +When running TransportPCE controller with honeynode simulators, which is the case of all TransportPCE functional tests, +we don't need so important timer values. You can considerably speed tests using respectively 3000 and 2000 seconds. +To that end, before running OpenDaylight, set OLM_TIMER1 and OLM_TIMER2 as environment variables. +For example:: + + export OLM_TIMER1=3000 OLM_TIMER2=2000 + +To come back with per default values for these timers, just logout from OpenDaylight controller, and unset your +environment variables, and start again the controller:: + + unset OLM_TIMER1 OLM_TIMER2 + + Run OpenDaylight and install TransportPCE Service *odl-transportpce* as below:: feature:install odl-transportpce @@ -114,4 +136,20 @@ Then run in karaf:: feature:install odl-transportpce-dmaap-client +If you need the NBI-notifications support, before installing odl-transportpce-nbinotifications feature, +make sure to run ZooKeeper and then the Kafka server. +By default, it is considered that the Kafka server is installed in localhost and listens on the 9092 port, +if it isn't the case then set the KAFKA_SERVER environment variable of your system or +modify the file *'transportpce/features/odl-transportpce-nbinotifications +/src/main/resources/org.opendaylight.transportpce.nbinotifications.cfg'*:: + + suscriber.server=${env:KAFKA_SERVER:-[IP_ADDRESS]:[PORT]} + publisher.server=${env:KAFKA_SERVER:-[IP_ADDRESS]:[PORT]} + +*where [IP_ADDRESS] and [PORT] are respectively the IP address and the port that host the Kafka server.* + +After that, run in karaf:: + + feature:install odl-transportpce-nbinotifications + For a more detailed overview of the TransportPCE, see the :ref:`transportpce-dev-guide`.