Sync oslo/config/generator

Sync from oslo:
  0e98afda1ba85243771e31e0c859d550334da648

Change-Id: I9162975b4b76a61693262819a291cc9fa9d2c318
Merge "Sync oslo/config/generator"