SlideShare a Scribd company logo
1 of 31
Creating a GUI to Add Primary
Storage based on Plugins
Student :
Seifeddine
Jemli
Mentor :
Mike Tutkowski
Plan
• Context
• What the process was like
• How it looks now
• Improving the tags inputs
• Conclusion
Context
• Prior to CloudStack 4.2, there was no way to
write a storage plugin.
• Since CloudStack 4.2, custom storage
behaviour has been implementable via a
plugin model.
• The Default Storage Plugin implements
functionality that existed in CloudStack prior to
the 4.2 release.
• Each Primary Storage has to be associated
with a plugin.
• If we don’t specify the plugin when creating
the Primary Storage, it is associated with the
Default Plugin.
• The CloudStack GUI didn’t support adding
Primary Storage with respect to different
Storage Vendor Plugins (example: SolidFire)
What the process was like
• Admins who wanted to add a Primary Storage
which is not based on the Default Storage
Plugin had to invoke the addPrimaryStorage
API outside of the CloudStack GUI.
• Admins needed to perform this task either with
CloudStack’s CLI, its API, or some other tool
that leveraged CloudStack’s CLI or its API.
How it looks like now
• Now, admins who want to add a Primary
Storage which is not based on the Default
Storage Plugin can directly do so with the
CloudStack GUI..
• The addPrimaryStorage API is called in the
background after getting all the necessary
parameters from the “Add Primary Storage”
form.
Add Primary Storage (Zone Wide)
Add Primary Storage (Cluster)
• Zone-wide primary storage is simply primary
storage that all hosts in all clusters of that
zone can access.
• Cluster primary storage is CloudStack's
traditional model whereby only hosts in a given
cluster can see that primary storage.
Storage Tags
• A storage tag is a string attribute associated
with Primary Storage, a Disk Offering, and a
Compute Offering.
• The storage tag is a field that tells what kind of
Primary Storage can satisfy your volume's
needs (could be simple like “Fast” or specific
like the model of a particular vendor’s
hardware).
• Storage Tags for Compute and Disk Offerings
are used to identify the requirements of the
root or data disks of VMs. For example, a
high-end Compute Offering may require “fast”
for its root disk volume.
• Admins used to need to memorize the tags
they wanted to use for a specific Primary
Storage (or look them up in an inconvenient
way). They also needed to type in a comma-
separated list of tags.
• To provide a better user experience, we
thought of adding auto-completion to the
Storage Tags input.
That’s why we adapted and integrated this
open source library to the CloudStack GUI :
http://loopj.com/jquery-tokeninput/
• The new “Storage Tags” and “Host Tags”
inputs will make it easier for admins.
• As part of the process, we needed to create
two new API calls to CloudStack :
- listStorageTags
- listHostTags
• These API calls retrieve the list of the existing
Storage tags or Host tags in order to populate
them into the new GUI control.
• The existing tags will be suggested to the user
in the Autocompletion dropdown.
• The admin can then either select one or many
existing tags and/or add new new ones.
Adding a new Storage Tag
In order to add a new Storage Tag in the “Storage
Tags Input”, we have to write the name of the
storage Tag, then press “space bar” or “comma” or
click outside to lose focus on the input.
Searching for a Storage Tag
The new input suggests existing Storage Tags that
can match the typed text.
These suggestions change dynamically whenever
we type a new letter.
listStorageTags API call
No Storage Tags Found
When there is no Storage Tag matching the typed
letters, we have to enter a new Storage Tag.
New Storage Tags can be added even if existing
Storage Tags are displayed in the list.
Editing the Storage Tags of a Primary
Storage
Host Tags
● Host Tags have a similar use case as
the Storage Tags, but for Virtual
Machines.
● If you spin up a Virtual Machine using
a compute offering that has one or
more host tags, then the VM can only
be placed on hosts that have those
host tags.
Host Tags new input
(Add Host form)
listHostTags API call
Editing the Host Tags
New Inputs for the “Add Disk
Offering” form
New Inputs for the “Add Compute
Offering” form
Technologies used
● jQuery and CSS for implementing the
GUI changes.
● Java for implementing the API
commands.
● The Vagrant machine that simplifies
building a full CloudStack
environment.
https://github.com/imduffy15/GSoC-2014
Conclusion
● My participation in GSoC was a very
good experience overall, with a lot of
learning.
● I will probably work on a key-value
control to facilitate the entry of the
URLs in the “Add Primary Storage”
form.
Thanks to
● My mentor for his guidance.
● The Apache CloudStack community
members for their help.
● Google for giving students the
opportunity to take part in this coding
event.
Student : Seifeddine Jemli
● Computer Science student at the french
“grande ecole”, ENSEIRB-MATMECA.
Mentor : Mike Tutkowski
● Senior CloudStack Developer at
‘SolidFire’
● CloudStack PMC Member
● CloudStack Committer
● Weightlifter (DL: 505 lbs, Squat: 430 lbs)

More Related Content

What's hot

Welcome Azure Functions 2. 0
Welcome Azure Functions 2. 0Welcome Azure Functions 2. 0
Welcome Azure Functions 2. 0Massimo Bonanni
 
Building Blocks of Angular 2 and ASP.NET Core
Building Blocks of Angular 2 and ASP.NET CoreBuilding Blocks of Angular 2 and ASP.NET Core
Building Blocks of Angular 2 and ASP.NET CoreLevi Fuller
 
Introduction of tomcat
Introduction of tomcatIntroduction of tomcat
Introduction of tomcatKalkey
 
Sprint 42 review
Sprint 42 reviewSprint 42 review
Sprint 42 reviewManageIQ
 
Debugging your Way through .NET with Visual Studio 2015
Debugging your Way through .NET with Visual Studio 2015Debugging your Way through .NET with Visual Studio 2015
Debugging your Way through .NET with Visual Studio 2015Ido Flatow
 
Sprint 39 review
Sprint 39 reviewSprint 39 review
Sprint 39 reviewManageIQ
 
AngularJS 1.x - your first application (problems and solutions)
AngularJS 1.x - your first application (problems and solutions)AngularJS 1.x - your first application (problems and solutions)
AngularJS 1.x - your first application (problems and solutions)Igor Talevski
 
My session slides from unityConnect 2016 in Haarlem
My session slides from unityConnect 2016 in HaarlemMy session slides from unityConnect 2016 in Haarlem
My session slides from unityConnect 2016 in HaarlemRick Van Rousselt
 
European SharePoint Conference - TH3
European SharePoint Conference - TH3European SharePoint Conference - TH3
European SharePoint Conference - TH3Rick Van Rousselt
 
Building & Testing Scalable Rails Applications
Building & Testing Scalable Rails ApplicationsBuilding & Testing Scalable Rails Applications
Building & Testing Scalable Rails Applicationsevilmike
 
Creating the application
Creating the applicationCreating the application
Creating the applicationJason Noble
 
Sprint 40 review
Sprint 40 reviewSprint 40 review
Sprint 40 reviewManageIQ
 
Terraform day 1
Terraform day 1Terraform day 1
Terraform day 1Kalkey
 
Object Studio 8.2: News Update
Object Studio 8.2: News UpdateObject Studio 8.2: News Update
Object Studio 8.2: News UpdateESUG
 
Airflow Best Practises & Roadmap to Airflow 2.0
Airflow Best Practises & Roadmap to Airflow 2.0Airflow Best Practises & Roadmap to Airflow 2.0
Airflow Best Practises & Roadmap to Airflow 2.0Kaxil Naik
 
Sprint 45 review
Sprint 45 reviewSprint 45 review
Sprint 45 reviewManageIQ
 
Session Slides from DEVintersection Europe
Session Slides from DEVintersection EuropeSession Slides from DEVintersection Europe
Session Slides from DEVintersection EuropeRick Van Rousselt
 
Investigative Debugging - Peter McGowan - ManageIQ Design Summit 2016
Investigative Debugging - Peter McGowan - ManageIQ Design Summit 2016Investigative Debugging - Peter McGowan - ManageIQ Design Summit 2016
Investigative Debugging - Peter McGowan - ManageIQ Design Summit 2016ManageIQ
 
Upcoming features in Airflow 2
Upcoming features in Airflow 2Upcoming features in Airflow 2
Upcoming features in Airflow 2Kaxil Naik
 
Building Angular 2.0 applications with TypeScript
Building Angular 2.0 applications with TypeScriptBuilding Angular 2.0 applications with TypeScript
Building Angular 2.0 applications with TypeScriptMSDEVMTL
 

What's hot (20)

Welcome Azure Functions 2. 0
Welcome Azure Functions 2. 0Welcome Azure Functions 2. 0
Welcome Azure Functions 2. 0
 
Building Blocks of Angular 2 and ASP.NET Core
Building Blocks of Angular 2 and ASP.NET CoreBuilding Blocks of Angular 2 and ASP.NET Core
Building Blocks of Angular 2 and ASP.NET Core
 
Introduction of tomcat
Introduction of tomcatIntroduction of tomcat
Introduction of tomcat
 
Sprint 42 review
Sprint 42 reviewSprint 42 review
Sprint 42 review
 
Debugging your Way through .NET with Visual Studio 2015
Debugging your Way through .NET with Visual Studio 2015Debugging your Way through .NET with Visual Studio 2015
Debugging your Way through .NET with Visual Studio 2015
 
Sprint 39 review
Sprint 39 reviewSprint 39 review
Sprint 39 review
 
AngularJS 1.x - your first application (problems and solutions)
AngularJS 1.x - your first application (problems and solutions)AngularJS 1.x - your first application (problems and solutions)
AngularJS 1.x - your first application (problems and solutions)
 
My session slides from unityConnect 2016 in Haarlem
My session slides from unityConnect 2016 in HaarlemMy session slides from unityConnect 2016 in Haarlem
My session slides from unityConnect 2016 in Haarlem
 
European SharePoint Conference - TH3
European SharePoint Conference - TH3European SharePoint Conference - TH3
European SharePoint Conference - TH3
 
Building & Testing Scalable Rails Applications
Building & Testing Scalable Rails ApplicationsBuilding & Testing Scalable Rails Applications
Building & Testing Scalable Rails Applications
 
Creating the application
Creating the applicationCreating the application
Creating the application
 
Sprint 40 review
Sprint 40 reviewSprint 40 review
Sprint 40 review
 
Terraform day 1
Terraform day 1Terraform day 1
Terraform day 1
 
Object Studio 8.2: News Update
Object Studio 8.2: News UpdateObject Studio 8.2: News Update
Object Studio 8.2: News Update
 
Airflow Best Practises & Roadmap to Airflow 2.0
Airflow Best Practises & Roadmap to Airflow 2.0Airflow Best Practises & Roadmap to Airflow 2.0
Airflow Best Practises & Roadmap to Airflow 2.0
 
Sprint 45 review
Sprint 45 reviewSprint 45 review
Sprint 45 review
 
Session Slides from DEVintersection Europe
Session Slides from DEVintersection EuropeSession Slides from DEVintersection Europe
Session Slides from DEVintersection Europe
 
Investigative Debugging - Peter McGowan - ManageIQ Design Summit 2016
Investigative Debugging - Peter McGowan - ManageIQ Design Summit 2016Investigative Debugging - Peter McGowan - ManageIQ Design Summit 2016
Investigative Debugging - Peter McGowan - ManageIQ Design Summit 2016
 
Upcoming features in Airflow 2
Upcoming features in Airflow 2Upcoming features in Airflow 2
Upcoming features in Airflow 2
 
Building Angular 2.0 applications with TypeScript
Building Angular 2.0 applications with TypeScriptBuilding Angular 2.0 applications with TypeScript
Building Angular 2.0 applications with TypeScript
 

Viewers also liked

Pantallazos para mi profe luz marina
Pantallazos para mi profe luz marinaPantallazos para mi profe luz marina
Pantallazos para mi profe luz marinaSantiago Garcia
 
Recursos educativos en abierto
Recursos educativos en abiertoRecursos educativos en abierto
Recursos educativos en abiertoeconte2014
 
14 07 04_michailopoulos law office_part ii
14 07 04_michailopoulos law office_part ii14 07 04_michailopoulos law office_part ii
14 07 04_michailopoulos law office_part iiGregorios Michailopoulos
 
Presentación 3 a
Presentación  3 aPresentación  3 a
Presentación 3 aLila Jara
 
Creating brand content in strategic marketing
Creating brand content in strategic marketingCreating brand content in strategic marketing
Creating brand content in strategic marketingArief Budiman
 

Viewers also liked (10)

Ramesh-Hegde
Ramesh-HegdeRamesh-Hegde
Ramesh-Hegde
 
Pantallazos para mi profe luz marina
Pantallazos para mi profe luz marinaPantallazos para mi profe luz marina
Pantallazos para mi profe luz marina
 
Recursos educativos en abierto
Recursos educativos en abiertoRecursos educativos en abierto
Recursos educativos en abierto
 
Seeds of Growth
Seeds of GrowthSeeds of Growth
Seeds of Growth
 
14 07 04_michailopoulos law office_part ii
14 07 04_michailopoulos law office_part ii14 07 04_michailopoulos law office_part ii
14 07 04_michailopoulos law office_part ii
 
Presentación 3 a
Presentación  3 aPresentación  3 a
Presentación 3 a
 
14 07 04_michailopoulos law office_part i
14 07 04_michailopoulos law office_part i14 07 04_michailopoulos law office_part i
14 07 04_michailopoulos law office_part i
 
Attack tor
Attack torAttack tor
Attack tor
 
Creating brand content in strategic marketing
Creating brand content in strategic marketingCreating brand content in strategic marketing
Creating brand content in strategic marketing
 
Prof.ed.4
Prof.ed.4Prof.ed.4
Prof.ed.4
 

Similar to Seif_mike_gsoc_2014_cloudstack

Play with azure functions
Play with azure functionsPlay with azure functions
Play with azure functionsBaskar rao Dsn
 
Era of server less computing
Era of server less computingEra of server less computing
Era of server less computingBaskar rao Dsn
 
Era of server less computing final
Era of server less computing finalEra of server less computing final
Era of server less computing finalBaskar rao Dsn
 
Magento performance feat. core Hacks
Magento performance feat. core HacksMagento performance feat. core Hacks
Magento performance feat. core HacksDaniel Niedergesäß
 
Strategies and Tips for Building Enterprise Drupal Applications - PNWDS 2013
Strategies and Tips for Building Enterprise Drupal Applications - PNWDS 2013Strategies and Tips for Building Enterprise Drupal Applications - PNWDS 2013
Strategies and Tips for Building Enterprise Drupal Applications - PNWDS 2013Mack Hardy
 
OSMC 2023 | What’s new with Grafana Labs’s Open Source Observability stack by...
OSMC 2023 | What’s new with Grafana Labs’s Open Source Observability stack by...OSMC 2023 | What’s new with Grafana Labs’s Open Source Observability stack by...
OSMC 2023 | What’s new with Grafana Labs’s Open Source Observability stack by...NETWAYS
 
SSIS : Ftp and script task
SSIS : Ftp and script taskSSIS : Ftp and script task
SSIS : Ftp and script taskKiki Noviandi
 
Tech Talk Live on Share Extensibility
Tech Talk Live on Share ExtensibilityTech Talk Live on Share Extensibility
Tech Talk Live on Share ExtensibilityAlfresco Software
 
Azure Functions in Action #OrlandoCC
Azure Functions in Action #OrlandoCCAzure Functions in Action #OrlandoCC
Azure Functions in Action #OrlandoCCBaskar rao Dsn
 
Asp.Net 3 5 Part 1
Asp.Net 3 5 Part 1Asp.Net 3 5 Part 1
Asp.Net 3 5 Part 1asim78
 
Office 365 Saturday (Sydney) - SharePoint framework – build integrated user e...
Office 365 Saturday (Sydney) - SharePoint framework – build integrated user e...Office 365 Saturday (Sydney) - SharePoint framework – build integrated user e...
Office 365 Saturday (Sydney) - SharePoint framework – build integrated user e...Anupam Ranku
 
Meet Magento Belarus 2015: Uladzimir Kalashnikau
Meet Magento Belarus 2015: Uladzimir KalashnikauMeet Magento Belarus 2015: Uladzimir Kalashnikau
Meet Magento Belarus 2015: Uladzimir KalashnikauAmasty
 
appengine ja night #25 Google App Engine for PHP (English)
appengine ja night #25 Google App Engine for PHP (English)appengine ja night #25 Google App Engine for PHP (English)
appengine ja night #25 Google App Engine for PHP (English)Ryo Yamasaki
 
Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 1...
 Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 1... Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 1...
Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 1...WebStackAcademy
 
Migrating very large site collections
Migrating very large site collectionsMigrating very large site collections
Migrating very large site collectionskiwiboris
 
Integration Monday - BizTalk Migrator Deep Dive
Integration Monday - BizTalk Migrator Deep DiveIntegration Monday - BizTalk Migrator Deep Dive
Integration Monday - BizTalk Migrator Deep DiveBizTalk360
 
GCP Deployment- Vertex AI
GCP Deployment- Vertex AIGCP Deployment- Vertex AI
GCP Deployment- Vertex AITriloki Gupta
 
Migrating Very Large Site Collections (SPSDC)
Migrating Very Large Site Collections (SPSDC)Migrating Very Large Site Collections (SPSDC)
Migrating Very Large Site Collections (SPSDC)kiwiboris
 

Similar to Seif_mike_gsoc_2014_cloudstack (20)

Asp.net caching
Asp.net cachingAsp.net caching
Asp.net caching
 
Play with azure functions
Play with azure functionsPlay with azure functions
Play with azure functions
 
Era of server less computing
Era of server less computingEra of server less computing
Era of server less computing
 
Era of server less computing final
Era of server less computing finalEra of server less computing final
Era of server less computing final
 
Magento performance feat. core Hacks
Magento performance feat. core HacksMagento performance feat. core Hacks
Magento performance feat. core Hacks
 
Strategies and Tips for Building Enterprise Drupal Applications - PNWDS 2013
Strategies and Tips for Building Enterprise Drupal Applications - PNWDS 2013Strategies and Tips for Building Enterprise Drupal Applications - PNWDS 2013
Strategies and Tips for Building Enterprise Drupal Applications - PNWDS 2013
 
OSMC 2023 | What’s new with Grafana Labs’s Open Source Observability stack by...
OSMC 2023 | What’s new with Grafana Labs’s Open Source Observability stack by...OSMC 2023 | What’s new with Grafana Labs’s Open Source Observability stack by...
OSMC 2023 | What’s new with Grafana Labs’s Open Source Observability stack by...
 
SSIS : Ftp and script task
SSIS : Ftp and script taskSSIS : Ftp and script task
SSIS : Ftp and script task
 
Tech Talk Live on Share Extensibility
Tech Talk Live on Share ExtensibilityTech Talk Live on Share Extensibility
Tech Talk Live on Share Extensibility
 
Azure Functions in Action #OrlandoCC
Azure Functions in Action #OrlandoCCAzure Functions in Action #OrlandoCC
Azure Functions in Action #OrlandoCC
 
Asp.Net 3 5 Part 1
Asp.Net 3 5 Part 1Asp.Net 3 5 Part 1
Asp.Net 3 5 Part 1
 
Exploring App fabric
Exploring App fabricExploring App fabric
Exploring App fabric
 
Office 365 Saturday (Sydney) - SharePoint framework – build integrated user e...
Office 365 Saturday (Sydney) - SharePoint framework – build integrated user e...Office 365 Saturday (Sydney) - SharePoint framework – build integrated user e...
Office 365 Saturday (Sydney) - SharePoint framework – build integrated user e...
 
Meet Magento Belarus 2015: Uladzimir Kalashnikau
Meet Magento Belarus 2015: Uladzimir KalashnikauMeet Magento Belarus 2015: Uladzimir Kalashnikau
Meet Magento Belarus 2015: Uladzimir Kalashnikau
 
appengine ja night #25 Google App Engine for PHP (English)
appengine ja night #25 Google App Engine for PHP (English)appengine ja night #25 Google App Engine for PHP (English)
appengine ja night #25 Google App Engine for PHP (English)
 
Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 1...
 Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 1... Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 1...
Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 1...
 
Migrating very large site collections
Migrating very large site collectionsMigrating very large site collections
Migrating very large site collections
 
Integration Monday - BizTalk Migrator Deep Dive
Integration Monday - BizTalk Migrator Deep DiveIntegration Monday - BizTalk Migrator Deep Dive
Integration Monday - BizTalk Migrator Deep Dive
 
GCP Deployment- Vertex AI
GCP Deployment- Vertex AIGCP Deployment- Vertex AI
GCP Deployment- Vertex AI
 
Migrating Very Large Site Collections (SPSDC)
Migrating Very Large Site Collections (SPSDC)Migrating Very Large Site Collections (SPSDC)
Migrating Very Large Site Collections (SPSDC)
 

Recently uploaded

IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...RajaP95
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...ranjana rawat
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxhumanexperienceaaa
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 

Recently uploaded (20)

IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 

Seif_mike_gsoc_2014_cloudstack

  • 1. Creating a GUI to Add Primary Storage based on Plugins Student : Seifeddine Jemli Mentor : Mike Tutkowski
  • 2. Plan • Context • What the process was like • How it looks now • Improving the tags inputs • Conclusion
  • 3. Context • Prior to CloudStack 4.2, there was no way to write a storage plugin. • Since CloudStack 4.2, custom storage behaviour has been implementable via a plugin model. • The Default Storage Plugin implements functionality that existed in CloudStack prior to the 4.2 release.
  • 4. • Each Primary Storage has to be associated with a plugin. • If we don’t specify the plugin when creating the Primary Storage, it is associated with the Default Plugin. • The CloudStack GUI didn’t support adding Primary Storage with respect to different Storage Vendor Plugins (example: SolidFire)
  • 5. What the process was like
  • 6. • Admins who wanted to add a Primary Storage which is not based on the Default Storage Plugin had to invoke the addPrimaryStorage API outside of the CloudStack GUI. • Admins needed to perform this task either with CloudStack’s CLI, its API, or some other tool that leveraged CloudStack’s CLI or its API.
  • 7. How it looks like now
  • 8. • Now, admins who want to add a Primary Storage which is not based on the Default Storage Plugin can directly do so with the CloudStack GUI.. • The addPrimaryStorage API is called in the background after getting all the necessary parameters from the “Add Primary Storage” form.
  • 9. Add Primary Storage (Zone Wide)
  • 10. Add Primary Storage (Cluster)
  • 11. • Zone-wide primary storage is simply primary storage that all hosts in all clusters of that zone can access. • Cluster primary storage is CloudStack's traditional model whereby only hosts in a given cluster can see that primary storage.
  • 12. Storage Tags • A storage tag is a string attribute associated with Primary Storage, a Disk Offering, and a Compute Offering. • The storage tag is a field that tells what kind of Primary Storage can satisfy your volume's needs (could be simple like “Fast” or specific like the model of a particular vendor’s hardware).
  • 13. • Storage Tags for Compute and Disk Offerings are used to identify the requirements of the root or data disks of VMs. For example, a high-end Compute Offering may require “fast” for its root disk volume. • Admins used to need to memorize the tags they wanted to use for a specific Primary Storage (or look them up in an inconvenient way). They also needed to type in a comma- separated list of tags.
  • 14. • To provide a better user experience, we thought of adding auto-completion to the Storage Tags input. That’s why we adapted and integrated this open source library to the CloudStack GUI : http://loopj.com/jquery-tokeninput/ • The new “Storage Tags” and “Host Tags” inputs will make it easier for admins.
  • 15. • As part of the process, we needed to create two new API calls to CloudStack : - listStorageTags - listHostTags • These API calls retrieve the list of the existing Storage tags or Host tags in order to populate them into the new GUI control.
  • 16. • The existing tags will be suggested to the user in the Autocompletion dropdown. • The admin can then either select one or many existing tags and/or add new new ones.
  • 17. Adding a new Storage Tag In order to add a new Storage Tag in the “Storage Tags Input”, we have to write the name of the storage Tag, then press “space bar” or “comma” or click outside to lose focus on the input.
  • 18. Searching for a Storage Tag The new input suggests existing Storage Tags that can match the typed text. These suggestions change dynamically whenever we type a new letter.
  • 20. No Storage Tags Found When there is no Storage Tag matching the typed letters, we have to enter a new Storage Tag. New Storage Tags can be added even if existing Storage Tags are displayed in the list.
  • 21. Editing the Storage Tags of a Primary Storage
  • 22. Host Tags ● Host Tags have a similar use case as the Storage Tags, but for Virtual Machines. ● If you spin up a Virtual Machine using a compute offering that has one or more host tags, then the VM can only be placed on hosts that have those host tags.
  • 23. Host Tags new input (Add Host form)
  • 26. New Inputs for the “Add Disk Offering” form
  • 27. New Inputs for the “Add Compute Offering” form
  • 28. Technologies used ● jQuery and CSS for implementing the GUI changes. ● Java for implementing the API commands. ● The Vagrant machine that simplifies building a full CloudStack environment. https://github.com/imduffy15/GSoC-2014
  • 29. Conclusion ● My participation in GSoC was a very good experience overall, with a lot of learning. ● I will probably work on a key-value control to facilitate the entry of the URLs in the “Add Primary Storage” form.
  • 30. Thanks to ● My mentor for his guidance. ● The Apache CloudStack community members for their help. ● Google for giving students the opportunity to take part in this coding event.
  • 31. Student : Seifeddine Jemli ● Computer Science student at the french “grande ecole”, ENSEIRB-MATMECA. Mentor : Mike Tutkowski ● Senior CloudStack Developer at ‘SolidFire’ ● CloudStack PMC Member ● CloudStack Committer ● Weightlifter (DL: 505 lbs, Squat: 430 lbs)