The document provides information on customizing and integrating with the CloudStack user interface and API. It discusses how to customize the UI through CSS edits, add new navigation sections, deal with cross-site request forgery, and enable simple single sign-on. It also covers working with the CloudStack API, including differences between session-based and API key authentication, signing requests, asynchronous commands, response formats, and pagination. The document is intended to help developers get started with customizing and integrating with the CloudStack platform.
Finding a Better Way to CSS: Navigating Sass with CompassClaudina Sarahe
Knowing how to leverage Sass is ultimately what exposes its advantages over writing CSS unaided. This session is about common and useful Sass utilities. It focuses on getting the most from Sass through Compass as well as Sass properties and functions. We'll also cover core Compass imports, file organization best practices, and tips for approaching designs with Sass thinking.
Full session description: http://www.drupaldelphia.com/sessions/finding-better-way-css-navigating-sass-compass
Many fall into the habit of writing poor CSS, often due to a lack of structure. Here I present some common pitfalls, and tips by which to overcome them.
Curious to know what this CSS3 hype is all about? Visit this presentation to learn that it isn't just a hype. CSS3 adds awesome new capabilities to a front-end developer's palette of tools to create a beautiful (and functional) website.
Learn more about several of the best new options that CSS3 is giving us, the current level of browser support for CSS3, and lots of useful resources to keep yourself up-to-date and learn more.
If you want to learn how to style your website using CSS3, then this is a presentation you don't want to miss!
Finding a Better Way to CSS: Navigating Sass with CompassClaudina Sarahe
Knowing how to leverage Sass is ultimately what exposes its advantages over writing CSS unaided. This session is about common and useful Sass utilities. It focuses on getting the most from Sass through Compass as well as Sass properties and functions. We'll also cover core Compass imports, file organization best practices, and tips for approaching designs with Sass thinking.
Full session description: http://www.drupaldelphia.com/sessions/finding-better-way-css-navigating-sass-compass
Many fall into the habit of writing poor CSS, often due to a lack of structure. Here I present some common pitfalls, and tips by which to overcome them.
Curious to know what this CSS3 hype is all about? Visit this presentation to learn that it isn't just a hype. CSS3 adds awesome new capabilities to a front-end developer's palette of tools to create a beautiful (and functional) website.
Learn more about several of the best new options that CSS3 is giving us, the current level of browser support for CSS3, and lots of useful resources to keep yourself up-to-date and learn more.
If you want to learn how to style your website using CSS3, then this is a presentation you don't want to miss!
Learn to love CSS3 | Joomla! Day DeutschlandThemePartner
Curious to know what this CSS3 hype is all about? Visit this presentation to learn that it isn't just a hype. CSS3 adds awesome new capabilities to a front-end developer's palette of tools to create a beautiful (and functional) website.
Learn more about several of the best new options that CSS3 is giving us, the current level of browser support for CSS3, and lots of useful resources to keep yourself up-to-date and learn more.
If you want to learn how to style your website using CSS3, then this is a presentation you don't want to miss!
Video of JandBeyond 2012:
http://www.youtube.com/watch?feature=player_embedded&v=EAKxs2ixsBY
Who the heck are you? Integrating CloudStack AuthenticationJohn Burwell
As users increase the integration of CloudStack into their offerings, federated authentication emerges as a critical operational need. This talk will survey the current single sign-on (SSO) landscape, and propose a design to integrate SSO providers into CloudStack without impacting smaller, standalone deployments.
Introduction to cloudstack 4.2 networkingShapeBlue
Geoff Higginbottom did a short “Introduction to Cloudstack Networking” talk . Many people acknowledge that there’s nobody on planet earth who knows as much about Cloudstack Networking as Geoff. Luckily he decided to throttle back a little on his usual detail levels and did an excellent job of explaining the key cloudstack networking features and also had a good look that the new & improved VPC functionality available in Cloudstack 4.2
Session on CloudStack, intended for new users to CloudStack, provides an overview to varied audience levels information on usages, use cases, deployment and its architecture.
Building Clouds with Apache CloudStack - the business use-casesShapeBlue
Giles Sirett , CEO of ShapeBlue did a talk on the Business Use cases for Apache Cloudstack, looking at what’s driving organisations to build IaaS cloud infrastructures and also why those organisations are choosing Apache Cloudstack ahead of other technologies.
Bringing New Experience with Openstack and Fuel (Ihor Dvoretskyi, Oleksandr M...IT Arena
Lviv IT Arena is a conference specially designed for programmers, designers, developers, top managers, inverstors, entrepreneur and startuppers. Annually it takes place on 2-4 of October in Lviv at the Arena Lviv stadium. In 2015 conference gathered more than 1400 participants and over 100 speakers from companies like Facebook. FitBit, Mail.ru, HP, Epson and IBM. More details about conference at itarene.lviv.ua.
Learn to love CSS3 | Joomla! Day DeutschlandThemePartner
Curious to know what this CSS3 hype is all about? Visit this presentation to learn that it isn't just a hype. CSS3 adds awesome new capabilities to a front-end developer's palette of tools to create a beautiful (and functional) website.
Learn more about several of the best new options that CSS3 is giving us, the current level of browser support for CSS3, and lots of useful resources to keep yourself up-to-date and learn more.
If you want to learn how to style your website using CSS3, then this is a presentation you don't want to miss!
Video of JandBeyond 2012:
http://www.youtube.com/watch?feature=player_embedded&v=EAKxs2ixsBY
Who the heck are you? Integrating CloudStack AuthenticationJohn Burwell
As users increase the integration of CloudStack into their offerings, federated authentication emerges as a critical operational need. This talk will survey the current single sign-on (SSO) landscape, and propose a design to integrate SSO providers into CloudStack without impacting smaller, standalone deployments.
Introduction to cloudstack 4.2 networkingShapeBlue
Geoff Higginbottom did a short “Introduction to Cloudstack Networking” talk . Many people acknowledge that there’s nobody on planet earth who knows as much about Cloudstack Networking as Geoff. Luckily he decided to throttle back a little on his usual detail levels and did an excellent job of explaining the key cloudstack networking features and also had a good look that the new & improved VPC functionality available in Cloudstack 4.2
Session on CloudStack, intended for new users to CloudStack, provides an overview to varied audience levels information on usages, use cases, deployment and its architecture.
Building Clouds with Apache CloudStack - the business use-casesShapeBlue
Giles Sirett , CEO of ShapeBlue did a talk on the Business Use cases for Apache Cloudstack, looking at what’s driving organisations to build IaaS cloud infrastructures and also why those organisations are choosing Apache Cloudstack ahead of other technologies.
Bringing New Experience with Openstack and Fuel (Ihor Dvoretskyi, Oleksandr M...IT Arena
Lviv IT Arena is a conference specially designed for programmers, designers, developers, top managers, inverstors, entrepreneur and startuppers. Annually it takes place on 2-4 of October in Lviv at the Arena Lviv stadium. In 2015 conference gathered more than 1400 participants and over 100 speakers from companies like Facebook. FitBit, Mail.ru, HP, Epson and IBM. More details about conference at itarene.lviv.ua.
Apache CloudStack's Plugin Model:Balancing the Cathedral with a BazaarDonal Lafferty
ApacheCon 2012 presentation: Sound architecture protects enterprise's investment in an open source project. Strong project leadership can impose and enforce this architecture, but it can stifle innovation and project participation. These competing demands led Apache CloudStack to provide a plugin model for extending its kernel. This talk describes that model using the example of adding Hyper-V support through a plugin.
Hypervisor Capabilities in Apache CloudStack 4.3Tim Mackey
Apache CloudStack 4.3 adds support for clouds built using Microsoft Hyper-V, in addition to supporting VMware vSphere, Citrix XenServer, KVM, Oracle VM, Linux Containers and bare metal options. This deck covers the decision points impacting the design of CloudStack 4.3 clouds, and their relationship with hypervisor choices.
Presented at Build a Cloud Day co-located with SCaLE 12x in February 2014.
A walk through of the CloudStack API. full screencast available at http://www.youtube.com/watch?v=ZPfm2EksIbc
An API to your cloud orchestrator is key to automation of your data center.
We go through the basics of Query API calls, unauthenticated on the integration port and authenticated calls using the access and secret keys of a users and computing a signature. We show how to compute a signature in Python.
We also highlight various CloudStack clients in many different languageas (java, php, ruby, clojure etc..) and show how to explore the API using firebug console in firefox or via the CloudStack interfactive shell cloudmonkey. This is a good complement to my talk on CloudMonkey.
Sassive Aggressive: Using Sass to Make Your Life Easier (NSWG Version)Adam Darowski
It's time to get sassy! By populer demand, this month's meetup features a talk by web developers Adam Darowski and Joel Oliviera on Sass (Syntactically Awesome Stylesheets). Learn how to make syling fun again with this simpler, more elegant syntax for CSS. Adam & Joel will explain the ins and outs of SASS by going through some step-by-step examples of how you can put it to use in your own workflow.
Build clouds the way some of the world’s biggest public and private clouds are built—using CloudStack. This 60-minute webinar with the Cloudstack team will help you gain a better understanding of the CloudStack architecture and feature set.
“Apache Hadoop, Now and Beyond”, Jim Walker, Director of Product Marketing, Hortonworks
Hadoop is an open source project that allows you to gain insight from massive amounts of structured and unstructured data quickly and without significant investment. It is shifting the way many traditional organizations think of analytics and business models. While it is deigned to take advantage of cheap commodity hardware, it is also perfect for the cloud as it is built to scale up or down without system interruption. In this presentation, Jim Walker will provide an overview of Apache Hadoop and its current state of adoption in and out of the cloud.
"Scaling Storage with Ceph", Ross Turk, VP of Community, Inktank
Ceph is an open source distributed object store, network block device, and file system designed for reliability, performance, and scalability. It runs on commodity hardware, has no single point of failure, and is supported by the Linux kernel. This talk will describe the Ceph architecture, share its design principles, and discuss how it can be part of a cost-effective, reliable cloud stack.
"Deploying Private PaaS with ActiveState Stackato”, Diane Mueller, Director Cloud Evangelism, ActiveState
This presentation covers building and deploying a Private Platform-as-a-Service (PaaS) on CloudStack. Diane Mueller, ActiveState's Cloud Evangelist shows how to deploy ActiveState's Stackato, an enterprise-ready multi-lingual Private PaaS that runs on any cloud and supports deploying and managing web & mobile applications in any language including Java, .Net, Python, Perl, PHP Ruby, Node.js, Clojure, Scala and Erlang - to name a few. Using the CloudStack UI, Diane demonstrates how to configure and deploy the PaaS and then shows how easy it is to push a live application in under an hour.
"Xen Cloud Platform”, Mike McClurg, Senior Engineer, Xen.org Engineering
The Xen Cloud Platform is an open-source, enterprise-ready server virtualization platform. It is based on the Xen hypervisor, and represents the common code base for Citrix's XenServer product line. This presentation gives an introduction to XCP, and how it relates to both the Xen hypervisor and to Citrix's XenServer. It covers XCP's XenAPI and how it can be used by two of the most popular cloud orchestration frameworks, CloudStack and OpenStack. Finally, it discusses the XCP "roadmap," and the plans for the future of XCP.
Introduction to Open Source Cloud Computing", Mark Hinkle, Senior Director Cloud Computing Community, Citrix
Very few trends in IT have generated as much buzz as cloud computing. This session will cut through the hype and clarify what cloud computing is, what the use cases are, and what open source software exists to build and manage clouds. The discussion will appeal to systems administrators, IT generalists, and developers...anybody who wants to create a cloud computing environment on their own hardware in their own data centers and deploy applications to this cloud.
This presentation is the introduction to the monthly CloudStack.org demonstration. The presentation details the latest features in the CloudStack open source project as well as project news. To attend a future presentation, with live demo and Q&A visit:
http://www.slideshare.net/cloudstack/introduction-to-cloudstack-12590733
The shift to cloud-based services has dramatically altered the IT landscape as we know it. Enterprise infrastructure borders have expanded beyond the firewall and now include hosted applications and infrastructure hosted in public and private clouds. Puppet helps DevOps teams meet their common objectives, creating a seamless IT infrastructure across departments, reducing cost and increasing productivity.
This training section will cover deploying cloud infrastructure automatically using Puppet, an open source configuration management and automation tool.The session will cover the following topics:
Configuring Puppet and Puppetmaster
Resource Types and the Resource Abstration Layer
Virtual Resources, Exported Resources and Stored Configs
Speaker Bio
Luke founded Puppet and Puppet Labs in 2005 out of fear and desperation, with the goal of producing better operations tools and changing how we manage systems. He has been publishing and speaking on his work in system administration since 1997, focusing on development since 2001. He has developed and published multiple simple sysadmin tools and contributed to established products like Cfengine, and has presented on Puppet and other tools around the world, including at OSCON, LISA, Linux.Conf.au, and FOSS.in. His work with Puppet has been an important part of DevOps and delivering on the promise of cloud computing.
GlusterFS is an open source scale-out NAS solution. The software is a powerful and flexible solution that simplifies the task of managing unstructured file data whether you have a few terabytes of storage or multiple petabytes. It’s no secret that unstructured data is growing like crazy, Gluster provides a solutions that scales capacity and performance as you need it and is an ideal fit for an IT environment that is increasingly virtualized and moving to the cloud.
There are two key ways that GlusterFS is beneficial for cloud builders:
1. Storage layer for VMs. If you're deploying Xen or KVM VMs on a private cloud, storing them on GlusterFS gives you the ability to migrate to different hypervisors, suspend and resume quickly - even on another hypervisor, scale out far beyond what other filesystems will allow, and utilize N-way replication for DR and HA
2. Unified storage layer for applications. With GlusterFS 3.3, you will be able to access your application data stores from an object (S3, Swift-style) interface, as well as a traditional POSIX-compatible NAS interface. This unified approach gives developers and admins the ability to access the same data store using a variety of different methods.
In this session, attendees will learn steps for deployment and some common use cases.
Speaker Bio
John Mark is an experienced veteran of all things open source and a self-described agitprop, agitator and advocate for those who volunteer countless, unpaid hours for a particular project or community. He first fell down the slippery slope of open source as a web developer at VA Linux Systems and eventually switched to the community team, beginning a career that has now lasted over ten years. Along the way, John Mark made stops at young, up-and-coming startups, such as Groundwork, Hyperic and then Gluster (later acquired by Red Hat). In between, there was a brief interlude at IDG World Expo, where he was the conference director for LinuxWorld, GridWorld and OSBC. His advice for companies who want to "do community" is to trust your community and give them the space to "just try s***." John Mark loves to perform community karaoke, and is available for weddings, funerals and Bar/Bat Mitzvahs
Very few trends in IT have generated as much buzz as cloud computing. This talk will cut through the hype and quickly clarify the ontology for cloud computing. The bulk of the conversation will focus on the open source software that can be used to build compute clouds (infrastructure-as-a-service) and the complimentary open source management tools that can be combined to automate the management of cloud computing environments. The discussion will appeal to anyone who has a good grasp of traditional data center infrastructure but is struggling with the benefits and migration path to a cloud computing environment. Systems administrators and IT generalists will leave the discussion with a general overview of the options at their disposal to effectively build and manage their own cloud computing environments using free and open source software.
[Presented as part of the Open Source Build a Cloud program on 2/28/2012 - http://cloudstack.org/about-cloudstack/cloudstack-events.html?categoryid=6]
More from CloudStack - Open Source Cloud Computing Project (20)
JMeter webinar - integration with InfluxDB and GrafanaRTTS
Watch this recorded webinar about real-time monitoring of application performance. See how to integrate Apache JMeter, the open-source leader in performance testing, with InfluxDB, the open-source time-series database, and Grafana, the open-source analytics and visualization application.
In this webinar, we will review the benefits of leveraging InfluxDB and Grafana when executing load tests and demonstrate how these tools are used to visualize performance metrics.
Length: 30 minutes
Session Overview
-------------------------------------------
During this webinar, we will cover the following topics while demonstrating the integrations of JMeter, InfluxDB and Grafana:
- What out-of-the-box solutions are available for real-time monitoring JMeter tests?
- What are the benefits of integrating InfluxDB and Grafana into the load testing stack?
- Which features are provided by Grafana?
- Demonstration of InfluxDB and Grafana using a practice web application
To view the webinar recording, go to:
https://www.rttsweb.com/jmeter-integration-webinar
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...DanBrown980551
Do you want to learn how to model and simulate an electrical network from scratch in under an hour?
Then welcome to this PowSyBl workshop, hosted by Rte, the French Transmission System Operator (TSO)!
During the webinar, you will discover the PowSyBl ecosystem as well as handle and study an electrical network through an interactive Python notebook.
PowSyBl is an open source project hosted by LF Energy, which offers a comprehensive set of features for electrical grid modelling and simulation. Among other advanced features, PowSyBl provides:
- A fully editable and extendable library for grid component modelling;
- Visualization tools to display your network;
- Grid simulation tools, such as power flows, security analyses (with or without remedial actions) and sensitivity analyses;
The framework is mostly written in Java, with a Python binding so that Python developers can access PowSyBl functionalities as well.
What you will learn during the webinar:
- For beginners: discover PowSyBl's functionalities through a quick general presentation and the notebook, without needing any expert coding skills;
- For advanced developers: master the skills to efficiently apply PowSyBl functionalities to your real-world scenarios.
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Ramesh Iyer
In today's fast-changing business world, Companies that adapt and embrace new ideas often need help to keep up with the competition. However, fostering a culture of innovation takes much work. It takes vision, leadership and willingness to take risks in the right proportion. Sachin Dev Duggal, co-founder of Builder.ai, has perfected the art of this balance, creating a company culture where creativity and growth are nurtured at each stage.
UiPath Test Automation using UiPath Test Suite series, part 3DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 3. In this session, we will cover desktop automation along with UI automation.
Topics covered:
UI automation Introduction,
UI automation Sample
Desktop automation flow
Pradeep Chinnala, Senior Consultant Automation Developer @WonderBotz and UiPath MVP
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
Search and Society: Reimagining Information Access for Radical FuturesBhaskar Mitra
The field of Information retrieval (IR) is currently undergoing a transformative shift, at least partly due to the emerging applications of generative AI to information access. In this talk, we will deliberate on the sociotechnical implications of generative AI for information access. We will argue that there is both a critical necessity and an exciting opportunity for the IR community to re-center our research agendas on societal needs while dismantling the artificial separation between the work on fairness, accountability, transparency, and ethics in IR and the rest of IR research. Instead of adopting a reactionary strategy of trying to mitigate potential social harms from emerging technologies, the community should aim to proactively set the research agenda for the kinds of systems we should build inspired by diverse explicitly stated sociotechnical imaginaries. The sociotechnical imaginaries that underpin the design and development of information access technologies needs to be explicitly articulated, and we need to develop theories of change in context of these diverse perspectives. Our guiding future imaginaries must be informed by other academic fields, such as democratic theory and critical theory, and should be co-developed with social science scholars, legal scholars, civil rights and social justice activists, and artists, among others.
Connector Corner: Automate dynamic content and events by pushing a buttonDianaGray10
Here is something new! In our next Connector Corner webinar, we will demonstrate how you can use a single workflow to:
Create a campaign using Mailchimp with merge tags/fields
Send an interactive Slack channel message (using buttons)
Have the message received by managers and peers along with a test email for review
But there’s more:
In a second workflow supporting the same use case, you’ll see:
Your campaign sent to target colleagues for approval
If the “Approve” button is clicked, a Jira/Zendesk ticket is created for the marketing design team
But—if the “Reject” button is pushed, colleagues will be alerted via Slack message
Join us to learn more about this new, human-in-the-loop capability, brought to you by Integration Service connectors.
And...
Speakers:
Akshay Agnihotri, Product Manager
Charlie Greenberg, Host
Let's dive deeper into the world of ODC! Ricardo Alves (OutSystems) will join us to tell all about the new Data Fabric. After that, Sezen de Bruijn (OutSystems) will get into the details on how to best design a sturdy architecture within ODC.
Accelerate your Kubernetes clusters with Varnish CachingThijs Feryn
A presentation about the usage and availability of Varnish on Kubernetes. This talk explores the capabilities of Varnish caching and shows how to use the Varnish Helm chart to deploy it to Kubernetes.
This presentation was delivered at K8SUG Singapore. See https://feryn.eu/presentations/accelerate-your-kubernetes-clusters-with-varnish-caching-k8sug-singapore-28-2024 for more details.
"Impact of front-end architecture on development cost", Viktor TurskyiFwdays
I have heard many times that architecture is not important for the front-end. Also, many times I have seen how developers implement features on the front-end just following the standard rules for a framework and think that this is enough to successfully launch the project, and then the project fails. How to prevent this and what approach to choose? I have launched dozens of complex projects and during the talk we will analyze which approaches have worked for me and which have not.
2. What you will learn
• How to customize the CloudStack 3.0.x user interface
ᵒShowcase changes specific in the CSS to alter the look and feel of CloudStack
ᵒShowcase an example of how to add your own side navigation
ᵒDealing with Cross Site Request Forgery (CSRF)
ᵒSimple Single Signon
ᵒLocalization
2
3. What you will learn
• Working with the API
ᵒSession Based Auth vs API Key Auth
ᵒHow to sign a request with apiKey/secretKey
ᵒAsynchronous commands
ᵒResponse Format
ᵒPagination
• Q&A
14. Adding navigation buttons and functionality
4. Open /ui/index.jsp. Create HTML 5. Enclose a function in 'testSection',
somewhere in the 'template' div to which returns a jQuery object
contain your HTML content, which will be containing your template code, and
drawn in the browser pane: whatever other content you wish to
be shown:
sections: {
<!-- Templates --> /**
<div id="template"> * Dashboard
*/
<div class="testSection-tmpl"> dashboard: {},
<h1>Test section</h1> //'dashboard-user': {},
instances: {},
</div> storage: {},
</div> network: {},
templates: {},
events: {},
accounts: {},
domains: {},
system: {},
projects: {},
'global-settings': {},
configuration: {},
// New section
testSection: {
title: 'Title for section',
show: function(args) {
return $('#template .testSection-
tmpl').clone();
}
}
}
15. Adding navigation buttons and functionality
6. Add the section to the pre-filter, so that it isn't filtered out for
the admin account:
--
sectionPreFilter: function(args) {
if(isAdmin()) {
return
["dashboard", "instances", "storage", "network", "templates", "accounts", "domain
s", "events", "system", "global-settings", "configuration", "projects"];
},
sectionPreFilter: function(args) {
if(isAdmin()) {
return
["dashboard", "instances", "storage", "network", "templates", "accounts", "domain
s", "events", "system", "global-settings", "configuration", "projects",
// New section
"testSection"];
},
...
16. Adding navigation buttons and functionality
7. (optional) Add an icon for your new section in the CSS, either at
the bottom of /ui/css/cloudstack3.css or in your own CSS file under
/ui/css folder. Make sure the size of the icon is ~32x32 pixels:
#navigation ul li.testSection span.icon {
background: url('../images/testSection-icon.png') no-repeat 0px 0px;
}
17.
18.
19. Cross Site Request Forgery (CSRF)
• Type of malicious exploit of a website whereby unauthorized commands are
transmitted from a user that the website trusts. Unlike cross-site scripting
(XSS), which exploits the trust a user has for a particular site, CSRF exploits
the trust that a site has in a user's browse
• What does CS do to prevent this?
ᵒAfter execution of the login command you will get two session variables
• JSESSIONID – default cookie
• SESSIONKEY – random token that is passed along every API request
- http://<API URL>?sessionkey=<SESSIONKEY>&…
21. Localization
ᵒSupport for Japanese and Simplified Chinese
ᵒTakes advantage of the Java ResourceBundle to do localization
ᵒSimply create a /WEB-INF/classes/resources/messages_<language code>.properties
ᵒServer side vs Client side processing
23. Session-based Auth vs API Key Auth
• CloudStack supports two ways of authenticating via the API.
• Session-based Auth
ᵒUses default Java Servlet cookie based sessions
ᵒUse the “login” API to get a JSESSIONID cookie and a SESSIONKEY token
ᵒAll API commands require both cookie and token to authenticate
ᵒHas a timeout as configured within Tomcat
• API Key Auth
ᵒWorks similarly to AWS API
ᵒRequires a bit more coding to generate the signature
ᵒAll API commands require a signature hash
24. SIGNING REQUEST WITH API KEY / SECRET KEY
Step 1:
commandString = command name + parameters + api key
URL encode each field-value pair within the commandstring
Step 2:
Lower case the entire commandString and sort it alphabetically via the field for each field-value pair.
sortedCommandString :
apiKey=vmwijj…&command=createvolume&diskofferingid=1&name=smallvolume=zoneid=1
Step 3:
Take the sortedCommandString and run it through the HMAC SHA-1 hashing algorithm (most
programming languages offer a utility method to do this) with the user’s Secret Key. Base64 encode
the resulting byte array in UTF-8 so that it can be safely transmitted via HTTP. The final string
produced after Base64 encoding should be SyjAz5bggPk08I1DE34lnH9x%2f4%3D
25. Asynchronous Commands
ᵒStarting with 3.0, in your standard CRUD (Create, Read, Update, Delete) of any first
class objects in CloudStack, CUD are automatically asynchronous. R is synchronous.
ᵒRather than returning a response object, it will return a job ID.
ᵒIf it is a “Create” command, it will also return the object ID.
ᵒWith the job ID, you can query the async job status via the
queryAsyncJobResult command.
ᵒThe queryAsyncJobResult response will return the following possible job status code:
• 0 - Job is still in progress. Continue to periodically poll for any status changes.
• 1 - Job has successfully completed. The job will return any successful response values
associated with command that was originally executed.
• 2 - Job has failed to complete. Please check the <jobresultcode> tag for failure reason code
and <jobresult> for the failure reason.
26. RESPONSE FORMAT
CloudStack supports two formats as the response to an API call.
The default response is XML. If you would like the response to be in JSON, add &response=json to the
Command String.
Sample XML Response:
<listipaddressesresponse>
<allocatedipaddress>
<ipaddress>192.168.10.141</ipaddress>
<allocated>2009-09-18T13:16:10-0700</allocated>
<zoneid>4</zoneid>
<zonename>WC</zonename>
<issourcenat>true</issourcenat>
</allocatedipaddress> </listipaddressesresponse>
Sample JSON Response:
{ "listipaddressesresponse" : { "allocatedipaddress" : [ { "ipaddress" : "192.168.10.141", "allocated" : "2009-09-
18T13:16:10-0700", "zoneid" : "4", "zonename" : "WC", "issourcenat" : "true" } ]
27. Pagination
• Using the page and pagesize parameter
• page defines the current cursor to the list
• pagesize defines the number of items per request
• Pagesize is limited by the administrator
• Sample:
• listVirtualMachines&page=1&pagesize=500
• listVirtualMachines&page=2&pagesize=500