Hi Devis,

I haven't played that much with the ligato/vpp-agent docker image when
using contiv as they have their own docker image (contivvpp/vswitch) but
the logic should be the same :
Both container specify the vpp config file either copying it or mounting it
to the container. Ligato seems to be copying its vpp.conf [1].
If you want to have more workers you can edit vpp.conf adding cpu { workers
12 } or corelist-workers, rebuild the container with the script ligato
provides, push it to your dockerhub and point to it in your yaml.

Hope this helps,
Cheers

-Nathan

[1] https://github.com/ligato/vpp-agent/blob/master/docker/prod/vpp.conf

Le mer. 30 oct. 2019 à 10:53, Devis Reagan <[email protected]> a
écrit :

> Dear Team ,
>
>
>
> I managed to bring up the ligato/vpp-agent:v2.1.1 container on top of the
> contiv-vpp . But it looks while bringing up the it just takes the "core
> 0" for main-core , I used the attached yaml file to launch the container .
> Is there a way to add our own main-core & corelist-workers while bring up
> the ligato vpp ?
>
>
>
> Logs from ligato vpp container
>
> ===============================
>
>
>
> Below container is the one brought up on top of the contiv-vpp using the
> attached yaml file .
>
>
>
> vpp# show threads
>
> ID     Name                Type        LWP     Sched Policy (Priority)
> lcore  Core   Socket State
>
> 0      vpp_main                        15      other (0)
> 1      0      0
>
> vpp#
>
> vpp# [root@k8s-master ~]#
>
> [root@k8s-master ~]#
>
> [root@k8s-master ~]# kubectl exec -it vpp-cnf -- vppctl -s :5002
>
>     _______    _        _   _____  ___
>
> __/ __/ _ \  (_)__    | | / / _ \/ _ \
>
> _/ _// // / / / _ \   | |/ / ___/ ___/
>
> /_/ /____(_)_/\___/   |___/_/  /_/
>
>
>
> vpp#
>
> vpp# show ver
>
> vpp v19.08.1-163~g8f4fccab9~b230 built by root on 813e868a84ce at Sun Oct
> 6 12:54:23 UTC 2019
>
> vpp#
>
> vpp# show interface
>
>               Name               Idx    State  MTU (L3/IP4/IP6/MPLS)
> Counter          Count
>
> local0                            0     down          0/0/0/0
>
> memif0/1                          1      up          9000/0/0/0
>
> memif0/2                          2      up          9000/0/0/0
>
> vpp#
>
> vpp# show threads
>
> ID     Name                Type        LWP     Sched Policy (Priority)
> lcore  Core   Socket State
>
> 0      vpp_main                        14      other (0)
>        1      0      0
>
> vpp#
>
> vpp# show interface rx-placement
>
> Thread 0 (vpp_main):
>
>   node memif-input:
>
>     memif0/1 queue 0 (polling)
>
>     memif0/2 queue 0 (polling)
>
> vpp#
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
>
> View/Reply Online (#14383): https://lists.fd.io/g/vpp-dev/message/14383
> Mute This Topic: https://lists.fd.io/mt/39769095/1706314
> Group Owner: [email protected]
> Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [
> [email protected]]
> -=-=-=-=-=-=-=-=-=-=-=-
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#14539): https://lists.fd.io/g/vpp-dev/message/14539
Mute This Topic: https://lists.fd.io/mt/39769095/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to