Honeycomb setup and utils 89/689/9
authorTibor <tifrank@cisco.com>
Wed, 6 Apr 2016 11:33:42 +0000 (13:33 +0200)
committerGerrit Code Review <gerrit@fd.io>
Wed, 13 Apr 2016 16:00:37 +0000 (16:00 +0000)
commit3121b691debad27fcea1c6e2031e4a2544e42fbf
tree29173fdc965709cf568d2f75c7b62ed320c8d362
parentd9c35ed4fe07f506a8146cfc295d96049d5a76e9
Honeycomb setup and utils

- re-implement HTTPCodes as IntEnum rather then dictionary
- add methods to manipulate data using honeycomb - get, set, delete
- change the name of url file from vpp_version.url to oper_vpp_version.url
- improve checking of startup and shutdown state of honeycomb
- PEP8 fixes
- add docstrings in all modules and classes
- move logging to the lowest possible level
- improve logging in exceptions
- add method exec_command_sudo_log to resources.libraries.python.ssh module

Change-Id: I54e0c6b45313e3a3c11bafa475488ae2b1e605c2
Signed-off-by: Tibor Frank <tifrank@cisco.com>
docs/honeycomb_url_files.rst [new file with mode: 0644]
resources/libraries/python/HTTPRequest.py
resources/libraries/python/HoneycombSetup.py
resources/libraries/python/HoneycombUtil.py
resources/templates/honeycomb/oper_vpp_version.url [moved from resources/templates/honeycomb/vpp_version.url with 100% similarity]

©2016 FD.io a Linux Foundation Collaborative Project. All Rights Reserved.
Linux Foundation is a registered trademark of The Linux Foundation. Linux is a registered trademark of Linus Torvalds.
Please see our privacy policy and terms of use.