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.
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.
Largely based on the vapp tests, except for explicitly
trying to find a suitable network to test against rather than
just blindly picking the first.
Test lazy loading is working, and that values loaded match
our data from the raw service request.
Lazy loading unfortunately complicates testing as per the
current implementation - determining that the loading has
happened is on a field-by-field basis, which leaves fields
that are undefined in vCloud in a 'NonLoaded' state. Possibly worth
revisiting this logic in a separate commit.
- add tags for `rake test`
- use `tests/.fog` not bespoke environment variables
- vapp_life_cycle_tests made pending; extra requests arise after
71a303415b