SDN Controller Programming Guide

8
Java
The Software Development Language used is Java SE SDK 1.6 or later. To install Java go to [16]
and follow the download and installation instructions.
Maven
Apache Maven is a software project management and comprehension tool. Based on the concept
of a project object model (POM), Maven can manage a project's build, reporting and
documentation from a central piece of information [17].
To install Maven go to [17] and follow the download and installation instructions. Note that if you
are behind a fire-wall, you may need to configure your ~/.m2/settings.xml appropriately to
access the Internet-based Maven repositories via proxy, for more information see Maven Cannot
Download Required Libraries on page 216.
Maven 3.0.4 or newer is needed. To verify the installed version of Maven execute the following
command:
$ mvn versionCurl
Curl
Curl (or cURL) is a command line tool for transferring data with URL syntax. This tool is optional.
Follow the instruction from [18] to install Curl, or if you use Linux Ubuntu as development
environment you may use the Ubuntu Software Center to install it as illustrated in Figure 6.
Figure 6 Installing Curl via Ubuntu Software Center
HP VAN SDN Controller SDK
Download the HP VAN SDN Controller SDK from [19]. The SDK is contained in the hp-sdn-sdk-
*.zip file (for example: hp-sdn-sdk-2.0.0.zip). Unzip its contents in any location. To install the
SDN Controller SDK jar files into the local Maven repository, execute the SDK install tool from the
directory where the SDK was unzipped, as follows (Note: Java SDK and Maven must be already
installed and properly configured):
$ bin/install-sdk
To verify that the SDK has been properly installed look for the HP SDN libraries installed in the
local Maven repository at:
~/.m2/repository/com/hp.