Reference Guide
Table Of Contents
- 1 Introduction
- 2 Establishing Your Test and Development Environments
- 3 Developing Applications
- Introduction
- Authentication
- REST API
- Audit Logging
- Alert Logging
- Configuration
- High Availability
- OpenFlow
- Metrics Framework
- GUI
- SKI Framework - Overview
- SKI Framework - Navigation Tree
- SKI Framework - Hash Navigation
- SKI Framework - View Life-Cycle
- SKI Framework - Live Reference Application
- UI Extension
- Introduction
- Controller Teaming
- Distributed Coordination Service
- Persistence
- Backup and Restore
- Device Driver Framework
- 4 Application Security
- 5 Including Debian Packages with Applications
- 6 Sample Application
- Application Description
- Creating Application Development Workspace
- Application Generator (Automatic Workspace Creation)
- Creating Eclipse Projects
- Updating Project Dependencies
- Building the Application
- Installing the Application
- Application Code
- 7 Testing Applications
- 8 Built-In Applications
- Appendix A
- Appendix B
- Bibliography
// Please make sure you catch exceptions and throw runtime exceptions
// so that backup service can operate correctly.
// If the error is not thrown, backup service will assume
// a successful staging operation for the given application.
} catch (Exception e) {
// Throw RuntimeException if you need to stop backup in the
// event of a failure.
throw new RuntimeException (e);
}
}
@Override
public void onBackupDone(BackupRestoreStatus status) {
// Take application specific action on backup done.
// The status can be SUCCESS or FAILURE
// The behavior of the application on backup done is implementation
dependent
}
@Override
public void onRestoreStart(Path directory) {
try {
// Restore application specific data from the specified directory
// Please catch exceptions and throw runtime exceptions
// so that restore service can sense failures.
// If the error is not thrown, restore service will assume
// a successful staging operation for the given application.
} catch (Exception e) {
// Throw RuntimeException if you need to stop restore in the
// event of a failure.
throw new RuntimeException (e);
}
}
@Override
public void onRestoreDone(BackupRestoreStatus status) {
// Application specific behavior on Restore done event.
}
}
113