Use assertIn where appropriate

Change-Id: I27038279067183352e5a54766fb74515057d581a
Misc typo in neutronclient

Added a missing description for parameter node in the
docstring of function _from_xml_node

Change-Id: I4534dbf43e45b94d44d0c53d910987b8fad1cbdf
Closes-Bug: #1255994
Remove an unused imported module

The urlparse module is imported in neutronclient/client.py but not used, so we
can safely remove it.

Change-Id: Ia9e950e754d00ee4f28172f3e685b892748991e2
Fix description of ListSubnet

The help texts for both "neutron net-list" and "neutron subnet-list"
give the same text "List networks that belong to a given tenant."

Fix it so that subnet-list output the proper "subnet"

Change-Id: I0877b51ad10ac0e04b24effa7cbd1e412098e363
Partial-Bug: #1244618
Merge "Remove an unused imported module"
Merge "Misc typo in neutronclient"
Merge "Fix description of ListSubnet"
Mention --fixed-ip subnet_id=<..> in help message

Improved help message for port-create --fixed-ip subnet_id=<..> case:
 * ensure it's mentioned when no arguments are passed;
 * fixed wording of --help message to make it clear subnet_id may be
   passed without ip_address.

Change-Id: Ie48099e0445f80dbff78766e42bc548f925cd208
Closes-Bug: #1267465
Combine debug and verbose commandline options

Most of the openstack clients (for example nova) when --debug is specified it
shows the api calls the client is making. However, when debug is passed into
the neutronclient it shows exceptions that have occurred inside the
neutronclient. This patch combines verbose and debug to do the samething.

Change-Id: I6f2e0b17ffbe8fbfa77e26222dae32f5ab1e8866
Closes-bug: #1260489
Adding weight column to Neutron lb member list CLI

Adding 'weight' column to lbaas member-list command in order to quickly
identify member properties. Protocol port was already been shown.
This avoids having to enter each member details to see the weights
settings.

Change-Id: Id3c8cd8b3304535e2d82777018121007ed3bb129
Closes-Bug: #1267575
update coveragerc file

fix missing change from quantumclient to neutronclient in .coveragerc
exclude tests from code coverage calculation

Change-Id: Ie286faaaaad9e9bc72c89422ac628178a30ccc8e
session_persistence: invalid str2dict value: u''

Can't receive empty session_persistence dict to update the vip.
It would raise the following error:

$ neutron lb-vip-update vip --session_persistence type=dict ""
usage: neutron [--session_persistence SESSION_PERSISTENCE]
neutron: error: argument --session_persistence: invalid str2dict value: u''

Change-Id: Ice43bbe19138be6af85b47c2090359d22c70b29f
Closes-Bug: #1262582
Rename Nicira NVP to VMware NSX in neutronclient

Use new naming scheme to reflect rebranding.

Partial-implements blueprint nicira-plugin-renaming

Change-Id: I694fbda1c228e92a0b910358523787fa742d9ab2
Add shared parameter for metering labels

With this patch metering labels can
be set as shared so that the rules
associated with this label will be
applied to all routers for all tenants.

Partially implements
blueprint l3-metering-mgnt-ext

Change-Id: I23f9fb9cf17c7a20069616bb1c4ae19a5dc55d68
Fixed a minor typo in a docstring

Change-Id: I4d822513cc65662a988c7ad10b01ff04fa7d6890
Fixed get_auth_info() for pre-authenticated clients

When a client is instantiated with pre-defined authorization token,
no authentication is done, so no auth_[tenant|user]_id keys are set
for HTTPClient. As a result, Client.get_auth_info() fails with KeyError.

Fixed the issue by setting those keys on HTTPClient initialization.

Change-Id: Ifc9d6b128286b635346a7bc026fcc55dbd002050
Closes-Bug: 1277120
Support building wheels (PEP-427)

Universal is used to identify pure-Python module(by bdist_wheel). For
these, it is sufficient to build a wheel with _any_ Python ABI version
and publish that to PyPI (by whatever means).

Change-Id: I3dd06b63d2fdcce8961f87fe1d71be052cb0fdf0
Merge "Rename Nicira NVP to VMware NSX in neutronclient"
Remove vi modelines

We don't need to have the vi modelines in each source file,
it can be set in a user's vimrc if required.

Change-Id: Ic30e91df1b0e25beda9b8d8c19be58573cdae4f6
Closes-Bug: #1229324
Merge "Fixed get_auth_info() for pre-authenticated clients"