[SEBA-126] Adding min/max values for c/s tags
Change-Id: I504540aba8dd2adc85abd95a0ff775cbf8667a51
diff --git a/Dockerfile.synchronizer b/Dockerfile.synchronizer
index e824b95..c9e69fe 100644
--- a/Dockerfile.synchronizer
+++ b/Dockerfile.synchronizer
@@ -16,7 +16,7 @@
# docker build -t xosproject/rcord-synchronizer:candidate -f Dockerfile.synchronizer .
# xosproject/rcord-synchronizer
-FROM xosproject/xos-synchronizer-base:2.0.0
+FROM xosproject/xos-synchronizer-base:master
COPY xos/synchronizer /opt/xos/synchronizers/rcord
COPY VERSION /opt/xos/synchronizers/rcord/
diff --git a/xos/synchronizer/models/rcord.xproto b/xos/synchronizer/models/rcord.xproto
index 6fb1bb8..3ee5c21 100644
--- a/xos/synchronizer/models/rcord.xproto
+++ b/xos/synchronizer/models/rcord.xproto
@@ -17,8 +17,8 @@
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", blank = False, null = False, db_index = False];
// parameters for r-cord lite
- optional int32 c_tag = 12 [null = True, db_index = False, blank = False];
- optional int32 s_tag = 19 [null = True, db_index = False, blank = False];
+ optional int32 c_tag = 12 [null = True, db_index = False, blank = False, min_value = 0, max_value = 4096];
+ optional int32 s_tag = 19 [null = True, db_index = False, blank = False, min_value = 0, max_value = 4096];
required string onu_device = 13 [help_text = "ONUDevice serial number", null = False, db_index = False, blank = False];
optional string ip_address = 17 [help_text = "Subscriber IP Address", null = True, db_index = False, blank = False];
optional string mac_address = 18 [null = True, db_index = False, blank = False];