Re: [vpp-dev] Python API for specific VPP instance

2018-05-05 Thread Justin Iurman
Ole, > Yes. Set chroot_prefix. > r = vpp.connect('vpp1', chroot_prefix='name of shared address segment') My bad, I didn't thought about looking at the python code of the "connect" method. Thanks a million ! Another related question (see https://lists.fd.io/g/vpp-dev/message/9001 as a referenc

Re: [vpp-dev] Python API for specific VPP instance

2018-05-04 Thread Ole Troan
Justin, > How can I "connect" to a specific instance of VPP through the python API ? > > Each instance (together, they form a topology) is run as follow: > sudo vpp unix { log /tmp/vpp1.log cli-listen /run/vpp/cli-vpp1.sock } > api-segment { prefix vpp1 } plugins { plugin dpdk_plugin.so { disab

[vpp-dev] Python API for specific VPP instance

2018-05-02 Thread Justin Iurman
Hi guys, How can I "connect" to a specific instance of VPP through the python API ? Each instance (together, they form a topology) is run as follow: sudo vpp unix { log /tmp/vpp1.log cli-listen /run/vpp/cli-vpp1.sock } api-segment { prefix vpp1 } plugins { plugin dpdk_plugin.so { disable } }