Sapan Bhatia | 51a804c | 2017-05-03 17:24:37 +0200 | [diff] [blame] | 1 | option name = "veg"; |
| 2 | option kind = "vEG"; |
| 3 | option verbose_name = "vEG Service"; |
Matteo Scandolo | eee840e | 2017-09-07 09:55:07 -0700 | [diff] [blame] | 4 | option app_label = "veg"; |
Sapan Bhatia | 51a804c | 2017-05-03 17:24:37 +0200 | [diff] [blame] | 5 | |
| 6 | message VEGService (Service){ |
Andrea Campanella | 2a2df42 | 2017-08-30 16:59:17 +0200 | [diff] [blame^] | 7 | option verbose_name = "vEG Service"; |
| 8 | |
| 9 | optional string url_filter_kind = 1 [choices = "((None, 'None'), ('safebrowsing', 'Safe Browsing'), ('answerx', 'AnswerX'))", max_length = 30, content_type = "stripped", blank = True, null = True, db_index = False]; |
| 10 | required string dns_servers = 2 [default = "8.8.8.8", max_length = 255, content_type = "stripped", blank = False, null = False, db_index = False]; |
| 11 | optional string node_label = 3 [db_index = False, max_length = 30, null = True, content_type = "stripped", blank = True]; |
| 12 | required string docker_image_name = 4 [default = "docker.io/xosproject/vsg", max_length = 255, content_type = "stripped", blank = False, null = False, db_index = False]; |
| 13 | required bool docker_insecure_registry = 5 [default = False, null = False, db_index = False, blank = True]; |
Sapan Bhatia | 51a804c | 2017-05-03 17:24:37 +0200 | [diff] [blame] | 14 | } |
| 15 | |
| 16 | |
| 17 | message VEGTenant (TenantWithContainer){ |
Andrea Campanella | 2a2df42 | 2017-08-30 16:59:17 +0200 | [diff] [blame^] | 18 | option verbose_name = "vEG Tenant"; |
| 19 | optional string last_ansible_hash = 1 [db_index = False, max_length = 128, null = True, content_type = "stripped", blank = True]; |
Sapan Bhatia | 51a804c | 2017-05-03 17:24:37 +0200 | [diff] [blame] | 20 | } |