Sapan Bhatia | 46482ee | 2017-04-21 17:59:48 +0200 | [diff] [blame] | 1 | option name = "vsg"; |
| 2 | option app_label = "vsg"; |
Sapan Bhatia | 46482ee | 2017-04-21 17:59:48 +0200 | [diff] [blame] | 3 | option kind = "vCPE"; |
| 4 | |
| 5 | message VSGService (Service){ |
Matteo Scandolo | 74ba159 | 2017-08-16 13:08:11 -0700 | [diff] [blame^] | 6 | option verbose_name = "vSG Service"; |
| 7 | |
| 8 | 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]; |
| 9 | required string dns_servers = 2 [default = "8.8.8.8", max_length = 255, content_type = "stripped", blank = False, null = False, db_index = False]; |
| 10 | optional string node_label = 3 [db_index = False, max_length = 30, null = True, content_type = "stripped", blank = True]; |
| 11 | required string docker_image_name = 4 [default = "docker.io/xosproject/vsg", max_length = 255, content_type = "stripped", blank = False, null = False, db_index = False]; |
| 12 | required bool docker_insecure_registry = 5 [default = False, null = False, db_index = False, blank = True]; |
Sapan Bhatia | 46482ee | 2017-04-21 17:59:48 +0200 | [diff] [blame] | 13 | } |
| 14 | |
| 15 | |
| 16 | message VSGTenant (TenantWithContainer){ |
Matteo Scandolo | 74ba159 | 2017-08-16 13:08:11 -0700 | [diff] [blame^] | 17 | option verbose_name = "vSG Tenant"; |
| 18 | |
| 19 | optional string last_ansible_hash = 1 [db_index = False, max_length = 128, null = True, content_type = "stripped", blank = True]; |
Sapan Bhatia | 46482ee | 2017-04-21 17:59:48 +0200 | [diff] [blame] | 20 | } |