def update_router_port_statuses(self, context, port_ids, status):
setattr(context, '<STR_LIT>', False)<EOL>for port_id in port_ids:<EOL><INDENT>self._core_plugin.update_port_status(context, port_id, status)<EOL><DEDENT>
Function that gets called when asr plugin notifies about router port
           status changes. By default, all ports are created with status set to
           DOWN and when the ASR plugin creates the port it notifies the DB to
           change the status to ACTIVE.