def copy_vpcs_configs(source, target):
    """
    Copy any VPCS configs to the converted topology

    :param str source: Source topology directory
    :param str target: Target topology files directory
    """
    # Prepare a list of files to copy
    vpcs_files = glob.glob(os.path.join(source, 'configs', '*.vpc'))
    vpcs_hist = os.path.join(source, 'configs', 'vpcs.hist')
    vpcs_config_path = os.path.join(target, 'vpcs', 'multi-host')
    if os.path.isfile(vpcs_hist):
        vpcs_files.append(vpcs_hist)
    # Create the directory tree
    if len(vpcs_files) > 0:
        os.makedirs(vpcs_config_path)
    # Copy the files
    for old_file in vpcs_files:
        new_file = os.path.join(vpcs_config_path, os.path.basename(old_file))
        shutil.copy(old_file, new_file)
Copy any VPCS configs to the converted topology

    :param str source: Source topology directory
    :param str target: Target topology files directory