Re: [vpp-dev] about iOAM configuration

2018-07-04 Thread Shwetha bhandari via Lists.Fd.Io
Hi Hadi, Good to know! Classification is needed for encap and decap not for transit processing. Transit processes the options if present. Transit nodes only need node-id and application data if trace option includes it. Thanks, Shwetha From: HADI SHAIKHZAKER Date: Thursday, July 5, 2018 at 7:57

Re: [vpp-dev] about iOAM configuration

2018-07-04 Thread Shwetha bhandari via Lists.Fd.Io
Hi Hadi, > set ioam rewrite trace-type 0x1f trace-elts 4 trace-tsp 1 node-id 0x1 > app-data 0x1234 To setup the node id and app-data that is needed on transit and decap you need a trace profile configs: Example: set ioam-trace profile trace-type 0x9 trace-elts 3 trace-tsp 2 node-id 0x2 I see

Re: [EXTERNAL] [vpp-dev] Using Ncurses library in VPP CLI

2018-07-04 Thread Chris Luke
Correction, it seems the modern ncurses, built with wide character support, does support multiple sessions. It’s poorly documented and would still be difficult to integrate properly. I stand by the position that fancy rendering belongs in an API-driven application. Chris. From:

Re: [EXTERNAL] [vpp-dev] Using Ncurses library in VPP CLI

2018-07-04 Thread Chris Luke
David, Ncurses will never work for socket connections since it makes assumptions about having a tty device and only uses stdin/stdout. It also does not allow more than one ncurses instance at the same time; all its state is global, so it will never work for multiple CLI sessions. The CLI code

Re: [vpp-dev] VPP C++ API

2018-07-04 Thread Klement Sekera via Lists.Fd.Io
Hi, this should fix your issue https://gerrit.fd.io/r/#/c/13349/ Thanks, Klement On Mon, 2018-07-02 at 13:57 +0300, Alexander Gryanko wrote: > Stack trace for thread 2: > > Thread 2 "main" received signal SIGABRT, Aborted. > [Switching to Thread 0x7fffedbff700 (LWP 814141)] >

[vpp-dev] Using Ncurses library in VPP CLI

2018-07-04 Thread david . leitch . vpp
Hi, Is it possible to use Ncurses library function on VPP CLI Command to have nice view, i used  a basic sample but does not work, compile with -lncurses and use this commands :    initscr();                     /* Start curses mode              */   printw("Hello World !!!");     /* Print Hello