blob: e3b553a73448718b580ecdc85f4b3a076fc82c19 [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";
Matteo Scandolo6a19ffe2017-08-17 12:22:15 -07008
Matteo Scandolo1ba54782018-08-07 10:59:11 -07009 required string app_id = 1 [db_index = False];
10 optional string dependencies = 2 [help_text="Comma separated list of required applications", db_index = False];
11 optional string url = 3 [help_text="URL at which the application is available, if it needs to be downloaded", db_index = False];
12 optional string version = 4 [db_index = False];
Sapan Bhatiaa46cc4d2017-04-21 14:57:54 +020013}
14
Sapan Bhatiaa46cc4d2017-04-21 14:57:54 +020015message ONOSService (Service){
Matteo Scandolo6a19ffe2017-08-17 12:22:15 -070016 option verbose_name="ONOS Service";
17
Matteo Scandolo1ba54782018-08-07 10:59:11 -070018 required string rest_hostname = 1 [db_index = False, max_length = 255, content_type = "stripped"];
19 required int32 rest_port = 2 [default = 8181, db_index = False];
20 required string rest_username = 3 [db_index = False, max_length = 255, content_type = "stripped", default="karaf"];
21 required string rest_password = 4 [db_index = False, max_length = 255, content_type = "stripped", default="karaf"];
Sapan Bhatiaa46cc4d2017-04-21 14:57:54 +020022}