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

mahanare's profile - activity

2017-03-22 02:09:04 -0700 received badge  Notable Question (source)
2017-03-08 04:05:53 -0700 received badge  Famous Question (source)
2017-02-01 05:24:25 -0700 asked a question Identify duplicate/redundant data change events on warm restart/ cluster node role change

Hi All,

As I understand, every warm restart and cluster node role change triggers data change events for all data.

We would like to build a notification mechanism for changes in data through yang notifications but are worried that we keep sending duplicate notifications.

Is there a way to identify the data change events in a smart way so that I can skip the duplicate events for the purpose of generating yang notification.

Please advice me if there is an option or any ideas towards the same?

2017-01-31 11:14:07 -0700 commented question error-info format for error response in RPCs

I am concerned about the content inside the "error-info" attribute. I was not sure why ODL implementation is throwing an xml snippet there instead of JSON format. if there is a specific format, that will help me out.

2017-01-03 11:01:41 -0700 asked a question error-info format for error response in RPCs

Hi All,

Happy new year!. I got this question about the error-info field in error response. What is the format we need to create this text?

I see having xml kind of syntax, but not sure if that is what works for ODL too.

Here is a sample error response for an RPC.

  "errors": {
    "error": [
        "error-type": "application",
        "error-tag": "data-missing",
        "error-message": "tp id given is not valid",
        "error-info": "<severity>error</severity>"
2016-11-21 11:51:50 -0700 asked a question URL encoding of restconf resource ids


Does restconf support url encoding? to support special characters?

The following resource works fine, if there are no special characters, but doesn't work when used with special characters. Also tried with URL encoding but no luck.


2016-10-14 06:13:15 -0700 received badge  Famous Question (source)
2016-10-01 04:50:07 -0700 received badge  Notable Question (source)
2016-09-28 22:50:06 -0700 received badge  Popular Question (source)
2016-09-28 22:50:06 -0700 received badge  Notable Question (source)
2016-09-26 17:07:21 -0700 answered a question How does JSON request input get valdiated in OpenDaylight

may be you need to provide more details. what exactly you need?

when we define yang model and RPCs within it and provide its implementation and once the karaf is started, you should be able to use the RPCs. you may want to refer to (sal-rest-connector) or debug this module (download restconf code and debug the flow as you test your code).

2016-09-26 16:56:53 -0700 asked a question Upgrade to Boron instructions?

Hi All,

I would like to upgrade our application code to use Boron, at present we are using Beryllium-SR3.

are there any instructions to upgrade to Boron release that happened on sept 21st?

Thanks Hari

2016-08-18 11:12:15 -0700 asked a question log4j-extras for rolling policy

How do I inject log4j-extras into distribution so that I can use the rolling policy configuration for log4j like


as per the information available, I can get this only from log4j-extras jar.

2016-08-18 10:31:04 -0700 received badge  Enthusiast
2016-08-17 08:49:36 -0700 answered a question ODL application update cache issue

the culprit was data folder, as I realize only journal and snapshots are good enough for data backup and restore and no the "data" folder.

it worked fine after deleting data folder that cached the jar files.

2016-08-16 19:25:05 -0700 asked a question ODL application update cache issue

Hi All,

Please see if you have some help here?

Are you aware of any tricks to figure out why a latest change in my application was not picked up? We are facing an issue in our application where in a change made is not reflected at run time. It shows old code.

Just did a decompile of the jar file in the system folder from karaf distribution and it shows correct changes but runtime doesn’t reflect.

we are taking backup of the old data, journel, snapshots, idmlight and etc and restoring them after the build of latest code (restore/upgrade scenario)

Thanks Hari

2016-06-20 16:44:49 -0700 commented question How do I use messaging4transport?

I gave up on this. using custom approach now. (using activemq broker)

2016-06-17 07:32:09 -0700 commented question Can we define GET RPC in YANG

Looks like not possible (best of my knowledge). rather we need to define a POST method that returns the data.

2016-06-17 07:31:40 -0700 received badge  Popular Question (source)
2016-06-17 07:31:03 -0700 asked a question How do I use messaging4transport?


I followed this and installed activemq-broker, messaging4transport and hawktio

But not sure How I can trigger notifications into activemq?

I want to test using http://localhost:8181/index.html#/yan... by adding some dummy nodes or so.

and then want to see the data on broker using hawtio http://localhost:8181/hawtio

2016-06-17 07:27:55 -0700 answered a question How to extract the current Topology?

read from the data store, i think you need to understand the data structure /tree well and also should have appropriate yang files with you (you should be having it already).

Then use java api to read (DataBroker is the class) and read the data with apprpriate instance identifier.

2016-06-05 19:34:07 -0700 received badge  Scholar (source)
2016-06-03 17:03:19 -0700 received badge  Popular Question (source)
2016-06-03 15:31:37 -0700 asked a question Stream server port and module


If i have to consume the notifications in BE using websocket, what port and URL it is going to be?


is this valid one?

to make sure i have this working, do I have to install any specific feature?

2016-05-31 11:41:13 -0700 commented answer How do I create my own log file

yes, i am trying to build, it is not the same ODL distribution. but it is ODL (we are using BE). If i change the file manually, it seem to reflect, but trying to make sure I commit the change so that my team gets benefit. build is not pulling my changes.

2016-05-31 09:41:53 -0700 answered a question How do I create my own log file

Thanks, i get this point of log4j configuration.

though I change in org.ops4j.pax.logging.cfg in my dist/src/main/assembly/etc, the changes were not going into the target/assembly/etc folder. I do see org.ops4j.pax.logging.cfg file there but it is not the one i made changes.

Also tried to create /dist/src/main/resources folder and placed the file there in assembly/etc path but no luck.

could you please suggest me? i am sure i am missing something simple

2016-05-30 11:13:54 -0700 asked a question How do I create my own log file


I would like to generate custom log files (not just karaf.log), is that possible? which configuration file I need to modify?

I would like to have multiple log files as per the business use cases so as it is easy to debug instead of bloating a single file.

Can someone help me with it?

2016-04-01 11:06:57 -0700 commented question MD-SAL api for topology management ????

If i got you correctly, you do not want to use RESTCONF and still want to manage data?

2016-04-01 11:06:33 -0700 answered a question MD-SAL api for topology management ????

If i got you correctly, you do not want to use RESTCONF and still want to manage data?

2016-04-01 11:04:46 -0700 asked a question Can we define GET RPC in YANG


I am looking for GET RPC methods along with POST methods. Primary thought behind this is to avoid restconf and expose data in a filter manner instead of exposing everything in the data repositories directly.

2016-02-18 10:24:01 -0700 commented question How to register salFlowService, to prevent DOMRpcImplementationNotAvailableException: No implementation of RPC AbsoluteSchemaPath{path=[(urn:opendaylight:flow:service?revision=2013-08-19)add-flow]} available

any luck for this problem?