###Getting Started
-
Copy
openstack_env.sh.templatetoopenstack_env.sh -
Make sure you updated the script
openstack_env.shwith appropriate values for the variables. -
Execute the script to setup the environment variables
source openstack_env.sh###Nova
Initialize the Nova Client using the following code
credentials = get_nova_credentials_v2()
nova_client = Client(**credentials)
List VMs using the following command
nova_client.servers.list()
Run the following command from openstack/lab1 folder
python -m novasamples.list_servers_v2###Keystone