def parse_exposed_ports(ps):
    result = {}
    for p in ps:
        if '-' in p:
            # it is a range from port to port
            p1, p2 = p.split('-')
            for x in range(p1, p2 + 1):
                result[x] = None
        else:
            result[p] = None
    return result
Removes the specified key from the object's metadata. If the key does
dataset/ETHPy150Open j-bennet/wharfee/wharfee/helpers.py/parse_exposed_ports--crossover with--dataset/ETHPy150Open rackspace/pyrax/pyrax/object_storage.py/StorageObjectManager.remove_metadata_key