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 | |
Scott Baker | c7958a9 | 2017-07-18 11:07:00 -0700 | [diff] [blame^] | 5 | message VTRTenant (ServiceInstance){ |
Sapan Bhatia | 084c098 | 2017-04-21 14:47:40 +0200 | [diff] [blame] | 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]; |
Scott Baker | 4acbd4c | 2017-05-18 08:24:43 -0700 | [diff] [blame] | 11 | required string target_type = 6 [max_length = 1024, content_type = "stripped", blank = False, help_text = "Target type id linked to this vtrtenant", null = False, db_index = False]; |
Sapan Bhatia | 084c098 | 2017-04-21 14:47:40 +0200 | [diff] [blame] | 12 | required uint32 target_id = 7 [db_index = False, null = False, blank = False]; |
| 13 | } |
| 14 | |
| 15 | |
| 16 | message VTRService (Service){ |
| 17 | } |