Matteo Scandolo | 2e8d6f5 | 2017-09-07 09:53:00 -0700 | [diff] [blame] | 1 | option app_label = "onos"; |
Sapan Bhatia | a46cc4d | 2017-04-21 14:57:54 +0200 | [diff] [blame] | 2 | option name="onos"; |
Matteo Scandolo | 3b67257 | 2018-06-25 14:28:36 -0700 | [diff] [blame] | 3 | option legacy="True"; |
Sapan Bhatia | a46cc4d | 2017-04-21 14:57:54 +0200 | [diff] [blame] | 4 | |
Scott Baker | 8d8f992 | 2017-07-17 17:30:42 -0700 | [diff] [blame] | 5 | message ONOSApp (ServiceInstance){ |
Matteo Scandolo | 6a19ffe | 2017-08-17 12:22:15 -0700 | [diff] [blame] | 6 | option verbose_name="ONOS Application"; |
Scott Baker | a2db56d | 2018-02-20 11:04:58 -0800 | [diff] [blame] | 7 | option owner_class_name="ONOSService"; |
Matteo Scandolo | 6a19ffe | 2017-08-17 12:22:15 -0700 | [diff] [blame] | 8 | |
Matteo Scandolo | 1ba5478 | 2018-08-07 10:59:11 -0700 | [diff] [blame^] | 9 | 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 Bhatia | a46cc4d | 2017-04-21 14:57:54 +0200 | [diff] [blame] | 13 | } |
| 14 | |
Sapan Bhatia | a46cc4d | 2017-04-21 14:57:54 +0200 | [diff] [blame] | 15 | message ONOSService (Service){ |
Matteo Scandolo | 6a19ffe | 2017-08-17 12:22:15 -0700 | [diff] [blame] | 16 | option verbose_name="ONOS Service"; |
| 17 | |
Matteo Scandolo | 1ba5478 | 2018-08-07 10:59:11 -0700 | [diff] [blame^] | 18 | 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 Bhatia | a46cc4d | 2017-04-21 14:57:54 +0200 | [diff] [blame] | 22 | } |