modifying datavalues for ponport api
Change-Id: I8411065fab836ac3ddf32d34ddb4d4b9a8b02ebc
diff --git a/src/test/cord-api/Tests/targets/xoslibrary.xtarget b/src/test/cord-api/Tests/targets/xoslibrary.xtarget
index b21d6c1..2525f3a 100644
--- a/src/test/cord-api/Tests/targets/xoslibrary.xtarget
+++ b/src/test/cord-api/Tests/targets/xoslibrary.xtarget
@@ -111,7 +111,7 @@
## Create req objects for subscriber (voltservice -> oltdevice -> ponport -> onudevice)
CORD Post /xosapi/v1/volt/voltservices {"name": "testvoltservice123"}
CORD Post /xosapi/v1/volt/oltdevices {"volt_service_id": ${id}, "uplink": "testoltdevice123"}
- CORD Post /xosapi/v1/volt/ponports {"s_tag": "1234", "olt_device_id": ${id}, "port_no": "123", "name": "testponport123"}
+ CORD Post /xosapi/v1/volt/ponports {"olt_device_id": ${id}, "port_no": "123", "name": "testponport123"}
${json_{{ m.name | lower}}_onudevice}= Set Variable onudevice123
${json_{{ m.name | lower}}_1}= Set Json Value ${json_{{ m.name | lower }}_1} /onu_device "${json_{{ m.name | lower}}_onudevice}"
CORD Post /xosapi/v1/volt/onudevices {"serial_number": "onudevice123", "pon_port_id": ${id}, "vendor": "abcdefg"}
@@ -198,4 +198,4 @@
\ Run Keyword And Ignore Error CORD Delete /xosapi/v1/{{ xproto_unquote(m.options.app_label) }}/${dependent_{{ m.name | lower }}_ids[0]} ${dependent_{{ m.name | lower }}_ids[${INDEX}]}
{% endif -%}
{% endfor -%}
- Delete All Sessions
\ No newline at end of file
+ Delete All Sessions