Git Product home page Git Product logo

odl-skeleton's Introduction

Basic directory structure, pom's, and karaf for the ODL-skeleton project.

This is an application named "ODL-skeleton".

This is a Opendaylight application,the whole application is in branch4.

odl-skeleton's People

Contributors

wyqbupt avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

odl-skeleton's Issues

关于ODL中Config Subsystem的一些疑惑

王钰琪师兄/师姐:

你好,我是北邮研一的学弟,最近在学习和接触ODL开发,然后在做Config Subsystem的时候遇到了一些难题,想请教一下:

我想知道如果我希望在我自己的Server中做一个自定义的配置(比如我想定义我的服务的tcp port)应该如何做呢?

目前为止,我是按照这样的思路来进行的:

  1. 在impl里面定义一个yang module,用augment中定义一个tcpport 的leaf节点。
  2. 写了一个包含8009的xml文件来定义配置。
  3. 在feature和impl的pom中加入对这个配置的依赖。
  4. 在生成的java文件ConfigModule中的createInstance()里面调用provider。

启动karaf以后我通过log:tail看到,我自己写的这个72-server-config.xml配置文件已经被config-pusher成功的读取,可是provider并没有起来(因为onSessionInitial()里面的log并没有输出)。

所以我毕竟犯晕,我想知道利用Config Subsystem做一个自定义配置的流程具体应该是怎么样的。

非常希望并感谢能够得到你的帮助!

(之前向你的[email protected]邮箱中投了邮件,不知道收到没有)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.