Chris Roberts
0575fdfd69
Do not rely on IPAddr#prefix as it's not available on older rubies
2019-03-22 16:42:30 -07:00
Brian Cain
d9f3f88ff0
Update CHANGELOG
2019-03-22 16:31:20 -07:00
Brian Cain
53c11d9b55
Merge pull request #10748 from briancain/fix-ui-prefix-typo
...
Fix typo in UI Prefix for trigger UI
2019-03-22 16:30:38 -07:00
Chris Roberts
8ba69e587c
Update guest capabilities for coreos
2019-03-22 15:20:37 -07:00
Brian Cain
9d200bdb72
Add note about specific create and connect flag options for Vagrant
2019-03-22 13:50:13 -07:00
Brian Cain
979dd37e46
Remove comment about private networks only working with docker provider
2019-03-22 10:10:44 -07:00
Brian Cain
f8744b66f0
Add connect cli argument tests
2019-03-22 09:24:26 -07:00
Brian Cain
4f80a9e6d5
Add test for requesting public ip range for docker network provider
2019-03-22 09:02:40 -07:00
Brian Cain
36f2aaf55e
Add test for public network gateway request
2019-03-22 08:45:14 -07:00
Brian Cain
b56f89775d
Add more mocks for public network
...
Ensure test values are used rather than real values from machine
2019-03-22 08:24:22 -07:00
Brian Cain
6bffdca972
Add beginning of connect network tests for docker provider
2019-03-21 16:06:24 -07:00
Brian Cain
88a18fe2c5
Add public network tests for docker provider
2019-03-21 16:06:11 -07:00
Brian Cain
82700d95b3
Ensure subnet is used if specified from user config options
2019-03-21 15:29:04 -07:00
Brian Cain
2bc6fa854a
Add tests for validating network configurations
2019-03-21 13:51:24 -07:00
Brian Cain
36a41957c9
Fix travis ci tests for public gateway and ip range issues
2019-03-21 13:51:07 -07:00
Brian Cain
98e41eb936
Mock out public/private network calls for existing subnet tests
2019-03-21 13:26:37 -07:00
Brian Cain
32807d70c7
Mock up public/private network calls for #call test
2019-03-21 13:03:39 -07:00
Brian Cain
8c169714c5
Ensure variable names exist in method
2019-03-21 11:39:16 -07:00
Brian Cain
6ce453ab70
Delete old file and add blank describe blocks for remaining tests
2019-03-21 11:16:26 -07:00
Brian Cain
96a19aa00c
Fix how options to cli args are handled
...
Since options could also be defined as strings, convert it all to string
and compare those instead
2019-03-21 11:15:41 -07:00
Brian Cain
5215354d16
Fix missing docker error classes, and finish out initial #call tests
2019-03-21 10:50:45 -07:00
Brian Cain
ee985f9f7f
Fix typo in UI Prefix for trigger UI
2019-03-21 10:11:38 -07:00
Robert Conde
b43f5db876
Fixed typos: vargant->vagrant
2019-03-21 12:58:42 -04:00
Brian Cain
75d6c17386
Fix up call method and add todo for prepare networks
2019-03-20 16:41:42 -07:00
Chris Roberts
1220122b46
Update CHANGELOG
2019-03-20 15:58:24 -07:00
Chris Roberts
b1d8b952bb
Merge pull request #10745 from chrisroberts/f-net-sftp-comms
...
Remove require of net/sftp library
2019-03-20 15:57:21 -07:00
Chris Roberts
bbb971ee98
Update CHANGELOG
2019-03-20 15:49:34 -07:00
Chris Roberts
2d5091a985
Merge pull request #10713 from renatoaguiar/fix-void-nfs
...
Fix NFS capability detection on Void Linux
2019-03-20 15:48:46 -07:00
Chris Roberts
7a6e545b6c
Update CHANGELOG
2019-03-20 15:48:14 -07:00
Chris Roberts
0462da57c4
Merge pull request #10727 from chrisroberts/f-empty-id-file
...
Remove whitespace from id file on load
2019-03-20 15:47:14 -07:00
Brian Cain
1027636e41
Split up and rename unit tests for docker network operations
2019-03-20 15:14:39 -07:00
Brian Cain
eb75431c4a
Update docker driver and docker driver unit tests
2019-03-20 14:50:28 -07:00
Brian Cain
c09bce5386
Fixup docker action destroy_network test
2019-03-20 13:35:46 -07:00
Chris Roberts
3ca8089920
Remove require of net/sftp library
...
Fixes #10733
2019-03-20 13:02:08 -07:00
Chris Roberts
623a1815ae
Allow use of subnet option when defining private network with dhcp type
2019-03-19 14:35:40 -07:00
Chris Roberts
670bef6596
Allow custom subnet to be provided when private network type is dhcp
2019-03-19 14:20:14 -07:00
Chris Roberts
afb6c20581
Fix option mask to be expected netmask
2019-03-19 14:03:03 -07:00
Chris Roberts
a1c7eec441
Include synchronization as the environment lock is per process only
2019-03-19 13:46:14 -07:00
Chris Roberts
a645ce3c25
Docker provider networking support updates
...
Use `mask` option for defining subnet on network configuration. Allow
options to be passed through using hash scoping and docker_network and
docker_connect prefixes. Enable public networks. Allow configuration
to define pre-existing networks by name.
2019-03-19 11:44:33 -07:00
Chris Roberts
1224622387
Remove container inspection caching and Exception rescue
...
Container inspection is caching data on first lookup. This will
result in incorrect data being returned on subsequent lookups if
a different `cid` value is provided. Also removed rescue of
the `Exception` class as this generally should never happen; rescue
of StandardError will be enough.
2019-03-19 11:44:22 -07:00
Chris Roberts
c251e090b3
Remove Mutex for synchronization. Environment#lock satisfies requirement.
2019-03-19 11:44:02 -07:00
Brian Cain
4e4e03d7fd
Merge pull request #10742 from rockhopper72/fix-typo-in-wsl
...
Fix formatting issues on WSL docs
2019-03-19 09:05:06 -07:00
rockhopper72
9678e93a27
Fix formatting issues on WSL docs
...
- Insert underline to fix **bold** formatting
- Remove grave accent to fix `code` highlighting
2019-03-19 09:03:24 -04:00
Brian Cain
6664936c0b
Make ignored vagrant network options a constant
2019-03-12 10:40:58 -07:00
Brian Cain
5ed5868067
Inspect networks before creating new ones
...
This commit updates the behavior of how the docker provider creates new
docker networks. It looks at each existing network to see if the
requested subnet has already been configured in the docker engine. If
so, Vagrant will use that network rather than creating a new one. This
includes networks not created by Vagrant. Vagrant will not clean up
these networks if created outside of Vagrant.
2019-03-12 10:36:57 -07:00
Chris Roberts
1c650a7fb8
Remove whitespace from id file on load
...
If the id file includes whitespace, remove it. If the content of
the id file is empty, do not set the machine id.
Fixes : #10722
2019-03-11 17:08:13 -07:00
Brian Cain
1e1c398de5
Update CHANGELOG
2019-03-11 15:08:26 -07:00
Brian Cain
e399aeaf70
Merge pull request #10717 from briancain/add-vbox-share-folders-bsd
...
Add proper VirtualBox share folders support for FreeBSD guests
2019-03-11 15:07:17 -07:00
Brian Cain
b4a21617d1
Update CHANGELOG
2019-03-11 15:05:55 -07:00
Brian Cain
11e6ea3a76
Merge pull request #10726 from briancain/improve-cloud-cli-doc-strings
...
Fixes #10723 : Fix bug instance var in Vagrant Cloud CLI optparse
2019-03-11 15:04:55 -07:00