def update_fw_params(self, rtr_id=-1, fw_type=-1):
        """Updates the FW parameters. """
        if rtr_id != -1:
            self.router_id = rtr_id
        if fw_type != -1:
            self.fw_type = fw_type