Add netconf support to pnfsimulator.
Issue-ID: INT-458
Change-Id: Iebc9cf2a9f35c92dc354d1c6e857dc8345c1172f
Signed-off-by: Pawel Kadlubanski <pawel.kadlubanski@nokia.com>
diff --git a/test/mocks/pnfsimulator/netconf/pnf-simulator.data.xml b/test/mocks/pnfsimulator/netconf/pnf-simulator.data.xml
new file mode 100644
index 0000000..83f80c4
--- /dev/null
+++ b/test/mocks/pnfsimulator/netconf/pnf-simulator.data.xml
@@ -0,0 +1,4 @@
+<config xmlns="http://nokia.com/pnf-simulator">
+ <testDuration>10</testDuration>
+ <messageInterval>1</messageInterval>
+</config>
diff --git a/test/mocks/pnfsimulator/netconf/pnf-simulator.yang b/test/mocks/pnfsimulator/netconf/pnf-simulator.yang
new file mode 100644
index 0000000..dda6554
--- /dev/null
+++ b/test/mocks/pnfsimulator/netconf/pnf-simulator.yang
@@ -0,0 +1,9 @@
+module pnf-simulator {
+ namespace "http://nokia.com/pnf-simulator";
+ prefix config;
+ container config {
+ config true;
+ leaf testDuration {type uint32;}
+ leaf messageInterval {type uint32;}
+ }
+}