[vpp-dev] Introducing vpptop - real-time viewer for VPP stats using dynamic terminal user interface #govpp

2019-05-08 Thread Ondrej Fabry -X (ofabry - PANTHEON TECHNOLOGIES at Cisco) via Lists.Fd.Io
Hey vpp-devs,

I'd like to introduce *vpptop* project that was just open sourced by 
Pantheon.TECH.
https://github.com/PantheonTechnologies/vpptop

What is *vpptop?
* The vpptop is a Go implementation of real-time viewer for VPP metrics 
provided by dynamic terminal user interface. *
*
Here's short *demo preview* of vpptop in action.
https://asciinema.org/a/NHODZM2ebcwWFPEEPcja8X19R *
*
Find more information in the README file.

Regards,
Ondrej Fabry
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

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


Re: [vpp-dev] Disable VOM

2018-09-05 Thread Ondrej Fabry -X (ofabry - PANTHEON TECHNOLOGIES at Cisco) via Lists.Fd.Io
Thank you for prompt response. Does this mean currently there is no way to 
disable VOM compilation or omit it from vpp-lib?

Ondrej


From: Damjan Marion 
Sent: Wednesday, September 5, 2018 6:27 PM
To: Ondrej Fabry -X (ofabry - PANTHEON TECHNOLOGIES at Cisco) 
Cc: vpp-dev@lists.fd.io
Subject: Re: [vpp-dev] Disable VOM


Plan is to move from current hardcoded model to cmake CPack for packaging
and also make VOM separate package as part of that work.
At the moment I don't have ETA,  it is best effort activity...

--
Damjan


On 5 Sep 2018, at 15:15, Ondrej Fabry -X (ofabry - PANTHEON TECHNOLOGIES at 
Cisco) via Lists.Fd.Io 
mailto:ofabry=cisco@lists.fd.io>> wrote:

Hey VPP devs,

I’m looking for a way to minimize VPP build that only compiles what’s needed to 
run VPP and doesn’t bring any extra baggage. I couldn’t find some relevant 
information for this on wiki

One of the things I’ve noticed, that makes compilation longer and installation 
packages larger is VOM. I’d like to know how to disable it in VPP, since we are 
not really using it and it makes compilation unnecessarily longer and also the 
libvom.so file takes around 14MB space even though it’s never used and not 
linked by VPP binary.

There previously was option vpp_configure_args_vpp='--disable-vom’, but it 
seems the support for it was removed, because now it show some warning when 
used and still compiles VOM.

If it’s possible I’d like to get rid of all the other parts like java/python 
API, I just need pure VPP.

Thanks for any help in advance.

Best regards,
Ondrej Fabry

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

View/Reply Online (#10378): https://lists.fd.io/g/vpp-dev/message/10378
Mute This Topic: https://lists.fd.io/mt/25210703/675642
Group Owner: vpp-dev+ow...@lists.fd.io<mailto:vpp-dev+ow...@lists.fd.io>
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  
[dmar...@me.com<mailto:dmar...@me.com>]
-=-=-=-=-=-=-=-=-=-=-=-

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

View/Reply Online (#10384): https://lists.fd.io/g/vpp-dev/message/10384
Mute This Topic: https://lists.fd.io/mt/25210703/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[vpp-dev] Disable VOM

2018-09-05 Thread Ondrej Fabry -X (ofabry - PANTHEON TECHNOLOGIES at Cisco) via Lists.Fd.Io
Hey VPP devs,

I'm looking for a way to minimize VPP build that only compiles what's needed to 
run VPP and doesn't bring any extra baggage. I couldn't find some relevant 
information for this on wiki

One of the things I've noticed, that makes compilation longer and installation 
packages larger is VOM. I'd like to know how to disable it in VPP, since we are 
not really using it and it makes compilation unnecessarily longer and also the 
libvom.so file takes around 14MB space even though it's never used and not 
linked by VPP binary.

There previously was option vpp_configure_args_vpp='--disable-vom', but it 
seems the support for it was removed, because now it show some warning when 
used and still compiles VOM.

If it's possible I'd like to get rid of all the other parts like java/python 
API, I just need pure VPP.

Thanks for any help in advance.

Best regards,
Ondrej Fabry

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

View/Reply Online (#10378): https://lists.fd.io/g/vpp-dev/message/10378
Mute This Topic: https://lists.fd.io/mt/25210703/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [vpp-dev] GoVPP is incompatible with vpp 18.07 #vpp #govpp #binapi

2018-08-21 Thread Ondrej Fabry -X (ofabry - PANTHEON TECHNOLOGIES at Cisco) via Lists.Fd.Io
It’s no error. It’s just kind of warning that this service is non-common one. 
It’s simple request and contains event registration as well. Maybe I should 
edit the warning message so this is obvious.

Is the rest working for you well?

Ondrej

--

[https://www.cisco.com/c/dam/m/en_us/signaturetool/images/banners/standard/08_standard_graphic.png]




Ondrej Fabry
Engineer - Software
ofa...@cisco.com
Tel: +421 908 527 691


Cisco Systems, Inc.

Slovakia
cisco.com



[http://www.cisco.com/assets/swa/img/thinkbeforeyouprint.gif]

Think before you print.

This email may contain confidential and privileged material for the sole use of 
the intended recipient. Any review, use, distribution or disclosure by others 
is strictly prohibited. If you are not the intended recipient (or authorized to 
receive for the recipient), please contact the sender by reply email and delete 
all copies of this message.
Please click 
here
 for Company Registration Information.







From: vpp-dev@lists.fd.io  On Behalf Of akj...@outlook.com
Sent: Tuesday, August 21, 2018 4:36 PM
To: vpp-dev@lists.fd.io
Subject: Re: [vpp-dev] GoVPP is incompatible with vpp 18.07 #vpp #govpp #binapi

Thank you so much.
With the latest GoVPP I am able to generate the Binary-API bindings. Initially 
I got the below error (Some issue with the parsing)
Invalid EVENTS SERVICE: {RequestType:dhcp_client_config 
ReplyType:dhcp_client_config_reply Stream:false Events:[dhcp_compl_event]}
but I was able to fix it.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

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


Re: [vpp-dev] GoVPP is incompatible with vpp 18.07 #vpp #govpp #binapi

2018-08-21 Thread Ondrej Fabry -X (ofabry - PANTHEON TECHNOLOGIES at Cisco) via Lists.Fd.Io
Hey,

You are most likely not running the latest GoVPP (I can see ”generator.go" file 
in your panic output which does not exist in latest version).
The support for enums/unions along with some larger refactor of GoVPP was 
recently (4 days ago) merged into master. 

Here's change on gerrit: https://gerrit.fd.io/r/#/c/14254/
Here's commit on GitHub: 
https://github.com/FDio/govpp/commit/a3bb834db727a3ac9a1ffcfeae9265e5dead851f

We are already using this in 
https://github.com/ligato/vpp-agent/tree/pantheon-dev

Please update your GoVPP and try again.

Regards,
Ondrej


-Original Message-
From: vpp-dev@lists.fd.io  On Behalf Of Ole Troan
Sent: Tuesday, 2018-August-21 12:32
To: akj...@outlook.com
Cc: vpp-dev@lists.fd.io
Subject: Re: [vpp-dev] GoVPP is incompatible with vpp 18.07 #vpp #govpp #binapi

> I am trying to generate binary API's using latest GoVPP with 18.07 VPP 
> JSON. I get the following error
> 
> binapi-generator --input-dir=/home/akshay/vpp1807json/vpp/api/core/ 
> --output-dir=./
>   • We get the following error
>
> panic: Unknown VPP type vl_api_address_family_t

I guess it breaks with

VPPAPIGEN: Add union and enum support and IP4/IP6 address type.
2c2feab7d89239c92df4622c96e853230393deb9

Which adds a support for address types and uses the relatively new union and 
enum support in the API compiler.

Guess this could be an argument for having the Go language binding inside of 
the repository...

Best regards,
Ole

>  
> goroutine 1 [running]:
> main.translateVppType(0xc4200a08c0, 0xc420199580, 0x17, 0x51eb00, 0x1,
> 0xc420291710)
> 
> /home/akshay/cnwlcwork/cnwlc45/src/git.fd.io/govpp.git/cmd/binapi-gene
> rator/generator.go:543 +0x569 main.processMessageField(0xc4200a08c0,
> 0xc4200b7be0, 0xc4201fe828, 0x1, 0xc4201fe828, 0x0)
> 
> /home/akshay/cnwlcwork/cnwlc45/src/git.fd.io/govpp.git/cmd/binapi-gene
> rator/generator.go:376 +0x4d6 main.generateMessage(0xc4200a08c0,
> 0x5ac260, 0xc420058340, 0xc4200a7290, 0xc4200a7201, 0x0, 0x0)
> 
> /home/akshay/cnwlcwork/cnwlc45/src/git.fd.io/govpp.git/cmd/binapi-gene
> rator/generator.go:287 +0x441 main.generatePackage(0xc4200a08c0,
> 0xc420058340, 0xc4204bcaa0, 0xc42012c000, 0x1000)
> 
> /home/akshay/cnwlcwork/cnwlc45/src/git.fd.io/govpp.git/cmd/binapi-gene
> rator/generator.go:220 +0x26a main.generateFromFile(0xc420017c00,
> 0x32, 0x7fff3a8206d2, 0x2, 0x0, 0x0)
> 
> /home/akshay/cnwlcwork/cnwlc45/src/git.fd.io/govpp.git/cmd/binapi-gene
> rator/generator.go:151 +0x4a4
> main.main()
> 
> /home/akshay/cnwlcwork/cnwlc45/src/git.fd.io/govpp.git/cmd/binapi-gene
> rator/generator.go:91 +0x1e2
> 
> Thanks in advance,
> Akshay
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> 
> View/Reply Online (#10226): 
> https://lists.fd.io/g/vpp-dev/message/10226
> Mute This Topic: https://lists.fd.io/mt/24873049/675193
> Mute #vpp: https://lists.fd.io/mk?hashtag=vpp=1480722
> Mute #govpp: https://lists.fd.io/mk?hashtag=govpp=1480722
> Mute #binapi: https://lists.fd.io/mk?hashtag=binapi=1480722
> Group Owner: vpp-dev+ow...@lists.fd.io
> Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub
> [otr...@employees.org]
> -=-=-=-=-=-=-=-=-=-=-=-

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

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