diff --git a/doc/source/rbac-overview.rst b/doc/source/rbac-overview.rst index 68e86acb..cf130b06 100644 --- a/doc/source/rbac-overview.rst +++ b/doc/source/rbac-overview.rst @@ -281,5 +281,5 @@ related to RBAC in Patrole. .. _do_raise: https://docs.openstack.org/oslo.policy/latest/reference/api/oslo_policy.policy.html#oslo_policy.policy.Enforcer.enforce .. _authorization policy enforcement: https://docs.openstack.org/neutron/latest/contributor/internals/policy.html .. _official documentation: https://docs.openstack.org/oslo.policy/latest/ -.. _Keystone Roles API: https://developer.openstack.org/api-ref/identity/v3/#roles +.. _Keystone Roles API: https://docs.openstack.org/api-ref/identity/v3/#roles .. _response filtering: https://docs.openstack.org/neutron/latest/contributor/internals/policy.html#response-filtering diff --git a/patrole_tempest_plugin/rbac_utils.py b/patrole_tempest_plugin/rbac_utils.py index 922851b1..b11ae383 100644 --- a/patrole_tempest_plugin/rbac_utils.py +++ b/patrole_tempest_plugin/rbac_utils.py @@ -198,7 +198,7 @@ class RbacUtilsMixin(object): "1": ["2", "3"] # "admin": ["member", "reader"] } - .. _list-all-role-inference-rules: https://developer.openstack.org/api-ref/identity/v3/#list-all-role-inference-rules + .. _list-all-role-inference-rules: https://docs.openstack.org/api-ref/identity/v3/#list-all-role-inference-rules """ # noqa: E501 def process_roles(role_id, data): roles = data.get(role_id, set()) diff --git a/patrole_tempest_plugin/tests/api/compute/test_fixed_ips_rbac.py b/patrole_tempest_plugin/tests/api/compute/test_fixed_ips_rbac.py index 2aae19d0..64dd0d19 100644 --- a/patrole_tempest_plugin/tests/api/compute/test_fixed_ips_rbac.py +++ b/patrole_tempest_plugin/tests/api/compute/test_fixed_ips_rbac.py @@ -26,7 +26,7 @@ class FixedIpsRbacTest(rbac_base.BaseV2ComputeRbacTest): # Tests will fail with a 404 starting from microversion 2.36: # See the following link for details: - # https://developer.openstack.org/api-ref/compute/#fixed-ips-os-fixed-ips-deprecated + # https://docs.openstack.org/api-ref/compute/#fixed-ips-os-fixed-ips-deprecated max_microversion = '2.35' @classmethod diff --git a/patrole_tempest_plugin/tests/api/compute/test_floating_ip_pools_rbac.py b/patrole_tempest_plugin/tests/api/compute/test_floating_ip_pools_rbac.py index 327ed086..3736f8db 100644 --- a/patrole_tempest_plugin/tests/api/compute/test_floating_ip_pools_rbac.py +++ b/patrole_tempest_plugin/tests/api/compute/test_floating_ip_pools_rbac.py @@ -27,7 +27,7 @@ class FloatingIpPoolsRbacTest(rbac_base.BaseV2ComputeRbacTest): # Tests will fail with a 404 starting from microversion 2.36: # See the following link for details: - # https://developer.openstack.org/api-ref/compute/#floating-ip-pools-os-floating-ip-pools-deprecated + # https://docs.openstack.org/api-ref/compute/#floating-ip-pools-os-floating-ip-pools-deprecated max_microversion = '2.35' @classmethod diff --git a/patrole_tempest_plugin/tests/api/compute/test_floating_ips_bulk_rbac.py b/patrole_tempest_plugin/tests/api/compute/test_floating_ips_bulk_rbac.py index 337ca6d2..2a86053f 100644 --- a/patrole_tempest_plugin/tests/api/compute/test_floating_ips_bulk_rbac.py +++ b/patrole_tempest_plugin/tests/api/compute/test_floating_ips_bulk_rbac.py @@ -33,7 +33,7 @@ class FloatingIpsBulkRbacTest(rbac_base.BaseV2ComputeRbacTest): # Tests will fail with a 404 starting from microversion 2.36: # See the following link for details: - # https://developer.openstack.org/api-ref/compute/#floating-ips-bulk-os-floating-ips-bulk-deprecated + # https://docs.openstack.org/api-ref/compute/#floating-ips-bulk-os-floating-ips-bulk-deprecated max_microversion = '2.35' depends_on_nova_network = True diff --git a/patrole_tempest_plugin/tests/api/compute/test_floating_ips_rbac.py b/patrole_tempest_plugin/tests/api/compute/test_floating_ips_rbac.py index bfd88112..d3134947 100644 --- a/patrole_tempest_plugin/tests/api/compute/test_floating_ips_rbac.py +++ b/patrole_tempest_plugin/tests/api/compute/test_floating_ips_rbac.py @@ -28,7 +28,7 @@ class FloatingIpsRbacTest(rbac_base.BaseV2ComputeRbacTest): # Tests will fail with a 404 starting from microversion 2.36: # See the following link for details: - # https://developer.openstack.org/api-ref/compute/#floating-ips-os-floating-ips-deprecated + # https://docs.openstack.org/api-ref/compute/#floating-ips-os-floating-ips-deprecated max_microversion = '2.35' @classmethod diff --git a/patrole_tempest_plugin/tests/api/compute/test_hosts_rbac.py b/patrole_tempest_plugin/tests/api/compute/test_hosts_rbac.py index 45be09dc..1dbf7923 100644 --- a/patrole_tempest_plugin/tests/api/compute/test_hosts_rbac.py +++ b/patrole_tempest_plugin/tests/api/compute/test_hosts_rbac.py @@ -23,7 +23,7 @@ from patrole_tempest_plugin.tests.api.compute import rbac_base class HostsRbacTest(rbac_base.BaseV2ComputeRbacTest): # These tests will fail with a 404 starting from microversion 2.43: # See the following links for details: - # https://developer.openstack.org/api-ref/compute/#hosts-os-hosts-deprecated + # https://docs.openstack.org/api-ref/compute/#hosts-os-hosts-deprecated max_microversion = '2.42' @classmethod diff --git a/patrole_tempest_plugin/tests/api/compute/test_hypervisor_rbac.py b/patrole_tempest_plugin/tests/api/compute/test_hypervisor_rbac.py index bef9332c..e0cdc529 100644 --- a/patrole_tempest_plugin/tests/api/compute/test_hypervisor_rbac.py +++ b/patrole_tempest_plugin/tests/api/compute/test_hypervisor_rbac.py @@ -81,8 +81,8 @@ class HypervisorRbacTest(rbac_base.BaseV2ComputeRbacTest): class HypervisorMaxv252RbacTest(rbac_base.BaseV2ComputeRbacTest): # These tests will fail with a 404 starting from microversion 2.53: # See the following links for details: - # https://developer.openstack.org/api-ref/compute/#list-hypervisor-servers - # https://developer.openstack.org/api-ref/compute/#search-hypervisor + # https://docs.openstack.org/api-ref/compute/#list-hypervisor-servers + # https://docs.openstack.org/api-ref/compute/#search-hypervisor max_microversion = '2.52' @classmethod diff --git a/patrole_tempest_plugin/tests/api/compute/test_images_rbac.py b/patrole_tempest_plugin/tests/api/compute/test_images_rbac.py index 1f94400e..66590e9d 100644 --- a/patrole_tempest_plugin/tests/api/compute/test_images_rbac.py +++ b/patrole_tempest_plugin/tests/api/compute/test_images_rbac.py @@ -40,7 +40,7 @@ class ImagesRbacTest(rbac_base.BaseV2ComputeRbacTest): # These tests will fail with a 404 starting from microversion 2.36. # See the following link for details: - # https://developer.openstack.org/api-ref/compute/#images-deprecated + # https://docs.openstack.org/api-ref/compute/#images-deprecated max_microversion = '2.35' @classmethod @@ -125,7 +125,7 @@ class ImagesMetadataRbacTest(rbac_base.BaseV2ComputeRbacTest): # These tests will fail with a 404 starting from microversion 2.39. # See the following link for details: - # https://developer.openstack.org/api-ref/compute/#images-deprecated + # https://docs.openstack.org/api-ref/compute/#images-deprecated max_microversion = '2.38' @classmethod @@ -245,7 +245,7 @@ class ImageSizeRbacTest(rbac_base.BaseV2ComputeRbacTest): # These tests will fail with a 404 starting from microversion 2.36. # See the following link for details: - # https://developer.openstack.org/api-ref/compute/#images-deprecated + # https://docs.openstack.org/api-ref/compute/#images-deprecated max_microversion = '2.35' @classmethod diff --git a/patrole_tempest_plugin/tests/api/compute/test_security_groups_rbac.py b/patrole_tempest_plugin/tests/api/compute/test_security_groups_rbac.py index 4333918b..471d7dad 100644 --- a/patrole_tempest_plugin/tests/api/compute/test_security_groups_rbac.py +++ b/patrole_tempest_plugin/tests/api/compute/test_security_groups_rbac.py @@ -97,7 +97,7 @@ class SecurityGroupsRbacMaxV235Test(rbac_base.BaseV2ComputeRbacTest): # Tests in this class will fail with a 404 from microversion 2.36, # according to: - # https://developer.openstack.org/api-ref/compute/#security-groups-os-security-groups-deprecated + # https://docs.openstack.org/api-ref/compute/#security-groups-os-security-groups-deprecated max_microversion = '2.35' @classmethod diff --git a/patrole_tempest_plugin/tests/api/compute/test_server_actions_rbac.py b/patrole_tempest_plugin/tests/api/compute/test_server_actions_rbac.py index dfb36ca6..1410caa1 100644 --- a/patrole_tempest_plugin/tests/api/compute/test_server_actions_rbac.py +++ b/patrole_tempest_plugin/tests/api/compute/test_server_actions_rbac.py @@ -395,7 +395,7 @@ class ServerActionsV216RbacTest(rbac_base.BaseV2ComputeRbacTest): # This class has test case(s) that requires at least microversion 2.16. # See the following link for details: - # https://developer.openstack.org/api-ref/compute/#show-server-details + # https://docs.openstack.org/api-ref/compute/#show-server-details min_microversion = '2.16' max_microversion = 'latest' diff --git a/patrole_tempest_plugin/tests/api/compute/test_tenant_networks_rbac.py b/patrole_tempest_plugin/tests/api/compute/test_tenant_networks_rbac.py index 13c4b660..f41253d2 100644 --- a/patrole_tempest_plugin/tests/api/compute/test_tenant_networks_rbac.py +++ b/patrole_tempest_plugin/tests/api/compute/test_tenant_networks_rbac.py @@ -28,7 +28,7 @@ class TenantNetworksRbacTest(rbac_base.BaseV2ComputeRbacTest): # Tests will fail with a 404 starting from microversion 2.36. # See the following link for details: - # https://developer.openstack.org/api-ref/compute/#project-networks-os-tenant-networks-deprecated + # https://docs.openstack.org/api-ref/compute/#project-networks-os-tenant-networks-deprecated max_microversion = '2.35' @classmethod diff --git a/patrole_tempest_plugin/tests/api/compute/test_virtual_interfaces_rbac.py b/patrole_tempest_plugin/tests/api/compute/test_virtual_interfaces_rbac.py index 5146b1dc..62eb0bf4 100644 --- a/patrole_tempest_plugin/tests/api/compute/test_virtual_interfaces_rbac.py +++ b/patrole_tempest_plugin/tests/api/compute/test_virtual_interfaces_rbac.py @@ -28,7 +28,7 @@ CONF = config.CONF class VirtualInterfacesRbacTest(rbac_base.BaseV2ComputeRbacTest): # The compute os-virtual-interfaces API is deprecated from the Microversion # 2.44 onward. For more information, see: - # https://developer.openstack.org/api-ref/compute/#servers-virtual-interfaces-servers-os-virtual-interfaces-deprecated + # https://docs.openstack.org/api-ref/compute/#servers-virtual-interfaces-servers-os-virtual-interfaces-deprecated depends_on_nova_network = True max_microversion = '2.43' diff --git a/patrole_tempest_plugin/tests/api/compute/test_volume_rbac.py b/patrole_tempest_plugin/tests/api/compute/test_volume_rbac.py index 77a1ee27..97b25791 100644 --- a/patrole_tempest_plugin/tests/api/compute/test_volume_rbac.py +++ b/patrole_tempest_plugin/tests/api/compute/test_volume_rbac.py @@ -31,7 +31,7 @@ class VolumeRbacTest(rbac_base.BaseV2ComputeRbacTest): # These tests will fail with a 404 starting from microversion 2.36. # For more information, see: - # https://developer.openstack.org/api-ref/compute/#volume-extension-os-volumes-os-snapshots-deprecated + # https://docs.openstack.org/api-ref/compute/#volume-extension-os-volumes-os-snapshots-deprecated max_microversion = '2.35' @classmethod