Code Monkey home page Code Monkey logo

cf-testing's Introduction

cf-testing

This is set of WIP Red Hat CloudForms/ManageIQ automatio methods to add disks to VMware VMs & AWS intances via custom buttons or service catalog items.

To use:

  1. Clone this repo.
  2. Import the add_disk_catalog.zip as a new automation domain (Automate -> Import/Export -> browse & upload file)
  3. Import the cf_add_disk_dialogs.yml file (Automate -> Customization -> Import/Export -> Service Dialog Import/Export -> browse & upload file)
  4. Create new buttons:
    • "vSphere Add Disk" which makes a "add_disk" request and uses the vsphere-vm-disk-add dialog
    • "EC2 Add Disk" which makes a "aws_disk_add" request and also uses the vpshere-vm-disk-add dialog (really, it's just collecting a size - may spint his off into a new dialog & add an AWS mount point later
  5. Create service catalog items:
    • "Add disk to VMware VM", custom type, which uses the "Get VMs" dialog and uses "Service/Provisioning/StateMachines/ServiceProvisoin_Template/add_disk" as the provisioning entry point
    • "Add disk to EC2", custom type, which uses the "Get Instances" dialog, and uses "Service/Provisioning/StateMachines/ServiceProvision_Template/ec2_add_disk" as the provisioning entry point
  6. You can now test adding disks on VMware VMs & EC2 instances using custom buttons from the VM/intance object, or service catalog item. Note that when calling the catalog items, they will pull the list of all VMs from the specified provider into a drop down list to facilitate selection of the VM to add a disk to. In larger environments, this may take a while to return the entire list of VMs.

NOTE: As of this point, only adding disks is supported. Removing/deleting disk support may be added later, but that particular workflow requires a bit more planning.

cf-testing's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.