retrieve port using keywords
Change-Id: Ia3c7346c036226f5ea4846465ffd733f54083f8e
diff --git a/libraries/onos.robot b/libraries/onos.robot
index 315dc8b..6f06062 100644
--- a/libraries/onos.robot
+++ b/libraries/onos.robot
@@ -57,6 +57,7 @@
Get ONU Port in ONOS
[Arguments] ${onu_serial_number} ${olt_of_id}
[Documentation] Retrieves ONU port for the ONU in ONOS
+ ${onu_serial_number}= Catenate SEPARATOR=- ${onu_serial_number} 1
${resp}= Get Request ONOS onos/v1/devices/${olt_of_id}/ports
${jsondata}= To Json ${resp.content}
Should Not Be Empty ${jsondata['ports']}