Ladislav Lhotka <lho...@nic.cz> wrote:
> 
> > On 24 Aug 2015, at 21:01, Martin Bjorklund <m...@tail-f.com> wrote:
> > 
> > Ladislav Lhotka <lho...@nic.cz> wrote:
> >> 
> >> On 24 Aug 2015, at 20:17, Andy Bierman <a...@yumaworks.com> wrote:
> >>> YANG does not provide any mechanism to REQUIRE  modules A and B
> >>> to both be implemented on a server.  You may think it should, but
> >>> currently the YANG conformance is for an individual module.
> >> 
> >> There are sections on conformance and conformance announcement, and
> >> they say nothing like this.
> > 
> > No Andy is correct, except that if module A augments module B, then a
> > server that implements A MUST also implement B.
> 
> Of course, there is no way how to learn about all modules in the known
> universe that augment B, but I’ve been always talking about the
> situation where the server advertises *both* A and B.
> 
> I hope we all agree that the server then does implement A and B, and
> both modules are part of the data model.
> 
> > 
> > But I don't understand what this has to do with the issue.
> 
> Right, so what’s your answer to my question? Is the datastore where
> “foo” is missing valid or not?

The data model was:

  augment "/if:interfaces" {
    container top {
      must "foo";
      leaf accept {
        type boolean;
        default true;
      }
      leaf foo {
        type empty;
      }
    }
  }

and with current 6020bis, which includes Y41-01, this indeed has the
same effect as augmenting a mandatory node.


/martin
_______________________________________________
netmod mailing list
netmod@ietf.org
https://www.ietf.org/mailman/listinfo/netmod

Reply via email to