Add import for netconf-node-optional 09/90909/11
authorNikhil Soni <nsoni@luminanetworks.com>
Fri, 3 Jul 2020 07:35:54 +0000 (13:05 +0530)
committerRobert Varga <nite@hq.sk>
Sat, 1 Aug 2020 12:22:23 +0000 (12:22 +0000)
commit9ed4befdde4f9c88705ddd1ec70c5b5b5ec19a25
tree259671566b32a8a5130c9280fbf5704af8eb3fd2
parentbc8f0f5ec11559d07892632612630697d8235009
Add import for netconf-node-optional

This was missed in the initial work to add the
optional schema first added here:
  https://git.opendaylight.org/gerrit/c/netconf/+/82521

Because of that, adding any of the optional configs
(e.g., datastore-lock) to the body of the create device
RPC was failing. importing it in netconf-node-topology
fixes that.

JIRA: NETCONF-670
Change-Id: I5fc72d9714e0fb4f1dfd26f161d2eb3dcfe8862a
Signed-off-by: Nikhil Soni <nsoni@luminanetworks.com>
netconf/netconf-console/src/test/java/org/opendaylight/netconf/console/impl/NetconfCommandsImplTest.java
netconf/netconf-console/src/test/resources/schemas/netconf-node-optional.yang [new file with mode: 0644]
netconf/netconf-console/src/test/resources/schemas/netconf-node-topology.yang
netconf/sal-netconf-connector/src/main/yang/netconf-node-topology.yang
netconf/sal-netconf-connector/src/test/java/org/opendaylight/netconf/sal/connect/netconf/sal/NetconfDeviceTopologyAdapterTest.java
netconf/sal-netconf-connector/src/test/resources/schemas/netconf-node-optional.yang [new file with mode: 0644]
netconf/sal-netconf-connector/src/test/resources/schemas/netconf-node-topology.yang