[Python-modules-commits] [python-shade] 01/04: Import python-shade_1.12.1.orig.tar.gz
Clint Byrum
spamaps at moszumanska.debian.org
Thu Nov 3 23:03:41 UTC 2016
This is an automated email from the git hooks/post-receive script.
spamaps pushed a commit to branch master
in repository python-shade.
commit 052c67cbb6bcc6c9158fa192c6ec5fb703c4ac4e
Author: Clint Byrum <spamaps at debian.org>
Date: Thu Nov 3 15:15:31 2016 -0700
Import python-shade_1.12.1.orig.tar.gz
---
AUTHORS | 9 +
ChangeLog | 161 +-
HACKING.rst | 49 +-
PKG-INFO | 6 +-
README.rst | 2 +-
bindep.txt | 8 +
doc/source/coding.rst | 22 +-
doc/source/usage.rst | 14 +-
extras/run-ansible-tests.sh | 2 +-
.../notes/add-server-console-078ed2696e5b04d9.yaml | 6 +
...ignate_recordsets_support-69af0a6b317073e7.yaml | 4 +
...d_designate_zones_support-35fa9b8b09995b43.yaml | 4 +
...dd_host_aggregate_support-471623faf45ec3c3.yaml | 4 +
...d_magnum_baymodel_support-e35e5aab0b14ff75.yaml | 7 +
...d_magnum_services_support-3d95f9dcc60b5573.yaml | 3 +
.../add_server_group_support-dfa472e3dae7d34d.yaml | 3 +
.../notes/add_update_server-8761059d6de7e68b.yaml | 3 +
.../notes/compute-quotas-b07a0f24dfac8444.yaml | 3 +
.../delete-image-objects-9d4b4e0fff36a23f.yaml | 18 +
.../notes/delete_project-399f9b3107014dde.yaml | 5 +
...ain_operations_name_or_id-baba4cac5b67234d.yaml | 4 +
.../dual-stack-networks-8a81941c97d28deb.yaml | 8 +
.../feature-server-metadata-50caf18cec532160.yaml | 3 +
.../image-flavor-by-name-54865b00ebbf1004.yaml | 9 +
.../infer-secgroup-source-58d840aaf1a1f485.yaml | 9 +
.../notes/log-request-ids-37507cb6eed9a7da.yaml | 5 +
...ject_metadata_easier.yaml-e9751723e002e06f.yaml | 5 +
.../notes/meta-passthrough-d695bff4f9366b65.yaml | 7 +
.../notes/network-quotas-b98cce9ffeffdbf4.yaml | 3 +
.../notes/stack-update-5886e91fd6e423bf.yaml | 4 +
.../notes/update_endpoint-f87c1f42d0c0d1ef.yaml | 8 +
.../notes/use-interface-ip-c5cb3e7c91150096.yaml | 13 +
.../notes/volume-quotas-5b674ee8c1f71eb6.yaml | 3 +
requirements.txt | 8 +-
setup.cfg | 4 +-
shade.egg-info/PKG-INFO | 6 +-
shade.egg-info/SOURCES.txt | 50 +-
shade.egg-info/pbr.json | 2 +-
shade.egg-info/requires.txt | 8 +-
shade/__init__.py | 26 +-
shade/_tasks.py | 210 +-
shade/_utils.py | 86 +-
shade/exc.py | 6 +-
shade/meta.py | 132 +-
shade/openstackcloud.py | 2456 ++++++++++++++++----
shade/operatorcloud.py | 647 +++++-
shade/task_manager.py | 151 +-
shade/tests/ansible/roles/port/tasks/main.yml | 22 +
shade/tests/base.py | 3 +
shade/tests/fakes.py | 47 +
shade/tests/functional/test_aggregate.py | 63 +
shade/tests/functional/test_cluster_templates.py | 115 +
shade/tests/functional/test_compute.py | 104 +-
shade/tests/functional/test_domain.py | 44 +
shade/tests/functional/test_endpoints.py | 34 +
shade/tests/functional/test_identity.py | 110 +-
shade/tests/functional/test_image.py | 57 +
shade/tests/functional/test_inventory.py | 16 +-
shade/tests/functional/test_magnum_services.py | 42 +
shade/tests/functional/test_network.py | 8 +-
shade/tests/functional/test_object.py | 15 +-
shade/tests/functional/test_project.py | 96 +
shade/tests/functional/test_quotas.py | 79 +
shade/tests/functional/test_range_search.py | 40 +-
shade/tests/functional/test_recordset.py | 95 +
shade/tests/functional/test_router.py | 29 +
shade/tests/functional/test_server_group.py | 45 +
shade/tests/functional/test_stack.py | 176 ++
shade/tests/functional/test_zone.py | 86 +
shade/tests/unit/base.py | 59 +-
shade/tests/unit/fixtures/clouds/clouds.yaml | 17 +
shade/tests/unit/fixtures/clouds/clouds_cache.yaml | 22 +
shade/tests/unit/fixtures/test_create_flavor.yaml | 2105 +++++++++++++++++
shade/tests/unit/test__utils.py | 8 +-
shade/tests/unit/test_aggregate.py | 112 +
shade/tests/unit/test_caching.py | 183 +-
shade/tests/unit/test_cluster_templates.py | 169 ++
shade/tests/unit/test_create_server.py | 133 +-
shade/tests/unit/test_create_volume_snapshot.py | 19 +-
shade/tests/unit/test_delete_server.py | 12 +-
shade/tests/unit/test_delete_volume_snapshot.py | 19 +-
shade/tests/unit/test_domains.py | 56 +-
shade/tests/unit/test_endpoints.py | 73 +-
shade/tests/unit/test_flavors.py | 40 +-
shade/tests/unit/test_floating_ip_common.py | 137 +-
shade/tests/unit/test_floating_ip_neutron.py | 235 +-
shade/tests/unit/test_floating_ip_nova.py | 41 +-
shade/tests/unit/test_floating_ip_pool.py | 11 +-
shade/tests/unit/test_groups.py | 14 +-
shade/tests/unit/test_identity_roles.py | 52 +-
shade/tests/unit/test_image_snapshot.py | 3 +-
shade/tests/unit/test_magnum_services.py | 41 +
shade/tests/unit/test_meta.py | 487 +++-
shade/tests/unit/test_network.py | 5 -
shade/tests/unit/test_object.py | 14 +-
shade/tests/unit/test_port.py | 41 +-
shade/tests/unit/test_project.py | 49 +-
shade/tests/unit/test_quotas.py | 110 +
shade/tests/unit/test_rebuild_server.py | 56 +-
shade/tests/unit/test_recordset.py | 114 +
shade/tests/unit/test_role_assignment.py | 296 +--
shade/tests/unit/test_security_groups.py | 24 +
shade/tests/unit/test_server_console.py | 61 +
shade/tests/unit/test_server_delete_metadata.py | 59 +
shade/tests/unit/test_server_group.py | 44 +
shade/tests/unit/test_server_set_metadata.py | 59 +
shade/tests/unit/test_services.py | 33 +-
shade/tests/unit/test_shade.py | 58 +-
shade/tests/unit/test_shade_operator.py | 149 +-
shade/tests/unit/test_stack.py | 91 +-
shade/tests/unit/test_task_manager.py | 26 +-
shade/tests/unit/test_update_server.py | 65 +
shade/tests/unit/test_users.py | 38 +-
shade/tests/unit/test_zone.py | 97 +
test-requirements.txt | 4 +-
tox.ini | 20 +-
116 files changed, 9551 insertions(+), 1542 deletions(-)
diff --git a/AUTHORS b/AUTHORS
index 783fb59..3c802b6 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -1,5 +1,6 @@
Adam Gandelman <adamg at ubuntu.com>
Alberto Gireud <agireud at us.ibm.com>
+Arie Bregman <abregman at redhat.com>
Atsushi SAKAI <sakaia at jp.fujitsu.com>
Caleb Boylan <calebboylan at gmail.com>
Cedric Brandily <zzelle at gmail.com>
@@ -10,11 +11,13 @@ Daniel Wallace <danielwallace at gtmanfred.com>
David Shrewsbury <shrewsbury.dave at gmail.com>
Davide Guerri <davide.guerri at gmail.com>
Devananda van der Veen <devananda.vdv at gmail.com>
+Donovan Jones <donovan at catalyst.net.nz>
Ghe Rivero <ghe.rivero at hp.com>
Gregory Haynes <greg at greghaynes.net>
Haikel Guemar <hguemar at fedoraproject.org>
Hideki Saito <saito at fgrep.org>
Ian Wienand <iwienand at redhat.com>
+JP Sullivan <jonpsull at cisco.com>
James E. Blair <jeblair at linux.vnet.ibm.com>
Jeremy Stanley <fungi at yuggoth.org>
Jon Schlueter <jschluet at redhat.com>
@@ -27,13 +30,19 @@ Mathieu Bultel <mbultel at redhat.com>
Matthew Treinish <mtreinish at kortar.org>
Monty Taylor <mordred at inaugust.com>
Morgan Fainberg <morgan.fainberg at gmail.com>
+Mário Santos <mario.rf.santos at gmail.com>
+Paul Belanger <pabelanger at redhat.com>
Ricardo Carrillo Cruz <ricardo.carrillo.cruz at gmail.com>
Rosario Di Somma <rosario.disomma at dreamhost.com>
SamYaple <sam at yaple.net>
Spencer Krum <nibz at spencerkrum.com>
Stefan Andres <s.andres at syseleven.de>
+Steve Baker <sbaker at redhat.com>
Steve Leon <kokhang at gmail.com>
+Swapnil Kulkarni (coolsvap) <me at coolsvap.net>
+Tim Laszlo <tim.laszlo at gmail.com>
Timothy Chavez <timothy.chavez at hp.com>
Tristan Cacqueray <tdecacqu at redhat.com>
Yolanda Robla <yolanda.robla-mota at hp.com>
+mariojmdavid <mariojmdavid at gmail.com>
matthew wagoner <zxkuqyb at gmail.com>
diff --git a/ChangeLog b/ChangeLog
index e8bcda0..bdbd2f9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,9 +1,164 @@
CHANGES
=======
+1.12.1
+------
+
+* Add libffi-dev to bindep.txt
+
+1.12.0
+------
+
+* Use list_servers for polling rather than get_server_by_id
+* Fix up image and flavor by name in create_server
+* Batch calls to list_floating_ips
+* Allow str for ip_version param in create_subnet
+* Skip test creating provider network if one exists
+* Revert per-resource dogpile.cache work
+* Fix two minor bugs in generate_task_class
+* Change naming style of submitTask
+* Add submit_function method to TaskManager
+* Refactor TaskManager to be more generic
+* Poll for image to be ready for PUT protocol
+* Cleanup old internal/external network handling
+* Support dual-stack neutron networks
+* Rename _get_free_fixed_port to _nat_destination_port
+* Log request ids
+* Detect the need for FIPs better in auto_ip
+* Delete objname in image_delete
+* Move list_server cache to dogpile
+* Ensure per-resource caches work without global cache
+* Support more than one network in create_server
+* Add support for fetching console logs from servers
+* Allow image and flavor by name for create_server
+* Allow object storage endpoint to return 404 for missing /info endpoint
+* Batch calls to list_floating_ips
+* Get the status of the ip with ip.get('status')
+* Stop getting extra flavor specs where they're useless
+* Change deprecated assertEquals to assertEqual
+* Use cloud fixtures from the unittest base class
+* Add debug logging to unit test base class
+* Update HACKING.rst with a couple of shade specific notes
+* Only run flake8 on shade directory
+* Add bindep.txt file listing distro depends
+* Set physical_network to public in devstack test
+* Use "image" as argument for Glance V1 upload error path
+* Honor default_interface OCC setting in create_server
+* Validate config vs reality better than length of list
+* Base auto_ip on interface_ip not public_v4
+* Add tests to show IP inference in missed conditions
+
+1.11.1
+------
+
+* Deal with clouds that don't have fips betterer
+
+1.11.0
+------
+
+* Infer nova-net security groups better
+* Add update_endpoint()
+* Protect cinderclient import
+* Do not instantiate logging on import
+* Don't supplement floating ip list on clouds without
+* Move list_ports to using dogpile.cache
+* Create and return per-resource caches
+* Lay the groundwork for per-resource cache
+
+1.10.0
+------
+
+* Rename baymodel to cluster_template
+* Make shared an optional keyword param to create_network
+* Add a 'meta' passthrough parameter for glance images
+* Allow creating a floating ip on an arbitrary port
+* Add ability to upload duplicate images
+* Fix requirements for broken os-client-config
+* Add new test with betamax for create flavors
+* Stop creating cloud objects in functional tests
+* Move list_magnum_services to OperatorCloud
+* Go ahead and admit that we return Munch objects
+* Depend on python-heatclient>=1.0.0
+* Add update_server method
+* Remove discover from test-requirements
+* Update hacking version
+* Change operating to interacting with in README
+* Add floating IPs to server dict ourselves
+* Treat DELETE_COMPLETE stacks as NotFound
+* Add support for changing metadata of compute instances
+* Use keystoneauth.betamax for shade mocks
+* Add network quotas support
+* Add reno note for create_object and update_object
+* Add magnum services call to shade
+* Add function to update object metadata
+* incorporate unit test in test_shade.py, remove test_router.py fix tenant_id in router add functional test test_create_router_project to functional/test_router.py add unit/test_router.py add project_id to create_router
+* Add magnum baymodel calls to shade
+* Make it easier to give swift objects metadata
+* Add volume quotas support
+* Add quotas support
+
+1.9.0
+-----
+
+* Add error logging around FIP delete
+* Be more precise in our detection of provider networks
+* Rework delete_unattached_floating_ips function
+* Make sure Ansible tests only use cirros images
+* Don't fail getting flavors if extra_specs is off
+* Add initial setup for magnum in shade
+* Amend the valid fields to update on recordsets
+* Move cloud fixtures to independent yaml files
+* Add support for host aggregates
+* Add support for server groups
+* Add release note doc to dev guide
+
+1.8.0
+-----
+
+* Add Designate recordsets support
+* Add support for Designate zones
+* Fail if FIP doens't have the requested port_id
+* Add public helper method for cleaning floating ips
+* Rework floating ip use test to be neutron based
+* Delete floating IP on nova refresh failure
+* Retry floating ip deletion before deleting server
+* Have delete_server use the timed server list cache
+* Document create_stack
+* delete_stack add wait argument
+* Implement update_stack
+* Fix string formatting
+* Add domain_id param to project operations
+* Remove get_extra parameter from get_flavor
+* Honor floating_ip_source: nova everywhere
+* Use configured overrides for internal/external
+* Start stamping the has_service debug messages
+* Consume floating_ip_source config value
+* Honor default_network for interface_ip
+* Refactor the port search logic
+* Allow passing nat_destination to get_active_server
+* Add nat_destination filter to floating IP creation
+* Refactor guts of _find_interesting_networks
+* Search subnets for gateway_ip to discover NAT dest
+* Consume config values for NAT destination
+* Return boolean from delete_project
+* Correct error message when domain is required
+* Add release note about the swift Large Object changes
+* Delete image objects after failed upload
+* Delete uploaded swift objects on image delete
+* Add option to control whether SLO or DLO is used
+* Upload large objects as SLOs
+* Set min_segment_size from the swift capabilities
+* Don't use singleton dicts unwittingly
+* Update func tests for latest devstack flavors
+* Fix search_domains when not passing filters
+* Wrap stack operations in a heat_exceptions
+* Use event_utils.poll_for_events for stack polling
+* Follow name_or_id pattern on domain operations
+
1.7.0
-----
+* Remove conditional blocking on server list
* Cache ports like servers
* Workaround multiple private network ports
* Reset network caches after network create/delete
@@ -33,12 +188,13 @@ CHANGES
1.6.0
-----
-* Use OpenStackCloudException when _delete_server(
+* Use OpenStackCloudException when _delete_server() raises
* Always do network interface introspection
* Fix race condition in deleting volumes
* Use direct requests for flavor extra_specs set/unset
* Fix search_projects docstring
* Fix search_users docstring
+* Add new tasks to os_port playbook
* Deal with is_public and ephemeral in normalize_flavors
* Create clouds in Functional Test base class
* Run extra specs through TaskManager and use requests
@@ -46,10 +202,13 @@ CHANGES
* Refactor unit tests to construct cloud in base
* Add constructor param to turn on inner logging
* Log inner_exception in test runs
+* Pass specific cloud to openstack_clouds function
+* Make get_stack fetch a single full stack
* Add environment_files to stack_create
* Add normalize stack function for heat stack_list
* Add wait_for_server API call
* Update create_endpoint()
+* Make delete_project to call get_project
* Test v3 params on v2.0 endpoint; Add v3 unit
* Add update_service()
* Use network in neutron_available_floating_ips
diff --git a/HACKING.rst b/HACKING.rst
index 7f3d256..82e34ce 100644
--- a/HACKING.rst
+++ b/HACKING.rst
@@ -1,4 +1,49 @@
shade Style Commandments
-===============================================
+========================
-Read the OpenStack Style Commandments http://docs.openstack.org/developer/hacking/
\ No newline at end of file
+Read the OpenStack Style Commandments
+http://docs.openstack.org/developer/hacking/
+
+Indentation
+-----------
+
+PEP-8 allows for 'visual' indentation. Do not use it. Visual indentation looks
+like this:
+
+.. code-block:: python
+
+ return_value = self.some_method(arg1, arg1,
+ arg3, arg4)
+
+Visual indentation makes refactoring the code base unneccesarily hard.
+
+Instead of visual indentation, use this:
+
+.. code-block:: python
+
+ return_value = self.some_method(
+ arg1, arg1, arg3, arg4)
+
+That way, if some_method ever needs to be renamed, the only line that needs
+to be touched is the line with some_method. Additionaly, if you need to
+line break at the top of a block, please indent the continuation line
+an additional 4 spaces, like this:
+
+.. code-block:: python
+
+ for val in self.some_method(
+ arg1, arg1, arg3, arg4):
+ self.do_something_awesome()
+
+Neither of these are 'mandated' by PEP-8. However, they are prevailing styles
+within this code base.
+
+Unit Tests
+----------
+
+Unit tests should be virtually instant. If a unit test takes more than 1 second
+to run, it is a bad unit test. Honestly, 1 second is too slow.
+
+All unit test classes should subclass `shade.tests.unit.base.BaseTestCase`. The
+base TestCase class takes care of properly creating `OpenStackCloud` objects
+in a way that protects against local environment.
diff --git a/PKG-INFO b/PKG-INFO
index 4dc6ddd..8e70ca5 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,7 +1,7 @@
Metadata-Version: 1.1
Name: shade
-Version: 1.7.0
-Summary: Client library for operating OpenStack clouds
+Version: 1.12.1
+Summary: Simple client library for interacting with OpenStack clouds
Home-page: http://docs.openstack.org/infra/shade/
Author: OpenStack Infrastructure Team
Author-email: openstack-infra at lists.openstack.org
@@ -9,7 +9,7 @@ License: UNKNOWN
Description: Introduction
============
- shade is a simple client library for operating OpenStack clouds. The
+ shade is a simple client library for interacting with OpenStack clouds. The
key word here is *simple*. Clouds can do many many many things - but there are
probably only about 10 of them that most people care about with any
regularity. If you want to do complicated things, you should probably use
diff --git a/README.rst b/README.rst
index 2b46ebd..f375f86 100644
--- a/README.rst
+++ b/README.rst
@@ -1,7 +1,7 @@
Introduction
============
-shade is a simple client library for operating OpenStack clouds. The
+shade is a simple client library for interacting with OpenStack clouds. The
key word here is *simple*. Clouds can do many many many things - but there are
probably only about 10 of them that most people care about with any
regularity. If you want to do complicated things, you should probably use
diff --git a/bindep.txt b/bindep.txt
new file mode 100644
index 0000000..e5d10a3
--- /dev/null
+++ b/bindep.txt
@@ -0,0 +1,8 @@
+# This is a cross-platform list tracking distribution packages needed by tests;
+# see http://docs.openstack.org/infra/bindep/ for additional information.
+
+build-essential [platform:dpkg]
+python-dev [platform:dpkg]
+python-devel [platform:rpm]
+libffi-dev [platform:dpkg]
+libffi-devel [platform:rpm]
diff --git a/doc/source/coding.rst b/doc/source/coding.rst
index 40a49e7..160aceb 100644
--- a/doc/source/coding.rst
+++ b/doc/source/coding.rst
@@ -15,6 +15,20 @@ Some of it just hasn't been changed yet. But be clear, all new code
Below are the patterns that we expect Shade developers to follow.
+Release Notes
+=============
+
+Shade uses `reno <http://docs.openstack.org/developer/reno/>`_ for
+managing its release notes. A new release note should be added to
+your contribution anytime you add new API calls, fix significant bugs,
+add new functionality or parameters to existing API calls, or make any
+other significant changes to the code base that we should draw attention
+to for the user base.
+
+It is *not* necessary to add release notes for minor fixes, such as
+correction of documentation typos, minor code cleanup or reorganization,
+or any other change that a user would not notice through normal usage.
+
API Methods
===========
@@ -54,12 +68,10 @@ Returned Resources
Complex objects returned to the caller must be a dict type. The
methods `obj_to_dict()` or `obj_list_to_dict()` should be used for this.
-As of this writing, those two methods are returning Bunch objects, which help
+As of this writing, those two methods are returning Munch objects, which help
to maintain backward compatibility with a time when shade returned raw
-objects. Bunch allows the returned resource to act as *both* an object
-and a dict. Use of Bunch objects will eventually be deprecated in favor
-of just pure dicts, so do not depend on the Bunch object functionality.
-Expect a pure dict type.
+objects. Munch allows the returned resource to act as *both* an object
+and a dict.
Nova vs. Neutron
================
diff --git a/doc/source/usage.rst b/doc/source/usage.rst
index 87269de..d5348c3 100644
--- a/doc/source/usage.rst
+++ b/doc/source/usage.rst
@@ -8,16 +8,10 @@ To use shade in a project::
.. note::
API methods that return a description of an OpenStack resource (e.g.,
- server instance, image, volume, etc.) do so using a dictionary of values
- (e.g., ``server['id']``, ``image['name']``). This is the standard, and
- **recommended**, way to access these resource values.
-
- For backward compatibility, resource values can be accessed using object
- attribute access (e.g., ``server.id``, ``image.name``). Shade uses the
- `Munch library <https://github.com/Infinidat/munch>`_ to provide this
- behavior. This is **NOT** the recommended way to access resource values.
- We keep this behavior for developer convenience in the 1.x series of shade
- releases. This will likely not be the case in future, major releases of shade.
+ server instance, image, volume, etc.) do so using a `munch.Munch` object
+ from the `Munch library <https://github.com/Infinidat/munch>`_. `Munch`
+ objects can be accessed using either dictionary or object notation
+ (e.g., ``server.id``, ``image.name`` and ``server['id']``, ``image['name']``)
.. autoclass:: shade.OpenStackCloud
:members:
diff --git a/extras/run-ansible-tests.sh b/extras/run-ansible-tests.sh
index a794c45..37573b2 100755
--- a/extras/run-ansible-tests.sh
+++ b/extras/run-ansible-tests.sh
@@ -84,7 +84,7 @@ fi
# Until we have a module that lets us determine the image we want from
# within a playbook, we have to find the image here and pass it in.
# We use the openstack client instead of nova client since it can use clouds.yaml.
-IMAGE=`openstack --os-cloud=${CLOUD} image list -f value -c Name | grep -v -e ramdisk -e kernel`
+IMAGE=`openstack --os-cloud=${CLOUD} image list -f value -c Name | grep cirros | grep -v -e ramdisk -e kernel`
if [ $? -ne 0 ]
then
echo "Failed to find Cirros image"
diff --git a/releasenotes/notes/add-server-console-078ed2696e5b04d9.yaml b/releasenotes/notes/add-server-console-078ed2696e5b04d9.yaml
new file mode 100644
index 0000000..a3e7687
--- /dev/null
+++ b/releasenotes/notes/add-server-console-078ed2696e5b04d9.yaml
@@ -0,0 +1,6 @@
+---
+features:
+ - Added get_server_console method to fetch the console
+ log from a Server. On clouds that do not expose this
+ feature, a debug line will be logged and an empty
+ string will be returned.
diff --git a/releasenotes/notes/add_designate_recordsets_support-69af0a6b317073e7.yaml b/releasenotes/notes/add_designate_recordsets_support-69af0a6b317073e7.yaml
new file mode 100644
index 0000000..0d46496
--- /dev/null
+++ b/releasenotes/notes/add_designate_recordsets_support-69af0a6b317073e7.yaml
@@ -0,0 +1,4 @@
+---
+features:
+ - Add support for Designate recordsets resources, with the
+ usual methods (search/list/get/create/update/delete).
diff --git a/releasenotes/notes/add_designate_zones_support-35fa9b8b09995b43.yaml b/releasenotes/notes/add_designate_zones_support-35fa9b8b09995b43.yaml
new file mode 100644
index 0000000..f5253af
--- /dev/null
+++ b/releasenotes/notes/add_designate_zones_support-35fa9b8b09995b43.yaml
@@ -0,0 +1,4 @@
+---
+features:
+ - Add support for Designate zones resources, with the
+ usual methods (search/list/get/create/update/delete).
diff --git a/releasenotes/notes/add_host_aggregate_support-471623faf45ec3c3.yaml b/releasenotes/notes/add_host_aggregate_support-471623faf45ec3c3.yaml
new file mode 100644
index 0000000..6a6ff37
--- /dev/null
+++ b/releasenotes/notes/add_host_aggregate_support-471623faf45ec3c3.yaml
@@ -0,0 +1,4 @@
+---
+features:
+ - Add support for host aggregates and host aggregate
+ membership.
diff --git a/releasenotes/notes/add_magnum_baymodel_support-e35e5aab0b14ff75.yaml b/releasenotes/notes/add_magnum_baymodel_support-e35e5aab0b14ff75.yaml
new file mode 100644
index 0000000..21dbed6
--- /dev/null
+++ b/releasenotes/notes/add_magnum_baymodel_support-e35e5aab0b14ff75.yaml
@@ -0,0 +1,7 @@
+---
+features:
+ - Add support for Magnum baymodels, with the
+ usual methods (search/list/get/create/update/delete). Due to upcoming
+ rename in Magnum from baymodel to cluster_template, the shade
+ functionality uses the term cluster_template. However, baymodel aliases
+ are provided for each api call.
diff --git a/releasenotes/notes/add_magnum_services_support-3d95f9dcc60b5573.yaml b/releasenotes/notes/add_magnum_services_support-3d95f9dcc60b5573.yaml
new file mode 100644
index 0000000..3a32e3d
--- /dev/null
+++ b/releasenotes/notes/add_magnum_services_support-3d95f9dcc60b5573.yaml
@@ -0,0 +1,3 @@
+---
+features:
+ - Add support for listing Magnum services.
diff --git a/releasenotes/notes/add_server_group_support-dfa472e3dae7d34d.yaml b/releasenotes/notes/add_server_group_support-dfa472e3dae7d34d.yaml
new file mode 100644
index 0000000..e903841
--- /dev/null
+++ b/releasenotes/notes/add_server_group_support-dfa472e3dae7d34d.yaml
@@ -0,0 +1,3 @@
+---
+features:
+ - Adds support to create and delete server groups.
diff --git a/releasenotes/notes/add_update_server-8761059d6de7e68b.yaml b/releasenotes/notes/add_update_server-8761059d6de7e68b.yaml
new file mode 100644
index 0000000..5bbe898
--- /dev/null
+++ b/releasenotes/notes/add_update_server-8761059d6de7e68b.yaml
@@ -0,0 +1,3 @@
+---
+features:
+ - Add update_server method to update name or description of a server.
diff --git a/releasenotes/notes/compute-quotas-b07a0f24dfac8444.yaml b/releasenotes/notes/compute-quotas-b07a0f24dfac8444.yaml
new file mode 100644
index 0000000..6e17035
--- /dev/null
+++ b/releasenotes/notes/compute-quotas-b07a0f24dfac8444.yaml
@@ -0,0 +1,3 @@
+---
+features:
+ - Add new APIs, OperatorCloud.get_compute_quotas(), OperatorCloud.set_compute_quotas() and OperatorCloud.delete_compute_quotas() to manage nova quotas for projects and users
\ No newline at end of file
diff --git a/releasenotes/notes/delete-image-objects-9d4b4e0fff36a23f.yaml b/releasenotes/notes/delete-image-objects-9d4b4e0fff36a23f.yaml
new file mode 100644
index 0000000..00ce499
--- /dev/null
+++ b/releasenotes/notes/delete-image-objects-9d4b4e0fff36a23f.yaml
@@ -0,0 +1,18 @@
+---
+fixes:
+ - Delete swift objects uploaded in service of uploading images
+ at the time that the corresponding image is deleted. On some clouds,
+ image uploads are accomplished by uploading the image to swift and
+ then running a task-import. As shade does this action on behalf of the
+ user, it is not reasonable to assume that the user would then be aware
+ of or manage the swift objects shade created, which led to an ongoing
+ leak of swift objects.
+ - Upload swift Large Objects as Static Large Objects by default. Shade
+ automatically uploads objects as Large Objects when they are over a
+ segment_size threshold. It had been doing this as Dynamic Large Objects,
+ which sound great, but which have the downside of not deleting their
+ sub-segments when the primary object is deleted. Since nothing in the
+ shade interface exposes that the object was segmented, the user would not
+ know they would also need to find and delete the segments. Instead, we
+ now upload as Static Large Objects which behave as expected and delete
+ segments when the object is deleted.
diff --git a/releasenotes/notes/delete_project-399f9b3107014dde.yaml b/releasenotes/notes/delete_project-399f9b3107014dde.yaml
new file mode 100644
index 0000000..e4cf39f
--- /dev/null
+++ b/releasenotes/notes/delete_project-399f9b3107014dde.yaml
@@ -0,0 +1,5 @@
+---
+fixes:
+ - The delete_project() API now conforms to our standard of returning True
+ when the delete succeeds, or False when the project was not found. It
+ would previously raise an expection if the project was not found.
diff --git a/releasenotes/notes/domain_operations_name_or_id-baba4cac5b67234d.yaml b/releasenotes/notes/domain_operations_name_or_id-baba4cac5b67234d.yaml
new file mode 100644
index 0000000..6d58e43
--- /dev/null
+++ b/releasenotes/notes/domain_operations_name_or_id-baba4cac5b67234d.yaml
@@ -0,0 +1,4 @@
+---
+features:
+ - Added name_or_id parameter to domain operations, allowing
+ an admin to update/delete/get by domain name.
diff --git a/releasenotes/notes/dual-stack-networks-8a81941c97d28deb.yaml b/releasenotes/notes/dual-stack-networks-8a81941c97d28deb.yaml
new file mode 100644
index 0000000..70e28e7
--- /dev/null
+++ b/releasenotes/notes/dual-stack-networks-8a81941c97d28deb.yaml
@@ -0,0 +1,8 @@
+---
+features:
+ - Added support for dual stack networks where the IPv4 subnet and the
+ IPv6 subnet have opposite public/private qualities. It is now possible
+ to add configuration to clouds.yaml that will indicate that a network
+ is public for v6 and private for v4, which is otherwise very difficult
+ to correctly infer while setting server attributes like private_v4,
+ public_v4 and public_v6.
diff --git a/releasenotes/notes/feature-server-metadata-50caf18cec532160.yaml b/releasenotes/notes/feature-server-metadata-50caf18cec532160.yaml
new file mode 100644
index 0000000..e0a3f6c
--- /dev/null
+++ b/releasenotes/notes/feature-server-metadata-50caf18cec532160.yaml
@@ -0,0 +1,3 @@
+---
+features:
+ - Add new APIs, OpenStackCloud.set_server_metadata() and OpenStackCloud.delete_server_metadata() to manage metadata of existing nova compute instances
diff --git a/releasenotes/notes/image-flavor-by-name-54865b00ebbf1004.yaml b/releasenotes/notes/image-flavor-by-name-54865b00ebbf1004.yaml
new file mode 100644
index 0000000..6548121
--- /dev/null
+++ b/releasenotes/notes/image-flavor-by-name-54865b00ebbf1004.yaml
@@ -0,0 +1,9 @@
+---
+features:
+ - The image and flavor parameters for create_server
+ now accept name in addition to id and dict. If given
+ as a name or id, shade will do a get_image or a
+ get_flavor to find the matching image or flavor.
+ If you have an id already and are not using any caching
+ and the extra lookup is annoying, passing the id in
+ as "dict(id='my-id')" will avoid the lookup.
diff --git a/releasenotes/notes/infer-secgroup-source-58d840aaf1a1f485.yaml b/releasenotes/notes/infer-secgroup-source-58d840aaf1a1f485.yaml
new file mode 100644
index 0000000..f3f35f4
--- /dev/null
+++ b/releasenotes/notes/infer-secgroup-source-58d840aaf1a1f485.yaml
@@ -0,0 +1,9 @@
+---
+features:
+ - If a cloud does not have a neutron service, it is now
+ assumed that Nova will be the source of security groups.
+ To handle clouds that have nova-network and do not have
+ the security group extension, setting secgroup_source to
+ None will prevent attempting to use them at all. If the
+ cloud has neutron but it is not a functional source of
+ security groups, set secgroup_source to nova.
diff --git a/releasenotes/notes/log-request-ids-37507cb6eed9a7da.yaml b/releasenotes/notes/log-request-ids-37507cb6eed9a7da.yaml
new file mode 100644
index 0000000..8dbb754
--- /dev/null
+++ b/releasenotes/notes/log-request-ids-37507cb6eed9a7da.yaml
@@ -0,0 +1,5 @@
+---
+other:
+ - The contents of x-openstack-request-id are no longer
+ added to object returned. Instead, they are logged to
+ a logger named 'shade.request_ids'.
diff --git a/releasenotes/notes/make_object_metadata_easier.yaml-e9751723e002e06f.yaml b/releasenotes/notes/make_object_metadata_easier.yaml-e9751723e002e06f.yaml
new file mode 100644
index 0000000..eaa7183
--- /dev/null
+++ b/releasenotes/notes/make_object_metadata_easier.yaml-e9751723e002e06f.yaml
@@ -0,0 +1,5 @@
+---
+features:
+ - create_object() now has a "metadata" parameter that can be used to create
+ an object with metadata of each key and value pair in that dictionary
+ - Add an update_object() function that updates the metadata of a swift object
diff --git a/releasenotes/notes/meta-passthrough-d695bff4f9366b65.yaml b/releasenotes/notes/meta-passthrough-d695bff4f9366b65.yaml
new file mode 100644
index 0000000..13eb7ca
--- /dev/null
+++ b/releasenotes/notes/meta-passthrough-d695bff4f9366b65.yaml
@@ -0,0 +1,7 @@
+---
+features:
+ - Added a parameter to create_image 'meta' which allows
+ for providing parameters to the API that will not have
+ any type conversions performed. For the simple case,
+ the existing kwargs approach to image metadata is still
+ the best bet.
diff --git a/releasenotes/notes/network-quotas-b98cce9ffeffdbf4.yaml b/releasenotes/notes/network-quotas-b98cce9ffeffdbf4.yaml
new file mode 100644
index 0000000..a58cbea
--- /dev/null
+++ b/releasenotes/notes/network-quotas-b98cce9ffeffdbf4.yaml
@@ -0,0 +1,3 @@
+---
+features:
+ - Add new APIs, OperatorCloud.get_network_quotas(), OperatorCloud.set_network_quotas() and OperatorCloud.delete_network_quotas() to manage neutron quotas for projects and users
\ No newline at end of file
diff --git a/releasenotes/notes/stack-update-5886e91fd6e423bf.yaml b/releasenotes/notes/stack-update-5886e91fd6e423bf.yaml
new file mode 100644
index 0000000..29a1552
--- /dev/null
+++ b/releasenotes/notes/stack-update-5886e91fd6e423bf.yaml
@@ -0,0 +1,4 @@
+---
+features:
+ - Implement update_stack to perform the update action on existing
+ orchestration stacks.
diff --git a/releasenotes/notes/update_endpoint-f87c1f42d0c0d1ef.yaml b/releasenotes/notes/update_endpoint-f87c1f42d0c0d1ef.yaml
new file mode 100644
index 0000000..a7b6a45
--- /dev/null
+++ b/releasenotes/notes/update_endpoint-f87c1f42d0c0d1ef.yaml
@@ -0,0 +1,8 @@
+---
+features:
+ - Added update_endpoint as a new function that allows
+ the user to update a created endpoint with new values
+ rather than deleting and recreating that endpoint.
+ This feature only works with keystone v3, with v2 it
+ will raise an exception stating the feature is not
+ available.
diff --git a/releasenotes/notes/use-interface-ip-c5cb3e7c91150096.yaml b/releasenotes/notes/use-interface-ip-c5cb3e7c91150096.yaml
new file mode 100644
index 0000000..14a4fd4
--- /dev/null
+++ b/releasenotes/notes/use-interface-ip-c5cb3e7c91150096.yaml
@@ -0,0 +1,13 @@
+---
+fixes:
+ - shade now correctly does not try to attach a floating ip with auto_ip
+ if the cloud has given a public IPv6 address and the calling context
+ supports IPv6 routing. shade has always used this logic to determine
+ the server 'interface_ip', but the auto floating ip was incorrectly only
+ looking at the 'public_v4' value to determine whether the server needed
+ additional networking.
+upgrade:
+ - If your cloud presents a default split IPv4/IPv6 stack with a public
+ v6 and a private v4 address and you have the expectation that auto_ip
+ should procure a v4 floating ip, you need to set 'force_ipv4' to True in
+ your clouds.yaml entry for the cloud.
diff --git a/releasenotes/notes/volume-quotas-5b674ee8c1f71eb6.yaml b/releasenotes/notes/volume-quotas-5b674ee8c1f71eb6.yaml
new file mode 100644
index 0000000..dfb3b1c
--- /dev/null
+++ b/releasenotes/notes/volume-quotas-5b674ee8c1f71eb6.yaml
@@ -0,0 +1,3 @@
+---
+features:
+ - Add new APIs, OperatorCloud.get_volume_quotas(), OperatorCloud.set_volume_quotas() and OperatorCloud.delete_volume_quotas() to manage cinder quotas for projects and users
\ No newline at end of file
diff --git a/requirements.txt b/requirements.txt
index 47db714..54e1d45 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -4,11 +4,11 @@ munch
decorator
jsonpatch
ipaddress
-os-client-config>=1.13.0
+os-client-config>=1.20.0
requestsexceptions>=1.1.1
six
-keystoneauth1>=1.0.0
+keystoneauth1>=2.11.0
netifaces>=0.10.4
python-novaclient>=2.21.0,!=2.27.0,!=2.32.0
python-keystoneclient>=0.11.0
@@ -18,6 +18,8 @@ python-neutronclient>=2.3.10
python-troveclient>=1.2.0
python-ironicclient>=0.10.0
python-swiftclient>=2.5.0
-python-heatclient>=0.3.0
+python-heatclient>=1.0.0
+python-designateclient>=2.1.0
+python-magnumclient>=2.1.0
dogpile.cache>=0.5.3
diff --git a/setup.cfg b/setup.cfg
index 44ecdc3..6778514 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,6 +1,6 @@
[metadata]
name = shade
-summary = Client library for operating OpenStack clouds
+summary = Simple client library for interacting with OpenStack clouds
description-file =
README.rst
author = OpenStack Infrastructure Team
@@ -31,7 +31,7 @@ all_files = 1
upload-dir = doc/build/html
[egg_info]
-tag_date = 0
tag_build =
+tag_date = 0
tag_svn_revision = 0
diff --git a/shade.egg-info/PKG-INFO b/shade.egg-info/PKG-INFO
index 4dc6ddd..8e70ca5 100644
--- a/shade.egg-info/PKG-INFO
+++ b/shade.egg-info/PKG-INFO
@@ -1,7 +1,7 @@
Metadata-Version: 1.1
Name: shade
-Version: 1.7.0
-Summary: Client library for operating OpenStack clouds
+Version: 1.12.1
+Summary: Simple client library for interacting with OpenStack clouds
Home-page: http://docs.openstack.org/infra/shade/
Author: OpenStack Infrastructure Team
Author-email: openstack-infra at lists.openstack.org
@@ -9,7 +9,7 @@ License: UNKNOWN
Description: Introduction
============
- shade is a simple client library for operating OpenStack clouds. The
+ shade is a simple client library for interacting with OpenStack clouds. The
key word here is *simple*. Clouds can do many many many things - but there are
probably only about 10 of them that most people care about with any
regularity. If you want to do complicated things, you should probably use
diff --git a/shade.egg-info/SOURCES.txt b/shade.egg-info/SOURCES.txt
index 0a09349..afec701 100644
--- a/shade.egg-info/SOURCES.txt
+++ b/shade.egg-info/SOURCES.txt
@@ -8,6 +8,7 @@ HACKING.rst
LICENSE
MANIFEST.in
README.rst
+bindep.txt
requirements.txt
setup.cfg
setup.py
@@ -23,26 +24,50 @@ doc/source/releasenotes.rst
doc/source/usage.rst
extras/delete-network.sh
extras/run-ansible-tests.sh
+releasenotes/notes/add-server-console-078ed2696e5b04d9.yaml
+releasenotes/notes/add_designate_recordsets_support-69af0a6b317073e7.yaml
+releasenotes/notes/add_designate_zones_support-35fa9b8b09995b43.yaml
+releasenotes/notes/add_host_aggregate_support-471623faf45ec3c3.yaml
+releasenotes/notes/add_magnum_baymodel_support-e35e5aab0b14ff75.yaml
+releasenotes/notes/add_magnum_services_support-3d95f9dcc60b5573.yaml
+releasenotes/notes/add_server_group_support-dfa472e3dae7d34d.yaml
+releasenotes/notes/add_update_server-8761059d6de7e68b.yaml
releasenotes/notes/add_update_service-28e590a7a7524053.yaml
releasenotes/notes/cache-in-use-volumes-c7fa8bb378106fe3.yaml
releasenotes/notes/cinderv2-norm-fix-037189c60b43089f.yaml
+releasenotes/notes/compute-quotas-b07a0f24dfac8444.yaml
releasenotes/notes/create-stack-fix-12dbb59a48ac7442.yaml
releasenotes/notes/create_server_network_fix-c4a56b31d2850a4b.yaml
releasenotes/notes/create_service_norm-319a97433d68fa6a.yaml
+releasenotes/notes/delete-image-objects-9d4b4e0fff36a23f.yaml
releasenotes/notes/delete-obj-return-a3ecf0415b7a2989.yaml
+releasenotes/notes/delete_project-399f9b3107014dde.yaml
+releasenotes/notes/domain_operations_name_or_id-baba4cac5b67234d.yaml
+releasenotes/notes/dual-stack-networks-8a81941c97d28deb.yaml
+releasenotes/notes/feature-server-metadata-50caf18cec532160.yaml
releasenotes/notes/fip_timeout-035c4bb3ff92fa1f.yaml
releasenotes/notes/fix-list-networks-a592725df64c306e.yaml
releasenotes/notes/fix-update-domain-af47b066ac52eb7f.yaml
releasenotes/notes/flavor_fix-a53c6b326dc34a2c.yaml
releasenotes/notes/get_object_api-968483adb016bce1.yaml
releasenotes/notes/grant-revoke-assignments-231d3f9596a1ae75.yaml
+releasenotes/notes/image-flavor-by-name-54865b00ebbf1004.yaml
+releasenotes/notes/infer-secgroup-source-58d840aaf1a1f485.yaml
releasenotes/notes/list-role-assignments-keystone-v2-b127b12b4860f50c.yaml
+releasenotes/notes/log-request-ids-37507cb6eed9a7da.yaml
+releasenotes/notes/make_object_metadata_easier.yaml-e9751723e002e06f.yaml
+releasenotes/notes/meta-passthrough-d695bff4f9366b65.yaml
releasenotes/notes/net_provider-dd64b697476b7094.yaml
+releasenotes/notes/network-quotas-b98cce9ffeffdbf4.yaml
releasenotes/notes/norm_role_assignments-a13f41768e62d40c.yaml
releasenotes/notes/router_ext_gw-b86582317bca8b39.yaml
releasenotes/notes/service_enabled_flag-c917b305d3f2e8fd.yaml
+releasenotes/notes/stack-update-5886e91fd6e423bf.yaml
releasenotes/notes/started-using-reno-242e2b0cd27f9480.yaml
releasenotes/notes/swift-upload-lock-d18f3d42b3a0719a.yaml
+releasenotes/notes/update_endpoint-f87c1f42d0c0d1ef.yaml
+releasenotes/notes/use-interface-ip-c5cb3e7c91150096.yaml
+releasenotes/notes/volume-quotas-5b674ee8c1f71eb6.yaml
releasenotes/notes/wait-on-image-snapshot-27cd2eacab2fabd8.yaml
releasenotes/notes/wait_for_server-8dc8446b7c673d36.yaml
shade/__init__.py
@@ -96,6 +121,8 @@ shade/tests/ansible/roles/user_group/tasks/main.yml
shade/tests/ansible/roles/volume/tasks/main.yml
shade/tests/functional/__init__.py
shade/tests/functional/base.py
+shade/tests/functional/test_aggregate.py
+shade/tests/functional/test_cluster_templates.py
shade/tests/functional/test_compute.py
shade/tests/functional/test_domain.py
shade/tests/functional/test_endpoints.py
@@ -106,20 +133,29 @@ shade/tests/functional/test_groups.py
shade/tests/functional/test_identity.py
shade/tests/functional/test_image.py
shade/tests/functional/test_inventory.py
+shade/tests/functional/test_magnum_services.py
shade/tests/functional/test_network.py
shade/tests/functional/test_object.py
shade/tests/functional/test_port.py
+shade/tests/functional/test_project.py
+shade/tests/functional/test_quotas.py
shade/tests/functional/test_range_search.py
+shade/tests/functional/test_recordset.py
shade/tests/functional/test_router.py
+shade/tests/functional/test_server_group.py
shade/tests/functional/test_services.py
... 16934 lines suppressed ...
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-shade.git
More information about the Python-modules-commits
mailing list