Toaster

https://wiki.opendaylight.org/view/YANG_Tools:YANG_to_Java_Mapping#Identity

https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL:Toaster_Tutorial

http://blog.csdn.net/aaa_aa000/article/details/45840977

https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL:Toaster_Step-By-Step

https://wiki.opendaylight.org/view/Using_Blueprint

https://wiki.opendaylight.org/view/OpenDaylight_Controller:Config:Examples:Sample_Project

1、yang文件生成

(1)module会生成ToasterData接口和ToasterService接口,ToasterData可以获取到此yang文件所有的container,leaf等,ToasterService有rpc方法,实现rpc方法的类要实现这个接口

(2) container生成Toaster接口和ToasterBuilder

          identity生成抽象类

(3)有notification会生成ToasterListener,每个notification生成一个接口和一个builder

posted @ 2018-01-06 19:41  ontway  阅读(342)  评论(0编辑  收藏  举报