- ${rc} ${stdout}= Run and Return RC and Output osm sdnc-list | awk '{print $2}' | grep ${sdnc_name}
- Should Be Equal As Strings ${stdout} ${sdnc_name}
+ ${rc} ${stdout}= Run and Return RC and Output osm sdnc-show ${sdnc_id} | grep -io ENABLED
+ log ${stdout}
+ Should Be Equal As Integers ${rc} ${success_return_code}
[Arguments] ${sdnc_id} ${prometheus_host} ${prometheus_port}
${metric}= Get Metric ${prometheus_host} ${prometheus_port} osm_sdnc_status sdnc_id=${sdnc_id}
[Arguments] ${sdnc_id} ${prometheus_host} ${prometheus_port}
${metric}= Get Metric ${prometheus_host} ${prometheus_port} osm_sdnc_status sdnc_id=${sdnc_id}