SDNNetwork module modification in order to obtain the resourceId given a DPID of switch