'The custom case for the interfaces. Plays a little
with the information in the given model to create a solution acceptable
by resolveConflict. n is the right or left view, should be
either 1 or 2 as integers'

def case_for_interfaces(self, model, n):

    solution = {}
    solution['ipv4'] = {}
    solution['ipv6'] = {}
    for row in model:
        prop_name = row[0].lower()
        if prop_name.startswith('ipv4'):
            prop_name = prop_name.split('    ')[1]
            if (not prop_name.startswith('dns')):
                solution['ipv4'][prop_name] = self.uncook(row[n], row[4])
            elif prop_name.startswith('dns'):
                solution['ipv4']['DNS'] = self.uncook(row[n], row[4])
        elif prop_name.startswith('ipv6'):
            prop_name = prop_name.split('    ')[1]
            if (not prop_name.startswith('dns')):
                solution['ipv6'][prop_name] = self.uncook(row[n], row[4])
            elif prop_name.startswith('dns'):
                solution['ipv6']['DNS'] = self.uncook(row[n], row[4])
        else:
            solution[prop_name] = self.uncook(row[n], row[4])
    return solution
