Add -X to DELETE and PUT in debug mode

Fix bug 1042914

Change-Id: I3cded071c12dce0f7eb93b39d5942f0602bd77ba
Fix PEP8 issues.

Fix some pep8 issues in doc/source/conf.py make the code looks pretty.

Change-Id: I7cc284a0155d531d3890941f8c62c04f54d1a2d6
Make region case insensitive.

- Match region in case insensitive way.

Change-Id: I4d97372e7804acd6b735275ed279b78332ba4eef
    Add the image_id arg to volume create

    This fixes bug 1042158 and is a port of
    Josh Durgin's fix to python-cinderclient

    Patch set 2, remove unnecessary secondary option for
    image_id

Change-Id: If028f784f1c6de9b47705cb580711849d1c00060
Fixes doc string and string formatting

A small change to fix a doc sting mistake and a string formatting
error on floatingIP. Fixes bug 1043906.

Change-Id: I212e317efb81afdb450fd79f16552fd393e86bd9
Show POST in debug with curl.

- When debugging with switch --debug display show the POST request directly
  in the curl command line making easy to copy and paste.

Change-Id: Id62ef2c32a3e9d492dd2d34c4bd7575bda10eb0f
Fix usage-list date range to use UTC time

Fixes bug #1045456

The date range in Nova's os-simple-tenant-usage is expected to be in UTC
time since launch/termination dates are stored in the DB in UTC time and
we use the client supplied parameters to query DB without conversion.

Switch from using datetime.today() to datetime.utcnow() to fix the issue.

Add a test for the default date range.

Import timeutils from openstack-common so we can control the return value
of utcnow() in the tests.

Change-Id: Iac77e3a4cc9561714d1492c54cef931f9764531e
Merge "Fix usage-list date range to use UTC time"
Merge "Fix PEP8 issues."
Merge "Add -X to DELETE and PUT in debug mode"
Merge "    Add the image_id arg to volume create"
Add ConnectionRefused exception.

When novaclient gets a Connection Refused it now presents that as a
ConnectionRefused exception with appropriate information rather than as
an HTTP exception.  Addresses bug 1047078.

vagrant@precise64:/opt/stack/python-novaclient$ nova image-list
ERROR: ConnectionRefused: '[Errno 111] Connection refused'

Change-Id: Iebf4d78a524004d5e79d2219b35f90fbd38ee690
Show instances built from deleted snapshots

novaclient current throws an image not found error when you use the 'show'
command against an instance that was built from a snapshot which was
subsequently deleted.

Change-Id: If950b4582d0af9947c30fb24eea78a0829edecf3
Merge "Show instances built from deleted snapshots"
Makes handling of nic args more robust

Legacy users of novaclient may not pass all of the new nic args,
so this patch only passes them on if they are set.

Fixes bug 1044231

Change-Id: I1c8323a3a09613ad4e8dfcc1dfe379dbda50f125
Optionally faster 'nova show'

Running show against an instance UUID calls for the
instance/flavor/image data. This patch allows --minimal
to be passed and the extra lookups will be skipped.

Change-Id: I76e9ac58a67b7cb595ca08c173ec9758119b46ae
Support flavor extra specs in nova client

Add flavor extra specs so that user can list/set/unset
extra specs in nova client

blueprint extra-specs-in-nova-client

Change-Id: I6ad7293e29764648c79943c4d05f3a09931af411
Signed-off-by: Yunhong, Jiang <yunhong.jiang@intel.com>
Merge "Makes handling of nic args more robust"
Add support for Unicode secgroup names

Fixes bug 934081.

Previously, manipulating secgroups with Unicode names would fail
in _get_secgroup, due to the command-line argument being a raw
byte string, and the secgroup name from cs.security_groups.list()
being a Unicode string.  This causes a UnicodeWarning and the
"if secgroup == s.name" test to fail for the desired secgroup, so
secgroup-add-rule and secgroup-delete would fail.

This change converts them to byte strings for comparison, fixing
these commands.

Likewise, error messages containing Unicode secgroup names would
fail to print. (i.e. "Security group <x> already exists")

Change-Id: Ie90cb49b8f11e3283fe509e95a8e9fd468cc9892
expose os-networks extension to CLI

Change-Id: Ia62a9333ec6f0d8b9178fae0313e94cae043f84b