Sapan Bhatia | 084c098 | 2017-04-21 14:47:40 +0200 | [diff] [blame] | 1 | option kind="vTR"; |
| 2 | option name="vtr"; |
| 3 | option verbose_name="Virtual Truck Roll Service"; |
| 4 | |
| 5 | message VTRTenant (Tenant){ |
| 6 | required string test = 1 [choices = "(('ping', 'Ping'), ('traceroute', 'Trace Route'), ('tcpdump', 'Tcp Dump'), ('memory', 'Memory'), ('bandwidth', 'Bandwidth'))", max_length = 30, content_type = "stripped", blank = False, help_text = "type of test", null = False, db_index = False]; |
| 7 | required string scope = 2 [choices = "(('container', 'Container'), ('vm', 'VM'))", max_length = 30, content_type = "stripped", blank = False, help_text = "scope of test", null = False, db_index = False]; |
| 8 | optional string argument = 3 [db_index = False, max_length = 40, null = True, content_type = "stripped", blank = True]; |
| 9 | optional string result = 4 [db_index = False, null = True, blank = True]; |
| 10 | optional string result_code = 5 [db_index = False, max_length = 32, null = True, content_type = "stripped", blank = True]; |
| 11 | required manytoone target_type->ContentType:vtrtenant = 6 [db_index = True, null = False, blank = False]; |
| 12 | required uint32 target_id = 7 [db_index = False, null = False, blank = False]; |
| 13 | } |
| 14 | |
| 15 | |
| 16 | message VTRService (Service){ |
| 17 | } |