[odl-sfc] Add function get_vnf and fix endless loop in get_vnf_id