Skip to content

Commit

Permalink
rm exoscale in doc, no longer valid
Browse files Browse the repository at this point in the history
  • Loading branch information
resmo committed Nov 28, 2024
1 parent 96823eb commit b283747
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
17 changes: 8 additions & 9 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ In Python:
from cs import CloudStack
cs = CloudStack(endpoint='https://api.exoscale.ch/v1',
cs = CloudStack(endpoint='https://cloudstack.example.com/client/api',
key='cloudstack api key',
secret='cloudstack api secret')
Expand All @@ -58,13 +58,13 @@ From the command-line, this requires some configuration:
.. code-block:: ini
[cloudstack]
endpoint = https://api.exoscale.ch/v1
endpoint = https://cloudstack.example.com/client/api
key = cloudstack api key
secret = cloudstack api secret
# Optional ca authority certificate
verify = /path/to/certs/exoscale_ca.crt
verify = /path/to/certs/ca.crt
# Optional client PEM certificate
cert = /path/to/client_exoscale.pem
cert = /path/to/client.pem
# If you need to pass the certificate and key as separate files
cert_key = /path/to/client_key.pem
Expand Down Expand Up @@ -159,14 +159,14 @@ the credentials or endpoint to use with a command-line flag.
key = api key
secret = api secret
[exoscale]
endpoint = https://api.exoscale.ch/v1
[region-example]
endpoint = https://cloudstack.example.com/client/api
key = api key
secret = api secret
Usage::

$ cs listVirtualMachines --region=exoscale
$ cs listVirtualMachines --region=region-example

Optionally ``CLOUDSTACK_REGION`` can be used to overwrite the default region ``cloudstack``.

Expand Down Expand Up @@ -250,7 +250,7 @@ Release Procedure
mktmpenv -p /usr/bin/python3
pip install -U twine wheel build
cd exoscale/cs
cd ./cs
rm -rf build dist
python -m build
twine upload dist/*
Expand All @@ -259,4 +259,3 @@ Links
-----

* CloudStack API: http://cloudstack.apache.org/api.html
* Example of use: `Get Started with the exoscale API client <https://www.exoscale.com/syslog/2016/02/23/get-started-with-the-exoscale-api-client/>`_
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[metadata]
name = cs
version = 3.2.0
url = https://github.com/exoscale/cs
url = https://github.com/ngine-io/cs
author = Bruno Renié
description = A simple yet powerful CloudStack API client for Python and the command-line.
long_description = file: README.rst
Expand Down

0 comments on commit b283747

Please sign in to comment.