On Tue, Jun 05, 2018 at 09:26:53AM +0000, Rohit R Ranade wrote: > The libyang parser was successfully able to parse this as a valid > data-store-ref. But conceptually this is not a valid data-store as it is an > "abstract base identity". > NETCONF Server will have to add code to send error when conventional > data-store comes in input. I would prefer if we can control this using > data-model statements then the parser can handle the error. Any thoughts ?
A server will have to respond with an error to requests that reference something (e.g., a datastore) that does not exist on that particular server. While 'conventional' likely never exists as a datastore, you sill have to check for the datastores actually supported by your implementation so the check for 'conventional' likely falls out for free anyway. /js -- Juergen Schoenwaelder Jacobs University Bremen gGmbH Phone: +49 421 200 3587 Campus Ring 1 | 28759 Bremen | Germany Fax: +49 421 200 3103 <https://www.jacobs-university.de/> _______________________________________________ netmod mailing list [email protected] https://www.ietf.org/mailman/listinfo/netmod
