Set default columns in ext-list

Previously ext-list does not inherits ListCommand base class for listing
and cannot specify columns to display. This commit changes ext-list to
use ListCommand and adds a unit test for extensions.

This also changes the default value of _formatters in ListCommand to {}.
By this subclasses no longer override _formatters unless required.

Fixes bug 1161866

Change-Id: Ifd9ab54d4e84a2b7a1d7eecd67f6270ec643db1d
   Rename requires files to standard names.

    Rename tools/pip-requires to requirements.txt and tools/test-requires
    to test-requirements.txt. These are standard files, and tools in the
    general world are growing intelligence about them.

    adding test-requirements.txt to quantumclient/openstack/common/setup.py per review instructions.

Change-Id: Ibf991b400bfbeb4222216649901586e01a0255b1
Fixes: bug #1179008
Rename README to README.rst

README.rst seems to be more standard accross OpenStack
modules.

Change-Id: I82cd80e1e816b9c2e9774ad87c1a68bcf7dd8342
Merge "Set default columns in ext-list"
Merge "   Rename requires files to standard names."
Add metavar for --fixed-ip

This patch adds a metavar for the --fixed-ip option so that it's
more clear that the user needs to pass in ip_address=IP_ADDR.

Fixes bug 1188889

Change-Id: I66efd444a2df52603f124637072f194497e241e2
Remove explicit distribute depend.

Causes issues with the recent re-merge with setuptools. Advice from
upstream is to stop doing explicit depends.

Change-Id: I70638f239794e78ba049c60d2001190910a89c90
Merge "Rename README to README.rst"
Remove class-based import in the code repo

Fixes bug 1167901

This commit also removes backslashes for line break.

Change-Id: Id26fdfd2af4862652d7270aec132d40662efeb96
update to latest pbr & remove distribute from tox

Change-Id: I61eb9902446a4fd975d5ea6fa7909ddcb3f7e761
Merge "Remove explicit distribute depend."
Merge "update to latest pbr & remove distribute from tox"
Remove the monkey patching of _ into the builtins.

Previous _ was monkey patched into builtins whenever
certain modules were imported. This removes that and
simply imports it when it is needed.

Change-Id: I8b7cdc7a8da21ed3e8bc69b18414dfc89e8935b8
Merge "Remove class-based import in the code repo"
Allow subnet name in lb-vip-create and lb-pool-create

Fix bug 1168998

Change-Id: I25bf357d069b99db467db43900d293f30c2a7d30
Support router-interface-add/delete by port_id

Fixes bug 1061638

Change-Id: Ie36126a38627a6707e82116fb6b7bd97755f8fd0
Enables H404 check (multi line docstring) in flake8

This commit ensures docstring follows the docstring convention.

Also enables H301 (one import per line) in flake8.
There is already no violation the source codes.

Change-Id: Icf6ce5bae40b2e6492c060a28587d825a1837b43
Merge "Add metavar for --fixed-ip"
Fix mocking of HTTPClient.request() method.

The test_extend_list_exceed_max_uri_len test case mocks
the request() method of HTTPClient class so that it raises
the RequestURITooLong exception. But the real method can't
possibly raise it (Client.do_request() does this instead).
Mocks should emulate the behavior of methods they stub out
and not change it in any way.

Fixes bug 1192197.

Change-Id: I62b2db111ef251f95eb9aa9c9cc00b53fdbccc68
Make --version option print a more detailed client version.

The python quantum client was printing "quantum 2.0" regardless of
the version of the client.  This seems to be the version of the
API but people expect the version of the client to be printed.

I looked at the implementation of --version in nova and keystone.
The one in keystone worked and was fairly straight-forward
utilizing code from the pbr package.  I added this code to version.py
rather than __init__.py.

Change-Id: I53264b454eb16d5c294ad40ab6494387637950db
Fixes: Bug #1190652