aboutsummaryrefslogtreecommitdiffstats
path: root/test/mocks/masspnfsim/pnf-sim-lightweight/netconf
diff options
context:
space:
mode:
authorEli Halych <illia.halych@t-mobile.pl>2020-11-24 09:59:07 +0000
committerEli Halych <illia.halych@t-mobile.pl>2020-11-24 10:14:45 +0000
commitdcccf6e2c90ef7b079ac6a4f6258b7d550fa79c5 (patch)
tree4d24f92105fb4142bda28d5637636dee41cef9b3 /test/mocks/masspnfsim/pnf-sim-lightweight/netconf
parent6b92f67b5c2e41dfe6272f401989d17c7452c089 (diff)
Change mass-pnf-sim folder name to masspnfsim
Details: - Allows for importing python files/classes/methods via normal import. - Dashes in mass-pnf-sim prevented from a normal Python import. - mass-pnf-sim path referenced in the project files changed to masspnfsim. - Possibility of using masspnfsim as a git submodule that requires noraml import. Issue-ID: INT-1789 Signed-off-by: Eli Halych <illia.halych@t-mobile.pl> Change-Id: I00cd753181c9b240b99881057cf777cf7977387a
Diffstat (limited to 'test/mocks/masspnfsim/pnf-sim-lightweight/netconf')
-rw-r--r--test/mocks/masspnfsim/pnf-sim-lightweight/netconf/pnf-simulator.data.xml4
-rw-r--r--test/mocks/masspnfsim/pnf-sim-lightweight/netconf/pnf-simulator.yang9
2 files changed, 13 insertions, 0 deletions
diff --git a/test/mocks/masspnfsim/pnf-sim-lightweight/netconf/pnf-simulator.data.xml b/test/mocks/masspnfsim/pnf-sim-lightweight/netconf/pnf-simulator.data.xml
new file mode 100644
index 000000000..9d648bba7
--- /dev/null
+++ b/test/mocks/masspnfsim/pnf-sim-lightweight/netconf/pnf-simulator.data.xml
@@ -0,0 +1,4 @@
+<config xmlns="http://nokia.com/pnf-simulator">
+ <itemValue1>42</itemValue1>
+ <itemValue2>35</itemValue2>
+</config>
diff --git a/test/mocks/masspnfsim/pnf-sim-lightweight/netconf/pnf-simulator.yang b/test/mocks/masspnfsim/pnf-sim-lightweight/netconf/pnf-simulator.yang
new file mode 100644
index 000000000..d7fc2f26e
--- /dev/null
+++ b/test/mocks/masspnfsim/pnf-sim-lightweight/netconf/pnf-simulator.yang
@@ -0,0 +1,9 @@
+module pnf-simulator {
+ namespace "http://nokia.com/pnf-simulator";
+ prefix config;
+ container config {
+ config true;
+ leaf itemValue1 {type uint32;}
+ leaf itemValue2 {type uint32;}
+ }
+}