From ae00ce6bd1d00fec2aaf51f0792f1914477ee098 Mon Sep 17 00:00:00 2001 From: Sarafraj Singh Date: Wed, 22 Jun 2016 12:19:30 -0500 Subject: [PATCH] Improve help text of flavors config options 1. Added more verbose to flavor configuration options 2. Fixed syntax for consistency Implements blueprint centralize-config-options-newton Change-Id: I55e45ad9e8dc0455811b28e8aaf600b1fb026f3f --- nova/conf/flavors.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/nova/conf/flavors.py b/nova/conf/flavors.py index e6d66c08c400..150c1c269432 100644 --- a/nova/conf/flavors.py +++ b/nova/conf/flavors.py @@ -21,8 +21,14 @@ flavor_opts = [ default='m1.small', deprecated_for_removal=True, deprecated_reason='The EC2 API is deprecated', - help='DEPRECATED: Default flavor to use for the EC2 API only. ' - 'The Nova API does not support a default flavor.'), + help=""" +Default flavor to use for the EC2 API only. +The Nova API does not support a default flavor. + +Possible values: + +* Any flavor name, e.g. m1.tiny, m1.small (Default), m1.medium, m1.large +"""), ]