Node-Red configuration
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

launch.json 8.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293
  1. {
  2. // Use IntelliSense to learn about possible attributes.
  3. // Hover to view descriptions of existing attributes.
  4. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
  5. "version": "0.2.0",
  6. "configurations": [
  7. {
  8. "type": "node",
  9. "request": "launch",
  10. "name": "SNMP community get",
  11. "skipFiles": [
  12. "<node_internals>/**"
  13. ],
  14. "program": "${workspaceFolder}/example/snmp-get.js",
  15. "args": [
  16. "-v", "2c",
  17. "-c", "public",
  18. "127.0.0.1",
  19. "1.3.6.1.2.1.31.1.1.1.6.1"
  20. ]
  21. },
  22. {
  23. "type": "node",
  24. "request": "launch",
  25. "name": "SNMP user get",
  26. "skipFiles": [
  27. "<node_internals>/**"
  28. ],
  29. "program": "${workspaceFolder}/example/snmp-get.js",
  30. "args": [
  31. "-d",
  32. "-v", "3",
  33. "-l", "authPriv",
  34. "-u", "wilma",
  35. "-a", "sha",
  36. "-A", "illhavesomeauth",
  37. "-x", "des",
  38. "-X", "andsomepriv",
  39. "127.0.0.1",
  40. "1.3.6.1.2.1.1.1.0"
  41. ]
  42. },
  43. {
  44. "type": "node",
  45. "request": "launch",
  46. "name": "SNMP community get bulk",
  47. "skipFiles": [
  48. "<node_internals>/**"
  49. ],
  50. "program": "${workspaceFolder}/example/snmp-get-bulk.js",
  51. "args": [
  52. "-v", "2c",
  53. "-c", "public",
  54. "-o", "1",
  55. "-r", "20",
  56. "127.0.0.1",
  57. "1.3.6.1.2.1.1.9",
  58. "1.3.6.1.2.1.2"
  59. ]
  60. },
  61. {
  62. "type": "node",
  63. "request": "launch",
  64. "name": "SNMP community subtree",
  65. "skipFiles": [
  66. "<node_internals>/**"
  67. ],
  68. "program": "${workspaceFolder}/example/snmp-subtree.js",
  69. "args": [
  70. "-v", "2c",
  71. "-c", "public",
  72. "127.0.0.1",
  73. "1.3.6.1.6.3.16.1.5.2.1.6.9"
  74. ]
  75. },
  76. {
  77. "type": "node",
  78. "request": "launch",
  79. "name": "SNMP community walk",
  80. "skipFiles": [
  81. "<node_internals>/**"
  82. ],
  83. "program": "${workspaceFolder}/example/snmp-walk.js",
  84. "args": [
  85. "-v", "2c",
  86. "-c", "public",
  87. "127.0.0.1",
  88. "1.3.6.1.6.3.16.1.5.2.1.6.9"
  89. ]
  90. },
  91. {
  92. "type": "node",
  93. "request": "launch",
  94. "name": "SNMP user walk",
  95. "skipFiles": [
  96. "<node_internals>/**"
  97. ],
  98. "program": "${workspaceFolder}/example/snmp-walk.js",
  99. "args": [
  100. "-v", "3",
  101. "-u", "noauth",
  102. "-l", "noAuthNoPriv",
  103. "127.0.0.1",
  104. "1.3.6.1.6.3.16.1.5"
  105. ]
  106. },
  107. {
  108. "type": "node",
  109. "request": "launch",
  110. "name": "SNMP community set",
  111. "skipFiles": [
  112. "<node_internals>/**"
  113. ],
  114. "program": "${workspaceFolder}/example/snmp-set.js",
  115. "args": [
  116. "-v", "2c",
  117. "-c", "private",
  118. "127.0.0.1",
  119. "1.3.6.1.2.1.1.7.0",
  120. "Integer",
  121. "40"
  122. ]
  123. },
  124. {
  125. "type": "node",
  126. "request": "launch",
  127. "name": "SNMP community trap",
  128. "skipFiles": [
  129. "<node_internals>/**"
  130. ],
  131. "program": "${workspaceFolder}/example/snmp-trap.js",
  132. "args": [
  133. "-v", "2c",
  134. "-c", "public",
  135. "127.0.0.1",
  136. "1.3.6.1.6.3.1.1.5.1"
  137. ]
  138. },
  139. {
  140. "type": "node",
  141. "request": "launch",
  142. "name": "SNMP user trap",
  143. "skipFiles": [
  144. "<node_internals>/**"
  145. ],
  146. "program": "${workspaceFolder}/example/snmp-trap.js",
  147. "args": [
  148. "-e", "0x010203040a",
  149. "-v", "3",
  150. "-u", "barney",
  151. "-l", "authPriv",
  152. "-a", "sha",
  153. "-A", "illhavesomeauth",
  154. "-x", "aes",
  155. "-X", "andsomepriv",
  156. "127.0.0.1",
  157. "1.3.6.1.6.3.1.1.5.1"
  158. ]
  159. },
  160. {
  161. "type": "node",
  162. "request": "launch",
  163. "name": "SNMP user inform",
  164. "skipFiles": [
  165. "<node_internals>/**"
  166. ],
  167. "program": "${workspaceFolder}/example/snmp-inform.js",
  168. "args": [
  169. "-v", "3",
  170. "-u", "informerpriv",
  171. "-l", "authPriv",
  172. "-a", "md5",
  173. "-A", "testing123",
  174. "-x", "des",
  175. "-X", "testing123",
  176. "127.0.0.1",
  177. "1.3.6.1.6.3.1.1.5.1"
  178. ]
  179. },
  180. {
  181. "type": "node",
  182. "request": "launch",
  183. "name": "SNMP user table columns",
  184. "skipFiles": [
  185. "<node_internals>/**"
  186. ],
  187. "program": "${workspaceFolder}/example/snmp-table-columns.js",
  188. "args": [
  189. "-v", "3",
  190. "-u", "wilma",
  191. "-l", "authPriv",
  192. "-a", "sha",
  193. "-A", "illhavesomeauth",
  194. "-x", "des",
  195. "-X", "andsomepriv",
  196. "127.0.0.1",
  197. "1.3.6.1.2.1.2.2", "2"
  198. ]
  199. },
  200. {
  201. "type": "node",
  202. "request": "launch",
  203. "name": "SNMP receiver",
  204. "skipFiles": [
  205. "<node_internals>/**"
  206. ],
  207. "program": "${workspaceFolder}/example/snmp-receiver.js",
  208. "args": [
  209. "-p", "162"
  210. ]
  211. },
  212. {
  213. "type": "node",
  214. "request": "launch",
  215. "name": "Receiver LCD",
  216. "skipFiles": [
  217. "<node_internals>/**"
  218. ],
  219. "program": "${workspaceFolder}/example/receiver-lcd.js",
  220. },
  221. {
  222. "type": "node",
  223. "request": "launch",
  224. "name": "AgentX subagent",
  225. "skipFiles": [
  226. "<node_internals>/**"
  227. ],
  228. "program": "${workspaceFolder}/example/agentx-subagent.js",
  229. "args": [
  230. "-d"
  231. ]
  232. },
  233. {
  234. "type": "node",
  235. "request": "launch",
  236. "name": "SNMP agent",
  237. "skipFiles": [
  238. "<node_internals>/**"
  239. ],
  240. "program": "${workspaceFolder}/example/snmp-agent.js",
  241. "args": [
  242. //"-d",
  243. "-p", "1161"
  244. ]
  245. },
  246. {
  247. "type": "node",
  248. "request": "launch",
  249. "name": "MIB parser",
  250. "skipFiles": [
  251. "<node_internals>/**"
  252. ],
  253. "program": "${workspaceFolder}/example/mib-parser.js",
  254. "args": [
  255. "-n",
  256. "-p", "1161"
  257. ]
  258. },
  259. {
  260. "type": "node",
  261. "request": "launch",
  262. "name": "SNMP proxy",
  263. "skipFiles": [
  264. "<node_internals>/**"
  265. ],
  266. "program": "${workspaceFolder}/example/snmp-proxy.js",
  267. "args": [
  268. "-p", "1161"
  269. ]
  270. },
  271. {
  272. "type": "node",
  273. "request": "launch",
  274. "name": "test",
  275. "skipFiles": [
  276. "<node_internals>/**"
  277. ],
  278. "program": "${workspaceFolder}/example/test.js",
  279. "args": [
  280. "-p", "1161"
  281. ]
  282. },
  283. {
  284. "type": "node",
  285. "request": "attach",
  286. "name": "SNMP attach",
  287. "port": 9222,
  288. "skipFiles": [
  289. "<node_internals>/**"
  290. ]
  291. }
  292. ]
  293. }