Git Product home page Git Product logo

switchmap-ng's People

Contributors

dcthor avatar palisadoes avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

switchmap-ng's Issues

Create a network device hardware modules page

Chassis based, modularized Cisco devices present module information in snmp. This data is captured in the device YAML files. We need to create a page that shows the following information per device where applicable.

  1. Device
  2. Slot module is in
  3. Model of module
  4. Description
  5. HW revision
  6. FW revision
  7. SW revision
  8. Serial number

Make LLDP detection work for routers and switches.

The MIB is indexed differently depending on whether the device views itself as a router or switch. The failsafe determination of router or switch must be done without reference to the LLDP capabilities string as this may not be adhered to by all manufacturers.

https://www.iana.org/assignments/ianaiftype-mib/ianaiftype-mib

        A port number has no mandatory relationship to an
        InterfaceIndex object (of the interfaces MIB, IETF RFC 2863).
        If the LLDP agent is a IEEE 802.1D, IEEE 802.1Q bridge, the
        LldpPortNumber will have the same value as the dot1dBasePort
        object (defined in IETF RFC 1493) associated corresponding
        bridge port.  If the system hosting LLDP agent is not an
        IEEE 802.1D or an IEEE 802.1Q bridge, the LldpPortNumber
        will have the same value as the corresponding interface's
        InterfaceIndex object.

CAM Table History

Find way to save arp and cam table entries timestamped. Used in searches and remembering the last device seen attached to a port.

  • ip
  • mac
  • timestamp

Cisco VLAN Context Support for CAM Table

There needs to be a way to support populating the CAM table of devices. Suggested method:

  1. Get list of supported vlans by polling this OID .1.3.6.1.4.1.9.9.46.1.3.1.1.2
  2. Modify snmp query to include context derived from vlans
  3. Get mac addresses
  4. Populate YAML files
  5. MAC addresses should be added to jm_macs key

URLs

  1. http://pysnmp.sourceforge.net/examples/current/v3arch/oneliner/manager/cmdgen/set-v3-with-custom-contextengineid-and-contextname.html
  2. http://www.cisco.com/c/en/us/support/docs/ip/simple-network-management-protocol-snmp/13492-cam-snmp.html

Create statistics page

There is a need for a summary page. Not on the home page as this data could take time to calculate.

Inventory (A)

  1. Model number
  2. Number of devices

Inventory (B)

  1. Device name
  2. Model number

Ports Summary Table

  1. Device
  2. number of active ports
  3. number of inactive ports
  4. number of disabled ports
  5. total across rows and columns

ARP Table History

Find way to save ARP table entries for use in search box, or showing devices that were last seen on a port.

  • device,
  • ifindex,
  • mac
  • timestamp

Implement search box on each web page

Should search data for "IP address", "MAC address", "DNS name" or "Port Label" information. Results should be by device with tables matching those of the home page's device pages.

Create 4 categories of "Ports" tables

Need separate pages to show the following grouped by device. This is useful for network engineers to quickly determine ethernet port availability. Table row layout should match that of the home page device pages.

  1. Unused Ports (no link)
  2. Spare Ports (disabled)
  3. Gigabit Ethernet Ports
  4. Power-over-Ethernet Ports

Create "VLAN" table web pages

There should be a separate page per vlan showing the device and the relevant port data. Table row layout should match that of the home page device pages.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.