Skip to content

Instantly share code, notes, and snippets.

View snehaso's full-sized avatar

Sneha Somwanshi snehaso

  • Thoughtworks
  • London, UK
View GitHub Profile
require 'spec_helper'
module Vcloud
module EdgeGateway
module ConfigurationGenerator
describe LoadBalancerService do
test_cases = [
{
title: '',
@snehaso
snehaso / launcher_config.yaml
Created December 10, 2013 12:48
launcher_config.yaml
---
vapps:
- name: vapp-vcloud-tools-tests-1386679438
vdc_name: vCloud CI (IL2-DEVTEST-BASIC)
catalog: walker-ci
catalog_item: nick-method-precise64
vm:
hardware_config:
memory: 4096
cpu: 2
@snehaso
snehaso / describe_vcloud.rb
Created September 11, 2013 10:57
This ruby script tries to describe the all organisations within the current session
#! /usr/bin/ruby
require 'rubygems'
require 'vcloud'
def print_networks vdc
vdc.get_network_references_by_name
end
# create session and authenticate
@session = VCloud::Client.new( 'https://api.vcd.portal.skyscapecloud.com/api/', '1.5', :verify_ssl => false)
@snehaso
snehaso / node.json
Created November 7, 2012 09:42
node attributes
{
"java":{
"install_flavor":"oracle",
"oracle":{
"accept_oracle_download_terms":true
}
}, "languages":{
"ruby":{
"default_version":"1.9.1"
}
@snehaso
snehaso / node.json
Created November 7, 2012 09:41
common node atttributes for bird vision nodes
{
"java":{
"install_flavor":"oracle",
"oracle":{
"accept_oracle_download_terms":true
}
},
"languages":{
"ruby":{
"default_version":"1.9.1"