
The original policy framework allowed new policy checks to be created through inheritance. This is somewhat clunky and unnecessary in Python. This change refactors policy.py to allow new policy checks to be registered using an @register() decorator. One consequence is that HttpBrain is deprecated. Care has been taken to ensure backwards compatibility; deprecation warnings will be emitted for uses of HttpBrain or the inheritance- based checks. (Pull-up from openstack-common.) Change-Id: Ib11f4581d187d037d2081515d70e325425d68760
8 lines
215 B
Plaintext
8 lines
215 B
Plaintext
[DEFAULT]
|
|
|
|
# The list of modules to copy from openstack-common
|
|
modules=cfg,gettextutils,importutils,iniparser,jsonutils,policy,setup,timeutils,log
|
|
|
|
# The base module to hold the copy of openstack.common
|
|
base=glance
|