From 113e4256135f812b022e83d2474607e7cd2ed399 Mon Sep 17 00:00:00 2001 From: sugandhagupta Date: Wed, 7 Jun 2017 17:29:48 -0700 Subject: n3xx: added args for ethernet crossover path --- mpm/python/usrp_mpm/periph_manager/n310.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'mpm/python/usrp_mpm/periph_manager/n310.py') diff --git a/mpm/python/usrp_mpm/periph_manager/n310.py b/mpm/python/usrp_mpm/periph_manager/n310.py index 805ffd209..7b403a830 100644 --- a/mpm/python/usrp_mpm/periph_manager/n310.py +++ b/mpm/python/usrp_mpm/periph_manager/n310.py @@ -154,6 +154,11 @@ class n310(PeriphManagerBase): } for ifname, table in iteritems(self._eth_dispatchers): table.set_ipv4_addr(self._chdr_interfaces[ifname]['ip_addr']) + if 'forward_eth' in args or 'forward_bcast' in args: + table.set_forward_policy( + args.get('forward_eth', False), + args.get('forward_bcast', False) + ) if 'preload_ethtables' in args: self._preload_ethtables( self._eth_dispatchers, -- cgit v1.2.3