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

OSPF topology to Drawio #28

Open
Vadims06 opened this issue May 6, 2022 · 6 comments
Open

OSPF topology to Drawio #28

Vadims06 opened this issue May 6, 2022 · 6 comments
Labels
enhancement New feature or request

Comments

@Vadims06
Copy link
Owner

Vadims06 commented May 6, 2022

I though it can be valuable to have an option to export OSPF topology view to Drawio scheme and then to SVG or PNG format. Please comment if you thing the same.

@Vadims06 Vadims06 added the enhancement New feature or request label May 6, 2022
@pengembaratemporer
Copy link

newbie comment :

it will be very good if we can save as to drawio or visio.

or ability to modify javascript result to :

  • modify location / position of particular router and then "Save as" that position. So we can open file again with exact position. The original file is not changed.
  • grouping location of routers based on hostname (lets say all router name whose AMS into one group.

thanks.

@Vadims06
Copy link
Owner Author

Hi @pengembaratemporer ,
thank you for your valuable comments.
Node position saving is available, did you try to use square button before reload all nodes and edges?

@pengembaratemporer
Copy link

hi @Vadims06 ,

do you think adding IP Address of point to point link is useful ?

Thank You.

BTW, attached is proposed textfsm for ZTE router for ISIS database.

zte_zxr_show_isis_database_verbose.txt

@Vadims06
Copy link
Owner Author

Vadims06 commented Feb 8, 2023

@pengembaratemporer,
this issue is designated to Drawio new feature. For adding new vendor is better to create a separate issue. Use huawei_vrp_display_isis_lsdb_verbose.tpl and huawei_vrp_display_isis_lsdb_verbose_stub as an example, so template for stub networks is needed.
If you could attach your ISIS LSDB or send me to admin at topolograph.com it would be great, in order I have a chance to test graph building based on new templates.

@laimaretto
Copy link

laimaretto commented Jun 1, 2023

I think that a better approach would be to use an editable format, like graphml. There are potentially to good python libs to obtain a graph in graphml format: pyyed and/or N2G; I like the later better.

Graphml is a standard format to treat graphs. There is a cool diagram program called yEd, also Gephi and I believe Drawio also accepts graphml.

The interesting thing about graphml with, say, yEd, is that you can edit the network offline, pretty much like working with Visio (only better compatibility).

@Vadims06
Copy link
Owner Author

Vadims06 commented Jun 3, 2023

@laimaretto thank you for your valuable feedback. I was going to use N2G package to build and edit a XML-based diagram, I also like it! I bet that Drawio also supports graphml, but anyway it's good point to test diagram visualization in yEd or Gephi as well. Could you please share your use-cases, when you use graphml/drawio - based diagram?
From my point of view it would not be convenient much to upload fresh OSPF/IS-IS LSDB and then generate Drawio diagram based on it, because you might want to add additional information (like Building, Floor, Rack number, logical layers) on the diagram once and then see it on a diagram constantly, but from the other side - you might want to keep your diagram updated ( automatically updated ). To tackle it I'm thinking about building API gateway for such static diagram in order to add/update/remove nodes and edges on diagram, but keeping format/layout unchanged. It will also allow to keep the diagram updated if NSM or any other inventory system can send webhooks in case of adding new device or link into the system. What do you think about it?..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants