From 43f5ac70ced4537e7b2959704ddbdcd9ffb11b7c Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Tue, 28 Jun 2022 12:18:01 +0200 Subject: mpm: xportmgr_udp: Include iface name in info XportMgrUDP.get_chdr_link_options() now also returns the interface name (e.g., sfp0) in its return values, which is very useful for identifying a transport in a different context (e.g., when only the node_inst value of a transport is known). --- mpm/python/usrp_mpm/xports/xportmgr_udp.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mpm/python/usrp_mpm/xports/xportmgr_udp.py b/mpm/python/usrp_mpm/xports/xportmgr_udp.py index f952576e4..9e69e6bd1 100644 --- a/mpm/python/usrp_mpm/xports/xportmgr_udp.py +++ b/mpm/python/usrp_mpm/xports/xportmgr_udp.py @@ -224,6 +224,7 @@ class XportMgrUDP: return [ { + 'iface': iface_name, 'ipv4': str(iface_info['ip_addr']) \ if (self.iface_config[iface_name]['type'] != 'internal') \ else str(self.get_fpga_internal_ip_address(iface_name)), -- cgit v1.2.3-59-g8ed1b