Matteo Scandolo | e2ba734 | 2017-03-30 10:29:44 -0700 | [diff] [blame] | 1 | message VTRTenant { |
| 2 | optional string name = 1 [db_index = False, max_length = 200, null = True, content_type = "stripped", blank = True]; |
| 3 | required string kind = 2 [default = "generic", max_length = 30, content_type = "stripped", blank = False, null = False, db_index = False]; |
| 4 | required manytoone provider_service->Service:provided_tenants = 3 [db_index = True, null = False, blank = False]; |
| 5 | optional manytoone subscriber_service->Service:subscribed_tenants = 4 [db_index = True, null = True, blank = True]; |
| 6 | optional manytoone subscriber_tenant->Tenant:subscribed_tenants = 5 [db_index = True, null = True, blank = True]; |
| 7 | optional manytoone subscriber_user->User:subscribed_tenants = 6 [db_index = True, null = True, blank = True]; |
| 8 | optional manytoone subscriber_root->TenantRoot:subscribed_tenants = 7 [db_index = True, null = True, blank = True]; |
| 9 | optional manytoone subscriber_network->Network:subscribed_tenants = 8 [db_index = True, null = True, blank = True]; |
| 10 | optional string service_specific_id = 9 [db_index = False, max_length = 30, null = True, content_type = "stripped", blank = True]; |
| 11 | optional string service_specific_attribute = 10 [db_index = False, null = True, blank = True]; |
| 12 | required string connect_method = 11 [default = "na", choices = "(('public', 'Public'), ('private', 'Private'), ('private-unidirectional', 'Private Unidirectional'), ('na', 'Not Applicable'))", max_length = 30, blank = False, null = False, db_index = False]; |
| 13 | required string test = 12 [choices = "(('ping', 'Ping'), ('traceroute', 'Trace Route'), ('tcpdump', 'Tcp Dump'))", max_length = 30, content_type = "stripped", blank = False, help_text = "type of test", null = False, db_index = False]; |
| 14 | required string scope = 13 [choices = "(('container', 'Container'), ('vm', 'VM'))", max_length = 30, content_type = "stripped", blank = False, help_text = "scope of test", null = False, db_index = False]; |
| 15 | optional string argument = 14 [db_index = False, max_length = 40, null = True, content_type = "stripped", blank = True]; |
| 16 | optional string result = 15 [db_index = False, null = True, blank = True]; |
| 17 | optional string result_code = 16 [db_index = False, max_length = 32, null = True, content_type = "stripped", blank = True]; |
| 18 | required manytoone target_type->ContentType:vtrtenant = 17 [db_index = True, null = False, blank = False]; |
| 19 | required uint32 target_id = 18 [db_index = False, null = False, blank = False]; |
| 20 | } |