-
Bug
-
Resolution: Open
-
Low
-
None
-
None
-
None
Configuring VPP via vpp_api_test with json output formatting produce for VAT command "ip_add_del_route
{network}/
{prefix_length}{via}
{interface}
{resolve_attempts}
{count}", where {count}
is higher then 1 invalid Json output.
Example:
$ cat ipadd.vat
ip_add_del_route 10.10.10.0/32 via 1.1.1.1 sw_if_index 5 resolve-attempts 10 count 2
$ sudo vpp_api_test in ipadd.vat json
{
"retval": 0
}
{
"retval": 0
}
[]
2 routes in .009039 secs, 221.25 routes/sec
vat#
For very large count number (e.g.: 10,000) command does not return to vat# prompt unless user press <Enter>