staypuft 0.5.9 → 0.5.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: a166ecbcf260428b5052e08dca812bb69f9c0947
4
- data.tar.gz: 69ba898b358d057ca41457132284c722cf1cfb90
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ YWQwYjM1OTA2ZjEzMjM2MjZkMTExZjU5MTUxYzE2YWU3MjBmMTllYw==
5
+ data.tar.gz: !binary |-
6
+ ODQ2ODI4MzZmNDc5ZGUwOTk2NTJiN2FkNjc5NmIzYjhhMDVkZDE3MQ==
5
7
  SHA512:
6
- metadata.gz: 09c8ab9eef11da64ad40897e369d42eac9554d44f177c1a5bcbbfeb7f8a846804e0ed570656f3ff02ab8980b049a00e2c720c22661b5e3df1d90ea7a39c732d0
7
- data.tar.gz: 1710dcc176ec1cdf96b8fdb3c831e3fa51d66e860a42f392fe72091887c57686d14c80ab998fbaf6a554962d3998e02a7ee6dafdd6165596eb03f8a99b64ed8a
8
+ metadata.gz: !binary |-
9
+ NWUyNWUyZDllODllZjhiZTZiZjU5ODA2YzVkZDIzMzk5MDQxYjQ4YTIxZTg2
10
+ OWRhNDYzMDEwYmFjZTA1NjA1MmY4YWFmYjZmZDJjMzgyZmIxNzQyMTJiOTM5
11
+ ZTM1MmJkZGM4MjcwODg2ZGJlZDUzMjc2ZTIxNGU0YTg0Y2EzOTk=
12
+ data.tar.gz: !binary |-
13
+ MzZjYmRhOGQxNzI3OWIzYmZlNTQyYzc5ODMwMWUwMGNjZmNmOWYxY2ViYjlm
14
+ YTAyYjgxNmVhOWQwMmY2YzM5MzhlMWE0YTI2MWM4YWMwNmQwMzJkYTE5M2Rj
15
+ NjYyNzA3NmRkYTg2OTkxMWEzZWQzYjk0Nzc0YTVlMGZkYmZmNTE=
@@ -18,7 +18,7 @@ module Staypuft
18
18
  params[:interfaces].each do |interface|
19
19
  bond.add_slave(interface)
20
20
  end
21
- bond.mode = 'balance-tlb'
21
+ bond.mode = 'active-backup'
22
22
  bond.bond_options = 'miimon=100'
23
23
  bond.host = host
24
24
  @bonds.push bond
@@ -92,7 +92,7 @@ module Staypuft
92
92
  end
93
93
 
94
94
  def find_hosts
95
- @hosts = Host::Managed.where(:id => params[:host_ids]).includes(:interfaces)
95
+ @hosts = Host::Managed.where(:id => params[:host_ids].split(",").map(&:to_i)).includes(:interfaces)
96
96
  @host = @hosts.first
97
97
  @interfaces = @host.interfaces.where("type <> 'Nic::BMC'").order(:identifier).where(['(virtual = ? OR type = ?)', false, 'Nic::Bond'])
98
98
  @deployment = Deployment.find(params[:deployment_id])
@@ -4,7 +4,7 @@ module Staypuft
4
4
  'neutron'
5
5
  end
6
6
 
7
- SEGMENTATION_LIST = ['vxlan', 'vlan', 'gre', 'flat']
7
+ SEGMENTATION_LIST = ['vxlan', 'vlan', 'gre']
8
8
  VLAN_HELP = N_('[1-4094] (e.g. 10:15)')
9
9
  ML2MECHANISM_TYPES = :ml2_openvswitch, :ml2_l2population, :ml2_cisco_nexus
10
10
  N1KV_PARAMS = :n1kv_vsm_ip, :n1kv_vsm_password
@@ -17,11 +17,9 @@ module Staypuft
17
17
  VXLAN = 'vxlan'
18
18
  GRE = 'gre'
19
19
  VLAN = 'vlan'
20
- FLAT = 'flat'
21
20
  LABELS = { VXLAN => N_('VXLAN Segmentation'),
22
21
  GRE => N_('GRE Segmentation'),
23
- VLAN => N_('VLAN Segmentation'),
24
- FLAT => N_('Flat') }
22
+ VLAN => N_('VLAN Segmentation')}
25
23
  TYPES = LABELS.keys
26
24
  HUMAN = N_('Tenant Network Type')
27
25
  end
@@ -1,3 +1,3 @@
1
1
  module Staypuft
2
- VERSION = '0.5.9'
2
+ VERSION = '0.5.10'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: staypuft
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.9
4
+ version: 0.5.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Staypuft team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-18 00:00:00.000000000 Z
11
+ date: 2015-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: foreman-tasks
@@ -42,28 +42,28 @@ dependencies:
42
42
  name: wicked
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ! '>='
46
46
  - !ruby/object:Gem::Version
47
47
  version: '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
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: deface
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '>='
59
+ - - ! '>='
60
60
  - !ruby/object:Gem::Version
61
61
  version: '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
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
@@ -84,14 +84,14 @@ dependencies:
84
84
  name: ipaddress
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - '>='
87
+ - - ! '>='
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - '>='
94
+ - - ! '>='
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  description: OpenStack Foreman Installer Plugin
@@ -303,12 +303,12 @@ require_paths:
303
303
  - lib
304
304
  required_ruby_version: !ruby/object:Gem::Requirement
305
305
  requirements:
306
- - - '>='
306
+ - - ! '>='
307
307
  - !ruby/object:Gem::Version
308
308
  version: '0'
309
309
  required_rubygems_version: !ruby/object:Gem::Requirement
310
310
  requirements:
311
- - - '>='
311
+ - - ! '>='
312
312
  - !ruby/object:Gem::Version
313
313
  version: '0'
314
314
  requirements: []
@@ -319,8 +319,8 @@ specification_version: 4
319
319
  summary: OpenStack Foreman Installer
320
320
  test_files:
321
321
  - test/unit/staypuft_test.rb
322
- - test/integration/navigation_test.rb
322
+ - test/test_helper.rb
323
323
  - test/staypuft_test.rb
324
- - test/factories/staypuft_factories.rb
324
+ - test/integration/navigation_test.rb
325
325
  - test/test_plugin_helper.rb
326
- - test/test_helper.rb
326
+ - test/factories/staypuft_factories.rb