Enable config auto-generation

Change-Id: I561f4264bfad614cffa8e768cdfd1eb87f0e21c1
This commit is contained in:
Ilya Shakhat
2015-04-01 18:54:29 +03:00
parent ce121e8067
commit 5761a9e584
11 changed files with 539 additions and 43 deletions

View File

@@ -13,6 +13,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import copy
from oslo_config import cfg
@@ -68,3 +70,7 @@ OPTS = [
cfg.IntOpt('members-look-ahead', default=250,
help='How many member profiles to look ahead after the last'),
]
def list_opts():
yield (None, copy.deepcopy(OPTS))