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

lori's profile - activity

2017-10-03 23:34:40 -0700 answered a question ./karaf: command not found

After extracting the downloaded archive, you should change directory into distribution-karaf-0.6.1-Carbon/bin and run the ./karaf command there. Note that the -of13 option was used only in the Hydrogen (and possibly Helium) version, it is no longer needed, OpenFlow 1.3 is the default in the Carbon version.

2017-09-25 01:48:50 -0700 answered a question Build Error with IoTDM beryllium version

The short answer is that Beryllium is no longer a supported version of OpenDaylight, and while latests source code is still available, binary SNAPSHOT artifacts are not.

You have a few options:

  • The best option is to use a newer, supported version of OpenDaylight, like Boron, Carbon, the soon to be released Nitrogen, or the current development version Oxygen.
  • If you absolutely need to use Beryllium for whatever reason, you should check out a release tag, which depends on non-SNAPTHOT artifacts.
  • Alternatively, you may try building all of OpenDaylight Beryllium from source, but I expect that would harder than any of other two options.
2017-09-05 22:17:36 -0700 answered a question Why can't my project find an artifact when I've specified it in pom-xml?

Hi Daniel,

You are using version 1.3.0-Carbon for the archetype generation, which corresponds to the original Carbon release. The corresponding model-flow-version would be 0.4.0-Carbon. The last digit in the version, the patch-level, indicates the Service Release. For Carbon, only SR1 was released, and SR2 is being prepared now. If you click in the search results on the 0.4.2-Carbon artifact you found you will see that it belongs to an "autorelease" repository. While public, it's best to use only "public" repositories.

So I would recommend using Carbon SR1 artifacts for now, 1.3.1-Carbon for the archetype generation and 0.4.1-Carbon for your dependency. For some reason the search results also show 0.4.1 as autorelease repo, but if I check Nexus, it's actually available in the release repo:

Alternatively, while developing you can use the original version too, 0.4.0-Carbon to match your archetype, and upgrade later.

2017-09-04 01:13:18 -0700 answered a question Error while creating the maven archetype

Have you tried this tutorial?

2017-09-04 01:09:58 -0700 answered a question what is the northbound API used

This a very generic question. First, OpenFlow is only one of the possible Southbound (SB) APIs, if you explore the OpenDaylight protocol projects, you will find many more SB protocols implemented.

Same with the Northbound (NB) APIs, they depend mostly on the use case you're trying to deploy, there is no one accepted standard. Many of the app projects expose their own APIs, which can then be explored using the MD-SAL API explorer, by loading the odl-mdsal-apidocs Karaf feature.

2017-03-31 02:12:05 -0700 answered a question could not be resolved. Reason: Missing Constraint: Import-Package: org.opendaylight.controller.sal.action; version="[0.7.0,1.0.0)

It may be that some of the necessary dependencies are not present in your pom.xml file, or they use the wrong version. It looks like the current version of the controller project no longer has the org.opendaylight.controller.sal.action package:

grep -r --include="*.java" "org.opendaylight.controller.sal.action" *

That means that you're using a recent version of the maven archetype to generate your project, but an old tutorial to write your Hello World, and that's why things don't work.

2017-03-31 02:07:18 -0700 commented answer Unable to execute "mvn clean install" command. Non-resolvable parent POM.

Sometimes it's related with the infrastructure, the first time you need to download many small artifacts, and the downloads fail sometimes.

2017-02-15 23:17:46 -0700 answered a question Unable to execute "mvn clean install" command. Non-resolvable parent POM.

You have very few details in the question, but I suspect the error may be related to not having Maven configured to use the OpenDaylight Nexus repositories. If you haven't done so yet, edit your $HOME/.m2/settings.xml file as described in the wiki.

2017-01-24 23:51:21 -0700 commented question Does anyone know why I can not load on localhost ODL

Can you be more specific, and describe in detail what are you trying to do?

2017-01-09 02:13:30 -0700 commented answer Restricted access to subtree in md-sal operational data store

In case it answered your question, please click on the check sign under the vote count, and maybe also up-vote the answer, that's the way Q&A sites like this work best. Thanks!

2017-01-09 02:12:04 -0700 commented question Load modules

@tariq: see answer, that page is no longer maintained, and it refers to an ancient version of ODL

2017-01-09 02:10:33 -0700 answered a question Any suggestion for me on how to compile and understand each project of ODL (like genius , netvirt) separately ?

Try contacting the genius project via their mailing list, genius-dev and ask if you could help with IPv6 tunneling implementation. They can give you specific pointers on how to get started. It may also be useful to check ODL Bugzilla for bugs related to you topics of interest -- it's usually easier to start with fixing a bug, then a completely new implementation.

2016-12-22 01:01:14 -0700 received badge  Editor (source)
2016-12-22 01:00:55 -0700 answered a question Traffic engineeering

Please take a look at the BGPCEP project, if you're interested in that kind of traffic engineering. You could also use an OpenFlow based solution.

2016-12-22 00:57:49 -0700 answered a question Restricted access to subtree in md-sal operational data store

In Helium this is definitely not possible. I'm not sure if it's possible even in the Carbon release, currently under development, you can ask on the mailing list.

2016-12-21 05:08:31 -0700 answered a question A question about in-memory DataStore and hard-disk DataStore

This was asked on the controller-dev mailing list too.

2016-12-21 05:05:24 -0700 commented question Any suggestion for me on how to compile and understand each project of ODL (like genius , netvirt) separately ?

You should edit your question to also include your motivation for working on ODL. The answer depends on that. Are you interested in OpenStack/ODL/OVS integration? BGP? LISP? Just exploring out of curiosity? Etc.?

2016-12-20 01:06:27 -0700 answered a question Load modules

The page you mention refers to the Hydrogen release of OpenDaylight, which was the first release and was deprecated a long time ago. I just marked the wiki page as such. It would be difficult to find help making that old code base work.

2016-12-20 01:00:48 -0700 answered a question Can RPC calls be authenticated

AFAIK RPCs follow the same authentication path as RESTCONF, so by default, you need the admin:admin user/pass to send an RPC over RESTCONF. You may look into the AAA project for more fine-grained authentication. If you mean authenticating RPC calls when used programmatically in Java, probably not.

2016-11-28 01:56:52 -0700 commented question Load modules

I can't see the wiki link from your post.

2016-11-24 00:28:11 -0700 answered a question an odl cluster error

Try using the script from the integration/test repo, it automates deploying a cluster and it is what I use.

Example command:

./ --distribution ~/ --rootdir /home/lori --hosts,, --clean --template lispflowmapping --rf 3 --user lori --password password

You can customize templates to your liking (or create your own based on existing templates).

2016-11-23 04:25:42 -0700 answered a question how to checkout the information in odl datastore

First you can use the API explorer to see what APIs are exposed, and what modules are loaded, see this answer for details.

You can then use a RESTCONF GET call to query the contents of the datastore for a given module. For example, for network-topology you will GET /restconf/config/network-topology:network-topology.

I'm not aware of a call that will show you the contents of all datastore at once.

2016-11-01 00:38:31 -0700 answered a question disable apidoc/explorer

I assume you would like to make your distribution not install it by default. If it is installed automatically, it is either listed in the featuresBoot property of etc/org.apache.karaf.features.cfg or it is listed as a dependency of another feature that you load. As Mandeep mentioned, you can manually remove it after the fact, either manually, or by scripting it, or you can try preventing it being loaded in the first place.

However, that will still allow someone with console access to your production system to enable it. If you need a custom distribution without this feature, you should probably completely remove it, and make sure no other feature depends on it.

2016-10-25 02:22:57 -0700 answered a question Automation of Wireshark part, in order to filter all the packet level details of the message transaction between the Switch and the Controller

If you know the field name that you use in the Wireshark GUI to filter OpenFlow packets, you can automate this with the CLI version of Wireshark, called tshark, like this:

pcap stream | tshark -n -Y -r -
2016-10-24 08:34:45 -0700 commented question oomph problems

It would be easiest to contact 'vorburger' on Freenode IRC to sort things out. Or contact him over email, but IRC may be more productive.

2016-10-17 12:45:30 -0700 commented question how to get started with open daylight?

You're encouraged to ask a more specific question on a Q&A site like this. E.g., get started as a user or as a developer? What's your background/interests? Are just looking for a project for your thesis, or you're interested on a specific use case? You can edit your question to add details.

2016-09-12 06:01:33 -0700 answered a question Issue building Controller-mvn clean install

Did you set up your development environment correctly, most importantly the Maven settings.xml file?

If yes, can you try deleting your local Maven cache and rebuilding?

rm -rf ~/.m2/repository
2016-09-08 07:25:30 -0700 answered a question how to make southbound plugin for boron release??

The OpenDaylight Wiki has a good tutorial on setting up your development environment.

Once you have your environment ready, you can use the startup archetype to get a skeleton project quickly.

2016-09-05 00:21:03 -0700 answered a question Why ODL is having 2 stores ( Config & Operational )

The config and operational data have different characteristics is terms of performance and persistence needs. While config data is mostly "intent", operational data is mostly "state". Config data is persisted, and because of that, the config data store may be slower. Operational data is updated more frequently, and is such needs higher performance, but no persistence. Please note that the data stored are clustered, and maintaining a distributed data store implies certain trade-offs to be made. Knowing the data characteristics makes it easier to optimize for certain type of data.

2016-09-05 00:14:43 -0700 commented question How to convert a YANG object to JSON

You mean you have some Java object created with a builder based on a YANG model, and you want to convert that to JSON programmatically?

2016-08-25 07:36:07 -0700 answered a question Log verbosity settings in karaf

Those settings are persistent between OpenDaylight restarts, if you keep all directories.

If what you want to do is to persist those settings between BUILDS, then you need work with one of the Maven plugins that can do the change while assembling the distribution, maybe maven-resources-plugin, to add your changed file.

2016-08-22 05:49:56 -0700 answered a question Missing Constraint: Import-Package:; version="[1.5.0,2.0.0)

Without your source code it's a bit of a guesswork to figure out what's wrong, but I suspect you may need to add MD-SAL as a dependency to your pom.xml, if you didn't already. Also, the learning switch example may be unmaintained, and using APIs that are no longer available.

2016-08-22 05:46:22 -0700 commented answer How to use opendaylight controller in a physical network environment rather than a virtual network as in mininet.

If I fully answered your initial question, please consider accepting the answer by clicking the check mark.

2016-08-22 05:44:06 -0700 commented question How to get link information with different latencies set for the links in mininet.

I don't think that would be useful. AFAIK, the mininet bandwidths are actually from OVS, and do not represent actual link speed.

2016-08-11 12:50:43 -0700 commented question ask.opendaylight search box

I just contacted helpdesk about this issue, I'll update the comment section when I hear back.

2016-08-11 09:17:30 -0700 answered a question Deploy a bundle without restarting the controller

This is a hard problem, and so far unresolved in OpenDaylight. While in theory OSGi allows hot reloading of bundles, in practice those bundles would have to be implemented in a way that they clean up after themselves properly, and initialize properly, which is not always the case. Even Eclipse, the poster child of OSGi based applications will ask you to restart it when installing or upgrading plugins.

See this thread about some discussion on the topic.

2016-08-11 09:01:30 -0700 commented question ask.opendaylight search box

I guess you could try contacting, since all requests there get assigned a ticket number. The site is using an external (not developed in-house) open source Q&A platforms, and so any bug reports should be directed to that project (unless we're using an older version).

2016-08-11 08:56:38 -0700 answered a question Send notifications to Application external to opendaylight.

One option is to use a message passing service. There are some efforts in OpenDaylight to integrate with Apache Kafka, so you could potentially take advantage of that, since Kafka does have C++ bindings.

2016-05-16 05:38:49 -0700 commented question Toaster example POM

@harsha If you think @Lorunification answered your question fully, please accept the answer, so that it's marked answered

2015-12-09 01:46:07 -0700 answered a question Is anyone facing this error ? "Could not locate service of type IIDMStore"

There is long thread on controller-dev about this, basically aaa is using both the config subsystem and Activators to start bundles, and they recently increased a timeout, causing the increase in build times. There's an ongoing discussion about reverting that patch and finding a long term solution.

2015-12-09 01:35:55 -0700 commented question Hydrogen module on lithium

OpenDaylight is composed of many projects, each project with their own APIs. How easy it is to upgrade your module depends on which APIs it uses (openflowplugin, ad-sal, etc.?)

2015-10-17 07:01:03 -0700 marked best answer How can I change the log level of a bundle when running a JUnit test under Eclipse?

In order to debug a test, I would like to be able to see TRACE or DEBUG log messages of a particular bundle. This is easily done from the OSGi console when running the controller normally (not tests) by using

setLogLevel org.opendaylight.bundlename TRACE

How can achieve the same effect from Eclipse, when running a JUnit test, or even when running tests with Maven from the console?

2015-09-28 02:01:16 -0700 answered a question lose ssh connection with my VM

I assume the OpenFlowPlugin modifies the flow table in such a way, that eth0 traffic is dropped, unless there is a specific rule for it. I recommend you add a second interface for management, which is not added to s1, and use the IP address on it to SSH into the VM.

2015-09-22 06:38:10 -0700 commented question Unable to connect opendaylight

Can you check with your network administrator if you're behind a firewall?

2015-09-16 03:32:21 -0700 received badge  Nice Answer (source)
2015-09-16 03:31:14 -0700 received badge  Nice Answer (source)
2015-09-16 02:51:50 -0700 commented question can't pass the project "dlux" through command mvn
2015-09-16 02:49:38 -0700 commented answer what are the API's available to user when integration software is launched?

To add to what @jamoluhrsen said, as I mentioned in my answer, you need to make sure you don't install incompatible features, especially in terms of what TCP/UDP ports they need to open up. (Please consider up-voting and accepting the reply if you consider it answers your question)

2015-09-11 09:31:23 -0700 answered a question what are the API's available to user when integration software is launched?

Doubt 1: Yes. Additionally, you can get a list of all available MD-SAL APIs in the controller that you are running by loading the odl-mdsal-apidocs feature (feature:install odl-mdsal-apidocs in the Karaf console) and then pointing your browser to http://localhost:8181/apidoc/explorer/index.html .

Doubt 2: The controller version I assume you mean the karaf distribution you get by building the controller repository source code. That distribution contains only the controller features. The integration build contains all features. It's likely that when you load the integration version you load features that are incompatible with each other, because they attempt to use the same listening port.