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

Using wrong prefix on augmentation not caught

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • 2.0.8, 2.0.6.1
    • 2.0.7
    • None
    • None

      given 

       

      import openconfig-bgp-policy { prefix bgppol; }
      

      and using

       augment /rpol:routing-policy/rpol:policy-definitions/rpol:policy-definition/rpol:statements/rpol:statement/rpol:actions/bgp-pol:bgp-actions {
      

       

      Notice bgpol != bgp-pol

      won't produce any error or complain. Whether this doesn't seems to have any negative impact,

      it should be addressed correctly.

      Code Example

      https://git.opendaylight.org/gerrit/#/c/73697/

            rovarga Robert Varga
            cdgasparini Claudio David Gasparini
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: