SEBA-566 Add linting and fix errors in tt-workflow-driver
Change-Id: Id61efa0d4fc654963df4c93170555c975731c894
diff --git a/xos/synchronizer/models/tt-workflow-driver.xproto b/xos/synchronizer/models/tt-workflow-driver.xproto
index 2b6c889..3aca987 100644
--- a/xos/synchronizer/models/tt-workflow-driver.xproto
+++ b/xos/synchronizer/models/tt-workflow-driver.xproto
@@ -14,12 +14,12 @@
required string serial_number = 2 [
help_text = "Serial number of ONU",
- max_length = 254,
+ max_length = 256,
tosca_key=True,
unique = True];
required string of_dpid = 4 [
help_text = "OLT Openflow ID",
- max_length = 254];
+ max_length = 256];
required int32 uni_port_id = 5 [
help_text = "ONU UNI port ID"];
required string onu_state = 6 [
@@ -27,13 +27,13 @@
choices = "(('AWAITING', 'Awaiting'), ('ENABLED', 'Enabled'), ('DISABLED', 'Disabled'))",
default = "AWAITING",
feedback_state = True,
- max_length = 254];
+ max_length = 256];
optional string status_message = 7 [
help_text = "Status text of current state machine state",
default = "",
- max_length = 254];
+ max_length = 256];
required string dhcp_state = 8 [
- max_length = 254,
+ max_length = 256,
default = "AWAITING",
choices = "(('AWAITING', 'Awaiting'), ('DHCPDISCOVER', 'DHCPDISCOVER'), ('DHCPACK', 'DHCPACK'), ('DHCPREQUEST', 'DHCPREQUEST'))",
feedback_state = True];
@@ -58,7 +58,7 @@
tosca_key = True];
required string serial_number = 2 [
help_text = "ONU Serial Number",
- max_length = 254,
+ max_length = 256,
tosca_key = True,
unique_with = "owner"];
required int32 pon_port_id = 3 [