Project Description

Analysis of the status of the CISCO switch ports relating to the scientific facilities managed by the Controls Group.

The tool must also provide information on the devices connected to them.

Project Requirementspysnmp, argparse, re, csv, datetime, time
Document status

DRAFT

Document owner
Designer

Developer

Language

Python

Language Version

3.6.8

Reference Libraries

pysnmp(4.4.12), cvs, re (only the most relevant libraries)

Last revision released

1.0 (14-11-2023)

Test Environment

Operating trough ssh on `Vldanteco101` (require authentication)

Test Hardware 

swadonelab1.lnf.infn.it

swsparc06.lnf.infn.it

swsparc19.lnf.infn.it

swsparc20.lnf.infn.it

(asset ref is possible - in this case the name of switches under test)

Repository GIT

https://baltig.infn.it/lnf-da-control/py-cisco-info

Documentation Links

https://www.cisco.com/c/en/us/support/all-products.html

http://www.net-snmp.org/docs/readmefiles.html

Changelog
  • 1.0 (14/11/2023) The "port number" parameter is back in the CSV, still not clear why sometimes the Mac address are missing, the program only shows port that are not registered as "unrouted VLAN".
  • 0.9 the Mac address are NOT getting fixed already.
    the 
    argument --port has been removed, for now the program is testing a fixed number of 60 port.the parameter portNumber has been temporary removed 
    while using the swadonelab1 for the test an error prevent the acquisition of the port number, the program still execute but the CSV is missing one parameter
  • 0.8 fixed the csv file and added the parameter "configuration", not yet fixed the issue with the Mac address 
Upcoming changes
  • create a library for all the method currently in the program
  • create some test structure to simplify the updating process
  • improve the application's ability to find and adapt to different type of switch and SNMP structure




  • No labels