blob: 9dfe7df2956b2799c02e5ad4ccb3730d42df6d81 [file] [log] [blame]
Sapan Bhatia084c0982017-04-21 14:47:40 +02001option kind="vTR";
Matteo Scandolo39d789f2017-09-07 09:56:46 -07002option app_label = "vtr";
Sapan Bhatia084c0982017-04-21 14:47:40 +02003option name="vtr";
Sapan Bhatia084c0982017-04-21 14:47:40 +02004
Scott Bakerc7958a92017-07-18 11:07:00 -07005message VTRTenant (ServiceInstance){
Matteo Scandolo02d2ffd2017-08-17 12:26:00 -07006 option verbose_name="Virtual Truck Roll Tenant";
Scott Baker32f9c052018-02-20 10:25:51 -08007 option owner_class_name="VTRService";
Matteo Scandolo02d2ffd2017-08-17 12:26:00 -07008
9 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];
10 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];
11 optional string argument = 3 [db_index = False, max_length = 40, null = True, content_type = "stripped", blank = True];
12 optional string result = 4 [db_index = False, null = True, blank = True];
13 optional string result_code = 5 [db_index = False, max_length = 32, null = True, content_type = "stripped", blank = True];
14 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];
15 required uint32 target_id = 7 [db_index = False, null = False, blank = False];
Sapan Bhatia084c0982017-04-21 14:47:40 +020016}
17
18
19message VTRService (Service){
Matteo Scandolo02d2ffd2017-08-17 12:26:00 -070020 option verbose_name="Virtual Truck Roll Service";
Sapan Bhatia084c0982017-04-21 14:47:40 +020021}