LoginSignup
0
1

More than 5 years have passed since last update.

3 basic ways to use OpenStack interactively when you have a kolla environment

Last updated at Posted at 2018-11-09

0. prelude

source /etc/kolla/admin-openrc.sh

image.png

1. openstackclient

flavor list
server list

image.png

2. ansible-console

ansible-console
os_flavor_facts

image.png

3. openstacksdk

pip install ipython openstacksdk
ipython

ref:
https://docs.openstack.org/openstacksdk/latest/user/

import openstack
conn = openstack.connect()
list(conn.compute.flavors())

image.png

The End

if you know other ways to do, please share your ideas with us.

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1