Uploaded image for project: 'netconf'
  1. netconf
  2. NETCONF-938

Cannot generate API docs for Junos device

    XMLWordPrintable

Details

    • Bug
    • Status: In Review
    • Highest
    • Resolution: Unresolved
    • None
    • 7.0.0
    • restconf-openapi

    Description

      When we have device that contains Junos [common models|https://github.com/Juniper/yang/tree/master/22.3/22.3R1/common] and [junos family models|https://github.com/Juniper/yang/tree/master/22.3/22.3R1/junos] its not possible to access [its mount point documentation|http://localhost:8181/apidoc/explorer/index.html?urls.primaryName=17830-sim-device%20resources%20-%20RestConf%20RFC%208040].

      The docs are never loaded and we can see that Java VM is out of heap space. After some time the running ODL instance is killed.

      Attachments

        1. image-2023-03-15-09-23-20-869.png
          273 kB
          Peter Suna
        2. image-2023-03-15-09-47-49-518.png
          272 kB
          Peter Suna
        3. Image Pasted at 2023-1-9 10-08.png
          369 kB
          Robert Varga
        4. Image Pasted at 2023-1-9 10-09.png
          253 kB
          Robert Varga
        5. Image Pasted at 2023-1-9 10-10.png
          541 kB
          Robert Varga
        6. Image Pasted at 2023-1-9 10-11.png
          442 kB
          Robert Varga
        7. Screenshot_2023-01-04_11-03-36.png
          141 kB
          Ivan Hrasko

        Issue Links

          # Subject Branch Project Status CR V

          Activity

            People

              ivanhrasko Ivan Hrasko
              ivanhrasko Ivan Hrasko
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: