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"; |
Matteo Scandolo | b4df9d4 | 2018-08-28 16:24:27 -0700 | [diff] [blame^] | 7 | required string access = 11 [help_text = "Who is managing the Access Network", default = "voltha", choices = "(('voltha', 'VOLTHA'),)", max_length = 30, db_index = False]; |
Matteo Scandolo | d1707b3 | 2018-05-04 12:42:53 -0700 | [diff] [blame] | 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 | cc94e90 | 2018-05-22 15:25:25 -0700 | [diff] [blame] | 15 | // vsg related configurations |
Matteo Scandolo | b4df9d4 | 2018-08-28 16:24:27 -0700 | [diff] [blame^] | 16 | optional manytoone creator->User:created_rcord_subscribers = 15 [db_index = True]; |
| 17 | optional string status = 11 [default = "enabled", choices = "(('enabled', 'Enabled'), ('disabled', 'Disabled'), ('pre-provisioned', 'Pre Provisioned'), ('awaiting-auth', 'Awaiting Authentication'), ('auth-failed', 'Authentication Failed'))", max_length = 30, content_type = "stripped", db_index = False]; |
Matteo Scandolo | f5a8cf9 | 2018-04-10 14:42:21 -0700 | [diff] [blame] | 18 | |
Matteo Scandolo | cc94e90 | 2018-05-22 15:25:25 -0700 | [diff] [blame] | 19 | // parameters for r-cord lite |
Matteo Scandolo | b4df9d4 | 2018-08-28 16:24:27 -0700 | [diff] [blame^] | 20 | optional int32 c_tag = 12 [db_index = False, min_value = 0, max_value = 4096]; |
| 21 | optional int32 s_tag = 19 [db_index = False, min_value = 0, max_value = 4096]; |
| 22 | required string onu_device = 13 [help_text = "ONUDevice serial number", db_index = False]; |
| 23 | optional string ip_address = 17 [help_text = "Subscriber IP Address", db_index = False]; |
| 24 | optional string mac_address = 18 [db_index = False]; |
Matteo Scandolo | 86801bd | 2018-08-08 08:55:18 -0700 | [diff] [blame] | 25 | |
| 26 | // operator specific fields |
| 27 | optional string nas_port_id = 20 [db_index = False]; |
| 28 | optional string circuit_id = 21 [db_index = False]; |
Matteo Scandolo | 08feda0 | 2018-08-21 14:16:16 -0700 | [diff] [blame] | 29 | optional string remote_id = 22 [db_index = False]; |
Scott Baker | 4eb615b | 2017-05-05 16:55:22 -0700 | [diff] [blame] | 30 | } |