On Mon, Jun 19, 2017 at 4:34 PM, huqiwei...@163.com <huqiwei...@163.com> wrote:
If I submit the data through the YangUI,I need to define my own yang > model,then generate the jar file? > Only if you really want to have your own custom YANG model - do you? ;-) Perhaps to start with, you would just like to install any of the many available ODL applications (like for example feature:install odl-netvirt-openstack), and read some of the data it puts into the datastore? > Is there some examples in the wiki > You can look at some of the code in the active projects; like e.g. genius or netvirt, if you like. You can try following https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL:Toaster_Step-By-Step, but AFAIK that's at least somewhat out of date - but it may still be interesting for you to read. You can try out the ODL Maven archetype, which creates an example project. > 发自网易邮箱大师 > On 06/19/2017 22:21, Michael Vorburger <vorbur...@redhat.com> wrote: > > Hello huqiwei321, > > On Mon, Jun 19, 2017 at 12:36 PM, huqiwei...@163.com <huqiwei...@163.com> > wrote: > >> Hi everyone, >> Anybody knows that the flow that how the data from YangUI PO >> ST is saved to data store. >> 1.data flow:YangUI->RESTCONF subsystem- >rpc(exist in my int >> ernal app)->data store must use a internal app? >> 2.data flow:YangUI->RESTCONF subsystem->data store >> access the datastore from RESTCONF subsystem directly witho >> ut any other internal app? >> Is data flow 2 right? >> > > If I understand your question correctly, I think the answer is that this > depends on whether you actually call an RPC or just do a direct datastore > read/write from YangUI; an RPC will necessarily go through your code, where > as a read won't, and a write only if you have a listener registered on that > path. > > Tx, > M. > -- > Michael Vorburger, Red Hat > vorbur...@redhat.com | IRC: vorburger @freenode | ~ = http://vorburger.ch > > > >> Any help is expect. >> >> ------------------------------ >> huqiwei...@163.com >> >> _______________________________________________ >> controller-dev mailing list >> controller-dev@lists.opendaylight.org >> https://lists.opendaylight.org/mailman/listinfo/controller-dev >> >> >
_______________________________________________ controller-dev mailing list controller-dev@lists.opendaylight.org https://lists.opendaylight.org/mailman/listinfo/controller-dev