(cli, plugin)
| 1600 | |
| 1601 | @cmd('unload plugin PLUGIN_FILE', 'Unload the specified plugin (*.so)') |
| 1602 | def 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') |
nothing calls this directly
no test coverage detected