def METHOD_NAME(conf: CiscoConfParse,
                               what: str) -> Dict[str, int]:
    '''Return interfaces that match the requested info for Cumulus.
    This involves parsing the ifupdown2 config looking for the relevant info.
    what can be access or trunk. For access ports, we return a dict that
    contains the access vlan for the interface.
    '''
    pm_dict = {}
    if what == 'access':
        for intf in conf.find_objects_w_all_children(
                '^iface ', ['bridge-access']):
            ifname = intf.text.split('iface')[1].strip()
            acc_vlan = intf.re_match_iter_typed(r'^.*bridge-access\s+(\d+)')
            if acc_vlan.isnumeric():
                pm_dict[ifname] = int(acc_vlan)
            else:
                pm_dict[ifname] = 0
    if what == "trunk":
        acc_ports = []
        for intf in conf.find_objects_w_all_children(
                '^iface ', ['bridge-access']):
            acc_ports.append(intf.text.split('iface')[1].strip())
        bridge_port_lines = conf.find_lines('bridge-ports')
        for line in bridge_port_lines:
            if line.strip().startswith('#'):
                continue
            # This line looks like this:
            # bridge-ports bond01 bond02 peerlink vni13 vni24 vxlan4001
            # Ignore the keyword, and trunk ports are those that are not
            # access ports
            brports = line.split()[1:]
            pm_dict = {port: '1' for port in brports
                       if port not in acc_ports}
        # Now we need to find the PVID for the ports
        for intf in conf.find_objects_w_child('iface ', 'bridge-pvid'):
            port = intf.text.split('iface')[1].strip()
            if port not in pm_dict:
                vlan = intf.re_match_iter_typed(r'bridge-pvid\s+(\d+)')
            else:
                vlan = intf.re_match_iter_typed(r'bridge-pvid\s+(\d+)')
            if vlan.isnumeric():
                pm_dict['port'] = int(vlan)
            else:
                pm_dict['port'] = 0
    return pm_dict