Update api-ref location
The api documentation is now published on docs.openstack.org instead of developer.openstack.org. Update all links that are changed to the new location. Note that redirects will be set up as well but let's point now to the new location. For details, see: http://lists.openstack.org/pipermail/openstack-discuss/2019-July/007828.html Change-Id: Ib854afe939791180153cccc4b0313e5b25842f7e
This commit is contained in:
parent
cb29d64c1b
commit
ee00c05e9a
|
@ -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
|
.. _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
|
.. _authorization policy enforcement: https://docs.openstack.org/neutron/latest/contributor/internals/policy.html
|
||||||
.. _official documentation: https://docs.openstack.org/oslo.policy/latest/
|
.. _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
|
.. _response filtering: https://docs.openstack.org/neutron/latest/contributor/internals/policy.html#response-filtering
|
||||||
|
|
|
@ -198,7 +198,7 @@ class RbacUtilsMixin(object):
|
||||||
"1": ["2", "3"] # "admin": ["member", "reader"]
|
"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
|
""" # noqa: E501
|
||||||
def process_roles(role_id, data):
|
def process_roles(role_id, data):
|
||||||
roles = data.get(role_id, set())
|
roles = data.get(role_id, set())
|
||||||
|
|
|
@ -26,7 +26,7 @@ class FixedIpsRbacTest(rbac_base.BaseV2ComputeRbacTest):
|
||||||
|
|
||||||
# Tests will fail with a 404 starting from microversion 2.36:
|
# Tests will fail with a 404 starting from microversion 2.36:
|
||||||
# See the following link for details:
|
# 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'
|
max_microversion = '2.35'
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|
|
@ -27,7 +27,7 @@ class FloatingIpPoolsRbacTest(rbac_base.BaseV2ComputeRbacTest):
|
||||||
|
|
||||||
# Tests will fail with a 404 starting from microversion 2.36:
|
# Tests will fail with a 404 starting from microversion 2.36:
|
||||||
# See the following link for details:
|
# 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'
|
max_microversion = '2.35'
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|
|
@ -33,7 +33,7 @@ class FloatingIpsBulkRbacTest(rbac_base.BaseV2ComputeRbacTest):
|
||||||
|
|
||||||
# Tests will fail with a 404 starting from microversion 2.36:
|
# Tests will fail with a 404 starting from microversion 2.36:
|
||||||
# See the following link for details:
|
# 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'
|
max_microversion = '2.35'
|
||||||
depends_on_nova_network = True
|
depends_on_nova_network = True
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@ class FloatingIpsRbacTest(rbac_base.BaseV2ComputeRbacTest):
|
||||||
|
|
||||||
# Tests will fail with a 404 starting from microversion 2.36:
|
# Tests will fail with a 404 starting from microversion 2.36:
|
||||||
# See the following link for details:
|
# 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'
|
max_microversion = '2.35'
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|
|
@ -23,7 +23,7 @@ from patrole_tempest_plugin.tests.api.compute import rbac_base
|
||||||
class HostsRbacTest(rbac_base.BaseV2ComputeRbacTest):
|
class HostsRbacTest(rbac_base.BaseV2ComputeRbacTest):
|
||||||
# These tests will fail with a 404 starting from microversion 2.43:
|
# These tests will fail with a 404 starting from microversion 2.43:
|
||||||
# See the following links for details:
|
# 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'
|
max_microversion = '2.42'
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|
|
@ -81,8 +81,8 @@ class HypervisorRbacTest(rbac_base.BaseV2ComputeRbacTest):
|
||||||
class HypervisorMaxv252RbacTest(rbac_base.BaseV2ComputeRbacTest):
|
class HypervisorMaxv252RbacTest(rbac_base.BaseV2ComputeRbacTest):
|
||||||
# These tests will fail with a 404 starting from microversion 2.53:
|
# These tests will fail with a 404 starting from microversion 2.53:
|
||||||
# See the following links for details:
|
# See the following links for details:
|
||||||
# https://developer.openstack.org/api-ref/compute/#list-hypervisor-servers
|
# https://docs.openstack.org/api-ref/compute/#list-hypervisor-servers
|
||||||
# https://developer.openstack.org/api-ref/compute/#search-hypervisor
|
# https://docs.openstack.org/api-ref/compute/#search-hypervisor
|
||||||
max_microversion = '2.52'
|
max_microversion = '2.52'
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|
|
@ -40,7 +40,7 @@ class ImagesRbacTest(rbac_base.BaseV2ComputeRbacTest):
|
||||||
|
|
||||||
# These tests will fail with a 404 starting from microversion 2.36.
|
# These tests will fail with a 404 starting from microversion 2.36.
|
||||||
# See the following link for details:
|
# 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'
|
max_microversion = '2.35'
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
@ -125,7 +125,7 @@ class ImagesMetadataRbacTest(rbac_base.BaseV2ComputeRbacTest):
|
||||||
|
|
||||||
# These tests will fail with a 404 starting from microversion 2.39.
|
# These tests will fail with a 404 starting from microversion 2.39.
|
||||||
# See the following link for details:
|
# 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'
|
max_microversion = '2.38'
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
@ -245,7 +245,7 @@ class ImageSizeRbacTest(rbac_base.BaseV2ComputeRbacTest):
|
||||||
|
|
||||||
# These tests will fail with a 404 starting from microversion 2.36.
|
# These tests will fail with a 404 starting from microversion 2.36.
|
||||||
# See the following link for details:
|
# 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'
|
max_microversion = '2.35'
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|
|
@ -97,7 +97,7 @@ class SecurityGroupsRbacMaxV235Test(rbac_base.BaseV2ComputeRbacTest):
|
||||||
|
|
||||||
# Tests in this class will fail with a 404 from microversion 2.36,
|
# Tests in this class will fail with a 404 from microversion 2.36,
|
||||||
# according to:
|
# 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'
|
max_microversion = '2.35'
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|
|
@ -395,7 +395,7 @@ class ServerActionsV216RbacTest(rbac_base.BaseV2ComputeRbacTest):
|
||||||
|
|
||||||
# This class has test case(s) that requires at least microversion 2.16.
|
# This class has test case(s) that requires at least microversion 2.16.
|
||||||
# See the following link for details:
|
# 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'
|
min_microversion = '2.16'
|
||||||
max_microversion = 'latest'
|
max_microversion = 'latest'
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@ class TenantNetworksRbacTest(rbac_base.BaseV2ComputeRbacTest):
|
||||||
|
|
||||||
# Tests will fail with a 404 starting from microversion 2.36.
|
# Tests will fail with a 404 starting from microversion 2.36.
|
||||||
# See the following link for details:
|
# 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'
|
max_microversion = '2.35'
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|
|
@ -28,7 +28,7 @@ CONF = config.CONF
|
||||||
class VirtualInterfacesRbacTest(rbac_base.BaseV2ComputeRbacTest):
|
class VirtualInterfacesRbacTest(rbac_base.BaseV2ComputeRbacTest):
|
||||||
# The compute os-virtual-interfaces API is deprecated from the Microversion
|
# The compute os-virtual-interfaces API is deprecated from the Microversion
|
||||||
# 2.44 onward. For more information, see:
|
# 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
|
depends_on_nova_network = True
|
||||||
max_microversion = '2.43'
|
max_microversion = '2.43'
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ class VolumeRbacTest(rbac_base.BaseV2ComputeRbacTest):
|
||||||
|
|
||||||
# These tests will fail with a 404 starting from microversion 2.36.
|
# These tests will fail with a 404 starting from microversion 2.36.
|
||||||
# For more information, see:
|
# 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'
|
max_microversion = '2.35'
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|
Loading…
Reference in New Issue