Add missing deprecated messages to policy

During the Yoga cycle, we've introduced a new API to check if it
is possible to add share network subnets to share networks that
are currently being used. We missed the addition of the deprecation
messages to that new policy though. This change serves as a follow
up to add these missing items.

Change-Id: I163e2691105468a0e821c8a5991f8c20e85ff599
This commit is contained in:
silvacarloss 2022-03-09 21:07:14 -03:00 committed by Carlos Eduardo
parent 3d04487fa8
commit 48afe551a0

View File

@ -101,7 +101,9 @@ deprecated_share_network_reset_status = policy.DeprecatedRule(
)
deprecated_share_network_subnet_create_check = policy.DeprecatedRule(
name=BASE_POLICY_NAME % 'subnet_create_check',
check_str=base.RULE_DEFAULT
check_str=base.RULE_DEFAULT,
deprecated_reason=DEPRECATED_REASON,
deprecated_since="Yoga"
)