From 31b0fe39b617cc997bed9d56d3aa680f85b18a14 Mon Sep 17 00:00:00 2001 From: Peter Stachowski Date: Mon, 18 Apr 2016 11:34:33 -0400 Subject: Add New Relic License module driver The recent addition of module support in Trove (see https://blueprints.launchpad.net/trove/+spec/module-management ) does not include the New Relic license module driver. This has been added. A decorator to streamline writing drivers (by handling common errors) was also added, and the ping driver modified to use it as well. Since this code is dependent on having an image with New Relic installed, no changes were made to the scenario tests with respect to this new driver. An addition flag was added to the 'apply' interface that passes in whether a module was created with 'admin options.' This allows some rudimentary access control to be implemented. Depends-On: I6fb23b3dbbec98de9ee1e2731bcfc56ab3c0ca42 Change-Id: I282cf533c99e351d23f3b86aae727ae4bf279b64 Closes-Bug: #1571711 --- setup.cfg | 1 + 1 file changed, 1 insertion(+) (limited to 'setup.cfg') diff --git a/setup.cfg b/setup.cfg index 0fa6f2ae..f5903213 100644 --- a/setup.cfg +++ b/setup.cfg @@ -38,6 +38,7 @@ trove.api.extensions = trove.guestagent.module.drivers = ping = trove.guestagent.module.drivers.ping_driver:PingDriver + new_relic_license = trove.guestagent.module.drivers.new_relic_license_driver:NewRelicLicenseDriver # These are for backwards compatibility with Havana notification_driver configuration values oslo.messaging.notify.drivers = -- cgit v1.2.1