Add openstack CPI multiple manual networks support for ubuntu 14.04 using go BOSH agent.
Detect changes to multiple manual networks

Signed-off-by: Maria Shaldibina <mariash@pivotallabs.com>
Verify that the net type for bats is valid

Signed-off-by: Adam Stegman <astegman@pivotal.io>
Only run tests that require manual networking with manual networking

Signed-off-by: Adam Stegman <astegman@pivotal.io>
Add acceptance test for multiple manual networks

- Use new env vars for two [0,1] networks
- Change BOSH_OPENSTACK_NET_ID to BOSH_OPENSTACK_MICRO_NET_ID
- Add BAT_NETWORKING to specify manual/dynamic

[#74744712]

Signed-off-by: Adam Stegman <astegman@pivotal.io>
Signed-off-by: Andrei Dinin <adinin@pivotal.io>
Switch bats to use rspec 3 syntax

Signed-off-by: Andrei Dinin <adinin@pivotal.io>
Refactored BAT_VCAP_PRIVATE_KEY usage

- Optional field, listed with the other environment variables
Fixed aws plugin aws manifest test
Refactored BAT deployment manifest generation

- rake spec:system:micro now takes a path to a yaml file with inputs to the
	bats deployment manifests
- these inputs are now validated with membrane
- openstack requires BOSH_OPENSTACK_BAT_DEPLOYMENT_CONFIG_PATH
- vsphere requires BOSH_VSPHERE_BAT_DEPLOYMENT_CONFIG_PATH
- specified net_type must match the input yaml

[#74744712]
Removed unused mbus config from BAT_DEPLOYMENT_SPEC

Signed-off-by: Adam Stegman <astegman@pivotal.io>
Ruby subclasses inherit class methods

Signed-off-by: Adam Stegman <astegman@pivotal.io>
second_static_ip is only used for testing manual network reconfiguration

Signed-off-by: Adam Stegman <astegman@pivotal.io>
pool_size and instances default to 1 (openstack & vsphere bats)
Updating BAT_DEPLOYMENT_SPEC examples

- more comments
- mbus removed
- pool_size & instances defaulted
- multiple manual networks
- virtual IP
- network type
static_ip is only required for manual networking (openstack & vsphere BATS)
Renamed spec:system:micro inputs for consistency

- BOSH_OPENSTACK_BAT_DEPLOYMENT_CONFIG_PATH =>
	BOSH_OPENSTACK_BAT_DEPLOYMENT_SPEC
- BOSH_VSPHERE_BAT_DEPLOYMENT_CONFIG_PATH =>
	BOSH_VSPHERE_BAT_DEPLOYMENT_SPEC
net_id only required for manual networking on openstack

Signed-off-by: Karl Isenberg <kisenberg@pivotal.io>
Added BOSH_OPENSTACK_DEFAULT_SECURITY_GROUP

- for specifying security group used by microbosh during spec:system:micro

Signed-off-by: Karl Isenberg <kisenberg@pivotal.io>
Use templates key in BAT manifests

template key is deprecated

Signed-off-by: Karl Isenberg <kisenberg@pivotal.io>
OpenStack dynamic networking BATs requires a net_id when there are multiple networks

Signed-off-by: Karl Isenberg <kisenberg@pivotal.io>