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. This also updates some ancient links. 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: I1465f265e631c7f3c55cc0634ec3516b40d5bc83
This commit is contained in:
parent
5264dee964
commit
f55538348c
|
@ -130,7 +130,7 @@ class TestKuryrBase(TestCase):
|
|||
fake_neutron_subnet_v4_id,
|
||||
fake_neutron_subnet_v6_id):
|
||||
# The following fake response is retrieved from the Neutron doc:
|
||||
# http://developer.openstack.org/api-ref-networking-v2.html#createSubnet # noqa
|
||||
# https://docs.openstack.org/api-ref/network/v2/index.html#create-subnet # noqa
|
||||
fake_subnet_response = {
|
||||
"subnets": [
|
||||
{"name": '-'.join([docker_endpoint_id, '192.168.1.0']),
|
||||
|
@ -176,7 +176,7 @@ class TestKuryrBase(TestCase):
|
|||
binding_host=None,
|
||||
admin_state_up=True):
|
||||
# The following fake response is retrieved from the Neutron doc:
|
||||
# http://developer.openstack.org/api-ref-networking-v2.html#createPort # noqa
|
||||
# https://docs.openstack.org/api-ref/network/v2/index.html#create-port # noqa
|
||||
if not name:
|
||||
name = utils.get_neutron_port_name(docker_endpoint_id)
|
||||
fake_port = {
|
||||
|
|
|
@ -24,7 +24,7 @@ class TestIpamRequestPoolFailures(base.TestKuryrFailures):
|
|||
"""Unit tests for testing request pool failures.
|
||||
|
||||
This test covers error responses listed in the spec:
|
||||
http://developer.openstack.org/api-ref/networking/v2/index.html#subnet-pools-extension-subnetpools # noqa
|
||||
https://docs.openstack.org/api-ref/network/v2/index.html#subnet-pools-extension-subnetpools # noqa
|
||||
"""
|
||||
def _invoke_create_request(self, pool):
|
||||
fake_request = {
|
||||
|
|
|
@ -122,7 +122,7 @@ class TestKuryr(base.TestKuryrBase):
|
|||
}
|
||||
fake_network['name'] = utils.make_net_name(docker_network_id)
|
||||
# The following fake response is retrieved from the Neutron doc:
|
||||
# http://developer.openstack.org/api-ref-networking-v2.html#createNetwork # noqa
|
||||
# https://docs.openstack.org/api-ref/network/v2/index.html#create-network # noqa
|
||||
fake_create_network_response = {
|
||||
"network": fake_network
|
||||
}
|
||||
|
@ -250,7 +250,7 @@ class TestKuryr(base.TestKuryrBase):
|
|||
}
|
||||
fake_network['name'] = utils.make_net_name(docker_network_id)
|
||||
# The following fake response is retrieved from the Neutron doc:
|
||||
# http://developer.openstack.org/api-ref-networking-v2.html#createNetwork # noqa
|
||||
# https://docs.openstack.org/api-ref/network/v2/index.html#create-network # noqa
|
||||
fake_create_network_response = {
|
||||
"network": fake_network
|
||||
}
|
||||
|
@ -390,7 +390,7 @@ class TestKuryr(base.TestKuryrBase):
|
|||
}
|
||||
fake_network['name'] = utils.make_net_name(docker_network_id)
|
||||
# The following fake response is retrieved from the Neutron doc:
|
||||
# http://developer.openstack.org/api-ref-networking-v2.html#createNetwork # noqa
|
||||
# https://docs.openstack.org/api-ref/network/v2/index.html#create-network # noqa
|
||||
fake_create_network_response = {
|
||||
"network": fake_network
|
||||
}
|
||||
|
@ -804,7 +804,7 @@ class TestKuryr(base.TestKuryrBase):
|
|||
}
|
||||
|
||||
# The following fake response is retrieved from the Neutron doc:
|
||||
# http://developer.openstack.org/api-ref-networking-v2.html#createNetwork # noqa
|
||||
# https://docs.openstack.org/api-ref/network/v2/index.html#create-network # noqa
|
||||
fake_neutron_net_id = uuidutils.generate_uuid()
|
||||
driver_value = fake_neutron_net_id if driver_default_net else None
|
||||
mock_get_default_network_id.return_value = driver_value
|
||||
|
@ -836,7 +836,7 @@ class TestKuryr(base.TestKuryrBase):
|
|||
}
|
||||
fake_network['name'] = utils.make_net_name(docker_network_id)
|
||||
# The following fake response is retrieved from the Neutron doc:
|
||||
# http://developer.openstack.org/api-ref-networking-v2.html#createNetwork # noqa
|
||||
# https://docs.openstack.org/api-ref/network/v2/index.html#create-network # noqa
|
||||
fake_create_network_response = {
|
||||
"network": fake_network
|
||||
}
|
||||
|
@ -971,7 +971,7 @@ class TestKuryr(base.TestKuryrBase):
|
|||
}
|
||||
|
||||
# The following fake response is retrieved from the Neutron doc:
|
||||
# http://developer.openstack.org/api-ref-networking-v2.html#createNetwork # noqa
|
||||
# https://docs.openstack.org/api-ref/network/v2/index.html#create-network # noqa
|
||||
fake_neutron_net_id = "4e8e5957-649f-477b-9e5b-f1f75b21c03c"
|
||||
driver_value = fake_neutron_net_id if driver_default_net else None
|
||||
mock_get_default_network_id.return_value = driver_value
|
||||
|
@ -1003,7 +1003,7 @@ class TestKuryr(base.TestKuryrBase):
|
|||
}
|
||||
fake_network['name'] = utils.make_net_name(docker_network_id)
|
||||
# The following fake response is retrieved from the Neutron doc:
|
||||
# http://developer.openstack.org/api-ref-networking-v2.html#createNetwork # noqa
|
||||
# https://docs.openstack.org/api-ref/network/v2/index.html#create-network # noqa
|
||||
fake_create_network_response = {
|
||||
"network": fake_network
|
||||
}
|
||||
|
@ -1134,7 +1134,7 @@ class TestKuryr(base.TestKuryrBase):
|
|||
fake_kuryr_v6_subnetpool_id, name=fake_v6_pool_name)
|
||||
|
||||
# The following fake response is retrieved from the Neutron doc:
|
||||
# http://developer.openstack.org/api-ref-networking-v2.html#createNetwork # noqa
|
||||
# https://docs.openstack.org/api-ref/network/v2/index.html#create-network # noqa
|
||||
fake_neutron_net_id = uuidutils.generate_uuid()
|
||||
driver_value = fake_neutron_net_id if driver_default_net else None
|
||||
mock_get_default_network_id.return_value = driver_value
|
||||
|
@ -1165,7 +1165,7 @@ class TestKuryr(base.TestKuryrBase):
|
|||
}
|
||||
}
|
||||
# The following fake response is retrieved from the Neutron doc:
|
||||
# http://developer.openstack.org/api-ref-networking-v2.html#createNetwork # noqa
|
||||
# https://docs.openstack.org/api-ref/network/v2/index.html#create-network # noqa
|
||||
fake_network['name'] = utils.make_net_name(docker_network_id)
|
||||
fake_create_network_response = {
|
||||
"network": fake_network
|
||||
|
@ -1432,7 +1432,7 @@ class TestKuryr(base.TestKuryrBase):
|
|||
fake_neutron_net_id)
|
||||
mock_list_networks.side_effect = mock_network
|
||||
# The following fake response is retrieved from the Neutron doc:
|
||||
# http://developer.openstack.org/api-ref-networking-v2.html#createSubnet # noqa
|
||||
# https://docs.openstack.org/api-ref/network/v2/index.html#create-subnet # noqa
|
||||
subnet_v4_id = "9436e561-47bf-436a-b1f1-fe23a926e031"
|
||||
subnet_v6_id = "64dd4a98-3d7a-4bfd-acf4-91137a8d2f51"
|
||||
fake_v4_subnet = self._get_fake_v4_subnet(
|
||||
|
@ -1505,7 +1505,7 @@ class TestKuryr(base.TestKuryrBase):
|
|||
fake_neutron_net_id)
|
||||
|
||||
# The following fake response is retrieved from the Neutron doc:
|
||||
# http://developer.openstack.org/api-ref-networking-v2.html#createSubnet # noqa
|
||||
# https://docs.openstack.org/api-ref/network/v2/index.html#create-subnet # noqa
|
||||
subnet_v4_id = uuidutils.generate_uuid()
|
||||
fake_v4_subnet = self._get_fake_v4_subnet(
|
||||
fake_docker_network_id, fake_docker_endpoint_id, subnet_v4_id)
|
||||
|
@ -1618,7 +1618,7 @@ class TestKuryr(base.TestKuryrBase):
|
|||
fake_neutron_net_id)
|
||||
|
||||
# The following fake response is retrieved from the Neutron doc:
|
||||
# http://developer.openstack.org/api-ref-networking-v2.html#createSubnet # noqa
|
||||
# https://docs.openstack.org/api-ref/network/v2/index.html#create-subnet # noqa
|
||||
subnet_v4_id = uuidutils.generate_uuid()
|
||||
subnet_v6_id = uuidutils.generate_uuid()
|
||||
fake_v4_subnet = self._get_fake_v4_subnet(
|
||||
|
@ -1772,7 +1772,7 @@ class TestKuryr(base.TestKuryrBase):
|
|||
fake_neutron_net_id)
|
||||
|
||||
# The following fake response is retrieved from the Neutron doc:
|
||||
# http://developer.openstack.org/api-ref-networking-v2.html#createSubnet # noqa
|
||||
# https://docs.openstack.org/api-ref/network/v2/index.html#create-subnet # noqa
|
||||
subnet_v4_id = uuidutils.generate_uuid()
|
||||
subnet_v6_id = uuidutils.generate_uuid()
|
||||
fake_v4_subnet = self._get_fake_v4_subnet(
|
||||
|
@ -1911,7 +1911,7 @@ class TestKuryr(base.TestKuryrBase):
|
|||
fake_neutron_net_id)
|
||||
|
||||
# The following fake response is retrieved from the Neutron doc:
|
||||
# http://developer.openstack.org/api-ref-networking-v2.html#createSubnet # noqa
|
||||
# https://docs.openstack.org/api-ref/network/v2/index.html#create-subnet # noqa
|
||||
subnet_v4_id = uuidutils.generate_uuid()
|
||||
subnet_v6_id = uuidutils.generate_uuid()
|
||||
fake_v4_subnet = self._get_fake_v4_subnet(
|
||||
|
|
|
@ -30,7 +30,7 @@ class TestKuryrEndpointCreateFailures(base.TestKuryrFailures):
|
|||
"""Unit tests for the failures for creating endpoints.
|
||||
|
||||
This test covers error responses listed in the spec:
|
||||
http://developer.openstack.org/api-ref-networking-v2.html#createSubnet # noqa
|
||||
https://docs.openstack.org/api-ref/network/v2/index.html#create-subnet # noqa
|
||||
http://developer.openstack.org/api-ref-networking-v2-ext.html#createPort # noqa
|
||||
"""
|
||||
def _invoke_create_request(self, docker_network_id, docker_endpoint_id):
|
||||
|
|
Loading…
Reference in New Issue