From 2be0c8d53e4ef74e37441189f7aaa8374f8d0dfd Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Mon, 7 Dec 2020 23:25:15 -0600 Subject: adelie-services: Vastly simplify YANG model This restores the original behaviour/design. No real rationale was given for splitting into a status node other than that the server did not support returning the same node name for running and operational. It does now, so let's do this. --- doc/service.rst | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'doc') diff --git a/doc/service.rst b/doc/service.rst index b64870e..162b168 100644 --- a/doc/service.rst +++ b/doc/service.rst @@ -231,17 +231,13 @@ The data model for system services has the following structure: :: +--rw services - | +--rw service* [name] - | +--rw name string - | +--rw enabled boolean - +--ro service-status - +--ro service* [name] - +--ro name string + +--rw service* [name] + +--rw name string +--ro description? string + +--rw enabled boolean +--ro status service-status +--ro start-time? yang:date-and-time - Module ------ -- cgit v1.2.3-70-g09d2