How does validation work if a union has multiple leafref/instance-identifier 
types with default "require-instance true"?  For instance:

typedef foo {
  type leafref {
    path "/widgets/name";
    require-instance true;
  }
}

typedef bar {
  type instance-identifier {
    require-instance true;
  }
}

leaf baz {
  type union {
    type foo;
    type bar;
  }
}


The general validation approach is to step thru the various union types until 
first match or no match.  But when there are multiple "require-instance true" 
types, will validation succeed only if all match?


_______________________________________________
netmod mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to