Change-Id: Id5a74ceee47061cb09d4912511ef42b792b81b2b
Signed-off-by: eafatha <a.fathima.thasneem@ericsson.com>
Get DPID
[Arguments] ${ip}
[Documentation] Returns the dpnid from the system at the given ip address using ovs-ofctl assuming br-int is present.
- ${output} = Builtin.Run Command On Remote System ${ip} sudo ovs-ofctl show -O Openflow13 br-int | head -1 | awk -F "dpid:" '{print $2}'
+ ${output} = Utils.Run Command On Remote System ${ip} sudo ovs-ofctl show -O Openflow13 br-int | head -1 | awk -F "dpid:" '{print $2}'
${dpnid} = BuiltIn.Convert To Integer ${output} 16
BuiltIn.Log ${dpnid}
[Return] ${dpnid}