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"; |
Scott Baker | ee4c2a0 | 2019-01-22 15:15:41 -0800 | [diff] [blame] | 8 | option description = "An individual application within the ONOS Service"; |
Matteo Scandolo | 6a19ffe | 2017-08-17 12:22:15 -0700 | [diff] [blame] | 9 | |
Scott Baker | ee4c2a0 | 2019-01-22 15:15:41 -0800 | [diff] [blame] | 10 | required string app_id = 1 [ |
| 11 | help_text="Application identifier", |
| 12 | content_type = "stripped", |
Scott Baker | ee4c2a0 | 2019-01-22 15:15:41 -0800 | [diff] [blame] | 13 | max_length = 256]; |
| 14 | optional string dependencies = 2 [ |
| 15 | help_text="Comma separated list of required application application ids", |
| 16 | content_type = "stripped", |
Scott Baker | ee4c2a0 | 2019-01-22 15:15:41 -0800 | [diff] [blame] | 17 | max_length = 1024]; |
| 18 | optional string url = 3 [ |
| 19 | help_text="URL at which the application is available, if it needs to be downloaded", |
| 20 | content_type = "stripped", |
Scott Baker | ee4c2a0 | 2019-01-22 15:15:41 -0800 | [diff] [blame] | 21 | max_length = 1024]; |
| 22 | optional string version = 4 [ |
| 23 | help_text="Application version number", |
| 24 | content_type = "stripped", |
Scott Baker | ee4c2a0 | 2019-01-22 15:15:41 -0800 | [diff] [blame] | 25 | max_length = 256]; |
Sapan Bhatia | a46cc4d | 2017-04-21 14:57:54 +0200 | [diff] [blame] | 26 | } |
| 27 | |
Sapan Bhatia | a46cc4d | 2017-04-21 14:57:54 +0200 | [diff] [blame] | 28 | message ONOSService (Service){ |
Matteo Scandolo | 6a19ffe | 2017-08-17 12:22:15 -0700 | [diff] [blame] | 29 | option verbose_name="ONOS Service"; |
Scott Baker | ee4c2a0 | 2019-01-22 15:15:41 -0800 | [diff] [blame] | 30 | option description = "Manages ONOS Applications contained within the ONOS Service"; |
Matteo Scandolo | 6a19ffe | 2017-08-17 12:22:15 -0700 | [diff] [blame] | 31 | |
Scott Baker | ee4c2a0 | 2019-01-22 15:15:41 -0800 | [diff] [blame] | 32 | required string rest_hostname = 1 [ |
| 33 | help_text = "Hostname of ONOS Service REST endpoint", |
| 34 | content_type = "stripped", |
Scott Baker | ee4c2a0 | 2019-01-22 15:15:41 -0800 | [diff] [blame] | 35 | max_length = 255]; |
| 36 | required int32 rest_port = 2 [ |
| 37 | help_text = "Port numnber of ONOS Service REST endpoint", |
Scott Baker | ee4c2a0 | 2019-01-22 15:15:41 -0800 | [diff] [blame] | 38 | default = 8181]; |
| 39 | required string rest_username = 3 [ |
| 40 | help_text = "Username to use when authenticating to ONOS", |
Scott Baker | 5840a93 | 2019-03-12 15:28:52 -0700 | [diff] [blame] | 41 | content_type = "stripped", |
Scott Baker | ee4c2a0 | 2019-01-22 15:15:41 -0800 | [diff] [blame] | 42 | default="karaf", |
| 43 | max_length = 255]; |
| 44 | required string rest_password = 4 [ |
| 45 | help_text = "Password to use when authenticating to ONOS", |
| 46 | content_type = "stripped", |
Scott Baker | ee4c2a0 | 2019-01-22 15:15:41 -0800 | [diff] [blame] | 47 | default="karaf", |
| 48 | max_length = 255]; |
Sapan Bhatia | a46cc4d | 2017-04-21 14:57:54 +0200 | [diff] [blame] | 49 | } |