Cleanup unused import

Change-Id: Id7d110110f238077630c9b9ee4d643654844dd3e
Use HTTP keep-alive feature in HTTPClient class

Currently  HTTPClient creates a new TCP connection for each
API request. We could actually reuse created connections by
relying upon HTTP keep-alive feature.  That would enable us
to do a few queries in a row more efficiently.

Fixes bug 1170385.

Change-Id: Ie6d8fb9670938e3790017509a242630b67abd794
Make list flavor show extra specs optional.

Flavor list will get each flavors extra_specs by making fresh requests to nova.
When there are lots of flavors, the flavor list will take a while to run. So
let us make show extra-specs optional.

Fix bug: #1166455

Change-Id: I86aef1035be6a88b8d9fb49a89f5a608a72589dd
Fix nova instance-action-list output field and order

'instance-action-list' is not possible to identify the order
and time of the specified instance actions.
This patch fixes the sort of 'Start_time' and add field.

Change-Id: If9e6aaf8eb631819bf8e1c915cb1da64d6fcd2f4
Implements: blueprint instance-action-list-output
Merge "Make list flavor show extra specs optional."
Add 'flavor-list --all' admin switch

Nova gives admins public flavors and flavors from their own projects
only by default. For flavor management, admins need to see all flavors
regardless of access.

Changes:
- Adds an 'is_public' argument to flavors.list() that mirrors the
  Nova API. is_public=None can be used to see all flavors.
- Adds an --all switch to flavor-list in the CLI for use by admins
  when all flavors are wanted.

Fixes bug 1172179.

Change-Id: I915cd2d8266cb6e32c80691a6ff27d8a23488c98
Synchronize code from oslo

Use commit 8c964a25a0904f4153eb4fbcfb3cfd4d8a357e0c
Do not import openstack.common.log in strutils
(Mon Apr 29 11:13:51 2013 +0300)

Changes:
    8c964a2 Do not import openstack.common.log in strutils
    e700d92 Replaces standard logging with common logging
    47e9e98 Fix the co-authored-by processing.
    6e8b9ba Include Co-authored-by entries in AUTHORS.
    547ab34 Fix Copyright Headers - Rename LLC to Foundation
    2cb8e45 support ISO 8601 micro-second precision

Change-Id: Ida31e60ecac5ba89e72a1d8b0a79fd608ad19092
Merge "Fix nova instance-action-list output field and order"
Allow deleting multiple images from shell

Adds nargs to image-delete to allow deleting
multiple images through cli.

Adds shell test for multiple image-delete.
Also makes a small correction in fakes to
correct image id of the second image to 2.

Fixes bug #1173511

Change-Id: I167a97cab75a6df544901e965d2cfa3c10a3958e
Merge "Synchronize code from oslo"
Clean up exceptions.from_response

Change-Id: I359a911c0813697f091517de493be403e8c1d8a3
Adds extended status fields to nova list

The nova list command now includes 'Task State' and 'Power State' fields to
bring parity with the dashboard.

	* Add helper function _translate_extended_states()
	to convert extended states to human

Fixes: bug #954750

Change-Id: I564b7f88e9e2524d8e4ffe21a51608c5e3b23d2d
Expose retry_after attribute of OverLimit exception

Fixes bug 1174469

Change-Id: Ic1e67f6f91d4fe2072ff68dfb36330cd86c1d5b4
Add setuptools_git-*.egg to .gitignore

Change-Id: I97128363b13414e9037cf54ffc52a3db405b13a1
Merge "Allow deleting multiple images from shell"
Merge "Adds extended status fields to nova list"
Merge "Expose retry_after attribute of OverLimit exception"
Fix for --bridge-interface being ignore by nova network-create

Change-Id: I84b3264e9cbf78c1af27a3f2fd9690f60f710299
Fixes: bug #1179437
Fix the default parameter in print_list

Because sort_index = 0 by default, "if sort_index is not None" doesn't
make any sense.
Here sort_index should be None by default, which means "donot want to
sort".

Change-Id: I823ab75eb7a92bdc426dd96a3d1e56f187118729
Signed-off-by: Shane Wang <shane.wang@intel.com>
Cleanup some flavor commands

Some cleanups include:
 - Add flavor sub-commands into README.rst
 - Check flavor ID when creating a flavor
 - Remove check_uuid_like() because it isn't used
 - Remove parameter cs in some _print_XXX functions because cs is
   not used

Change-Id: If47ce557d33db05f53e382f0670f436e05a340b7
Signed-off-by: Shane Wang <shane.wang@intel.com>