From: Steven Pisarski Date: Tue, 18 Jul 2017 13:48:14 +0000 (+0000) Subject: Merge "Created new class NovaException." X-Git-Tag: opnfv-5.0.0~63 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=2d08ff42b777b5b0e0f7c82c32919834ae633382;p=snaps.git Merge "Created new class NovaException." --- 2d08ff42b777b5b0e0f7c82c32919834ae633382 diff --cc snaps/openstack/utils/nova_utils.py index bee526c,038b3b1..fd42c5d --- a/snaps/openstack/utils/nova_utils.py +++ b/snaps/openstack/utils/nova_utils.py @@@ -480,5 -427,11 +479,11 @@@ def add_floating_ip_to_server(nova, vm :param floating_ip: FloatingIp domain object :param ip_addr: the IP to which to bind the floating IP to """ - vm = get_latest_server_os_object(nova, vm) + vm = __get_latest_server_os_object(nova, vm) vm.add_floating_ip(floating_ip.ip, ip_addr) + + + class NovaException(Exception): + """ + Exception when calls to the Keystone client cannot be served properly + """