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
Sample Application Module POM File:
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<groupId>com.hp.hm</groupId>
<artifactId>hm-root</artifactId>
<version>1.0.0-SNAPSHOT</version>
<relativePath>../hm-root/pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>hm-api</artifactId>
<packaging>bundle</packaging>
<name>hm-api</name>
<description>Health Monitor - API Bundle</description>
<dependencies>
</dependencies>
</project>
Application Descriptor
The application descriptor defines META-data that allows the controller to validate the application
being installed.
Under the application app folder (hm-app) create the application descriptor using the template
from the HP VAN SDN Controller SDK. The following list shows the sample application descriptor
(hm-app /hm.descriptor) after updating the template with the application information.
Application Descriptor:
id=com.hp.hm
name=Health-Monitor
version=1.0.0.SNAPSHOT
vendor=Hewlett-Packard
description=Health Monitor SDN Application
The Application id property may contain alpha-number characters and the period, underscore,
and dash characters as long as it is unique across installed applications. The Application name
property’s value must follow the rules for a properly formatted Java properties file key value;
however consider that this value is the one that appears in the SDN controller’s Applications view.
The Version attribute must be a valid OSGi version number. A valid OSGi number is composed of
the following: major_#.minor_#.micro_#.alpha_numeric_quantifier (e.g. 6.24.0.build64 or
6.27.0.0). The Application order, scoped, atomic, vendor, and description properties are all
optional. The scoped and atomic properties must be true or false. The vendor and description
properties must follow the rules for a properly formatted Java properties file key value, similar to
141