nautobot / nautobot-app-ssot

Single Source of Truth for Nautobot
https://docs.nautobot.com/projects/ssot/en/latest/
Other
37 stars 35 forks source link

Stacked Device Support #190

Closed ghost closed 7 months ago

ghost commented 1 year ago

Environment

Summary

IP Fabric

When IP Fabric discovers a stacked switch it creates a single record in the "Device Inventory" table.

Information about stacks can be found at the following tables:

Please see https://matrix.ipfabric.io/ (search Stacking) for which vendor and families IP Fabric supports stacked switches. We are continually adding support for new vendors so please make sure to select the correct IPF version on the website.

Proposed Functionality

Using Inventory > Part Numbers

See nautobot/nautobot-plugin-ssot#196

image

Using Device Bay

Nautobot Breadcrumb:

IP Fabric Cisco Example:

[
  {
    "master": "HWLAB-C3750-STACK",
    "sn": "c0a86903",
    "siteName": "HWLAB",
    "connectionsCount": 2,
    "member": "1",
    "pn": "WS-C3750E-24TD-S",
    "memberSn": "FDO1607Y2W8",
    "role": "master",
    "state": "ready",
    "mac": "3cce.73a8.6e80",
    "ver": "12.2(55)SE12",
    "image": "C3750E-UNIVERSALK9-M",
    "hwVer": "1"
  },
  {
    "master": "HWLAB-C3750-STACK",
    "sn": "c0a86903",
    "siteName": "HWLAB",
    "connectionsCount": 2,
    "member": "2",
    "pn": "WS-C3750-24PS-S",
    "memberSn": "CAT0922K1HF",
    "role": "member",
    "state": "ready",
    "mac": "0014.6a06.2180",
    "ver": "12.2(55)SE12",
    "image": "C3750-IPSERVICESK9-M",
    "hwVer": "0"
  },
  {
    "master": "HWLAB-C3750-STACK",
    "sn": "c0a86903",
    "siteName": "HWLAB",
    "connectionsCount": 0,
    "member": "3",
    "pn": null,
    "memberSn": null,
    "role": "member",
    "state": "provisioned",
    "mac": "0000.0000.0000",
    "ver": null,
    "image": null,
    "hwVer": "0"
  }
]

image

Open Questions

Using Inventory > Part Numbers

See nautobot/nautobot-plugin-ssot#196

Device Bays

Pros/Cons

Using Inventory > Part Numbers

Device Bays

Use Case

Collect important inventory information on stacked members like Part Numbers and Serial Information.

jdrew82 commented 9 months ago

If these are truly stacked devices, ie devices where there's a single management/control plane and member devices that act as a cohesive unit, then I think using VirtualChassis for this makes much more sense than Device Bays. This is how we currently suggest representing Stackwise type devices from Cisco in Nautobot. This allows for you to have a Device per "blade" or member device (switch), and a Device to represent the control plane as the "master" device. Then each member device will have the relevant information on it, such as Interfaces, serial, etc and the master device will automatically show all Interfaces from member devices combined.