From 560961dc99322aeedd245764dff41624d4d0eb4a Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Tue, 23 Jun 2020 21:24:35 -0500 Subject: JSON: Add service support --- devel/image.yang | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'devel') diff --git a/devel/image.yang b/devel/image.yang index cd0069c..15af9f4 100644 --- a/devel/image.yang +++ b/devel/image.yang @@ -26,6 +26,9 @@ module horizon-image { revision 2020-06-22 { description "Add PPPoE configuration support." } + revision 2020-06-23 { + description "Add service enablement." + } typedef architecture { type enumeration { @@ -238,6 +241,20 @@ module horizon-image { type boolean; default false; } + container services { + list service { + key "service"; + + leaf service { + type string; + description "The name of the service to enable."; + } + leaf runlevel { + type string; + description "The runlevel to enable the service."; + } + } + } leaf netconfig { type netconfigtype; description -- cgit v1.2.3-60-g2f50