Scott Baker | 4eb615b | 2017-05-05 16:55:22 -0700 | [diff] [blame] | 1 | option name = "rcord"; |
Matteo Scandolo | 7689e1c | 2018-02-23 10:53:29 -0800 | [diff] [blame] | 2 | option app_label = "rcord"; |
Matteo Scandolo | 6fef632 | 2018-02-28 14:33:40 -0800 | [diff] [blame] | 3 | option verbose_name = "RCORD Subscriber"; |
Matteo Scandolo | 62a83f0 | 2018-03-01 15:59:18 -0800 | [diff] [blame] | 4 | option legacy="True"; |
Scott Baker | 4eb615b | 2017-05-05 16:55:22 -0700 | [diff] [blame] | 5 | |
Scott Baker | c37e7a0 | 2017-07-17 17:32:20 -0700 | [diff] [blame] | 6 | message CordSubscriberRoot (ServiceInstance) { |
Matteo Scandolo | 6fef632 | 2018-02-28 14:33:40 -0800 | [diff] [blame] | 7 | option kind = "CordSubscriberRoot"; |
Scott Baker | 4eb615b | 2017-05-05 16:55:22 -0700 | [diff] [blame] | 8 | |
Matteo Scandolo | 6fef632 | 2018-02-28 14:33:40 -0800 | [diff] [blame] | 9 | 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 Scandolo | fc9d64d | 2018-03-02 10:55:43 -0800 | [diff] [blame^] | 20 | optional int32 c_tag = 12 [null = True, db_index = False, blank = False]; |
| 21 | required string olt_device = 13 [help_text = "VOLTDevice device_id", null = False, db_index = False, blank = False]; |
| 22 | required string olt_port = 14 [help_text = "VOLTDevicePort port_id", null = False, db_index = False, blank = False]; |
Scott Baker | 4eb615b | 2017-05-05 16:55:22 -0700 | [diff] [blame] | 23 | } |