Hi Ray,
I upgraded my vpp version to 17.10-rc2. And vppctl does accept -s option.
Maybe we need to document that -s in only supported started 17.10?

John


On Tue, Oct 24, 2017 at 10:18 AM, John Wei <johnt...@gmail.com> wrote:

> Add file output:
>
> file `type -p vppctl`
> /bin/vppctl: Python script, ASCII text executable
>
>
> On Tue, Oct 24, 2017 at 10:17 AM, John Wei <johnt...@gmail.com> wrote:
>
>> See the vppctl output below.
>>
>> Thanks s for the help.
>> John
>>
>> # vppctl  show int
>>               Name               Idx       State          Counter
>>   Count
>> local0                            0        down
>>
>> # vppctl -s /run/vpp/cli-vpp.sock show int
>> Usage: vppctl [options]
>>
>> vppctl: error: no such option: -s
>> # type -p vppctl
>> /bin/vppctl
>> # vppctl show ver
>> vpp v17.07.01-release built by jenkins on centos7-basebuild-2c-8g-2985 at
>> Fri Sep 15 10:32:55 UTC 2017
>>
>> # vppctl -s /run/vpp/cli-vpp.sock show ver
>> Usage: vppctl [options]
>>
>> vppctl: error: no such option: -s
>> # ls -l /run/vpp
>> total 0
>> srwxrwxr-x. 1 root root 0 Oct 23 19:29 cli-vpp1.sock
>> srwxrwxr-x. 1 root root 0 Oct 23 19:20 cli-vpp.sock
>>
>>
>> On Tue, Oct 24, 2017 at 2:17 AM, Kinsella, Ray <m...@ashroe.eu> wrote:
>>
>>> Hi John,
>>> That is strange.
>>> Can you do a
>>>
>>> file 'type -p vppctl'
>>>
>>> And report back ....?
>>>
>>> Thanks,
>>>
>>> Ray K
>>>
>>>
>>>
>>> On 24/10/2017 03:47, John Wei wrote:
>>>
>>> I was reading the VPP tutorial below:
>>> https://wiki.fd.io/view/VPP/Progressive_VPP_Tutorial#Exercis
>>> e:_vpp_basics
>>>
>>> In the example, "vppctl -s /run/vpp/cli-vpp1.sock" was used.
>>> But, my vppctl does not support "-s" option.
>>>
>>> I have version v17.07.01.
>>> Do I need to get newer version to get support of "-s"?
>>>
>>> John
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> vpp-dev mailing 
>>> listvpp-...@lists.fd.iohttps://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 mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to