Download and install your development tools onto your controller machine

Downloading and installing the Java SE Development Kit (JDK)

The Java SE Development Kit (JDK) includes a complete JRE plus tools for developing, debugging, and monitoring Java applications.

  • Download and install version 1.7 or later of the JDK.

More information

http://www.oracle.com/technetwork/java/index.html

Downloading and installing 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.

  1. Download and install Maven 3.0.4 or later.

  2. To verify the installed version of Maven, enter the following command:

    $ mvn --version
  3. If your computer is behind a firewall, you might need to configure Maven to access the Internet-based Maven repositories via a proxy server.

More information

http://maven.apache.org/
Configuring Maven to use a proxy server for Internet access
Troubleshooting Maven proxy configuration errors

Configuring Maven to use a proxy server for Internet access

Maven requires access to the Internet. If access to the Internet in your environment requires using a proxy server, you must configure Maven to use the proxy server.

  1. From the Maven installation directory, open the Maven settings.xml file.

  2. If there are any comment tags enclosing the <proxies> node, remove them.

  3. Edit the proxies node as follows, substituting the text in italic with values appropriate for your environment:

    <proxies>
      <proxy>
        <id>optional</id> 
        <active>true</active> 
        <protocol>http</protocol> 
        <username>proxyuser</username> 
        <password>proxypass</password> 
        <host>wwwcache.example.com</host> 
        <port>8088</port> 
        <nonProxyHosts>localhost|*.example.com</nonProxyHosts> 
      </proxy>
    </proxies>
    
  4. Save and close the file.

Optional: Download and install curl

The curl tool, created by the cURL project, is a command line tool for transferring data using URL syntax.

  • Download and install curl.

    If Ubuntu is the operating system in your development environment, you can download and install curl using either of the following methods:

    Entering the command: sudo apt-get install curl

    Using the Ubuntu Software Center to search for and install curl as shown in the following illustration:

More information

http://curl.haxx.se/

Download and install an IDE such as Eclipse

An IDE (Integrated development environment) is a software application that provides a programmer with many different tools useful for developing. Tools that are bundled with an IDE can include: an editor, a debugger, a compiler, and more. Eclipse is a popular IDE that can be used to program in Java and for developing applications and is used for examples in this guide.

  • Download and install Eclipse or your preferred IDE.

More information

http://www.eclipse.org/

Optional: Download and install Mininet

Mininet simulates a network of OpenFlow-enabled switches and can be useful when you are getting started programming SDN applications. Installing Mininet also installs Open vSwitch (OVS) and tools and a version of Wireshark that is capable of decoding OpenFlow messages.

  • Download and install Mininet version 2.2 or later.

More information

http://mininet.org/

Download and install the HPE VAN SDN Controller SDK

Prerequisites

Ensure that Maven and the JDK are installed and configured in your development environment.

Download and install the SDK

  1. Download the HPE VAN SDN Controller SDK.

    The HPE VAN SDN Controller SDK is contained in the hp-sdn-sdk-*.zip file (for example: hp-sdn-sdk-2.5.3.zip) in the controller software package zip file you download as part of the controller installation process.

  2. Install the HPE VAN SDN Controller SDK into your local Mavin repository:

    1. Locate the SDK zip file (for example: hp-sdn-sdk-2.5.3.zip) in the directory in which you unzipped the controller software package zip file.

    2. Unzip the file to any location in your development environment.

    3. Change directories to the directory that contains the unzipped SDK files.

    4. Run the SDK installation tool by entering the following command:

      bin/install-sdk

  3. To verify that the SDK is installed, verify that the SDN libraries are installed in the local Maven repository in the hp directory:

    ~/.m2/repository/com/hp