The document provides details about an OpenStack API development workshop conducted by Liang Bo. The 2-day workshop covers topics like developing with OpenStack, developer tools, OpenStack APIs, SDKs and includes hands-on sessions to build a tiny project using OpenStack APIs. Day 1 covers introduction, developing with OpenStack, tools and OpenStack RESTful APIs. Day 2 focuses on workshops to use OpenStack APIs and SDKs.
2. Conveniently procrastinate client-centric technology via highly
efficient manufactured
Conveniently procrastinate client-centric technology via highly
efficient manufactured products. Seamlesslyproductivate go forward
benefits
COURSE INTRODUCTION
DAY 01
• Before Developing
• Developing OpenStack
• Developer’s Tools
• OpenStack API (RESTful API)
• How to use OpenStack API
• OpenStack API Binding
DAY 02
• Workshop (Use OpenStack API)
• OpenStack API SDKs
• Workshop (A tiny project)
6. Python For Beginners
An experienced programmer in any programming language(whatever it may be ) can pick up Python very quickly.
03
Looking for Something Specific
The Python Package Index provides many libraries for particular
application, you just need to know howto findit.
04
Looking for Help
Use Google instead any other search engines.
02
Learning
Before getting started, you may want to findout which IDEs or
Text Editors are tailored to make Python editing easy.
01
Installing
Installing Python is generally easy, and nowadays many Linux
and UNIX distributions include a recent Python.
9. IDEs & Text Editors
It is necessary to have effective tools todogood work.
IDE
Pycharm
Text Editor
Sublime Text
IDE
Eclipse
Text Editor
Vim
10. OpenStack SDKs
OpenStack provides a lot ofSDKsto make programming cloud
application easy. You don’t need deal with RESTfulAPIs.
PHP
Php-
opencloud
.Net
Openstack.net
Java
jClouds Golang
gophercloud
"
It’sYour Style !
Pick any programming language you like.
AROUND THE WORLD
Most OpenStack Applicationmade bypython
Most OpenStack
11. Portfolio
You can use ANY LANGUAGE, ANY TOOLS to
build your own cloud application
UI
Specific UI Integration
Skills Needed:
• CSS
• HTML
• Javascript
• Web Development
• RESTful API
Application
Specific Function Integration
Skills Needed:
• Python
• TaskFlow
• RESTful API
17. User
Keystone
Nova
Glance
Neutron
Credentials
Token
Toekn + request for VM
Verify token
Token + request for images
Verify token
Images
Token + request to plug VIF into net
Verify token
Token + verify user accessto VIF
Successful response
Successful response
Keystoneflowchart
23. Design Your Own
OneSingle App.py
Fully functional Read-only OpenStack
& Static folder for javascripts, css and fonts
♥ Templates folder for rendered html
( App.py is the real webapplication
IMAGE INFO : SimpleSmart Design Office
25. With This Demo
Image
Compute
Network
!
$
"
ImageService
This is a client for the OpenStack Images API.There’s a Python API (the
glanceclient module) and a command-line script (installed as glance).
Network Service
In order to use the python neutron client directly,youmust first obtain an
auth token and identify whichendpoint you wishto speak to. Once you
have done so, you can use the API like so:
Compute Service
This is a client for OpenStack Nova API.There’s a Python API (the
novaclient module), and a command-line script (installed as
nova). Each implements the entire OpenStack Nova API.