get ready to graduate local.py from oslo-incubator