congress/contrib/nova
Andrey Kurilin 57411fec5e Fix wrong usage of novaclient
novaclient.client.Client is a documented way to initialize novaclient.
Also, it provides a backward compatible layer.

Change-Id: I9dd15abbeda26c5a6a40139ce47a200720decce8
Closes-Bug: #1493576
2016-06-21 21:31:08 +03:00
..
congress.py Fix wrong usage of novaclient 2016-06-21 21:31:08 +03:00
README Symantec's domain quota policy enforcement 2015-09-21 17:19:40 -07:00
sample_policies Symantec's domain quota policy enforcement 2015-09-21 17:19:40 -07:00

Steps to install this policy extension:
1. Install congress client on nova controllers
2. Install (copy) policy module (congress.py) under nova/api
3. In api-paste.ini, declare congress filter and insert it to the execution flow.
   Congress filter usually sits in between the final application 'osapi_compute_app_v2' and keystone context.
   For example, congress filter can be declared as
    "
    [filter:congress]
    paste.filter_factory = nova.api.congress:Congress.factory
    "
    And insert congress into the execution flow like
    "
    keystone_nolimit = compute_req_id faultwrap sizelimit authtoken keystonecontext congress osapi_compute_app_v2
    "
4. Push policies into congress server as indicated in "sample_policies"

P.S. This policy enforcement is supposed to go with admin credentials in order to have a whole picture at domain level.
     Therefore we turn on "all_tenent" option while looking up resource usage across the entire domain.


More info can be found within this public slides: https://drive.google.com/file/d/0B5VvD3PSoDPaLTVIWG1NNDhQRFE/view?usp=sharing