Commit Graph

18 Commits (0d1bf50ca1c4af26eb8e515a68ce140361dffe51)

Author SHA1 Message Date
David Shrewsbury e8abea25c7 Fix OpenStack module failure output
The exception message, when shade fails, will contain much more
specific information about the failure if the exception is treated
as a string. The 'message' attribute alone is usually not helpful.
9 years ago
Lars Kellogg-Stedman d73f5a4adb return information about created subnet
make os_subnet behave like os_network in terms of returning information
about the created resource.  With this commit, os_subnet will return the
created subnet in `subnet` and the subnet id in `id`.
9 years ago
Adrian Lopez 8c7d697c17 Fix yaml syntax 9 years ago
Jesse Keating 84dfcf3690 Handle non-updatable openstack subnet details
Some things cannot be updated via the API, so check for those and fail
if the user is wanting to update them. Also don't try to update ipv6
stuff, as that doesn't work and will cause a traceback.
9 years ago
Jesse Keating de89f9f99a Plumb ipv6 modes into os_subnet
Shade already supports these, we just need to plumb them into the module
code.
9 years ago
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.
9 years ago
Greg DeKoenigsberg 28a869a030 Updating cloud modules with proper github author information 9 years ago
Monty Taylor 1b5b1cbfe8 Add missing state parameter 9 years ago
James Cammarata 3256db99e2 Fixing digital_ocean documentation and a bug in os_subnet 9 years ago
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
9 years ago
Brian Coca 4348475ed3 doc fixes 9 years ago
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.
9 years ago
David Shrewsbury abbf8a40ca Rename os_subnet to os_subnet.py 9 years ago
James Cammarata 576ca33bdc Fixing digital_ocean documentation and a bug in os_subnet 10 years ago
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
10 years ago
Brian Coca 9a216915e9 doc fixes 10 years ago
David Shrewsbury c241296a20 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.
10 years ago
David Shrewsbury b854a28dfb Rename os_subnet to os_subnet.py 10 years ago