Re: [vpp-dev] Is "gpe" a special word?

2017-12-01 Thread swarup

Hi Florin,

Thanks. I got it.  I have raised a jira task 
(https://jira.fd.io/browse/VPP-1077 ) to fix other places.


List of commands need to fix:

cj

lisp map-register
lisp
one map-register
one petr mode
one pitr mode
one rloc-probe
one statistics
one xtr mode
one
session


Regards,
Swarup

On Saturday 02 December 2017 02:26 AM, Florin Coras wrote:

Swarup,

LISP-GPE has its own CLI to enable/disable which until now [1] 
returned status 0 even if no input was provided. Therefore, the CLI 
parser, after finishing executing the first command, actually tried to 
execute lisp_gpe_enable_disable_command_fn and returned successfully.


Should be fixed now.

Thanks,
Florin

[1] https://gerrit.fd.io/r/#/c/9694/

On Dec 1, 2017, at 11:21 AM, swarup > wrote:


Hi,

Some strange behavior with the word "gpe". We can add this word at 
the end of many commands, it'll not throw any parsing error, but add 
anything else it'll give parsing error.


Some example:

vpp# show vxlan tunnel ?
  show vxlan tunnel    show vxlan tunnel
vpp# show vxlan tunnel gpe  ---> No parse error
No vxlan tunnels configured...
vpp# show vxlan tunnel abc
No vxlan tunnels configured...
unknown input `abc'    ---> parse error
vpp#
vpp# show oam
  Fib   Src   Dst  Last Heard    State
vpp# show oam gpe    ---> No parse error
  Fib   Src   Dst  Last Heard    State
vpp# show oam ?
  show oam show oam
vpp# show oam abc
  Fib   Src   Dst  Last Heard    State
unknown input `abc'  ---> parse error
vpp#vpp# show one statistics details
No statistics found.
vpp# show one statistics details gpe
No statistics found.
vpp# show one statistics details abc
No statistics found.
unknown input `abc'
vpp# show one statistics details vxlan
No statistics found.
unknown input `vxlan'
vpp#

Sorry if this is not a problem at all..

Regards,

Swarup

___
vpp-dev mailing list
vpp-dev@lists.fd.io 
https://lists.fd.io/mailman/listinfo/vpp-dev




___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] Is "gpe" a special word?

2017-12-01 Thread Florin Coras
Swarup, 

LISP-GPE has its own CLI to enable/disable which until now [1] returned status 
0 even if no input was provided. Therefore, the CLI parser, after finishing 
executing the first command, actually tried to execute 
lisp_gpe_enable_disable_command_fn and returned successfully. 

Should be fixed now. 

Thanks,
Florin

[1] https://gerrit.fd.io/r/#/c/9694/ 

> On Dec 1, 2017, at 11:21 AM, swarup  wrote:
> 
> Hi,
> 
> Some strange behavior with the word "gpe". We can add this word at the end of 
> many commands, it'll not throw any parsing error, but add anything else it'll 
> give parsing error.
> 
> Some example:
> 
> vpp# show vxlan tunnel ?
>   show vxlan tunnelshow vxlan tunnel
> vpp# show vxlan tunnel gpe  ---> No parse error
> No vxlan tunnels configured...
> vpp# show vxlan tunnel abc
> No vxlan tunnels configured...
> unknown input `abc'---> parse error
> vpp#
> vpp# show oam
>   Fib   Src   Dst  Last HeardState
> vpp# show oam gpe---> No parse error
>   Fib   Src   Dst  Last HeardState
> vpp# show oam ?
>   show oam show oam
> vpp# show oam abc
>   Fib   Src   Dst  Last HeardState
> unknown input `abc'  ---> parse error
> vpp#vpp# show one statistics details
> No statistics found.
> vpp# show one statistics details gpe
> No statistics found.
> vpp# show one statistics details abc
> No statistics found.
> unknown input `abc'
> vpp# show one statistics details vxlan
> No statistics found.
> unknown input `vxlan'
> vpp#
> 
> Sorry if this is not a problem at all..
> 
> Regards,
> 
> Swarup
> 
> ___
> vpp-dev mailing list
> vpp-dev@lists.fd.io
> https://lists.fd.io/mailman/listinfo/vpp-dev

___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

[vpp-dev] Is "gpe" a special word?

2017-12-01 Thread swarup

Hi,

Some strange behavior with the word "gpe". We can add this word at the 
end of many commands, it'll not throw any parsing error, but add 
anything else it'll give parsing error.


Some example:

vpp# show vxlan tunnel ?
  show vxlan tunnel    show vxlan tunnel
vpp# show vxlan tunnel gpe  ---> No parse error
No vxlan tunnels configured...
vpp# show vxlan tunnel abc
No vxlan tunnels configured...
unknown input `abc'    ---> parse error
vpp#
vpp# show oam
  Fib   Src   Dst  Last Heard    State
vpp# show oam gpe    ---> No parse error
  Fib   Src   Dst  Last Heard    State
vpp# show oam ?
  show oam show oam
vpp# show oam abc
  Fib   Src   Dst  Last Heard    State
unknown input `abc'  ---> parse error
vpp#vpp# show one statistics details
No statistics found.
vpp# show one statistics details gpe
No statistics found.
vpp# show one statistics details abc
No statistics found.
unknown input `abc'
vpp# show one statistics details vxlan
No statistics found.
unknown input `vxlan'
vpp#

Sorry if this is not a problem at all..

Regards,

Swarup

___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev