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