Skip to content

Conversation

lvrfrc87
Copy link
Collaborator

Will close #60

@lvrfrc87 lvrfrc87 changed the title Update docs as per OSRB request WIP: Update docs as per OSRB request May 17, 2022
@lvrfrc87 lvrfrc87 marked this pull request as draft May 17, 2022 12:59
@lvrfrc87 lvrfrc87 marked this pull request as ready for review May 18, 2022 09:27
Copy link
Contributor

@chadell chadell left a comment

Choose a reason for hiding this comment

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

I added some ideas/suggestions. I still think we have to do a bit better

@lvrfrc87
Copy link
Collaborator Author

lvrfrc87 commented May 19, 2022

I added some ideas/suggestions. I still think we have to do a bit better

@chadell what is still missing in your opinion?

@chadell
Copy link
Contributor

chadell commented May 19, 2022

I added some ideas/suggestions. I still think we have to do a bit better

@chadell what is still missing in your opinion?

It's difficult to me to concrete it, but even it has improved, I still think that our introduction to the project is not clear enough.
I would suggest you to capture feedback from other people that has not deep understanding of the library, show them the intro and then get what they understand from it, to tune the message.

However, we should not block the code review because of this, so let's get this PRs reviewed by the team, and we can move it to the next OSRB stage, while we are working on improving the selling point of the library.

README.md Outdated
@@ -1,12 +1,38 @@
# netcompare

This library is meant to be a light-weight way to compare structured output from network devices `show` commands. `netcompare` is a python library targeted at intelligently deep diffing structured data objects of json type. In addition, `netcompare` can also provide some basic testing of key/values within a data structure.
This library is meant to be a light-weight way to compare structured output. `netcompare` is a python library targeted at intelligently deep diffing structured data objects of json type.
Copy link
Collaborator

Choose a reason for hiding this comment

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

I don't like the "is meant to be" verbiage. It "is" a light-weight...

README.md Outdated
## Use Case
## Use Cases

`netcompare` is meant to be a building block used within testing frameworks. Originally devised specifically to test structured data returned from network device show commands, `netcompare` is designed to deeply and intelligently diff data structures while also providing tests for specific values in the data structure. `netcompare` evolved to be agnostic from the collection of that data and can compare and test and type of data structure.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
`netcompare` is meant to be a building block used within testing frameworks. Originally devised specifically to test structured data returned from network device show commands, `netcompare` is designed to deeply and intelligently diff data structures while also providing tests for specific values in the data structure. `netcompare` evolved to be agnostic from the collection of that data and can compare and test and type of data structure.
`netcompare` is a building block that can extend your testing framework. Originally devised to test structured data returned from show commands from a network device, `netcompare` is designed to deeply and intelligently diff data structures while also providing tests for specific values in the data structure. `netcompare` evolved to be agnostic from the collection of that data and can compare and test any type of data structure.

README.md Outdated

`netcompare` is meant to be a building block used within testing frameworks. Originally devised specifically to test structured data returned from network device show commands, `netcompare` is designed to deeply and intelligently diff data structures while also providing tests for specific values in the data structure. `netcompare` evolved to be agnostic from the collection of that data and can compare and test and type of data structure.

With that said, it is perfectly suited to diff data gathered from network devices via show commands, Ansible playbooks, in Django based applications such as Nautobot or Netbox, and is targeted at being the 'plumbing' behind a full network automation validation solution.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
With that said, it is perfectly suited to diff data gathered from network devices via show commands, Ansible playbooks, in Django based applications such as Nautobot or Netbox, and is targeted at being the 'plumbing' behind a full network automation validation solution.
`netcompare` is perfectly suited to diff data gathered from network devices via show commands, Ansible playbooks, in a Django based applications such as Nautobot or Netbox, and is targeted at being the 'plumbing' behind a full network automation validation solution.

README.md Outdated

With that said, it is perfectly suited to diff data gathered from network devices via show commands, Ansible playbooks, in Django based applications such as Nautobot or Netbox, and is targeted at being the 'plumbing' behind a full network automation validation solution.

`netcompare` was developed for checking the state of the network before and after a change; however, `netcompare` is also well suited for comparing intended state derived from a Source-of-Truth or other source of intended state.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
`netcompare` was developed for checking the state of the network before and after a change; however, `netcompare` is also well suited for comparing intended state derived from a Source-of-Truth or other source of intended state.
`netcompare` was originally developed to check the state of a network before and after a change; however, `netcompare` is also well suited for comparing intended state derived from a Source-of-Truth or other source of intended state.

README.md Outdated

`netcompare` was developed for checking the state of the network before and after a change; however, `netcompare` is also well suited for comparing intended state derived from a Source-of-Truth or other source of intended state.

The intended usage is to collect structured `show` command output before and after a change window. Prior to closing the change window, the results are compared to help determine if the change was successful as intended and if the network is in an acceptable state. The output can be stored with the change's documentation for easy reference and proof of completion.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
The intended usage is to collect structured `show` command output before and after a change window. Prior to closing the change window, the results are compared to help determine if the change was successful as intended and if the network is in an acceptable state. The output can be stored with the change's documentation for easy reference and proof of completion.
A common usage for this library is to collect structured `show` command output before and after a change window. Prior to closing the change window, the results are compared to help determine the final result of a change window. The outputs can be stored within the change documentation for easy reference and proof of completion.

@scetron scetron merged commit d3cb8cd into develop May 31, 2022
@chadell chadell deleted the update_readme branch September 1, 2022 10:03
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.

Update README.md as per OSRB request
6 participants