Reference Guide

Table Of Contents
Creating Module Directory Structure
At this point there should be a pom.xml file under each folder listed in Table 5. Each application
module folder is also a source code project, so a few more subdirectories must be created in order
to properly generate the Java Eclipse projects. For each application module create the directory
structure as displayed in Figure 39.
Figure 39 Application Module Directory Structure
The application development workspace is now completed.
Application Generator (Automatic Workspace
Creation)
The HP VAN SDN Controller SDK also contains a utility to generate a skeletal application project
structure as a starting template for your custom projects - automatizing all previous steps to create
the application workspace. The generated application builds and installs into the HP VAN SDN
Controller without any modifications.
The tool allows you to tailor your template application using the parameters listed in Table 6.
Table 6 Sample Application Generator Parameters
Parameter
Description
--directory
Target directory where the application code is to be generated
--app
One word application name in lower-case, for example, 'hm'
--company
One word company name in lower-case, for example, 'hp'
--subject
One word short subject in camel-case, for example, 'OpenFlowSwitch'
--app-name
Optional full application name, for example, 'Health Monitor'
144