extracted Registry from awsInfrastructure

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>
extracted MetadataService from aws infrastructure

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>
added instance id and registry endpoint fetching to MetadataService

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>
use metadataService to find registry settings url

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>
moved FakeDNSResolved into its own file

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>
return error if 0 dns servers were provided to resolve a host

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>
added tests for concreteMetadataService

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>
use fakeMetadataService in aws infrastructure SetupSsh test

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>
fix SetupNetworking on inf tests

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>
use exit code return value instead of $?

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>
added tests for registry

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>
Fix missing durations in micro deployments.

[#70031890]

Signed-off-by: Phan Le <ple@pivotallabs.com>
Do not use exec for go agent unit tests

Because this task is part of other tasks

Signed-off-by: Phan Le <ple@pivotallabs.com>
add aws dyanmic network subnet with specs
updated specs with bosh conventions
added openstack inf to go agent

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>
allow openstack to use root partition for ephemeral storage

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

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>
avoid sending alerts with severity=ignored

Signed-off-by: John Foley <jfoley@pivotallabs.com>
simplify dummyDevicePathResolver

Signed-off-by: John Foley <jfoley@pivotallabs.com>