X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osm_openvim%2Fovim.py;h=0ad5258cfd83ce0d0bb103bb226e9ca336b9f5a1;hb=refs%2Fchanges%2F46%2F7346%2F1;hp=612e4dfa703d3def8365fef2c073da034bc9fe92;hpb=2f9219508676d66529d96d4dadf41b3ded23e62b;p=osm%2Fopenvim.git diff --git a/osm_openvim/ovim.py b/osm_openvim/ovim.py index 612e4df..0ad5258 100755 --- a/osm_openvim/ovim.py +++ b/osm_openvim/ovim.py @@ -543,7 +543,7 @@ class ovim(): if tenant_id: result, _ = self.db.get_table(FROM='tenants', SELECT=('uuid',), WHERE={'uuid': tenant_id, "enabled": True}) if result <= 0: - raise ovimException("set_network error, no tenant founded", -result) + raise ovimException("set_network error, no tenant found", -result) bridge_net = None # check valid params @@ -984,7 +984,7 @@ class ovim(): port_mapping_data = self.get_of_port_mappings(columns, db_filter) if not len(port_mapping_data): - raise ovimException("No port mapping founded for '{}'".format(str(db_filter)), + raise ovimException("No port mapping found for '{}'".format(str(db_filter)), HTTP_Not_Found) elif len(port_mapping_data) > 1: raise ovimException("Wrong port data was given, please check pci, region & compute id data",