def action(self, params):
        if len(params) == 0:
            return WrongParamResp('Not enough params')

        vrf_confs = self.api.get_vrfs_conf()
        if len(params) < 2:
            vrf_rf = 'ipv4'
        else:
            vrf_rf = params[1]

        vrf_key = params[0], vrf_rf

        if vrf_key in vrf_confs:
            view = ConfDetailView(vrf_confs[vrf_key])
            encoded = view.encode()
            encoded['routes_count'] = self._count_routes(params[0], vrf_rf)
        else:
            return WrongParamResp(str(vrf_key) % 'No vrf matched by %s')

        return CommandsResponse(
            STATUS_OK,
            encoded
        )
dataset/ETHPy150Open osrg/ryu/ryu/services/protocols/bgp/operator/commands/show/vrf.py/Summary.action/swapped operands of `%`