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
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
python3: Introduce py33 to tox.ini

Introduce py33 to tox.ini to make testing with
python3 easier.

Change-Id: Id50ca397612d4948325a0ad0f39451a16b86d5bd
Signed-off-by: Chuck Short <chuck.short@canonical.com>
Merge "Support router-interface-add/delete by port_id"
Merge "Allow subnet name in lb-vip-create and lb-pool-create"
Merge "Enables H404 check (multi line docstring) in flake8"
Merge "Remove the monkey patching of _ into the builtins."
Rename quantumclient to neutronclient

Implements Blueprint: remove-use-of-quantum

Change-Id: Idebe92d56d277435ffd23f292984f9b8b8fdb2df
Renamed quantum to neutron in .gitreview

Change-Id: I08794753f0a4c1c35c89d712011638bd601a6622
Allow user to specify None value to attributes

Bug #1086232

We introduce the action=clear to unknown argument part of
the command line. With this option, user can specify which
attribute will have None value.

For example to set dns_nameservers of subnet to None, we use:
quantum subnet-update subnetname --dns_nameservers action=clear

Of course, client command developer can use known option like --no-gateway
to do the same job.

Change-Id: Ia8dffcfd1122259d545a61e71db25e459639d130
Don't convert httplib2 exceptions to status codes

Currently HTTPClient class sets the 'force_exception_to_status_code'
instance variable to True. This actually leads to the next problem:
there is no way to distinguish between errors which have the same
status code. E. g. both SSL handshake error and a general Bad Request
error have status code 400, and the only way to distinguish between them
is to analyze the error message content, that is both error-prone and ugly.

The proposed solution:
  - leaves the 'force_exception_to_status_code' set to False
  - adds a try/except wrapper for the request() call to handle
    httplib2 exceptions (e. g. host not found, socket timeout, etc)

Blueprint: quantum-client-ssl

Change-Id: Ib168fadc67568d5d6247f7addbe731e8832a39de
Add --security-group option to port-update

port-update --security_groups list=true ... is not user-friendly.

bug 1161078

This commit also changes the followings:
- Add --no-security-groups options to port-create for consistency.
- Make --security-group and --no-security-groups mutual-exclusive
  to prevent both options specified at the same time.

Change-Id: Ibfe165a0cbdfb0eb582784c80a3371de33108fdb
Allow tenant ID for authentication

Under the Keystone v3 API Tenant names are not necessarily uniques
across Domains for a User, so the client should also allow
authentication by tenant_id

Fixes bug 1196486

Change-Id: I3f385a19c1d3d66f5539f901796bbaa22d315762
Merge "Don't convert httplib2 exceptions to status codes"
Remove commented out code

Change-Id: I0813a7594774d34b798fc8be316cfc325d4e4a95
Merge "Allow user to specify None value to attributes"
Merge "Remove commented out code"
let cliff install the right pyparsing

Bug #1197083

cliff(>=1.4) reqires:
PrettyTable>=0.6,<0.8
cmd2>=0.6.4
pyparsing==1.5.7

Change-Id: Ifac96211c3d728d68cde21a2d1dd3714a9dcc5de