'Creates a datastore folder.
This method returns silently if the folder already exists.
:param ds_name: datastore name
:param folder_path: path of folder to create
:param datacenter: datacenter of target datastore'

def create_datastore_folder(self, ds_name, folder_path, datacenter):

    fileManager = self._session.vim.service_content.fileManager
    ds_folder_path = ('[%s]    %s' % (ds_name, folder_path))
    LOG.debug('Creating    datastore    folder:    %s.', ds_folder_path)
    try:
        self._session.invoke_api(self._session.vim, 'MakeDirectory', fileManager, name=ds_folder_path, datacenter=datacenter)
        LOG.info('Created    datastore    folder:    %s.', folder_path)
    except exceptions.FileAlreadyExistsException:
        LOG.debug('Datastore    folder:    %s    already    exists.', folder_path)
