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

anu.nair's profile - activity

2015-03-30 10:09:54 -0700 received badge  Famous Question (source)
2015-02-10 07:23:09 -0700 received badge  Famous Question (source)
2015-02-02 16:33:22 -0700 received badge  Popular Question (source)
2015-02-02 16:33:22 -0700 received badge  Notable Question (source)
2015-01-27 09:47:35 -0700 asked a question How to implement my own datastore. Starting point

Hi

I want to implement my own datastore and avoid using infinispan. Any examples or starting point. The below link doesn't give much information. If anyone had done that. please let me know. https://wiki.opendaylight.org/view/OpenDaylightController:MD-SAL:Architecture:DOMDataStore:PlugginginaDatastoreinto_MD-SAL

Thanks in advance

2015-01-12 02:37:26 -0700 received badge  Popular Question (source)
2015-01-12 02:37:26 -0700 received badge  Notable Question (source)
2015-01-12 02:37:26 -0700 received badge  Famous Question (source)
2014-12-12 09:20:34 -0700 answered a question ODL takes quite a long time to start

You can go to configuration/initial and remove some applications if not required. eg 03-toaster.xml..

2014-12-12 09:18:47 -0700 answered a question MD-SAL Application development

once you do a mvn clean install on your application folder, copy the xxSNAPSHOT.jar to plugins folder . If you want to do in a more generic way, then add a distribution folder , then add base for osgi and karaf for karaf . You will get sample examples in odl itself. look for distribution folder, features folder.

2014-11-18 14:38:32 -0700 asked a question How can my ODL applilcation bundle listen to an external Event (eg JMS) .

I would like to set up an external event channel between ODL and a different application. My ODL application need to listen to this event and process, and need to push back the events also . Any inputs appreciated ..

2014-11-18 02:38:05 -0700 received badge  Famous Question (source)
2014-11-16 09:27:49 -0700 received badge  Popular Question (source)
2014-11-16 09:27:49 -0700 received badge  Notable Question (source)
2014-11-12 03:54:05 -0700 received badge  Notable Question (source)
2014-11-10 01:10:32 -0700 received badge  Famous Question (source)
2014-11-10 01:09:14 -0700 received badge  Popular Question (source)
2014-11-06 16:23:27 -0700 answered a question How to insert data to md-sal data model?!

You don't have to do anything. ODL takes care of json to yang model and put in data store.

The rest API's can be accessed from api doc. try the POST and GET of your container from this page

API explorer is accesible at http://localhost:8080/apidoc/explorer

Karaf: http://localhost:8181/apidoc/explorer/index.html

2014-11-06 15:57:46 -0700 commented question Error During karaf startup and not able to use dlux

2014-11-06 15:56:25,434 | ERROR | Event Dispatcher | StandardWebApplication | 244 - slf4j.api - 1.7.2 | Failed to start web application at context path '/oauth2/federation' org.eclipse.gemini.web.core.spi.ServletContainerException: Web application at '/oauth2/federation' cannot be added to the host.

2014-11-06 15:45:18 -0700 commented question Error During karaf startup and not able to use dlux

org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/oauth2/federation]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina .... t org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)[org.eclipse.osgi-3.8.2.v20130124-134944.jar:] at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)[org.eclipse.osgi-3.8.2.v20130124-134944.jar:] Caused by: java.lang.NoClassDefFoundError: org/apache/oltu/oauth2/common/exception/OAuthSystemException at java.lang.Class.getDeclaredMethods0(Native Method)[:1.7.0_65]

2014-11-06 15:37:26 -0700 asked a question Error During karaf startup and not able to use dlux

I wanted to get dlux in my development setup for an internal project and not able to log in to dlux. feature install l2-switch and dlux core worked fine, but during karaf start up getting this error.

Want to check if the log in issue is related to this or not

2014-11-06 15:32:55,889 | WARN | pool-4-thread-2 | AbstractLifeCycle | 167 - org.eclipse.jetty.aggregate.jetty-all-server - 8.1.14.v20131031 | FAILED org.eclipse.jetty.security.ConstraintSecurityHandler@dcd02d2: java.lang.IllegalStateException: No LoginService for org.eclipse.jetty.security.authentication.BasicAuthenticator@57743331 in org.eclipse.jetty.security.ConstraintSecurityHandler@dcd02d2 java.lang.IllegalStateException: No LoginService for org.eclipse.jetty.security.authentication.BasicAuthenticator@57743331 in org.eclipse.jetty.security.ConstraintSecurityHandler@dcd02d2 at org.eclipse.jetty.security.authentication.LoginAuthenticator.setConfiguration(LoginAuthenticator.java:61)[167:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031] at org.eclipse.jetty.security.SecurityHandler.doStart(SecurityHandler.java:377)[167:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031] at org.eclipse.jetty.security.ConstraintSecurityHandler.doStart(ConstraintSecurityHandler.java:453)[167:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)[167:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031] at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)[167:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031] at org.eclipse.jetty.server.handler.ScopedHandler.doStart(ScopedHandler.java:115)[167:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031] at org.eclipse.jetty.server.session.SessionHandler.doStart(SessionHandler.java:124)[167:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)[167:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031] at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)[167:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031] at org.eclipse.jetty.server.handler.ScopedHandler.doStart(ScopedHandler.java:115)[167:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031] at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:763)[167:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031] at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:249)[167:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031] at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:717)[167:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031] at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doStart(HttpServiceContext.java:222)[177:org.ops4j.pax.web.pax-web-jetty:3.1.0] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)[167:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031] at org.ops4j.pax.web.service.jetty.internal.JettyServerImpl$1.start(JettyServerImpl.java:197)[177:org.ops4j.pax.web.pax-web-jetty:3.1.0] at org.ops4j.pax.web.service.internal.HttpServiceStarted.end(HttpServiceStarted.java:1032)[176:org.ops4j.pax.web.pax-web-runtime:3.1.0] at org.ops4j.pax.web.service.internal.HttpServiceProxy.end(HttpServiceProxy.java:422)[176:org.ops4j.pax.web.pax-web-runtime:3.1.0] at org.ops4j.pax.web.extender ... (more)

2014-11-06 15:22:31 -0700 commented answer Unable to login through dlux

I am also facing the same issue in my dev setup. during karaf start I see couple of errors like ContainerBase | 273 - org.apache.juli.extras - 7.0.53.v201406060720 | ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/oauth2/federation]] at org.apache.catalina.util.LifecycleBase .. org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)[org.eclipse.osgi-3.8.2.v20130124-134944.jar:] at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)[org.eclipse.osgi-3.8.2.v20130124-134944.jar:] Caused by: java.lang.NoClassDefFoundError: org/apache/oltu/oauth2/common/exception/OAuthSystemException at java.lang.Class.getDeclaredMethods0(Native Method)[:1.7.0_65]

2014-11-06 15:22:31 -0700 received badge  Commentator
2014-11-04 08:18:08 -0700 received badge  Popular Question (source)
2014-11-04 08:18:08 -0700 received badge  Notable Question (source)
2014-11-03 14:41:25 -0700 asked a question Does ODL have an internal and external CA (Certificate Authority) Support built in ?

I am planning to set up a internal and external CA Server inside ODL. Before exploring the options , Checking if ODL have any CA server supported internally. Any inputs appreciated. Planning to use open ssl as the CA server

2014-11-03 13:35:58 -0700 answered a question BundleException Could not be resolved Missing Constraint

Import-Package: org.opendaylight.yang.gen.v1.de.frescoplus.rev141013; version="0.0.0" Your Manifest.INF doesnt have the version set. Go to your bundle and see if the version is specified. One workaround is explicitly do an Import Package with this version in your pom file

2014-11-03 13:32:15 -0700 answered a question rpc call via restconf on remote netconf device

There was a bug with rpc's I noticed, if the rpc's doesnt have any input. Does your yang have more rpc's, if not define a dummy input and test it out. For mounted rpc's you need atleast one input.. Not sure when this will be fixed.

2014-11-03 13:26:39 -0700 answered a question How can i store customized data and notify data changed to registered application in ODL?

Follow these steps 1) Define your yang 2) you can define your own custom notification in yang, like notification myDataCreated {..} notification myDataDeleted {..} 3) get NotificationProviderService from BundleContext in Activator class 4) NotificationProviderService . publish(myDataCreatedbuilder).build()..

If no custom notification is required , then follow in Activator lclass, get the databroker.registerDataChangeListener(LogicalDatastoreType.CONFIGURATION, your instnaceid, class implements the interface DataChangeListener (onDataChanged)..)

2014-11-03 13:14:10 -0700 received badge  Notable Question (source)
2014-11-03 13:14:10 -0700 received badge  Famous Question (source)
2014-11-03 13:13:15 -0700 answered a question how could i fix could not be resolved. Reason: Missing Constraint: Import-Package: com.esotericsoftware.kryo

Can you check in your.m2/repository search for this snapshot. if it is not there , make sure your settings.xml is pointing to the right nexus.

Maven repository have version only till 2.24 http://mvnrepository.com/artifact/com.esotericsoftware.kryo/kryo

There is no version betweem 3.0.0 and 4.0.0 So change you pom to add version as 2.24 <dependency> <groupid>com.esotericsoftware.kryo</groupid> <artifactid>kryo</artifactid> <version>2.24.0</version> </dependency>

2014-10-31 09:38:57 -0700 asked a question Binding independent and Binding Aware Difference

I am still not clear about the concept about Binding Independent and Binding Aware model. What is the difference and When should I use BI / BA ? Can some one provide an example.

2014-10-10 01:50:09 -0700 received badge  Popular Question (source)
2014-10-02 14:06:54 -0700 received badge  Editor (source)
2014-10-02 09:43:56 -0700 asked a question Node not showing in ODL topology UI.

I manually added a node in ODL inventory ( as part of manual discovery) and the same information is added to network topology also. But this node is not showing up in ODL topology. ( does the network topoplogy have to be in operational store always ?? ) .

See the RESTCONF response. GET http://xxxxx:8080/restconf/config/network-topology:network-topology/ { "network-topology": { "topology": [ { "topology-id": "global", "node": [ { "node-id": "MY-Node-Added-1" } ] } ] } }

I see ODL opulates the Node in UI from TopologyManager (TOPOHOSTSDB = "topologymanager.hostsDB";). Do I need to manually add this node there to see in ODL topology.

Where is the network-topology nodes used in UI ?

Update UI call on topology org.opendaylight.controller.topology.web.Topology public Collection<map<string, object="">> getLinkData .. calls Map<node, set<edge="">> nodeEdges = topologyManager.getNodeEdges(); Map<node, set<nodeconnector="">> hostEdges = topologyManager.getNodesWithNodeConnectorHost(); List<switch> nodes = switchManager.getNetworkDevices()</switch></node,></node,></map<string,>

Server

package org.opendaylight.controller.sal.compatibility.topology; TopologyAdapter This is where there is sollicitRefresh() which will do a node edge update

This is called by startup on package org.opendaylight.controller.topologymanager.internal; TopologyManagerImpl Started() {..topoService.sollicitRefresh();}

Note SwitchManager Node is not the Node in network topology model. This is a concrete pojo.

Do I need to put my node in nodeEdges , hostedges or nodes (switch manager) ?? Any inputs appreciated.

2014-07-07 02:15:30 -0700 received badge  Teacher (source)
2014-07-02 17:59:26 -0700 commented question Opendaylight won't launch in VB, non-existent network host?

what version of virtual box are you using? I had some similar issues and used older version 4.3.6 and it worked.

2014-07-02 17:57:42 -0700 answered a question How to debug MD-SAL startup ?

ModuleInfoBundleTracker is also a good starting point where in config subsystem bundles are loaded by reading the file from META-INF/services/ .

This is where yang modules are read , then create instance by reading the class name from the files under META-INF/services.

ModuleInfoBundleTracker.java public Collection<objectregistration<yangmoduleinfo>> addingBundle(Bundle bundle, BundleEvent event) { URL resource = bundle.getEntry(MODULEINFOPROVIDERPATHPREFIX + YangModelBindingProvider.class.getName()); .. }</objectregistration<yangmoduleinfo>

2014-06-13 11:32:54 -0700 received badge  Taxonomist
2014-06-05 17:14:49 -0700 answered a question Not able to bind the service to MD-SAL at runtime [NotEnoughCapabilitiesException]

The jar file was not there in ~/controller/opendaylight/distribution/opendaylight/target/distribution.opendaylight-osgipackage/opendaylight/plugins

sample-test-provider-1.1-SNAPSHOT.jar sample-test-1.1-SNAPSHOT.jar

I manually copied both my jars to this location and restarted controller.

2014-06-02 18:34:58 -0700 commented answer Not able to bind the service to MD-SAL at runtime [NotEnoughCapabilitiesException]

https://bugs.opendaylight.org/show_bug.cgi?id=1122

2014-06-02 18:34:55 -0700 commented question Not able to bind the service to MD-SAL at runtime [NotEnoughCapabilitiesException]

https://bugs.opendaylight.org/show_bug.cgi?id=1122

2014-05-30 03:50:26 -0700 marked best answer Starting point of creating a new plugin / service

I am new to ODL (1 week ) and currently investigating a solution to create a service , which will expose REST API's to north bound , to southbound CLI via MD-SAL.

An example to execute the "show ip " cli command . I am assuming the process is like this ( reading the MD-SAL documents ).

1) Define the yang model wirh rpc defined show-ip 2) Create a CLIConsumer (South bound) 3) Create a CLIProducer
3) Register consumer and Producer with the Binding Broker ( Aware or independent ) 4) Create a CLIService . 5) Add the notification listeners

The LearningSwitch example used the pattern similar to this. But the DeviceManagerImpl which uses receivePacket(..) and transmitPackage (..) doesnt have any producer, consumer pattern.

Can any one please share a example / document related to this.

2014-05-29 14:17:30 -0700 commented answer Not able to bind the service to MD-SAL at runtime [NotEnoughCapabilitiesException]

Root cause is NetconfOperationServiceImpl::yangstoreSnapShot doent have the module. Set<module> modules = yangStoreSnapshot.getModules(); ..} Not sure how to find / locate the module. Looks like some path issue.

2014-05-29 14:13:25 -0700 received badge  Enthusiast