Sapan Bhatia | a46cc4d | 2017-04-21 14:57:54 +0200 | [diff] [blame] | 1 | option kind="onos"; |
| 2 | option name="onos"; |
| 3 | option verbose_name="ONOS Service"; |
| 4 | |
| 5 | message ONOSApp (Tenant){ |
| 6 | optional string install_dependencies = 1 [db_index = False, null = True, blank = True]; |
| 7 | optional string dependencies = 2 [db_index = False, null = True, blank = True]; |
| 8 | optional manytoone creator->User:onos_apps = 3 [db_index = True, null = True, blank = True]; |
| 9 | } |
| 10 | |
| 11 | |
| 12 | message ONOSService (Service){ |
| 13 | optional string rest_hostname = 1 [db_index = False, max_length = 255, null = True, content_type = "stripped", blank = True]; |
| 14 | required int32 rest_port = 2 [default = 8181, null = False, db_index = False, blank = False]; |
| 15 | required bool no_container = 3 [default = False, null = False, db_index = False, blank = True]; |
| 16 | optional string node_key = 4 [db_index = False, max_length = 1024, null = True, content_type = "stripped", blank = True]; |
| 17 | } |