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

8 commits

Author SHA1 Message Date
Mike Pountney
65a10cae67 Solid query API mixin, with tests
Preloads :id, and :name if available. Leaves everything else up to lazy-loading, though optionally can call a per-collection function to add more values if available
2014-09-23 19:31:00 +01:00
Paul Thornthwaite
2e0b7e545a Standardise empty lines throughout codebase
Done with `rubocop --auto-correct --only EmptyLineBetweenDefs,EmptyLines,EmptyLinesAroundBody`
2014-05-26 14:20:02 +01:00
Mike Pountney
6bedc5f3b4 Add is_shared attribute to network Model
is_shared reports whether a network is shared across all
vDCs within an organization, or just within the vDC it is defined in.
2014-02-26 10:34:42 +00:00
Mike Pountney
cb9802b239 Add fence_mode to network model
fence_mode can be 'isolated' (disconnected from EdgeGateway) or
'natRouted' (connected to NatService on EdgeGateway).

The network types differ significantly enough to have a separate
set of tests, to be expanded later.
2014-02-26 10:32:44 +00:00
Mike Pountney
09dcc23f46 Fix Ruby 1.8.7 hash key issue 2014-02-25 10:08:49 +00:00
Mike Pountney
4c46c1de10 Switch network model over to get_network_complete
This has also fixed an issue where undefined attributes in the
request output were not being unmarked as NonLoaded. Test adjusted
accordingly.

In addition, highlighted that we need the ensure_list! hack on
IpRanges->IpRange.
2014-02-25 08:56:51 +00:00
Nick Osborn
bf38e751ac [vcloud_director] whitespace cleanup 2013-09-16 18:13:09 +01:00
Rodrigo Estebanez
063678f840 Rename Vcloudng to VcloudDirector 2013-08-27 11:19:54 +02:00
Renamed from lib/fog/vcloudng/models/compute/networks.rb (Browse further)