MCPcopy Create free account
hub / github.com/iovisor/bcc / set_default_const

Method set_default_const

tests/python/test_brb.py:80–89  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

78
79class TestBPFSocket(TestCase):
80 def set_default_const(self):
81 self.ns1 = "ns1"
82 self.ns2 = "ns2"
83 self.ns_router = "ns_router"
84 self.vm1_ip = "100.1.1.1"
85 self.vm2_ip = "200.1.1.1"
86 self.vm1_rtr_ip = "100.1.1.254"
87 self.vm2_rtr_ip = "200.1.1.254"
88 self.vm1_rtr_mask = "100.1.1.0/24"
89 self.vm2_rtr_mask = "200.1.1.0/24"
90
91 def get_table(self, b):
92 self.jump = b.get_table(b"jump")

Callers 1

test_brbMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected