Code Review
/
snaps.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Deprecating launch app and ansible support.
[snaps.git]
/
snaps
/
openstack
/
create_instance.py
diff --git
a/snaps/openstack/create_instance.py
b/snaps/openstack/create_instance.py
index
e2a6991
..
b158a25
100644
(file)
--- 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)
"""
: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(),
ansible_utils.apply_playbook(
pb_file_loc, [self.get_floating_ip(fip_name=fip_name).ip],
self.get_image_user(),