blob: 9b4deb2c3d084549c2712152ce40c882475834d9 [file] [log] [blame]
Scott Baker4eb615b2017-05-05 16:55:22 -07001option name = "rcord";
Matteo Scandolo7689e1c2018-02-23 10:53:29 -08002option app_label = "rcord";
Matteo Scandolo62a83f02018-03-01 15:59:18 -08003option legacy="True";
Scott Baker4eb615b2017-05-05 16:55:22 -07004
Matteo Scandolod1707b32018-05-04 12:42:53 -07005message RCORDService (Service) {
6 option verbose_name = "RCORD Service";
7 required string access = 11 [help_text = "Who is managing the Access Network", default = "voltha", choices = "(('voltha', 'VOLTHA'),)", max_length = 30, blank = False, null = False, db_index = False];
8}
9
10message RCORDSubscriber (ServiceInstance) {
11 option kind = "RCORDSubscriber";
12 option verbose_name = "RCORD Subscriber";
13 option owner_class_name = "RCORDService";
Scott Baker4eb615b2017-05-05 16:55:22 -070014
Matteo Scandolocc94e902018-05-22 15:25:25 -070015 // vsg related configurations
Scott Baker9d9ddf62018-03-20 20:44:27 -070016 optional manytoone creator->User:created_rcord_subscribers = 15 [db_index = True, null = True, blank = True];
Matteo Scandolocc94e902018-05-22 15:25:25 -070017 optional bool firewall_enable = 1 [default = False, null = False, db_index = False, blank = True];
18 optional string firewall_rules = 2 [default = "accept all anywhere anywhere", null = True, db_index = False, blank = True];
19 optional bool url_filter_enable = 3 [default = False, null = False, db_index = False, blank = True];
20 optional string url_filter_rules = 4 [default = "allow all", null = True, db_index = False, blank = True];
21 optional string url_filter_level = 5 [default = "PG", max_length = 30, content_type = "stripped", blank = False, null = False, db_index = False];
22 optional bool cdn_enable = 6 [default = False, null = False, db_index = False, blank = True];
23 optional bool is_demo_user = 7 [default = False, null = False, db_index = False, blank = True];
24 optional int32 uplink_speed = 8 [default = 1000000000, null = False, db_index = False, blank = False];
25 optional int32 downlink_speed = 9 [default = 1000000000, null = False, db_index = False, blank = False];
26 optional bool enable_uverse = 10 [default = True, null = False, db_index = False, blank = True];
27 optional string status = 11 [default = "enabled", choices = "(('enabled', 'Enabled'), ('suspended', 'Suspended'), ('delinquent', 'Delinquent'), ('copyrightviolation', 'Copyright Violation'))", max_length = 30, content_type = "stripped", blank = False, null = False, db_index = False];
Matteo Scandolof5a8cf92018-04-10 14:42:21 -070028
Matteo Scandolocc94e902018-05-22 15:25:25 -070029 // parameters for r-cord lite
30 optional int32 c_tag = 12 [null = True, db_index = False, blank = False];
31 required string onu_device = 13 [help_text = "ONUDevice serial number", null = False, db_index = False, blank = False];
Matteo Scandolof5a8cf92018-04-10 14:42:21 -070032 optional int32 uni_port_id = 16 [help_text = "UNI PORT ID in VOLTHA", null = True, db_index = False, blank = False];
Matteo Scandolod1707b32018-05-04 12:42:53 -070033 optional string ip_address = 17 [help_text = "Subscriber IP Address", null = True, db_index = False, blank = False];
34 optional string mac_address = 18 [null = True, db_index = False, blank = False];
Scott Baker4eb615b2017-05-05 16:55:22 -070035}