Hi

Guys

I'm learning HostStack and have tried example from this page 
https://wiki.fd.io/view/VPP/HostStack

For some unclear reason it doesn't work. At the same moment example from 
https://wiki.fd.io/view/VPP/HostStack/EchoClientServer works correctly.

My configuration is:

Ubuntu 16.04 on vagrant.

2 linked veths, 2 vpp instances. Configuration files are attached( 
startup1.conf and startup2.conf use vpp1.conf and vpp2.conf respectively)

I cloned the latest version of vpp from git by link https://gerrit.fd.io/r/vpp. 
Branch is master.

When i try to initialize server by command:

sudo build-root/install-vpp_debug-native/vpp/bin/vpp_echo server uri 
tcp://10.0.0.1/1000

I receive the following error log:

Timing qconnect:lastbyte
Missing Start Timing Event (qconnect)!
Missing End Timing Event (lastbyte)!
-------- TX --------
0 bytes (0 mbytes, 0 gbytes) in 0.000000 seconds
-------- RX --------
0 bytes (0 mbytes, 0 gbytes) in 0.000000 seconds
--------------------
Received close on 0 streams (and 0 Quic conn)
Received reset on 0 streams (and 0 Quic conn)
Sent close on     0 streams (and 0 Quic conn)
Discarded         0 streams (and 0 Quic conn)
--------------------
Got accept on     0 streams (and 0 Quic conn)
Got connected on  0 streams (and 0 Quic conn)

Failure Return Status: 42
ECHO_FAIL_VL_API_APP_ATTACH (23): attach failed: Unsupported application config 
| ECHO_FAIL_ATTACH_TO_VPP (17): Couldn't attach to vpp, did you run <session 
enable> ? | ECHO_FAIL_MISSING_START_EVENT (41): Expected event qconnect to 
happen, but it did not! | ECHO_FAIL_MISSING_END_EVENT (42): Expected event 
lastbyte to happen, but it did not!

1. Can you advice on this issue, please?

2. What is the difference between vpp_echo application and "test echo" command 
in vppctl?

Regards
Igor

Attachment: startup1.conf
Description: Binary data

Attachment: startup2.conf
Description: Binary data

Attachment: vpp1.conf
Description: Binary data

Attachment: vpp2.conf
Description: Binary data

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#16250): https://lists.fd.io/g/vpp-dev/message/16250
Mute This Topic: https://lists.fd.io/mt/74032498/21656
Mute #hoststack: https://lists.fd.io/mk?hashtag=hoststack&subid=1480452
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to