dagnello
cee4ef0fc3
Resolving secgroup.id issue in this module
...
secgroup['id'] was not being returned in all cases where the
specified security group exists.
2015-06-23 11:10:41 +03:00
Brian Coca
6449a01311
Merge pull request #1536 from emonty/feature/os_security_group
...
Return OpenStack secgroup, not just id
2015-06-19 01:52:43 -04:00
Monty Taylor
d8c51a67f3
Actually use changed variable
2015-06-17 08:47:14 -04:00
Monty Taylor
1a11f07d29
Return the secgroup for all present states
2015-06-17 08:02:34 -04:00
Monty Taylor
5609d1dc5a
Return resource objects from OpenStack modules
...
It's not uncommon for people to want to do additional things after
creating a module. Also, add a note about it to the dev notes.
2015-06-17 05:24:08 -04:00
Monty Taylor
ef22008cac
Return secgroup, not just id
2015-06-17 04:25:55 -04:00
Brian Coca
898e338318
minor doc fixes
2015-06-16 18:56:24 -04:00
Brian Coca
d393df4bce
Merge pull request #1053 from emonty/feature/os_security_group
...
Add OpenStack Security Group module
2015-06-16 18:19:53 -04:00
Brian Coca
7adc911372
Merge pull request #1047 from emonty/feature/os_object
...
Add OpenStack Object module
2015-06-16 18:18:14 -04:00
Brian Coca
0367a923c7
Merge pull request #1044 from emonty/feature/os_ironic_node
...
Add Ironic Node module
2015-06-16 18:17:12 -04:00
Brian Coca
74b7a72c3f
Merge pull request #1043 from emonty/feature/os_ironic
...
Add Ironic module
2015-06-16 18:16:21 -04:00
Greg DeKoenigsberg
28a869a030
Updating cloud modules with proper github author information
2015-06-15 14:41:22 -04:00
Julia Kreger
47113727ee
Updating os_ironic_node module
...
Updating the os_ironic_node module to the most recent version
including support for power and maintenance states.
2015-06-14 13:03:42 +03:00
Monty Taylor
5b6c0c3697
Add developer docs for the OpenStack modules
2015-06-11 02:29:28 +02:00
David Shrewsbury
bf699e55f6
Remove os_security_group_rule module
...
The rules module will have it's own branch.
2015-06-10 14:14:01 -04:00
David Shrewsbury
e5cedc617a
Remove 'result' value
...
This value is pretty much useless, and a holdover from the old
module code. Let's remove it.
2015-06-10 14:02:37 -04:00
Monty Taylor
62073565e1
Update version added
2015-06-09 19:43:27 -04:00
David Shrewsbury
5be1b64b85
Update the docstring for os_security_group
...
Indicate that idempotence is on security group names, and give
an example for updating a security group description.
2015-06-09 16:18:38 -04:00
David Shrewsbury
c298741aa6
Update for latest shade API
...
Shade version 0.7.0 introduces new API methods for creating,
deleting, and updating security groups. Let's use those and
clean up the module.
2015-06-09 15:24:38 -04:00
Julia Kreger
c040ae5374
Updating os_ironic module
...
Updating os_ironic module to the most recent version accounting for
changes in Ansible devel branch and the shade library since the
original creation of the module.
2015-06-05 23:22:54 -04:00
Monty Taylor
4e6f879feb
Add Ironic module
2015-06-05 23:22:54 -04:00
Brian Coca
ccfc9d2f6b
Merge pull request #1436 from emonty/feature/os_client_config
...
Add OpenStack Client Config module
2015-06-05 22:19:18 -04:00
Monty Taylor
86fc12e279
Update doc params and version_added
2015-06-05 16:01:15 -04:00
Monty Taylor
3ffebeac5b
Use the delete method from shade
...
Sigh. Turns out glance v1 and glance v2 delete images differently too.
2015-06-05 15:58:10 -04:00
Monty Taylor
bd26df1c57
Don't update image properties if we're deleting
2015-06-05 15:58:10 -04:00
Monty Taylor
0bdf9f4d27
Add OpenStack Image module
...
Also deprecate old glance_image module
2015-06-05 15:58:10 -04:00
Monty Taylor
1e14e51150
Add OpenStack Security Group support
...
Two modules - one for security groups and one to manage rules in a
security group.
2015-06-04 12:27:10 -04:00
Monty Taylor
1b5b1cbfe8
Add missing state parameter
2015-06-04 12:10:07 -04:00
Monty Taylor
9e56b42574
AnsibleModule takes a dict as a param
2015-06-04 11:42:39 -04:00
James Cammarata
3256db99e2
Fixing digital_ocean documentation and a bug in os_subnet
2015-06-01 15:34:16 -07:00
Toshio Kuratomi
55d48a7a82
Finish up cleanups to modules:
...
* Add python>= 2.6 to documented requirements when a module's deps need
python>= 2.6 so we know when a module can use python2.6+ syntax
* Remove BabyJSON usage
* Change modules to use if __name__ == '__main__' so that they can
potentially be unittested
The BabJSON changes Fixes #1211
2015-06-01 15:34:16 -07:00
Brian Coca
145361aea3
Revert "Add deprecated documentation for _quantum_subnet"
...
cause it was already added
This reverts commit 3fa32c4984
.
2015-06-01 15:24:15 -07:00
Toshio Kuratomi
9927e109b7
Add deprecated documentation for _quantum_subnet
2015-06-01 15:22:37 -07:00
Brian Coca
4348475ed3
doc fixes
2015-06-01 15:06:42 -07:00
David Shrewsbury
3692518643
Update os_subnet module for latest shade
...
Shade can now handle creating, updating and deleting subnets.
This cleans up the module to take advantage of that.
2015-06-01 15:03:44 -07:00
David Shrewsbury
abbf8a40ca
Rename os_subnet to os_subnet.py
2015-06-01 15:03:44 -07:00
Monty Taylor
ef1c7eef5b
Add OpenStack Subnet module
...
Also deprecated old quantum_subnet module
2015-06-01 14:59:14 -07:00
Monty Taylor
ce556a053e
Return a list of OpenStack clouds
...
The main use of this is to feed jinja templating, so structure the
data returned slightly better for that purpose.
2015-06-01 11:01:17 -05:00
Monty Taylor
718c13bdf2
Add OpenStack Client Config module
...
All of the ansible OpenStack modules are driven by a clouds.yaml config
file which is processed by os-client-config. Expose the data returned by
that library to enable playbooks to iterate over available clouds.
2015-05-28 16:14:20 -04:00
Brian Coca
58c6c3dd03
Merge pull request #1046 from emonty/feature/os_network
...
Add OpenStack Network module
2015-05-26 13:46:28 -04:00
Jesse Keating
a14aee5239
Add an openstack servers actions module
...
This module supports a few of the server actions that are easy to
initially impiment. Other actions require input and provide return
values in the API calls that will be more difficult to impliment, and
thus are not part of this initial commit.
2015-05-21 16:19:57 -07:00
Monty Taylor
6606e4f68d
Add OpenStack Network module
...
Also, deprecate the old quantum network module
2015-05-20 11:41:24 -07:00
Brian Coca
5011593ee3
fixed typo on novaclient var
2015-05-19 10:52:48 -04:00
James Cammarata
576ca33bdc
Fixing digital_ocean documentation and a bug in os_subnet
2015-05-12 10:32:43 -05:00
Toshio Kuratomi
1f99382dfb
Finish up cleanups to modules:
...
* Add python>= 2.6 to documented requirements when a module's deps need
python>= 2.6 so we know when a module can use python2.6+ syntax
* Remove BabyJSON usage
* Change modules to use if __name__ == '__main__' so that they can
potentially be unittested
The BabJSON changes Fixes #1211
2015-05-11 13:21:17 -07:00
Brian Coca
ec5cd89d7c
Revert "Add deprecated documentation for _quantum_subnet"
...
cause it was already added
This reverts commit 3fa32c4984
.
2015-05-05 17:14:04 -04:00
Toshio Kuratomi
3fa32c4984
Add deprecated documentation for _quantum_subnet
2015-05-05 10:50:24 -07:00
Brian Coca
2dc0343d63
added deprecated doc entry
2015-05-04 19:42:26 -04:00
Brian Coca
a6eafb87c8
minor doc fixes
2015-05-04 12:06:57 -04:00
David Shrewsbury
28488f1b84
Update os_server for shade flavor API changes
...
Latest shade fixes the flavor API so that raw objects are not
returned.
2015-05-04 11:36:57 -04:00