blob: 62bbb0bccd44625723aaccb148c4a75bc414b168 [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 Scandolo6fef6322018-02-28 14:33:40 -08003option verbose_name = "RCORD Subscriber";
Matteo Scandolo62a83f02018-03-01 15:59:18 -08004option legacy="True";
Scott Baker4eb615b2017-05-05 16:55:22 -07005
Scott Bakerc37e7a02017-07-17 17:32:20 -07006message CordSubscriberRoot (ServiceInstance) {
Matteo Scandolo6fef6322018-02-28 14:33:40 -08007 option kind = "CordSubscriberRoot";
Scott Baker4eb615b2017-05-05 16:55:22 -07008
Matteo Scandolo6fef6322018-02-28 14:33:40 -08009 required bool firewall_enable = 1 [default = False, null = False, db_index = False, blank = True];
10 optional string firewall_rules = 2 [default = "accept all anywhere anywhere", null = True, db_index = False, blank = True];
11 required bool url_filter_enable = 3 [default = False, null = False, db_index = False, blank = True];
12 optional string url_filter_rules = 4 [default = "allow all", null = True, db_index = False, blank = True];
13 required string url_filter_level = 5 [default = "PG", max_length = 30, content_type = "stripped", blank = False, null = False, db_index = False];
14 required bool cdn_enable = 6 [default = False, null = False, db_index = False, blank = True];
15 required bool is_demo_user = 7 [default = False, null = False, db_index = False, blank = True];
16 required int32 uplink_speed = 8 [default = 1000000000, null = False, db_index = False, blank = False];
17 required int32 downlink_speed = 9 [default = 1000000000, null = False, db_index = False, blank = False];
18 required bool enable_uverse = 10 [default = True, null = False, db_index = False, blank = True];
19 required 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 Scandolofc9d64d2018-03-02 10:55:43 -080020 optional int32 c_tag = 12 [null = True, db_index = False, blank = False];
Matteo Scandolof5a8cf92018-04-10 14:42:21 -070021 required string olt_device = 13 [help_text = "OLTDevice name", null = False, db_index = False, blank = False];
22 required string olt_port = 14 [help_text = "OLTDevicePort name", null = False, db_index = False, blank = False];
Scott Baker9d9ddf62018-03-20 20:44:27 -070023 optional manytoone creator->User:created_rcord_subscribers = 15 [db_index = True, null = True, blank = True];
Matteo Scandolof5a8cf92018-04-10 14:42:21 -070024
25 optional int32 uni_port_id = 16 [help_text = "UNI PORT ID in VOLTHA", null = True, db_index = False, blank = False];
26 optional string ip_address = 17 [help_text = "Subscriber IP Address", null = False, db_index = False, blank = False];
27 optional string switch_datapath_id = 18 [help_text = "Fabric switch to which the OLT is connected", null = False, db_index = False, blank = False];
28
Scott Baker4eb615b2017-05-05 16:55:22 -070029}