Skip to content

Commit ba904d1

Browse files
committed
Remove deprecated options
1 parent b8323c3 commit ba904d1

File tree

5 files changed

+1
-18
lines changed

5 files changed

+1
-18
lines changed

caso/extract/manager.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
cfg.ListOpt(
3636
"projects",
3737
default=[],
38-
deprecated_name="tenants",
3938
help="List of projects to extract accounting records from. You can "
4039
"use this option, or add 'caso' tag to the project in Keystone. "
4140
"Please refer to the documentation for more details.",
@@ -63,7 +62,6 @@
6362
),
6463
cfg.StrOpt(
6564
"extract-to",
66-
deprecated_name="extract_to",
6765
help="Extract record changes until this date. "
6866
"If it is not set, we use now. If a server has "
6967
"ended after this date, it will be included, but "
@@ -72,7 +70,6 @@
7270
),
7371
cfg.StrOpt(
7472
"extract-from",
75-
deprecated_name="extract_from",
7673
help="Extract records that have changed after this date. This "
7774
"means that if a record has started before this date, and "
7875
"it has changed after this date (i.e. it is still running "

caso/extract/openstack/nova.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -34,32 +34,24 @@
3434
cfg.StrOpt(
3535
"type_key",
3636
default="Accelerator:Type",
37-
deprecated_name="accelerator_type_key",
38-
deprecated_group="DEFAULT",
3937
help="Metadata key used to retrieve the accelerator type "
4038
"from the flavor properties.",
4139
),
4240
cfg.StrOpt(
4341
"vendor_key",
4442
default="Accelerator:Vendor",
45-
deprecated_name="accelerator_vendor_key",
46-
deprecated_group="DEFAULT",
4743
help="Metadata key used to retrieve the accelerator vendor "
4844
"from the flavor properties.",
4945
),
5046
cfg.StrOpt(
5147
"model_key",
5248
default="Accelerator:Model",
53-
deprecated_name="accelerator_model_key",
54-
deprecated_group="DEFAULT",
5549
help="Metadata key used to retrieve the accelerator model "
5650
"from the flavor properties.",
5751
),
5852
cfg.StrOpt(
5953
"number_key",
6054
default="Accelerator:Number",
61-
deprecated_name="accelerator_number_key",
62-
deprecated_group="DEFAULT",
6355
help="Metadata key used to retrieve the accelerator number "
6456
"from the flavor properties.",
6557
),
@@ -69,16 +61,12 @@
6961
cfg.StrOpt(
7062
"name_key",
7163
default="accounting:benchmark_type",
72-
deprecated_name="benchmark_name_key",
73-
deprecated_group="DEFAULT",
7464
help="Metadata key used to retrieve the benchmark type "
7565
"from the flavor properties.",
7666
),
7767
cfg.StrOpt(
7868
"value_key",
7969
default="accounting:benchmark_value",
80-
deprecated_name="benchmark_value_key",
81-
deprecated_group="DEFAULT",
8270
help="Metadata key used to retrieve the benchmark value "
8371
"from the flavor properties.",
8472
),

caso/manager.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@
5454
cli_opts = [
5555
cfg.BoolOpt(
5656
"dry-run",
57-
deprecated_name="dry_run",
5857
default=False,
5958
help="Extract records but do not push records to SSM. This "
6059
"will not update the last run date.",

doc/source/usage.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ extract accountig records:
9191
Which extractor to use for getting the data. If you do not specify anything,
9292
nova will be used. Allowed values: nova
9393

94-
.. option:: --projects PROJECTS, --tenants PROJECTS
94+
.. option:: --projects PROJECTS
9595

9696
List of projects to extract accounting records from.
9797

etc/caso/caso.conf.sample

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
# List of projects to extract accounting records from. You can use this option,
3232
# or add 'caso' tag to the project in Keystone. Please refer to the
3333
# documentation for more details. (list value)
34-
# Deprecated group/name - [DEFAULT]/tenants
3534
#projects =
3635

3736
# Tag used to mark a project in Keystone to be extracted by cASO (string value)

0 commit comments

Comments
 (0)