예제 #1
0
    def setUp(self) :
        self.conf = helpers.get_conf()
        self.sfc = helpers.addr_services(self.conf, BulkBufTestCase.services)

        ip6 = IPv6(src=self.sfc[-1], dst=self.sfc[0])
        sr  = IPv6ExtHdrSegmentRouting(addresses=self.sfc[::-1],
                                nseg=len(self.sfc) - 1, fseg=len(self.sfc) - 1)
        self.hdr = (ip6/sr/IPv6())

        self.sport = 50000
        self.dport = 60000
예제 #2
0
    def setUp(self):
        self.conf = helpers.get_conf()
        self.sfc = helpers.addr_services(self.conf, BulkListTestCase.services)

        ip6 = IPv6(src=self.sfc[-1], dst=self.sfc[0])
        sr = IPv6ExtHdrSegmentRouting(addresses=self.sfc[::-1],
                                      nseg=len(self.sfc) - 1,
                                      fseg=len(self.sfc) - 1)
        self.hdr = (ip6 / sr / IPv6())

        self.sport = 50000
        self.dport = 60000
예제 #3
0
 def setUp(self) :
     self.conf = helpers.get_conf()
     self.sfc = helpers.addr_services(self.conf, PacketPassTestCase.services)
예제 #4
0
 def setUp(self):
     self.conf = helpers.get_conf()
     self.sfc = helpers.addr_services(self.conf,
                                      PacketPassTestCase.services)
예제 #5
0
 def setUp(self) :
     self.conf = helpers.get_conf()
     self.sfc = helpers.addr_services(self.conf, CompressionTestCase.services)
예제 #6
0
 def setUp(self):
     self.conf = helpers.get_conf()
     self.sfc = helpers.addr_services(self.conf, DefragTestCase.services)
예제 #7
0
 def setUp(self):
     self.conf = helpers.get_conf()
     self.sfc = helpers.addr_services(self.conf,
                                      CompressionTestCase.services)