@@ -66,6 +66,26 @@ that you are applying the correct changes as listed in the following table.
6666| | Modified | ``“identity:get_user”: “rule:admin_or_owner or role:accounting” `` |
6767+-------------+----------+-------------------------------------------------------------------+
6868
69+ Selecting projects to get usages
70+ ================================
71+
72+ ``cASO `` will extract project usages for those projects that have been explictly marked
73+ by the operator by either of the ways explained below. The final project list will
74+ result from the merge of both methods, so thay are not mutually exclusive.
75+
76+ * Tagging the project with the configured ``caso_tag `` in OpenStack Keystone. By default
77+ this option is set to ``caso ``, so in order to mark a project to get extracted you
78+ should use the following command for each of the projects::
79+
80+ openstack project set --tag caso <project id>
81+
82+ You can check the list of projects to get usages by using::
83+
84+ openstack project list --tags caso
85+
86+ * Using the ``projects `` list in the ``[DEFAULT] `` section of your configuration file
87+ (see below).
88+
6989cASO configuration
7090==================
7191
@@ -91,7 +111,11 @@ of every option. You should check at least the following options:
91111 records from. You can use either the project ID or the project name. We
92112 recommend that you use the project ID, especially if you are using
93113 domain-based authentication, as otherwise gathering the information might
94- fail.
114+ fail. This option, and the usage of ``caso_tag `` below will set up the final
115+ project list.
116+ * ``caso_tag `` (default value: ``caso ``), specified the tag to be used filter
117+ projects to extract their usage. The projects that are listed with this tag,
118+ as well as the ``projects `` list set above will set up the final project list.
95119* ``messengers `` (list, default: ``noop ``). List of the messengers to publish
96120 data to. Records will be pushed to all these messengers, in order. Valid
97121 messengers shipped with cASO are:
0 commit comments