1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
Commit graph

130 commits

Author SHA1 Message Date
Chirag Jog
bb36721cd9 Remove unecessary print 2013-03-13 10:11:18 +05:30
dJason
9f6f970308 [Vcloud] Server reset instance vars after save
New networking support needs to reset the stored update value after a save is completed
2013-03-12 09:34:01 -06:00
Wesley Beary
1e6da326a3 Merge pull request from chirag-jog/vcloud_enhancements_001
Further fixes and enhancements to vCloud
2013-03-08 13:17:29 -08:00
Chirag Jog
269e4e7eba Check if a template requires a password or not 2013-03-08 21:31:31 +05:30
Chirag Jog
8c56814d50 Minor fix: Ensure to send a valid Content-Type 2013-03-08 21:28:08 +05:30
dJason
c151e9a5da Typo in instantiate_vapp_template.rb
Remove typo in instantiate_vapp_template()
2013-03-04 14:20:27 -07:00
Chirag Jog
9e8bb10684 Delete \r also 2013-03-01 13:17:39 +05:30
Chirag Jog
5a33322361 Fix the base encoding issue with Ruby 1.8.7 Compliance 2013-02-28 21:40:33 +05:30
Chirag Jog
de29bfcee8 revert typo 2013-02-28 18:07:02 +05:30
Chirag Jog
c8796146b3 Merge branch 'master' of git://github.com/fog/fog into vcloud_base_encoder64_fix 2013-02-28 17:48:03 +05:30
Chirag Jog
15eb069195 Use strict base encoding otherwise breaks for very large org names. 2013-02-28 17:46:54 +05:30
Chirag Jog
a0a2ca31eb Merge branch 'vcloud_enhancements' of http://github.com/chirag-jog/fog into vcloud_enhancements
Conflicts:
	lib/fog/vcloud/requests/compute/instantiate_vapp_template.rb
2013-02-08 12:11:37 +05:30
Chirag Jog
bd1d1474b1 Remove extraneous print 2013-02-08 12:10:13 +05:30
Chirag Jog
7267a739f8 Ability to track vApp level status of readiness 2013-02-08 11:57:24 +05:30
Chirag Jog
6b7ae788cd Support to Configure the VM network 2013-02-08 11:57:24 +05:30
Chirag Jog
e27b2eec64 Fix Params related to network configuration 2013-02-08 11:57:24 +05:30
Chirag Jog
490714dbf0 Ability to track vApp level status of readiness 2013-02-02 12:10:10 +05:30
Chirag Jog
a4508c27de Support to Configure the VM network 2013-02-02 12:09:43 +05:30
Chirag Jog
e8bcf413e1 Fix Params related to network configuration 2013-02-02 12:08:33 +05:30
Paul Thornthwaite
e959078e89 [vcloud|compute] Updates reference to service 2013-01-07 21:01:23 +00:00
Paul Thornthwaite
b0698648dc [vcloud] Replaces #new_record? with #persisted? 2012-12-19 15:00:26 +00:00
Chirag Jog
abd3b0b0b1 1.Fix Catalog Listing for vCD 1.5
2.Construct Valid XML to memory configuration
3.Fix Undeploy vCD 1.5
2012-08-05 21:00:45 +05:30
Chirag Jog
15592c06de Add ability to configure a vApp with an Org-wide network and associated
firewall, NAT rules(limited support).
2012-08-05 21:00:31 +05:30
Chirag Jog
8554a08ea4 1.Ability to fetch/list Orgs, Vdcs, Vapps, Servers.
2.Support to customize CPUs and Password
2012-08-05 21:00:11 +05:30
James Herdman
97b16d08d2 Remove absolute path when requiring 2012-05-26 11:27:28 -04:00
James Herdman
4919347a90 Remove unused variable 2012-05-26 11:27:23 -04:00
Lincoln Stoll
a816990270 [vcloud] Remove some un-needed debug information
closes 
2012-04-25 16:59:04 -07:00
Edward Muller
3469dbaf3f Use #has_key? instead of #keys.include? 2012-02-06 17:53:11 -08:00
Peter Meier
30e28d704f [vcloud|compute] add API version 1.5 compability
vCloud version API 1.5 requires us to adapt certain calls. This
patch does all the necessary things to scan a vCloud 1.5 completely
and read all the necessary attributes, as we could already before.
Furthermore, it add tests for the version 1.5 calls.

The API version can now be set as a version param to the vcloud
compute resource. By default it chooses version 1.5.

This has been tested against a vCloud 1.5 and 1.0.
2012-01-30 19:04:19 +01:00
Peter Meier
3e240474ac [vcloud|compute] improve models + additional tests
vCloud has also the concept of links in the responses. So we should
make use of them to navigate through the tree of resources in the
vCloud.
Furthermore, we can make various calls a bit easier by directly
returning the specific resource object than the plain xml response.

Adjust tests to work with the new changes, and also test the added
parts.
2012-01-30 18:57:13 +01:00
Peter Meier
6a627c3532 [vcloud|compute] fix an issue if this is not parsed as an array 2011-11-29 11:37:18 +01:00
Peter Meier
d4a1fa3a1e [vcloud|compute] introduce link on a network to parent network
Get the parent network object or nil if no parent network is defined.
2011-11-29 11:37:18 +01:00
Peter Meier
734c94f9f9 [vcloud|compute] improve network
* Add tests for multiple networks
* Add ProviderInfo field
* Add tests for configuration details
2011-11-29 11:37:18 +01:00
Peter Meier
9b7339156b [vcloud|compute] improve disk info access
Some infos were missing and other couldn't be looked up that way.
2011-11-29 11:37:18 +01:00
Peter Meier
750fb59f25 [vcloud|compute] improve models add tests
Improve the models to work with the current api version. add tests
that use fake-data, that was captured from a real vCloud.

Also removed a couple of dead code. Tests have been added for
everything that changed or have been added. All the existing but
untouched parts have not been tested.
2011-11-29 11:37:18 +01:00
Peter Meier
3499179991 [vcloud|compute] a vapp might not have any childrens attached 2011-11-29 11:37:18 +01:00
Peter Meier
9f8c804d20 [vcloud|compute] fix network to the minimum
After reading the API doc, in my opinion networks work different than
currently implemented here. To get the basic stuff working, we remove
all the code with unkwown implementation.
2011-11-29 11:37:18 +01:00
Peter Meier
4bb95335cf [vcloud|compute] More work on getting server in a useable shape.
Changing a few bits and bytes here and there. This breaks some apis,
but allows us to get more information about the VM and addresses
also the various parts that didn't work so far.
2011-11-29 11:37:18 +01:00
Peter Meier
f2c90dcc7f [vcloud|compute] introduce vapps 2011-11-29 11:37:17 +01:00
Peter Meier
3024678e2a [vcloud|compute] a vdc does not have a tasklist 2011-11-29 11:37:17 +01:00
Peter Meier
f87750634c [vcloud|compute] add catalogs to an organization 2011-11-29 11:37:17 +01:00
Peter Meier
5d3699569c [vcloud|compute] remove server from organizations as they are within vApps of vDC 2011-11-29 11:37:17 +01:00
Peter Meier
1c727dd689 [vcloud|compute] make networks working also in organizations 2011-11-29 11:37:17 +01:00
Peter Meier
8743df0bd4 [vcloud|compute] introduce organizations
A vcloud usually contains more than one organization which then
contains all the other computing parts (such as vdcs etc.). So far
we keep the old way, to query the first organization by default, but
also allow it to be set.
2011-11-29 11:37:17 +01:00
geemus
ffd01e51dd [core] pass connection_options through service init
closes 
2011-09-12 10:01:56 -05:00
geemus
b2c8ff0388 [core] work toward separate requires
Should facilitate the following:

    require 'fog/aws'
    require 'fog/compute'
    require 'fog/aws/compute'

I think once you `require 'rubygems'` those should work.

further cleanup should reduce common requires (ie nokogiri)
2011-08-31 15:52:53 -05:00
geemus
d6f9fb4c35 [compute|vcloud] move vcloud compute to its own shared area (namespacing should probably be corrected) 2011-08-24 20:12:00 -05:00
geemus
0e5fe57e3d [core] move providers to lib/fog/. 2011-08-24 14:17:46 -05:00
geemus
65c1bfffe2 [core] first steps toward seperately requirable bits 2011-08-24 13:35:08 -05:00
geemus
e72831d99b [ecloud|compute] re-namespace terremark ecloud 2011-02-17 10:44:46 -08:00