blob: 041d7e4189d5867f8fea6915a10570411332fc1f [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 Scandolo3b672572018-06-25 14:28:36 -07009 required string app_id = 1 [db_index = False, null = False, blank = False];
Matteo Scandolo0b986e22018-06-04 14:07:33 -070010 required string dependencies = 2 [help_text="Comma separated list of required applications", db_index = False, null = True, blank = True];
11 optional string url = 3 [help_text="URL at which the application is available, if it needs to be downloaded", db_index = False, null = True, blank = False];
Matteo Scandolo3b672572018-06-25 14:28:36 -070012 optional string version = 4 [db_index = False, null = True, blank = 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 Scandolo0b986e22018-06-04 14:07:33 -070018 required string rest_hostname = 1 [db_index = False, max_length = 255, null = False, content_type = "stripped", blank = False];
Matteo Scandolo6a19ffe2017-08-17 12:22:15 -070019 required int32 rest_port = 2 [default = 8181, null = False, db_index = False, blank = False];
Matteo Scandolo0b986e22018-06-04 14:07:33 -070020 required string rest_username = 3 [db_index = False, max_length = 255, null = False, content_type = "stripped", blank = False, default="karaf"];
21 required string rest_password = 4 [db_index = False, max_length = 255, null = False, content_type = "stripped", blank = False, default="karaf"];
Sapan Bhatiaa46cc4d2017-04-21 14:57:54 +020022}