Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hybrid Cloud Management with Red Hat CloudForms

You're reading from   Hybrid Cloud Management with Red Hat CloudForms Build, manage, and control an open hybrid cloud infrastructure using Red Hat CloudForms

Arrow left icon
Product type Paperback
Published in Aug 2015
Publisher
ISBN-13 9781785283574
Length 174 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Sangram Rath Sangram Rath
Author Profile Icon Sangram Rath
Sangram Rath
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. Red Hat CloudForms Internals FREE CHAPTER 2. Installing Red Hat CloudForms on Red Hat OpenStack 3. Building a Hybrid Cloud Environment Using Red Hat CloudForms 4. Provisioning Instances Using Red Hat CloudForms 5. Life Cycle Management Using Red Hat CloudForms 6. Automation Using Red Hat CloudForms 7. Managing Red Hat CloudForms 8. Monitoring a Hybrid Cloud Infrastructure Using Red Hat CloudForms 9. Optimizing Using Red Hat CloudForms 10. APIs for Red Hat CloudForms Index

State machines

A state machine is a collection of a number of states, where each state refers to a process that is happening and follows a cycle by transitioning from one state to another. Successful completion of the previous state is necessary for the next state to begin.

CloudForms includes some default state machines in the ManageIQ or CloudForms domain, which cannot be changed. ProvisionRequestApproval is one such state machine that we will work with in this chapter and it is relevant for the request approval process.

State machine components

There are six state machine components that you can work with and set values for:

  • On_Entry: This component will run a desired method upon entering the state
  • On_Exit: This component lets you run a method when exiting the state
  • On_Error: This can run a method if there is an error during the running state
  • Default value: This runs the desired method after the On_Entry method
  • Max retries: This will retry the state a certain number of times before exiting
  • Max...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image