'create CIM InstanceName from classname and bindings.'

def _create_eternus_instance_name(self, classname, bindings):

    LOG.debug('_create_eternus_instance_name,    classname:    %(cls)s,    bindings:    %(bind)s.', {'cls': classname, 'bind': bindings})
    instancename = None
    try:
        instancename = pywbem.CIMInstanceName(classname, namespace='root/eternus', keybindings=bindings)
    except NameError:
        instancename = None
    LOG.debug('_create_eternus_instance_name,    ret:    %s.', instancename)
    return instancename
