MCPcopy Create free account
hub / github.com/NetSys/bess / unload_plugin

Function unload_plugin

bessctl/commands.py:1602–1609  ·  view source on GitHub ↗
(cli, plugin)

Source from the content-addressed store, hash-verified

1600
1601@cmd('unload plugin PLUGIN_FILE', 'Unload the specified plugin (*.so)')
1602def unload_plugin(cli, plugin):
1603 # FIXME check whether the plugin is being used
1604 # currently this command can crash the BESS daemon
1605 cli.bess.pause_all()
1606 try:
1607 cli.bess.unload_plugin(plugin)
1608 finally:
1609 cli.bess.resume_all()
1610
1611
1612@cmd('show plugin', 'Show all imported plugins')

Callers

nothing calls this directly

Calls 3

pause_allMethod · 0.80
unload_pluginMethod · 0.80
resume_allMethod · 0.80

Tested by

no test coverage detected