Uploaded image for project: 'transportpce'
  1. transportpce
  2. TRNSPRTPCE-126

YANG deviations in Openroadm Network model 4.1 seems not supported by ODL

    XMLWordPrintable

Details

    • Bug
    • Status: Verified
    • Highest
    • Resolution: Done
    • None
    • None
    • None
    • None

    Description

      RESTCONF initialization fails with exception (see attached log file) when global schema context contains yang models using deviations.
      Reproduction steps:

      • clean compile transportpce project `mvn clean install`
      • start karaf with transportpce project: `cd karaf/target/assembly/bin; ./karaf`
      • check feature activation, after ~15s after karaf is started, RESTCONF init fails with exception in attached log.

      The problem is in the following yang models, containing deviations , that we re introduced with OpenRoadm Network model 4.1

      transportpce/ordmodels/network/src/main/yang/org-openroadm-otn-network-topology@2018-11-30.yang
      transportpce/ordmodels/network/src/main/yang/org-openroadm-network-topology@2018-11-30.yang
      transportpce/ordmodels/network/src/main/yang/org-openroadm-network@2018-11-30.yang

      When deviations are removed inside the models above , TransportPCE project starts just fine.

      When deviations are kept, tranpost PCE karaf features are failing to start with exception: RestconfDocumentedException: errors: [RestconfError [error-type: application, error-tag: operation-failed, error-message: name doesn't exist.]]
      which means that RESTCONF feature activation fails.
      However, it does not seem to affect the functional tests.
      So the problem is not blocking for the TransportPCE official karaf distribution, but it affects the lighty.io build process as reported by Juraj.

       Since the first fix 82505 has been merged, E2E functests UT are now failing.
      There was an error in Revision mapping of Deviations in Restconf.
      The patch for this issue is already prepared and awaiting review. https://git.opendaylight.org/gerrit/#/c/netconf/+/83679/

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              tibor.kral Tibor Král
              guillaume.lambert Guillaume Lambert
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 days
                  3d