def int_to_port_map(name, offset, number_of_interfaces):
    """
    Create a dict of interfaces to port maps
    :param name: Name of the base interface without the port number eg: swp
    :param offset: Number of the first interfaces eg: 0 or 1
    :param number_of_interfaces: Number of interfaces to create
    :return: Dictionary of interface to data port mappings
    """
    mapping = {}
    for i in range(offset, number_of_interfaces + offset):
        mapping.update({i: f'{name}{i}'})
    return mapping
