def _add_networks(self, routing_settings):
        networks = routing_settings.setdefault('networks', [])
        for prefix in networks:
            try:
                call('network.add', prefix=prefix)
                LOG.debug('Added network %s', prefix)
            except RuntimeConfigError as e:
                LOG.error(e)
                continue
Add networks from given settings to BGPS runtime.
dataset/ETHPy150Open osrg/ryu/ryu/services/protocols/bgp/application.py/RyuBGPSpeaker._add_networks