This Script retrieves the DN (Distinguished Name in the Managed Object Tree) and Serial Number for the following equipment:
- Fabric Interconnects
- Fabric Interconnect Expansion Cards
- Chassis
- Chassis IO Modules
- Blade Servers
- Rack Servers
Dependencies for this script include:
- Python 2.7.X
- https://github.com/CiscoUcs/ucsmsdk
- csv module
- argparse module
- getpass module
Arguments to the Script are required, they are:
* -u --ucs The IP or HostName of the UCS Manager VIP
* -o --out The Out File path for the generated CSV
Caveats:
This Script does little error handling, it is "select" only and should have no deleterious effect on your UCS Domain. However, running it repeatedly with failures can leave API sesssions lingering in UCSM of which there are a finite amount of.
-
Notifications
You must be signed in to change notification settings - Fork 0
Dump Serial Numbers from a UCS Domain using https://github.com/excilsploft/ucs-serial
excilsploft/ucs-serial
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Dump Serial Numbers from a UCS Domain using https://github.com/excilsploft/ucs-serial
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published