Skip to content

Commit

Permalink
bot: ex-basic: use vnode name in set-server
Browse files Browse the repository at this point in the history
  • Loading branch information
magicnat committed Jul 30, 2021
1 parent b0a94a5 commit e2360f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/B05-botnet/botnet-basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
vname = 'bot{}'.format(asn)

# Create a virtual node for each bot client
botClient.install(vname).setServer(server = controllerIp)
botClient.install(vname).setServer('bot_controller')

# Bind the virtual node to a physical node (new)
emu.addBinding(Binding(vname, filter = Filter(asn = asn), action = Action.NEW))
Expand Down

0 comments on commit e2360f1

Please sign in to comment.