]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Move Cisco VPN RESTapi URI strings to constants
authorSridhar Ramaswamy <srramasw@cisco.com>
Sat, 2 Aug 2014 23:06:58 +0000 (16:06 -0700)
committerSridhar Ramaswamy <srramasw@cisco.com>
Sat, 2 Aug 2014 23:06:58 +0000 (16:06 -0700)
commitba87499dda0c897aa08afadfc2911ff80bdae2f9
tree899fea2f7e1b5f0cae0746fc4c42106f73a92543
parenta566fb79ba2ada52a61ab7b08a632773a48da8d4
Move Cisco VPN RESTapi URI strings to constants

Cisco VPN RESTapi URI strings are currently spread out
throughout the cisco vpn device driver code. This create
challenge towards consistently using REST resource identifiers
as this code gets enhanced in the future. This change moves
those URIs as string contents towards the top of the device
driver file.

This addresses the review comment received during the
cisco-vpnaas BP implementation.

Change-Id: I17e02cca95b1d14d9218f1a2745780bd14c9f89d
Closes-Bug: #1313801
neutron/services/vpn/device_drivers/cisco_csr_rest_client.py