Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

rajdeepd/openstack-samples

Open more actions menu

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

  •  
  •  
Morty Proxy This is a proxified and sanitized view of the page, visit original site.