LMI_IPConfigurationService¶
Class reference¶
Subclass of CIM_IPConfigurationService
CIM_IPConfigurationService provides management of the IP configuration associated with a LANEndpoint or IPProtocolEndpoint or IPNetworkConnection or the global IP configuration for the ComputerSystem. CIM_IPConfigurationService also provides methods to support the additon and removal of an IPProtocolEndpoint to support the addition of a Layer 3 interface to a port, system or network.
Key properties¶
Local properties¶
None
Local methods¶
uint32 ApplySettingToLANEndpoint (CIM_IPAssignmentSettingData Configuration, CIM_LANEndpoint Endpoint, CIM_ConcreteJob Job)
Apply the configuration represented by the IPAssignmentSettingData to the specified LANEndpoint. This will result in the value of the IsCurrent property of the CIM_ElementSettingData which associates the specified CIM_IPAssignmentSettingData and specified CIM_LANEndpoint have a value of “true”. The IsCurrent property of any other instances of CIM_ElementSettingData which reference the specified CIM_LANEndpoint and an instance of CIM_IPAssignmentSettingData will have a value of “false”. Each instance of CIM_StaticIPAssignmentSettingData which is aggregated into the target CIM_IPAssignmentSettingData instance will result in the creation of an instance of CIM_IPProtocolEndpoint associated with the target CIM_LANEndpoint instance via an instance of the CIM_BindsTo association. The created CIM_IPProtocolEndpoint instance will have the values specified in the CIM_StaticIPAssignmentSettingData instance.
ValueMap Values 0 Completed with No Error 1 Not Supported 2 Unknown/Unspecified Error 3 Failed 4 Invalid Parameter 5 Busy 4096 Method Parameters Checked - Job Started Parameters
- IN CIM_IPAssignmentSettingData Configuration
- The IPAssignmentSettingData to apply.
- IN CIM_LANEndpoint Endpoint
- The LANEndpoint to which the configuration will be applied.
- OUT CIM_ConcreteJob Job
- Reference to the job spawned if the operation continues after the method returns. (may be null if task completed).
uint32 ApplySettingToIPNetworkConnection (CIM_IPAssignmentSettingData SettingData, CIM_IPVersionSettingData IPVersionSettingData, CIM_IPNetworkConnection IPNetworkConnection, uint16 Mode, CIM_ConcreteJob Job)
Apply the IP setting respresented by the LMI_IPAssignmentSettingData to the specified IPNetworkConnection. The settings may take effect or disable immediately or may be set to take effect or disable in the next boot, depending on system, IPNetworkConnection, Setting and the value specified for Mode. This will reflect in the IsCurrent & IsNext property of instances of LMI_IPElementSettingData associating the SettingData with the IPNetworkConnection. For cases, enabling one setting can result in automatic disabling of another setting, it will be refelected in the properties of ElementSettingData associating those settings to the IPNetworkConnection. Refer the description for the Mode parameter for more details.
ValueMap Values 0 Completed with No Error 1 Not Supported 2 Unknown/Unspecified Error 3 Failed 4 Invalid Parameter 5 Busy 4096 Method Parameters Checked - Job Started Parameters
- IN CIM_IPAssignmentSettingData SettingData
- The IPAssignmentSettingData to apply.
- IN CIM_IPVersionSettingData IPVersionSettingData
- This value is always ignored, present only for API compatibility.
- IN CIM_IPNetworkConnection IPNetworkConnection
- The IPNetworkConnection to which the configuration will be applied
- IN
uint16ModeThe mode in which the configuration need to be applied to the IPNetworkConnection.
Mode 0- implies useMode 1if allowed, elseMode 2.Mode 1- Results inIsNext = 1 (Is Next),IsCurrent = 1 (Is Current)for the CIM_ElementSettingData associating the setting with IPNetworkConnection.Mode 2- Results inIsNext = 1 (Is Next)for the CIM_ElementSettingData associating the setting with IPNetworkConnection. The value ofIsCurrentwill not be affected.Mode 3- implies useMode 4if allowed, elseMode 5.Mode 4- Results inIsNext = 2 (Is Not Next),IsCurrent = 2 (Is Not Current)for the CIM_ElementSettingData associating the setting with IPNetworkConnection.Mode 5- Results inIsNext = 2 (Is Not Next)for the CIM_ElementSettingData associating the setting with IPNetworkConnection. The value ofIsCurrentwill not be affected.Mode 6- Results inIsNext = 3 (Is Next For Single Use)for the CIM_ElementSettingData associating the setting with IPNetworkConnection. The value of IsCurrent will not be affected. To change theIsNext = 3 (Is Next For Single Use)for a Setting, invoke the method with any of the other values for the mode.-Mode 32768- Results inIsCurrent = 1 (Is Current)for the CIM_ElementSettingData associating the setting with IPNetworkConnection. The value ofIsNextwill not be affected.Mode 32769- Results inIsCurrent = 2 (Is Not Current)for the CIM_ElementSettingData associating the setting with IPNetworkConnection. The value ofIsNextwill not be affected.
ValueMap Values 0 Mode 0 1 Mode 1 2 Mode 2 3 Mode 3 4 Mode 4 5 Mode 5 6 Mode 6 32768 Mode 32768 32769 Mode 32769 - OUT CIM_ConcreteJob Job
- Reference to the job spawned if the operation continues after the method returns. (may be null if task completed).
uint32 ApplySettingToIPProtocolEndpoint (CIM_IPAssignmentSettingData Configuration, CIM_IPProtocolEndpoint Endpoint, CIM_ConcreteJob Job)
Apply the configuration represented by the CIM_IPAssignmentSettingData to the specified IPProtocolEndpoint. This will result in the value of the IsCurrent property of the CIM_ElementSettingData which associates the specified CIM_IPAssignmentSettingData and specified CIM_IPProtocolEndpoint having a value of “true”. The IsCurrent property of any other instances of CIM_ElementSettingData which reference the specified CIM_IPProtocolEndpoint and an instance of CIM_IPAssignmentSettingData will have a value of “false”. Each instance of CIM_IPAssignmentSettingData which is aggregated into the target CIM_IPAssignmentSettingData instance will be applied to the CIM_ProtocolEndpoint to which it is associated via an instance of CIM_ElementSettingData where the CIM_ProtocolEndpoint is associated with the target CIM_IPProtocolEndpoint via an instance of CIM_EndpointIdentity.
ValueMap Values 0 Completed with No Error 1 Not Supported 2 Unknown/Unspecified Error 3 Failed 4 Invalid Parameter 5 Busy 4096 Method Parameters Checked - Job Started Parameters
- IN CIM_IPAssignmentSettingData Configuration
- The IPAssignmentSettingData to apply.
- IN CIM_IPProtocolEndpoint Endpoint
- The IPProtocolEndpoint to which the configuration will be applied.
- OUT CIM_ConcreteJob Job
- Reference to the job spawned if the operation continues after the method returns. This parameter MUST NOT be null if a value of 4096 is returned. This parameter MUST be null if any other value is returned by the method.
Inherited properties¶
uint16 RequestedStateuint16 HealthStatestring[] StatusDescriptionsstring InstanceIDuint16 CommunicationStatusstring SystemNamestring LoSIDstring Statusstring ElementNamestring Descriptionuint16 TransitioningToStateboolean Starteddatetime TimeOfLastStateChangeuint16 PrimaryStatusuint16 DetailedStatusstring Namedatetime InstallDateuint16 EnabledDefaultuint16 EnabledStatestring LoSOrgIDstring PrimaryOwnerContactstring Captionstring StartModeuint16[] AvailableRequestedStatesuint64 Generationstring OtherEnabledStateuint16[] OperationalStatusuint16 OperatingStatusstring SystemCreationClassNamestring CreationClassNamestring PrimaryOwnerName