iproutejs 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (510) hide show
  1. package/LICENSE +22 -0
  2. package/README.md +245 -0
  3. package/lib/commands/address/add.interfaces.d.ts +94 -0
  4. package/lib/commands/address/add.interfaces.js +3 -0
  5. package/lib/commands/address/add.interfaces.js.map +1 -0
  6. package/lib/commands/address/add.schema.d.ts +3 -0
  7. package/lib/commands/address/add.schema.js +121 -0
  8. package/lib/commands/address/add.schema.js.map +1 -0
  9. package/lib/commands/address/delete.interfaces.d.ts +56 -0
  10. package/lib/commands/address/delete.interfaces.js +3 -0
  11. package/lib/commands/address/delete.interfaces.js.map +1 -0
  12. package/lib/commands/address/delete.schema.d.ts +3 -0
  13. package/lib/commands/address/delete.schema.js +64 -0
  14. package/lib/commands/address/delete.schema.js.map +1 -0
  15. package/lib/commands/address/flush.interfaces.d.ts +89 -0
  16. package/lib/commands/address/flush.interfaces.js +3 -0
  17. package/lib/commands/address/flush.interfaces.js.map +1 -0
  18. package/lib/commands/address/flush.schema.d.ts +3 -0
  19. package/lib/commands/address/flush.schema.js +165 -0
  20. package/lib/commands/address/flush.schema.js.map +1 -0
  21. package/lib/commands/address/show.interfaces.d.ts +166 -0
  22. package/lib/commands/address/show.interfaces.js +3 -0
  23. package/lib/commands/address/show.interfaces.js.map +1 -0
  24. package/lib/commands/address/show.schema.d.ts +3 -0
  25. package/lib/commands/address/show.schema.js +176 -0
  26. package/lib/commands/address/show.schema.js.map +1 -0
  27. package/lib/commands/address.constants.d.ts +33 -0
  28. package/lib/commands/address.constants.js +39 -0
  29. package/lib/commands/address.constants.js.map +1 -0
  30. package/lib/commands/address.d.ts +179 -0
  31. package/lib/commands/address.js +265 -0
  32. package/lib/commands/address.js.map +1 -0
  33. package/lib/commands/addrlabel/add.interfaces.d.ts +12 -0
  34. package/lib/commands/addrlabel/add.interfaces.js +3 -0
  35. package/lib/commands/addrlabel/add.interfaces.js.map +1 -0
  36. package/lib/commands/addrlabel/add.schema.d.ts +3 -0
  37. package/lib/commands/addrlabel/add.schema.js +26 -0
  38. package/lib/commands/addrlabel/add.schema.js.map +1 -0
  39. package/lib/commands/addrlabel/del.interfaces.d.ts +6 -0
  40. package/lib/commands/addrlabel/del.interfaces.js +3 -0
  41. package/lib/commands/addrlabel/del.interfaces.js.map +1 -0
  42. package/lib/commands/addrlabel/del.schema.d.ts +3 -0
  43. package/lib/commands/addrlabel/del.schema.js +27 -0
  44. package/lib/commands/addrlabel/del.schema.js.map +1 -0
  45. package/lib/commands/addrlabel/list.interfaces.d.ts +9 -0
  46. package/lib/commands/addrlabel/list.interfaces.js +3 -0
  47. package/lib/commands/addrlabel/list.interfaces.js.map +1 -0
  48. package/lib/commands/addrlabel.d.ts +104 -0
  49. package/lib/commands/addrlabel.js +149 -0
  50. package/lib/commands/addrlabel.js.map +1 -0
  51. package/lib/commands/batch.d.ts +60 -0
  52. package/lib/commands/batch.js +90 -0
  53. package/lib/commands/batch.js.map +1 -0
  54. package/lib/commands/link/add.interfaces.d.ts +122 -0
  55. package/lib/commands/link/add.interfaces.js +4 -0
  56. package/lib/commands/link/add.interfaces.js.map +1 -0
  57. package/lib/commands/link/add.schema.d.ts +4 -0
  58. package/lib/commands/link/add.schema.js +172 -0
  59. package/lib/commands/link/add.schema.js.map +1 -0
  60. package/lib/commands/link/delete.interfaces.d.ts +22 -0
  61. package/lib/commands/link/delete.interfaces.js +3 -0
  62. package/lib/commands/link/delete.interfaces.js.map +1 -0
  63. package/lib/commands/link/delete.schema.d.ts +3 -0
  64. package/lib/commands/link/delete.schema.js +29 -0
  65. package/lib/commands/link/delete.schema.js.map +1 -0
  66. package/lib/commands/link/extended-virtual-link-types/bond-slave.interfaces.d.ts +8 -0
  67. package/lib/commands/link/extended-virtual-link-types/bond-slave.interfaces.js +3 -0
  68. package/lib/commands/link/extended-virtual-link-types/bond-slave.interfaces.js.map +1 -0
  69. package/lib/commands/link/extended-virtual-link-types/bond-slave.schema.d.ts +3 -0
  70. package/lib/commands/link/extended-virtual-link-types/bond-slave.schema.js +16 -0
  71. package/lib/commands/link/extended-virtual-link-types/bond-slave.schema.js.map +1 -0
  72. package/lib/commands/link/extended-virtual-link-types/bridge-slave.interfaces.d.ts +77 -0
  73. package/lib/commands/link/extended-virtual-link-types/bridge-slave.interfaces.js +3 -0
  74. package/lib/commands/link/extended-virtual-link-types/bridge-slave.interfaces.js.map +1 -0
  75. package/lib/commands/link/extended-virtual-link-types/bridge-slave.schema.d.ts +3 -0
  76. package/lib/commands/link/extended-virtual-link-types/bridge-slave.schema.js +126 -0
  77. package/lib/commands/link/extended-virtual-link-types/bridge-slave.schema.js.map +1 -0
  78. package/lib/commands/link/set.interfaces.d.ts +271 -0
  79. package/lib/commands/link/set.interfaces.js +4 -0
  80. package/lib/commands/link/set.interfaces.js.map +1 -0
  81. package/lib/commands/link/set.schema.d.ts +5 -0
  82. package/lib/commands/link/set.schema.js +284 -0
  83. package/lib/commands/link/set.schema.js.map +1 -0
  84. package/lib/commands/link/show.interfaces.d.ts +116 -0
  85. package/lib/commands/link/show.interfaces.js +3 -0
  86. package/lib/commands/link/show.interfaces.js.map +1 -0
  87. package/lib/commands/link/show.schema.d.ts +3 -0
  88. package/lib/commands/link/show.schema.js +43 -0
  89. package/lib/commands/link/show.schema.js.map +1 -0
  90. package/lib/commands/link/virtual-link-types/bareup.interfaces.d.ts +30 -0
  91. package/lib/commands/link/virtual-link-types/bareup.interfaces.js +3 -0
  92. package/lib/commands/link/virtual-link-types/bareup.interfaces.js.map +1 -0
  93. package/lib/commands/link/virtual-link-types/bareup.schema.d.ts +3 -0
  94. package/lib/commands/link/virtual-link-types/bareup.schema.js +43 -0
  95. package/lib/commands/link/virtual-link-types/bareup.schema.js.map +1 -0
  96. package/lib/commands/link/virtual-link-types/bridge.interfaces.d.ts +140 -0
  97. package/lib/commands/link/virtual-link-types/bridge.interfaces.js +3 -0
  98. package/lib/commands/link/virtual-link-types/bridge.interfaces.js.map +1 -0
  99. package/lib/commands/link/virtual-link-types/bridge.schema.d.ts +3 -0
  100. package/lib/commands/link/virtual-link-types/bridge.schema.js +186 -0
  101. package/lib/commands/link/virtual-link-types/bridge.schema.js.map +1 -0
  102. package/lib/commands/link/virtual-link-types/can.interfaces.d.ts +71 -0
  103. package/lib/commands/link/virtual-link-types/can.interfaces.js +3 -0
  104. package/lib/commands/link/virtual-link-types/can.interfaces.js.map +1 -0
  105. package/lib/commands/link/virtual-link-types/can.schema.d.ts +3 -0
  106. package/lib/commands/link/virtual-link-types/can.schema.js +141 -0
  107. package/lib/commands/link/virtual-link-types/can.schema.js.map +1 -0
  108. package/lib/commands/link/virtual-link-types/erspan-ip6erspan.interfaces.d.ts +58 -0
  109. package/lib/commands/link/virtual-link-types/erspan-ip6erspan.interfaces.js +3 -0
  110. package/lib/commands/link/virtual-link-types/erspan-ip6erspan.interfaces.js.map +1 -0
  111. package/lib/commands/link/virtual-link-types/erspan-ip6erspan.schema.d.ts +3 -0
  112. package/lib/commands/link/virtual-link-types/erspan-ip6erspan.schema.js +64 -0
  113. package/lib/commands/link/virtual-link-types/erspan-ip6erspan.schema.js.map +1 -0
  114. package/lib/commands/link/virtual-link-types/geneve.interfaces.d.ts +54 -0
  115. package/lib/commands/link/virtual-link-types/geneve.interfaces.js +3 -0
  116. package/lib/commands/link/virtual-link-types/geneve.interfaces.js.map +1 -0
  117. package/lib/commands/link/virtual-link-types/geneve.schema.d.ts +3 -0
  118. package/lib/commands/link/virtual-link-types/geneve.schema.js +93 -0
  119. package/lib/commands/link/virtual-link-types/geneve.schema.js.map +1 -0
  120. package/lib/commands/link/virtual-link-types/gre-gretap.interfaces.d.ts +106 -0
  121. package/lib/commands/link/virtual-link-types/gre-gretap.interfaces.js +3 -0
  122. package/lib/commands/link/virtual-link-types/gre-gretap.interfaces.js.map +1 -0
  123. package/lib/commands/link/virtual-link-types/gre-gretap.schema.d.ts +3 -0
  124. package/lib/commands/link/virtual-link-types/gre-gretap.schema.js +208 -0
  125. package/lib/commands/link/virtual-link-types/gre-gretap.schema.js.map +1 -0
  126. package/lib/commands/link/virtual-link-types/hsr.interfaces.d.ts +20 -0
  127. package/lib/commands/link/virtual-link-types/hsr.interfaces.js +3 -0
  128. package/lib/commands/link/virtual-link-types/hsr.interfaces.js.map +1 -0
  129. package/lib/commands/link/virtual-link-types/hsr.schema.d.ts +3 -0
  130. package/lib/commands/link/virtual-link-types/hsr.schema.js +36 -0
  131. package/lib/commands/link/virtual-link-types/hsr.schema.js.map +1 -0
  132. package/lib/commands/link/virtual-link-types/ip6gre-ip6gretap.interfaces.d.ts +80 -0
  133. package/lib/commands/link/virtual-link-types/ip6gre-ip6gretap.interfaces.js +3 -0
  134. package/lib/commands/link/virtual-link-types/ip6gre-ip6gretap.interfaces.js.map +1 -0
  135. package/lib/commands/link/virtual-link-types/ip6gre-ip6gretap.schema.d.ts +3 -0
  136. package/lib/commands/link/virtual-link-types/ip6gre-ip6gretap.schema.js +170 -0
  137. package/lib/commands/link/virtual-link-types/ip6gre-ip6gretap.schema.js.map +1 -0
  138. package/lib/commands/link/virtual-link-types/ipip-sit.interfaces.d.ts +51 -0
  139. package/lib/commands/link/virtual-link-types/ipip-sit.interfaces.js +3 -0
  140. package/lib/commands/link/virtual-link-types/ipip-sit.interfaces.js.map +1 -0
  141. package/lib/commands/link/virtual-link-types/ipip-sit.schema.d.ts +3 -0
  142. package/lib/commands/link/virtual-link-types/ipip-sit.schema.js +74 -0
  143. package/lib/commands/link/virtual-link-types/ipip-sit.schema.js.map +1 -0
  144. package/lib/commands/link/virtual-link-types/ipoib.interfaces.d.ts +11 -0
  145. package/lib/commands/link/virtual-link-types/ipoib.interfaces.js +3 -0
  146. package/lib/commands/link/virtual-link-types/ipoib.interfaces.js.map +1 -0
  147. package/lib/commands/link/virtual-link-types/ipoib.schema.d.ts +3 -0
  148. package/lib/commands/link/virtual-link-types/ipoib.schema.js +22 -0
  149. package/lib/commands/link/virtual-link-types/ipoib.schema.js.map +1 -0
  150. package/lib/commands/link/virtual-link-types/macsec.interfaces.d.ts +44 -0
  151. package/lib/commands/link/virtual-link-types/macsec.interfaces.js +3 -0
  152. package/lib/commands/link/virtual-link-types/macsec.interfaces.js.map +1 -0
  153. package/lib/commands/link/virtual-link-types/macsec.schema.d.ts +3 -0
  154. package/lib/commands/link/virtual-link-types/macsec.schema.js +87 -0
  155. package/lib/commands/link/virtual-link-types/macsec.schema.js.map +1 -0
  156. package/lib/commands/link/virtual-link-types/macvlan-macvtap.interfaces.d.ts +59 -0
  157. package/lib/commands/link/virtual-link-types/macvlan-macvtap.interfaces.js +3 -0
  158. package/lib/commands/link/virtual-link-types/macvlan-macvtap.interfaces.js.map +1 -0
  159. package/lib/commands/link/virtual-link-types/macvlan-macvtap.schema.d.ts +4 -0
  160. package/lib/commands/link/virtual-link-types/macvlan-macvtap.schema.js +60 -0
  161. package/lib/commands/link/virtual-link-types/macvlan-macvtap.schema.js.map +1 -0
  162. package/lib/commands/link/virtual-link-types/rmnet.interfaces.d.ts +8 -0
  163. package/lib/commands/link/virtual-link-types/rmnet.interfaces.js +3 -0
  164. package/lib/commands/link/virtual-link-types/rmnet.interfaces.js.map +1 -0
  165. package/lib/commands/link/virtual-link-types/rmnet.schema.d.ts +3 -0
  166. package/lib/commands/link/virtual-link-types/rmnet.schema.js +16 -0
  167. package/lib/commands/link/virtual-link-types/rmnet.schema.js.map +1 -0
  168. package/lib/commands/link/virtual-link-types/veth-vxcan.interfaces.d.ts +8 -0
  169. package/lib/commands/link/virtual-link-types/veth-vxcan.interfaces.js +3 -0
  170. package/lib/commands/link/virtual-link-types/veth-vxcan.interfaces.js.map +1 -0
  171. package/lib/commands/link/virtual-link-types/veth-vxcan.schema.d.ts +3 -0
  172. package/lib/commands/link/virtual-link-types/veth-vxcan.schema.js +16 -0
  173. package/lib/commands/link/virtual-link-types/veth-vxcan.schema.js.map +1 -0
  174. package/lib/commands/link/virtual-link-types/vlan.interfaces.d.ts +36 -0
  175. package/lib/commands/link/virtual-link-types/vlan.interfaces.js +3 -0
  176. package/lib/commands/link/virtual-link-types/vlan.interfaces.js.map +1 -0
  177. package/lib/commands/link/virtual-link-types/vlan.schema.d.ts +3 -0
  178. package/lib/commands/link/virtual-link-types/vlan.schema.js +65 -0
  179. package/lib/commands/link/virtual-link-types/vlan.schema.js.map +1 -0
  180. package/lib/commands/link/virtual-link-types/vrf.interfaces.d.ts +8 -0
  181. package/lib/commands/link/virtual-link-types/vrf.interfaces.js +3 -0
  182. package/lib/commands/link/virtual-link-types/vrf.interfaces.js.map +1 -0
  183. package/lib/commands/link/virtual-link-types/vrf.schema.d.ts +3 -0
  184. package/lib/commands/link/virtual-link-types/vrf.schema.js +16 -0
  185. package/lib/commands/link/virtual-link-types/vrf.schema.js.map +1 -0
  186. package/lib/commands/link/virtual-link-types/vxlan.interfaces.d.ts +127 -0
  187. package/lib/commands/link/virtual-link-types/vxlan.interfaces.js +3 -0
  188. package/lib/commands/link/virtual-link-types/vxlan.interfaces.js.map +1 -0
  189. package/lib/commands/link/virtual-link-types/vxlan.schema.d.ts +3 -0
  190. package/lib/commands/link/virtual-link-types/vxlan.schema.js +176 -0
  191. package/lib/commands/link/virtual-link-types/vxlan.schema.js.map +1 -0
  192. package/lib/commands/link/virtual-link-types/xfrm.interfaces.d.ts +16 -0
  193. package/lib/commands/link/virtual-link-types/xfrm.interfaces.js +3 -0
  194. package/lib/commands/link/virtual-link-types/xfrm.interfaces.js.map +1 -0
  195. package/lib/commands/link/virtual-link-types/xfrm.schema.d.ts +3 -0
  196. package/lib/commands/link/virtual-link-types/xfrm.schema.js +21 -0
  197. package/lib/commands/link/virtual-link-types/xfrm.schema.js.map +1 -0
  198. package/lib/commands/link/xdp-options/object.interfaces.d.ts +36 -0
  199. package/lib/commands/link/xdp-options/object.interfaces.js +3 -0
  200. package/lib/commands/link/xdp-options/object.interfaces.js.map +1 -0
  201. package/lib/commands/link/xdp-options/object.schema.d.ts +3 -0
  202. package/lib/commands/link/xdp-options/object.schema.js +25 -0
  203. package/lib/commands/link/xdp-options/object.schema.js.map +1 -0
  204. package/lib/commands/link/xdp-options/off.interfaces.d.ts +8 -0
  205. package/lib/commands/link/xdp-options/off.interfaces.js +3 -0
  206. package/lib/commands/link/xdp-options/off.interfaces.js.map +1 -0
  207. package/lib/commands/link/xdp-options/off.schema.d.ts +3 -0
  208. package/lib/commands/link/xdp-options/off.schema.js +15 -0
  209. package/lib/commands/link/xdp-options/off.schema.js.map +1 -0
  210. package/lib/commands/link/xdp-options/pinned.interfaces.d.ts +13 -0
  211. package/lib/commands/link/xdp-options/pinned.interfaces.js +3 -0
  212. package/lib/commands/link/xdp-options/pinned.interfaces.js.map +1 -0
  213. package/lib/commands/link/xdp-options/pinned.schema.d.ts +3 -0
  214. package/lib/commands/link/xdp-options/pinned.schema.js +15 -0
  215. package/lib/commands/link/xdp-options/pinned.schema.js.map +1 -0
  216. package/lib/commands/link.constants.d.ts +425 -0
  217. package/lib/commands/link.constants.js +366 -0
  218. package/lib/commands/link.constants.js.map +1 -0
  219. package/lib/commands/link.d.ts +113 -0
  220. package/lib/commands/link.js +159 -0
  221. package/lib/commands/link.js.map +1 -0
  222. package/lib/commands/maddress/add.interfaces.d.ts +10 -0
  223. package/lib/commands/maddress/add.interfaces.js +3 -0
  224. package/lib/commands/maddress/add.interfaces.js.map +1 -0
  225. package/lib/commands/maddress/add.schema.d.ts +3 -0
  226. package/lib/commands/maddress/add.schema.js +22 -0
  227. package/lib/commands/maddress/add.schema.js.map +1 -0
  228. package/lib/commands/maddress/show.interfaces.d.ts +25 -0
  229. package/lib/commands/maddress/show.interfaces.js +3 -0
  230. package/lib/commands/maddress/show.interfaces.js.map +1 -0
  231. package/lib/commands/maddress/show.schema.d.ts +3 -0
  232. package/lib/commands/maddress/show.schema.js +17 -0
  233. package/lib/commands/maddress/show.schema.js.map +1 -0
  234. package/lib/commands/maddress.d.ts +82 -0
  235. package/lib/commands/maddress.js +121 -0
  236. package/lib/commands/maddress.js.map +1 -0
  237. package/lib/commands/monitor/monitor.interfaces.d.ts +24 -0
  238. package/lib/commands/monitor/monitor.interfaces.js +3 -0
  239. package/lib/commands/monitor/monitor.interfaces.js.map +1 -0
  240. package/lib/commands/monitor/monitor.schema.d.ts +3 -0
  241. package/lib/commands/monitor/monitor.schema.js +33 -0
  242. package/lib/commands/monitor/monitor.schema.js.map +1 -0
  243. package/lib/commands/monitor.constants.d.ts +17 -0
  244. package/lib/commands/monitor.constants.js +22 -0
  245. package/lib/commands/monitor.constants.js.map +1 -0
  246. package/lib/commands/monitor.d.ts +52 -0
  247. package/lib/commands/monitor.js +75 -0
  248. package/lib/commands/monitor.js.map +1 -0
  249. package/lib/commands/mroute/show.interfaces.d.ts +26 -0
  250. package/lib/commands/mroute/show.interfaces.js +3 -0
  251. package/lib/commands/mroute/show.interfaces.js.map +1 -0
  252. package/lib/commands/mroute/show.schema.d.ts +3 -0
  253. package/lib/commands/mroute/show.schema.js +44 -0
  254. package/lib/commands/mroute/show.schema.js.map +1 -0
  255. package/lib/commands/mroute.d.ts +29 -0
  256. package/lib/commands/mroute.js +53 -0
  257. package/lib/commands/mroute.js.map +1 -0
  258. package/lib/commands/neighbour/add.interfaces.d.ts +34 -0
  259. package/lib/commands/neighbour/add.interfaces.js +3 -0
  260. package/lib/commands/neighbour/add.interfaces.js.map +1 -0
  261. package/lib/commands/neighbour/add.schema.d.ts +3 -0
  262. package/lib/commands/neighbour/add.schema.js +49 -0
  263. package/lib/commands/neighbour/add.schema.js.map +1 -0
  264. package/lib/commands/neighbour/del.interfaces.d.ts +23 -0
  265. package/lib/commands/neighbour/del.interfaces.js +3 -0
  266. package/lib/commands/neighbour/del.interfaces.js.map +1 -0
  267. package/lib/commands/neighbour/del.schema.d.ts +3 -0
  268. package/lib/commands/neighbour/del.schema.js +37 -0
  269. package/lib/commands/neighbour/del.schema.js.map +1 -0
  270. package/lib/commands/neighbour/get.interfaces.d.ts +12 -0
  271. package/lib/commands/neighbour/get.interfaces.js +3 -0
  272. package/lib/commands/neighbour/get.interfaces.js.map +1 -0
  273. package/lib/commands/neighbour/get.schema.d.ts +3 -0
  274. package/lib/commands/neighbour/get.schema.js +26 -0
  275. package/lib/commands/neighbour/get.schema.js.map +1 -0
  276. package/lib/commands/neighbour/show.interfaces.d.ts +37 -0
  277. package/lib/commands/neighbour/show.interfaces.js +3 -0
  278. package/lib/commands/neighbour/show.interfaces.js.map +1 -0
  279. package/lib/commands/neighbour/show.schema.d.ts +3 -0
  280. package/lib/commands/neighbour/show.schema.js +39 -0
  281. package/lib/commands/neighbour/show.schema.js.map +1 -0
  282. package/lib/commands/neighbour.constants.d.ts +34 -0
  283. package/lib/commands/neighbour.constants.js +39 -0
  284. package/lib/commands/neighbour.constants.js.map +1 -0
  285. package/lib/commands/neighbour.d.ts +169 -0
  286. package/lib/commands/neighbour.js +238 -0
  287. package/lib/commands/neighbour.js.map +1 -0
  288. package/lib/commands/ntable/change.interfaces.d.ts +42 -0
  289. package/lib/commands/ntable/change.interfaces.js +3 -0
  290. package/lib/commands/ntable/change.interfaces.js.map +1 -0
  291. package/lib/commands/ntable/change.schema.d.ts +3 -0
  292. package/lib/commands/ntable/change.schema.js +101 -0
  293. package/lib/commands/ntable/change.schema.js.map +1 -0
  294. package/lib/commands/ntable/show.interfaces.d.ts +59 -0
  295. package/lib/commands/ntable/show.interfaces.js +3 -0
  296. package/lib/commands/ntable/show.interfaces.js.map +1 -0
  297. package/lib/commands/ntable/show.schema.d.ts +3 -0
  298. package/lib/commands/ntable/show.schema.js +22 -0
  299. package/lib/commands/ntable/show.schema.js.map +1 -0
  300. package/lib/commands/ntable.d.ts +43 -0
  301. package/lib/commands/ntable.js +75 -0
  302. package/lib/commands/ntable.js.map +1 -0
  303. package/lib/commands/route/add.interfaces.d.ts +261 -0
  304. package/lib/commands/route/add.interfaces.js +4 -0
  305. package/lib/commands/route/add.interfaces.js.map +1 -0
  306. package/lib/commands/route/add.schema.d.ts +3 -0
  307. package/lib/commands/route/add.schema.js +366 -0
  308. package/lib/commands/route/add.schema.js.map +1 -0
  309. package/lib/commands/route/encap-types/bpf.interfaces.d.ts +14 -0
  310. package/lib/commands/route/encap-types/bpf.interfaces.js +3 -0
  311. package/lib/commands/route/encap-types/bpf.interfaces.js.map +1 -0
  312. package/lib/commands/route/encap-types/bpf.schema.d.ts +3 -0
  313. package/lib/commands/route/encap-types/bpf.schema.js +31 -0
  314. package/lib/commands/route/encap-types/bpf.schema.js.map +1 -0
  315. package/lib/commands/route/encap-types/ioam6.interfaces.d.ts +19 -0
  316. package/lib/commands/route/encap-types/ioam6.interfaces.js +3 -0
  317. package/lib/commands/route/encap-types/ioam6.interfaces.js.map +1 -0
  318. package/lib/commands/route/encap-types/ioam6.schema.d.ts +3 -0
  319. package/lib/commands/route/encap-types/ioam6.schema.js +30 -0
  320. package/lib/commands/route/encap-types/ioam6.schema.js.map +1 -0
  321. package/lib/commands/route/encap-types/ip.interfaces.d.ts +17 -0
  322. package/lib/commands/route/encap-types/ip.interfaces.js +3 -0
  323. package/lib/commands/route/encap-types/ip.interfaces.js.map +1 -0
  324. package/lib/commands/route/encap-types/ip.schema.d.ts +3 -0
  325. package/lib/commands/route/encap-types/ip.schema.js +48 -0
  326. package/lib/commands/route/encap-types/ip.schema.js.map +1 -0
  327. package/lib/commands/route/encap-types/mpls.interfaces.d.ts +11 -0
  328. package/lib/commands/route/encap-types/mpls.interfaces.js +3 -0
  329. package/lib/commands/route/encap-types/mpls.interfaces.js.map +1 -0
  330. package/lib/commands/route/encap-types/mpls.schema.d.ts +3 -0
  331. package/lib/commands/route/encap-types/mpls.schema.js +46 -0
  332. package/lib/commands/route/encap-types/mpls.schema.js.map +1 -0
  333. package/lib/commands/route/encap-types/seg6.interfaces.d.ts +20 -0
  334. package/lib/commands/route/encap-types/seg6.interfaces.js +3 -0
  335. package/lib/commands/route/encap-types/seg6.interfaces.js.map +1 -0
  336. package/lib/commands/route/encap-types/seg6.schema.d.ts +3 -0
  337. package/lib/commands/route/encap-types/seg6.schema.js +38 -0
  338. package/lib/commands/route/encap-types/seg6.schema.js.map +1 -0
  339. package/lib/commands/route/encap-types/seg6local.interfaces.d.ts +76 -0
  340. package/lib/commands/route/encap-types/seg6local.interfaces.js +3 -0
  341. package/lib/commands/route/encap-types/seg6local.interfaces.js.map +1 -0
  342. package/lib/commands/route/encap-types/seg6local.schema.d.ts +6 -0
  343. package/lib/commands/route/encap-types/seg6local.schema.js +181 -0
  344. package/lib/commands/route/encap-types/seg6local.schema.js.map +1 -0
  345. package/lib/commands/route/get.interfaces.d.ts +37 -0
  346. package/lib/commands/route/get.interfaces.js +3 -0
  347. package/lib/commands/route/get.interfaces.js.map +1 -0
  348. package/lib/commands/route/get.schema.d.ts +3 -0
  349. package/lib/commands/route/get.schema.js +86 -0
  350. package/lib/commands/route/get.schema.js.map +1 -0
  351. package/lib/commands/route/show.constants.d.ts +105 -0
  352. package/lib/commands/route/show.constants.js +112 -0
  353. package/lib/commands/route/show.constants.js.map +1 -0
  354. package/lib/commands/route/show.interfaces.d.ts +96 -0
  355. package/lib/commands/route/show.interfaces.js +3 -0
  356. package/lib/commands/route/show.interfaces.js.map +1 -0
  357. package/lib/commands/route/show.schema.d.ts +3 -0
  358. package/lib/commands/route/show.schema.js +161 -0
  359. package/lib/commands/route/show.schema.js.map +1 -0
  360. package/lib/commands/route.constants.d.ts +129 -0
  361. package/lib/commands/route.constants.js +136 -0
  362. package/lib/commands/route.constants.js.map +1 -0
  363. package/lib/commands/route.d.ts +268 -0
  364. package/lib/commands/route.js +362 -0
  365. package/lib/commands/route.js.map +1 -0
  366. package/lib/commands/rule/add.interfaces.d.ts +41 -0
  367. package/lib/commands/rule/add.interfaces.js +3 -0
  368. package/lib/commands/rule/add.interfaces.js.map +1 -0
  369. package/lib/commands/rule/add.schema.d.ts +3 -0
  370. package/lib/commands/rule/add.schema.js +182 -0
  371. package/lib/commands/rule/add.schema.js.map +1 -0
  372. package/lib/commands/rule/show.interfaces.d.ts +86 -0
  373. package/lib/commands/rule/show.interfaces.js +3 -0
  374. package/lib/commands/rule/show.interfaces.js.map +1 -0
  375. package/lib/commands/rule/show.schema.d.ts +3 -0
  376. package/lib/commands/rule/show.schema.js +157 -0
  377. package/lib/commands/rule/show.schema.js.map +1 -0
  378. package/lib/commands/rule.constants.d.ts +34 -0
  379. package/lib/commands/rule.constants.js +40 -0
  380. package/lib/commands/rule.constants.js.map +1 -0
  381. package/lib/commands/rule.d.ts +143 -0
  382. package/lib/commands/rule.js +205 -0
  383. package/lib/commands/rule.js.map +1 -0
  384. package/lib/commands/tunnel/6rd.interfaces.d.ts +17 -0
  385. package/lib/commands/tunnel/6rd.interfaces.js +3 -0
  386. package/lib/commands/tunnel/6rd.interfaces.js.map +1 -0
  387. package/lib/commands/tunnel/6rd.schema.d.ts +3 -0
  388. package/lib/commands/tunnel/6rd.schema.js +33 -0
  389. package/lib/commands/tunnel/6rd.schema.js.map +1 -0
  390. package/lib/commands/tunnel/add.interfaces.d.ts +124 -0
  391. package/lib/commands/tunnel/add.interfaces.js +3 -0
  392. package/lib/commands/tunnel/add.interfaces.js.map +1 -0
  393. package/lib/commands/tunnel/add.schema.d.ts +3 -0
  394. package/lib/commands/tunnel/add.schema.js +213 -0
  395. package/lib/commands/tunnel/add.schema.js.map +1 -0
  396. package/lib/commands/tunnel/prl.interfaces.d.ts +17 -0
  397. package/lib/commands/tunnel/prl.interfaces.js +3 -0
  398. package/lib/commands/tunnel/prl.interfaces.js.map +1 -0
  399. package/lib/commands/tunnel/prl.schema.d.ts +3 -0
  400. package/lib/commands/tunnel/prl.schema.js +34 -0
  401. package/lib/commands/tunnel/prl.schema.js.map +1 -0
  402. package/lib/commands/tunnel.constants.d.ts +23 -0
  403. package/lib/commands/tunnel.constants.js +24 -0
  404. package/lib/commands/tunnel.constants.js.map +1 -0
  405. package/lib/commands/tunnel.d.ts +151 -0
  406. package/lib/commands/tunnel.js +210 -0
  407. package/lib/commands/tunnel.js.map +1 -0
  408. package/lib/commands/tuntap/add.interfaces.d.ts +25 -0
  409. package/lib/commands/tuntap/add.interfaces.js +3 -0
  410. package/lib/commands/tuntap/add.interfaces.js.map +1 -0
  411. package/lib/commands/tuntap/add.schema.d.ts +3 -0
  412. package/lib/commands/tuntap/add.schema.js +77 -0
  413. package/lib/commands/tuntap/add.schema.js.map +1 -0
  414. package/lib/commands/tuntap/show.interfaces.d.ts +17 -0
  415. package/lib/commands/tuntap/show.interfaces.js +3 -0
  416. package/lib/commands/tuntap/show.interfaces.js.map +1 -0
  417. package/lib/commands/tuntap/show.schema.d.ts +3 -0
  418. package/lib/commands/tuntap/show.schema.js +80 -0
  419. package/lib/commands/tuntap/show.schema.js.map +1 -0
  420. package/lib/commands/tuntap.constants.d.ts +8 -0
  421. package/lib/commands/tuntap.constants.js +13 -0
  422. package/lib/commands/tuntap.constants.js.map +1 -0
  423. package/lib/commands/tuntap.d.ts +83 -0
  424. package/lib/commands/tuntap.js +121 -0
  425. package/lib/commands/tuntap.js.map +1 -0
  426. package/lib/common/classes/command-with-filepath.d.ts +16 -0
  427. package/lib/common/classes/command-with-filepath.js +53 -0
  428. package/lib/common/classes/command-with-filepath.js.map +1 -0
  429. package/lib/common/classes/command-with-redirect-from-filepath-and-returned-data.d.ts +15 -0
  430. package/lib/common/classes/command-with-redirect-from-filepath-and-returned-data.js +45 -0
  431. package/lib/common/classes/command-with-redirect-from-filepath-and-returned-data.js.map +1 -0
  432. package/lib/common/classes/command-with-redirect-from-filepath.d.ts +16 -0
  433. package/lib/common/classes/command-with-redirect-from-filepath.js +53 -0
  434. package/lib/common/classes/command-with-redirect-from-filepath.js.map +1 -0
  435. package/lib/common/classes/command-with-redirect-to-filepath.d.ts +16 -0
  436. package/lib/common/classes/command-with-redirect-to-filepath.js +53 -0
  437. package/lib/common/classes/command-with-redirect-to-filepath.js.map +1 -0
  438. package/lib/common/classes/command-with-returned-data.d.ts +15 -0
  439. package/lib/common/classes/command-with-returned-data.js +45 -0
  440. package/lib/common/classes/command-with-returned-data.js.map +1 -0
  441. package/lib/common/classes/command-with-stdin.d.ts +16 -0
  442. package/lib/common/classes/command-with-stdin.js +53 -0
  443. package/lib/common/classes/command-with-stdin.js.map +1 -0
  444. package/lib/common/classes/command.d.ts +26 -0
  445. package/lib/common/classes/command.js +144 -0
  446. package/lib/common/classes/command.js.map +1 -0
  447. package/lib/common/classes/monitor-command.d.ts +30 -0
  448. package/lib/common/classes/monitor-command.js +108 -0
  449. package/lib/common/classes/monitor-command.js.map +1 -0
  450. package/lib/common/constants/attribute-values.d.ts +33 -0
  451. package/lib/common/constants/attribute-values.js +41 -0
  452. package/lib/common/constants/attribute-values.js.map +1 -0
  453. package/lib/common/constants/regexes.d.ts +34 -0
  454. package/lib/common/constants/regexes.js +38 -0
  455. package/lib/common/constants/regexes.js.map +1 -0
  456. package/lib/common/constants/schemas.d.ts +52 -0
  457. package/lib/common/constants/schemas.js +296 -0
  458. package/lib/common/constants/schemas.js.map +1 -0
  459. package/lib/common/constants/tests.d.ts +4 -0
  460. package/lib/common/constants/tests.js +9 -0
  461. package/lib/common/constants/tests.js.map +1 -0
  462. package/lib/common/errors/command.d.ts +11 -0
  463. package/lib/common/errors/command.js +20 -0
  464. package/lib/common/errors/command.js.map +1 -0
  465. package/lib/common/errors/parameters.d.ts +16 -0
  466. package/lib/common/errors/parameters.js +21 -0
  467. package/lib/common/errors/parameters.js.map +1 -0
  468. package/lib/common/interfaces/common.d.ts +115 -0
  469. package/lib/common/interfaces/common.js +3 -0
  470. package/lib/common/interfaces/common.js.map +1 -0
  471. package/lib/common/interfaces/monitor.d.ts +17 -0
  472. package/lib/common/interfaces/monitor.js +3 -0
  473. package/lib/common/interfaces/monitor.js.map +1 -0
  474. package/lib/common/interfaces/tests.d.ts +33 -0
  475. package/lib/common/interfaces/tests.js +3 -0
  476. package/lib/common/interfaces/tests.js.map +1 -0
  477. package/lib/common/misc.d.ts +4 -0
  478. package/lib/common/misc.js +18 -0
  479. package/lib/common/misc.js.map +1 -0
  480. package/lib/common/parse-output.d.ts +14 -0
  481. package/lib/common/parse-output.js +51 -0
  482. package/lib/common/parse-output.js.map +1 -0
  483. package/lib/common/validator.d.ts +3 -0
  484. package/lib/common/validator.js +45 -0
  485. package/lib/common/validator.js.map +1 -0
  486. package/lib/index.d.ts +400 -0
  487. package/lib/index.js +189 -0
  488. package/lib/index.js.map +1 -0
  489. package/lib/utils/index.d.ts +33 -0
  490. package/lib/utils/index.js +40 -0
  491. package/lib/utils/index.js.map +1 -0
  492. package/lib/utils/ip-forwarding.constants.d.ts +21 -0
  493. package/lib/utils/ip-forwarding.constants.js +27 -0
  494. package/lib/utils/ip-forwarding.constants.js.map +1 -0
  495. package/lib/utils/ip-forwarding.d.ts +103 -0
  496. package/lib/utils/ip-forwarding.js +149 -0
  497. package/lib/utils/ip-forwarding.js.map +1 -0
  498. package/lib/utils/routing-tables.constants.d.ts +7 -0
  499. package/lib/utils/routing-tables.constants.js +11 -0
  500. package/lib/utils/routing-tables.constants.js.map +1 -0
  501. package/lib/utils/routing-tables.d.ts +134 -0
  502. package/lib/utils/routing-tables.interfaces.d.ts +16 -0
  503. package/lib/utils/routing-tables.interfaces.js +3 -0
  504. package/lib/utils/routing-tables.interfaces.js.map +1 -0
  505. package/lib/utils/routing-tables.js +243 -0
  506. package/lib/utils/routing-tables.js.map +1 -0
  507. package/lib/utils/routing-tables.schemas.d.ts +3 -0
  508. package/lib/utils/routing-tables.schemas.js +22 -0
  509. package/lib/utils/routing-tables.schemas.js.map +1 -0
  510. package/package.json +92 -0
@@ -0,0 +1,71 @@
1
+ import { OnOffToggle } from '../../../common/constants/attribute-values';
2
+ /**
3
+ * Add link can type arguments.
4
+ * @category Interfaces
5
+ */
6
+ export interface AddLinkCanTypeArgs {
7
+ /** Sets the nominal speed of the CAN bus in bits per second for the arbitration phase. */
8
+ bitrate?: number;
9
+ /**
10
+ * Specifies the sampling point as a percentage.
11
+ * It defines at which point a bit should be sampled.
12
+ */
13
+ 'sample-point'?: number;
14
+ /** Time Quantum. The smallest time unit for the CAN bit timing. */
15
+ tq?: number;
16
+ /** Propagation Segment. The time segment needed to compensate for the physical delay of the signal. */
17
+ 'prop-seg'?: number;
18
+ /** Phase Buffer Segment 1. The first segment of the phase buffer, used to adjust the position of the sample point. */
19
+ 'phase-seg1'?: number;
20
+ /** Phase Buffer Segment 2. The second segment of the phase buffer, also used for sample point adjustment. */
21
+ 'phase-seg2'?: number;
22
+ /** Synchronization Jump Width. The maximum number of time quanta that the bit timing can be adjusted to compensate for oscillator drift. */
23
+ sjw?: number;
24
+ /**
25
+ * Sets the nominal speed for the data phase.
26
+ * @see {@link[bitrate]}
27
+ */
28
+ dbitrate?: number;
29
+ /** @see {@link['sample-point']} */
30
+ 'dsample-point'?: number;
31
+ /** @see {@link[tq]} */
32
+ dtq?: number;
33
+ /** @see {@link['prop-seg']} */
34
+ 'dprop-seg'?: number;
35
+ /** @see {@link['phase-seg1']} */
36
+ 'dphase-seg1'?: number;
37
+ /** @see {@link['phase-seg2']} */
38
+ 'dphase-seg2'?: number;
39
+ /** @see {@link[sjw]} */
40
+ dsjw?: number;
41
+ /**
42
+ * Enables the internal loopback mode of the CAN controller.
43
+ * In loopback mode, the CAN controller can send and receive messages internally without the need for an actual CAN network.
44
+ */
45
+ loopback?: OnOffToggle;
46
+ /** Sets the interface to listen-only mode where it will not send any messages. */
47
+ 'listen-only'?: OnOffToggle;
48
+ /** This enables or disables triple sampling for receiving. */
49
+ 'triple-sampling'?: OnOffToggle;
50
+ /** If enabled, this prevents the controller from automatically retrying to send a message upon an error. */
51
+ 'one-shot'?: OnOffToggle;
52
+ /**
53
+ * Enables bus error reporting.
54
+ * When enabled, the CAN interface will generate error messages in the system logs if bus errors are detected.
55
+ */
56
+ 'berr-reporting'?: OnOffToggle;
57
+ /** Enables or disables CAN FD support. */
58
+ fd?: OnOffToggle;
59
+ /** Enables or disables non-ISO CAN FD support. */
60
+ 'fd-non-iso'?: OnOffToggle;
61
+ /** Assume that the acknowledgment for a transmitted frame is received, even if it is not actually received. */
62
+ 'presume-ack'?: OnOffToggle;
63
+ /** Sets the automatic restart delay in milliseconds if the bus is in an error state. */
64
+ 'restart-ms'?: number;
65
+ /**
66
+ * Enables automatic restart of the CAN controller after a bus-off condition.
67
+ * A bus-off condition occurs when the CAN controller detects too many errors on the bus, causing it to disconnect from the network to prevent further disruptions.
68
+ * Enabling automatic restart allows the controller to attempt to rejoin the bus after a specified delay.
69
+ */
70
+ restart?: boolean;
71
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=can.interfaces.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"can.interfaces.js","sourceRoot":"","sources":["../../../../src/commands/link/virtual-link-types/can.interfaces.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ import { JSONSchemaType } from 'ajv';
2
+ import { AddLinkCanTypeArgs } from './can.interfaces';
3
+ export declare const AddLinkCanArgsSchema: JSONSchemaType<AddLinkCanTypeArgs>;
@@ -0,0 +1,141 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AddLinkCanArgsSchema = void 0;
4
+ const attribute_values_1 = require("../../../common/constants/attribute-values");
5
+ exports.AddLinkCanArgsSchema = {
6
+ type: 'object',
7
+ required: [],
8
+ additionalProperties: false,
9
+ properties: {
10
+ bitrate: {
11
+ type: 'integer',
12
+ minimum: 1,
13
+ maximum: 1000000,
14
+ nullable: true
15
+ },
16
+ 'sample-point': {
17
+ type: 'number',
18
+ minimum: 0,
19
+ maximum: 0.999,
20
+ nullable: true
21
+ },
22
+ tq: {
23
+ type: 'number',
24
+ nullable: true
25
+ },
26
+ 'prop-seg': {
27
+ type: 'integer',
28
+ minimum: 1,
29
+ maximum: 8,
30
+ nullable: true
31
+ },
32
+ 'phase-seg1': {
33
+ type: 'integer',
34
+ minimum: 1,
35
+ maximum: 8,
36
+ nullable: true
37
+ },
38
+ 'phase-seg2': {
39
+ type: 'integer',
40
+ minimum: 1,
41
+ maximum: 8,
42
+ nullable: true
43
+ },
44
+ sjw: {
45
+ type: 'integer',
46
+ minimum: 1,
47
+ maximum: 4,
48
+ nullable: true
49
+ },
50
+ dbitrate: {
51
+ type: 'integer',
52
+ minimum: 1,
53
+ maximum: 1000000,
54
+ nullable: true
55
+ },
56
+ 'dsample-point': {
57
+ type: 'number',
58
+ minimum: 0,
59
+ maximum: 0.999,
60
+ nullable: true
61
+ },
62
+ dtq: {
63
+ type: 'number',
64
+ nullable: true
65
+ },
66
+ 'dprop-seg': {
67
+ type: 'integer',
68
+ minimum: 1,
69
+ maximum: 8,
70
+ nullable: true
71
+ },
72
+ 'dphase-seg1': {
73
+ type: 'integer',
74
+ minimum: 1,
75
+ maximum: 8,
76
+ nullable: true
77
+ },
78
+ 'dphase-seg2': {
79
+ type: 'integer',
80
+ minimum: 1,
81
+ maximum: 8,
82
+ nullable: true
83
+ },
84
+ dsjw: {
85
+ type: 'integer',
86
+ minimum: 1,
87
+ maximum: 4,
88
+ nullable: true
89
+ },
90
+ loopback: {
91
+ type: 'string',
92
+ enum: Object.values(attribute_values_1.OnOffToggle),
93
+ nullable: true
94
+ },
95
+ 'listen-only': {
96
+ type: 'string',
97
+ enum: Object.values(attribute_values_1.OnOffToggle),
98
+ nullable: true
99
+ },
100
+ 'triple-sampling': {
101
+ type: 'string',
102
+ enum: Object.values(attribute_values_1.OnOffToggle),
103
+ nullable: true
104
+ },
105
+ 'one-shot': {
106
+ type: 'string',
107
+ enum: Object.values(attribute_values_1.OnOffToggle),
108
+ nullable: true
109
+ },
110
+ 'berr-reporting': {
111
+ type: 'string',
112
+ enum: Object.values(attribute_values_1.OnOffToggle),
113
+ nullable: true
114
+ },
115
+ fd: {
116
+ type: 'string',
117
+ enum: Object.values(attribute_values_1.OnOffToggle),
118
+ nullable: true
119
+ },
120
+ 'fd-non-iso': {
121
+ type: 'string',
122
+ enum: Object.values(attribute_values_1.OnOffToggle),
123
+ nullable: true
124
+ },
125
+ 'presume-ack': {
126
+ type: 'string',
127
+ enum: Object.values(attribute_values_1.OnOffToggle),
128
+ nullable: true
129
+ },
130
+ 'restart-ms': {
131
+ type: 'integer',
132
+ minimum: 0,
133
+ nullable: true
134
+ },
135
+ restart: {
136
+ type: 'boolean',
137
+ nullable: true
138
+ }
139
+ }
140
+ };
141
+ //# sourceMappingURL=can.schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"can.schema.js","sourceRoot":"","sources":["../../../../src/commands/link/virtual-link-types/can.schema.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,58 @@
1
+ import { ErspanDirections } from '../../link.constants';
2
+ /**
3
+ * Add link erspan & IP6 erspan type arguments.
4
+ * @category Interfaces
5
+ */
6
+ export interface AddLinkErspanIp6erspanTypeArgs {
7
+ /** Specifies the remote address of the tunnel. */
8
+ remote: string;
9
+ /**
10
+ * Specifies the fixed local address for tunneled packets.
11
+ * It must be an address on another interface on this host.
12
+ */
13
+ local: string;
14
+ /**
15
+ * Enable sequence numbering of ERSPAN packets.
16
+ * This can be useful for detecting packet loss.
17
+ */
18
+ seq: true;
19
+ /** A 32-bit key to identify the GRE tunnel. */
20
+ key: number;
21
+ /**
22
+ * TODO: Add an enum for validator?
23
+ *
24
+ * Specifies the ERSPAN version number.
25
+ * `version` indicates the ERSPAN version to be created:
26
+ *
27
+ * 0 for version 0 type I,
28
+ * 1 for version 1 (type II)
29
+ * or 2 for version 2 (type III).
30
+ */
31
+ erspan_ver: number;
32
+ /**
33
+ * Specifies the ERSPAN v1 index field.
34
+ * IDX indicates a 20 bit index/port number associated with the ERSPAN
35
+ * traffic's source port and direction.
36
+ */
37
+ erspan?: number;
38
+ /** Specifies the ERSPAN v2 mirrored traffic's direction.
39
+ */
40
+ erspan_dir?: ErspanDirections;
41
+ /**
42
+ * A unique identifier of an ERSPAN v2 engine within a system.
43
+ * `hwid` is a 6-bit value for users to configure.
44
+ */
45
+ erspan_hwid?: number;
46
+ /** Specifies whether to allow remote endpoint to have an address configured on local host. */
47
+ 'allow-localremote'?: boolean;
48
+ /** @see {@link['allow-localremote']} */
49
+ 'noallow-localremote'?: boolean;
50
+ /**
51
+ * Make this tunnel externally controlled (or not, which is the default).
52
+ *
53
+ * In the kernel, this is referred to as collect metadata mode.
54
+ * This flag is mutually exclusive with the {@link remote}, {@link local}, {@link erspan_ver},
55
+ * {@link erspan}, {@link erspan_dir} and {@link erspan_hwid} options.
56
+ */
57
+ external?: true;
58
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=erspan-ip6erspan.interfaces.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"erspan-ip6erspan.interfaces.js","sourceRoot":"","sources":["../../../../src/commands/link/virtual-link-types/erspan-ip6erspan.interfaces.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ import { JSONSchemaType } from 'ajv';
2
+ import { AddLinkErspanIp6erspanTypeArgs } from './erspan-ip6erspan.interfaces';
3
+ export declare const AddLinkErspanIp6ErspanArgsSchema: JSONSchemaType<AddLinkErspanIp6erspanTypeArgs>;
@@ -0,0 +1,64 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AddLinkErspanIp6ErspanArgsSchema = void 0;
4
+ const link_constants_1 = require("../../link.constants");
5
+ exports.AddLinkErspanIp6ErspanArgsSchema = {
6
+ type: 'object',
7
+ required: ['remote', 'local', 'seq', 'key', 'erspan_ver'],
8
+ additionalProperties: false,
9
+ properties: {
10
+ remote: {
11
+ type: 'string',
12
+ format: 'ip'
13
+ },
14
+ local: {
15
+ type: 'string',
16
+ format: 'ip'
17
+ },
18
+ seq: {
19
+ type: 'boolean',
20
+ enum: [true]
21
+ },
22
+ key: {
23
+ type: 'integer',
24
+ minimum: 0,
25
+ maximum: 4294967295
26
+ },
27
+ erspan_ver: {
28
+ type: 'integer',
29
+ minimum: 0,
30
+ maximum: 2
31
+ },
32
+ erspan: {
33
+ type: 'integer',
34
+ minimum: 0,
35
+ maximum: 1048576,
36
+ nullable: true
37
+ },
38
+ erspan_dir: {
39
+ type: 'string',
40
+ enum: Object.values(link_constants_1.ErspanDirections),
41
+ nullable: true
42
+ },
43
+ erspan_hwid: {
44
+ type: 'integer',
45
+ minimum: 0,
46
+ maximum: 63,
47
+ nullable: true
48
+ },
49
+ 'allow-localremote': {
50
+ type: 'boolean',
51
+ nullable: true
52
+ },
53
+ 'noallow-localremote': {
54
+ type: 'boolean',
55
+ nullable: true
56
+ },
57
+ external: {
58
+ type: 'boolean',
59
+ enum: [true],
60
+ nullable: true
61
+ }
62
+ }
63
+ };
64
+ //# sourceMappingURL=erspan-ip6erspan.schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"erspan-ip6erspan.schema.js","sourceRoot":"","sources":["../../../../src/commands/link/virtual-link-types/erspan-ip6erspan.schema.ts"],"names":[],"mappings":";;;AAEA,yDAAsE;AAGzD,QAAA,gCAAgC,GAAmD;IAC9F,IAAI,EAAkB,QAAQ;IAC9B,QAAQ,EAAc,CAAC,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,YAAY,CAAC;IACrE,oBAAoB,EAAE,KAAK;IAC3B,UAAU,EAAY;QACpB,MAAM,EAAiB;YACrB,IAAI,EAAI,QAAQ;YAChB,MAAM,EAAE,IAAI;SACb;QACD,KAAK,EAAkB;YACrB,IAAI,EAAI,QAAQ;YAChB,MAAM,EAAE,IAAI;SACb;QACD,GAAG,EAAoB;YACrB,IAAI,EAAE,SAAS;YACf,IAAI,EAAE,CAAC,IAAI,CAAC;SACb;QACD,GAAG,EAAoB;YACrB,IAAI,EAAK,SAAS;YAClB,OAAO,EAAE,CAAC;YACV,OAAO,EAAE,UAAU;SACpB;QACD,UAAU,EAAa;YACrB,IAAI,EAAK,SAAS;YAClB,OAAO,EAAE,CAAC;YACV,OAAO,EAAE,CAAC;SACX;QACD,MAAM,EAAiB;YACrB,IAAI,EAAM,SAAS;YACnB,OAAO,EAAG,CAAC;YACX,OAAO,EAAG,OAAO;YACjB,QAAQ,EAAE,IAAI;SACf;QACD,UAAU,EAAa;YACrB,IAAI,EAAM,QAAQ;YAClB,IAAI,EAAM,MAAM,CAAC,MAAM,CAAC,iCAAgB,CAAuB;YAC/D,QAAQ,EAAE,IAAI;SACf;QACD,WAAW,EAAY;YACrB,IAAI,EAAM,SAAS;YACnB,OAAO,EAAG,CAAC;YACX,OAAO,EAAG,EAAE;YACZ,QAAQ,EAAE,IAAI;SACf;QACD,mBAAmB,EAAI;YACrB,IAAI,EAAM,SAAS;YACnB,QAAQ,EAAE,IAAI;SACf;QACD,qBAAqB,EAAE;YACrB,IAAI,EAAM,SAAS;YACnB,QAAQ,EAAE,IAAI;SACf;QACD,QAAQ,EAAe;YACrB,IAAI,EAAM,SAAS;YACnB,IAAI,EAAM,CAAC,IAAI,CAAC;YAChB,QAAQ,EAAE,IAAI;SACf;KACF;CACF,CAAC"}
@@ -0,0 +1,54 @@
1
+ import { DontFragmentFlagValues } from '../../link.constants';
2
+ /**
3
+ * Add link geneve type arguments.
4
+ * @category Interfaces
5
+ */
6
+ export interface AddLinkGeneveTypeArgs {
7
+ /** Specifies the Virtual Network Identifier to use. */
8
+ id: number;
9
+ /** Specifies the unicast destination IP address to use in outgoing packets. */
10
+ remote: string;
11
+ /**
12
+ * Specifies the TTL value to use in outgoing packets.
13
+ * "0" or "auto" means use whatever default value, "inherit" means inherit
14
+ * the inner protocol's ttl.
15
+ *
16
+ * Default option is "0".
17
+ */
18
+ ttl?: number | string;
19
+ /** Specifies the TOS value to use in outgoing packets. */
20
+ tos?: number;
21
+ /**
22
+ * Specifies the usage of the Don't Fragment flag (DF) bit in outgoing packets with IPv4 headers.
23
+ *
24
+ * The value inherit causes the bit to be copied from the original IP header.
25
+ * The values unset and set cause the bit to be always unset or always set, respectively.
26
+ *
27
+ * By default, the bit is not set.
28
+ */
29
+ df?: DontFragmentFlagValues;
30
+ /** Specifies the flow label to use in outgoing packets. */
31
+ flowlabel?: number;
32
+ /** Select a destination port other than the default of 6081. */
33
+ dstport?: number;
34
+ /**
35
+ * Make this tunnel externally controlled (or not, which is the default).
36
+ * This flag is mutually exclusive with the {@link id}, {@link remote}, {@link ttl}, {@link tos} and
37
+ * {@link flowlabel} options.
38
+ */
39
+ external?: boolean;
40
+ /** @see {@link external} */
41
+ noexternal?: boolean;
42
+ /** Specifies if UDP checksum is calculated for transmitted packets over IPv4. */
43
+ udpcsum?: boolean;
44
+ /** @see {@link udpcsum} */
45
+ noudpcsum?: boolean;
46
+ /** Skip UDP checksum calculation for transmitted packets over IPv6. */
47
+ udp6zerocsumtx?: boolean;
48
+ /** @see {@link udp6zerocsumtx} */
49
+ noudp6zerocsumtx?: boolean;
50
+ /** Allow incoming UDP packets over IPv6 with zero checksum field. */
51
+ udp6zerocsumrx?: boolean;
52
+ /** @see {@link udp6zerocsumrx} */
53
+ noudp6zerocsumrx?: boolean;
54
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=geneve.interfaces.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"geneve.interfaces.js","sourceRoot":"","sources":["../../../../src/commands/link/virtual-link-types/geneve.interfaces.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ import { JSONSchemaType } from 'ajv';
2
+ import { AddLinkGeneveTypeArgs } from './geneve.interfaces';
3
+ export declare const AddLinkGeneveArgsSchema: JSONSchemaType<AddLinkGeneveTypeArgs>;
@@ -0,0 +1,93 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AddLinkGeneveArgsSchema = void 0;
4
+ const link_constants_1 = require("../../link.constants");
5
+ exports.AddLinkGeneveArgsSchema = {
6
+ type: 'object',
7
+ required: ['id', 'remote'],
8
+ additionalProperties: false,
9
+ properties: {
10
+ id: {
11
+ type: 'integer',
12
+ minimum: 0,
13
+ maximum: 16777215
14
+ },
15
+ remote: {
16
+ type: 'string',
17
+ format: 'ip'
18
+ },
19
+ ttl: {
20
+ type: ['string', 'integer'],
21
+ nullable: true,
22
+ oneOf: [
23
+ {
24
+ type: 'string',
25
+ enum: Object.values(link_constants_1.TtlSpecialValues),
26
+ nullable: true
27
+ },
28
+ {
29
+ type: 'integer',
30
+ minimum: 0,
31
+ maximum: 255,
32
+ nullable: true
33
+ }
34
+ ]
35
+ },
36
+ tos: {
37
+ type: 'integer',
38
+ nullable: true,
39
+ minimum: 0,
40
+ maximum: 63
41
+ },
42
+ df: {
43
+ type: 'string',
44
+ enum: Object.values(link_constants_1.DontFragmentFlagValues),
45
+ nullable: true
46
+ },
47
+ flowlabel: {
48
+ type: 'integer',
49
+ minimum: 0,
50
+ maximum: 1048575,
51
+ nullable: true
52
+ },
53
+ dstport: {
54
+ type: 'integer',
55
+ nullable: true,
56
+ minimum: 1,
57
+ maximum: 65535
58
+ },
59
+ external: {
60
+ type: 'boolean',
61
+ nullable: true
62
+ },
63
+ noexternal: {
64
+ type: 'boolean',
65
+ nullable: true
66
+ },
67
+ udpcsum: {
68
+ type: 'boolean',
69
+ nullable: true
70
+ },
71
+ noudpcsum: {
72
+ type: 'boolean',
73
+ nullable: true
74
+ },
75
+ udp6zerocsumtx: {
76
+ type: 'boolean',
77
+ nullable: true
78
+ },
79
+ noudp6zerocsumtx: {
80
+ type: 'boolean',
81
+ nullable: true
82
+ },
83
+ udp6zerocsumrx: {
84
+ type: 'boolean',
85
+ nullable: true
86
+ },
87
+ noudp6zerocsumrx: {
88
+ type: 'boolean',
89
+ nullable: true
90
+ }
91
+ }
92
+ };
93
+ //# sourceMappingURL=geneve.schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"geneve.schema.js","sourceRoot":"","sources":["../../../../src/commands/link/virtual-link-types/geneve.schema.ts"],"names":[],"mappings":";;;AAEA,yDAAgF;AAGnE,QAAA,uBAAuB,GAA0C;IAC5E,IAAI,EAAkB,QAAQ;IAC9B,QAAQ,EAAc,CAAC,IAAI,EAAE,QAAQ,CAAC;IACtC,oBAAoB,EAAE,KAAK;IAC3B,UAAU,EAAY;QACpB,EAAE,EAAgB;YAChB,IAAI,EAAK,SAAS;YAClB,OAAO,EAAE,CAAC;YACV,OAAO,EAAE,QAAQ;SAClB;QACD,MAAM,EAAY;YAChB,IAAI,EAAI,QAAQ;YAChB,MAAM,EAAE,IAAI;SACb;QACD,GAAG,EAAe;YAChB,IAAI,EAAM,CAAC,QAAQ,EAAE,SAAS,CAAC;YAC/B,QAAQ,EAAE,IAAI;YACd,KAAK,EAAK;gBACR;oBACE,IAAI,EAAM,QAAQ;oBAClB,IAAI,EAAM,MAAM,CAAC,MAAM,CAAC,iCAAgB,CAAuB;oBAC/D,QAAQ,EAAE,IAAI;iBACf;gBACD;oBACE,IAAI,EAAM,SAAS;oBACnB,OAAO,EAAG,CAAC;oBACX,OAAO,EAAG,GAAG;oBACb,QAAQ,EAAE,IAAI;iBACf;aACF;SACF;QACD,GAAG,EAAe;YAChB,IAAI,EAAM,SAAS;YACnB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAG,CAAC;YACX,OAAO,EAAG,EAAE;SACb;QACD,EAAE,EAAgB;YAChB,IAAI,EAAM,QAAQ;YAClB,IAAI,EAAM,MAAM,CAAC,MAAM,CAAC,uCAAsB,CAA6B;YAC3E,QAAQ,EAAE,IAAI;SACf;QACD,SAAS,EAAS;YAChB,IAAI,EAAM,SAAS;YACnB,OAAO,EAAG,CAAC;YACX,OAAO,EAAG,OAAO;YACjB,QAAQ,EAAE,IAAI;SACf;QACD,OAAO,EAAW;YAChB,IAAI,EAAM,SAAS;YACnB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAG,CAAC;YACX,OAAO,EAAG,KAAK;SAChB;QACD,QAAQ,EAAU;YAChB,IAAI,EAAM,SAAS;YACnB,QAAQ,EAAE,IAAI;SACf;QACD,UAAU,EAAQ;YAChB,IAAI,EAAM,SAAS;YACnB,QAAQ,EAAE,IAAI;SACf;QACD,OAAO,EAAW;YAChB,IAAI,EAAM,SAAS;YACnB,QAAQ,EAAE,IAAI;SACf;QACD,SAAS,EAAS;YAChB,IAAI,EAAM,SAAS;YACnB,QAAQ,EAAE,IAAI;SACf;QACD,cAAc,EAAI;YAChB,IAAI,EAAM,SAAS;YACnB,QAAQ,EAAE,IAAI;SACf;QACD,gBAAgB,EAAE;YAChB,IAAI,EAAM,SAAS;YACnB,QAAQ,EAAE,IAAI;SACf;QACD,cAAc,EAAI;YAChB,IAAI,EAAM,SAAS;YACnB,QAAQ,EAAE,IAAI;SACf;QACD,gBAAgB,EAAE;YAChB,IAAI,EAAM,SAAS;YACnB,QAAQ,EAAE,IAAI;SACf;KACF;CACF,CAAC"}
@@ -0,0 +1,106 @@
1
+ import { SecondaryUdpEncapsulations } from '../../link.constants';
2
+ /**
3
+ * Add link gre & gretap type arguments.
4
+ * @category Interfaces
5
+ */
6
+ export interface AddLinkGreGretapTypeArgs {
7
+ /** Specifies the remote address of the tunnel. */
8
+ remote: string;
9
+ /**
10
+ * Specifies the fixed local address for tunneled packets.
11
+ * It must be an address on another interface on this host.
12
+ */
13
+ local: string;
14
+ /**
15
+ * Serialize packets.
16
+ *
17
+ * The {@link seq} flag enables sequencing of both incoming and outgoing packets.
18
+ * The {@link oseq} flag enables sequencing of outgoing packets.
19
+ * The {@link iseq} flag requires that all input packets are serialized.
20
+ */
21
+ seq?: boolean;
22
+ /** @see {@link seq} */
23
+ iseq?: boolean;
24
+ /** @see {@link seq} */
25
+ noiseq?: boolean;
26
+ /** @see {@link seq} */
27
+ oseq?: boolean;
28
+ /** @see {@link seq} */
29
+ nooseq?: boolean;
30
+ /**
31
+ * Use keyed GRE with key KEY.
32
+ *
33
+ * KEY is either a number or an IPv4 address-like dotted quad.
34
+ * The {@link key} parameter specifies the same key to use in both directions.
35
+ * The {@link ikey} and {@link okey} parameters specify different keys for input and output.
36
+ */
37
+ key?: number | string;
38
+ /** @see {@link key} */
39
+ nokey?: true;
40
+ /** @see {@link key} */
41
+ ikey?: number | string;
42
+ /** @see {@link key} */
43
+ noikey?: true;
44
+ /** @see {@link key} */
45
+ okey?: number | string;
46
+ /** @see {@link key} */
47
+ nookey?: true;
48
+ /**
49
+ * Generate/require checksums for tunneled packets.
50
+ *
51
+ * The {@link ocsum} flag calculates checksums for outgoing packets.
52
+ * The {@link icsum} flag requires that all input packets have the correct checksum.
53
+ * The {@link csum} flag is equivalent to the combination {@link icsum} {@link ocsum} .
54
+ */
55
+ csum?: boolean;
56
+ /** @see {@link csum} */
57
+ icsum?: boolean;
58
+ /** @see {@link csum} */
59
+ noicsum?: boolean;
60
+ /** @see {@link csum} */
61
+ ocsum?: boolean;
62
+ /** @see {@link csum} */
63
+ noocsum?: boolean;
64
+ /** Specifies the TTL value to use in outgoing packets. */
65
+ ttl?: number;
66
+ /** Specifies the TOS value to use in outgoing packets. */
67
+ tos?: number;
68
+ /**
69
+ * Enables/disables Path MTU Discovery on this tunnel. It is enabled by default.
70
+ * Note that a fixed {@link ttl} is incompatible with this option:
71
+ * tunneling with a fixed {@link ttl} always makes pmtu discovery.
72
+ */
73
+ pmtudisc?: boolean;
74
+ /** @see {@link pmtudisc} */
75
+ nopmtudisc?: boolean;
76
+ /**
77
+ * Enables/disables IPv4 DF suppression on this tunnel.
78
+ * Normally datagrams that exceed the MTU will be fragmented; the presence of the DF flag
79
+ * inhibits this, resulting instead in an ICMP Unreachable (Fragmentation Required) message.
80
+ * Enabling this attribute causes the DF flag to be ignored.
81
+ */
82
+ 'ignore-df'?: boolean;
83
+ /** @see {@link['ignore-df']} */
84
+ 'noignore-df'?: boolean;
85
+ /** Specifies the physical device to use for tunnel endpoint communication. */
86
+ dev?: string;
87
+ /** @see SecondaryUdpEncapsulations */
88
+ encap?: SecondaryUdpEncapsulations;
89
+ /** @see {@link AddLinkIpipSitTypeArgs['encap-sport'] } */
90
+ 'encap-sport'?: number | 'auto';
91
+ /** TODO: No doc in man. */
92
+ 'encap-dport'?: number;
93
+ /** Specifies if UDP checksums are enabled in the secondary encapsulation. */
94
+ 'encap-csum'?: boolean;
95
+ /** @see {@link['encap-csum']} */
96
+ 'noencap-csum'?: boolean;
97
+ /**
98
+ * Specifies if Remote Checksum Offload is enabled.
99
+ * This is only applicable for Generic UDP Encapsulation.
100
+ */
101
+ 'encap-remcsum'?: boolean;
102
+ /** @see {@link['encap-remcsum']} */
103
+ 'noencap-remcsum'?: boolean;
104
+ /** Make this tunnel externally controlled (e.g. `ip route encap`). */
105
+ external?: true;
106
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=gre-gretap.interfaces.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gre-gretap.interfaces.js","sourceRoot":"","sources":["../../../../src/commands/link/virtual-link-types/gre-gretap.interfaces.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ import { JSONSchemaType } from 'ajv';
2
+ import { AddLinkGreGretapTypeArgs } from './gre-gretap.interfaces';
3
+ export declare const AddGreGretapArgsSchema: JSONSchemaType<AddLinkGreGretapTypeArgs>;