vagrant-openstack-plugin 0.11.0 → 0.11.1

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,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6715c22f8c8ed79285aac9b2c9b0ea4183518686
4
- data.tar.gz: 438166569c8bd01f0bacb6f461615982589f8dd7
3
+ metadata.gz: c685d66661ea243dc4d8c73b8f4c817c5d8c1661
4
+ data.tar.gz: 2202e0c0a24bf6527c7cc5011aea420db83732c3
5
5
  SHA512:
6
- metadata.gz: d53204d935f19cd2235f8e9685b91bcba58913f525a1aac21192fd3de1e124ee03dfe99d38124957ba3aeceb1fe4e02ca6a31962944d29b57a445e4ab68371d3
7
- data.tar.gz: 5a64045bcdc12873cc02abcbd23e5016b105466f6609d5a16f67cfc0b579166458b12f89a0aacb7e214d931718da66ca0beded54cb338c119ab41f9008fedbcc
6
+ metadata.gz: f637c987968a37910aafd222c466037f0eccbce39774693b95d8dc5fee3c47764f6caad178a5ba1ae4bfe68460d011e4a7357329889b9d1a840cbae5bba811b7
7
+ data.tar.gz: cc0a8cfac02294cbb496844568b56b636013bf3c50517d00a18b8872251ff98177c23fb5b713809e55fabcffc906c13ea90472eb5672f5e22f035f1c1ac63803
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog for vagrant-openstack-plugin
2
2
 
3
+ ## 0.11.1
4
+
5
+ - Merge pull request #99 from jtopjian/master [view commit](http://github.com///commit/1c2667532e408f239761882a367c11d948610f37)
6
+ - Update README.md to add Static IP instructions [view commit](http://github.com///commit/9246d8b9389dd4e1108e0f3ab7c2652459d6d192)
7
+ - Merge pull request #98 from Chealion/fixFloatingIP [view commit](http://github.com///commit/1d6635791286bf396ec1a852730116ec1c0bbba0)
8
+ - Don't release a floating IP unless it was automatically assigned. [view commit](http://github.com///commit/c5f51082323b9defa5d101b0f5decbe68e15cfa3)
9
+
3
10
  ## 0.11.0
4
11
 
5
12
  - Merge pull request #97 from cbaenziger/issue_96_fix [view commit](http://github.com///commit/36295904ffb65d7461870a97e561c470fdedbbe5)
data/README.md CHANGED
@@ -77,7 +77,7 @@ Vagrant.configure("2") do |config|
77
77
  os.availability_zone = "az0001" # optional
78
78
  os.security_groups = ['ssh', 'http'] # optional
79
79
  os.tenant = "YOUR TENANT_NAME" # optional
80
- os.floating_ip = "33.33.33.33" # optional (The floating IP to assign for this instance)
80
+ os.floating_ip = "33.33.33.33" # optional (The floating IP to assign for this instance, or set to :auto)
81
81
  os.floating_ip_pool = "public" # optional (The floating IP pool to allocate addresses from, if floating_ip = :auto)
82
82
 
83
83
  os.disks = [ # optional
@@ -185,10 +185,29 @@ end
185
185
 
186
186
  ## Networks
187
187
 
188
- Networking features in the form of `config.vm.network` are not
189
- supported with `vagrant-openstack-plugin`, currently. If any of these are
190
- specified, Vagrant will emit a warning, but will otherwise boot
191
- the OpenStack server.
188
+ Static IP assignment is supported by doing the following:
189
+
190
+ First, define one or more networks with `os.networks`:
191
+
192
+ ```ruby
193
+ os.networks = ['network1', 'network2']
194
+ ```
195
+
196
+ Next, configure those networks using `config.vm.network`:
197
+
198
+ ```ruby
199
+ config.vm.network 'private_network', ip: '192.168.1.100'
200
+ config.vm.network 'private_network', ip: '192.168.2.100'
201
+ ```
202
+
203
+ Note that the order must be the same as the order in `os.networks`.
204
+ If you only want to configure the second NIC with a static IP, do
205
+ the following:
206
+
207
+ ```ruby
208
+ config.vm.network 'private_network', type: 'dhcp'
209
+ config.vm.network 'private_network', ip: '192.168.2.100'
210
+ ```
192
211
 
193
212
  ## Synced Folders
194
213
 
@@ -228,6 +247,7 @@ Take snapshot of ***vmname*** with name ***snapshotname***
228
247
  - [nicobrevin](https://github.com/nicobrevin)
229
248
  - [ohnoimdead](https://github.com/ohnoimdead)
230
249
  - [cbaenziger](https://github.com/cbaenziger)
250
+ - [chealion](https://github.com/chealion)
231
251
 
232
252
  ## Development
233
253
 
@@ -52,7 +52,7 @@ module VagrantPlugins
52
52
  end
53
53
  end
54
54
 
55
- if machine.provider_config.floating_ip_pool
55
+ if machine.provider_config.floating_ip_pool && machine.provider_config.floating_ip == ":auto"
56
56
  address = env[:openstack_compute].list_all_addresses.body["floating_ips"].find{|i| i["ip"] == ip}
57
57
  if address
58
58
  env[:openstack_compute].release_address(address["id"])
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module OpenStack
3
- VERSION = '0.11.0'
3
+ VERSION = '0.11.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-openstack-plugin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Edmund Haselwanter
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-02 00:00:00.000000000 Z
11
+ date: 2014-12-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fog