Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update readme after move from exoscale #131

Merged
merged 1 commit into from
Nov 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading