Sapan Bhatia | 084c098 | 2017-04-21 14:47:40 +0200 | [diff] [blame] | 1 | option kind="vTR"; |
Matteo Scandolo | f931a55 | 2017-09-07 09:56:46 -0700 | [diff] [blame^] | 2 | option app_label = "vtr"; |
Sapan Bhatia | 084c098 | 2017-04-21 14:47:40 +0200 | [diff] [blame] | 3 | option name="vtr"; |
Sapan Bhatia | 084c098 | 2017-04-21 14:47:40 +0200 | [diff] [blame] | 4 | |
Scott Baker | c7958a9 | 2017-07-18 11:07:00 -0700 | [diff] [blame] | 5 | message VTRTenant (ServiceInstance){ |
Matteo Scandolo | 02d2ffd | 2017-08-17 12:26:00 -0700 | [diff] [blame] | 6 | option verbose_name="Virtual Truck Roll Tenant"; |
| 7 | |
| 8 | 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]; |
| 9 | 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]; |
| 10 | optional string argument = 3 [db_index = False, max_length = 40, null = True, content_type = "stripped", blank = True]; |
| 11 | optional string result = 4 [db_index = False, null = True, blank = True]; |
| 12 | optional string result_code = 5 [db_index = False, max_length = 32, null = True, content_type = "stripped", blank = True]; |
| 13 | 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]; |
| 14 | required uint32 target_id = 7 [db_index = False, null = False, blank = False]; |
Sapan Bhatia | 084c098 | 2017-04-21 14:47:40 +0200 | [diff] [blame] | 15 | } |
| 16 | |
| 17 | |
| 18 | message VTRService (Service){ |
Matteo Scandolo | 02d2ffd | 2017-08-17 12:26:00 -0700 | [diff] [blame] | 19 | option verbose_name="Virtual Truck Roll Service"; |
Sapan Bhatia | 084c098 | 2017-04-21 14:47:40 +0200 | [diff] [blame] | 20 | } |