{"id":117,"date":"2014-11-01T20:41:36","date_gmt":"2014-11-01T12:41:36","guid":{"rendered":"http:\/\/140.128.102.245\/wordpress\/?p=117"},"modified":"2015-12-08T17:30:02","modified_gmt":"2015-12-08T09:30:02","slug":"opendaylight-snmp4sdn-installation-guide-with-osgi","status":"publish","type":"post","link":"https:\/\/blog.laszlo.tw\/?p=117","title":{"rendered":"OpenDayLight SNMP4SDN Installation Guide with OSGi"},"content":{"rendered":"<p><strong>Environment<\/strong><\/p>\n<p>Ubuntu 14.04.1<br \/>\nOpenJDK-1.7<br \/>\nMaven3<!--more--><\/p>\n<p><strong>Build The Code<\/strong><\/p>\n<p>git clone\u00a0https:\/\/git.opendaylight.org\/gerrit\/p\/snmp4sdn.git<br \/>\ncd snmp4sdn<br \/>\nmvn clean install<br \/>\nls snmp4sdn\/tartget\/snmp4sdn-<del><em>x.x.x<\/em><\/del>-SNAPSHOT.jar<\/p>\n<p><strong>Install<\/strong><\/p>\n<p><em>Install at Start<\/em><br \/>\ncp snmp4sdn\/snmp4sdn\/target\/snmp4sdn-<del><em>x.x.x<\/em><\/del>-SNAPSHOT.jar opendaylight\/plugins\/<\/p>\n<p><em>Install at OSGi ( ### == id @ &lt;ss snmp&gt; )<\/em><br \/>\ninstall file:&lt;file path to snmp4sdn-x.x.x-SNAPSHOT.jar&gt;<br \/>\nstart <em><del>###<\/del><\/em><\/p>\n<p><strong>Check Information<\/strong><\/p>\n<p><em>In OSGi<\/em><br \/>\nss snmp<\/p>\n<p>In Broswer<br \/>\n<a href=\"https:\/\/blog.laszlo.tw\/wp-content\/uploads\/2014\/11\/odl-osgi-snmp4sdn.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-124 size-full\" src=\"https:\/\/blog.laszlo.tw\/wp-content\/uploads\/2014\/11\/odl-osgi-snmp4sdn.png\" alt=\"odl-osgi-snmp4sdn\" width=\"1349\" height=\"649\" \/><\/a><\/p>\n<p><strong>Trouble Shooting<\/strong><\/p>\n<p>How to install maven3 in ubuntu?<\/p>\n<p>apt-get remove maven2<del><em> ( if you have installed it )<\/em><\/del><br \/>\nadd-apt-repository &#8220;deb http:\/\/ppa.launchpad.net\/natecarlson\/maven3\/ubuntu precise main&#8221;<br \/>\napt-get update<br \/>\napt-get install maven3<br \/>\nln -s \/usr\/share\/maven3\/bin\/mvn \/usr\/bin\/mvn<\/p>\n<p>When doing \u00a0MVN CLEAN INSTALL , faild with lost &lt;JAVA_HOME&gt;\/jre\/lib\/tools.jar<\/p>\n<p>apt-get install openjdk-7-jdk\u00a0openjdk-7-jre\u00a0openjdk-7-jre-headline\u00a0openjdk-7-jre-lib <del><em>( make sure all component installed )<\/em><\/del><br \/>\nexport JAVA_HOME=&#8221;\/usr\/lib\/jvm\/java-1.7.0-openjdk-amd64\/&#8221;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Environment Ubuntu 14.04.<\/p>\n<div class=\"more-link-wrapper\"><a class=\"more-link\" href=\"https:\/\/blog.laszlo.tw\/?p=117\">\u95b1\u8b80\u5168\u6587<span class=\"screen-reader-text\">OpenDayLight SNMP4SDN Installation Guide with OSGi<\/span><\/a><\/div>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"categories":[6],"tags":[],"class_list":["post-117","post","type-post","status-publish","format-standard","hentry","category-opendaylight","entry"],"_links":{"self":[{"href":"https:\/\/blog.laszlo.tw\/index.php?rest_route=\/wp\/v2\/posts\/117","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.laszlo.tw\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.laszlo.tw\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.laszlo.tw\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.laszlo.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=117"}],"version-history":[{"count":9,"href":"https:\/\/blog.laszlo.tw\/index.php?rest_route=\/wp\/v2\/posts\/117\/revisions"}],"predecessor-version":[{"id":314,"href":"https:\/\/blog.laszlo.tw\/index.php?rest_route=\/wp\/v2\/posts\/117\/revisions\/314"}],"wp:attachment":[{"href":"https:\/\/blog.laszlo.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=117"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.laszlo.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=117"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.laszlo.tw\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=117"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}