Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Once a third-party controller is being registered in ONAP, a "Topology Discovery" operation will be triggered and the domain controller will be called in order to retrieve the topology. SDNC then, will store the topology in AAI. Please follow the instructions written below in Note 3, for this ESR registration.


Note 3: A known issue with ESR registration of a 3rd party domain controller

The following photo shows the details of a 3rd party controller when a user is registering it in ESR portal. Adjust the URL info accordingly. The password to be used is "rocks" if you use ACTN simulator. There is a known issue in ESR portal which requires a quick fix in one of the DGs so that the topologies can be discovered properly. The issue is about the values shown in the registration web form under the attribute "Type". As can be seen in the following photo, the available types in ESR portal are either WAN or DC, however, SDNC discovery DG expects SOTN so that it can discover the topologies from the ACTN simulators. To fix this issue, please follow the following quick steps:

Image Added

  1. Download the json file of the DG (directed graph) that is responsible for topology discovery from the following link:
    1. https://gerrit.onap.org/r/gitweb?p=sdnc/oam.git;a=blob;f=platform-logic/datachange/src/main/json/DataChange_esr-thirdparty-sdnc-discovery.json;h=862817a3732bd8a74bfc1852a768e684fa3a3e8b;hb=093a4df8b8ab3bf56bb5ddc26d5c70fa4d442d6b
  2. Modify this json file by changing the value of SOTN to WAN. SOTN value is in line 415 and 416 of the above file.
  3. You now need to upload this modified version of the DG into your system. This can be done using the dgbuilder graphical tool, available for us by ONAP to be used. This dgbuilder tool can be accessed by the following URL:
    1. https://{{k8s}}:30203 or http://{{k8s}}:30203, in case you cannot access it by https.
    2. once prompted, the default username/password for the dgbuilder tool is: dguser/test123
  4. You now need to import your modified version of the DG explained above into your dgbuilder. To do so, copy the contents of the modified DG's json file into your clipboard, and from the menu on the top right corner of the dgbuilder tool, click on "import" → "clipboard" and paste the contents of your clipboard into the box and click ok. See this photo for details:
    1. Image Added
  5. After importing the graph into the dgbuilder graphical tool, you need to "upload" it into your system/sdnc. To do so, click on the small square box next to the first node called "DGSTART", then click on "Upload XML", and then click on "VewDGList", and then make sure to "Activate" this modified version of the DG that you just uploaded. This is usually shown by "${project.version}" as its version.
  6. That's it! You now have a modified version of the discovery DG that expects to receive "WAN" from ESR as a type, instead of the mentioned "SOTN".





Note 4: A known issue with "delete slice" operation

...