Reference Guide

Table Of Contents
...
private Logger logger;
public SwitchManager() {
...
// The LoggerFactory may be wrapped by a class in charge of providing
// loggers to guarantee loggers are created in a consistent manner
logger = LoggerFactory.getLogger(getClass());
}
...
@Override
public Switch add(Switch device) {
...
logger.info("Device {} added", device);
...
}
...
}
Log entries are stored in the file logs/log.log; see the HP VAN SDN Controller Admin Guide [29]
to get instructions about exporting support logs. If a secure shell (SSH) session is opened to the
controller the log entries may found at /opt/sdn/virgo/serviceability/logs/log.log.
Using OpenFlow
The sample application was described as an application to monitor reachability status of Open
Flow switches. So far no monitor capabilities have been included. The OpenFlow Controller
published by the HP VAN SDN Controller will be used to accomplish such monitoring. The
following example is a hypothetical implementation not reflected in the generated sample
application.
NOTE:
This may not be the best way to monitor reachability status and such monitoring may
only be of
concern to network management applications, however it represents a good example for interacting
with the OpenFlow controller.
The OpenFlow Controller is responsible for accepting and maintaining connections from
OpenFlow-capable devices, and providing basic services to SDN Applications. See High
Availability
Role orchestration
Role Orchestration Service provides a federated mechanism to define the role of teamed controllers
with respect to the network elements in the controlled domain. The role that a controller assumes in
relation to a network element would determine whether it has abilities to write and modify the
configurations on the network element, or has only read-only access to it.
218