Uploaded image for project: 'yangtools'
  1. yangtools
  2. YANGTOOLS-91

Unable to recognize augment

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • None
    • None
    • Operating System: Linux
      Platform: PC

    • 468
    • High

    Description

      network-topology-pcep.yang

      grouping update-lsp-args {
      uses lsp-id;

      container arguments {
      leaf administrative

      { type boolean; default true; }

      uses pcep:path-definition;

      uses lsp-metadata;
      }
      }

      rpc update-lsp {
      input

      { uses ont:network-topology-reference; uses update-lsp-args; }

      output

      { uses operation-result; }

      }

      augmentation: odl-pcep-ietf-stateful02.yang

      augment "/topo:update-lsp/topo:input/topo:arguments" {
      leaf operational

      { type boolean; }

      }

      is generating null values in documentation:

      https://jenkins.opendaylight.org/bgpcep/job/bgpcep-nightly/lastSuccessfulBuild/artifact/target/staging/pcep-parent/pcep-ietf-stateful02/odl-pcep-ietf-stateful02.html (Augments)

      The augmented object is generated properly, but testing shows that the augmented part is probably not recognized by restconf.

      <operational xmlns="urn:opendaylight:params:xml:ns:yang:pcep:crabbe:stateful:02">true</operational>

      Attachments

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

        Activity

          People

            mvitez@cisco.com Martin Vitez
            dkutenicsova Dana Kutenicsova
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: