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