Commit graph

60 commits

Author SHA1 Message Date
0xdcarns 6643c9a401 adapt createNetwork + default host addition 2023-02-13 15:17:13 -05:00
0xdcarns 81d9954f37 added logic to add default hosts to networks upon network creation 2023-02-10 13:45:57 -05:00
Matthew R Kasun 77cfae41ff remove postup/down 2023-02-02 11:16:54 -05:00
dcarns 94108e0007
Merge pull request #1962 from gravitl/GRA-1024/mq_dyn_sec_refactor
Gra 1024/mq dyn sec refactor
2023-01-23 15:00:33 -05:00
Abhishek Kondur a33338fa99 remove adding,modifying roles 2023-01-22 17:57:49 +04:00
Matthew R Kasun 9edb541388 remove localrange 2023-01-20 05:42:05 -05:00
Abhishek Kondur 9b1d8b1d89 remove parameters from mq peer msg 2023-01-10 10:49:15 +05:30
Matthew R. Kasun 8bfe255eab Merge remote-tracking branch 'origin/develop' into netclient_refactor_latest
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2023-01-04 14:16:12 -05:00
0xdcarns 8c92308ccf made mq functions a little easier to read and re-use 2022-12-28 12:10:03 -05:00
0xdcarns 875718d824 consolidated add default hosts to net function 2022-12-27 10:15:00 -05:00
0xdcarns 82479863f1 added default node association with networks 2022-12-23 16:14:45 -05:00
walkerwmanuel 6611941ca2 Replaced string methods with HTTP consts 2022-12-23 09:49:08 -05:00
Matthew R. Kasun 38cd4d7700 refactor join
also removes server node
suspect there may be issues with proxy
and UI interactions with nodes
2022-12-20 15:29:09 -05:00
kayos@tcp.direct e878e4820a
Fixes+Chores: avoid de-referencing nil ptrs + lint
- Avoid referencing conditions we know are false/true

 - Avoid using name of imported package as variable

 - Avoid broken (see list item 1) if else statement in `ipservice.go` by refactoring to switch statement

 - When assigning a pointer value to a variable along with an error, check that error before referencing that pointer. Thus avoiding de-referencing a nil and causing a panic.
  *** This item is the most important ***

 - Standard gofmt package sorting + linting; This includes fixing comment starts for go doc

 - Explicit non-handling of unhandled errors where appropriate (assigning errs to _ to reduce linter screaming)

 - Export ErrExpired in `netcache` package so that we can properly reference it using `errors.Is` instead of using `strings.Contains` against an `error.Error()` value
2022-12-06 20:11:20 -08:00
Anish Mukherjee fb84ddc6f1 remove unused endpoints 2022-11-30 16:20:05 +05:30
0xdcarns ea854a6b98 fixed admin issue and potential panics 2022-11-10 14:54:53 -05:00
Abhishek Kondur 677d9fcc8d added comments 2022-09-29 23:59:18 +05:30
Abhishek Kondur a95468111d added roles,acls for clients 2022-09-29 22:54:41 +05:30
afeiszli b670755cce refactoring for ee 2022-09-14 13:26:31 -04:00
0xdcarns 88cd0a6497 initial commit 2022-09-13 15:25:56 -04:00
cameronts 661290c84d Update swagger docs 2022-09-10 21:51:59 -07:00
cameronts cb23b871dd Added swagger for API docs. 2022-09-06 05:20:24 -07:00
cameronts 459e7956cd Add swagger base 2022-09-02 13:42:51 -07:00
Matthew R. Kasun 184e5a66d9 refactor server routing 2022-08-19 11:25:39 -04:00
Abhishek Kondur 63708e6e36 GRA-414: added additional logs for acl controllers 2022-07-13 14:53:37 +04:00
Abhishek Kondur 5ff30d3ca8 GRA-414: added additional logs for extclient controllers 2022-07-13 10:01:25 +04:00
Abhishek Kondur 5163f77e1f GRA-414: added additional logs for network controllers 2022-07-12 18:50:32 +04:00
Matthew R. Kasun e5a59d7081 add bool to control update to node 2022-07-07 05:52:43 -04:00
afeiszli d63bae351d fixing rangeupdate for ipv6, setting ipv4 assignment 2022-05-12 19:35:46 -04:00
0xdcarns 7654556a3a bugfix tweaks 2022-04-25 13:10:55 -04:00
0xdcarns 3ca9843328 small bug fixes 2022-04-25 13:10:55 -04:00
0xdcarns 99abd9666d removed required status for ipv6 and added check on create network 2022-04-25 13:10:55 -04:00
0xdcarns 8e976d1f55 removed isdualstack references 2022-04-25 13:09:23 -04:00
Matthew R. Kasun 747d6bc692 remove comms network leftovers
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-04-22 05:21:35 -04:00
Matthew R. Kasun 7152f6ccd4 remove references to grpc/comms net 2022-04-21 15:53:44 -04:00
Matthew R. Kasun 886ec31553 remove grpc 2022-04-21 15:04:44 -04:00
0xdcarns ffbc0db33f send created network back in response to net create 2022-03-17 10:08:28 -04:00
0xdcarns 09551776fa added server update on ACL update 2022-03-10 14:55:40 -05:00
0xdcarns af8918e35f added acl logic to affect peers 2022-03-10 14:55:40 -05:00
0xdcarns 03d35528cc removed unneccasy api exposure 2022-03-10 14:55:40 -05:00
0xdcarns aefc8b090b added basic api endpoints 2022-03-10 14:55:40 -05:00
0xdcarns 3e18687612 reallowed the editing of comms network 2022-02-28 09:50:03 -05:00
0xdcarns 26c70bb2f1 changed logs and saved private key 2022-02-21 15:38:46 -05:00
0xdcarns a2392721e9 removed filter 2022-02-21 09:05:41 -05:00
0xdcarns 595e00125b 1 2022-02-20 11:12:51 -05:00
0xdcarns 0325795bf2 created comms filter 2022-02-18 19:47:20 -05:00
0xdcarns 3c48db948b dissallowed comms network edits 2022-02-18 18:26:20 -05:00
afeiszli 8cd19c20c6 removed unnecessary variables from network, added IsHubAndSpoke 2022-02-18 09:49:58 -05:00
0xdcarns 922ebcb4ab refacted running node updates 2022-02-16 20:44:17 -05:00
0xdcarns 5c35ca433e edited run updates 2022-02-15 10:12:39 -05:00