blob: 4e431691eec096ba6655b28cf7f9e8adfb3ad2c0 [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";
Matteo Scandolob4df9d42018-08-28 16:24:27 -07007 required string access = 11 [help_text = "Who is managing the Access Network", default = "voltha", choices = "(('voltha', 'VOLTHA'),)", max_length = 30, db_index = False];
Matteo Scandolod1707b32018-05-04 12:42:53 -07008}
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
Matteo Scandolob4df9d42018-08-28 16:24:27 -070016 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 Scandolof5a8cf92018-04-10 14:42:21 -070018
Matteo Scandolocc94e902018-05-22 15:25:25 -070019 // parameters for r-cord lite
Matteo Scandolob4df9d42018-08-28 16:24:27 -070020 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 Scandolo86801bd2018-08-08 08:55:18 -070025
26 // operator specific fields
27 optional string nas_port_id = 20 [db_index = False];
28 optional string circuit_id = 21 [db_index = False];
Matteo Scandolo08feda02018-08-21 14:16:16 -070029 optional string remote_id = 22 [db_index = False];
Scott Baker4eb615b2017-05-05 16:55:22 -070030}