X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=snaps%2Fopenstack%2Fcreate_instance.py;fp=snaps%2Fopenstack%2Fcreate_instance.py;h=b158a2519c05f2f11e18a1aae02a25d7addf2af6;hb=630875f0ac88239f0b9207312793f4d39a5e36bd;hp=e2a699183f107c07b59d2b6887770439929cce61;hpb=dee6094d2eee4e975770213fabd9736c220f42df;p=snaps.git diff --git a/snaps/openstack/create_instance.py b/snaps/openstack/create_instance.py index e2a6991..b158a25 100644 --- a/snaps/openstack/create_instance.py +++ b/snaps/openstack/create_instance.py @@ -475,6 +475,10 @@ class OpenStackVmInstance(OpenStackComputeObject): :param fip_name: the name of the floating IP to use for applying the playbook (default - will take the first) """ + from warnings import warn + warn('This method will be removed in a subsequent release', + DeprecationWarning) + ansible_utils.apply_playbook( pb_file_loc, [self.get_floating_ip(fip_name=fip_name).ip], self.get_image_user(),