Swap human-facing links to use opendev.org

While we should not start using this for cloning things in the gate yet,
the opendev.org links provide for a nicer browsing experience already
even though the service is in beta. Go ahead and swap our browsing
links.

While in there, remove some masakari references to github links to the
source code. Masakari now publishes api docs to developer.openstack.org
so there is no need to point people to source code for api docs.

Change-Id: I14afa3476f9832ef433ec744e888348fc9a359e3
This commit is contained in:
Monty Taylor 2019-03-09 13:25:36 +00:00
parent 1066c9385f
commit bb8b4bf5a5
27 changed files with 38 additions and 56 deletions

View File

@ -39,7 +39,7 @@ Mailing list (prefix subjects with ``[sdk]`` for faster responses)
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-discuss
Code Hosting
https://git.openstack.org/cgit/openstack/openstacksdk
https://opendev.org/openstack/openstacksdk
Code Review
https://review.openstack.org/#/q/status:open+project:openstack/openstacksdk,n,z

View File

@ -9,7 +9,7 @@ SWIFT_HASH=DEVSTACK_PASSWORD
# Configure the stable OpenStack branches used by DevStack
# For stable branches see
# http://git.openstack.org/cgit/openstack-dev/devstack/refs/
# http://opendev.org/openstack-dev/devstack
CINDER_BRANCH=stable/OPENSTACK_VERSION
CEILOMETER_BRANCH=stable/OPENSTACK_VERSION
GLANCE_BRANCH=stable/OPENSTACK_VERSION

View File

@ -88,13 +88,10 @@ Getting the Source Code
for details on how to use the continuous integration and code
review systems that we use.
The canonical Git repository is hosted on openstack.org at
http://git.openstack.org/cgit/openstack/openstacksdk/, with a
mirror on GitHub at https://github.com/openstack/openstacksdk.
Because of how Git works, you can create a local clone from either of those,
or your own personal fork.::
The canonical Git repository is hosted on opendev.org at
http://opendev.org/openstack/openstacksdk/::
(sdk3)$ git clone https://git.openstack.org/openstack/openstacksdk.git
(sdk3)$ git clone https://opendev.org/openstack/openstacksdk
(sdk3)$ cd openstacksdk
Installing Dependencies

View File

@ -57,14 +57,14 @@ This is the ``local.conf`` file we use to configure DevStack.
Replace ``DEVSTACK_PASSWORD`` with a password of your choice.
Replace ``OPENSTACK_VERSION`` with a `stable branch <http://git.openstack.org/cgit/openstack-dev/devstack/refs/>`_
Replace ``OPENSTACK_VERSION`` with a `stable branch <http://opendev.org/openstack-dev/devstack/>`_
of OpenStack (without the ``stable/`` prefix on the branch name).
os-client-config
****************
To connect the functional tests to an OpenStack cloud we use
`os-client-config <http://git.openstack.org/cgit/openstack/os-client-config/tree/README.rst>`_.
`os-client-config <http://opendev.org/openstack/os-client-config>`_.
To setup os-client-config create a ``clouds.yaml`` file in the root of your
source checkout.
@ -113,7 +113,7 @@ public or private OpenStack cloud that you can run the tests against. In
practice, this means that the tests should initially be run against a stable
branch of `DevStack <https://docs.openstack.org/devstack/latest/>`_.
And like the functional tests, the examples tests connect to an OpenStack cloud
using `os-client-config <http://git.openstack.org/cgit/openstack/os-client-config/tree/README.rst>`_.
using `os-client-config <http://opendev.org/openstack/os-client-config>`_.
See the functional tests instructions for information on setting up DevStack
and os-client-config.

View File

@ -59,6 +59,6 @@ for deployment.
Full example: `baremetal provisioning`_
.. _baremetal resource list: http://git.openstack.org/cgit/openstack/openstacksdk/tree/examples/baremetal/list.py
.. _baremetal provisioning: http://git.openstack.org/cgit/openstack/openstacksdk/tree/examples/baremetal/provisioning.py
.. _baremetal resource list: http://opendev.org/openstack/openstacksdk/src/branch/master/examples/baremetal/list.py
.. _baremetal provisioning: http://opendev.org/openstack/openstacksdk/src/branch/master/examples/baremetal/provisioning.py
.. _Bare Metal service states documentation: https://docs.openstack.org/ironic/latest/contributor/states.html

View File

@ -44,4 +44,4 @@ To get a action based on its name or ID:
.. literalinclude:: ../../examples/clustering/action.py
:pyobject: get_action
.. _manage action: http://git.openstack.org/cgit/openstack/openstacksdk/tree/examples/clustering/action.py
.. _manage action: https://opendev.org/openstack/openstacksdk/src/branch/master/examples/clustering/action.py

View File

@ -189,5 +189,5 @@ To restore a specified cluster, members in the cluster will be checked.
:pyobject: recover_cluster
.. _manage cluster: http://git.openstack.org/cgit/openstack/openstacksdk/tree/examples/clustering/cluster.py
.. _manage cluster: https://opendev.org/openstack/openstacksdk/src/branch/master/examples/clustering/cluster.py

View File

@ -44,4 +44,4 @@ To get a event based on its name or ID:
.. literalinclude:: ../../examples/clustering/event.py
:pyobject: get_event
.. _manage event: http://git.openstack.org/cgit/openstack/openstacksdk/tree/examples/clustering/event.py
.. _manage event: https://opendev.org/openstack/openstacksdk/src/branch/master/examples/clustering/event.py

View File

@ -117,4 +117,4 @@ To restore a specified node.
.. literalinclude:: ../../examples/clustering/node.py
:pyobject: recover_node
.. _manage node: http://git.openstack.org/cgit/openstack/openstacksdk/tree/examples/clustering/node.py
.. _manage node: https://opendev.org/openstack/openstacksdk/src/branch/master/examples/clustering/node.py

View File

@ -99,4 +99,4 @@ still in use, you will get an error message.
:pyobject: delete_policy
.. _manage policy: http://git.openstack.org/cgit/openstack/openstacksdk/tree/examples/clustering/policy.py
.. _manage policy: https://opendev.org/openstack/openstacksdk/src/branch/master/examples/clustering/policy.py

View File

@ -42,4 +42,4 @@ it.
Full example: `manage policy type`_
.. _manage policy type: http://git.openstack.org/cgit/openstack/openstacksdk/tree/examples/clustering/policy_type.py
.. _manage policy type: https://opendev.org/openstack/openstacksdk/src/branch/master/examples/clustering/policy_type.py

View File

@ -102,4 +102,4 @@ still in use, you will get an error message.
:pyobject: delete_profile
.. _manage profile: http://git.openstack.org/cgit/openstack/openstacksdk/tree/examples/clustering/profile.py
.. _manage profile: https://opendev.org/openstack/openstacksdk/src/branch/master/examples/clustering/profile.py

View File

@ -41,4 +41,4 @@ To get the details about a profile type, you need to provide the name of it.
Full example: `manage profile type`_
.. _manage profile type: http://git.openstack.org/cgit/openstack/openstacksdk/tree/examples/clustering/profile_type.py
.. _manage profile type: https://opendev.org/openstack/openstacksdk/src/branch/master/examples/clustering/profile_type.py

View File

@ -97,4 +97,4 @@ use, you will get an error message.
:pyobject: delete_receiver
.. _manage receiver: http://git.openstack.org/cgit/openstack/openstacksdk/tree/examples/clustering/receiver.py
.. _manage receiver: https://opendev.org/openstack/openstacksdk/src/branch/master/examples/clustering/receiver.py

View File

@ -83,7 +83,7 @@ for it to become active.
Full example: `compute resource create`_
.. _compute resource list: https://git.openstack.org/cgit/openstack/openstacksdk/tree/examples/compute/list.py
.. _network resource list: https://git.openstack.org/cgit/openstack/openstacksdk/tree/examples/network/list.py
.. _compute resource create: https://git.openstack.org/cgit/openstack/openstacksdk/tree/examples/compute/create.py
.. _compute resource list: https://opendev.org/openstack/openstacksdk/src/branch/master/examples/compute/list.py
.. _network resource list: https://opendev.org/openstack/openstacksdk/src/branch/master/examples/network/list.py
.. _compute resource create: https://opendev.org/openstack/openstacksdk/src/branch/master/examples/compute/create.py
.. _publickey cryptography: https://en.wikipedia.org/wiki/Public-key_cryptography

View File

@ -18,7 +18,7 @@ To create a :class:`~openstack.connection.Connection` instance, use the
.. literalinclude:: ../examples/connect.py
:pyobject: create_connection
Full example at `connect.py <http://git.openstack.org/cgit/openstack/openstacksdk/tree/examples/connect.py>`_
Full example at `connect.py <https://opendev.org/openstack/openstacksdk/src/branch/master/examples/connect.py>`_
.. note:: To enable logging, see the :doc:`logging` user guide.

View File

@ -6,7 +6,7 @@ In order to work with an OpenStack cloud you first need to create a
:class:`~openstack.connection.Connection` can be
created in 3 ways, using the class itself (see :doc:`connect`), a file, or
environment variables as illustrated below. The SDK uses
`os-client-config <http://git.openstack.org/cgit/openstack/os-client-config/tree/README.rst>`_
`os-client-config <https://opendev.org/openstack/os-client-config>`_
to handle the configuration.
Create Connection From A File

View File

@ -108,4 +108,4 @@ sub-regions with a region to make a tree-like structured hierarchy.
Full example: `identity resource list`_
.. _identity resource list: http://git.openstack.org/cgit/openstack/openstacksdk/tree/examples/identity/list.py
.. _identity resource list: https://opendev.org/openstack/openstacksdk/src/branch/master/examples/identity/list.py

View File

@ -89,9 +89,9 @@ Delete an image.
Full example: `image resource delete`_
.. _image resource create: http://git.openstack.org/cgit/openstack/openstacksdk/tree/examples/image/create.py
.. _image resource import: http://git.openstack.org/cgit/openstack/openstacksdk/tree/examples/image/import.py
.. _image resource delete: http://git.openstack.org/cgit/openstack/openstacksdk/tree/examples/image/delete.py
.. _image resource list: http://git.openstack.org/cgit/openstack/openstacksdk/tree/examples/image/list.py
.. _image resource download: http://git.openstack.org/cgit/openstack/openstacksdk/tree/examples/image/download.py
.. _image resource create: https://opendev.org/openstack/openstacksdk/src/branch/master/examples/image/create.py
.. _image resource import: https://opendev.org/openstack/openstacksdk/src/branch/master/examples/image/import.py
.. _image resource delete: https://opendev.org/openstack/openstacksdk/src/branch/master/examples/image/delete.py
.. _image resource list: https://opendev.org/openstack/openstacksdk/src/branch/master/examples/image/list.py
.. _image resource download: https://opendev.org/openstack/openstacksdk/src/branch/master/examples/image/download.py
.. _interoperable image import: https://docs.openstack.org/glance/latest/admin/interoperable-image-import.html

View File

@ -136,7 +136,7 @@ Delete a project network and its subnets.
Full example: `network resource delete`_
.. _network resource create: http://git.openstack.org/cgit/openstack/openstacksdk/tree/examples/network/create.py
.. _network resource delete: http://git.openstack.org/cgit/openstack/openstacksdk/tree/examples/network/delete.py
.. _network resource list: http://git.openstack.org/cgit/openstack/openstacksdk/tree/examples/network/list.py
.. _network security group create: http://git.openstack.org/cgit/openstack/openstacksdk/tree/examples/network/security_group_rules.py
.. _network resource create: https://opendev.org/openstack/openstacksdk/src/branch/master/examples/network/create.py
.. _network resource delete: https://opendev.org/openstack/openstacksdk/src/branch/master/examples/network/delete.py
.. _network resource list: https://opendev.org/openstack/openstacksdk/src/branch/master/examples/network/list.py
.. _network security group create: https://opendev.org/openstack/openstacksdk/src/branch/master/examples/network/security_group_rules.py

View File

@ -45,7 +45,7 @@ What are we going to talk about?
shade is Free Software
======================
* https://git.openstack.org/cgit/openstack-infra/shade
* https://opendev.org/openstack-infra/shade
* openstack-discuss@lists.openstack.org
* #openstack-shade on freenode

View File

@ -1,6 +1,6 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "https://git.openstack.org/cgit/openstack/cloud-data/plain/schema.json#",
"id": "https://opendev.org/openstack/openstacksdk/raw/branch/master/openstack/config/schema.json",
"type": "object",
"properties": {
"auth_type": {

View File

@ -1,6 +1,6 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "https://git.openstack.org/cgit/openstack/cloud-data/plain/vendor-schema.json#",
"id": "https://opendev.org/openstack/openstacksdk/raw/branch/master/openstack/config/vendor-schema.json#",
"type": "object",
"properties": {
"name": {

View File

@ -32,11 +32,6 @@ class Host(resource.Resource):
allow_commit = True
allow_delete = True
# Properties
# Refer "https://github.com/openstack/masakari/blob/
# master/masakari/api/openstack/ha/schemas/hosts.py"
# for properties of host API
#: A ID of representing this host
id = resource.URI("id")
#: A Uuid of representing this host

View File

@ -51,11 +51,6 @@ class Notification(resource.Resource):
allow_commit = False
allow_delete = False
# Properties
# Refer "https://github.com/openstack/masakari/tree/
# master/masakari/api/openstack/ha/schemas/notificaions.py"
# for properties of notifications API
#: A ID of representing this notification.
id = resource.Body("id")
#: A Uuid of representing this notification.

View File

@ -32,11 +32,6 @@ class Segment(resource.Resource):
allow_commit = True
allow_delete = True
# Properties
# Refer "https://github.com/openstack/masakari/tree/
# master/masakari/api/openstack/ha/schemas"
# for properties of each API
#: A ID of representing this segment.
id = resource.Body("id")
#: A Uuid of representing this segment.

View File

@ -9,7 +9,7 @@ prelude: >
``openstack.auth.base.BaseAuthPlugin`` classes are no more. Profile has
been replace by ``openstack.config.cloud_region.CloudRegion`` from
`os-client-config
<http://git.openstack.org/cgit/openstack/os-client-config>`_
<https://opendev.org/openstack/os-client-config>`_
``openstack.auth.base.BaseAuthPlugin`` has been replaced with the Auth
plugins from keystoneauth.