This will automatically create a new vCloud organisation + VDC, VShield Edge and VCD Network It will also create the default SNAT rule and Allow all outbound Firewall rule.
- Head to http://rubyinstaller.org/downloads/ and download the 32bit ruby 1.9.3 installer for windows
- Install it, when you get to the screen asking for a destination install folder, tick the "add ruby to path" and "associate rb files" tickboxes
Now open a fresh command prompt to get the new environment variables
- run -> gem install rest-client
- run -> gem install nokogiri
That will get you the two required Gems that these scripts lean on
- run the scripts as per the section at the bottom of this file
Plenty of ways to tackle this, i went with:
-
Install Xcode command line tools, open a terminal on your mac, then type "git" or "gcc" it will propmt you to download and install the tool-chain
-
Head over to homebrew and install that (http://brew.sh)
-
Head over to RVM (ruby version manager) and grba that (http://rvm.io)
-
Pull down a later version of ruby and create a new gemset with RVM if you want, but not strictly needed
-
Open a new terminal and run -> gem install rest-client
-
Also run -> gem install nokogiri
Ok that is pretty much it, clone this repo, change director into it and run the scripts below
- Edit the config file (_config.yml) enter your username and password and desired organization name
- Run ruby .\1NewOrg.rb
- Run ruby .\2NewOrgVDC.rb
- Run ruby .\3NewOrgVDCNetwork.rb