netbird/management/server
Maycon Santos e8caa562b0
Send netmask from account network (#369)
* Send netmask from account network

Added the GetPeerNetwork method to account manager

Pass a copy of the network to the toPeerConfig function
to retrieve the netmask from the network instead of constant

updated methods and added test

* check if the network is the same for 2 peers

* Use expect with BeEquivalentTo
2022-06-24 21:30:51 +02:00
..
http NetBird SSH (#361) 2022-06-23 17:04:53 +02:00
idp Warmup IDP cache on Management start (#354) 2022-06-06 12:05:44 +02:00
jwtclaims OpenAPI specification and API Adjusts (#356) 2022-06-14 10:32:54 +02:00
migration Rename module to netbirdio/netbird (#288) 2022-03-26 12:08:54 +01:00
mock_server Send netmask from account network (#369) 2022-06-24 21:30:51 +02:00
testdata Replace IP allocation logic (#342) 2022-05-29 22:43:39 +02:00
account_test.go Check if new account ID is already being used (#364) 2022-06-20 18:20:43 +02:00
account.go Send netmask from account network (#369) 2022-06-24 21:30:51 +02:00
config.go Rename management from Wiretrustee to Netbird (#311) 2022-05-13 14:11:21 +02:00
file_store_test.go Check if new account ID is already being used (#364) 2022-06-20 18:20:43 +02:00
file_store.go OpenAPI specification and API Adjusts (#356) 2022-06-14 10:32:54 +02:00
group.go OpenAPI specification and API Adjusts (#356) 2022-06-14 10:32:54 +02:00
grpcserver.go Send netmask from account network (#369) 2022-06-24 21:30:51 +02:00
management_proto_test.go Replace IP allocation logic (#342) 2022-05-29 22:43:39 +02:00
management_suite_test.go Move management server to a separate directory (#67) 2021-07-24 16:14:29 +02:00
management_test.go Send netmask from account network (#369) 2022-06-24 21:30:51 +02:00
network_test.go Replace IP allocation logic (#342) 2022-05-29 22:43:39 +02:00
network.go Handle peer interface config change (#348) 2022-06-04 19:41:01 +02:00
peer_test.go Send netmask from account network (#369) 2022-06-24 21:30:51 +02:00
peer.go Send netmask from account network (#369) 2022-06-24 21:30:51 +02:00
rule.go OpenAPI specification and API Adjusts (#356) 2022-06-14 10:32:54 +02:00
setupkey_test.go feature: add update setup key endpoint 2021-08-20 22:33:43 +02:00
setupkey.go fix: minor HTTP bugs 2021-08-25 14:16:17 +02:00
store.go Add rules for ACL (#306) 2022-05-21 15:21:39 +02:00
turncredentials_test.go Rename module to netbirdio/netbird (#288) 2022-03-26 12:08:54 +01:00
turncredentials.go Rename module to netbirdio/netbird (#288) 2022-03-26 12:08:54 +01:00
updatechannel_test.go Rename module to netbirdio/netbird (#288) 2022-03-26 12:08:54 +01:00
updatechannel.go NetBird SSH (#361) 2022-06-23 17:04:53 +02:00
user.go Check if new account ID is already being used (#364) 2022-06-20 18:20:43 +02:00