def _add_vrfs(self, routing_settings):
        vpns_conf = routing_settings.setdefault('vpns', {})
        for vrfname, vrf in vpns_conf.items():
            try:
                vrf[vrfs.VRF_NAME] = vrfname
                call('vrf.create', **vrf)
                LOG.debug('Added vrf  %s', vrf)
            except RuntimeConfigError as e:
                LOG.error(e)
                continue
Gets related API resources, i.e links to API doc of used classes.
dataset/ETHPy150Open osrg/ryu/ryu/services/protocols/bgp/application.py/RyuBGPSpeaker._add_vrfs--crossover with--dataset/ETHPy150Open rwl/muntjac/muntjac/demo/sampler/Feature.py/Feature.getRelatedAPI