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

"jsnapy --diff" is character based and not node/word based #219

Open
ksator opened this issue Jan 19, 2017 · 0 comments
Open

"jsnapy --diff" is character based and not node/word based #219

ksator opened this issue Jan 19, 2017 · 0 comments

Comments

@ksator
Copy link

ksator commented Jan 19, 2017

"jsnapy --diff" is character based and not node/word based

whatever if the format is text or xml
test_bgp_neighbor:

  • command: show bgp neighbor
    format: text
    test_rpc_version:
  • rpc: get-software-information
    format: xml

so jsnapy uses several colors for

<output-octets>72198</output-octets>
<output-octets>72283</output-octets>  

and even 4 colors (white yellow red green) for:

<peer-state>Established</peer-state>
<peer-state>Active</peer-state>

these nodes are diff. it would be better to color the whole nodes with one single color (yellow).
Could we improve this? or control the number of colours?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants