Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect changes in node and link information #39 #88

Merged
merged 1 commit into from
Jun 25, 2020

Conversation

PabloCastellano
Copy link
Contributor

@PabloCastellano PabloCastellano commented Jun 12, 2020

Nodes (label, local_addresses and properties)
Links (cost, cost_text, properties)

Closes #39

@PabloCastellano PabloCastellano force-pushed the issue/39-detect-node-changes branch 2 times, most recently from e7bd461 to cf7b086 Compare June 12, 2020 13:48
Copy link
Member

@nemesifier nemesifier left a comment

Choose a reason for hiding this comment

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

I think the README needs an update regarding this, don't you think?

Especially to explain what happens when properties are removed, because that's new.
We should link this in the changelog too, so please make a section so we can link it.

I uploaded a few failing tests to guide you through fixing the problem correctly.

I realized links suffer the same problem but the title didn't indicate it, I updated this because we need to fix it as well.

netdiff/utils.py Outdated Show resolved Hide resolved
@PabloCastellano PabloCastellano changed the title Detect changes in node information (label, local_addresses and properties) #39 Detect changes in node and link information #39 Jun 17, 2020
@PabloCastellano PabloCastellano force-pushed the issue/39-detect-node-changes branch 3 times, most recently from 3f16443 to 9801a99 Compare June 17, 2020 12:13
Copy link
Member

@nemesifier nemesifier left a comment

Choose a reason for hiding this comment

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

Good progress!

I've been testing it with the network-topology module and here's what I found:
openwisp/openwisp-network-topology#66 (comment)

Can you address my comments below and that other issue as well?

netdiff/utils.py Outdated Show resolved Hide resolved
netdiff/utils.py Outdated Show resolved Hide resolved
netdiff/utils.py Outdated Show resolved Hide resolved
Nodes (label, local_addresses and properties)
Links (cost, cost_text, properties)

Closes #39
Copy link
Member

@nemesifier nemesifier left a comment

Choose a reason for hiding this comment

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

Great work, thanks!

@nemesifier nemesifier merged commit fad5764 into master Jun 25, 2020
@PabloCastellano PabloCastellano deleted the issue/39-detect-node-changes branch June 27, 2020 09:05
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.

Detect changes in information of node and links (label, local_addresses and properties)
2 participants