Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "BUG-2626: activate enunciate only on jdk-1.7"
[controller.git]
/
opendaylight
/
netconf
/
netconf-testtool
/
src
/
main
/
java
/
org
/
opendaylight
/
controller
/
netconf
/
test
/
tool
/
Main.java
diff --git
a/opendaylight/netconf/netconf-testtool/src/main/java/org/opendaylight/controller/netconf/test/tool/Main.java
b/opendaylight/netconf/netconf-testtool/src/main/java/org/opendaylight/controller/netconf/test/tool/Main.java
index e441c709ccabcdcc9a9659a0ca96add3c21a27f1..e4cc80fa749a8c6d8e20a9f54a39507049c98998 100644
(file)
--- a/
opendaylight/netconf/netconf-testtool/src/main/java/org/opendaylight/controller/netconf/test/tool/Main.java
+++ b/
opendaylight/netconf/netconf-testtool/src/main/java/org/opendaylight/controller/netconf/test/tool/Main.java
@@
-46,7
+46,7
@@
public final class Main {
private static final Logger LOG = LoggerFactory.getLogger(Main.class);
private static final Logger LOG = LoggerFactory.getLogger(Main.class);
- static class Params {
+
public
static class Params {
@Arg(dest = "schemas-dir")
public File schemasDir;
@Arg(dest = "schemas-dir")
public File schemasDir;
@@
-78,6
+78,9
@@
public final class Main {
@Arg(dest = "debug")
public boolean debug;
@Arg(dest = "debug")
public boolean debug;
+ @Arg(dest = "notification-file")
+ public File notificationFile;
+
static ArgumentParser getParser() {
final ArgumentParser parser = ArgumentParsers.newArgumentParser("netconf testool");
static ArgumentParser getParser() {
final ArgumentParser parser = ArgumentParsers.newArgumentParser("netconf testool");
@@
-95,6
+98,11
@@
public final class Main {
.help("Directory containing yang schemas to describe simulated devices. Some schemas e.g. netconf monitoring and inet types are included by default")
.dest("schemas-dir");
.help("Directory containing yang schemas to describe simulated devices. Some schemas e.g. netconf monitoring and inet types are included by default")
.dest("schemas-dir");
+ parser.addArgument("--notification-file")
+ .type(File.class)
+ .help("Xml file containing notifications that should be sent to clients after create subscription is called")
+ .dest("notification-file");
+
parser.addArgument("--starting-port")
.type(Integer.class)
.setDefault(17830)
parser.addArgument("--starting-port")
.type(Integer.class)
.setDefault(17830)