From 20baf6913e1800836907bc15c4500f2f65fea306 Mon Sep 17 00:00:00 2001 From: Pavlo Shchelokovskyy Date: Tue, 15 Aug 2017 09:45:05 +0300 Subject: [PATCH] Update the documentation links - code comments This patch updates the old links existing in ironic code as comments. Change-Id: I75f68b042448cc01d55fdcfec86b42ecacd8fdd3 Co-Authored-By: Chason Chan --- devstack/plugin.sh | 2 +- ironic/common/glance_service/v2/image_service.py | 2 +- ironic/common/i18n.py | 2 +- ironic/drivers/modules/ilo/management.py | 2 +- ironic/tests/unit/common/test_pxe_utils.py | 4 ++-- vagrant.yaml | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/devstack/plugin.sh b/devstack/plugin.sh index 7e1a4e4e49..b71f951286 100644 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -2,7 +2,7 @@ # plugin.sh - devstack plugin for ironic # devstack plugin contract defined at: -# http://docs.openstack.org/developer/devstack/plugins.html +# https://docs.openstack.org/devstack/latest/plugins.html echo_summary "ironic devstack plugin.sh called: $1/$2" source $DEST/ironic/devstack/lib/ironic diff --git a/ironic/common/glance_service/v2/image_service.py b/ironic/common/glance_service/v2/image_service.py index cb2669a3bf..0e0d9a8b0d 100644 --- a/ironic/common/glance_service/v2/image_service.py +++ b/ironic/common/glance_service/v2/image_service.py @@ -103,7 +103,7 @@ class GlanceImageService(base_image_service.BaseImageService, :param image_info: The return from a GET request to Glance for a certain image_id. Should be a dictionary, with keys like 'name' and 'checksum'. See - http://docs.openstack.org/developer/glance/glanceapi.html for + https://docs.openstack.org/glance/latest/user/glanceapi.html for examples. :returns: A signed Swift URL from which an image can be downloaded, without authentication. diff --git a/ironic/common/i18n.py b/ironic/common/i18n.py index ec371bc2c4..ac89813afd 100644 --- a/ironic/common/i18n.py +++ b/ironic/common/i18n.py @@ -15,7 +15,7 @@ """oslo.i18n integration module. -See http://docs.openstack.org/developer/oslo.i18n/usage.html +See https://docs.openstack.org/oslo.i18n/latest/user/ """ diff --git a/ironic/drivers/modules/ilo/management.py b/ironic/drivers/modules/ilo/management.py index 15de7b97ed..8c03fc1231 100644 --- a/ironic/drivers/modules/ilo/management.py +++ b/ironic/drivers/modules/ilo/management.py @@ -343,7 +343,7 @@ class IloManagement(base.ManagementInterface): "'power_pic', 'bios' and 'chassis'. The firmware images will " "be applied (in the order given) one by one on the baremetal " "server. For more information, see " - "http://docs.openstack.org/developer/ironic/drivers/ilo.html#initiating-firmware-update-as-manual-clean-step" # noqa + "https://docs.openstack.org/ironic/latest/admin/drivers/ilo.html#initiating-firmware-update-as-manual-clean-step" # noqa ), 'required': True } diff --git a/ironic/tests/unit/common/test_pxe_utils.py b/ironic/tests/unit/common/test_pxe_utils.py index d43506a710..5db0bb0984 100644 --- a/ironic/tests/unit/common/test_pxe_utils.py +++ b/ironic/tests/unit/common/test_pxe_utils.py @@ -103,7 +103,7 @@ class TestPXEUtils(db_base.DbTestCase): # NOTE(lucasagomes): iPXE is just an extension of the PXE driver, # it doesn't have it's own configuration option for template. # More info: - # http://docs.openstack.org/developer/ironic/deploy/install-guide.html + # https://docs.openstack.org/ironic/latest/install/ self.config( pxe_config_template='ironic/drivers/modules/ipxe_config.template', group='pxe' @@ -125,7 +125,7 @@ class TestPXEUtils(db_base.DbTestCase): # NOTE(lucasagomes): iPXE is just an extension of the PXE driver, # it doesn't have it's own configuration option for template. # More info: - # http://docs.openstack.org/developer/ironic/deploy/install-guide.html + # https://docs.openstack.org/ironic/latest/install/ self.config( pxe_config_template='ironic/drivers/modules/ipxe_config.template', group='pxe' diff --git a/vagrant.yaml b/vagrant.yaml index 055a4a9dc6..6b739f76d1 100644 --- a/vagrant.yaml +++ b/vagrant.yaml @@ -7,7 +7,7 @@ # # The vagrant vm's IP address is assumed to be 192.168.99.11 # -# http://docs.openstack.org/developer/ironic/dev/dev-quickstart.html#exercising-the-services-locally +# https://docs.openstack.org/ironic/latest/contributor/dev-quickstart.html#exercising-the-services-locally # - hosts: ironic sudo: yes