Adam Harrison
|
b09b556796
|
Utility function to configure ARP cache timers
|
2016-03-17 14:29:25 +00:00 |
|
Bryan Boreham
|
2d6a916b2d
|
Find weave veths by looking at what is connected to the bridge, not by name
and don't even look at containers running in the root namespace
|
2016-03-17 12:41:37 +00:00 |
|
Bryan Boreham
|
011fb55e5f
|
Refactor FindNetDevs so we can get the link, and re-use parts of the function
|
2016-03-17 12:41:37 +00:00 |
|
Bryan Boreham
|
4eaeb0f30c
|
Merge branch '1.4'
|
2016-03-16 14:52:59 +00:00 |
|
Adam Harrison
|
922f465ecb
|
Reset retry interval if we spent long enough processing events
|
2016-03-16 13:41:18 +00:00 |
|
Adam Harrison
|
08e9db900a
|
Retry docker event subscription
|
2016-03-16 09:23:32 +00:00 |
|
Bryan Boreham
|
35671135bd
|
Return errors that happen inside WithNetNS
|
2016-03-10 15:18:16 +00:00 |
|
Bryan Boreham
|
95cbc8940e
|
Sync 'owned' data with existing containers at startup
|
2016-03-02 11:35:24 -08:00 |
|
Bryan Boreham
|
dd74bb1774
|
Simplify by using GetFromPid
|
2016-03-01 12:12:46 -08:00 |
|
Adam Harrison
|
adf56d316d
|
Remove obsolete alternative procfs support
|
2016-03-01 20:10:47 +00:00 |
|
Matthias Radestock
|
3283bc89fc
|
Merge branch '1.4'
|
2016-02-23 13:56:56 +00:00 |
|
Matthias Radestock
|
e52abafc48
|
treat restarting containers as "not running"
thus preventing stale DNS & IPAM entries.
Fixes #1977
|
2016-02-20 10:59:47 +00:00 |
|
Adam Harrison
|
65c48707f6
|
Use netlink instead of shelling out to weave ps
|
2016-02-04 12:51:18 +00:00 |
|
Bryan Boreham
|
b2b293a8ee
|
Added 'ContainerDestroyed()' callback from docker client
|
2016-01-12 14:38:44 +00:00 |
|
Matthias Radestock
|
79452d3a9a
|
cosmetic(ish)
|
2016-01-02 14:00:23 +00:00 |
|
Matthias Radestock
|
75d9e95b15
|
appease linter
|
2016-01-02 12:35:10 +00:00 |
|
Bryan Boreham
|
357f67255e
|
Move logging of Docker API info to callers
|
2015-12-17 08:25:51 +00:00 |
|
Paul Bellamy
|
a4ef96690e
|
support alternate DOCKER_HOST settings when launching the plugin
|
2015-12-15 18:12:31 +00:00 |
|
Paul Bellamy
|
f28ad350bd
|
make weave and the proxy work with tcp-only dockers via DOCKER_HOST
|
2015-12-15 18:02:59 +00:00 |
|
Bryan Boreham
|
ec420c66d4
|
Review feedback
|
2015-12-01 16:47:47 +00:00 |
|
Bryan Boreham
|
5eb99fe5ef
|
Get container IP for various networks
|
2015-11-30 14:27:33 +00:00 |
|
Bryan Boreham
|
bd2b8df7c5
|
Refactor to use Weave's docker client and watcher
|
2015-11-30 13:25:20 +00:00 |
|
Bryan Boreham
|
682133a56a
|
Move ODP helper functions out to their own package
|
2015-11-10 17:09:17 +00:00 |
|
Matthias Radestock
|
8bd77c0d47
|
refactor: get rid of router/utils.go
most functions end up in other files in the router package, but a few
land in common.
|
2015-11-07 15:45:29 +00:00 |
|
Bryan Boreham
|
9ad1ccf19f
|
Don't listen to SIGUSR1, since we stopped handling it a few months back
|
2015-10-02 13:52:23 +01:00 |
|
Bryan Boreham
|
81e8ba223f
|
Do network attach on docker event rather than intercepting start and restart commands.
This means it also works when the docker daemon restarts a container.
|
2015-09-01 17:48:12 +01:00 |
|
Matthias Radestock
|
c1c5450caf
|
more idiomatic logger initialisation, with standard default log level
|
2015-08-18 12:04:48 +01:00 |
|
Tom Wilkie
|
cdab6a71b7
|
Merge pull request #1289 from weaveworks/move-listvar
Move ListVar into common, so it can be reused elsewhere.
|
2015-08-12 12:56:25 +01:00 |
|
Tom Wilkie
|
45293fdcac
|
Move ListVar into common, so it can be reused elsewhere.
|
2015-08-12 11:35:57 +00:00 |
|
Adam Harrison
|
fc9a1c8664
|
new weave status, weave status ..., and weave report
|
2015-08-11 12:15:13 +01:00 |
|
David Wragg
|
7d6f85424c
|
Move OnOff into router.go
|
2015-08-03 14:06:23 +01:00 |
|
Tom Wilkie
|
25c9180fdf
|
Don't swallow errors in the docker client.
|
2015-07-17 12:35:12 +00:00 |
|
Matthias Radestock
|
7063ca51aa
|
remove dead code
|
2015-07-15 05:35:05 +01:00 |
|
Matthias Radestock
|
97498d26f7
|
remove dead code
|
2015-07-15 05:32:35 +01:00 |
|
Tom Wilkie
|
01f7201a9e
|
Remove legacy WeaveDNS code.
|
2015-07-14 16:00:28 +00:00 |
|
Matthias Radestock
|
2b61bc91df
|
cosmetic: remove blank log lines
|
2015-07-11 16:43:33 +01:00 |
|
Tom Wilkie
|
00a7490a1d
|
Code coverage for smoke tests.
Allow non-circle people to build coverage reports.
|
2015-07-10 14:45:14 +00:00 |
|
Matthias Radestock
|
6596c8b1a7
|
make container aliveness check part of the ipam & dns API
...rather than conducting it implicitly when an ID "looks like" a
container ID.
Closes #971
|
2015-07-04 19:13:13 +01:00 |
|
Bryan Boreham
|
ff2d7451e2
|
Remove -debug option, superceded by --log-level
|
2015-07-04 03:27:07 +01:00 |
|
Bryan Boreham
|
a5ddb63fca
|
Remove Info.Print in favour of Log.Info
|
2015-07-01 14:01:45 +01:00 |
|
Bryan Boreham
|
7276fc1d4b
|
Wire up selection of logging levels to match old behaviour
- note that all output is now going to stderr.
|
2015-07-01 12:26:23 +01:00 |
|
Bryan Boreham
|
67a6961b4b
|
Adjust logrus feature of padding all lines less than 44 chars with spaces at the end
|
2015-07-01 12:26:23 +01:00 |
|
Bryan Boreham
|
d82578d895
|
Replace logging calls with new style
|
2015-07-01 12:26:23 +01:00 |
|
Bryan Boreham
|
c786e7eb5a
|
Switch from basic logger to logrus
|
2015-07-01 12:26:23 +01:00 |
|
Paul Bellamy
|
cdee7a5d6f
|
Replacing custom testing helpers with testify, where possible
|
2015-06-17 16:58:03 +01:00 |
|
Bryan Boreham
|
1b57a24789
|
Don't re-initialise log writers unless the type changed.
This avoids race-conditions in unit tests where the initialisation
is on a different goroutine to the logging.
|
2015-06-17 11:35:01 +01:00 |
|
Alvaro Saurin
|
ba2f6671a6
|
Removed a couple of Debug.Printf()s
|
2015-06-15 17:11:27 +02:00 |
|
Bryan Boreham
|
0ff311356d
|
Flush the background updater goroutines to make tests reliable
|
2015-06-15 13:48:54 +01:00 |
|
Bryan Boreham
|
e49a29197b
|
Add a Flush() routine to synchronize callers
|
2015-06-15 13:48:24 +01:00 |
|
Bryan Boreham
|
2b7fb699af
|
Clean up a couple of compilation errors
|
2015-06-15 13:47:01 +01:00 |
|