Skip to content

rajdeepd/openstack-samples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 

Repository files navigation

openstack-samples

###Getting Started

  1. Copy openstack_env.sh.template to openstack_env.sh

  2. Make sure you updated the script openstack_env.sh with appropriate values for the variables.

  3. Execute the script to setup the environment variables

source openstack_env.sh

###Nova

API v2

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •