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

AugmentEffectiveStatementImpl should not be QNameModuleAware

    XMLWordPrintable

Details

    • Task
    • Status: Resolved
    • Medium
    • Resolution: Done
    • None
    • 12.0.0
    • model-ri
    • None

    Description

      This contract is not specified in yang-model-api and is a tad detrimal to the overall idea – effective augment has its children already adjusted, but notably its argument is not adjusted.

      Ditch QNameModuleAware and adjust the implementation to correctly rebase its argument, if that is really what we need. Alternative approach is to use EXACT_REPLICA copy policy, in which case users of AugmentationTarget will need a bit more information – esp. parent's QName. Also AugmentationSchema may need an update to ensure its semantics matches the intent.

      Attachments

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

        Activity

          People

            rovarga Robert Varga
            rovarga Robert Varga
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: