Redact keystone password from logs in arista_ml2
Redact keystone password from logs in arista_ml2

Within networking_arista/ml2/arista_ml2.py, the register_with_eos()
method takes care to redact the keystone password by maintaining a copy
of "cmds" in "log_cmds".

cmds and log_cmds are then passed through _run_openstack_cmds() ->
_run_eos_cmds() -> _send_eapi_req(). However, _send_eapi_req() does not
have an argument for log_cmds, and ends up logging the password on line
1118.

Fix this by updating _send_eapi_req() to accept 'commands_to_log', and
subbing those into the msg to be logged.

Change-Id: I42a79f6e5f5352d982641ffc16215e1919355fda
Closes-Bug: #1634937

stackforge/networking-arista,openstack/networking-arista,openstack/networking-arista