Add container create and delete support

Add basic container create and delete support to OSC.

Change-Id: Ia104db9d7e580d33097ea33a5690998f817995d1
implements: bp swift-client
v3 endpoint set shouldn't always need service option

Change-Id: I71aab1ee4f467dc963e7afa7fc1c82b4255ea822
Closes-Bug: #1351121
Updated from global requirements

Change-Id: If62daf2539ff69323c905c12c19e041f83ef8eb2
user create v2.0 depends on tenantId in response

User create for v2.0 no longer always contains a tenantId in the
response. Add a guard to check for tenantId first before pop'ing it.

Change-Id: I428dbc26520bb86efad33768ce04f584217ad168
Closes-Bug: #1352119
test_find_resource fails if run alone

Currently, we set 'NAME_ATTR' attribute for Volume and Snapshot
class in volume.client.py. When we test test_find_resource alone,
the Volume and Snapshot class do not have 'NAME_ATTR' attribute since
we do not import volume.client, which causes the tests to fail.

Change-Id: I06f727ffa8d37afe1a1191c36574887fecc7a733
Closes-Bug: #1353788
Merge "v3 endpoint set shouldn't always need service option"
Merge "user create v2.0 depends on tenantId in response"
Merge "Add container create and delete support"
Merge "test_find_resource fails if run alone"
Add commands for object upload and delete

Add commands to upload an object to a container, and to delete
an object from a container.

Change-Id: I37c02315495bba5abe612733d1109a3d4ce256a1
implements: bp swift-client
Do basic Identity discovery

This discovery is equivalent to the existing behaviour regarding
default API versions and adds validation to the user-specified
(or default) Identity client version specified.

* Bring in openstack.common.api_discovery to do the basic version
  discovery.
* Add discovery to Identity client to select the client version

All of this is necessary to handle the keystoneclient session
bits as its discovery comes _after_ authentication which is
too late here; we need to be able to specify (or discover) the
Identity version used to authenticate.

Change-Id: I3c02e3c6b3519fbd060be140a05f6b1a2f412645
Merge "Updated from global requirements"
Merge "Add commands for object upload and delete"
a mistake in tests/identity/v3/test_role.py

Change test_service_show to test_role_show.

Change-Id: Ieef7fdeb9401b4dc28720c9ba14bf460ac171288
Merge branch 'basic-discovery' into dt-test
Merge branch 'identity-ec2-tests' into dt-test