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"; |
Scott Baker | e96314e | 2018-01-07 08:28:46 -0800 | [diff] [blame] | 4 | option legacy="True"; |
Sapan Bhatia | 46482ee | 2017-04-21 17:59:48 +0200 | [diff] [blame] | 5 | |
| 6 | message VSGService (Service){ |
Matteo Scandolo | 74ba159 | 2017-08-16 13:08:11 -0700 | [diff] [blame] | 7 | option verbose_name = "vSG 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 | 46482ee | 2017-04-21 17:59:48 +0200 | [diff] [blame] | 14 | } |
| 15 | |
| 16 | |
Scott Baker | 645c0c5 | 2017-09-15 10:38:32 -0700 | [diff] [blame] | 17 | message VSGServiceInstance (TenantWithContainer){ |
| 18 | option verbose_name = "vSG Service Instance"; |
Scott Baker | a2af3c7 | 2018-03-01 21:24:09 -0800 | [diff] [blame^] | 19 | option owner_class_name="VSGService"; |
Matteo Scandolo | 74ba159 | 2017-08-16 13:08:11 -0700 | [diff] [blame] | 20 | |
| 21 | 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] | 22 | } |