def _update_redundancy_router_interfaces(self, context, router,<EOL>port, modified_port_data,<EOL>redundancy_router_ids=None,<EOL>ha_settings_db=None):
router_id = router['<STR_LIT:id>']<EOL>if ha_settings_db is None:<EOL><INDENT>ha_settings_db = self._get_ha_settings_by_router_id(context,<EOL>router_id)<EOL><DEDENT>if ha_settings_db is None:<EOL><INDENT>return<EOL><DEDENT>e_context = context.elevated()<EOL>rr_ids = self._get_redundancy_router_ids(e_context, router_id)<EOL>port_info_list = self._core_plugin.get_ports(<EOL>e_context, filters={'<STR_LIT>': rr_ids,<EOL>'<STR_LIT>': [port['<STR_LIT>']]},<EOL>fields=['<STR_LIT>', '<STR_LIT:id>'])<EOL>for port_info in port_info_list:<EOL><INDENT>self._core_plugin.update_port(e_context, port_info['<STR_LIT:id>'],<EOL>modified_port_data)<EOL><DEDENT>self._update_hidden_port(e_context, port['<STR_LIT:id>'], modified_port_data)<EOL>
To be called when the router interfaces are updated,
        like in the case of change in port admin_state_up status