blob: 4540f78207ea40fe985ea0fab080ab354ca7deda [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
Scott Baker645c0c52017-09-15 10:38:32 -070016message VSGServiceInstance (TenantWithContainer){
17 option verbose_name = "vSG Service Instance";
Scott Bakera2af3c72018-03-01 21:24:09 -080018 option owner_class_name="VSGService";
Matteo Scandolo74ba1592017-08-16 13:08:11 -070019
20 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 +020021}