blob: c5cfc56a0c710c1a7104e9e26514a68dbce95231 [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
9 optional string install_dependencies = 1 [db_index = False, null = True, blank = True];
10 optional string dependencies = 2 [db_index = False, null = True, blank = True];
Sapan Bhatiaa46cc4d2017-04-21 14:57:54 +020011}
12
Sapan Bhatiaa46cc4d2017-04-21 14:57:54 +020013message ONOSService (Service){
Matteo Scandolo6a19ffe2017-08-17 12:22:15 -070014 option verbose_name="ONOS Service";
15
16 optional string rest_hostname = 1 [db_index = False, max_length = 255, null = True, content_type = "stripped", blank = True];
17 required int32 rest_port = 2 [default = 8181, null = False, db_index = False, blank = False];
18 required bool no_container = 3 [default = False, null = False, db_index = False, blank = True];
19 optional string node_key = 4 [db_index = False, max_length = 1024, null = True, content_type = "stripped", blank = True];
20 optional string rest_username = 5 [db_index = False, max_length = 255, null = True, content_type = "stripped", blank = True, default="karaf"];
21 optional string rest_password = 6 [db_index = False, max_length = 255, null = True, content_type = "stripped", blank = True, default="karaf"];
Sapan Bhatiaa46cc4d2017-04-21 14:57:54 +020022}