4 Commits

Author SHA1 Message Date
chengfan
7b2a60be58 [ONOS-5397]fixbug:NBI Error for complicate list inside container
1.if a array's children are all not container node,
 it's a leaf-list in yang, should treat differently;
2.for a array, the field name should push into a stack,
 and then pop when exit the array
3. add namespace info for yangnode
4. process the exception of null array node

Change-Id: Ia7b0c25ab1ccea393b97a0fcf59187663348de3b
2016-10-17 13:06:16 +00:00
Hesam Rahimi
4a409b4374 ONOS-4919: Implement RESTCONF client
Adding code to support RESTCONF protocol as one of
the supported SBI protocols of ONOS. This RESTCONF SBI extends
the current REST SBI protocl and adds some new APIs/functinalities
so that a provider can subscribe/register to an external restconf
server to receive notification stream.

Change-Id: I21bf0d0f0394cf788e066d743b3ade04735fe07e
2016-09-30 11:49:20 -04:00
chengfan
c58d4be8a5 [ONOS-5012] implement RESTconf server
- fix javadoc longer than 80 char limit
 - fix javadoc that missing @params
 - chain calls to StringBuilder.append()
 - combine constant strings in place

Change-Id: Ie2ef4fd4c19e955ad2d5a5584f5017a842abb790
2016-09-30 01:25:34 +00:00
Henry Yu
e20926ebaa RESTCONF Server outline
Change-Id: Id93a647b35b24c47f2828763a799b56a50113faf
2016-09-30 00:31:13 +00:00