blob: d0ebb1c934b02909483bafad0a3284fe31f92a8c [file] [log] [blame]
Matteo Scandolo2e8d6f52017-09-07 09:53:00 -07001option app_label = "onos";
Sapan Bhatiaa46cc4d2017-04-21 14:57:54 +02002option name="onos";
Matteo Scandolo3b672572018-06-25 14:28:36 -07003option legacy="True";
Sapan Bhatiaa46cc4d2017-04-21 14:57:54 +02004
Scott Baker8d8f9922017-07-17 17:30:42 -07005message ONOSApp (ServiceInstance){
Matteo Scandolo6a19ffe2017-08-17 12:22:15 -07006 option verbose_name="ONOS Application";
Scott Bakera2db56d2018-02-20 11:04:58 -08007 option owner_class_name="ONOSService";
Scott Bakeree4c2a02019-01-22 15:15:41 -08008 option description = "An individual application within the ONOS Service";
vigneshethiraj38353d82019-06-04 18:57:52 +05309 option sync_implemented = "True";
Matteo Scandolo6a19ffe2017-08-17 12:22:15 -070010
Scott Bakeree4c2a02019-01-22 15:15:41 -080011 required string app_id = 1 [
12 help_text="Application identifier",
13 content_type = "stripped",
Scott Bakeree4c2a02019-01-22 15:15:41 -080014 max_length = 256];
15 optional string dependencies = 2 [
16 help_text="Comma separated list of required application application ids",
17 content_type = "stripped",
Scott Bakeree4c2a02019-01-22 15:15:41 -080018 max_length = 1024];
19 optional string url = 3 [
20 help_text="URL at which the application is available, if it needs to be downloaded",
21 content_type = "stripped",
Scott Bakeree4c2a02019-01-22 15:15:41 -080022 max_length = 1024];
23 optional string version = 4 [
24 help_text="Application version number",
25 content_type = "stripped",
Scott Bakeree4c2a02019-01-22 15:15:41 -080026 max_length = 256];
Sapan Bhatiaa46cc4d2017-04-21 14:57:54 +020027}
28
Sapan Bhatiaa46cc4d2017-04-21 14:57:54 +020029message ONOSService (Service){
Matteo Scandolo6a19ffe2017-08-17 12:22:15 -070030 option verbose_name="ONOS Service";
Scott Bakeree4c2a02019-01-22 15:15:41 -080031 option description = "Manages ONOS Applications contained within the ONOS Service";
vigneshethiraj38353d82019-06-04 18:57:52 +053032 option sync_implemented = "True";
Matteo Scandolo6a19ffe2017-08-17 12:22:15 -070033
Scott Bakeree4c2a02019-01-22 15:15:41 -080034 required string rest_hostname = 1 [
35 help_text = "Hostname of ONOS Service REST endpoint",
36 content_type = "stripped",
Scott Baker294d8382019-04-09 16:12:11 -070037 max_length = 256];
Scott Bakeree4c2a02019-01-22 15:15:41 -080038 required int32 rest_port = 2 [
39 help_text = "Port numnber of ONOS Service REST endpoint",
Scott Bakeree4c2a02019-01-22 15:15:41 -080040 default = 8181];
41 required string rest_username = 3 [
42 help_text = "Username to use when authenticating to ONOS",
Scott Baker5840a932019-03-12 15:28:52 -070043 content_type = "stripped",
Scott Bakeree4c2a02019-01-22 15:15:41 -080044 default="karaf",
Scott Baker294d8382019-04-09 16:12:11 -070045 max_length = 256];
Scott Bakeree4c2a02019-01-22 15:15:41 -080046 required string rest_password = 4 [
47 help_text = "Password to use when authenticating to ONOS",
48 content_type = "stripped",
Scott Bakeree4c2a02019-01-22 15:15:41 -080049 default="karaf",
Scott Baker294d8382019-04-09 16:12:11 -070050 max_length = 256];
Sapan Bhatiaa46cc4d2017-04-21 14:57:54 +020051}