blob: 726702dc978a82821ede7f847cc4244089ab31d9 [file] [log] [blame]
Sapan Bhatiaa46cc4d2017-04-21 14:57:54 +02001option kind="onos";
Matteo Scandolo2e8d6f52017-09-07 09:53:00 -07002option app_label = "onos";
Sapan Bhatiaa46cc4d2017-04-21 14:57:54 +02003option name="onos";
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 Scandolo0b986e22018-06-04 14:07:33 -07009 optional string app_id = 1 [db_index = False, null = True, blank = False];
10 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];
12 required 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}