7 captures
06 Jan 2016 - 16 Oct 2022
Dec JAN Feb
06
2015 2016 2017
success
fail

About this capture

COLLECTED BY

Organization: Internet Archive

The Internet Archive discovers and captures web pages through many different web crawls. At any given time several distinct crawls are running, some for months, and some every day or longer. View the web archive through the Wayback Machine.

Collection: Survey Crawl Number 3 - Started Aug 1st, 2015 - Ended Feb 11th, 2016

The seed for this crawl was a list of every host in the Wayback Machine

This crawl was run at a level 1 (URLs including their embeds, plus the URLs of all outbound links including their embeds)

The WARC files associated with this crawl are not currently available to the general public.

TIMESTAMPS

The Wayback Machine - http://web.archive.org/web/20160106092104/https://github.com/openstack-infra/shade
  Skip to content  


Sign up  Sign in  




Explore  

Features  

Enterprise  

Pricing  













Watch  

Star  

Fork  

/shade  



 




Client library for OpenStack containing Infra business logic  http://openstack.org  





847   commits  

1 branch  

25 releases  

Fetching contributors  




(一) Python  99.3%  

(二) Shell  0.7%  






Python  Shell  



Find file  





Download ZIP  






Switch branches/tags  





Branches  

Tags  





master  

Nothing to show
 



1.3.0  

1.2.0  

1.1.0  

1.0.0  

0.16.0  

0.15.0  

0.14.0  

0.13.0  

0.12.0  

0.11.0  

0.10.0  

0.9.0  

0.8.2  

0.8.1  

0.8.0  

0.7.0  

0.6.5  

0.6.4  

0.6.3  

0.6.2  

0.6.1  

0.6.0  

0.5.0  

0.4.0  

0.3.0  


Nothing to show
 



New pull request  



Fetching latest commit  

Cannot retrieve the latest commit at this time.  

 
Failed to load latest commit information.
doc/source Use reno for release notes
extras Allow specifying cloud name to ansible tests
releasenotes/notes Bug fix: Cinder v2 returns bools now
shade Merge "correct rpmlint errors"
.coveragerc Start using keystoneauth for keystone sessions
.gitignore Tell git to ignore .eggs directory
.gitreview Change meta info to be an Infra project
.mailmap Add entry for James Blair to .mailmap
.testr.conf Add initial compute functional tests to Shade
CONTRIBUTING.rst Add minor OperatorCloud documentation
HACKING.rst Initial cookiecutter repo
LICENSE Initial cookiecutter repo
MANIFEST.in Initial cookiecutter repo
README.rst Pedantic spelling correction
requirements.txt Fix shade tests with OCC 1.13.0
setup.cfg Add inventory command to shade
setup.py Initial cookiecutter repo
test-requirements.txt Use reno for release notes
tox.ini Allow specifying cloud name to ansible tests


README.rst  

Introduction


shade is a simple client library for operating OpenStack clouds. The key word here is simple. Clouds can do many many many things - but there are probably only about 10 of them that most people care about with any regularity. If you want to do complicated things, you should probably use the lower level client libraries - or even the REST API directly. However, if what you want is to be able to write an application that talks to clouds no matter what crazy choices the deployer has made in an attempt to be more hipster than their self-entitled narcissist peers, then shade is for you.

shade started its life as some code inside of ansible. ansible has a bunch of different OpenStack related modules, and there was a ton of duplicated code. Eventually, between refactoring that duplication into an internal library, and adding logic and features that the OpenStack Infra team had developed to run client applications at scale, it turned out that we'd written nine-tenths of what we'd need to have a standalone library.

Example


Sometimes an example is nice.
import shade

# Initialize and turn on debug logging
shade.simple_logging(debug=True)

# Initialize cloud
# Cloud configs are read with os-client-config
cloud = shade.openstack_cloud(cloud='mordred')

# Upload an image to the cloud
image = cloud.create_image(
    'ubuntu-trusty', filename='ubuntu-trusty.qcow2', wait=True)

# Find a flavor with at least 512M of RAM
flavor = cloud.get_flavor_by_ram(512)

# Boot a server, wait for it to boot, and then do whatever is needed
# to get a public ip for it.
cloud.create_server(
    'my-server', image=image, flavor=flavor, wait=True, auto_ip=True)
 










Status

API

Training

Shop

Blog

About

Pricing
 


© 2016 GitHub, Inc.

Terms

Privacy

Security

Contact

Help
 



Something went wrong with that request. Please try again.  

You signed in with another tab or window. Reload to refresh your session.  You signed out in another tab or window. Reload to refresh your session.