]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
VPNaaS Cisco REST client enhance CSR create
authorPaul Michali <pcm@cisco.com>
Mon, 7 Jul 2014 22:57:43 +0000 (18:57 -0400)
committerPaul Michali <pcm@cisco.com>
Wed, 16 Jul 2014 14:04:00 +0000 (10:04 -0400)
commit787fecb99909f47714ad1fbc77384a8f606b2baa
tree734306f8656ad03236a2ae9dd857bc1736c2209f
parentfb6e0653acfba9654c9119427ada0ad6c7211813
VPNaaS Cisco REST client enhance CSR create

For the create of the REST client object that represents a Cisco CSR,
all of the info needed were passed in as separate parameters. This
change just uses a dict instead, so that additional parameters can
be added w/o changing the API.

Updated the currently unused UT module, just so that it can be used
locally and stays up-to-date until it can be converted to use the
new requests-mock package.

Change-Id: I5d4f439cc7ffe125cea9ed3407b70645587a739a
Closes-Bug: 1336478
neutron/services/vpn/device_drivers/cisco_csr_rest_client.py
neutron/services/vpn/device_drivers/cisco_ipsec.py
neutron/tests/unit/services/vpn/device_drivers/cisco_csr_mock.py
neutron/tests/unit/services/vpn/device_drivers/notest_cisco_csr_rest.py