diff options
author | Dan Timoney <dtimoney@att.com> | 2019-03-18 18:29:56 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-03-18 18:29:56 +0000 |
commit | a0f6c597b54f42e141be6f41c6b228f4dc3ee988 (patch) | |
tree | b97b82753427abb662aab5f1ed9cff557ea174ee /components/model-catalog/blueprint-model/test-blueprint/capability_restconf/Templates/config-assign-restconf-configlet-template.vtl | |
parent | 94c1eb878c45e22ebf40aac47580d584bfb3cc0d (diff) | |
parent | 1b5d34c4a9c62de7aee833529e9df160315c5f8f (diff) |
Merge "Adding custom headers capability to REST client"
Diffstat (limited to 'components/model-catalog/blueprint-model/test-blueprint/capability_restconf/Templates/config-assign-restconf-configlet-template.vtl')
-rw-r--r-- | components/model-catalog/blueprint-model/test-blueprint/capability_restconf/Templates/config-assign-restconf-configlet-template.vtl | 56 |
1 files changed, 37 insertions, 19 deletions
diff --git a/components/model-catalog/blueprint-model/test-blueprint/capability_restconf/Templates/config-assign-restconf-configlet-template.vtl b/components/model-catalog/blueprint-model/test-blueprint/capability_restconf/Templates/config-assign-restconf-configlet-template.vtl index e3d7a671..3812380e 100644 --- a/components/model-catalog/blueprint-model/test-blueprint/capability_restconf/Templates/config-assign-restconf-configlet-template.vtl +++ b/components/model-catalog/blueprint-model/test-blueprint/capability_restconf/Templates/config-assign-restconf-configlet-template.vtl @@ -1,19 +1,37 @@ -<yang-patch xmlns="urn:ietf:params:xml:ns:yang:ietf-yang-patch"> -<patch-id>example-patch</patch-id> -<comment>Example patch</comment> -<edit> - <edit-id>edit1</edit-id> - <operation>create</operation> - <target>/car-entry</target> - <value> - <car-entry xmlns="urn:opendaylight:params:xml:ns:yang:controller:config:sal-clustering-it:car"> - <id>0</id> - </car-entry> - </value> -</edit> -<edit> - <edit-id>edit2</edit-id> - <operation>delete</operation> - <target>/car-entry/0</target> -</edit> -</yang-patch> +{ + "ietf-restconf:yang-patch":{ + "patch-id":"patch-1", + "edit":[ + { + "edit-id":"edit1", + "operation":"merge", + "target":"/", + "value":{ + "netconflist":{ + "netconf":[ + { + "netconf-id":"40", + "netconf-param":"4040" + } + ] + } + } + }, + { + "edit-id":"edit2", + "operation":"merge", + "target":"/", + "value":{ + "netconflist":{ + "netconf":[ + { + "netconf-id":"50", + "netconf-param":"98765" + } + ] + } + } + } + ] + } +}
\ No newline at end of file |