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 | 62a83f0 | 2018-03-01 15:59:18 -0800 | [diff] [blame] | 3 | option legacy="True"; |
Scott Baker | 4eb615b | 2017-05-05 16:55:22 -0700 | [diff] [blame] | 4 | |
Matteo Scandolo | d1707b3 | 2018-05-04 12:42:53 -0700 | [diff] [blame] | 5 | message 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 | |
| 10 | message RCORDSubscriber (ServiceInstance) { |
| 11 | option kind = "RCORDSubscriber"; |
| 12 | option verbose_name = "RCORD Subscriber"; |
| 13 | option owner_class_name = "RCORDService"; |
Scott Baker | 4eb615b | 2017-05-05 16:55:22 -0700 | [diff] [blame] | 14 | |
Matteo Scandolo | 6fef632 | 2018-02-28 14:33:40 -0800 | [diff] [blame] | 15 | required bool firewall_enable = 1 [default = False, null = False, db_index = False, blank = True]; |
| 16 | optional string firewall_rules = 2 [default = "accept all anywhere anywhere", null = True, db_index = False, blank = True]; |
| 17 | required bool url_filter_enable = 3 [default = False, null = False, db_index = False, blank = True]; |
| 18 | optional string url_filter_rules = 4 [default = "allow all", null = True, db_index = False, blank = True]; |
| 19 | required string url_filter_level = 5 [default = "PG", max_length = 30, content_type = "stripped", blank = False, null = False, db_index = False]; |
| 20 | required bool cdn_enable = 6 [default = False, null = False, db_index = False, blank = True]; |
| 21 | required bool is_demo_user = 7 [default = False, null = False, db_index = False, blank = True]; |
| 22 | required int32 uplink_speed = 8 [default = 1000000000, null = False, db_index = False, blank = False]; |
| 23 | required int32 downlink_speed = 9 [default = 1000000000, null = False, db_index = False, blank = False]; |
| 24 | required bool enable_uverse = 10 [default = True, null = False, db_index = False, blank = True]; |
| 25 | 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] | 26 | optional int32 c_tag = 12 [null = True, db_index = False, blank = False]; |
Matteo Scandolo | f5a8cf9 | 2018-04-10 14:42:21 -0700 | [diff] [blame] | 27 | required string olt_device = 13 [help_text = "OLTDevice name", null = False, db_index = False, blank = False]; |
| 28 | required string olt_port = 14 [help_text = "OLTDevicePort name", null = False, db_index = False, blank = False]; |
Scott Baker | 9d9ddf6 | 2018-03-20 20:44:27 -0700 | [diff] [blame] | 29 | optional manytoone creator->User:created_rcord_subscribers = 15 [db_index = True, null = True, blank = True]; |
Matteo Scandolo | f5a8cf9 | 2018-04-10 14:42:21 -0700 | [diff] [blame] | 30 | |
| 31 | optional int32 uni_port_id = 16 [help_text = "UNI PORT ID in VOLTHA", null = True, db_index = False, blank = False]; |
Matteo Scandolo | d1707b3 | 2018-05-04 12:42:53 -0700 | [diff] [blame] | 32 | optional string ip_address = 17 [help_text = "Subscriber IP Address", null = True, db_index = False, blank = False]; |
| 33 | optional string mac_address = 18 [null = True, db_index = False, blank = False]; |
Scott Baker | 4eb615b | 2017-05-05 16:55:22 -0700 | [diff] [blame] | 34 | } |