vagrant-openstack-plugin 0.11.0 → 0.11.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/README.md +25 -5
- data/lib/vagrant-openstack-plugin/action/delete_server.rb +1 -1
- data/lib/vagrant-openstack-plugin/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c685d66661ea243dc4d8c73b8f4c817c5d8c1661
|
4
|
+
data.tar.gz: 2202e0c0a24bf6527c7cc5011aea420db83732c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
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"])
|
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.
|
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-
|
11
|
+
date: 2014-12-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fog
|