building netconf-testtool

asked 2016-08-23 06:07:27 -0700

joydeepb1 gravatar image

Hello I have used "mvn clean install" from ~/controller/opendaylight/netconf/netconf-testtool/ directory - it is giving "netconf-testtool-0.2.8-Helium-SR3-executable.jar" file under target folder.

When I am trying to execute the jar file using "java -Xmx1G -XX:MaxPermSize=256M -jar netconf-testtool-0.2.8-Helium-SR3-executable.jar" getting the following error usage: netconf testool [-h] [--devices-count DEVICES-COUNT] --schemas-dir SCHEMAS-DIR [--starting-port STARTING-PORT] [--generate-config-connection-timeout GENERATE-CONFIG-CONNECTION-TIMEOUT] [--generate-config-address GENERATE-CONFIG-ADDRESS] [--generate-configs-batch-size GENERATE-CONFIGS-BATCH-SIZE] [--generate-configs-dir GENERATE-CONFIGS-DIR] [--ssh SSH] [--exi EXI] netconf testool: error: argument --schemas-dir is required

edit retag flag offensive close merge delete


@joydeepb1 Now, the netconf-testtool is a part of netconf. To work with netconf-testtool, please follow the below link:

bhavesh07 ( 2016-08-25 00:08:56 -0700 )edit

Hello I tried opening the page but it's not opening.

joydeepb1 ( 2016-08-25 03:44:40 -0700 )edit

@joydeepb1 Sorry, the URL mentioned above is appending closing paragraph element at the end while loading. please delete the same.

bhavesh07 ( 2016-08-25 04:38:17 -0700 )edit

I have gone through the steps - but in target folder I am not getting netconf-testtool-1.0.0-SNAPSHOT-executable.jar. After maven build I am getting file with a different name netconf-testtool-0.2.8-Helium-SR3-executable.jar.

joydeepb1 ( 2016-08-26 05:42:09 -0700 )edit

@joydeepb1 After the build, check at this path: netconf/opendaylight/netconf/tools/netconf-testtool/target. The version may be different from the wiki page as it depends on the version declared in the pom.xml

bhavesh07 ( 2016-08-28 23:05:04 -0700 )edit