def test_network_load(self):
        self.init_capfile(layers=2)
        for packet in self.capfile.packets:
            for field in ['src', 'dst', 'v', 'hl', 'tos', 'ttl']:
                ipkt = packet.packet.payload
                self.assertTrue(hasattr(ipkt, field), 'invalid packet!')
Builds list of fields for job filter queries.
dataset/ETHPy150Open kisom/pypcapfile/pcapfile/test/savefile_test.py/TestCase.test_network_load--crossover with--dataset/ETHPy150Open ganeti/ganeti/lib/query.py/_BuildFilterFields