Fix for ConnectionError.

Why the fix is required:
ConnectionError is seen as some REST operation are taking more then 10 seconds.

The fix addresses the following:
   1. Get Operation on enumerate url is now done with 30 secs timeout.
   2. REST Login timeout is now set equivalent to GET, POST and PUT request timeout.
   3. Default REST Login Timeout is set to 10 secs (which is same as GET, POST, PUT, and Delete)
   4. GET, PUT and POST operation can now be called with timeout other then defaut 10sec.

Resolves openbmc/openbmc-test-automation#164

Change-Id: I0fa42d36c9b80fe30346d23258daf5300eb23b6a
Signed-off-by: Rahul Maheshwari <rahulmaheshwari@in.ibm.com>
2 files changed