Revert "add diego subnets for all three AZs"

This reverts commit 5cf90a842adc8a005082278356ed44fe726bb660.
Reverted until the documentation can be updated to deploy BOSH to
AWS without using `bosh aws create` and a migration strategy has
been created for migrating existing `bosh_environment` files.
renamed IsDevicePathMounted to IsPersistentDiskMounted

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>
removed unncessary args to FakeDevicePathResolver

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>
added MountPersistentDisk method to platform

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>
moved MountPersistentDisk from infrastructure to platform

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>
allow mounting persistent disk in bind mount mode

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>
allow unmounting and checking for persistent disk mouted as a bind mount

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>
introduce linuxBindMounter that can be used instead of regular linux disk mounter

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>
extracted mount searcher so that mounter can be configured to use mount cmd for warden

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>
use an array of mounts instead of using a callback

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>
added fake mount seacher

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>
make sure to return an error if searching for mounts fails

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>
added test for linux disk manager

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>
Init commit for warden CPI

Change-Id: I866a8a5362616ab25322a7e3ebb0685bd9928638
Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>
Use configured datacenter name

To allow datacenters to be in folders

Signed-off-by: Adam Stegman <astegman@pivotallabs.com>
Initial test for vsphere cpi attach disk

Signed-off-by: Adam Stegman <astegman@pivotallabs.com>
Add tests for vsphere datacenter folders

Signed-off-by: Adam Stegman <astegman@pivotallabs.com>
Do not check the disk path after it was checked

Signed-off-by: Adam Stegman <astegman@pivotallabs.com>
Refactor vsphere cpi

Split out upload file and fetch file to FileProvider.
Aplit out agent environment reader setter to AgentEnv.
Add tests.

Signed-off-by: Adam Stegman <astegman@pivotallabs.com>
do not use Kill() to check if process is gone because new process might have received same pid

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>