[CORD-2641] Converting M-CORD Subscriber to _decl and adding ue status
Change-Id: I46617c683d04a6a87d0ba91b54a8613642d2e073
diff --git a/xos/models/mcord.xproto b/xos/models/mcord.xproto
index b64aa65..bbbc84e 100644
--- a/xos/models/mcord.xproto
+++ b/xos/models/mcord.xproto
@@ -1,5 +1,6 @@
option app_label = "mcord";
option name = "mcord";
+option legacy = "True";
message MCordSubscriberService (Service) {
option verbose_name = "MCORD Service";
@@ -7,9 +8,10 @@
}
message MCordSubscriberInstance (ServiceInstance) {
- option verbose_name = "MCORD Subscriber";
- option description = "This model holds the informations of a Mobile Subscriber in CORD";
+ option verbose_name = "MCORD Subscriber";
+ option description = "This model holds the informations of a Mobile Subscriber in CORD";
- required string imsi_number = 1 [max_length = 30, content_type = "stripped", blank = False, null = False, db_index = False];
- required string apn_number = 1 [max_length = 30, content_type = "stripped", blank = False, null = False, db_index = False];
+ required string imsi_number = 1 [max_length = 30, content_type = "stripped", blank = False, null = False, db_index = False];
+ optional string apn_number = 2 [max_length = 30, content_type = "stripped", blank = True, null = True, db_index = False];
+ optional int32 ue_status = 3 [max_length = 30, choices = "(('0', 'Detached'), ('1', 'Attached'))", blank = True, null = True, db_index = False];
}