Hi all! The use case I think about is as follows:
A configuration node in a YANG model is effective only after a system-restart (i.e. not only a restart of the NETCONF server). Now I would like to see from a YANG model if a system-restart actually has to be carried out for that node. E.g. as system operator I would like to know from the model only if I have to wait and poll for the operational state resulting from the configuration, or if I have to actively restart the system. At the end, I would like to publish a YANG model such that the model's user is able to derive his or her actions only from that model without further studying any documentation. Modelling how to perform a system-restart is easy, as I have seen in the draft "Factory default Setting". Recognising its necessity is the difficulty here. What would be the best practice here? I can think about three options: 1) Explicitly modelling the property "system-restart needed", e.g. by a leaf next to the configuration node. 2) Providing a YANG module listing all configuration nodes requiring a system-restart. 3) Using the startup datastore. However, as the conventional configuration datastores have all the same datastore schema, there seems to be no possibility to see the property "system-start needed". Otherwise, it could have been modelled by a configuration node in the startup datastore, and as status node in all other datastores. I highly appreciate any hints. - Thanks. Regards, Wolfgang --- Dr. Wolfgang Hauck Engineering Data Acquisition and Processing - Lead Architect ETAS GmbH, ETAS-DAP/XPC-Fe6 Borsigstraße 24, 70469 Stuttgart, Germany www.etas.com ETAS - Empowering Tomorrow's Automotive Software Managing Directors: Christoph Hartung, Günter Gromeier, Götz Nigge Chairman of the Supervisory Board: Dr. Walter Schirm Registered Office: Stuttgart, Registration Court: Amtsgericht Stuttgart, HRB: 19033 _______________________________________________ netmod mailing list [email protected] https://www.ietf.org/mailman/listinfo/netmod
