Preparing nTop Notebook for nTop Command Line

Follow

This article explains how to prepare your nTop Notebook for nTop Command Line (a.k.a. nTopCL).

1. Prepare Inputs

Right-click on block inputs to declare as the Notebook input variables.

  • Scalar and Text variable types are supported for passing input variables in the execution command.
  • Boolean, Integer, Scalar, Text, File Path, Vector, Point, and Enum types are supported for passing input variables as JSON file.
  • File import/export blocks work well with the Text or File Path variable.
  • Enum type is used to make drop-down lists in blocks as the Notebook input variables.

make-variable.gif

2. Prepare Output

Type the block object name in the output section.

output.gif

3. Run your Notebook using nTopCL 

Use the following command in Command Prompt.

"C:\Program Files\nTopology\nTop Platform\ntopcl.exe" -j input.json -o output.json SampleFile.ntop

4. Check the return messages

mceclip0.png

  Download the Example Files

Output.json
input.json
Sample File
surface.txt

Labels: how to notebook variables output input command line CL nTOPCL json prepare prompt run enum 
Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Article is closed for comments.