Update help for --nic opt and make net-id or port-id required

Commit updates help string for --nic option to reflect that specifying
net-id and port-id keys are optional but that at least one is
required.  Additionally, we change _boot in novaclient/v1_1/shell.py
to raise an exception if random keys are added to --nic string and if
--nic string does not contain net-id or port-id keys.

Change-Id: Icf94c395bd09160aa6a1b849eb464d72e410e1ae
Fixes: bug #1052356
Fixes: bug #1191139
Return Customer's Quota Usage through Admin API

Modified the used limits API for Admin to retrieve
the used limits for a customer. Changes done to the
nova client to fetch limits for a given tenant.

This is related to changes made in nova,
https://review.openstack.org/#/c/27468/

Change-Id: Id53576eb35d6dab7cb655f8427091e95a6f75a6d
Implements: blueprint customer-quota-through-admin-api
Merge "Update help for --nic opt and make net-id or port-id required"
python3: Compatibility for iteritems differences

In python3 dict.iteritems(), dict.iterkeys(), and
dict.itervalues() are no longer supported. So use
six.iteritems() where it is appropriate.

Change-Id: I8b07dc2a89d790ec275d45f859e1644e9b00c837
Signed-off-by: Chuck Short <chuck.short@canonical.com>
Merge "Return Customer's Quota Usage through Admin API"
python3: Fix print statements

Fix print statements while running with python3. This is
due to the fact that the print() has changed between
python2 and python3.

Change-Id: I3af57cf8925e0fcfb34981f5b72ed989ba9f6cd4
Signed-off-by: Chuck Short <chuck.short@canonical.com>
Remove Diablo compatibility options

According to the fixme in the code, these should have been removed
in Folsom.

Change-Id: If11c576e45931b72c227f51a0b8f63bc5f7dd4cb
Fixup trivial License Header mismatch.

The currently proposed Hacking check H103
compares the license boilerplate header in
source files with a known good version.
Fix up the syntactical-only mismatches with
that check.

Change-Id: Ie8861b9ded858aabb4cebbe9db656e8cccc9efed
Bring stdout/stderr capturing in line w/ nova

In .testr.conf, we reference OS_STDOUT_CAPTURE / OS_STDERR_CAPTURE
while in novaclient/tests/utils.py we reference OS_STDOUT_NOCAPTURE
and OS_STDERR_NOCAPTURE.  This change brings things more in line
with nova project by referencing OS_STDOUT_CAPTURE / OS_STDERR_CAPTURE
in both locations.

Change-Id: I22efdec84bef78e99d1d95303cadade6011d76a2
Fixes: bug #1192997
Merge "Fixup trivial License Header mismatch."
Merge "Bring stdout/stderr capturing in line w/ nova"
Merge "python3: Compatibility for iteritems differences"
Merge "python3: Fix print statements"
Merge branch 'andreibranch2' of github.com:aostapenko/python-novaclient into andreibranch2
++++home