blob: 72e7b1b5acd77b993ea17c5129d589bb6d1c9316 [file] [log] [blame]
Sapan Bhatia46482ee2017-04-21 17:59:48 +02001option name = "vsg";
2option app_label = "vsg";
Sapan Bhatia46482ee2017-04-21 17:59:48 +02003option kind = "vCPE";
4
5message VSGService (Service){
Matteo Scandolo74ba1592017-08-16 13:08:11 -07006 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 Bhatia46482ee2017-04-21 17:59:48 +020013}
14
15
16message VSGTenant (TenantWithContainer){
Matteo Scandolo74ba1592017-08-16 13:08:11 -070017 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 Bhatia46482ee2017-04-21 17:59:48 +020020}