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
}
}
protected void unbindAuditLogService(AuditLogService service) {
if (auditLogService == service) {
auditLogService = null;
if (delegate != null) {
delegate.setAuditLogService(null);
}
}
}
...
}
To try the new audit log feature follow the same steps from Posting Alerts on page 212 to add an
OpenFlow switch so an audit log is generated.
Figure 63 Audit Logs View
Debugging with Logs
The HP VAN SDN Controller uses the Simple Logging Facade for Java (SLF4J) [44] logging
framework to generate support logs. No extra configuration is needed to enable an application to
create loggers. The following listing shows an example.
SwitchManager.java Using Logging:
package com.hp.hm.impl;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
...
public class SwitchManager implements SwitchService {
217