e.load_deployment(sys.argv[2])
# Add a new host programatically, and attach a state profile to it
- lili = e.get_netzone_root().create_host("Lilibeth", 1e15)
+ lili = e.netzone_root.create_host("Lilibeth", 1e15)
lili.set_state_profile("4 0\n5 1\n", 10)
lili.seal()
e.run()
- this_actor.info(f"Simulation time {e.get_clock():.4f}")
+ this_actor.info(f"Simulation time {e.clock():.4f}")