All Projects → vesposito → easyucs

vesposito / easyucs

Licence: GPL-2.0 license
EasyUCS is a toolbox to help deploy, manage and document Cisco UCS devices

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to easyucs

iosxrv-x64-vbox
IOS XR VirtualBox Vagrant Image Generation tools
Stars: ✭ 72 (+157.14%)
Mutual labels:  cisco
notes
CCIE routing and switching notes and references, with a general directory and specific topic directories.
Stars: ✭ 23 (-17.86%)
Mutual labels:  cisco
spark-netflow
NetFlow data source for Spark SQL and DataFrames
Stars: ✭ 16 (-42.86%)
Mutual labels:  cisco
ARF-Converter
Bulk ARF file converter
Stars: ✭ 15 (-46.43%)
Mutual labels:  cisco
Firepower O365 Feed Parser
This is a Sample Script that can parse the O365 Web Service API and upload it to Firepower Management Center as Group Objects.
Stars: ✭ 56 (+100%)
Mutual labels:  cisco
catalyst9k-network-automation
Sample python scripts for automation workflows for feature sets present in Catalyst Switching using openly available YANG data models
Stars: ✭ 40 (+42.86%)
Mutual labels:  cisco
johann-network-device-monitoring
johann is a web-based network device monitoring tool for Cisco IOS XE devices. Collect configuration and operational data of your networking devices in a structured way in one single database!
Stars: ✭ 62 (+121.43%)
Mutual labels:  cisco
cisco-pnp-ztp-guestshell
Cisco Zero Touch Protocol (ZTP) with Python Scripts
Stars: ✭ 17 (-39.29%)
Mutual labels:  cisco
topolograph
Topolograph.com is an online project which can visualize OSPF/ISIS topology based on single OSPF LinkState DataBase scrapping from one network device ( thanks OSPF =). 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. The exist…
Stars: ✭ 84 (+200%)
Mutual labels:  cisco
pyaci
Python Bindings for Cisco ACI REST API
Stars: ✭ 42 (+50%)
Mutual labels:  cisco
language-cisco
Add syntax highlighting to Cisco configuration files in Atom
Stars: ✭ 48 (+71.43%)
Mutual labels:  cisco
DirectFire Converter
DirectFire Firewall Converter - Network Security, Next-Generation Firewall Configuration Conversion, Firewall Syntax Translation and Firewall Migration Tool - supports Cisco ASA, Fortinet FortiGate (FortiOS), Juniper SRX (JunOS), SSG / Netscreen (ScreenOS) and WatchGuard (support for further devices in development). Similar to FortiConverter, Sm…
Stars: ✭ 34 (+21.43%)
Mutual labels:  cisco
gen-cisco
🧨 Generates Cisco scripts based on YAML files
Stars: ✭ 29 (+3.57%)
Mutual labels:  cisco
cheat-sheets
Cheat sheets to help you in daily hands-on tasks of trouble shooting, configuration, and diagnostics with Fortinet, HP/Aruba, Cisco, Checkpoint and others' gear.
Stars: ✭ 63 (+125%)
Mutual labels:  cisco
univention-app
📦 Nextcloud App for the Univention Corporate Server
Stars: ✭ 27 (-3.57%)
Mutual labels:  ucs
ixgen
Ixgen is yet-another open-source, multi-platform generator for peering configurations on IXs incorporating the global peeringdb api, but also is able to spin up its own "compatible" server for faster results. Ixgen is configured by an INI- or JSON-style format, producing custom template-driven or fixed json-style configurations, that can be prin…
Stars: ✭ 38 (+35.71%)
Mutual labels:  cisco
dne-security-code
No description or website provided.
Stars: ✭ 30 (+7.14%)
Mutual labels:  cisco
ccna
A summary of CCNA-useable cisco commands by @elsmr and @Haroenv
Stars: ✭ 16 (-42.86%)
Mutual labels:  cisco
sastre
Automation Tools for Cisco SD-WAN Powered by Viptela
Stars: ✭ 43 (+53.57%)
Mutual labels:  cisco
finesseGadgets
Collection of gadgets for Cisco Finesse
Stars: ✭ 25 (-10.71%)
Mutual labels:  cisco

EasyUCS published

EasyUCS is a toolbox to help deploy and manage Cisco UCS devices.

It can :

Getting Started

These instructions will get you a copy of the project up and running on your local machine.

Prerequisites

Minimum versions of UCS devices :

  • UCS Manager: 3.2(1d) or above
  • UCS IMC: 3.0(1c) or above
  • UCS Central: 2.0(1a) or above

This tool requires Python 3.6+ to work. Python 2.x is not supported.

Python can be used on Windows, Linux/Unix, Mac OS X and more.

You can download the latest version of Python 3 on the official website.

Installing

EasyUCS can be installed using any of ways below:

From GitHub

Click "Clone or Download" and "Download ZIP" on the GitHub website to download the whole project.

Uncompress the zip and put the folder on your system.

From Git command line

You need to have Git on your system (not necessarily installed by default on all types of system).

Navigate to your desired path where you want EasyUCS to be placed on and clone it through your command-line console,

git clone https://github.com/vesposito/easyucs.git

Requirements

EasyUCS requires some Python modules dependencies. The file requirements.txt contains all of these requirements.

Use Python Pip to install all of them.

  • for Max OS X, Unix, Linux:
pip install -r requirements.txt
  • for Windows:
python -m pip install -r requirements.txt

Running EasyUCS

EasyUCS can be used with command line interface or via a Web GUI.

Using the Command-Line Interface (CLI)

Push config file config_ucsm.json to UCS system

python easyucs.py config push -t ucsm -i 192.168.0.1 -u admin -p password -f configs/config_ucsm.json

Push config file config_cimc.json to UCS IMC

python easyucs.py config push -t cimc -i 192.168.0.2 -u admin -p password -f configs/config_cimc.json

Perform initial setup of UCS system using DHCP IP addresses 192.168.0.11 & 192.168.0.12 and push config file config_ucsm.json

python easyucs.py config push -t ucsm -f configs/config_ucsm.json -s 192.168.0.11 192.168.0.12

Reset UCS system, perform initial setup using DHCP IP addresses 192.168.0.11 & 192.168.0.12 and push config file config_ucsm.json

python easyucs.py config push -t ucsm -i 192.168.0.1 -u admin -p password -f configs/config_ucsm.json -r -s 192.168.0.11 192.168.0.12

Fetch config from UCS system and save it to output/configs/config_ucsm.json

python easyucs.py config fetch -t ucsm -i 192.168.0.1 -u admin -p password -o output/configs/config_ucsm.json

Fetch inventory from UCS IMC and save it to output/inventories/inventory_cimc.json

python easyucs.py inventory fetch -t cimc -i 192.168.0.2 -u admin -p password -o output/inventories/inventory_cimc.json

Create schemas from UCS system and save them to output/schemas folder

python easyucs.py schemas create -t ucsm -i 192.168.0.1 -u admin -p password -o output/schemas

Create report from UCS system and save it to output/reports folder (also creates schemas)

python easyucs.py report generate -t ucsm -i 192.168.0.1 -u admin -p password -o output/reports

Regenerate expired Self-signed Certificate of UCS system

python easyucs.py device regenerate_certificate -t ucsm -i 192.168.0.1 -u admin -p password

Clear SEL Logs of all discovered servers of UCS system

python easyucs.py device clear_sel_logs -t ucsm -i 192.168.0.1 -u admin -p password

Clear Intersight Device Connector claim status for UCS system

python easyucs.py device clear_intersight_claim_status -t ucsm -i 192.168.0.1 -u admin -p password

Using the Web Graphical User Interface (GUI)

The Web GUI is hosted by your machine, in order to launch it you need to use the file easyucs_gui.py.

python easyucs_gui.py

Built With

  • ucsmsdk - The UCS Manager Python SDK
  • imcsdk - The UCS IMC Python SDK
  • ucscsdk - The UCS Central Python SDK

Versioning

0.9.7.4

  • Add inventory of PCIe risers for rack servers
  • Cleanup of all catalog files
  • Add flag for Intersight Managed Mode support status per equipment in UCSM inventory
  • Add support for UCS C240 M5SD
  • Add support for BIOS Tokens up to UCSM 4.1(3a)
  • Add inventory of memory errors per DIMM in UCSM inventory
  • Miscellaneous bug fixes and improvements

0.9.7.3

  • Add support for Authentication (Native & Authentication Domains) in UCSM config
  • Move Intersight Device Connector config to common structure between UCSM & IMC
  • Add missing "Storage Config. Deployment Policy" attribute in Maintenance Policies in UCSM config
  • Other small bug fixes and improvements

0.9.7.2

  • Add support for Intersight Device Connector in inventory & config for UCSM & IMC
  • Add Device Connector section in UCSM & IMC report
  • Add support for clearing Intersight Claim Status for UCSM & IMC Device Connector
  • Miscellaneous bug fixes

0.9.7

  • Add device actions in CLI ("regenerate_certificate", "clear_sel_logs", "clear_user_sessions")
  • Add "Policies" section in UCSM report with Server Policies (Boot, BIOS, Local Disk Config, Scrub, etc.)
  • Add support for System Profile & Policies settings in UCS Central config (Interfaces, DNS, Date&Time, Remote Access, Syslog)
  • Add support for System Profile & Policies settings in Domain Groups in UCS Central config (DNS, Date&Time, Remote Access, Equipment Policies, Syslog)
  • Add support for User Settings in UCS Central config (Password Profile, Local Users, Roles & Locales)
  • Add support for User Settings in Domain Groups in UCS Central config (Roles & Locales)
  • Add support for SNMP settings in UCS Central config & Domain Groups
  • Add support for Syslog & Global Fault Policy settings in UCSM config
  • Add support for Azure Stack environments
  • Add support for C4200 in UCSM report
  • Add inventory of HBA adapters in IMC inventory
  • Major reorganization of report code
  • Multiple bug fixes and improvements

0.9.6

  • Add support for UCSM 4.1(1) specific features (FI 64108 & Unified Ports, Fan Control Policy, new BIOS Tokens, Writable vMedia Mount)
  • Add support for fetching Reserved VLAN Start ID for FI 6400 (push is planned for a future release)
  • Add VLAN Port Count information in inventory and report
  • Add IMC S3260 I/O Expander in inventory
  • Add SSD stats in inventory when available
  • Memory consumption optimization for schemas generation
  • Multiple bug fixes and improvements

0.9.5

  • Add support for UCSM 4.0(4) specific features (M.2 HWRAID, Persistent Memory Policies, Alternate KVM Port)
  • Add support for configuring up to 16 Unified Ports on FI 6454
  • Add support for VSANs on UCS Central
  • Add preliminary support for upcoming FI 64108
  • Reorganization of device, config and inventory folders to clean up files
  • Bump up requirements packages versions
  • Miscellaneous bug fixes and improvements (including fix for missing dependency on tkinter package)

0.9.4

  • Add support for "comment" field in all sections of a configuration file for easily add comments to specific items of a configuration
  • Add support for Fabric Interconnect port licenses in inventory and report
  • Add support for 1st Gen Fabric Interconnects 6120XP/6140XP
  • Add support for UCS Central inventory fetch (will fetch inventories of all registered domains)
  • Support up to 32 Service Profile Templates when generating schemas
  • Bump up requirements packages versions
  • Miscellaneous bug fixes and improvements

0.9.3

  • Include Storage Enclosures & drives of S3260 in report
  • Add support for UEFI Boot Parameters in SAN Boot (Boot Policies)
  • Remove admin password from report (for security reasons)
  • Change "generate report" command argument to specify directory instead of report file name. All required files will be written in that directory
  • Automatically export config & inventory to JSON files when generating report
  • Lots of bug fixes and improvements

0.9.2

  • Include portions of Logical Configuration in Technical Architecture Documentation, including Networking, Organizations, Identities and Service Profiles
  • Add support for Dynamic vNIC Connection Policies in UCS Manager
  • Add preliminary support for S3260 in IMC for config fetch/push - works for single server node only for now
  • Add support for C4200 and C125 server node
  • Various bug fixes and improvements

0.9.1

  • Add automatic Technical Architecture Documentation creation (containing detailed inventory and architecture schemas)
  • Add support for LAN & SAN Global Policies in UCS Manager (VLAN Port Count Optimization, VLAN Org Permissions, Inband Profile)
  • Rework of NVMe drives support in inventory (now displayed in its own nvme_drives section instead of being in storage_controllers)
  • Add support for IOM 2408, HXAF220C All NVMe, C480 M5 ML
  • Various bug fixes and improvements

0.9.0

Initial release

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the GPLv2 License - see the LICENSE file for details

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].