def _find_network_id_neutron(cs, net_name):
 try:
  return cs.neutron.find_network(net_name).id
 except (exceptions.NotFound, exceptions.NoUniqueMatch) as e:
  raise exceptions.CommandError(six.text_type(e))

def _find_network_id_neutron ( cs , net_name ) : try : return cs . neutron . find_network ( net_name ) . id except ( exceptions . NotFound , exceptions . NoUniqueMatch ) as e : raise exceptions . CommandError ( six . text_type ( e ) )
get unique network id from network name from neutron .