James E. Blair d9f648dd54 Docs: Remove duplicate content in connection page
This paragraph at the bottom of the connection page duplicates
the content just above it.

Change-Id: Icb718a469940d17dff7d0401ceb3f03e88d5af30
2018-07-20 19:29:26 -07:00

1.1 KiB

Connect

In order to work with an OpenStack cloud you first need to create a ~openstack.connection.Connection to it using your credentials. A ~openstack.connection.Connection can be created in 3 ways, using the class itself, config-clouds-yaml, or config-environment-variables. It is recommended to always use config-clouds-yaml as the same config can be used across tools and languages.

Create Connection

To create a ~openstack.connection.Connection instance, use the ~openstack.connect factory function.

../examples/connect.py

Full example at connect.py

Note

To enable logging, see the logging user guide.

Next

Now that you can create a connection, continue with the user_guides to work with an OpenStack service.