MCPcopy Create free account
hub / github.com/FDio/vpp / Path

Class Path

extras/packetforge/Path.py:17–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15
16
17class Path:
18 def __init__(self):
19 self.stack = []
20
21 def Create(token):
22 try:
23 path = Path()
24 ss = token["stack"]
25
26 if ss == None:
27 return None
28
29 for hct in ss:
30 path.stack.append(PathNode.Create(hct))
31
32 return path
33 except:
34 print("Failed to create Path from jsonfile")
35 return None

Callers 8

run.pyFile · 0.85
post_vm_test_runFunction · 0.85
set_loggingFunction · 0.85
tearDownMethod · 0.85
remove_old_pcap_fileMethod · 0.85
decode_pcap_filesMethod · 0.85
tearDownMethod · 0.85
CreateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected