White Papers

119 Lifecycle Controller Integration Best Practices Guide
ProfileRequireLicenseStatus = LICENSED
RegisteredName = Simple NIC
RegisteredOrganization = 1
RegisteredVersion = 1.2.0
18.2 Inventory of NICs in System
Use the following procedure below to list the inventory of all NICs in the system.
Applies to: LC1.5.0+
Prerequisites for script: none
Script: GetNICViews.win
A) The Lifecycle Controller remote service must be in a “ready” state before running any other WSMAN commands.
The GetRSStatus() method or the GetRemoteServicesAPIStatus() method may be used depending on the version of the
LC Management registered profile.
B) GetNICViews(): ENUMERATE the DCIM_NICView class to view all instances. See section 2.2 for a definition of
ENUMERATE .
The instance information of all available NICs will be returned.
18.3 Get Information About the First NIC
Use the following procedure to get a single NIC instance. The URI for getting particular instance information is
deterministic (i.e the InstanceID will be unique for each instance).
Applies to: LC1.5.0+
Prerequisites for script: Set desired instanceID by editing script
Script: GetNICView.win
A) The Lifecycle Controller remote service must be in a “ready” state before running any other WSMAN commands.
The GetRSStatus() method or the GetRemoteServicesAPIStatus() method may be used depending on the version of the
LC Management registered profile.
B) GetNICView(): GET the DCIM_NICView instance using an instanceID, such as NIC.Mezzanine.2B-1. See
Section 2.3 for a definition of GET.
The instance of DCIM_NICView that contains the information on the first NIC will be returned.