Re: [vpp-dev] #vpp-dev No packets generated from Vhost user interface
Hi Steven, Thanks for responding on the request. I am using openstack to launch a VM here. SO you mean during VM launch I have to specify hugepage size ? Thanks, Suresh -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#22063): https://lists.fd.io/g/vpp-dev/message/22063 Mute This Topic: https://lists.fd.io/mt/94432596/21656 Mute #vpp-dev:https://lists.fd.io/g/vpp-dev/mutehashtag/vpp-dev Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [vpp-dev] #vpp-dev No packets generated from Vhost user interface
HI VPP-dev team, Can you please help here and let me know if anything is missing in config Thanks, Suresh -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#22055): https://lists.fd.io/g/vpp-dev/message/22055 Mute This Topic: https://lists.fd.io/mt/94432596/21656 Mute #vpp-dev:https://lists.fd.io/g/vpp-dev/mutehashtag/vpp-dev Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[vpp-dev] #vpp-dev: No packets generated from Vhost user interface
Hi, I have bought up a VPP on ubuntu with QEMU hypervisor. I spawn a new VM with vhost inetrface. No packets are seen on vhost interface and what I see memory region allocated is 0. Can you please help how to mitigate this ? vpp# show version vpp v22.10-rc1~4-g61bae8a54~b6 built by root on db88ee5ae86e at 2022-10-10T23:45:33 vpp# vpp# show int Name Idx State MTU (L3/IP4/IP6/MPLS) Counter Count BondEthernet0 6 up 9000/0/0/0 BondEthernet0.70 7 up 0/0/0/0 TenGigabitEthernet2/0/0 1 up 9000/0/0/0 tx packets 1950 tx bytes 241800 TenGigabitEthernet2/0/1 2 up 9000/0/0/0 tx packets 28 tx bytes 3096 TenGigabitEthernet2/0/1.147 8 up 0/0/0/0 tx packets 7 tx bytes 774 TenGigabitEthernet2/0/1.151 10 up 0/0/0/0 tx packets 7 tx bytes 774 TenGigabitEthernet2/0/1.100 12 up 0/0/0/0 tx packets 7 tx bytes 774 TenGigabitEthernet2/0/1.159 17 up 0/0/0/0 tx packets 7 tx bytes 774 TenGigabitEthernet6/0/0 3 up 9000/0/0/0 tx packets 1950 tx bytes 241800 TenGigabitEthernet6/0/1 4 up 9000/0/0/0 VirtualEthernet0/0/0 11 up 9000/0/0/0 tx-error 7 VirtualEthernet0/0/1 15 up 9000/0/0/0 tx-error 4 VirtualEthernet0/0/2 16 up 9000/0/0/0 tx-error 6 VirtualEthernet0/0/3 18 up 9000/0/0/0 tx-error 7 local0 0 down 0/0/0/0 loop0 5 up 9000/0/0/0 tap0 9 up 9000/0/0/0 rx packets 7 rx bytes 746 drops 4 tap1 13 up 9000/0/0/0 rx packets 7 rx bytes 746 drops 6 tap2 14 up 9000/0/0/0 rx packets 7 rx bytes 746 drops 7 tap3 19 up 9000/0/0/0 rx packets 7 rx bytes 746 drops 7 vpp# show interface vhost show interface: unknown input `vhost' vpp# vpp# show vhost Virtio vhost-user interfaces Global: coalesce frames 32 time 1e-3 Number of rx virtqueues in interrupt mode: 0 Number of GSO interfaces: 0 Thread 0: Polling queue count 4 Interface: VirtualEthernet0/0/0 (ifindex 8) Number of qids 4 virtio_net_hdr_sz 12 features mask (0xfffbdfffa27c): features (0x150608000): VIRTIO_NET_F_MRG_RXBUF (15) VIRTIO_NET_F_GUEST_ANNOUNCE (21) VIRTIO_NET_F_MQ (22) VIRTIO_RING_F_INDIRECT_DESC (28) VHOST_USER_F_PROTOCOL_FEATURES (30) VIRTIO_F_VERSION_1 (32) protocol features (0x3) VHOST_USER_PROTOCOL_F_MQ (0) VHOST_USER_PROTOCOL_F_LOG_SHMFD (1) socket filename /tmp/52aa3aaf-5f0d-47d7-874f-8311e5aaf3f6 type client errno "Success" rx placement: thread 0 on vring 1, polling tx placement Memory regions (total 0) Interface: VirtualEthernet0/0/1 (ifindex 11) Number of qids 4 virtio_net_hdr_sz 12 features mask (0xfffbdfffa27c): features (0x150608000): VIRTIO_NET_F_MRG_RXBUF (15) VIRTIO_NET_F_GUEST_ANNOUNCE (21) VIRTIO_NET_F_MQ (22) VIRTIO_RING_F_INDIRECT_DESC (28) VHOST_USER_F_PROTOCOL_FEATURES (30) VIRTIO_F_VERSION_1 (32) protocol features (0x3) vpp# show bridge-domain 12 detail BD-ID Index BSN Age(min) Learning U-Forwrd UU-Flood Flooding ARP-Term arp-ufwd Learn-co Learn-li BVI-Intf 12 3 0 3 on on flood on off off 0 16777216 N/A SPAN (span-l2-input) INPUT_CLASSIFY (l2-input-classify) INPUT_FEAT_ARC (l2-input-feat-arc) POLICER_CLAS (l2-policer-classify) ACL (l2-input-acl) VPATH (vpath-input-l2) L2_IP_QOS_RECORD (l2-ip-qos-record) VTR (l2-input-vtr) LEARN (l2-learn) RW (l2-rw) FWD (l2-fwd) UU_FLOOD (l2-flood) FLOOD (l2-flood) XCONNECT (l2-output) Interface If-idx ISN SHG BVI TxFlood VLAN-Tag-Rewrite TenGigabitEthernet2/0/1.100 12 1 0 - * pop-1 tap1 13 1 0 - * none VirtualEthernet0/0/2 16 1 0 - * none -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#22051): https://lists.fd.io/g/vpp-dev/message/22051 Mute This
[vpp-dev] nova.exception.VirtualInterfaceCreateException: Virtual Interface creation failed #vpp-dev
I am seeing below error when I try to spawn a instance on VPP with DPDK and openstack openstack server create --flavor CSR-small --image csr-1000v-17-03-05 --nic net-id=suresh-nw1 CSR1k-VPP-suresh-nw1 Oct 13 23:04:02 gna200405 nova-compute[2579]: DEBUG nova.virt.libvirt.vif [None req-4ad4c67d-06ea-4c9c-970e-1c27afb5616e demo demo] vif_type=vhostuser instance=Instance(access_ip_v4=None,access_ip_v6=None,architecture=None,auto_disk_config=False,availability_zone='nova',cell_name=None,cleaned=True,config_drive='',created_at=2022-10-13T22:58:56Z,default_ephemeral_device=None,default_swap_device=None,deleted=False,deleted_at=None,device_metadata=None,disable_terminate=False,display_description='CSR1k-VPP-suresh-nw1',display_name='CSR1k-VPP-suresh-nw1',ec2_ids=EC2Ids,ephemeral_gb=0,ephemeral_key_uuid=None,fault=,flavor=Flavor(11),hidden=False,host='gna200405',hostname='csr1k-vpp-suresh-nw1',id=21,image_ref='3a9571aa-ce4e-4161-a5f8-471bac4ae6a0',info_cache=InstanceInfoCache,instance_type_id=11,kernel_id='',key_data=None,key_name=None,keypairs=KeyPairList,launch_index=0,launched_at=None,launched_on='gna200405',locked=False,locked_by=None,memory_mb=4096,metadata={},migration_context=None,new_flavor=None,node='gna200405',numa_topology=None,old_flavor=None,os_type=None,pci_devices=PciDeviceList,pci_requests=InstancePCIRequests,power_state=0,progress=0,project_id='7195336fe4b449ebb3728460df45f326',ramdisk_id='',reservation_id='r-y3vxxleo',resources=None,root_device_name='/dev/vda',root_gb=20,security_groups=SecurityGroupList,services=,shutdown_terminate=False,system_metadata={boot_roles='reader,anotherrole,member',clean_attempts='1',image_base_image_ref='3a9571aa-ce4e-4161-a5f8-471bac4ae6a0',image_container_format='bare',image_disk_format='qcow2',image_hw_vif_multiqueue_enabled='True',image_min_disk='20',image_min_ram='0',image_owner_specified.openstack.md5='',image_owner_specified.openstack.object='images/csr-1000v-17-03-05',image_owner_specified.openstack.sha256='',network_allocated='True',owner_project_name='demo',owner_user_name='demo'},tags=TagList,task_state='spawning',terminated_at=None,trusted_certs=None,updated_at=2022-10-13T22:58:58Z,user_data=None,user_id='8bebe070d9c9482a9a23d1e968eaad61',uuid=b5c83897-19b9-470c-9781-91ca9e067976,vcpu_model=VirtCPUModel,vcpus=2,vm_mode=None,vm_state='building') vif={"id": "99383ca9-69bc-423c-be9f-d6ba6ba2b644", "address": "fa:16:3e:6d:2f:6f", "network": {"id": "74a60fc6-fd8d-414a-99b8-3974cea73094", "bridge": null, "label": "suresh-nw1", "subnets": [{"cidr": "192.168.1.0/24", "dns": [], "gateway": {"address": "192.168.1.1", "type": "gateway", "version": 4, "meta": {}}, "ips": [{"address": "192.168.1.42", "type": "fixed", "version": 4, "meta": {}, "floating_ips": []}], "routes": [], "version": 4, "meta": {"dhcp_server": "192.168.1.2"}}], "meta": {"injected": false, "tenant_id": "7195336fe4b449ebb3728460df45f326", "mtu": 1500, "physical_network": "physnet", "tunneled": false}}, "type": "vhostuser", "details": {"vhostuser_socket": "/tmp/99383ca9-69bc-423c-be9f-d6ba6ba2b644", "vhostuser_mode": "server"}, "devname": "tap99383ca9-69", "ovs_interfaceid": null, "qbh_params": null, "qbg_params": null, "active": false, "vnic_type": "normal", "profile": {}, "preserve_on_delete": false, "meta": {}} {{(pid=2579) unplug /opt/stack/nova/nova/virt/libvirt/vif.py:810}} Oct 13 23:04:03 gna200405 nova-compute[2579]: ERROR nova.compute.manager [None req-4ad4c67d-06ea-4c9c-970e-1c27afb5616e demo demo] [instance: b5c83897-19b9-470c-9781-91ca9e067976] *Failed to allocate network(s): nova.exception.VirtualInterfaceCreateException: Virtual Interface creation failed* Oct 13 23:04:03 gna200405 nova-compute[2579]: ERROR nova.compute.manager [instance: b5c83897-19b9-470c-9781-91ca9e067976] Traceback (most recent call last): Oct 13 23:04:03 gna200405 nova-compute[2579]: ERROR nova.compute.manager [instance: b5c83897-19b9-470c-9781-91ca9e067976] File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 6748, in _create_guest_with_network Oct 13 23:04:03 gna200405 nova-compute[2579]: ERROR nova.compute.manager [instance: b5c83897-19b9-470c-9781-91ca9e067976] guest = self._create_guest( Oct 13 23:04:03 gna200405 nova-compute[2579]: ERROR nova.compute.manager [instance: b5c83897-19b9-470c-9781-91ca9e067976] File "/usr/lib/python3.8/contextlib.py", line 120, in __exit__ Oct 13 23:04:03 gna200405 nova-compute[2579]: ERROR nova.compute.manager [instance: b5c83897-19b9-470c-9781-91ca9e067976] next(self.gen) Oct 13 23:04:03 gna200405 nova-compute[2579]: ERROR nova.compute.manager [instance: b5c83897-19b9-470c-9781-91ca9e067976] File "/opt/stack/nova/nova/compute/manager.py", line 484, in wait_for_instance_event Oct 13 23:04:03 gna200405 nova-compute[2579]: ERROR nova.compute.manager [instance: b5c83897-19b9-470c-9781-91ca9e067976] actual_event = event.wait() Oct 13 23:04:03 gna200405 nova-compute[2579]: ERROR nova.compute.manager [instance:
[vpp-dev] VPP doesn't detect the i40e driver interface #vpp-dev
HI, VPP doesn't detect the i40e driver interface. Any help would be appreciated ? stack@gna200405:~/devstack$ sudo vppctl show interface Name Idx State MTU (L3/IP4/IP6/MPLS) Counter Count BondEthernet0 2 down 9000/0/0/0 local0 0 down 0/0/0/0 loop0 1 up 9000/0/0/0 stack@xxx:~/devstack$ cat /etc/vpp/startup.conf unix { nodaemon log /tmp/vpp.log full-coredump startup-config /etc/vpp-startup.conf cli-listen /run/vpp/cli.sock gid vpp } api-trace { on } api-segment { gid vpp } socksvr { default } dpdk { dev default { num-rx-queues 30 tso off } uio-driver vfio-pci dev :02:00.0 dev :02:00.3 # socket-mem 128 } stack@xxx:~/devstack$ sudo vppctl show pci Address Sock VID:PID Link Speed Driver Product Name Vital Product Data :02:00.0 0 8086:1572 8.0 GT/s x8 i40e Cisco(R) Ethernet Converged NIC PN: X710-DA4 V0: 0x 4d 41 50 20 35 2e 31 36 ... MN: 1137 RV: 0x 2e :02:00.1 0 8086:1572 8.0 GT/s x8 i40e Cisco(R) Ethernet Converged NIC PN: X710-DA4 V0: 0x 4d 41 50 20 35 2e 31 36 ... MN: 1137 RV: 0x 2e :02:00.2 0 8086:1572 8.0 GT/s x8 i40e Cisco(R) Ethernet Converged NIC PN: X710-DA4 V0: 0x 4d 41 50 20 35 2e 31 36 ... MN: 1137 RV: 0x 2e :02:00.3 0 8086:1572 8.0 GT/s x8 i40e Cisco(R) Ethernet Converged NIC PN: X710-DA4 V0: 0x 4d 41 50 20 35 2e 31 36 ... MN: 1137 RV: 0x 2e :06:00.0 0 8086:1572 8.0 GT/s x8 i40e Cisco(R) Ethernet Converged NIC PN: X710-DA4 V0: 0x 4d 41 50 20 35 2e 31 36 ... MN: 1137 RV: 0x 2e :06:00.1 0 8086:1572 8.0 GT/s x8 i40e Cisco(R) Ethernet Converged NIC PN: X710-DA4 V0: 0x 4d 41 50 20 35 2e 31 36 ... MN: 1137 RV: 0x 2e :06:00.2 0 8086:1572 8.0 GT/s x8 i40e Cisco(R) Ethernet Converged NIC PN: X710-DA4 V0: 0x 4d 41 50 20 35 2e 31 36 ... MN: 1137 RV: 0x 2e :06:00.3 0 8086:1572 8.0 GT/s x8 i40e Cisco(R) Ethernet Converged NIC PN: X710-DA4 V0: 0x 4d 41 50 20 35 2e 31 36 ... MN: 1137 RV: 0x 2e :0a:00.0 0 8086:1521 5.0 GT/s x4 igb Cisco I350-TX 1Gig LOM PN: I350-TX V0: 0x 31 2e 36 2e 33 2d 32 2e ... MN: 1137 RV: 0x be :0a:00.1 0 8086:1521 5.0 GT/s x4 igb Cisco I350-TX 1Gig LOM PN: I350-TX V0: 0x 31 2e 36 2e 33 2d 32 2e ... MN: 1137 RV: 0x be stack@xxx:~/devstack$ cat /etc/dpdk/interfaces # # Currently only "pci" is supported # Device ID on the specified bus # Driver to bind against (vfio-pci, uio_pci_generic, igb_uio or # rte_kni) # # Be aware that the two dpdk compatible drivers uio_pci_generic and vfio-pci are # part of linux-image-extra- package. # This package is not always installed by default - for example in cloud-images. # So please install it in case you run into missing module issues. # # For the module igb_uio, please install the dpdk-igb-uio-dkms package. # # # pci :04:00.0 vfio-pci # pci :04:00.1 uio_pci_generic # pci :05:00.0 igb_uio :02:00.0 vfio-pci :02:00.1 vfio-pci :06:00.0 vfio-pci :06:00.1 vfio-pci gna@~$ ethtool -i enp2s0f0 driver: i40e version: 2.8.20-k firmware-version: 5.05 0x80002b50 0.385.33 expansion-rom-version: bus-info: :02:00.0 supports-statistics: yes supports-test: yes supports-eeprom-access: yes supports-register-dump: yes supports-priv-flags: yes -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#21976): https://lists.fd.io/g/vpp-dev/message/21976 Mute This Topic: https://lists.fd.io/mt/94169841/21656 Mute #vpp-dev:https://lists.fd.io/g/vpp-dev/mutehashtag/vpp-dev Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [vpp-dev] #vpp_papi vpp_papi.vpp_serializer.VPPSerializerValueError: Unknown message type vl_api_mss_clamp_dir_t
Hi folks, Can someone help me to resolve this error ? Any help would be greatly appreciated. Thanks, Suresh Vuppala -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#21964): https://lists.fd.io/g/vpp-dev/message/21964 Mute This Topic: https://lists.fd.io/mt/94071592/21656 Mute #vpp_papi:https://lists.fd.io/g/vpp-dev/mutehashtag/vpp_papi Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[vpp-dev] #vpp_papi. vpp_papi.vpp_serializer.VPPSerializerValueError: Unknown message type vl_api_mss_clamp_dir_t
I am hitting this error on starting vpp-agent service. Can someone help to overcome this? Oct 02 14:52:25 gnaosp001 vpp-agent[960833]: DEBUG vpp_papi.vpp_serializer [-] Unknown union type vl_api_ip4_address_t {{(pid=960833) __init__ /home/stack/.local/lib/python3.8/site-packages/vpp_papi/vpp_serializer.p> Oct 02 14:52:25 gnaosp001 vpp-agent[960833]: DEBUG vpp_papi.vpp_serializer [-] Unknown type vl_api_address_union_t {{(pid=960833) __init__ /home/stack/.local/lib/python3.8/site-packages/vpp_papi/vpp_serializer.py:55> Oct 02 14:52:25 gnaosp001 vpp-agent[960833]: DEBUG vpp_papi.vpp_serializer [-] Unknown type vl_api_address_t {{(pid=960833) __init__ /home/stack/.local/lib/python3.8/site-packages/vpp_papi/vpp_serializer.py:555}} Oct 02 14:52:25 gnaosp001 vpp-agent[960833]: DEBUG vpp_papi.vpp_serializer [-] Unknown type vl_api_ip4_address_t {{(pid=960833) __init__ /home/stack/.local/lib/python3.8/site-packages/vpp_papi/vpp_serializer.py:555}} Oct 02 14:52:25 gnaosp001 vpp-agent[960833]: DEBUG vpp_papi.vpp_serializer [-] Unknown type vl_api_ip6_address_t {{(pid=960833) __init__ /home/stack/.local/lib/python3.8/site-packages/vpp_papi/vpp_serializer.py:555}} Oct 02 14:52:25 gnaosp001 vpp-agent[960833]: DEBUG vpp_papi.vpp_serializer [-] Unknown type vl_api_address_union_t {{(pid=960833) __init__ /home/stack/.local/lib/python3.8/site-packages/vpp_papi/vpp_serializer.py:55> Oct 02 14:52:25 gnaosp001 vpp-agent[960833]: DEBUG vpp_papi.vpp_serializer [-] Unknown type vl_api_ip6_address_t {{(pid=960833) __init__ /home/stack/.local/lib/python3.8/site-packages/vpp_papi/vpp_serializer.py:555}} Oct 02 14:52:25 gnaosp001 vpp-agent[960833]: DEBUG vpp_papi.vpp_serializer [-] Unknown type vl_api_ip4_address_t {{(pid=960833) __init__ /home/stack/.local/lib/python3.8/site-packages/vpp_papi/vpp_serializer.py:555}} Oct 02 14:52:25 gnaosp001 vpp-agent[960833]: DEBUG vpp_papi.vpp_serializer [-] Unknown union type vl_api_mac_address_t {{(pid=960833) __init__ /home/stack/.local/lib/python3.8/site-packages/vpp_papi/vpp_serializer.p> Oct 02 14:52:25 gnaosp001 vpp-agent[960833]: DEBUG vpp_papi.vpp_serializer [-] Unknown type vl_api_eid_address_t {{(pid=960833) __init__ /home/stack/.local/lib/python3.8/site-packages/vpp_papi/vpp_serializer.py:555}} Oct 02 14:52:25 gnaosp001 vpp-agent[960833]: DEBUG vpp_papi.vpp_serializer [-] Unknown type vl_api_eid_t {{(pid=960833) __init__ /home/stack/.local/lib/python3.8/site-packages/vpp_papi/vpp_serializer.py:555}} Oct 02 14:52:25 gnaosp001 vpp-agent[960833]: DEBUG vpp_papi.vpp_serializer [-] Unknown type vl_api_mss_clamp_dir_t {{(pid=960833) __init__ /home/stack/.local/lib/python3.8/site-packages/vpp_papi/vpp_serializer.py:55> Oct 02 14:52:25 gnaosp001 vpp-agent[960833]: CRITICAL vpp_agent [-] Unhandled error: vpp_papi.vpp_serializer.VPPSerializerValueError: Unknown message type vl_api_mss_clamp_dir_t Oct 02 14:52:25 gnaosp001 vpp-agent[960833]: ERROR vpp_agent Traceback (most recent call last): Oct 02 14:52:25 gnaosp001 vpp-agent[960833]: ERROR vpp_agent File "/usr/local/bin/vpp-agent", line 10, in Oct 02 14:52:25 gnaosp001 vpp-agent[960833]: ERROR vpp_agent sys.exit(main()) Oct 02 14:52:25 gnaosp001 vpp-agent[960833]: ERROR vpp_agent File "/opt/stack/networking-vpp/networking_vpp/agent/server.py", line 3701, in main Oct 02 14:52:25 gnaosp001 vpp-agent[960833]: ERROR vpp_agent vppf = VPPForwarder(physnets, Oct 02 14:52:25 gnaosp001 vpp-agent[960833]: ERROR vpp_agent File "/opt/stack/networking-vpp/networking_vpp/agent/server.py", line 313, in __init__ Oct 02 14:52:25 gnaosp001 vpp-agent[960833]: ERROR vpp_agent self.vpp = vpp.VPPInterface(LOG, vpp_cmd_queue_len) Oct 02 14:52:25 gnaosp001 vpp-agent[960833]: ERROR vpp_agent File "/opt/stack/networking-vpp/networking_vpp/agent/vpp.py", line 124, in getinstance Oct 02 14:52:25 gnaosp001 vpp-agent[960833]: ERROR vpp_agent instances[cls] = cls(*args, **kwargs) # type: ignore Oct 02 14:52:25 gnaosp001 vpp-agent[960833]: ERROR vpp_agent File "/opt/stack/networking-vpp/networking_vpp/agent/vpp.py", line 172, in __init__ Oct 02 14:52:25 gnaosp001 vpp-agent[960833]: ERROR vpp_agent self._vpp = vpp_papi.VPP(jsonfiles, async_thread=False) Oct 02 14:52:25 gnaosp001 vpp-agent[960833]: ERROR vpp_agent File "/home/stack/.local/lib/python3.8/site-packages/vpp_papi/vpp_papi.py", line 401, in __init__ Oct 02 14:52:25 gnaosp001 vpp-agent[960833]: ERROR vpp_agent m, s = VPPApiJSONFiles.process_json_file(apidef_file) Oct 02 14:52:25 gnaosp001 vpp-agent[960833]: ERROR vpp_agent File "/home/stack/.local/lib/python3.8/site-packages/vpp_papi/vpp_papi.py", line 315, in process_json_file Oct 02 14:52:25 gnaosp001 vpp-agent[960833]: ERROR vpp_agent messages[m[0]] = VPPMessage(m[0], m[1:]) Oct 02 14:52:25 gnaosp001 vpp-agent[960833]: ERROR vpp_agent File "/home/stack/.local/lib/python3.8/site-packages/vpp_papi/vpp_serializer.py", line 556, in __init__ Oct 02 14:52:25 gnaosp001
[vpp-dev] "vpp_agent vpp_papi.vpp_papi.VPPIOError: [Errno 2] Connect failed" seen with networking-vpp bringup on openstack #vpp-dev
I have Ubuntu 20.04 with AIO openstack installed from devstack. Openstack deployment came up fine but VPP-agent is throwing below error. Any help would be appreciated I was following the steps mentioned here https://opendev.org/x/networking-vpp/src/branch/master stack@gnaosp001:~/devstack$ sudo systemctl status devstack@vpp-agent.service ● devstack@vpp-agent.service - Devstack devstack@vpp-agent.service Loaded: loaded (/etc/systemd/system/devstack@vpp-agent.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Fri 2022-09-30 21:26:26 UTC; 10s ago Process: 191566 ExecStart=/usr/local/bin/vpp-agent --config-file /etc/neutron/plugins/ml2/ml2_conf.ini --config-file //etc/neutron/neutron.co> Main PID: 191566 (code=exited, status=1/FAILURE) Sep 30 21:26:25 gnaosp001 vpp-agent[191566]: ERROR vpp_agent self._vpp.connect("python-VPPInterface", **args) Sep 30 21:26:25 gnaosp001 vpp-agent[191566]: ERROR vpp_agent File "/usr/lib/python3/dist-packages/vpp_papi/vpp_papi.py", line 516, in connect Sep 30 21:26:25 gnaosp001 vpp-agent[191566]: ERROR vpp_agent return self.connect_internal(name, msg_handler, chroot_prefix, rx_qlen, Sep 30 21:26:25 gnaosp001 vpp-agent[191566]: ERROR vpp_agent File "/usr/lib/python3/dist-packages/vpp_papi/vpp_papi.py", line 488, in connect_i> Sep 30 21:26:25 gnaosp001 vpp-agent[191566]: ERROR vpp_agent raise VPPIOError(2, 'Connect failed') Sep 30 21:26:25 gnaosp001 vpp-agent[191566]: ERROR vpp_agent vpp_papi.vpp_papi.VPPIOError: [Errno 2] Connect failed Sep 30 21:26:25 gnaosp001 vpp-agent[191566]: ERROR vpp_agent Sep 30 21:26:25 gnaosp001 vpp-agent[191566]: DEBUG vpp_papi.vpp_papi.VPPApiClient [-] Cleaning up VPP on exit {{(pid=191566) vpp_atexit /usr/lib/> Sep 30 21:26:26 gnaosp001 systemd[1]: devstack@vpp-agent.service: Main process exited, code=exited, status=1/FAILURE Sep 30 21:26:26 gnaosp001 systemd[1]: devstack@vpp-agent.service: Failed with result 'exit-code'. stack@gnaosp001:~/devstack$ stack@gnaosp001:~/devstack$ sudo systemctl status vpp.service ● vpp.service - vector packet processing engine Loaded: loaded (/lib/systemd/system/vpp.service; enabled; vendor preset: enabled) Active: active (running) since Fri 2022-09-30 21:20:36 UTC; 6min ago Process: 190618 ExecStartPre=/sbin/modprobe uio_pci_generic (code=exited, status=0/SUCCESS) Main PID: 190621 (vpp_main) Tasks: 3 (limit: 309090) Memory: 77.0M CGroup: /system.slice/vpp.service └─190621 /usr/bin/vpp -c /etc/vpp/startup.conf Start.conf file = ~/devstack$ cat startup.conf unix { nodaemon log /tmp/vpp.log full-coredump startup-config /etc/vpp-startup.conf } api-trace { on } dpdk { socket-mem 128 } -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#21949): https://lists.fd.io/g/vpp-dev/message/21949 Mute This Topic: https://lists.fd.io/mt/94027170/21656 Mute #vpp-dev:https://lists.fd.io/g/vpp-dev/mutehashtag/vpp-dev Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[vpp-dev] Documentation to install networking VPP plugin on openstack
HI ALL, Can someone help and point me to the documentation to install networking VPP plugin on openstack. thanks, Suresh -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#21947): https://lists.fd.io/g/vpp-dev/message/21947 Mute This Topic: https://lists.fd.io/mt/93986291/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[vpp-dev] #vpp-dev: VPP support on RedHat Openstack platform
Is VPP supported on RedHat Openstack platform ? -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#21930): https://lists.fd.io/g/vpp-dev/message/21930 Mute This Topic: https://lists.fd.io/mt/93936232/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[vpp-dev] #vpp-dev: VRF route leak not working between two VRF's
I have two loopback interfaces in two different VRF's. I have now configured route leak between two VRF's as shown below but route leak is not happening and also linux is not learning these leaked routes ip table add 1 set interface ip address loop9997 192.168.97.9/24 set interface state loop9997 up set interface ip table loop9997 1 lcp create loop9997 host-if data9997 ip table add 2 set interface ip address loop9998 192.168.98.9/24 set interface state loop9998 up set interface ip table loop9998 2 lcp create loop9998 host-if data9998 ip route add 192.168.98.0/24 table 1 via loop9998 ip route add 192.168.97.0/24 table 2 via loop9997 ON linux no routes are learned = $ sudo ip netns exec dataplane ip route show 192.168.98.0/24 vrf vrf1 $ $ sudo ip netns exec dataplane ip route show 192.168.97.0/24 vrf vrf2 $ -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#21154): https://lists.fd.io/g/vpp-dev/message/21154 Mute This Topic: https://lists.fd.io/mt/90148412/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] VPP interface configured under VRF is recognized as default VRF interface on FRR #vpp-dev
Thanks Matt and Pim. When I added routes in kernal table it started working under vrf Thanks and regards, Suresh V -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#21002): https://lists.fd.io/g/vpp-dev/message/21002 Mute This Topic: https://lists.fd.io/mt/89678481/21656 Mute #vpp-dev:https://lists.fd.io/g/vpp-dev/mutehashtag/vpp-dev Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[vpp-dev] VPP interface configured under VRF is recognized as default VRF interface on FRR #vpp-dev
HI VPP dev, I have a loop configured under a vrf 1 in VPP. I need this interface to write into linux so it can be read by FRR as interface in vrf 1. I have configured as below but FRR still sees lo5007 in default vrf. ip table add 1 set interface ip table loop5007 *1* lcp create loop5007 host-if lo5007 FRR# show int br Interface Status VRF Addresses - -- --- - lo up default lo5007 up *default* 192.168.7.9/24 lo5008 up *default* 192.168.6.9/24 Can you please help here to config loop on VPP so FRR recognizes it as vrf interface Thanks, Suresh -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#20995): https://lists.fd.io/g/vpp-dev/message/20995 Mute This Topic: https://lists.fd.io/mt/89678481/21656 Mute #vpp-dev:https://lists.fd.io/g/vpp-dev/mutehashtag/vpp-dev Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[vpp-dev] Ping to loopback behind Vxlan tunnel is failing #vpp-dev
HI VPP-DEV team, ubuntu 20.04 vpp v22.06-rc0~79-g48bdf24ad I have my ubuntu 20.04 running the latest VPP code. The ubuntu machine is connected to a router. I have a static vxlan tunnel configured between bare metal and VPP. The tunnel is up. Now I have created a loop5007 and added the vxlan tunnel in the same BD. Ping is failing from external router to the loopback behind vxlan in VPP. I see that l2 mac learning is happening on VPP but ping is failing. Can you please suggest what went wrong here VPP trace: create loopback interface instance 0 lcp create loop0 host-if loop0 set interface state loop0 up set interface ip address loop0 2001:db8::1/64 set interface ip address loop0 192.0.2.1/24 ( http://192.0.2.1/24 ) create bond mode lacp load-balance l34 id 0 set interface state TenGigabitEthernetd8/0/0 up set interface state TenGigabitEthernet5e/0/0 up bond add BondEthernet0 TenGigabitEthernetd8/0/0 long-timeout bond add BondEthernet0 TenGigabitEthernet5e/0/0 long-timeout lcp create BondEthernet0 host-if bond0 create sub-interfaces BondEthernet0 80 lcp create BondEthernet0.80 host-if bond0.80 create sub-interfaces BondEthernet0 70 lcp create BondEthernet0.70 host-if bond0.70 set interface state BondEthernet0 up set interface ip address BondEthernet0.70 172.16.101. 229/24 ( http://172.16.101.229/24 ) set interface state BondEthernet0.70 up create vxlan tunnel src 172.16.101.229 dst 172.12.168.9 vni 5007 decap-next l2 create bridge-domain 5007 learn 1 forward 1 flood 1 arp-term 1 bd-tag 5007 create loopback interface mac cc:cc:cc:dd:dd:01 instance 5007 set interface mtu packet 9000 vxlan_tunnel0 set interface state vxlan_tunnel0 up set interface l2 bridge vxlan_tunnel0 5007 set interface l2 bridge loop5007 5007 set interface ip address loop5007 192.168.7.9/24 ( http://192.168.7.9/24 ) set interface state loop5007 up Packet 12 00:43:02:602880: dpdk-input TenGigabitEthernet5e/0/0 rx queue 0 buffer 0x4c3fd8: current data 0, length 152, buffer-pool 0, ref-count 1, trace handle 0xb ext-hdr- valid PKT MBUF: port 0, nb_segs 1, pkt_len 152 buf_len 2176, data_len 152, ol_flags 0x180, data_off 128, phys_addr 0x130ff680 packet_type 0x291 l2_len 0 l3_len 0 outer_l2_len 0 outer_l3_len 0 rss 0x0 fdir.hi 0x0 fdir.lo 0x0 Packet Offload Flags PKT_RX_IP_CKSUM_GOOD (0x0080) IP cksum of RX pkt. is valid PKT_RX_IP_CKSUM_NONE (0x0090) no IP cksum of RX pkt. PKT_RX_L4_CKSUM_GOOD (0x0100) L4 cksum of RX pkt. is valid PKT_RX_L4_CKSUM_NONE (0x0108) no L4 cksum of RX pkt. Packet Types RTE_PTYPE_L2_ETHER (0x0001) Ethernet packet RTE_PTYPE_L3_IPV4_EXT_ UNKNOWN (0x0090) IPv4 packet with or without extension headers RTE_PTYPE_L4_UDP (0x0200) UDP packet IP4: 2c:f8:9b:57:a5:df -> 3c:fd:fe:e1:61:08 802.1q vlan 70 UDP: 172.12.168.9 -> 172.16.101.229 tos 0x00, ttl 253, length 134, checksum 0x75be dscp CS0 ecn NON_ECN fragment id 0x7ee3, flags DONT_FRAGMENT UDP: 58360 -> 4789 length 114, checksum 0x 00:43:02:602892: bond-input src 2c:f8:9b:57:a5:df, dst 3c:fd:fe:e1:61:08, TenGigabitEthernet5e/0/0 -> BondEthernet0 00:43:02:602980: ethernet-input IP4: 2c:f8:9b:57:a5:df -> 3c:fd:fe:e1:61:08 802.1q vlan 70 00:43:02:603046: ip4-input UDP: 172.12.168.9 -> 172.16.101.229 tos 0x00, ttl 253, length 134, checksum 0x75be dscp CS0 ecn NON_ECN fragment id 0x7ee3, flags DONT_FRAGMENT UDP: 58360 -> 4789 length 114, checksum 0x 00:43:02:603110: ip4-lookup fib 0 dpo-idx 14 flow hash: 0x UDP: 172.12.168.9 -> 172.16.101.229 tos 0x00, ttl 253, length 134, checksum 0x75be dscp CS0 ecn NON_ECN fragment id 0x7ee3, flags DONT_FRAGMENT UDP: 58360 -> 4789 length 114, checksum 0x 00:43:02:603184: ip4-receive UDP: 172.12.168.9 -> 172.16.101.229 tos 0x00, ttl 253, length 134, checksum 0x75be dscp CS0 ecn NON_ECN fragment id 0x7ee3, flags DONT_FRAGMENT UDP: 58360 -> 4789 length 114, checksum 0x 00:43:02:603261: ip4-udp-lookup UDP: src-port 58360 dst-port 4789 00:43:02:603342: vxlan4-input VXLAN decap from vxlan_tunnel0 vni 5007 next 1 error 0 00:43:02:603421: l2-input l2-input: sw_if_index 12 dst cc:cc:cc:dd:dd:01 src 88:d9:8f:25:f9:25 [l2-learn l2-fwd l2-flood arp-term-l2bd l2-flood ] 00:43:02:603502: l2-learn l2-learn: sw_if_index 12 dst cc:cc:cc:dd:dd:01 src 88:d9:8f:25:f9:25 bd_index 1 00:43:02:603591: l2-fwd l2-fwd: sw_if_index 12 dst cc:cc:cc:dd:dd:01 src 88:d9:8f:25:f9:25 bd_index 1 result [0x1130d, 13] none 00:43:02:603683: l2-output l2-output: sw_if_index 13 dst cc:cc:cc:dd:dd:01 src 88:d9:8f:25:f9:25 data 08 00 45 00 00 54 e0 ac 00 00 40 01 00:43:02:603778: loop5007-output loop5007 IP4: 88:d9:8f:25:f9:25 -> cc:cc:cc:dd:dd:01 ICMP: 192.168.7.10 -> 192.168.7.9 tos 0x00, ttl 64, length 84, checksum 0x0a99 dscp CS0 ecn NON_ECN fragment id 0xe0ac ICMP echo_request checksum 0x7ef8 id 18117 00:43:02:603992: l2-input l2-input: sw_if_index 13 dst cc:cc:cc:dd:dd:01 src 88:d9:8f:25:f9:25 [l2-learn l2-fwd l2-flood arp-term-l2bd
Re: [vpp-dev] EVPN mac/IP routes are advertised when tunnel in created on kernal but not working when vxlan tunnel is on VPP #vpp-dev
Hi Pim, Thanks for the response. Is evpn auto-creating the bridge for Linux, and plumbing it through to FRR functionality supported currently on VPP code ? if Yes can you point me to the steps to achieve this Thanks, Suresh -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#20919): https://lists.fd.io/g/vpp-dev/message/20919 Mute This Topic: https://lists.fd.io/mt/89374653/21656 Mute #vpp-dev:https://lists.fd.io/g/vpp-dev/mutehashtag/vpp-dev Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [vpp-dev] EVPN mac/IP routes are advertised when tunnel in created on kernal but not working when vxlan tunnel is on VPP #vpp-dev
Can someone please help out here. Just to make things work using VPP as the way kernal works, I created a BD in VPP but I dont see lcp cli for BD so Linux learns about the bridge? -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#20916): https://lists.fd.io/g/vpp-dev/message/20916 Mute This Topic: https://lists.fd.io/mt/89374653/21656 Mute #vpp-dev:https://lists.fd.io/g/vpp-dev/mutehashtag/vpp-dev Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[vpp-dev] EVPN mac/IP routes are advertised when tunnel in created on kernal but not working when vxlan tunnel is on VPP #vpp-dev
When I create vxlan tunnel in VPP, loop1 and add them to bridge-domain, I dont't see mac/ip routes adv to the remote VTEP. But If I do same steps in linux kernal that seems to work fine and mac/ip routes are adv to remote VTEP as expected. Can you please let me know why VPP is not working int this case ? FRR is similar for both the scenerios. ubuntu 20.04 vpp v22.06-rc0~79-g48bdf24ad FRRouting (version 8.1) On VPP === create vxlan tunnel src 172.16.1.1 dst 172.31.100.2 vni 15013 lcp create vxlan_tunnel0 host-if vxlan15013 create loopback interface instance 0 lcp create loop0 host-if loop0 set interface state loop0 up create bridge-domain 15013 learn 1 forward 1 flood 1 arp-term 0 bd-tag bd-15013 set interface l2 bridge loop1 15013 set interface l2 bridge vxlan_tunnel0 15013 vpp# show bridge-domain 15013 detail BD-ID Index BSN Age(min) Learning U-Forwrd UU-Flood Flooding ARP-Term arp-ufwd Learn-co Learn-li BVI-Intf 15013 1 0 off on on flood on off off 1 16777216 N/A Interface If-idx ISN SHG BVI TxFlood VLAN-Tag-Rewrite tap8 11 1 0 - * none vxlan_tunnel0 10 1 0 - * none loop1 14 1 0 - - none vpp# *show vxlan tunnel* [0] instance 0 src 172.16.100.229 dst 172.31.1.1 src_port 4789 dst_port 4789 vni 15013 fib-idx 0 sw-if-idx 10 encap-dpo-idx 0 l3 0 vpp# show evpn mac vni 15013 vpp# On Linux Kernal = sudo ip netns exec dataplane ip link add vxlan15013 type vxlan id 15013 dstport 4789 local 172.16.1.1 nolearning sudo ip netns exec dataplane brctl addbr br15013 sudo ip netns exec dataplane brctl addif br15013 vxlan15026 sudo ip netns exec dataplane brctl stp br15013 off sudo ip netns exec dataplane brctl addif br15013 loop1 sudo ip netns exec dataplane ip link set up dev br15013 sudo ip netns exec dataplane brctl show bridge namebridge idSTP enabled interfaces br150138000.56d6dcd7f60anoloop1 vxlan15013 show evpn mac vni 15013 Number of MACs (local and remote) known for this VNI: 1 Flags: N=sync-neighs, I=local-inactive, P=peer-active, X=peer-proxy MAC Type Flags Intf/Remote ES/VTEP VLAN Seq #'s 56:d6:dc:d7:f6:0a local br15013 1 0/0 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#20910): https://lists.fd.io/g/vpp-dev/message/20910 Mute This Topic: https://lists.fd.io/mt/89374653/21656 Mute #vpp-dev:https://lists.fd.io/g/vpp-dev/mutehashtag/vpp-dev Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[vpp-dev] Dynamic VXLAN tunnel support on VPP #vpp-dev
Hi VPP-dev team, I have latest VPP/FRR running on my baremetal ubuntu 20.4. My topo is as below ubuntu(VPP/FRR) (VTEP1)<> Router1(route-reflector) <--> Router2(VTEP2) Here Router2 is physical vendor router running BGP-EVPN with VTEP configured for dynamically forming the Vxlan tunnel. I need similar config on ubuntu running VPP to configure VTEP, so it can dynamically form Vxlan tunnel with router2. Currently Ubuntu(VPP/FRR) have BGP ipv4/evpn neighbor formed with Router1(route-reflector) and learning all the routes from RR. Can you please let me know if VPP has dynamic VTEP discovery supported? If yes can you point me to the documentation? -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#20864): https://lists.fd.io/g/vpp-dev/message/20864 Mute This Topic: https://lists.fd.io/mt/89110297/21656 Mute #vpp-dev:https://lists.fd.io/g/vpp-dev/mutehashtag/vpp-dev Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [vpp-dev] Install vpp with router/netlink plugin and FRR #vpp
Hi Pim, Thank you for being so promptive and helpful. I did a fresh install of Ubuntu Focal on my metal and followed your instructions from the link provided. VPP and FRR are UP and running now. Cheers, Suresh Vuppala On Tue, Feb 8, 2022 at 2:18 AM Pim van Pelt wrote: > Hoi Suresh, > > The fd.io documentation on building VPP lives here: > https://fdio-vpp.readthedocs.io/en/latest/gettingstarted/developers/building.html > > As you've observed, the link in the VPP Playground article I provided ( > https://ipng.ch/s/articles/2021/12/23/vpp-playground.html) does contain a > KVM image. However, you can build VPP for yourself with instructions in the > article, see the section called "Step 2. Compile VPP + Linux CP". If you > want to take a shortcut, the KVM image also contains the Debian packages > (they will install cleanly on Debian Bullseye and Ubuntu Focal). > > groet, > Pim > > > On Tue, Feb 8, 2022 at 3:54 AM suresh vuppala wrote: > >> Hi Pim, >> >>I have installed VPP by doing 'apt install vpp" on bare metal running >> ubuntu by following the link below. >> >> https://github.com/three6five-kzn/dpdk >> >> I see that the link you provided has code VPP+linux CP for a machine >> running KVM on it. >> >> In my case I have bare metal with ubuntu and VPP running on top of it. >> How do I install your linux_cp plugin in my case? Appreciate your help >> >> Thanks, >> Suresh Vuppala >> >> >> On Fri, Feb 4, 2022 at 8:33 AM Dave Wallace wrote: >> >>> Suresh, >>> >>> Please be aware that VPP 20.04 has not been supported for well over a >>> year (since VPP 20.09 was released). >>> >>> I would highly recommend that you move forward to stable/21.10 or the >>> soon to be released stable/22.02 branch. Based on 20.04, you are >>> effectively on your own. >>> >>> Thanks, >>> -daw- >>> >>> On 2/3/22 5:59 AM, Pim van Pelt wrote: >>> >>> Hoi Suresh, >>> >>> Do not use this plugin, we really should delete it. Recently, work on >>> Linux Control Plane has progressed - please take a look at the following >>> resources -- https://ipng.ch/s/articles/ >>> It describes the work that we've been doing to create a feature complete >>> BGP/OSPF/ISIS capable plugin for VPP. >>> >>> If you build VPP at HEAD, you will find a plugin called 'linux-cp' which >>> contains the code you need to expose FRR and other higher level routing >>> suites. I recommend you read the posts above, and possibly take out a KVM >>> image with FRR + Bird2 prebuilt here: >>> https://ipng.ch/s/articles/2021/12/23/vpp-playground.html >>> >>> If you're feeling adventurous, you can take a look at the completed >>> plugin in an out-or-tree (and fully unsupported by the community :) >>> repository at github.com/pimvanpelt/lcpng but you won't need it >>> anymore, as the lion's share of the code has been committed to VPP. I hope >>> to finish upstreaming the last bits of code into VPP in time for the next >>> release (which will be VPP 22.06). >>> >>> groet, >>> Pim >>> >>> On Thu, Feb 3, 2022 at 1:14 AM wrote: >>> >>>> Hi all, >>>> >>>>My goal is to install FRR and VPP with all router/network plugin >>>> directly on ubunut 20.04 without any VM. >>>> >>>> I am following this link to complete my goal ' >>>> https://github.com/FRRouting/frr/wiki/Alternate-forwarding-planes%3A-VPP'. >>>> But here the author explains how to install VPP on vagrant, Can some one >>>> help or point to link where I cna install VPP directly on ubuntu with all >>>> required plugins(netlink/router plugin) >>>> >>>> When I try to follow same steps by eliminating Vagrant related commands >>>> I see below error >>>> >>>> $ git clone https://gerrit.fd.io/r/vpp >>>> >>>> $ git clone https://gerrit.fd.io/r/vpps >>>> >>>> $ sudo apt-get install -y python-cffi python-pycparser >>>> >>>> $ cd /vpp >>>> >>>> $ git checkout v18.10 >>>> >>>> $ ln -sf /home/vagrant/vppsb/netlink >>>> >>>> $ ln -sf /home/vagrant/vppsb/router >>>> >>>> $ ln -sf ../../netlink/netlink.mk build-data/packages/ >>>> >>>> $ ln -sf ../../router/router.mk build-data/packages/ >>>> >>>> $ cd
Re: [vpp-dev] Install vpp with router/netlink plugin and FRR #vpp
Hi Pim, I have installed VPP by doing 'apt install vpp" on bare metal running ubuntu by following the link below. https://github.com/three6five-kzn/dpdk I see that the link you provided has code VPP+linux CP for a machine running KVM on it. In my case I have bare metal with ubuntu and VPP running on top of it. How do I install your linux_cp plugin in my case? Appreciate your help Thanks, Suresh Vuppala On Fri, Feb 4, 2022 at 8:33 AM Dave Wallace wrote: > Suresh, > > Please be aware that VPP 20.04 has not been supported for well over a year > (since VPP 20.09 was released). > > I would highly recommend that you move forward to stable/21.10 or the soon > to be released stable/22.02 branch. Based on 20.04, you are effectively on > your own. > > Thanks, > -daw- > > On 2/3/22 5:59 AM, Pim van Pelt wrote: > > Hoi Suresh, > > Do not use this plugin, we really should delete it. Recently, work on > Linux Control Plane has progressed - please take a look at the following > resources -- https://ipng.ch/s/articles/ > It describes the work that we've been doing to create a feature complete > BGP/OSPF/ISIS capable plugin for VPP. > > If you build VPP at HEAD, you will find a plugin called 'linux-cp' which > contains the code you need to expose FRR and other higher level routing > suites. I recommend you read the posts above, and possibly take out a KVM > image with FRR + Bird2 prebuilt here: > https://ipng.ch/s/articles/2021/12/23/vpp-playground.html > > If you're feeling adventurous, you can take a look at the completed plugin > in an out-or-tree (and fully unsupported by the community :) repository at > github.com/pimvanpelt/lcpng but you won't need it anymore, as the lion's > share of the code has been committed to VPP. I hope to finish upstreaming > the last bits of code into VPP in time for the next release (which will be > VPP 22.06). > > groet, > Pim > > On Thu, Feb 3, 2022 at 1:14 AM wrote: > >> Hi all, >> >>My goal is to install FRR and VPP with all router/network plugin >> directly on ubunut 20.04 without any VM. >> >> I am following this link to complete my goal ' >> https://github.com/FRRouting/frr/wiki/Alternate-forwarding-planes%3A-VPP'. >> But here the author explains how to install VPP on vagrant, Can some one >> help or point to link where I cna install VPP directly on ubuntu with all >> required plugins(netlink/router plugin) >> >> When I try to follow same steps by eliminating Vagrant related commands I >> see below error >> >> $ git clone https://gerrit.fd.io/r/vpp >> >> $ git clone https://gerrit.fd.io/r/vpps >> >> $ sudo apt-get install -y python-cffi python-pycparser >> >> $ cd /vpp >> >> $ git checkout v18.10 >> >> $ ln -sf /home/vagrant/vppsb/netlink >> >> $ ln -sf /home/vagrant/vppsb/router >> >> $ ln -sf ../../netlink/netlink.mk build-data/packages/ >> >> $ ln -sf ../../router/router.mk build-data/packages/ >> >> $ cd build-root/ >> >> $ make V=0 PLATFORM=vpp TAG=vpp_debug install-deb netlink-install >> router-install >> >> gna@admin:~/vpp/build-root$ make V=0 PLATFORM=vpp TAG=vpp_debug >> netlink-install router-install >> Arch for platform 'vpp' is native >> Finding source for external >> Makefile fragment found in /home/gna/vpp/build-data/packages/ >> external.mk >> Source found in /home/gna/vpp/build >> Arch for platform 'vpp' is native >> Finding source for vpp >> Makefile fragment found in /home/gna/vpp/build-data/packages/vpp.mk >> >> Source found in /home/gna/vpp/src >> Arch for platform 'vpp' is native >> Finding source for netlink >> Makefile fragment found in /home/gna/vpp/build-data/packages/ >> netlink.mk >> Source found in /home/gna/vpp/netlink >> Configuring external: nothing to do >> Building external: nothing to do >> Installing external >> make[1]: Entering directory '/home/gna/vpp/build/external' >> make install >> make[2]: Entering directory '/home/gna/vpp/build/external' >> --- installing nasm 2.14.02 - log: >> /home/gna/vpp/build-root/build-vpp_debug-native/external/nasm.install.log >> *autoreconf: 'configure.ac <http://configure.ac>' or 'configure.in >> <http://configure.in>' is required* >> *make[3]: *** No rule to make target 'configure', needed by >> 'config.status'. Stop.* >> *make[2]: *** [packages/nasm.mk:22 <http://nasm.mk:22>: >> /home/gna/vpp/build-root
[vpp-dev] VPP: Error while building the netlink plugin after cloning VPPSB
Hi Team, Make for netlink plugin us failing with below error. Firstly I cloned vppsb git clone https://gerrit.fd.io/r/vppsb cd vppsb Then I started building netlink plugin. Make failed with below errors cd netlink libtoolize aclocal autoconf automake --add-missing ./configure make ~/vppsb/netlink$ make depbase=`echo librtnl/netns.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/bash ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"netlink\" -DPACKAGE_TARNAME=\"netlink\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"netlink\ 1.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DPACKAGE=\"netlink\" -DVERSION=\"1.0\" -I. -Wall -fstack-protector -fPIC -Werror -g -DFORTIFY_SOURCE=2 -O2 -Wall -g -O2 -MT librtnl/netns.lo -MD -MP -MF $depbase.Tpo -c -o librtnl/netns.lo librtnl/netns.c &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: gcc -DPACKAGE_NAME=\"netlink\" -DPACKAGE_TARNAME=\"netlink\" -DPACKAGE_VERSION=\"1.0\" "-DPACKAGE_STRING=\"netlink 1.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DPACKAGE=\"netlink\" -DVERSION=\"1.0\" -I. -Wall -fstack-protector -fPIC -Werror -g -DFORTIFY_SOURCE=2 -O2 -Wall -g -O2 -MT librtnl/netns.lo -MD -MP -MF librtnl/.deps/netns.Tpo -c librtnl/netns.c -fPIC -DPIC -o librtnl/.libs/netns.o librtnl/netns.c: In function ‘netns_notify’: librtnl/netns.c:321:6: error: macro "pool_foreach" passed 3 arguments, but takes just 2 }); ^ librtnl/netns.c:318:3: error: ‘pool_foreach’ undeclared (first use in this function); did you mean ‘_pool_free’? pool_foreach(h, nm->handles, { ^~~~ _pool_free librtnl/netns.c:318:3: note: each undeclared identifier is reported only once for each function it appears in librtnl/netns.c:317:19: error: unused variable ‘h’ [-Werror=unused-variable] netns_handle_t *h; ^ librtnl/netns.c:316:17: error: unused variable ‘nm’ [-Werror=unused-variable] netns_main_t *nm = _main; ^~ librtnl/netns.c: In function ‘ns_get_link’: librtnl/netns.c:344:6: error: macro "pool_foreach" passed 3 arguments, but takes just 2 }); ^ librtnl/netns.c:341:3: error: ‘pool_foreach’ undeclared (first use in this function); did you mean ‘_pool_free’? pool_foreach(link, ns->netns.links, { ^~~~ _pool_free librtnl/netns.c:340:14: error: unused variable ‘link’ [-Werror=unused-variable] ns_link_t *link; ^~~~ librtnl/netns.c: In function ‘ns_get_route’: librtnl/netns.c:411:6: error: macro "pool_foreach" passed 3 arguments, but takes just 2 }); ^ librtnl/netns.c:407:3: error: ‘pool_foreach’ undeclared (first use in this function); did you mean ‘_pool_free’? pool_foreach(route, ns->netns.routes, { ^~~~ _pool_free librtnl/netns.c:398:16: error: unused variable ‘msg’ [-Werror=unused-variable] struct rtmsg msg = { ^~~ librtnl/netns.c:395:15: error: unused variable ‘route’ [-Werror=unused-variable] ns_route_t *route; ^ librtnl/netns.c: In function ‘ns_get_addr’: librtnl/netns.c:474:6: error: macro "pool_foreach" passed 3 arguments, but takes just 2 }); ^ librtnl/netns.c:470:3: error: ‘pool_foreach’ undeclared (first use in this function); did you mean ‘_pool_free’? pool_foreach(addr, ns->netns.addresses, { ^~~~ _pool_free librtnl/netns.c:465:20: error: unused variable ‘msg’ [-Werror=unused-variable] struct ifaddrmsg msg = { ^~~ librtnl/netns.c:462:14: error: unused variable ‘addr’ [-Werror=unused-variable] ns_addr_t *addr; ^~~~ librtnl/netns.c: In function ‘ns_get_neigh’: librtnl/netns.c:537:6: error: macro "pool_foreach" passed 3 arguments, but takes just 2 }); ^ librtnl/netns.c:533:3: error: ‘pool_foreach’ undeclared (first use in this function); did you mean ‘_pool_free’? pool_foreach(neigh, ns->netns.neighbors, { ^~~~ _pool_free librtnl/netns.c:528:16: error: unused variable ‘msg’ [-Werror=unused-variable] struct ndmsg msg = { ^~~ librtnl/netns.c:525:15: error: unused variable ‘neigh’ [-Werror=unused-variable] ns_neigh_t *neigh; ^ librtnl/netns.c: In function ‘ns_recv_error’: librtnl/netns.c:609:3: error: macro "pool_foreach_index" passed 3 arguments, but takes just 2 ns_object_foreach ^ librtnl/netns.c:600:3: error: ‘pool_foreach_index’ undeclared (first use in this function); did you mean ‘__os_thread_index’? pool_foreach_index(*i, ns->netns.pool, { \ ^ librtnl/netns.c:586:3: note: in expansion of macro ‘_’ _(neighbors, NETNS_TYPE_NEIGH) \ ^ librtnl/netns.c:609:3: note: in expansion of macro ‘ns_object_foreach’ ns_object_foreach ^ In file included from
[vpp-dev] Linux interfaces on cisco UCS running ubuntu not recognized by VPP
I have newly installed VPP on my CISCO UCS bare metal running ubuntu and installed packages by following : sudo apt install libmbedtls-dev vpp-lib vpp vpp-plugins vpp-dev sudo service vpp restart After restart I was expecting VPP to detect the linux interfaces I have added PCI interfaces which are in down state under DPDK in ‘/etc/vpp/startup.conf’ dpdk { dev default { num-rx-queues 8 num-tx-queues 8 } uio-driver vfio-pci dev :d8:00.0 dev :5e:00.0 } ~$ sudo vppctl show pci [sudo] password for gnalab: Address Sock VID:PID Link SpeedDriver Product Name Vital Product Data :3b:00.0 0 8086:1563 8.0 GT/s x4 ixgbe Cisco X550-TX 10 GigPN: X550-TX V0: 0x 4d 41 50 20 32 2e 37 30 ... MN: 7 RV: 0x 69 :3b:00.1 0 8086:1563 8.0 GT/s x4 ixgbe Cisco X550-TX 10 GigPN: X550-TX V0: 0x 4d 41 50 20 32 2e 37 30 ... MN: 7 RV: 0x 69 :5e:00.0 0 8086:1583 8.0 GT/s x8 Cisco(R) Ethernet Converged NIC PN: XL710-QDA2 V0: 0x 4d 41 50 20 35 2e 31 36 ... MN: 1137 RV: 0x f2 :5e:00.1 0 8086:1583 8.0 GT/s x8 i40eCisco(R) Ethernet Converged NIC PN: XL710-QDA2 V0: 0x 4d 41 50 20 35 2e 31 36 ... MN: 1137 RV: 0x f2 :d8:00.0 1 8086:1583 8.0 GT/s x8 Cisco(R) Ethernet Converged NIC PN: XL710-QDA2 V0: 0x 4d 41 50 20 35 2e 31 36 ... MN: 1137 RV: 0x f2 :d8:00.1 1 8086:1583 8.0 GT/s x8 i40eCisco(R) Ethernet Converged NIC PN: XL710-QDA2 V0: 0x 4d 41 50 20 35 2e 31 36 ... MN: 1137 RV: 0x f2 ~$ ~$ sudo vppctl show int Name IdxState MTU (L3/IP4/IP6/MPLS) Counter Count local00 down 0/0/0/0 ~$ sudo service vpp restart ~$ sudo service vpp status Still interfaces are not detected by VPP, SO I followed your document https://ipng.ch/s/articles/2021/03/27/coloclue-vpp.html and made changes to grub file ‘/etc/default/grub’ as below GRUB_CMDLINE_LINUX_DEFAULT="intel_iommu=on iommu=pt" sudo update-grub Sudo reboot ~$ sudo service vpp restart ~$ sudo service vpp status gnalab@gnalab:~$ sudo vppctl show int Name IdxState MTU (L3/IP4/IP6/MPLS) Counter Count local00 down 0/0/0/0 Can you please help and let me know If I missed anything. Your help is highly appreciated -- Suresh Kumar Vuppala -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#20841): https://lists.fd.io/g/vpp-dev/message/20841 Mute This Topic: https://lists.fd.io/mt/88982749/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] VPP doesnt detect linux interfaces #vpp
more info. No XL710's are shown as empty device in Linux ~$ sudo lshw -class network -businfo Bus info Device Class Description pci@:3b:00.0 eno1 network Ethernet Controller 10G X550T pci@:3b:00.1 eno2 network Ethernet Controller 10G X550T pci@:5e:00.0 enp94s0f0 network Ethernet Controller XL710 for 40GbE QSFP+ pci@:5e:00.1 enp94s0f1 network Ethernet Controller XL710 for 40GbE QSFP+ pci@:d8:00.0 network Ethernet Controller XL710 for 40GbE QSFP+ pci@:d8:00.1 enp216s0f1 network Ethernet Controller XL710 for 40GbE QSFP+ -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#20831): https://lists.fd.io/g/vpp-dev/message/20831 Mute This Topic: https://lists.fd.io/mt/88920521/21656 Mute #vpp:https://lists.fd.io/g/vpp-dev/mutehashtag/vpp Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [vpp-dev] VPP doesnt detect linux interfaces #vpp
Initially driver was displayed but after I shut the interface and whitelisted them under DPDK in '/etc/vpp/startup.conf' it ended up in state. I have restarted ubuntu and now driver is shown as expected. But interfaces are still not detected by VPP. I did restart of VPP but no luck $ sudo vppctl show pci Address Sock VID:PID Link Speed Driver Product Name Vital Product Data :3b:00.0 0 8086:1563 8.0 GT/s x4 ixgbe Cisco X550-TX 10 Gig PN: X550-TX V0: 0x 4d 41 50 20 32 2e 37 30 ... MN: 7 RV: 0x 69 :3b:00.1 0 8086:1563 8.0 GT/s x4 ixgbe Cisco X550-TX 10 Gig PN: X550-TX V0: 0x 4d 41 50 20 32 2e 37 30 ... MN: 7 RV: 0x 69 :5e:00.0 0 8086:1583 8.0 GT/s x8 i40e Cisco(R) Ethernet Converged NIC PN: XL710-QDA2 V0: 0x 4d 41 50 20 35 2e 31 36 ... MN: 1137 RV: 0x f2 :5e:00.1 0 8086:1583 8.0 GT/s x8 i40e Cisco(R) Ethernet Converged NIC PN: XL710-QDA2 V0: 0x 4d 41 50 20 35 2e 31 36 ... MN: 1137 RV: 0x f2 :d8:00.0 1 8086:1583 8.0 GT/s x8 i40e Cisco(R) Ethernet Converged NIC PN: XL710-QDA2 V0: 0x 4d 41 50 20 35 2e 31 36 ... MN: 1137 RV: 0x f2 :d8:00.1 1 8086:1583 8.0 GT/s x8 i40e Cisco(R) Ethernet Converged NIC PN: XL710-QDA2 V0: 0x 4d 41 50 20 35 2e 31 36 ... MN: 1137 RV: 0x f2 $ cat /etc/vpp/startup.conf dpdk { dev :d8:00.0 } After I shut the interface and add PCI address under DPDK ad above the driver is shown as $ sudo vppctl show pci Address Sock VID:PID Link Speed Driver Product Name Vital Product Data :d8:00.0 1 8086:1583 8.0 GT/s x8 Cisco(R) Ethernet Converged NIC PN: XL710-QDA2 V0: 0x 4d 41 50 20 35 2e 31 36 ... MN: 1137 RV: 0x f2 $ sudo vppctl show int Name Idx State MTU (L3/IP4/IP6/MPLS) Counter Count local0 0 down 0/0/0/0 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#20830): https://lists.fd.io/g/vpp-dev/message/20830 Mute This Topic: https://lists.fd.io/mt/88920521/21656 Mute #vpp:https://lists.fd.io/g/vpp-dev/mutehashtag/vpp Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[vpp-dev] VPP doesnt detect linux interfaces #vpp
I have newly installed VPP on my bar metal running ubuntu by following : sudo apt install libmbedtls-dev vpp-lib vpp vpp-plugins vpp-dev sudo service vpp restart After restart I was expecting VPP to detect the linux interfaces gnalab@gnalab:~$ ps -eaf | grep vpp root 20108 1 1 00:22 ? 00:00:08 /usr/bin/vpp -c /etc/vpp/startup.conf I have added PCI interfaces which are in down state under DPDK in ‘/etc/vpp/startup.conf’ dpdk { dev :5e:00.0 dev :5e:00.0 } And restarted VPP sudo service vpp restart But still it is not detected, only local interface is seen :~$ sudo vppctl show int Name Idx State MTU (L3/IP4/IP6/MPLS) Counter Count local0 0 down 0/0/0/0 ~$ sudo vppctl show int Name Idx State MTU (L3/IP4/IP6/MPLS) Counter Count local0 0 down 0/0/0/0 :~$ ~$ sudo vppctl show pci Address Sock VID:PID Link Speed Driver Product Name Vital Product Data :3b:00.0 0 8086:1563 8.0 GT/s x4 ixgbe Cisco X550-TX 10 Gig PN: X550-TX V0: 0x 4d 41 50 20 32 2e 37 30 ... MN: 7 RV: 0x 69 :3b:00.1 0 8086:1563 8.0 GT/s x4 ixgbe Cisco X550-TX 10 Gig PN: X550-TX V0: 0x 4d 41 50 20 32 2e 37 30 ... MN: 7 RV: 0x 69 :5e:00.0 0 8086:1583 8.0 GT/s x8 Cisco(R) Ethernet Converged NIC PN: XL710-QDA2 V0: 0x 4d 41 50 20 35 2e 31 36 ... MN: 1137 RV: 0x f2 :5e:00.1 0 8086:1583 8.0 GT/s x8 Cisco(R) Ethernet Converged NIC PN: XL710-QDA2 V0: 0x 4d 41 50 20 35 2e 31 36 ... MN: 1137 RV: 0x f2 :d8:00.0 1 8086:1583 8.0 GT/s x8 Cisco(R) Ethernet Converged NIC PN: XL710-QDA2 V0: 0x 4d 41 50 20 35 2e 31 36 ... MN: 1137 RV: 0x f2 :d8:00.1 1 8086:1583 8.0 GT/s x8 Cisco(R) Ethernet Converged NIC PN: XL710-QDA2 V0: 0x 4d 41 50 20 35 2e 31 36 ... MN: 1137 RV: 0x f2 Can you please let me know how what I can do so VPP can detect the interfaces ? -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#20828): https://lists.fd.io/g/vpp-dev/message/20828 Mute This Topic: https://lists.fd.io/mt/88920521/21656 Mute #vpp:https://lists.fd.io/g/vpp-dev/mutehashtag/vpp Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[vpp-dev] VPP-lib/VPP-plugins install failing on ubuntu 20.04
Hi team, I am trying to install VPP directly on ubuntu 20.04. While installing for vpp plugins/vpp-lib I see dependencies error where installation candidates could have obsoleted. Can you please provide the workaround for below issue gna@admin:/var/log$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.3 LTS Release: 20.04 Codename: focal gna@admin:/var/log$ sudo apt install vpp-lib Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: vpp-lib : Depends: *libboost-system1.65.1 *but it is not installable E: Unable to correct problems, you have held broken packages. *gna@admin:/var/log$ sudo apt install vpp-plugins* Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: vpp-plugins : Depends: vpp (= 19.01.3-release) but 21.10.1-release is to be installed E: Unable to correct problems, you have held broken packages. *gna@admin:/var/log$ apt-cache search libboost-system** libboost-system-dev - Operating system (e.g. diagnostics support) library (default version) libboost-system1.71-dev - Operating system (e.g. diagnostics support) library libboost-system1.71.0 - Operating system (e.g. diagnostics support) library libboost-system1.67-dev - Operating system (e.g. diagnostics support) library libboost-system1.67.0 - Operating system (e.g. diagnostics support) library libboost-system1.62-dev - Operating system (e.g. diagnostics support) library libboost-system1.62.0 - Operating system (e.g. diagnostics support) library *gna@admin:/var/log$ sudo apt install libboost-system1.65.1* Reading package lists... Done Building dependency tree Reading state information... Done Package libboost-system1.65.1 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'libboost-system1.65.1' has no installation candidate Suresh Kumar Vuppala -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#20817): https://lists.fd.io/g/vpp-dev/message/20817 Mute This Topic: https://lists.fd.io/mt/9654/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-