X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=docs%2Fuser-guide.rst;h=f0d83ce15615e70d131658a219f99021bd8821cd;hb=4fc7683a8eefbd3121f6c90c1444394b91973e8a;hp=a68f749a4d4c85654b6c03113a3931c0979ee4e4;hpb=1cc3251d3fcf2dbb3bf431a75cf6c9a915e2db0f;p=transportpce.git diff --git a/docs/user-guide.rst b/docs/user-guide.rst index a68f749a4..f0d83ce15 100644 --- a/docs/user-guide.rst +++ b/docs/user-guide.rst @@ -55,6 +55,16 @@ TransportPCE User-Facing Features - This feature is considered experimental. It provides transportPCE with an external connector to a MariaDB inventory currently limited to OpenROADM 1.2.1 devices. +- **feature odl-transportpce-dmaap-client** + + - 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 ------------ @@ -92,4 +102,37 @@ if you need the inventory external connector support limited to 1.2.1 OpenROADM feature:install odl-transportpce-inventory +if you need the Dmaap connector support, before running Opendaylight, set DMAAP_BASE_URL as environment variable. +For example, if the base url of your Dmaap server is "https://dmaap-mr:30226", then:: + + export DMAAP_BASE_URL=https://dmaap-mr:30226 + +if your Dmaap server provides https connection through a self-signed certificate, do not forget to add the certificate +to the JAVA truststore:: + + echo -n | openssl s_client -showcerts -connect dmaap-mr:30226 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > /tmp/dmaap.crt + keytool -import -v -trustcacerts -alias dmaap -file /tmp/dmaap.crt -keystore /etc/ssl/certs/java/cacerts -keypass changeit -storepass changeit -noprompt + +where dmaap-mr:30226 is the url of your Dmaap server. + +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`.