bosh_aws_cpi 1.3016.0 → 1.3022.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5a38f1e857045d033d964c9cfb7e7f5cbf03ad0b
4
- data.tar.gz: f96f50d05e6ac8b8b50a64cf7407f1ccefab0b73
3
+ metadata.gz: a6bb3f3a1f84673d07f99e917227337f90126664
4
+ data.tar.gz: e23c3139090da6062a255e9952ee42b6dff6afad
5
5
  SHA512:
6
- metadata.gz: fb77864b1a3e12cd115f154d81cd9f92b1603ab39b232a393624c23587df1e78346d9aba5bfc5d185644fc304eb8e2cbdb75c4dc7b0809bcc7a21955bdbb979b
7
- data.tar.gz: ce411515e3339e6ce7f4e8c5d3c0e6085ec7652b6eee6d37151b5f758afdc9733f217b88c0e86a930a830099033993912e8c23a73707709d0ac85878d788b176
6
+ metadata.gz: 893edd634ac440fa00390244d27c840c19b4f3676e8c6ac6aeb5199498cb330a82f2cbe1168c7aa274798ffdbfb7ea5256f587f43de28a0cc607905b26e12b83
7
+ data.tar.gz: 4a82c8d552d2e91c6d30de8bcf3a0903cd7058a35bd7144c70b5a5b158db9df016eae6d8f37e6b6521971fd4c6a97c515bd175fc5d16670ca3b98678097c61fc
@@ -388,7 +388,7 @@ module Bosh::AwsCloud
388
388
  network_configurator.configure(@ec2, instance)
389
389
 
390
390
  update_agent_settings(instance) do |settings|
391
- settings["networks"] = network_spec
391
+ settings["networks"] = agent_network_spec(network_spec)
392
392
  end
393
393
  end
394
394
  end
@@ -707,7 +707,7 @@ module Bosh::AwsCloud
707
707
  "name" => "vm-#{SecureRandom.uuid}"
708
708
  },
709
709
  "agent_id" => agent_id,
710
- "networks" => network_spec,
710
+ "networks" => agent_network_spec(network_spec),
711
711
  "disks" => {
712
712
  "system" => root_device_name,
713
713
  "ephemeral" => "/dev/sdb",
@@ -718,5 +718,12 @@ module Bosh::AwsCloud
718
718
  settings["env"] = environment if environment
719
719
  settings.merge(agent_properties)
720
720
  end
721
+
722
+ def agent_network_spec(network_spec)
723
+ Hash[*network_spec.map do |name, settings|
724
+ settings["use_dhcp"] = true
725
+ [name, settings]
726
+ end.flatten]
727
+ end
721
728
  end
722
729
  end
@@ -89,6 +89,7 @@ module Bosh::AwsCloud
89
89
  {
90
90
  :virtualization_type => virtualization_type,
91
91
  :root_device_name => "/dev/xvda",
92
+ :sriov_net_support => "simple",
92
93
  :block_device_mappings => {
93
94
  "/dev/xvda" => {
94
95
  :snapshot_id => snapshot_id
@@ -1,5 +1,5 @@
1
1
  module Bosh
2
2
  module AwsCloud
3
- VERSION = '1.3016.0'
3
+ VERSION = '1.3022.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bosh_aws_cpi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3016.0
4
+ version: 1.3022.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - VMware
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-14 00:00:00.000000000 Z
11
+ date: 2015-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk
@@ -30,42 +30,42 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 1.3016.0
33
+ version: 1.3022.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 1.3016.0
40
+ version: 1.3022.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bosh_cpi
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 1.3016.0
47
+ version: 1.3022.0
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 1.3016.0
54
+ version: 1.3022.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: bosh-registry
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 1.3016.0
61
+ version: 1.3022.0
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 1.3016.0
68
+ version: 1.3022.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: httpclient
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -138,7 +138,7 @@ dependencies:
138
138
  version: '0'
139
139
  description: |-
140
140
  BOSH AWS CPI
141
- 10557b
141
+ 6073a7
142
142
  email: support@cloudfoundry.com
143
143
  executables:
144
144
  - aws_cpi