On Mon, Oct 24, 2016 at 4:20 AM, Tomas Janciga -X (tjanciga - PANTHEON TECHNOLOGIES at Cisco) <tjanc...@cisco.com> wrote:
> Hi Guys, > > I’m testing possibilities of the configuration of modules using Blueprint > instead of CSS. > > I’ve got troubles with retrieving default configuration and creating new > instances of modules. > > For the first one I’ve opened this bug: > > https://bugs.opendaylight.org/show_bug.cgi?id=7012 > Unfortunately, the default configuration can't be obtained currently via restconf. For 1, yang default values are only available via the binding interface (restconf is BI) and 2, the default XML config isn't stored in the data store. We need to utilize the new sharding API, when it's ready, to get the default data. > > > But I’m not sure about the second one. > > RESTCONF POST method doesn’t work for the instantiation of module, I’ve > tested also PUT method and it resulted with 200OK and the new configuration > of the new instance has been stored in the data store (I verified with GET) > but new instance of module has not been started. > > Should the module instantiation through RESTCONF work please ? > > Is it on your TODO list ? > > > I'm not clear on what the issue is here. What do you mean by "module instantiation through RESTCONF"? Can you elaborate with a detailed example? > Thank you for your answers in advance, > > Tomas > > > > I’ve tested POST and PUT methods with this URL body: > > > > http://localhost:8181/restconf/config/onem2m-plugin- > loader-config:plugin-loaders-configs/LoaderInstanceNew > > { > > "plugin-loaders-configs": [ > > { > > "loader-instance-name": "LoaderInstanceNew", > > "some-string-param": "TestStringNew" > > } > > ] > > } > > _______________________________________________ > 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