blob: 6202ef425cc8c277c2ec0b645d9b5f7d18bb4833 [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";
Scott Bakere96314e2018-01-07 08:28:46 -08004option legacy="True";
Sapan Bhatia46482ee2017-04-21 17:59:48 +02005
6message VSGService (Service){
Matteo Scandolo74ba1592017-08-16 13:08:11 -07007 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 Bhatia46482ee2017-04-21 17:59:48 +020014}
15
16
Scott Baker645c0c52017-09-15 10:38:32 -070017message VSGServiceInstance (TenantWithContainer){
18 option verbose_name = "vSG Service Instance";
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}