Hi All,

1. cd CONTIV_DIR*(v3.3.3)* && make contiv-agent contiv-init.
2. cd VPP_DIR(commit id:a6a98b5460f066e0955b89e6782e55ed3e4f0ede).
3. I applied my sample.so plugin patch (I applied my changes manually) to
vpp code.
4. make build-release ; make pkg-deb.
5. cp $VPP_DIR/build-root/*.deb /scratch/
6. cd /scratch && copy
CONTIV_DIR(v3.3.3)/docker/vpp-vswitch/prod/vswitch/govpp.conf
7. cd /scratch && copy
CONTIV_DIR(v3.3.3)/docker/vpp-vswitch/prod/vswitch/vpp.conf
8. cd /scratch && copy
CONTIV_DIR(v3.3.3)/docker/vpp-vswitch/prod/vswitch/vppctl

In scratch folder below files & packages are available:
Dockerfile
vppctl
vpp.conf
govpp.conf
contiv-agent (v3.3.3)
contiv-init (v3.3.3)
libvppinfra-dev_19.08.1-282~ga6a98b546-dirty_amd64.deb
libvppinfra_19.08.1-282~ga6a98b546-dirty_amd64.deb
vpp-dbg_19.08.1-282~ga6a98b546-dirty_amd64.deb
python3-vpp-api_19.08.1-282~ga6a98b546-dirty_amd64.deb
vpp-dev_19.08.1-282~ga6a98b546-dirty_amd64.deb
vpp_19.08.1-282~ga6a98b546-dirty_amd64.deb
vpp-plugin-core_19.08.1-282~ga6a98b546-dirty_amd64.deb
vpp-api-python_19.08.1-282~ga6a98b546-dirty_amd64.deb
vpp-plugin-dpdk_19.08.1-282~ga6a98b546-dirty_amd64.deb

I build a docker image by
dockerfile(CONTIV_DIR(v3.3.3)/docker/vpp-vswitch/prod/vswitch/Dockerfile)
and inside the docker RUN dpkg -i vpp_*.deb vpp-plugin-core_*.deb
vpp-plugin-dpdk_*.deb libvppinfra_*.deb  and made *contiv-vswitch image*.
I deployed above *contiv-vswitch* in kubernetes, when i launch vpp my
sample.so plugin is not loaded. I run the docker images manually and see
"/usr/lib/x86_64-linux-gnu/vpp_plugins", my sample.so plugin is not
available.
I used above same package in bare metal and run same command ( RUN dpkg -i
vpp_*.deb vpp-plugin-core_*.deb vpp-plugin-dpdk_*.deb libvppinfra_*.deb) my
sample.so plugin is loaded when I launch vpp.

why Its behavior is different in container and bare metal.
please let me know if I missed any steps or any additional things need to
be capture.
Pleas help me to solve this problem.

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

View/Reply Online (#14934): https://lists.fd.io/g/vpp-dev/message/14934
Mute This Topic: https://lists.fd.io/mt/68845816/21656
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