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.
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.
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.
From the Maven installation directory, open the Maven
settings.xml
file.If there are any comment tags enclosing the
<proxies>
node, remove them.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>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.
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
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. Install the HPE VAN SDN Controller SDK into your local Mavin repository:
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.Unzip the file to any location in your development environment.
Change directories to the directory that contains the unzipped SDK files.
Run the SDK installation tool by entering the following command:
bin/install-sdk
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