blob: f8d5a0e70602a597e10246385ad2d4d8b3d41835 [file] [log] [blame]
Sapan Bhatia51a804c2017-05-03 17:24:37 +02001option name = "veg";
2option kind = "vEG";
3option verbose_name = "vEG Service";
Matteo Scandoloeee840e2017-09-07 09:55:07 -07004option app_label = "veg";
Sapan Bhatia51a804c2017-05-03 17:24:37 +02005
6message VEGService (Service){
Andrea Campanella2a2df422017-08-30 16:59:17 +02007 option verbose_name = "vEG 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 Bhatia51a804c2017-05-03 17:24:37 +020014}
15
16
17message VEGTenant (TenantWithContainer){
Andrea Campanella2a2df422017-08-30 16:59:17 +020018 option verbose_name = "vEG Tenant";
19 optional string last_ansible_hash = 1 [db_index = False, max_length = 128, null = True, content_type = "stripped", blank = True];
Sapan Bhatia51a804c2017-05-03 17:24:37 +020020}