commands_output.golden 41 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349
  1. $ version
  2. e2e-test
  3. $ version -json
  4. {"version":"e2e-test"}
  5. $ version -pretty
  6. {
  7. "version": "e2e-test"
  8. }
  9. $ device-info
  10. name= cidr=[10.222.0.1/24]
  11. $ device-info -json
  12. {"name":"","cidr":["10.222.0.1/24"]}
  13. $ device-info -pretty
  14. {
  15. "name": "",
  16. "cidr": [
  17. "10.222.0.1/24"
  18. ]
  19. }
  20. $ list-hostmap
  21. $ list-hostmap -json
  22. []
  23. $ list-hostmap -pretty
  24. []
  25. $ list-hostmap -by-index
  26. $ list-hostmap -json -by-index
  27. []
  28. $ list-hostmap -pretty -by-index
  29. []
  30. $ list-pending-hostmap
  31. [10.222.0.9]: []
  32. $ list-pending-hostmap -json
  33. [{"vpnAddrs":["10.222.0.9"],"localIndex":<n>,"remoteIndex":<n>,"remoteAddrs":[],"cert":null,"messageCounter":<n>,"currentRemote":"","currentRelaysToMe":[],"currentRelaysThroughMe":[]}]
  34. $ list-pending-hostmap -pretty
  35. [
  36. {
  37. "vpnAddrs": [
  38. "10.222.0.9"
  39. ],
  40. "localIndex": <n>,
  41. "remoteIndex": <n>,
  42. "remoteAddrs": [],
  43. "cert": null,
  44. "messageCounter": <n>,
  45. "currentRemote": "",
  46. "currentRelaysToMe": [],
  47. "currentRelaysThroughMe": []
  48. }
  49. ]
  50. $ list-pending-hostmap -by-index
  51. $ list-pending-hostmap -json -by-index
  52. []
  53. $ list-pending-hostmap -pretty -by-index
  54. []
  55. $ list-lighthouse-addrmap
  56. 10.222.0.9: {}
  57. $ list-lighthouse-addrmap -json
  58. [{"vpnAddr":"10.222.0.9","addrs":{}}]
  59. $ list-lighthouse-addrmap -pretty
  60. [
  61. {
  62. "vpnAddr": "10.222.0.9",
  63. "addrs": {}
  64. }
  65. ]
  66. $ print-cert
  67. {
  68. "details": {
  69. "curve": "CURVE25519",
  70. "groups": [],
  71. "isCa": false,
  72. "issuer": "<hex>",
  73. "name": "output-golden",
  74. "networks": [
  75. "10.222.0.1/24"
  76. ],
  77. "notAfter": "<time>",
  78. "notBefore": "<time>",
  79. "publicKey": "<hex>",
  80. "unsafeNetworks": []
  81. },
  82. "fingerprint": "<hex>",
  83. "signature": "<hex>",
  84. "version": 1
  85. }
  86. $ print-cert -json
  87. {"details":{"curve":"CURVE25519","groups":[],"isCa":false,"issuer":"<hex>","name":"output-golden","networks":["10.222.0.1/24"],"notAfter":"<time>","notBefore":"<time>","publicKey":"<hex>","unsafeNetworks":[]},"fingerprint":"<hex>","signature":"<hex>","version":1}
  88. $ print-cert -pretty
  89. {
  90. "details": {
  91. "curve": "CURVE25519",
  92. "groups": [],
  93. "isCa": false,
  94. "issuer": "<hex>",
  95. "name": "output-golden",
  96. "networks": [
  97. "10.222.0.1/24"
  98. ],
  99. "notAfter": "<time>",
  100. "notBefore": "<time>",
  101. "publicKey": "<hex>",
  102. "unsafeNetworks": []
  103. },
  104. "fingerprint": "<hex>",
  105. "signature": "<hex>",
  106. "version": 1
  107. }
  108. $ print-cert -raw
  109. -----BEGIN NEBULA CERTIFICATE-----
  110. <pem>
  111. -----END NEBULA CERTIFICATE-----
  112. $ print-cert -json -raw
  113. {"pem":"-----BEGIN NEBULA CERTIFICATE-----\n<pem>\n-----END NEBULA CERTIFICATE-----\n"}
  114. $ print-cert -pretty -raw
  115. {
  116. "pem": "-----BEGIN NEBULA CERTIFICATE-----\n<pem>\n-----END NEBULA CERTIFICATE-----\n"
  117. }
  118. $ print-cert 10.222.0.9
  119. Could not find tunnel for vpn addr: 10.222.0.9
  120. exit status 1
  121. $ print-cert -json 10.222.0.9
  122. {"ok":false,"reason":"Could not find tunnel for vpn addr: 10.222.0.9"}
  123. exit status 1
  124. $ print-cert -pretty 10.222.0.9
  125. {
  126. "ok": false,
  127. "reason": "Could not find tunnel for vpn addr: 10.222.0.9"
  128. }
  129. exit status 1
  130. $ print-cert 10.222.0.9 -json
  131. {"ok":false,"reason":"Could not find tunnel for vpn addr: 10.222.0.9"}
  132. exit status 1
  133. $ print-cert -json 10.222.0.9 -json
  134. {"ok":false,"reason":"Could not find tunnel for vpn addr: 10.222.0.9"}
  135. exit status 1
  136. $ print-cert -pretty 10.222.0.9 -json
  137. {
  138. "ok": false,
  139. "reason": "Could not find tunnel for vpn addr: 10.222.0.9"
  140. }
  141. exit status 1
  142. $ print-cert 10.222.0.250
  143. Could not find tunnel for vpn addr: 10.222.0.250
  144. exit status 1
  145. $ print-cert -json 10.222.0.250
  146. {"ok":false,"reason":"Could not find tunnel for vpn addr: 10.222.0.250"}
  147. exit status 1
  148. $ print-cert -pretty 10.222.0.250
  149. {
  150. "ok": false,
  151. "reason": "Could not find tunnel for vpn addr: 10.222.0.250"
  152. }
  153. exit status 1
  154. $ print-cert not-an-address
  155. The provided vpn addr could not be parsed: not-an-address
  156. exit status 1
  157. $ print-cert -json not-an-address
  158. {"ok":false,"reason":"The provided vpn addr could not be parsed: not-an-address"}
  159. exit status 1
  160. $ print-cert -pretty not-an-address
  161. {
  162. "ok": false,
  163. "reason": "The provided vpn addr could not be parsed: not-an-address"
  164. }
  165. exit status 1
  166. $ whoami
  167. name: output-golden
  168. vpn addrs: 10.222.0.1
  169. networks: 10.222.0.1/24
  170. unsafe networks:
  171. groups:
  172. fingerprint: <hex>
  173. issuer: <hex>
  174. not before: <time>
  175. not after: <time>
  176. cert version: 1
  177. $ whoami -json
  178. {"name":"output-golden","vpnAddrs":["10.222.0.1"],"networks":["10.222.0.1/24"],"unsafeNetworks":[],"groups":[],"fingerprint":"<hex>","issuer":"<hex>","notBefore":"<time>","notAfter":"<time>","certVersion":1}
  179. $ whoami -pretty
  180. {
  181. "name": "output-golden",
  182. "vpnAddrs": [
  183. "10.222.0.1"
  184. ],
  185. "networks": [
  186. "10.222.0.1/24"
  187. ],
  188. "unsafeNetworks": [],
  189. "groups": [],
  190. "fingerprint": "<hex>",
  191. "issuer": "<hex>",
  192. "notBefore": "<time>",
  193. "notAfter": "<time>",
  194. "certVersion": 1
  195. }
  196. $ whoami x
  197. whoami takes no arguments
  198. exit status 1
  199. $ whoami -json x
  200. {"ok":false,"reason":"whoami takes no arguments"}
  201. exit status 1
  202. $ whoami -pretty x
  203. {
  204. "ok": false,
  205. "reason": "whoami takes no arguments"
  206. }
  207. exit status 1
  208. $ identity
  209. No vpn addr was provided, use -address <vpn addr>[:port]; whoami prints this node's own identity
  210. exit status 1
  211. $ identity -json
  212. {"ok":false,"reason":"No vpn addr was provided, use -address \u003cvpn addr\u003e[:port]; whoami prints this node's own identity"}
  213. exit status 1
  214. $ identity -pretty
  215. {
  216. "ok": false,
  217. "reason": "No vpn addr was provided, use -address \u003cvpn addr\u003e[:port]; whoami prints this node's own identity"
  218. }
  219. exit status 1
  220. $ identity -address 10.222.0.1
  221. name: output-golden
  222. vpn addrs: 10.222.0.1
  223. networks: 10.222.0.1/24
  224. unsafe networks:
  225. groups:
  226. fingerprint: <hex>
  227. issuer: <hex>
  228. not before: <time>
  229. not after: <time>
  230. cert version: 1
  231. $ identity -json -address 10.222.0.1
  232. {"name":"output-golden","vpnAddrs":["10.222.0.1"],"networks":["10.222.0.1/24"],"unsafeNetworks":[],"groups":[],"fingerprint":"<hex>","issuer":"<hex>","notBefore":"<time>","notAfter":"<time>","certVersion":1}
  233. $ identity -pretty -address 10.222.0.1
  234. {
  235. "name": "output-golden",
  236. "vpnAddrs": [
  237. "10.222.0.1"
  238. ],
  239. "networks": [
  240. "10.222.0.1/24"
  241. ],
  242. "unsafeNetworks": [],
  243. "groups": [],
  244. "fingerprint": "<hex>",
  245. "issuer": "<hex>",
  246. "notBefore": "<time>",
  247. "notAfter": "<time>",
  248. "certVersion": 1
  249. }
  250. $ identity -address 10.222.0.1:4242
  251. name: output-golden
  252. vpn addrs: 10.222.0.1
  253. networks: 10.222.0.1/24
  254. unsafe networks:
  255. groups:
  256. fingerprint: <hex>
  257. issuer: <hex>
  258. not before: <time>
  259. not after: <time>
  260. cert version: 1
  261. $ identity -json -address 10.222.0.1:4242
  262. {"name":"output-golden","vpnAddrs":["10.222.0.1"],"networks":["10.222.0.1/24"],"unsafeNetworks":[],"groups":[],"fingerprint":"<hex>","issuer":"<hex>","notBefore":"<time>","notAfter":"<time>","certVersion":1}
  263. $ identity -pretty -address 10.222.0.1:4242
  264. {
  265. "name": "output-golden",
  266. "vpnAddrs": [
  267. "10.222.0.1"
  268. ],
  269. "networks": [
  270. "10.222.0.1/24"
  271. ],
  272. "unsafeNetworks": [],
  273. "groups": [],
  274. "fingerprint": "<hex>",
  275. "issuer": "<hex>",
  276. "notBefore": "<time>",
  277. "notAfter": "<time>",
  278. "certVersion": 1
  279. }
  280. $ identity -address 10.222.0.9
  281. No active tunnel for vpn addr: 10.222.0.9
  282. exit status 1
  283. $ identity -json -address 10.222.0.9
  284. {"ok":false,"reason":"No active tunnel for vpn addr: 10.222.0.9"}
  285. exit status 1
  286. $ identity -pretty -address 10.222.0.9
  287. {
  288. "ok": false,
  289. "reason": "No active tunnel for vpn addr: 10.222.0.9"
  290. }
  291. exit status 1
  292. $ identity -address not-an-address
  293. The provided vpn addr could not be parsed: not-an-address
  294. exit status 1
  295. $ identity -json -address not-an-address
  296. {"ok":false,"reason":"The provided vpn addr could not be parsed: not-an-address"}
  297. exit status 1
  298. $ identity -pretty -address not-an-address
  299. {
  300. "ok": false,
  301. "reason": "The provided vpn addr could not be parsed: not-an-address"
  302. }
  303. exit status 1
  304. $ identity -address
  305. The provided vpn addr could not be parsed:
  306. exit status 1
  307. $ identity -json -address
  308. {"ok":false,"reason":"The provided vpn addr could not be parsed: "}
  309. exit status 1
  310. $ identity -pretty -address
  311. {
  312. "ok": false,
  313. "reason": "The provided vpn addr could not be parsed: "
  314. }
  315. exit status 1
  316. $ identity 10.222.0.9
  317. identity takes the vpn addr as -address, not as an operand: identity -address 10.222.0.9
  318. exit status 1
  319. $ identity -json 10.222.0.9
  320. {"ok":false,"reason":"identity takes the vpn addr as -address, not as an operand: identity -address 10.222.0.9"}
  321. exit status 1
  322. $ identity -pretty 10.222.0.9
  323. {
  324. "ok": false,
  325. "reason": "identity takes the vpn addr as -address, not as an operand: identity -address 10.222.0.9"
  326. }
  327. exit status 1
  328. $ print-tunnel
  329. No vpn address was provided
  330. exit status 1
  331. $ print-tunnel -json
  332. {"ok":false,"reason":"No vpn address was provided"}
  333. exit status 1
  334. $ print-tunnel -pretty
  335. {
  336. "ok": false,
  337. "reason": "No vpn address was provided"
  338. }
  339. exit status 1
  340. $ print-tunnel 10.222.0.9
  341. Could not find tunnel for vpn addr: 10.222.0.9
  342. exit status 1
  343. $ print-tunnel -json 10.222.0.9
  344. {"ok":false,"reason":"Could not find tunnel for vpn addr: 10.222.0.9"}
  345. exit status 1
  346. $ print-tunnel -pretty 10.222.0.9
  347. {
  348. "ok": false,
  349. "reason": "Could not find tunnel for vpn addr: 10.222.0.9"
  350. }
  351. exit status 1
  352. $ print-tunnel 10.222.0.250
  353. Could not find tunnel for vpn addr: 10.222.0.250
  354. exit status 1
  355. $ print-tunnel -json 10.222.0.250
  356. {"ok":false,"reason":"Could not find tunnel for vpn addr: 10.222.0.250"}
  357. exit status 1
  358. $ print-tunnel -pretty 10.222.0.250
  359. {
  360. "ok": false,
  361. "reason": "Could not find tunnel for vpn addr: 10.222.0.250"
  362. }
  363. exit status 1
  364. $ print-relays
  365. {"Relays":null}
  366. $ print-relays -json
  367. {"Relays":null}
  368. $ print-relays -pretty
  369. {
  370. "Relays": null
  371. }
  372. $ query-lighthouse
  373. No vpn address was provided
  374. exit status 1
  375. $ query-lighthouse -json
  376. {"ok":false,"reason":"No vpn address was provided"}
  377. exit status 1
  378. $ query-lighthouse -pretty
  379. {
  380. "ok": false,
  381. "reason": "No vpn address was provided"
  382. }
  383. exit status 1
  384. $ query-lighthouse 10.222.0.9
  385. {}
  386. $ query-lighthouse -json 10.222.0.9
  387. {}
  388. $ query-lighthouse -pretty 10.222.0.9
  389. {}
  390. $ query-lighthouse not-an-address
  391. The provided vpn address could not be parsed: not-an-address
  392. exit status 1
  393. $ query-lighthouse -json not-an-address
  394. {"ok":false,"reason":"The provided vpn address could not be parsed: not-an-address"}
  395. exit status 1
  396. $ query-lighthouse -pretty not-an-address
  397. {
  398. "ok": false,
  399. "reason": "The provided vpn address could not be parsed: not-an-address"
  400. }
  401. exit status 1
  402. $ log-level
  403. Log level is not reconfigurable on this logger
  404. exit status 1
  405. $ log-level -json
  406. {"ok":false,"reason":"Log level is not reconfigurable on this logger"}
  407. exit status 1
  408. $ log-level -pretty
  409. {
  410. "ok": false,
  411. "reason": "Log level is not reconfigurable on this logger"
  412. }
  413. exit status 1
  414. $ log-level debug
  415. Log level is not reconfigurable on this logger
  416. exit status 1
  417. $ log-level -json debug
  418. {"ok":false,"reason":"Log level is not reconfigurable on this logger"}
  419. exit status 1
  420. $ log-level -pretty debug
  421. {
  422. "ok": false,
  423. "reason": "Log level is not reconfigurable on this logger"
  424. }
  425. exit status 1
  426. $ log-level bogus
  427. Log level is not reconfigurable on this logger
  428. exit status 1
  429. $ log-level -json bogus
  430. {"ok":false,"reason":"Log level is not reconfigurable on this logger"}
  431. exit status 1
  432. $ log-level -pretty bogus
  433. {
  434. "ok": false,
  435. "reason": "Log level is not reconfigurable on this logger"
  436. }
  437. exit status 1
  438. $ log-level info
  439. Log level is not reconfigurable on this logger
  440. exit status 1
  441. $ log-level -json info
  442. {"ok":false,"reason":"Log level is not reconfigurable on this logger"}
  443. exit status 1
  444. $ log-level -pretty info
  445. {
  446. "ok": false,
  447. "reason": "Log level is not reconfigurable on this logger"
  448. }
  449. exit status 1
  450. $ log-format
  451. Log format is not reconfigurable on this logger
  452. exit status 1
  453. $ log-format -json
  454. {"ok":false,"reason":"Log format is not reconfigurable on this logger"}
  455. exit status 1
  456. $ log-format -pretty
  457. {
  458. "ok": false,
  459. "reason": "Log format is not reconfigurable on this logger"
  460. }
  461. exit status 1
  462. $ log-format json
  463. Log format is not reconfigurable on this logger
  464. exit status 1
  465. $ log-format -json json
  466. {"ok":false,"reason":"Log format is not reconfigurable on this logger"}
  467. exit status 1
  468. $ log-format -pretty json
  469. {
  470. "ok": false,
  471. "reason": "Log format is not reconfigurable on this logger"
  472. }
  473. exit status 1
  474. $ log-format text
  475. Log format is not reconfigurable on this logger
  476. exit status 1
  477. $ log-format -json text
  478. {"ok":false,"reason":"Log format is not reconfigurable on this logger"}
  479. exit status 1
  480. $ log-format -pretty text
  481. {
  482. "ok": false,
  483. "reason": "Log format is not reconfigurable on this logger"
  484. }
  485. exit status 1
  486. $ change-remote
  487. No vpn address was provided
  488. exit status 1
  489. $ change-remote -json
  490. {"ok":false,"reason":"No vpn address was provided"}
  491. exit status 1
  492. $ change-remote -pretty
  493. {
  494. "ok": false,
  495. "reason": "No vpn address was provided"
  496. }
  497. exit status 1
  498. $ change-remote 10.222.0.9
  499. No address was provided
  500. exit status 1
  501. $ change-remote -json 10.222.0.9
  502. {"ok":false,"reason":"No address was provided"}
  503. exit status 1
  504. $ change-remote -pretty 10.222.0.9
  505. {
  506. "ok": false,
  507. "reason": "No address was provided"
  508. }
  509. exit status 1
  510. $ change-remote -address 10.94.0.10:4242 10.222.0.9
  511. Could not find tunnel for vpn address: 10.222.0.9
  512. exit status 1
  513. $ change-remote -json -address 10.94.0.10:4242 10.222.0.9
  514. {"ok":false,"reason":"Could not find tunnel for vpn address: 10.222.0.9"}
  515. exit status 1
  516. $ change-remote -pretty -address 10.94.0.10:4242 10.222.0.9
  517. {
  518. "ok": false,
  519. "reason": "Could not find tunnel for vpn address: 10.222.0.9"
  520. }
  521. exit status 1
  522. $ change-remote -address 10.94.0.10:4242 10.222.0.250
  523. Could not find tunnel for vpn address: 10.222.0.250
  524. exit status 1
  525. $ change-remote -json -address 10.94.0.10:4242 10.222.0.250
  526. {"ok":false,"reason":"Could not find tunnel for vpn address: 10.222.0.250"}
  527. exit status 1
  528. $ change-remote -pretty -address 10.94.0.10:4242 10.222.0.250
  529. {
  530. "ok": false,
  531. "reason": "Could not find tunnel for vpn address: 10.222.0.250"
  532. }
  533. exit status 1
  534. $ create-tunnel
  535. No vpn address was provided
  536. exit status 1
  537. $ create-tunnel -json
  538. {"ok":false,"reason":"No vpn address was provided"}
  539. exit status 1
  540. $ create-tunnel -pretty
  541. {
  542. "ok": false,
  543. "reason": "No vpn address was provided"
  544. }
  545. exit status 1
  546. $ create-tunnel 10.222.0.9
  547. Tunnel already handshaking
  548. exit status 1
  549. $ create-tunnel -json 10.222.0.9
  550. {"ok":false,"reason":"Tunnel already handshaking"}
  551. exit status 1
  552. $ create-tunnel -pretty 10.222.0.9
  553. {
  554. "ok": false,
  555. "reason": "Tunnel already handshaking"
  556. }
  557. exit status 1
  558. $ create-tunnel -address 10.94.0.10:4242 10.222.0.10
  559. Created
  560. $ create-tunnel -json -address 10.94.0.10:4242 10.222.0.10
  561. {"ok":false,"reason":"Tunnel already handshaking"}
  562. exit status 1
  563. $ create-tunnel -pretty -address 10.94.0.10:4242 10.222.0.10
  564. {
  565. "ok": false,
  566. "reason": "Tunnel already handshaking"
  567. }
  568. exit status 1
  569. $ create-tunnel not-an-address
  570. The provided vpn address could not be parsed: not-an-address
  571. exit status 1
  572. $ create-tunnel -json not-an-address
  573. {"ok":false,"reason":"The provided vpn address could not be parsed: not-an-address"}
  574. exit status 1
  575. $ create-tunnel -pretty not-an-address
  576. {
  577. "ok": false,
  578. "reason": "The provided vpn address could not be parsed: not-an-address"
  579. }
  580. exit status 1
  581. $ close-tunnel
  582. No vpn address was provided
  583. exit status 1
  584. $ close-tunnel -json
  585. {"ok":false,"reason":"No vpn address was provided"}
  586. exit status 1
  587. $ close-tunnel -pretty
  588. {
  589. "ok": false,
  590. "reason": "No vpn address was provided"
  591. }
  592. exit status 1
  593. $ close-tunnel 10.222.0.250
  594. Could not find tunnel for vpn address: 10.222.0.250
  595. exit status 1
  596. $ close-tunnel -json 10.222.0.250
  597. {"ok":false,"reason":"Could not find tunnel for vpn address: 10.222.0.250"}
  598. exit status 1
  599. $ close-tunnel -pretty 10.222.0.250
  600. {
  601. "ok": false,
  602. "reason": "Could not find tunnel for vpn address: 10.222.0.250"
  603. }
  604. exit status 1
  605. $ close-tunnel not-an-address
  606. The provided vpn address could not be parsed: not-an-address
  607. exit status 1
  608. $ close-tunnel -json not-an-address
  609. {"ok":false,"reason":"The provided vpn address could not be parsed: not-an-address"}
  610. exit status 1
  611. $ close-tunnel -pretty not-an-address
  612. {
  613. "ok": false,
  614. "reason": "The provided vpn address could not be parsed: not-an-address"
  615. }
  616. exit status 1
  617. $ help
  618. Available commands:
  619. change-remote - Changes the remote address used in the tunnel for the provided vpn addr
  620. close-tunnel - Closes a tunnel for the provided vpn addr
  621. create-tunnel - Creates a tunnel for the provided vpn address
  622. device-info - Prints information about the network device.
  623. help - prints available commands or help <command> for specific usage info
  624. identity - Prints the certificate identity of the host owning the provided vpn addr
  625. list-hostmap - List all known previously connected hosts
  626. list-lighthouse-addrmap - List all lighthouse map entries
  627. list-pending-hostmap - List all handshaking hosts
  628. log-format - Gets or sets the current log format
  629. log-level - Gets or sets the current log level
  630. logout - Ends the current session
  631. print-cert - Prints the current certificate being used or the certificate for the provided vpn addr
  632. print-relays - Prints json details about all relay info
  633. print-tunnel - Prints json details about a tunnel for the provided vpn addr
  634. query-lighthouse - Query the lighthouses for the provided vpn address
  635. reload - Reloads configuration from disk, same as sending HUP to the process
  636. version - Prints the currently running version of nebula
  637. whoami - Prints the certificate identity of this node
  638. $ help -json
  639. [{"name":"change-remote","short":"Changes the remote address used in the tunnel for the provided vpn addr","flags":[{"name":"address","usage":"The new remote address, ip:port"},{"name":"json","bool":true,"default":"false","usage":"outputs as json"},{"name":"pretty","bool":true,"default":"false","usage":"pretty prints json, assumes -json"}]},{"name":"close-tunnel","short":"Closes a tunnel for the provided vpn addr","flags":[{"name":"local-only","bool":true,"default":"false","usage":"Disables notifying the remote that the tunnel is shutting down"},{"name":"json","bool":true,"default":"false","usage":"outputs as json"},{"name":"pretty","bool":true,"default":"false","usage":"pretty prints json, assumes -json"}]},{"name":"create-tunnel","short":"Creates a tunnel for the provided vpn address","help":"The lighthouses will be queried for real addresses but you can provide one as well.","flags":[{"name":"address","usage":"Optionally provide a real remote address, ip:port "},{"name":"json","bool":true,"default":"false","usage":"outputs as json"},{"name":"pretty","bool":true,"default":"false","usage":"pretty prints json, assumes -json"}]},{"name":"device-info","short":"Prints information about the network device.","flags":[{"name":"json","bool":true,"default":"false","usage":"outputs as json"},{"name":"pretty","bool":true,"default":"false","usage":"pretty prints json, assumes -json"}]},{"name":"help","short":"prints available commands or help \u003ccommand\u003e for specific usage info","flags":[{"name":"json","bool":true,"default":"false","usage":"outputs as json"},{"name":"pretty","bool":true,"default":"false","usage":"pretty prints json, assumes -json"}]},{"name":"identity","short":"Prints the certificate identity of the host owning the provided vpn addr","help":"Identity is what the certificate says: name, vpn addrs, networks, groups, fingerprint, issuer and validity. The address may carry a port, so a connection's remote address can be passed through as is. For this node's own identity use whoami.","flags":[{"name":"address","usage":"The vpn addr to look up, optionally with a port"},{"name":"json","bool":true,"default":"false","usage":"outputs as json"},{"name":"pretty","bool":true,"default":"false","usage":"pretty prints json, assumes -json"}]},{"name":"list-hostmap","short":"List all known previously connected hosts","flags":[{"name":"by-index","bool":true,"default":"false","usage":"gets all hosts in the hostmap from the index table"},{"name":"json","bool":true,"default":"false","usage":"outputs as json"},{"name":"pretty","bool":true,"default":"false","usage":"pretty prints json, assumes -json"}]},{"name":"list-lighthouse-addrmap","short":"List all lighthouse map entries","flags":[{"name":"json","bool":true,"default":"false","usage":"outputs as json"},{"name":"pretty","bool":true,"default":"false","usage":"pretty prints json, assumes -json"}]},{"name":"list-pending-hostmap","short":"List all handshaking hosts","flags":[{"name":"by-index","bool":true,"default":"false","usage":"gets all hosts in the hostmap from the index table"},{"name":"json","bool":true,"default":"false","usage":"outputs as json"},{"name":"pretty","bool":true,"default":"false","usage":"pretty prints json, assumes -json"}]},{"name":"log-format","short":"Gets or sets the current log format","flags":[{"name":"json","bool":true,"default":"false","usage":"outputs as json"},{"name":"pretty","bool":true,"default":"false","usage":"pretty prints json, assumes -json"}]},{"name":"log-level","short":"Gets or sets the current log level","flags":[{"name":"json","bool":true,"default":"false","usage":"outputs as json"},{"name":"pretty","bool":true,"default":"false","usage":"pretty prints json, assumes -json"}]},{"name":"logout","short":"Ends the current session","flags":[{"name":"json","bool":true,"default":"false","usage":"outputs as json"},{"name":"pretty","bool":true,"default":"false","usage":"pretty prints json, assumes -json"}]},{"name":"print-cert","short":"Prints the current certificate being used or the certificate for the provided vpn addr","flags":[{"name":"raw","bool":true,"default":"false","usage":"prints the PEM encoded certificate; with -json, an object holding it"},{"name":"json","bool":true,"default":"false","usage":"outputs as json"},{"name":"pretty","bool":true,"default":"false","usage":"pretty prints json, assumes -json"}]},{"name":"print-relays","short":"Prints json details about all relay info","flags":[{"name":"json","bool":true,"default":"false","usage":"outputs as json"},{"name":"pretty","bool":true,"default":"false","usage":"pretty prints json, assumes -json"}]},{"name":"print-tunnel","short":"Prints json details about a tunnel for the provided vpn addr","flags":[{"name":"json","bool":true,"default":"false","usage":"outputs as json"},{"name":"pretty","bool":true,"default":"false","usage":"pretty prints json, assumes -json"}]},{"name":"query-lighthouse","short":"Query the lighthouses for the provided vpn address","help":"This command is asynchronous. Only currently known udp addresses will be printed.","flags":[{"name":"json","bool":true,"default":"false","usage":"outputs as json"},{"name":"pretty","bool":true,"default":"false","usage":"pretty prints json, assumes -json"}]},{"name":"reload","short":"Reloads configuration from disk, same as sending HUP to the process","flags":[{"name":"json","bool":true,"default":"false","usage":"outputs as json"},{"name":"pretty","bool":true,"default":"false","usage":"pretty prints json, assumes -json"}]},{"name":"version","short":"Prints the currently running version of nebula","flags":[{"name":"json","bool":true,"default":"false","usage":"outputs as json"},{"name":"pretty","bool":true,"default":"false","usage":"pretty prints json, assumes -json"}]},{"name":"whoami","short":"Prints the certificate identity of this node","help":"The fields identity prints, read from this node's own certificate.","flags":[{"name":"json","bool":true,"default":"false","usage":"outputs as json"},{"name":"pretty","bool":true,"default":"false","usage":"pretty prints json, assumes -json"}]}]
  640. $ help -pretty
  641. [
  642. {
  643. "name": "change-remote",
  644. "short": "Changes the remote address used in the tunnel for the provided vpn addr",
  645. "flags": [
  646. {
  647. "name": "address",
  648. "usage": "The new remote address, ip:port"
  649. },
  650. {
  651. "name": "json",
  652. "bool": true,
  653. "default": "false",
  654. "usage": "outputs as json"
  655. },
  656. {
  657. "name": "pretty",
  658. "bool": true,
  659. "default": "false",
  660. "usage": "pretty prints json, assumes -json"
  661. }
  662. ]
  663. },
  664. {
  665. "name": "close-tunnel",
  666. "short": "Closes a tunnel for the provided vpn addr",
  667. "flags": [
  668. {
  669. "name": "local-only",
  670. "bool": true,
  671. "default": "false",
  672. "usage": "Disables notifying the remote that the tunnel is shutting down"
  673. },
  674. {
  675. "name": "json",
  676. "bool": true,
  677. "default": "false",
  678. "usage": "outputs as json"
  679. },
  680. {
  681. "name": "pretty",
  682. "bool": true,
  683. "default": "false",
  684. "usage": "pretty prints json, assumes -json"
  685. }
  686. ]
  687. },
  688. {
  689. "name": "create-tunnel",
  690. "short": "Creates a tunnel for the provided vpn address",
  691. "help": "The lighthouses will be queried for real addresses but you can provide one as well.",
  692. "flags": [
  693. {
  694. "name": "address",
  695. "usage": "Optionally provide a real remote address, ip:port "
  696. },
  697. {
  698. "name": "json",
  699. "bool": true,
  700. "default": "false",
  701. "usage": "outputs as json"
  702. },
  703. {
  704. "name": "pretty",
  705. "bool": true,
  706. "default": "false",
  707. "usage": "pretty prints json, assumes -json"
  708. }
  709. ]
  710. },
  711. {
  712. "name": "device-info",
  713. "short": "Prints information about the network device.",
  714. "flags": [
  715. {
  716. "name": "json",
  717. "bool": true,
  718. "default": "false",
  719. "usage": "outputs as json"
  720. },
  721. {
  722. "name": "pretty",
  723. "bool": true,
  724. "default": "false",
  725. "usage": "pretty prints json, assumes -json"
  726. }
  727. ]
  728. },
  729. {
  730. "name": "help",
  731. "short": "prints available commands or help \u003ccommand\u003e for specific usage info",
  732. "flags": [
  733. {
  734. "name": "json",
  735. "bool": true,
  736. "default": "false",
  737. "usage": "outputs as json"
  738. },
  739. {
  740. "name": "pretty",
  741. "bool": true,
  742. "default": "false",
  743. "usage": "pretty prints json, assumes -json"
  744. }
  745. ]
  746. },
  747. {
  748. "name": "identity",
  749. "short": "Prints the certificate identity of the host owning the provided vpn addr",
  750. "help": "Identity is what the certificate says: name, vpn addrs, networks, groups, fingerprint, issuer and validity. The address may carry a port, so a connection's remote address can be passed through as is. For this node's own identity use whoami.",
  751. "flags": [
  752. {
  753. "name": "address",
  754. "usage": "The vpn addr to look up, optionally with a port"
  755. },
  756. {
  757. "name": "json",
  758. "bool": true,
  759. "default": "false",
  760. "usage": "outputs as json"
  761. },
  762. {
  763. "name": "pretty",
  764. "bool": true,
  765. "default": "false",
  766. "usage": "pretty prints json, assumes -json"
  767. }
  768. ]
  769. },
  770. {
  771. "name": "list-hostmap",
  772. "short": "List all known previously connected hosts",
  773. "flags": [
  774. {
  775. "name": "by-index",
  776. "bool": true,
  777. "default": "false",
  778. "usage": "gets all hosts in the hostmap from the index table"
  779. },
  780. {
  781. "name": "json",
  782. "bool": true,
  783. "default": "false",
  784. "usage": "outputs as json"
  785. },
  786. {
  787. "name": "pretty",
  788. "bool": true,
  789. "default": "false",
  790. "usage": "pretty prints json, assumes -json"
  791. }
  792. ]
  793. },
  794. {
  795. "name": "list-lighthouse-addrmap",
  796. "short": "List all lighthouse map entries",
  797. "flags": [
  798. {
  799. "name": "json",
  800. "bool": true,
  801. "default": "false",
  802. "usage": "outputs as json"
  803. },
  804. {
  805. "name": "pretty",
  806. "bool": true,
  807. "default": "false",
  808. "usage": "pretty prints json, assumes -json"
  809. }
  810. ]
  811. },
  812. {
  813. "name": "list-pending-hostmap",
  814. "short": "List all handshaking hosts",
  815. "flags": [
  816. {
  817. "name": "by-index",
  818. "bool": true,
  819. "default": "false",
  820. "usage": "gets all hosts in the hostmap from the index table"
  821. },
  822. {
  823. "name": "json",
  824. "bool": true,
  825. "default": "false",
  826. "usage": "outputs as json"
  827. },
  828. {
  829. "name": "pretty",
  830. "bool": true,
  831. "default": "false",
  832. "usage": "pretty prints json, assumes -json"
  833. }
  834. ]
  835. },
  836. {
  837. "name": "log-format",
  838. "short": "Gets or sets the current log format",
  839. "flags": [
  840. {
  841. "name": "json",
  842. "bool": true,
  843. "default": "false",
  844. "usage": "outputs as json"
  845. },
  846. {
  847. "name": "pretty",
  848. "bool": true,
  849. "default": "false",
  850. "usage": "pretty prints json, assumes -json"
  851. }
  852. ]
  853. },
  854. {
  855. "name": "log-level",
  856. "short": "Gets or sets the current log level",
  857. "flags": [
  858. {
  859. "name": "json",
  860. "bool": true,
  861. "default": "false",
  862. "usage": "outputs as json"
  863. },
  864. {
  865. "name": "pretty",
  866. "bool": true,
  867. "default": "false",
  868. "usage": "pretty prints json, assumes -json"
  869. }
  870. ]
  871. },
  872. {
  873. "name": "logout",
  874. "short": "Ends the current session",
  875. "flags": [
  876. {
  877. "name": "json",
  878. "bool": true,
  879. "default": "false",
  880. "usage": "outputs as json"
  881. },
  882. {
  883. "name": "pretty",
  884. "bool": true,
  885. "default": "false",
  886. "usage": "pretty prints json, assumes -json"
  887. }
  888. ]
  889. },
  890. {
  891. "name": "print-cert",
  892. "short": "Prints the current certificate being used or the certificate for the provided vpn addr",
  893. "flags": [
  894. {
  895. "name": "raw",
  896. "bool": true,
  897. "default": "false",
  898. "usage": "prints the PEM encoded certificate; with -json, an object holding it"
  899. },
  900. {
  901. "name": "json",
  902. "bool": true,
  903. "default": "false",
  904. "usage": "outputs as json"
  905. },
  906. {
  907. "name": "pretty",
  908. "bool": true,
  909. "default": "false",
  910. "usage": "pretty prints json, assumes -json"
  911. }
  912. ]
  913. },
  914. {
  915. "name": "print-relays",
  916. "short": "Prints json details about all relay info",
  917. "flags": [
  918. {
  919. "name": "json",
  920. "bool": true,
  921. "default": "false",
  922. "usage": "outputs as json"
  923. },
  924. {
  925. "name": "pretty",
  926. "bool": true,
  927. "default": "false",
  928. "usage": "pretty prints json, assumes -json"
  929. }
  930. ]
  931. },
  932. {
  933. "name": "print-tunnel",
  934. "short": "Prints json details about a tunnel for the provided vpn addr",
  935. "flags": [
  936. {
  937. "name": "json",
  938. "bool": true,
  939. "default": "false",
  940. "usage": "outputs as json"
  941. },
  942. {
  943. "name": "pretty",
  944. "bool": true,
  945. "default": "false",
  946. "usage": "pretty prints json, assumes -json"
  947. }
  948. ]
  949. },
  950. {
  951. "name": "query-lighthouse",
  952. "short": "Query the lighthouses for the provided vpn address",
  953. "help": "This command is asynchronous. Only currently known udp addresses will be printed.",
  954. "flags": [
  955. {
  956. "name": "json",
  957. "bool": true,
  958. "default": "false",
  959. "usage": "outputs as json"
  960. },
  961. {
  962. "name": "pretty",
  963. "bool": true,
  964. "default": "false",
  965. "usage": "pretty prints json, assumes -json"
  966. }
  967. ]
  968. },
  969. {
  970. "name": "reload",
  971. "short": "Reloads configuration from disk, same as sending HUP to the process",
  972. "flags": [
  973. {
  974. "name": "json",
  975. "bool": true,
  976. "default": "false",
  977. "usage": "outputs as json"
  978. },
  979. {
  980. "name": "pretty",
  981. "bool": true,
  982. "default": "false",
  983. "usage": "pretty prints json, assumes -json"
  984. }
  985. ]
  986. },
  987. {
  988. "name": "version",
  989. "short": "Prints the currently running version of nebula",
  990. "flags": [
  991. {
  992. "name": "json",
  993. "bool": true,
  994. "default": "false",
  995. "usage": "outputs as json"
  996. },
  997. {
  998. "name": "pretty",
  999. "bool": true,
  1000. "default": "false",
  1001. "usage": "pretty prints json, assumes -json"
  1002. }
  1003. ]
  1004. },
  1005. {
  1006. "name": "whoami",
  1007. "short": "Prints the certificate identity of this node",
  1008. "help": "The fields identity prints, read from this node's own certificate.",
  1009. "flags": [
  1010. {
  1011. "name": "json",
  1012. "bool": true,
  1013. "default": "false",
  1014. "usage": "outputs as json"
  1015. },
  1016. {
  1017. "name": "pretty",
  1018. "bool": true,
  1019. "default": "false",
  1020. "usage": "pretty prints json, assumes -json"
  1021. }
  1022. ]
  1023. }
  1024. ]
  1025. $ help print-cert
  1026. print-cert - Prints the current certificate being used or the certificate for the provided vpn addr
  1027. -raw
  1028. prints the PEM encoded certificate; with -json, an object holding it
  1029. -json
  1030. outputs as json
  1031. -pretty
  1032. pretty prints json, assumes -json
  1033. $ help -json print-cert
  1034. {"name":"print-cert","short":"Prints the current certificate being used or the certificate for the provided vpn addr","flags":[{"name":"raw","bool":true,"default":"false","usage":"prints the PEM encoded certificate; with -json, an object holding it"},{"name":"json","bool":true,"default":"false","usage":"outputs as json"},{"name":"pretty","bool":true,"default":"false","usage":"pretty prints json, assumes -json"}]}
  1035. $ help -pretty print-cert
  1036. {
  1037. "name": "print-cert",
  1038. "short": "Prints the current certificate being used or the certificate for the provided vpn addr",
  1039. "flags": [
  1040. {
  1041. "name": "raw",
  1042. "bool": true,
  1043. "default": "false",
  1044. "usage": "prints the PEM encoded certificate; with -json, an object holding it"
  1045. },
  1046. {
  1047. "name": "json",
  1048. "bool": true,
  1049. "default": "false",
  1050. "usage": "outputs as json"
  1051. },
  1052. {
  1053. "name": "pretty",
  1054. "bool": true,
  1055. "default": "false",
  1056. "usage": "pretty prints json, assumes -json"
  1057. }
  1058. ]
  1059. }
  1060. $ help logout
  1061. logout - Ends the current session
  1062. -json
  1063. outputs as json
  1064. -pretty
  1065. pretty prints json, assumes -json
  1066. $ help -json logout
  1067. {"name":"logout","short":"Ends the current session","flags":[{"name":"json","bool":true,"default":"false","usage":"outputs as json"},{"name":"pretty","bool":true,"default":"false","usage":"pretty prints json, assumes -json"}]}
  1068. $ help -pretty logout
  1069. {
  1070. "name": "logout",
  1071. "short": "Ends the current session",
  1072. "flags": [
  1073. {
  1074. "name": "json",
  1075. "bool": true,
  1076. "default": "false",
  1077. "usage": "outputs as json"
  1078. },
  1079. {
  1080. "name": "pretty",
  1081. "bool": true,
  1082. "default": "false",
  1083. "usage": "pretty prints json, assumes -json"
  1084. }
  1085. ]
  1086. }
  1087. $ logout -h
  1088. logout - Ends the current session
  1089. -json
  1090. outputs as json
  1091. -pretty
  1092. pretty prints json, assumes -json
  1093. $ logout -json -h
  1094. logout - Ends the current session
  1095. -json
  1096. outputs as json
  1097. -pretty
  1098. pretty prints json, assumes -json
  1099. $ logout -pretty -h
  1100. logout - Ends the current session
  1101. -json
  1102. outputs as json
  1103. -pretty
  1104. pretty prints json, assumes -json
  1105. $ not-a-command 10.222.0.9
  1106. did not understand: not-a-command
  1107. Available commands:
  1108. change-remote - Changes the remote address used in the tunnel for the provided vpn addr
  1109. close-tunnel - Closes a tunnel for the provided vpn addr
  1110. create-tunnel - Creates a tunnel for the provided vpn address
  1111. device-info - Prints information about the network device.
  1112. help - prints available commands or help <command> for specific usage info
  1113. identity - Prints the certificate identity of the host owning the provided vpn addr
  1114. list-hostmap - List all known previously connected hosts
  1115. list-lighthouse-addrmap - List all lighthouse map entries
  1116. list-pending-hostmap - List all handshaking hosts
  1117. log-format - Gets or sets the current log format
  1118. log-level - Gets or sets the current log level
  1119. logout - Ends the current session
  1120. print-cert - Prints the current certificate being used or the certificate for the provided vpn addr
  1121. print-relays - Prints json details about all relay info
  1122. print-tunnel - Prints json details about a tunnel for the provided vpn addr
  1123. query-lighthouse - Query the lighthouses for the provided vpn address
  1124. reload - Reloads configuration from disk, same as sending HUP to the process
  1125. version - Prints the currently running version of nebula
  1126. whoami - Prints the certificate identity of this node
  1127. exit status 1
  1128. $ not-a-command -json 10.222.0.9
  1129. did not understand: not-a-command
  1130. Available commands:
  1131. change-remote - Changes the remote address used in the tunnel for the provided vpn addr
  1132. close-tunnel - Closes a tunnel for the provided vpn addr
  1133. create-tunnel - Creates a tunnel for the provided vpn address
  1134. device-info - Prints information about the network device.
  1135. help - prints available commands or help <command> for specific usage info
  1136. identity - Prints the certificate identity of the host owning the provided vpn addr
  1137. list-hostmap - List all known previously connected hosts
  1138. list-lighthouse-addrmap - List all lighthouse map entries
  1139. list-pending-hostmap - List all handshaking hosts
  1140. log-format - Gets or sets the current log format
  1141. log-level - Gets or sets the current log level
  1142. logout - Ends the current session
  1143. print-cert - Prints the current certificate being used or the certificate for the provided vpn addr
  1144. print-relays - Prints json details about all relay info
  1145. print-tunnel - Prints json details about a tunnel for the provided vpn addr
  1146. query-lighthouse - Query the lighthouses for the provided vpn address
  1147. reload - Reloads configuration from disk, same as sending HUP to the process
  1148. version - Prints the currently running version of nebula
  1149. whoami - Prints the certificate identity of this node
  1150. exit status 1
  1151. $ not-a-command -pretty 10.222.0.9
  1152. did not understand: not-a-command
  1153. Available commands:
  1154. change-remote - Changes the remote address used in the tunnel for the provided vpn addr
  1155. close-tunnel - Closes a tunnel for the provided vpn addr
  1156. create-tunnel - Creates a tunnel for the provided vpn address
  1157. device-info - Prints information about the network device.
  1158. help - prints available commands or help <command> for specific usage info
  1159. identity - Prints the certificate identity of the host owning the provided vpn addr
  1160. list-hostmap - List all known previously connected hosts
  1161. list-lighthouse-addrmap - List all lighthouse map entries
  1162. list-pending-hostmap - List all handshaking hosts
  1163. log-format - Gets or sets the current log format
  1164. log-level - Gets or sets the current log level
  1165. logout - Ends the current session
  1166. print-cert - Prints the current certificate being used or the certificate for the provided vpn addr
  1167. print-relays - Prints json details about all relay info
  1168. print-tunnel - Prints json details about a tunnel for the provided vpn addr
  1169. query-lighthouse - Query the lighthouses for the provided vpn address
  1170. reload - Reloads configuration from disk, same as sending HUP to the process
  1171. version - Prints the currently running version of nebula
  1172. whoami - Prints the certificate identity of this node
  1173. exit status 1
  1174. $ reload
  1175. Reloading config
  1176. Config reload failed, the new config did not load: no config files found at
  1177. exit status 1
  1178. $ reload -json
  1179. {"ok":false,"reason":"Config reload failed, the new config did not load: no config files found at "}
  1180. exit status 1
  1181. $ reload -pretty
  1182. {
  1183. "ok": false,
  1184. "reason": "Config reload failed, the new config did not load: no config files found at "
  1185. }
  1186. exit status 1