From 150337803cfe405cd6e7ae6765e8c942b3a24c7b Mon Sep 17 00:00:00 2001 From: Brian Freeman Date: Fri, 22 Mar 2019 15:48:55 -0500 Subject: Sync to Dublin SDC Issue-ID: SDC-2205 Change-Id: I903f8c5124bef4a2b9ba868af20329e4752382c6 Signed-off-by: Brian Freeman --- .../templates/asdc/entitlement_pool.template | 37 +++++++--------------- robot/assets/templates/asdc/key_group.template | 19 ++++++----- 2 files changed, 21 insertions(+), 35 deletions(-) (limited to 'robot/assets') diff --git a/robot/assets/templates/asdc/entitlement_pool.template b/robot/assets/templates/asdc/entitlement_pool.template index bcb04d2f..b7e6825c 100644 --- a/robot/assets/templates/asdc/entitlement_pool.template +++ b/robot/assets/templates/asdc/entitlement_pool.template @@ -1,26 +1,13 @@ { - "name": "${entitlement_pool_name}", - "description": "vendor entitlement pool", - "thresholdValue": "99", - "thresholdUnits": "Absolute", - "entitlementMetric": { - "choice": "CPU", - "other": "" - }, - "increments": "robot", - "aggregationFunction": { - "choice": "Peak", - "other": "" - }, - "operationalScope": { - "choices": [ - "Availability_Zone" - ], - "other": "" - }, - "time": { - "choice": "Hour", - "other": "" - }, - "manufacturerReferenceNumber": "robot12345" -} \ No newline at end of file + "name": "${entitlement_pool_name}", + "description": "vendor entitlement pool", + "thresholdValue": "100", + "thresholdUnits": "Percentage", + "time": { + "choice": "", + "other": "" + }, + "startDate": "${license_start_date}", + "expiryDate": "${license_end_date}", + "manufacturerReferenceNumber": "111111" +} diff --git a/robot/assets/templates/asdc/key_group.template b/robot/assets/templates/asdc/key_group.template index 2081261b..2d194dc8 100644 --- a/robot/assets/templates/asdc/key_group.template +++ b/robot/assets/templates/asdc/key_group.template @@ -1,11 +1,10 @@ { - "name": "${key_group_name}", - "description": "vendor license key group", - "operationalScope": { - "choices": [ - "Tenant" - ], - "other": "" - }, - "type": "Universal" -} \ No newline at end of file + "name": "${key_group_name}", + "description": "vendor license key group", + "type": "Universal", + "thresholdValue": "100", + "thresholdUnits": "Percentage", + "startDate": "${license_start_date}", + "expiryDate": "${license_end_date}", + "manufacturerReferenceNumber": "11111" +} -- cgit 1.2.3-korg