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