Class VmwareImporter
- java.lang.Object
-
- org.opennms.netmgt.provision.service.vmware.VmwareImporter
-
public class VmwareImporter extends java.lang.Object
Generates a requisition of Vmware related entities using the configuration details given in the
VmwareImportRequest
.- Author:
- Christian Pape
, Alejandro Galue
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
METADATA_CONTEXT
static java.lang.String
METADATA_MANAGED_ENTITY_TYPE
static java.lang.String
METADATA_MANAGED_OBJECT_ID
static java.lang.String
METADATA_MANAGEMENT_SERVER
static java.lang.String
METADATA_STATE
static java.lang.String
METADATA_TOPOLOGY_INFO
static java.lang.String
VMWARE_COLLECTION_KEY
static java.lang.String
VMWARE_MANAGEMENT_SERVER_PASSWORD_KEY
static java.lang.String
VMWARE_MANAGEMENT_SERVER_USERNAME_KEY
static java.lang.String
VMWARE_SERVER_KEY
-
Constructor Summary
Constructors Constructor Description VmwareImporter(VmwareImportRequest request)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.String
getManagedEntityType(OnmsNode node)
static java.lang.String
getManagedObjectId(OnmsNode node)
static java.lang.String
getManagementServer(OnmsNode node)
Requisition
getRequisition()
static java.lang.String
getState(OnmsNode node)
static java.lang.String
getTopologyInfo(OnmsNode node)
-
-
-
Field Detail
-
METADATA_CONTEXT
public static final java.lang.String METADATA_CONTEXT
- See Also:
- Constant Field Values
-
METADATA_MANAGEMENT_SERVER
public static final java.lang.String METADATA_MANAGEMENT_SERVER
- See Also:
- Constant Field Values
-
METADATA_MANAGED_ENTITY_TYPE
public static final java.lang.String METADATA_MANAGED_ENTITY_TYPE
- See Also:
- Constant Field Values
-
METADATA_MANAGED_OBJECT_ID
public static final java.lang.String METADATA_MANAGED_OBJECT_ID
- See Also:
- Constant Field Values
-
METADATA_TOPOLOGY_INFO
public static final java.lang.String METADATA_TOPOLOGY_INFO
- See Also:
- Constant Field Values
-
METADATA_STATE
public static final java.lang.String METADATA_STATE
- See Also:
- Constant Field Values
-
VMWARE_MANAGEMENT_SERVER_USERNAME_KEY
public static final java.lang.String VMWARE_MANAGEMENT_SERVER_USERNAME_KEY
- See Also:
- Constant Field Values
-
VMWARE_MANAGEMENT_SERVER_PASSWORD_KEY
public static final java.lang.String VMWARE_MANAGEMENT_SERVER_PASSWORD_KEY
- See Also:
- Constant Field Values
-
VMWARE_COLLECTION_KEY
public static final java.lang.String VMWARE_COLLECTION_KEY
- See Also:
- Constant Field Values
-
VMWARE_SERVER_KEY
public static final java.lang.String VMWARE_SERVER_KEY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
VmwareImporter
public VmwareImporter(VmwareImportRequest request)
-
-
Method Detail
-
getRequisition
public Requisition getRequisition()
-
getManagementServer
public static java.lang.String getManagementServer(OnmsNode node)
-
getManagedObjectId
public static java.lang.String getManagedObjectId(OnmsNode node)
-
getManagedEntityType
public static java.lang.String getManagedEntityType(OnmsNode node)
-
getState
public static java.lang.String getState(OnmsNode node)
-
getTopologyInfo
public static java.lang.String getTopologyInfo(OnmsNode node)
-
-