chef-partners/kitchen-vro

Name: kitchen-vro

Owner: Chef Partners

Description: Test Kitchen driver for VMware vRealize Orchestrator

Created: 2015-08-21 19:12:47.0

Updated: 2017-03-22 17:28:18.0

Pushed: 2016-02-03 14:57:39.0

Homepage: null

Size: 18

Language: Ruby

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

kitchen-vro

A driver to allow Test Kitchen to consume VMware resources provisioned by way of vRealize Orchestrator workflows.

vRO allows you to create any workflow you can imagine, but our plugin needs to make some assumptions about the workflows you design in order to properly provision and destroy resources. Therefore, please pay special attention to the Workflow Design section below and ensure your workflows adhere to these design requirements.

Installation

Add this line to your application's Gemfile:

'kitchen-vro'

And then execute:

$ bundle

Or install it yourself as:

$ gem install kitchen-vro

Or even better, install it via ChefDK:

$ chef gem install kitchen-vro
Usage

After installing the gem as described above, edit your .kitchen.yml file to set the driver to 'vro' and supply your login credentials:

er:
me: vro
o_username: user@domain.com
o_password: MyS33kretPassword
o_base_url: https://vra.corp.local:8281

Additionally, the following parameters are required, either globally or per-platform:

There are a number of optional parameters you can configure as well:

An example .kitchen.yml that uses a combination of global and per-platform settings might look like this:

er:
me: vro
o_username: user@domain.com
o_password: MyS33kretPassword
o_base_url: https://vra.corp.local:8281
eate_workflow_name: Create TK Server
stroy_workflow_name: Destroy TK Server

forms:
name: centos
driver:
  create_workflow_parameters:
    os_name: centos
    os_version: 6.7
name: windows
driver:
  create_workflow_parameters:
    os_name: windows
    os_version: server2012
    cpus: 4
    memory: 4096
Workflow Design

There are no limits as to what you can do with your vRO workflows! However, they must meet the following requirements.

Create Workflow
Destroy Workflow
License and Authors

Author:: Chef Partner Engineering (partnereng@chef.io)

Copyright:: Copyright (c) 2015 Chef Software, Inc.

License:: Apache License, Version 2.0

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Contributing

We'd love to hear from you if this doesn't perform in the manner you expect. Please log a GitHub issue, or even better, submit a Pull Request with a fix!

  1. Fork it ( https://github.com/chef-partners/kitchen-vro/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.