Skip to content

Commit

Permalink
update controlplane test
Browse files Browse the repository at this point in the history
  • Loading branch information
ba2tro committed Nov 8, 2024
1 parent 46f5d3f commit ce88cb8
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions test/test_controlplane.jl
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,12 @@ regsize = 20
net = RegisterNet(graph, [Register(regsize) for i in 1:8])
sim = get_time_tracker(net)

# PhysicalGraph
phys_graph = PhysicalGraph(graph, 1, 8, regsize)

# controller
controller = Controller(sim, net, 6, phys_graph)
controller = Controller(sim, net, 6, zeros(8,8))
@process controller()

# RequestGenerator for the user pair (1,8)
req_gen = RequestGenerator(sim, net, 1, 8, 6, phys_graph)
req_gen = RequestGenerator(sim, net, 1, 8, 6)
@process req_gen()

# consumer
Expand Down

0 comments on commit ce88cb8

Please sign in to comment.