Silences the output in CLI for connection info

This change try to reduce the useless urllib3 connection info in
CLI by set the log level of urllib3.connectionpool.

Change-Id: I9d21d29ae0274133099dd05a14e5211d77ffe721
Closes-Bug: #1333485
Suppress outputs in test_cli20_nsx_networkgateway

The output is from argparse and we need to capture stderr in
setUp(). oslotest.base.BaseTestCase is used as the base class
of test_cli20 to setup stdout/stderr capture.

Closes-Bug: #1296151
Change-Id: I86c50efcf451242c2c1ec13ac5def19d82c1e172
Pass timeout parameter to requests lib call

Pass the timeout paramter set from the httpclient
init method to the request library so it has an effect.

Closes-Bug: #1338910
Change-Id: Icc818bffe5ca4fb141c976dcea6b44d947b69784
Add CLI Support for DVR

This patch modifies the existing python-neutron
client to create and list the distributed
virutal routers.
Based on the user role (admin) will be able to
create a distributed virtual router and should
be able to see the distributed nature of the
router.

Partially-implements: blueprint neutron-ovs-dvr

DocImpact

Change-Id: I96269167525563bdd8a52ff981ee5098f5d68e54
Changed 'json' to 'JSON'

Change-Id: Idac5c4850f8bb727e17967532ab0b9b9c8e99068
Some edits for help strings

Some edits for neutron help strings as noticed by Lana during review of
this patch:
https://review.openstack.org/#/c/102900/

Change-Id: I4f6cbb3ced85e15c5f4f716aad630090955de31b
Co-Authored-By: Lana Brindley <openstack@lanabrindley.com>
Warn on tiny subnet

Log a warning when a user creates a /32 IPv4 subnet since
it will be useless.

Closes-Bug: #1341040
Change-Id: I6a39919e7ce4a39ba67f1ca79e55708566c086fc
Merge "Add CLI Support for DVR"
Fix CLI support for DVR

Partially-implements: blueprint neutron-ovs-dvr

Closes-Bug: #1346121
Change-Id: I60675b4f60fe8154af4ab6d8f0e93867cf362a58
Merge "Suppress outputs in test_cli20_nsx_networkgateway"
Fix for CLI message of agent disassociation

Modified the CLI output messages

Removed network %s to DHCP agent -> Removed network %s from DHCP agent
Removed Router %s to L3 agent -> Removed router %s from L3 agent

Change-Id: I2df928b5e2edecf1aaf5ee15f95e51a37872239a
Merge "Warn on tiny subnet"
Python 3: use six.iteritems()

Change-Id: I9d86dd948bc2241bbb69a04c0024f90b805d7cc8
Create new IPv6 attributes for Subnets by client

This is the client implementation of bp ipv6-two-attributes.
Add two optional arguments:
 --ipv6-ra-mode
 --ipv6-address-mode

Partially implements bp ipv6-two-attributes

Change-Id: Ia922a9b6bb4e1dbd372174d48f29f5411c7b5674
Add MacAddressInUseClient exception handling

Nova needs a specific client exception defined for the server's
MacAddressInUse exception when allocating ports so it can handle the
exception properly, otherwise the NeutronClientException with a 409 can
be confused with other errors.

Partial-Bug: #1347778

Change-Id: Ia02dbc8fe32a43adeb229e3b640b9b33ec0dd6c7
Add a tox job for generating docs

Add a tox job to make it easier for developers to generate their
own docs before submitting a patch.

Change-Id: Iab7ff03120675ade8a3e6e6f7b7839be1f58d40c
Update theme for docs

The current developer docs theme used is out of sync with the other
openstack projects. This patch will update the docs to provide a more
consistent look and feel when using developer docs

Change-Id: I03985039381c2ba4f81a2015258f7b49bba441d9
Revert "Fix CLI support for DVR"

This reverts commit bfec80a776a53b554a8f2d023d2974539edef3ce.

This patch needs to be reverted until we resolve the issue with
patch 109180.

The previous change introduced a situation where we can only
override the default server side setting from the client side
for "--distributed" when the default is False. But we cannot
override when the default is True.

This is a requirement for DVR and at the same time we don't
want to introduce any new changes that would affect any current
plugins. So we will decide on it later and in the mean while I
will revert it.

Partial-Bug: #1346121
Partial-Bug: #1347960
Change-Id: I261f9e232b1f72ed0cb2f0c1ba218facaba9afcb
Python 3: compatibility of StringIO() and dict.iterkeys()

Change-Id: Ia671cacbf1852984c41b374986cc2e9581247b99
Merge "Silences the output in CLI for connection info"