Ask is moving to Stack Overflow and! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode

miclando's profile - activity

2015-06-26 11:49:14 -0700 received badge  Student (source)
2015-02-16 00:14:41 -0700 received badge  Enthusiast
2015-02-15 01:54:34 -0700 answered a question New module/bundle not working ?

i managed to solve the issue by installing the following features :
feature:install odl-nsf-all
feature:install odl-adsal-compatibility

i suggest you check if this features are installed on your ODL.

i found the missing features according to this

2015-02-15 00:13:32 -0700 commented question New module/bundle not working ?

i am having the same problem. did you find a fix for it?

2015-02-03 03:21:40 -0700 answered a question Adding CORS support for my Plugin

after a long search a found the answer. in case you want to enable cors support on Hydrogen release: enable the CORS on the ODL web container (Tomcat) : 1. Copy the following jar to your plugin dir in the ODL org.opendaylight.controller.filter-valve-1.4.2-SNAPSHOT.jar donload link:

  1. Go to ./configuration/tomcat-server.xml
  2. In the file add the following marked line:

    <Engine name="Catalina" defaultHost="localhost">
        <Host name="localhost" appBase="" unpackWARs="false" autoDeploy="false" deployOnStartup="false" createDirs="false">
        <Realm className="" />
        <Valve className="org.apache.catalina.authenticator.SingleSignOn" />
        <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
                        prefix="web_access_log_" suffix=".txt" resolveHosts="false"
                        rotatable="true" fileDateFormat="yyyy-MM"
                        pattern="%{yyyy-MM-dd HH:mm:ss.SSS z}t - [%a] - %r"/>
        <!--add this line!-->
        <Valve className="org.opendaylight.controller.filtervalve.cors.FilterValve" configurationFile="configuration/cors-config.xml"/>
  3. Create cors-config.xml file in configuration dir under ODL. The file contains filter definitions for tomcat. here you can define your path and add the CORS filters to it as was done for restconf api.
  <!-- Filters are allowed here, only serving as a template -->

  <Context path="/restconf">
      <!-- init params can be added/overriden if template is used> -->
    <!-- references to templates without <filter> declaration are not allowed -->

2015-02-03 01:22:01 -0700 received badge  Popular Question (source)
2015-02-03 01:22:01 -0700 received badge  Notable Question (source)
2015-02-03 01:22:01 -0700 received badge  Famous Question (source)
2015-01-25 02:47:31 -0700 answered a question How to include a jar on Karaf.

in karaf,
when you want to include your own jar you need to place it under the deploy folder. here is the karaf folder description:

2015-01-21 01:25:30 -0700 asked a question Adding CORS support for my Plugin

hi, i have a plugin i developed using AD sal.
the plugin exposes a number of rest API's.
these api's are accessed from a web application deployed on another domain.
because of this my access are cross domain.
currently i am using jsonp for this sort of access.
what i am trying to do is to enable CORS support on my opendaylight hydrogen.
from what i managed to uncover. i need to to add my apis to cors-config.xml.
but that didn't work.
i also tried defining the filter in the plugin web xml but again with no success has anyone manged to get this to work?

2014-12-16 02:52:27 -0700 received badge  Famous Question (source)
2014-12-10 23:13:29 -0700 answered a question Karaf client failes to connect to a server under linux

in the end the issue was caused because i used the zip release of opendaylight helium.

on the opendaylight download page there are two versions. one compressed as a zip and the other as tar.gz. from what i found there are system differences between them, the zip is for windows and the tar for Linux.

when i deployed the tar version on Linux the issue did not reproduce.

2014-12-10 23:13:20 -0700 commented answer Karaf client failes to connect to a server under linux

@dfarrell07 that is all most what i did.

2014-12-10 06:33:23 -0700 received badge  Notable Question (source)
2014-12-09 22:35:44 -0700 received badge  Editor (source)
2014-12-09 22:32:29 -0700 commented answer Karaf client failes to connect to a server under linux

thanks for the reply. i tried ./client log:get and it does work. so i am left with the same problem i am unable to get an interactive session. do you have any suggestions? ps i updated the question with the results of ./client -v

2014-12-09 12:02:41 -0700 received badge  Popular Question (source)
2014-12-09 05:56:56 -0700 asked a question Karaf client failes to connect to a server under linux

I am trying to access an OpenDaylight server running on Linux in a background process. I'm using ODL 0.2.1 (Helium SR1).

From what I understand, if you are trying to connect from the same machine all you need to do is run ./client to establish a connection to the Karaf shell.

However, I'm seeing this:

[root@d20-srv-81-32 bin]# ./client
Logging in as karaf
258 [pool-2-thread-2] WARN org.apache.sshd.client.keyverifier.AcceptAllServerKeyVerifier - Server at / presented unverified key:
[root@d20-srv-81-32 bin]#

Connecting via SSH works:

ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 8101 karaf@localhost

Has any one else encountered this issue?

more info ./client -v result

[root@d20-srv-81-32 bin]# ./client -v
23 [main] INFO org.apache.sshd.common.util.SecurityUtils - BouncyCastle not registered, using the default JCE provider
207 [pool-2-thread-1] INFO org.apache.sshd.client.session.ClientSessionImpl - Session created...
Logging in as karaf
215 [pool-2-thread-1] INFO org.apache.sshd.client.session.ClientSessionImpl - Server version string: SSH-2.0-SSHD-CORE-0.12.0
216 [pool-2-thread-1] INFO org.apache.sshd.client.session.ClientSessionImpl - Received SSH_MSG_KEXINIT
227 [pool-2-thread-1] INFO org.apache.sshd.client.kex.DHG1 - Send SSH_MSG_KEXDH_INIT
234 [pool-2-thread-2] INFO org.apache.sshd.client.kex.DHG1 - Received SSH_MSG_KEXDH_REPLY
241 [pool-2-thread-2] WARN org.apache.sshd.client.keyverifier.AcceptAllServerKeyVerifier - Server at / presented unverified key:
241 [pool-2-thread-2] INFO org.apache.sshd.client.session.ClientSessionImpl - Received SSH_MSG_NEWKEYS
245 [pool-2-thread-2] INFO org.apache.sshd.client.session.ClientSessionImpl - Send SSH_MSG_SERVICE_REQUEST for ssh-userauth
248 [main] INFO org.apache.sshd.client.auth.UserAuthAgent - Send SSH_MSG_USERAUTH_REQUEST for publickey
256 [pool-2-thread-5] INFO org.apache.sshd.client.auth.UserAuthAgent - Received SSH_MSG_USERAUTH_SUCCESS
306 [main] INFO - Send SSH_MSG_CHANNEL_OPEN on channel 101
307 [pool-2-thread-2] INFO - Send agent forwarding request
308 [pool-2-thread-2] INFO - Send SSH_MSG_CHANNEL_REQUEST pty-req
308 [pool-2-thread-2] INFO - Send SSH_MSG_CHANNEL_REQUEST env
309 [pool-2-thread-2] INFO - Send SSH_MSG_CHANNEL_REQUEST shell

[root@d20-srv-81-32 bin]#