'get virtual access point info'

def get_bd_vap_dict(self):

    vap_info = dict()
    conf_str = (CE_NC_GET_BD_VAP % self.bridge_domain_id)
    xml_str = get_nc_config(self.module, conf_str)
    if ('<data/>' in xml_str):
        return vap_info
    xml_str = xml_str.replace('\r', '').replace('\n', '').replace('xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"', '').replace('xmlns="http://www.huawei.com/netconf/vrp"', '')
    vap_info['bdId'] = self.bridge_domain_id
    root = ElementTree.fromstring(xml_str)
    vap_info['vlanList'] = ''
    vap_vlan = root.find('data/evc/bds/bd/bdBindVlan')
    vap_info['vlanList'] = ''
    if vap_vlan:
        for ele in vap_vlan:
            if (ele.tag == 'vlanList'):
                vap_info['vlanList'] = ele.text
    vap_ifs = root.findall('data/evc/bds/bd/servicePoints/servicePoint/ifName')
    if_list = list()
    if vap_ifs:
        for vap_if in vap_ifs:
            if (vap_if.tag == 'ifName'):
                if_list.append(vap_if.text)
    vap_info['intfList'] = if_list
    return vap_info
