SEBA-566 Add linting and fix errors in att-workflow-driver
Change-Id: I64e66a15ead484be2b634a9b1d9b212f9b303014
diff --git a/xos/synchronizer/models/att-workflow-driver.xproto b/xos/synchronizer/models/att-workflow-driver.xproto
index 5d4f61a..603e059 100644
--- a/xos/synchronizer/models/att-workflow-driver.xproto
+++ b/xos/synchronizer/models/att-workflow-driver.xproto
@@ -14,7 +14,7 @@
required string serial_number = 2 [
help_text = "Serial number of ONU",
- max_length = 254,
+ max_length = 256,
tosca_key=True,
unique = True];
required string authentication_state = 3 [
@@ -25,7 +25,7 @@
max_length = 50];
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 [
@@ -33,13 +33,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];
@@ -64,7 +64,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 [