« Return to Thread: Force-saving router/swiftlet configuration from inside a Swiftlet

Re: Force-saving router/swiftlet configuration from inside a Swiftlet

by IIT Software :: Rate this Message:

Reply to Author | View in Thread

Yes, you execute any CLI command on the local router from a custom Swiftlet as well:

    MgmtSwiftlet  mgmtSwiftlet = (MgmtSwiftlet) SwiftletManager.getInstance().getSwiftlet("sys$mgmt");
    CLIExecutor cliexec = mgmtSwiftlet.createCLIExecutor();
    cliexec.execute("save");

 « Return to Thread: Force-saving router/swiftlet configuration from inside a Swiftlet