Commit Graph

2432 Commits

Author SHA1 Message Date
0075477df0 make tunnel broker use multicast 2019-09-04 12:18:31 +01:00
d5be2136ad cleanup new message creation 2019-09-04 12:16:31 +01:00
c718b8bf93 Move vars and comment 2019-09-04 12:00:11 +01:00
a24818ee54 Fix typo 2019-09-04 11:58:25 +01:00
66db0ac52c Move announce into session 2019-09-04 11:58:03 +01:00
b9c437fbfe Tunnel discover/announce/open/session/close 2019-09-04 09:48:05 +01:00
147899283c Merge pull request from wuyumin/master
Update config source README file
2019-09-04 09:16:04 +01:00
5b991cd2c2 Update config source README file 2019-09-04 15:49:58 +08:00
bb64f94313 .gitignore file for develop tools 2019-09-04 15:47:46 +08:00
4f4b3d3bae Send connect message to NetworkChannel once we are not at caller mercy 2019-09-03 19:51:52 +01:00
eb4a709195 Merge branch 'master' of ssh://github.com/micro/go-micro into tunnel 2019-09-03 17:20:39 +01:00
6c21b31226 Merge pull request from milosgajdos83/bug-overhaul
Major bug overhaul in how we handle network.Nodes and related handler
2019-09-03 17:20:15 +01:00
6eb6d050ed Major bug overhaul in how we handle network.Nodes and related handler 2019-09-03 16:39:27 +01:00
6c7582a6be Move message to session 2019-09-03 15:56:37 +01:00
3ea4490d6c Don't preallocate the slice if you don't index later on. 2019-09-03 15:02:30 +01:00
b50c44a758 Merge pull request from milosgajdos83/prune-nodes
Prune nodes that have not announced themselves for certain time period.
2019-09-03 10:28:31 +01:00
ec6318befc Prune nodes that have not announced themselves for certain time period. 2019-09-03 10:00:14 +01:00
5440325a18 Merge pull request from milosgajdos83/efficient-bfs-queue
Make Nodes() BFS implementation efficient
2019-09-03 07:43:37 +01:00
fb13877904 Make Nodes() BFS implementation efficient 2019-09-03 02:58:17 +01:00
2f5e3c66b9 Merge pull request from milosgajdos83/sort-nodes-search
Sort the returned slice of nodes before searching
2019-09-02 20:13:20 +01:00
a8d4299df9 Sort the returned slice of nodes before searching
See docs:
https://golang.org/pkg/sort/#Search
2019-09-02 20:00:52 +01:00
90745c14f2 Merge pull request from milosgajdos83/net-handler
[WIP] Network handler
2019-09-02 17:15:38 +01:00
86665454e7 Implementation of Nodes method. First take on full handler 2019-09-02 17:06:21 +01:00
4f5a849211 Added Nodes method to Network interface 2019-09-02 12:40:05 +01:00
bf53c16e4b Rough outline of Network introspection interface 2019-09-02 12:40:05 +01:00
6c3631728b Merge pull request from micro/tunnel
Separate lookup nodes and setup nodes
2019-09-02 12:10:24 +01:00
2cdfed359f Separate lookup nodes and setup nodes 2019-09-02 12:05:47 +01:00
956be5c59d Merge pull request from micro/client-stream
use with stream for client connection
2019-09-02 07:36:41 +01:00
52d9d75dfa use with stream for client connection 2019-08-31 18:26:48 +01:00
0d94784e72 Add some tunnel comments 2019-08-31 17:32:20 +01:00
65c2de5a79 Merge pull request from micro/tunnel
Rename Tunnel ID to Channel
2019-08-31 16:32:41 +01:00
6fa9d7270f Rename Tunnel ID to Channel 2019-08-30 20:05:00 +01:00
140c830af1 Merge pull request from milosgajdos83/net-debug
Add proto definitions for network introspection.
2019-08-30 12:38:24 +01:00
b37837ad92 Add proto definitions for network introspection. 2019-08-30 12:29:26 +01:00
10b64af0b3 Merge pull request from milosgajdos83/route-loop-break
Avoid setting routes that route back to the node without its being direct GW to dest
2019-08-30 11:33:17 +01:00
5d01284574 Merge pull request from wuyumin/master
Load consul source
2019-08-30 10:15:37 +01:00
ff81e4b246 Load consul source 2019-08-30 16:20:58 +08:00
e955e3f798 Avoid routes that route back to node without its being direct GW to dest 2019-08-30 00:04:46 +01:00
a17a8b3372 Merge branch 'master' of ssh://github.com/micro/go-micro 2019-08-29 17:21:49 +01:00
e1d56fbf58 switch warn to error logging 2019-08-29 17:21:43 +01:00
e7d8cdda44 Avoid duplicate debug logs. 2019-08-29 16:58:07 +01:00
690640eeeb Merge pull request from milosgajdos83/route-update
Only emit table event if table.Update actually happens
2019-08-29 16:30:27 +01:00
4f788c6fc7 Only emit the events when actually deleting the route 2019-08-29 16:25:21 +01:00
f50bd400f8 Only emit event if Update actually happens 2019-08-29 16:21:30 +01:00
b457ec1990 Merge pull request from milosgajdos83/node-neighbours
Don't override the neighbours.
2019-08-29 15:48:13 +01:00
ffa6b551f4 Don't override the neighbours. 2019-08-29 15:42:07 +01:00
3d03fe4076 Fix panic for nil slice 2019-08-29 15:09:01 +01:00
6eecb199e9 Merge pull request from micro/nodes
add the ability to provide seed nodes to the network
2019-08-29 15:00:51 +01:00
7479515099 add the ability to provide seed nodes to the network 2019-08-29 14:53:30 +01:00
6e3d53e1ee Merge pull request from micro/tunnel-arp
Tunnel Direction Fix
2019-08-29 13:13:25 +01:00