Lines Matching refs:read_bridge_port_attr
412 def read_bridge_port_attr(bridge, link, attribute): function
3883 self.assertEqual(read_bridge_port_attr('bridge99', 'dummy98', 'path_cost'), '400')
3884 self.assertEqual(read_bridge_port_attr('bridge99', 'dummy98', 'hairpin_mode'), '1')
3885 self.assertEqual(read_bridge_port_attr('bridge99', 'dummy98', 'multicast_fast_leave'), '1')
3886 self.assertEqual(read_bridge_port_attr('bridge99', 'dummy98', 'unicast_flood'), '1')
3887 self.assertEqual(read_bridge_port_attr('bridge99', 'dummy98', 'multicast_flood'), '0')
3890 … self.assertEqual(read_bridge_port_attr('bridge99', 'dummy98', 'multicast_to_unicast'), '1')
3892 self.assertEqual(read_bridge_port_attr('bridge99', 'dummy98', 'neigh_suppress'), '1')
3893 self.assertEqual(read_bridge_port_attr('bridge99', 'dummy98', 'learning'), '0')
3894 self.assertEqual(read_bridge_port_attr('bridge99', 'dummy98', 'priority'), '23')
3895 self.assertEqual(read_bridge_port_attr('bridge99', 'dummy98', 'bpdu_guard'), '1')
3896 self.assertEqual(read_bridge_port_attr('bridge99', 'dummy98', 'root_block'), '1')
3921 self.assertEqual(read_bridge_port_attr('bridge99', 'dummy98', 'path_cost'), '400')
3922 self.assertEqual(read_bridge_port_attr('bridge99', 'dummy98', 'hairpin_mode'), '1')
3923 self.assertEqual(read_bridge_port_attr('bridge99', 'dummy98', 'isolated'), '1')
3924 self.assertEqual(read_bridge_port_attr('bridge99', 'dummy98', 'multicast_fast_leave'), '1')
3925 self.assertEqual(read_bridge_port_attr('bridge99', 'dummy98', 'unicast_flood'), '1')
3926 self.assertEqual(read_bridge_port_attr('bridge99', 'dummy98', 'multicast_flood'), '0')
3929 … self.assertEqual(read_bridge_port_attr('bridge99', 'dummy98', 'multicast_to_unicast'), '1')
3931 self.assertEqual(read_bridge_port_attr('bridge99', 'dummy98', 'neigh_suppress'), '1')
3932 self.assertEqual(read_bridge_port_attr('bridge99', 'dummy98', 'learning'), '0')
3933 self.assertEqual(read_bridge_port_attr('bridge99', 'dummy98', 'priority'), '23')
3934 self.assertEqual(read_bridge_port_attr('bridge99', 'dummy98', 'bpdu_guard'), '1')
3935 self.assertEqual(read_bridge_port_attr('bridge99', 'dummy98', 'root_block'), '1')
3939 self.assertEqual(read_bridge_port_attr('bridge99', 'test1', 'priority'), '0')