Vadims06 / topolograph

Topolograph.com is an online project which can visualize OSPF/ISIS topology based on LSDB output from a single network device. Then you can not only see (and check) the shortest path from source to destination, but also see the outcome from link or node failure along the path to the destination.
https://topolograph.com
MIT License
177 stars 23 forks source link

Support for Nokia #5

Closed laimaretto closed 3 years ago

laimaretto commented 3 years ago

Hi there, I tried following the link to generate the textFSM for new vendors, but it's broken.

Still, do you have any plans in supporting nokia? How can I help?

thanks!

Vadims06 commented 3 years ago

Hi @laimaretto. Thank you for your request! As I commented on YouTube page - TextFSM templates have been prepared by one of topolograph's user, and we would like to test them on some of test Nokia's LSDB output. Could you please drop me test LSDB output to admin@topolograph.com and I would happy to add support Nokia to Topolograph =) P.S. What the broken link you mentioned about?..

laimaretto commented 3 years ago

Hey! Thanks for the fast response ... let me get the output of an LSDB from Nokia and I'll share that with you ...

The broken link is in the main page of the project. An image is worth a thousand words ... :-)

image

Vadims06 commented 3 years ago

Hi @laimaretto. Wiki link has been repaired. As well as @hellt pushed his textfsm templates for Nokia to textfsm_templates folder. We are ready to test them on a sample of LSDB. Commands are:

laimaretto commented 3 years ago

Hi @Vadims06 , thanks for the reply. Sorry for the delay. I've sent to the provided email admin@topolograph.com the outputs for the suggested show commands and a plot of the topology for your reference. I have added a also a show for summary type LSAs (LSA3). All the output gathered at router SR2. The topology of testing is the following:

image

So, in the email you will find 4 files, one per each of your suggestion plus the one for summary LSAs.

Let me know if this works or even if you would like to make any modifications to the topology.

Vadims06 commented 3 years ago

@laimaretto Thank you for your output and the topology. Could I ask you to make sure that the link between SR3-ABR and SR4-ASBR has OSPF type broadcast. And then send the command outputs from SR3-ABR. Thank you again.

laimaretto commented 3 years ago

hi @Vadims06 !. So, I've made the suggested modification. I didn't use before the broadcast type, since we're used to work with point-to-point interfaces. So I've set up broadcast between SR3-ABR and SR4-ASBR. I've added the IP addresses to the topology for your reference. And I'm sending right away the logs to the email, obtained at SR3-ABR. Thanks!

image

laimaretto commented 3 years ago

Hi @Vadims06 , just one further question. As you mentioned before, the templates for nokia are already in the code (it can be seen that "Vadims06 Merge pull request #6 from hellt/nokia-sros 002f6af). However, if I want to try these DBs outputs, on the website of topolograph (https://topolograph.com/upload-ospf-lsdb) I have no option for Nokia.

image

Finally, if I download the docker version (not yet, I'm learning how to docker), will this be available there as well? Thanks!

Vadims06 commented 3 years ago

Good morning @laimaretto , yes, Nokia's templates have been uploaded and I'm going to add them on the site on this weekends. They have to be added manually)

Vadims06 commented 3 years ago

@laimaretto looks like it works!) image Additionally, I pushed a container topolograph:2.14 with Nokia support, but I didn't make it as latest. So you can try upload a topology online or specify topolograph:2.14 in docker-compose.yml. I'm looking forward to hearing updates from you,

laimaretto commented 3 years ago

hi @Vadims06 , very nice, thank you very much! I have indeed tried out the outputs from the test topology (on the web site), and I get the plot and I can do some analysis on the network. Beautiful. I still need to understand how to make the docker application work in my PC, I want to try that out as well. And I will let you know. For the time being, I'll be using the web application. Thanks again! Cheers! Lucas

hellt commented 3 years ago

@Vadims06 I think we need to add instructions on how to create OSPF LSDB for various vendors. I.e. how do I know what show commands output should I put in a text file to upload for graph visualization for Nokia for example?

Vadims06 commented 3 years ago

@hellt, I always open-minded for any improvements)

how to create OSPF LSDB.

Good point, I tried to keep the table with all commands updated. The table exists on the main page of this repo image or on the site. Probably it's better to rename these tables or create a separate wiki page for this. Any thoughts?.. I will add nokia's commands right now.

laimaretto commented 3 years ago

Hi @Vadims06 , just to tell you that I've installed the docker application, keeping in mind to change latest to 2.14 in the docker-compose.yml file, and it works really nice. Beautiful tool ... thanks for this! :-) ... I'll be using it with bigger databases and let you know in any case or if I see something ... thanks again!

hellt commented 3 years ago

@laimaretto @Vadims06 I wonder if we need to add multiple show commands output in the same file (per LSA type) before uploading it to the site?

Vadims06 commented 3 years ago

@laimaretto glad to know! The next step is to implement napalm support for Nokia and i will try to add this into the container later.

Vadims06 commented 3 years ago

@laimaretto @Vadims06 I wonder if we need to add multiple show commands output in the same file (per LSA type) before uploading it to the site?

@hellt exactly. ‘show... type router, network and external‘ should be placed in a single file.

hellt commented 3 years ago

got it @Vadims06

will spread the word inside the company to see how ppl will use it and if they will discover any issues

rp-nz commented 3 years ago

@laimaretto looks like it works!) image Additionally, I pushed a container topolograph:2.14 with Nokia support, but I didn't make it as latest. So you can try upload a topology online or specify topolograph:2.14 in docker-compose.yml. I'm looking forward to hearing updates from you,

Hi there where abouts in the docker-compose.yml do i specify the latest version to be 2.14. Can you please provide the syntax. I am getting errors when I try to pull the down the image due to docker syntax issue.

Thanks

Vadims06 commented 3 years ago

Hi @rp-nz, the syntax should be like this



  flask:
    container_name: flask
    image: vadims06/topolograph:2.14
    restart: unless-stopped
    environment:```
rp-nz commented 3 years ago

Hi @rp-nz, the syntax should be like this


  flask:
    container_name: flask
    image: vadims06/topolograph:2.14
    restart: unless-stopped
    environment:```

Thanks that did the trick. Trying out SROS OSPF DB now. Seems to be working pretty good.

rp-nz commented 3 years ago

Are there plans to support IS-IS DB to this tool and also any way we can add node names to each of the nodes in the DB.

Thanks

Vadims06 commented 3 years ago

Hi @rp-nz, the syntax should be like this


  flask:
    container_name: flask
    image: vadims06/topolograph:2.14
    restart: unless-stopped
    environment:```

Thanks that did the trick. Trying out SROS OSPF DB now. Seems to be working pretty good.

I'm glad to hear this. I'm going to implement Napalm support for this driver soon. So I would be grateful if someone tries and confirms that it works. I notify about adding Nokia's NAPALM support later

Vadims06 commented 3 years ago

Are there plans to support IS-IS DB to this tool and also any way we can add node names to each of the nodes in the DB.

Thanks

No, ISIS support is not planned. Sure, you can change node names in DNS hostnames Tab, or set DNS IP address in docker-compose.override.yml

Vadims06 commented 3 years ago

Hi @laimaretto, @hellt, I added NAPALM support for SROS into topolograph:2.14. It means that it's possible to setNAPALM_USERNAME: cisco NAPALM_PASSWORD: cisco in docker-compose.override.yml and then add router IP in stead of uploading OSPF LSDB in txt file. After this when you choose the router and press Load Hosts - NAPALM driver fetch LSA1, LSA2, LSA5 by itself. If it doesn't work properly - please send me docker log flask output to the email. Thanks.

hellt commented 3 years ago

Cool, thanks!

On Wed, 10 Feb 2021, 22:18 Vadim, notifications@github.com wrote:

Hi @laimaretto https://github.com/laimaretto, @hellt https://github.com/hellt, I added NAPALM support for SROS into topolograph:2.14. It means that it's possible to setNAPALM_USERNAME: cisco NAPALM_PASSWORD: cisco in docker-compose.override.yml and then add router IP in stead of uploading OSPF LSDB in txt file. After this when you choose the router and press Load Hosts - NAPALM driver fetch LSA1, LSA2, LSA5 by itself. If it doesn't work properly - please send me docker log flask output to the email. Thanks.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Vadims06/topolograph/issues/5#issuecomment-777042625, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABLKV5KKUJZUCBHXC4GAY5LS6LZ23ANCNFSM4WOQD44A .

Vadims06 commented 3 years ago

Hi @hellt, @laimaretto , I'm just wondering - did you have a chance to try a fetch the network state via NAPALM driver from topologtaph? Probably you faced with some issues or something else?,, Thanks.

Vadims06 commented 3 years ago

Nokia support was included in v2.14. If you faced with any issues - please do not hesitate to open it again.

Vadims06 commented 2 years ago

Hi @hellt @laimaretto @rp-nz I would like to share with you and offer another extension of Topolograph - OSPF Watcher. The watcher connects to a real network via GRE tunnel and logs any changes in the topology. Logs then are exported to Elastic Search stack where can be filtered by the required time period. So you can always find out what has been happening with your topology in the past.