DevNet Associate DEVASC 200-901 Official Certification Guide by Adrian Iliesiu (z-lib.org)

(andrew) #1
# Extract DN, serial number, admin state,
# model, and total memory for each blade
for BLADE in BLADES:
print('{0:23s}{1:8s}{2:12s}{3:14s}
{4:6s}'.format(
BLADE.dn,
BLADE.serial,
BLADE.admin_state,
BLADE.model,
BLADE.total_memory))
HANDLE.logout()

The results of running this script look as shown in Figure
9-11.


Figure 9-11 Output of the Python Script from
Example 9-11


CISCO UCS DIRECTOR


Automation delivers the essential scale, speed, and
repeatable accuracy needed to increase productivity and
respond quickly to business requirements in a data
center environment. Cisco UCS Director replaces manual
configuration and provisioning processes with

Free download pdf