...@163.com
>
>
> From: [3]wangchuan...@163.com
> Date: 2018-09-19 11:46
> To: [4]Klement Sekera -X (ksekera - PANTHEON TECHNOLOGIES at Cisco);
> [5]Ole Troan
> CC: [6]Dave Barach (dbarach); [7]vpp-dev
> Subject: Re: R
dev
Subject: Re: [vpp-dev] VPP's C-type-api example
Maybe it's something which the older compiler wasn't able to compile.
Since the VAPI tests are not part of basic tests, it happens regularly,
that something is added to API files, which the vapi compiler can't
handle. But extended tests are not
@163.com
>
>
> From: [1]Klement Sekera
> Date: 2018-09-19 03:18
> To: [2]wangchuan...@163.com; [3]Ole Troan
> CC: [4]Dave Barach (dbarach); [5]vpp-dev
> Subject: Re: [vpp-dev] VPP's C-type-api example
> Hi,
>
> VAPI is
> I find the feature of the absent vapi.
> There exists VALs in ***.api.
>
> I copy the master's src/vpp-api/vapi/vapi_c_gen.py and
> src/vpp-api/vapi/vapi_json_parser.py to stable/1804,
> but compile failed!
> ---
> configure: creating
Troan
CC: Dave Barach (dbarach); vpp-dev
Subject: Re: Re: [vpp-dev] VPP's C-type-api example
Hi Klement,
There have "autoreply define classify_add_del_session" in classify.api .
And /usr/include/vnet/classify/classify.api.h have the
"vl_api_classify_add_del_session".
A
classify.api.vapi.h don't have !!!
Regards,
Simon
wangchuan...@163.com
From: Klement Sekera
Date: 2018-09-19 03:18
To: wangchuan...@163.com; Ole Troan
CC: Dave Barach (dbarach); vpp-dev
Subject: Re: [vpp-dev] VPP's C-type-api example
Hi,
VAPI is autogenerated from .json files, which are generate
>What api can do this?
>
>--
>
>wangchuan...@163.com
>
>
> From: [1]Klement Sekera
> Date: 2018-09-17 20:23
> To: [2]wangchuan...@163.com; [3]Ole Troan
> CC: [4]Dave Barach (dbarach); [5]vpp-dev
to mask-value)
What api can do this?
wangchuan...@163.com
From: Klement Sekera
Date: 2018-09-17 20:23
To: wangchuan...@163.com; Ole Troan
CC: Dave Barach (dbarach); vpp-dev
Subject: Re: [vpp-dev] VPP's C-type-api example
If you do not consume a message (in this case most probably the reply
17 15:53
> To: [2]wangchuan...@163.com; [3]Ole Troan
> CC: [4]Dave Barach (dbarach); [5]vpp-dev
> Subject: Re: [vpp-dev] VPP's C-type-api example
> There is no such parameter called `chroot_prefix`. I will assume you are
> asking about `api_prefix`.
>
n: 79
msg_handler_internal:432: no handler for msg id 79
The end"
Thanks again!
wangchuan...@163.com
From: Klement Sekera
Date: 2018-09-17 15:53
To: wangchuan...@163.com; Ole Troan
CC: Dave Barach (dbarach); vpp-dev
Subject: Re: [vpp-dev] VPP's C-type-api example
There is no such parame
---
>
>wangchuan...@163.com
>
>
> From: [1]wangchuan...@163.com
> Date: 2018-09-15 09:23
> To: [2]Klement Sekera -X (ksekera - PANTHEON TECHNOLOGIES at Cisco);
> [3]Ole Troan
> CC: [4]Dave Barach (dbarach); [5]vpp-dev
>
le program name is "test", and how can i connect to vpp?
wangchuan...@163.com
From: Klement Sekera
Date: 2018-09-14 19:55
To: wangchuan...@163.com; Ole Troan
CC: Dave Barach (dbarach); vpp-dev
Subject: Re: [vpp-dev] VPP's C-type-api example
And what is your vpp cmdline? is vpp running wi
uan...@163.com
Date: 2018-09-15 09:23
To: Klement Sekera -X (ksekera - PANTHEON TECHNOLOGIES at Cisco); Ole Troan
CC: Dave Barach (dbarach); vpp-dev
Subject: Re: Re: [vpp-dev] VPP's C-type-api example
Hi Klement,
I do not understande your mean.VPP cmdline?
I want to make my ext-progr
a - PANTHEON TECHNOLOGIES at Cisco);
> [4]Dave Barach (dbarach); [5]vpp-dev
> Subject: Re: [vpp-dev] VPP's C-type-api example
> > 1、as root, install the rpm(vpp-selinux, vpp-lib, vpp-18.04,
> vpp-plugins), start service vpp and I come into vppctl.
> >
Cisco); Dave Barach
(dbarach); vpp-dev
Subject: Re: [vpp-dev] VPP's C-type-api example
> 1、as root, install the rpm(vpp-selinux, vpp-lib, vpp-18.04, vpp-plugins),
> start service vpp and I come into vppctl.
> 2、I copy test/ext/vapi_c_test.c to main.c(a new file, a new dir).
>
21:44
> > To: wangchuan...@163.com
> > CC: Klement Sekera -X (ksekera - PANTHEON TECHNOLOGIES at Cisco); Dave
> > Barach (dbarach); vpp-dev
> > Subject: Re: [vpp-dev] VPP's C-type-api example
> > > i am be root
> >
> > Then you must pro
angchuan...@163.com
>
> From: Ole Troan
> Date: 2018-09-13 21:44
> To: wangchuan...@163.com
> CC: Klement Sekera -X (ksekera - PANTHEON TECHNOLOGIES at Cisco); Dave Barach
> (dbarach); vpp-dev
> Subject: Re: [vpp-dev] VPP's C-type-api example
> > i am be root
>
at Cisco); Dave Barach
(dbarach); vpp-dev
Subject: Re: [vpp-dev] VPP's C-type-api example
> i am be root
Then you must provide more details.
Cheers,
Ole
>
> wangchuan...@163.com
>
> From: Ole Troan
> Date: 2018-09-13 21:26
> To: wangchuan...@163.com
> CC: Kl
reply->payload.build_directory);
else
printf("show version return none\n");
rv = vapi_disconnect (ctx);
vapi_ctx_free (ctx);
printf("end\n");
return 0;
}
wangchuan...@163.com
From: Klement Sekera
Date: 2018-09-13 17:02
To: Ole Troan; wangchuanguo
CC: Dave B
i am be root
wangchuan...@163.com
From: Ole Troan
Date: 2018-09-13 21:26
To: wangchuan...@163.com
CC: Klement Sekera -X (ksekera - PANTHEON TECHNOLOGIES at Cisco); Dave Barach
(dbarach); vpp-dev
Subject: Re: [vpp-dev] VPP's C-type-api example
> But I got some error when using v
dev
> Subject: Re: [vpp-dev] VPP's C-type-api example
> > But I got some error when using vapi - vapi_connect as " vl_map_shmem:639:
> > region init fail “.
>
> Permission error?
> Run client as root, or configure VPP to set permissions on API shared memory.
>
> I
uot;show version return none\n");
> rv = vapi_disconnect (ctx);
> vapi_ctx_free (ctx);
> printf("end\n");
> return 0;
> }
>
> wangchuan...@163.com
>
> From: Klement Sekera
> Date: 2018-09-13 17:02
> To: Ole Troan; wangchuanguo
> CC: Dave Barach
You can also check out the test/ext directory for vapi_c_test.c and
vapi_cpp_test.cpp, which are unittests for these bindings and there is
also an example of _dump API call.
Regards,
Klement
Quoting Ole Troan (2018-09-13 09:33:14)
> Hi again,
>
> > I am in the beginning of using-c-api.
Hi again,
> I am in the beginning of using-c-api. Should I not follow
> (src/vpp-api/client) ?
> Can you please show me a fun-name and a example of the higher level C API?
That’s right, I wouldn’t recommend using the src/vpp-aoi/client API unless you
are building a new language binding.
); vpp-dev
Subject: Re: [vpp-dev] VPP's C-type-api example
Hi there,
Is there any reason you don’t want to use the higher level C API? VAPI.
That has an API call for dumping interfaces.
Then you don’t need to interact with the shared memory rings directly.
Cheers
Ole
On 12 Sep 2018, at 14:28
t; Is there something wrong?
>
> Maybe, should I follow another example?
> Can you give me a example that can dump sw_interfaces?
> Be deeply grateful.
>
> wangchuan...@163.com
>
> From: Dave Barach (dbarach)
> Date: 2018-09-11 21:10
> To: wangchuan...@163.com; vpp
should I follow another example?
Can you give me a example that can dump sw_interfaces?
Be deeply grateful.
wangchuan...@163.com
From: Dave Barach (dbarach)
Date: 2018-09-11 21:10
To: wangchuan...@163.com; vpp-dev@lists.fd.io
Subject: RE: [vpp-dev] VPP's C-type-api example
The typical codi
, 2018 4:34 AM
To: vpp-dev
Subject: [vpp-dev] VPP's C-type-api example
Hi all,
I code my example following src/vpp-api/client, but do {vac_read}while(1)
often block when the results-num does not know.
It shows
pthread_cond_wait<http://www.baidu.com/link?
Hi all,
I code my example following src/vpp-api/client, but do {vac_read}while(1)
often block when the results-num does not know.
It shows pthread_cond_wait when gdb.
Help please!
Thanks very much!
void printIntefaces()
{
api_main_t * am = _main;
vl_api_sw_interface_dump_t message;
29 matches
Mail list logo