![]() See the following tutorials for IDE specific imports: Importing and Developing OpenDaylight Using Intellij You can then import the OVSDB project into your IDE. Next clone and build the OVSDB project from Gerrit: $ sudo yum install git $ unzip distributions-virtualization-0.1.0-osgipackage.zipĢ. So, periodically download a fresh copy as code is committed upstream in order to stay consistent.įor information about using Maven for dependency management, see: link. The zipped distribution is updated every 30 minutes by an upstream job. ![]() m2 cache is to download the controller zip. The easiest way to avoid any float between the upstream Nexus and your local. There are various ways to pull the controller code and artifacts using Maven. Add the following: export M2_REPO=/Users/brent/.m2/repositoryĮxport MAVEN_OPTS="-Xms2048m -Xmx2048m -XX:MaxPermSize=2048m"ĭownloading and Building OVSDB Source Codeġ. Next, setup your ENV variables: vi ~/.bash_profileĥ. Java home: /Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home/jreĭefault locale: en_US, platform encoding: UTF-8 Java version: 1.7.0_51, vendor: Oracle Corporation Once installed, run the following from the terminal:Īpache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da.Two easy options are to install via Mac Ports or Homebrew. There are various ways to install Maven on a Mac.Download and install the Java JDK available at: Java SE Downloads.Verify the ENV with the following: $ exportĭeclare -x MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=512m"ĭeclare -x JAVA_HOME="/Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home/"ĭeclare -x M2_REPO="/Users/username/.m2/repository"ĭeclare -x MAVEN_OPTS="-Xms2048m -Xmx2048m -XX:MaxPermSize=2048m" #If plenty of memory is available on the target system, you can go as high as: $ export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home/ Add this to your ~/.bashrc directory: $ vi ~/.bashrc Next, export the following ENV variables for Java and Maven. $ sudo yum install maven3 java-1.7.0-openjdkĢ. Pre-requisites for Fedora, CentOS, and RHEL Using Git, you can clone the OVSDB repository, hack code, build the jars, and copy them into the distribution to execute the edited code. OVSDB Developer Installation for Hacking and Developmentįor developing in OpenDaylight you will also need Apache Maven, a software project management and comprehension tool. $ feature:install odl-base-jackson odl-adsal-compatibility odl-ovsdb-openstack odl-ovsdb-northbound To load the controller with the OpenFlow v1.3 plugin, use the following commands: $ cd distribution-karaf-0.2.0-SNAPSHOT/ $ unzip distribution-karaf-*.zip Starting the Controller If you are on a Mac, download and install the Java JDK available at: Java SE Downloads.ĭownloading the Controller Distribution $ wget.First, verify that you have the necessary Java libraries to run the JVM.įor example, on a Fedora, RHEL, or CentOS host, you can run the following to satisfy any Java dependencies: $ sudo yum install java-1.7.0-openjdk The OpenDaylight Controller requires Java 7. ![]() To set up the latest OVSDB for a test/dev environment is as simple as downloading the OpenDaylight Karaf distribution from the following location: OpenDaylight OVSDB Youtube Channel Introduction
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |