Juergen Schoenwaelder <[email protected]> wrote: > I think some thought should also be given to simplify the references. > Right now, in order to refer to a termination point, I have to use a > triple (network-ref, node-ref, tp-ref). Have you considered using an > instance-identifier with require-instance instead? One option would be > to define proper typedefs such as > > typedef tp-ref { > type instance-identifier { require-instance } > description > "An instance identifier refering to a termination point." > } > > and then things can be collapsed. One would likely do the same for > other model elements, that is introduce typdefs for node-ref, link-ref > network-ref. This will make the tree much more compact.
There are two drawbacks with this scheme. First, the model is less precise. An instance-identifier can refer to anything, and there is not formal constraint in the model to restrict it to a termination point. Second, even if the data model becomes more compact, the instance data with an instance-identifier is more verbose and maybe harder to read for an operator (less "direct"). (BTW, I noticed that the intended status of this document is Experiemental. Is that intentional?) /martin _______________________________________________ i2rs mailing list [email protected] https://www.ietf.org/mailman/listinfo/i2rs
