Subject: [netmod] more evidence for Y26

From: Ladislav Lhotka <[email-masked]>
Date: Thu, 07 Aug 2014 10:00:27 +0200

Hi,

Stephane also ran into the Y26 problem:

-------------------- Start of forwarded message --------------------
From: <[email-masked]>
To: ...
Subject: RE: ISIS YANG

...

I have one Yang error that I'm not able to fix yet (and even understand
:) ) for area-address configuration : "cannot augment mandatory node
area-address".

...

-------------------- End of forwarded message --------------------

It is an already well-known pattern that needs to be supported:

augment "/rt:routing/rt:routing-instance/rt:routing-protocols/"
       +"rt:routing-protocol" {
    when "rt:type = 'isis:isis'";
    container isis {
      ...
      leaf-list area-address {
        type area-address;
        min-elements 1;
        ...
      }
   }
}

Lada

-- 
Ladislav Lhotka, CZ.NIC Labs
PGP Key ID: E74E8C0C