Skip to content

Change Management Sync protocol to support incremental (serial) network changes#191

Merged
braginini merged 10 commits intomainfrom
pass-network-serial-to-cleints
Jan 16, 2022
Merged

Change Management Sync protocol to support incremental (serial) network changes#191
braginini merged 10 commits intomainfrom
pass-network-serial-to-cleints

Conversation

@braginini
Copy link
Copy Markdown
Collaborator

@braginini braginini commented Jan 14, 2022

Only Management Service changes + Protocol.
Client will be done in the following PR

@braginini braginini self-assigned this Jan 14, 2022
@braginini braginini linked an issue Jan 14, 2022 that may be closed by this pull request
@braginini braginini requested a review from mlsmaycon January 15, 2022 17:53
@braginini braginini marked this pull request as ready for review January 15, 2022 17:53

var peers = []*wgtypes.Key{}
for i := 0; i < peersNum; i++ {
key, err := wgtypes.GenerateKey()
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should use GeneratePrivateKey()

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@braginini braginini requested a review from mlsmaycon January 16, 2022 13:37
@braginini braginini merged commit afb302d into main Jan 16, 2022
@braginini braginini deleted the pass-network-serial-to-cleints branch January 16, 2022 16:10
pulsastrix pushed a commit to pulsastrix/netbird that referenced this pull request Dec 24, 2023
…rk changes (netbirdio#191)

* feature: introduce NetworkMap to the management protocol with a Serial ID

* test: add Management Sync method protocol test

* test: add Management Sync method NetworkMap field check [FAILING]

* test: add Management Sync method NetworkMap field check [FAILING]

* feature: fill NetworkMap property to when Deleting peer

* feature: fill NetworkMap in the Sync protocol

* test: code review mentions - GeneratePrivateKey() in the test

* fix: wiretrustee client use wireguard GeneratePrivateKey() instead of GenerateKey()

* test: add NetworkMap test

* fix: management_proto test remove store.json on test finish
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tracking Network modifications (serial ID)

2 participants