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.
- package/LICENSE +22 -0
- package/README.md +245 -0
- package/lib/commands/address/add.interfaces.d.ts +94 -0
- package/lib/commands/address/add.interfaces.js +3 -0
- package/lib/commands/address/add.interfaces.js.map +1 -0
- package/lib/commands/address/add.schema.d.ts +3 -0
- package/lib/commands/address/add.schema.js +121 -0
- package/lib/commands/address/add.schema.js.map +1 -0
- package/lib/commands/address/delete.interfaces.d.ts +56 -0
- package/lib/commands/address/delete.interfaces.js +3 -0
- package/lib/commands/address/delete.interfaces.js.map +1 -0
- package/lib/commands/address/delete.schema.d.ts +3 -0
- package/lib/commands/address/delete.schema.js +64 -0
- package/lib/commands/address/delete.schema.js.map +1 -0
- package/lib/commands/address/flush.interfaces.d.ts +89 -0
- package/lib/commands/address/flush.interfaces.js +3 -0
- package/lib/commands/address/flush.interfaces.js.map +1 -0
- package/lib/commands/address/flush.schema.d.ts +3 -0
- package/lib/commands/address/flush.schema.js +165 -0
- package/lib/commands/address/flush.schema.js.map +1 -0
- package/lib/commands/address/show.interfaces.d.ts +166 -0
- package/lib/commands/address/show.interfaces.js +3 -0
- package/lib/commands/address/show.interfaces.js.map +1 -0
- package/lib/commands/address/show.schema.d.ts +3 -0
- package/lib/commands/address/show.schema.js +176 -0
- package/lib/commands/address/show.schema.js.map +1 -0
- package/lib/commands/address.constants.d.ts +33 -0
- package/lib/commands/address.constants.js +39 -0
- package/lib/commands/address.constants.js.map +1 -0
- package/lib/commands/address.d.ts +179 -0
- package/lib/commands/address.js +265 -0
- package/lib/commands/address.js.map +1 -0
- package/lib/commands/addrlabel/add.interfaces.d.ts +12 -0
- package/lib/commands/addrlabel/add.interfaces.js +3 -0
- package/lib/commands/addrlabel/add.interfaces.js.map +1 -0
- package/lib/commands/addrlabel/add.schema.d.ts +3 -0
- package/lib/commands/addrlabel/add.schema.js +26 -0
- package/lib/commands/addrlabel/add.schema.js.map +1 -0
- package/lib/commands/addrlabel/del.interfaces.d.ts +6 -0
- package/lib/commands/addrlabel/del.interfaces.js +3 -0
- package/lib/commands/addrlabel/del.interfaces.js.map +1 -0
- package/lib/commands/addrlabel/del.schema.d.ts +3 -0
- package/lib/commands/addrlabel/del.schema.js +27 -0
- package/lib/commands/addrlabel/del.schema.js.map +1 -0
- package/lib/commands/addrlabel/list.interfaces.d.ts +9 -0
- package/lib/commands/addrlabel/list.interfaces.js +3 -0
- package/lib/commands/addrlabel/list.interfaces.js.map +1 -0
- package/lib/commands/addrlabel.d.ts +104 -0
- package/lib/commands/addrlabel.js +149 -0
- package/lib/commands/addrlabel.js.map +1 -0
- package/lib/commands/batch.d.ts +60 -0
- package/lib/commands/batch.js +90 -0
- package/lib/commands/batch.js.map +1 -0
- package/lib/commands/link/add.interfaces.d.ts +122 -0
- package/lib/commands/link/add.interfaces.js +4 -0
- package/lib/commands/link/add.interfaces.js.map +1 -0
- package/lib/commands/link/add.schema.d.ts +4 -0
- package/lib/commands/link/add.schema.js +172 -0
- package/lib/commands/link/add.schema.js.map +1 -0
- package/lib/commands/link/delete.interfaces.d.ts +22 -0
- package/lib/commands/link/delete.interfaces.js +3 -0
- package/lib/commands/link/delete.interfaces.js.map +1 -0
- package/lib/commands/link/delete.schema.d.ts +3 -0
- package/lib/commands/link/delete.schema.js +29 -0
- package/lib/commands/link/delete.schema.js.map +1 -0
- package/lib/commands/link/extended-virtual-link-types/bond-slave.interfaces.d.ts +8 -0
- package/lib/commands/link/extended-virtual-link-types/bond-slave.interfaces.js +3 -0
- package/lib/commands/link/extended-virtual-link-types/bond-slave.interfaces.js.map +1 -0
- package/lib/commands/link/extended-virtual-link-types/bond-slave.schema.d.ts +3 -0
- package/lib/commands/link/extended-virtual-link-types/bond-slave.schema.js +16 -0
- package/lib/commands/link/extended-virtual-link-types/bond-slave.schema.js.map +1 -0
- package/lib/commands/link/extended-virtual-link-types/bridge-slave.interfaces.d.ts +77 -0
- package/lib/commands/link/extended-virtual-link-types/bridge-slave.interfaces.js +3 -0
- package/lib/commands/link/extended-virtual-link-types/bridge-slave.interfaces.js.map +1 -0
- package/lib/commands/link/extended-virtual-link-types/bridge-slave.schema.d.ts +3 -0
- package/lib/commands/link/extended-virtual-link-types/bridge-slave.schema.js +126 -0
- package/lib/commands/link/extended-virtual-link-types/bridge-slave.schema.js.map +1 -0
- package/lib/commands/link/set.interfaces.d.ts +271 -0
- package/lib/commands/link/set.interfaces.js +4 -0
- package/lib/commands/link/set.interfaces.js.map +1 -0
- package/lib/commands/link/set.schema.d.ts +5 -0
- package/lib/commands/link/set.schema.js +284 -0
- package/lib/commands/link/set.schema.js.map +1 -0
- package/lib/commands/link/show.interfaces.d.ts +116 -0
- package/lib/commands/link/show.interfaces.js +3 -0
- package/lib/commands/link/show.interfaces.js.map +1 -0
- package/lib/commands/link/show.schema.d.ts +3 -0
- package/lib/commands/link/show.schema.js +43 -0
- package/lib/commands/link/show.schema.js.map +1 -0
- package/lib/commands/link/virtual-link-types/bareup.interfaces.d.ts +30 -0
- package/lib/commands/link/virtual-link-types/bareup.interfaces.js +3 -0
- package/lib/commands/link/virtual-link-types/bareup.interfaces.js.map +1 -0
- package/lib/commands/link/virtual-link-types/bareup.schema.d.ts +3 -0
- package/lib/commands/link/virtual-link-types/bareup.schema.js +43 -0
- package/lib/commands/link/virtual-link-types/bareup.schema.js.map +1 -0
- package/lib/commands/link/virtual-link-types/bridge.interfaces.d.ts +140 -0
- package/lib/commands/link/virtual-link-types/bridge.interfaces.js +3 -0
- package/lib/commands/link/virtual-link-types/bridge.interfaces.js.map +1 -0
- package/lib/commands/link/virtual-link-types/bridge.schema.d.ts +3 -0
- package/lib/commands/link/virtual-link-types/bridge.schema.js +186 -0
- package/lib/commands/link/virtual-link-types/bridge.schema.js.map +1 -0
- package/lib/commands/link/virtual-link-types/can.interfaces.d.ts +71 -0
- package/lib/commands/link/virtual-link-types/can.interfaces.js +3 -0
- package/lib/commands/link/virtual-link-types/can.interfaces.js.map +1 -0
- package/lib/commands/link/virtual-link-types/can.schema.d.ts +3 -0
- package/lib/commands/link/virtual-link-types/can.schema.js +141 -0
- package/lib/commands/link/virtual-link-types/can.schema.js.map +1 -0
- package/lib/commands/link/virtual-link-types/erspan-ip6erspan.interfaces.d.ts +58 -0
- package/lib/commands/link/virtual-link-types/erspan-ip6erspan.interfaces.js +3 -0
- package/lib/commands/link/virtual-link-types/erspan-ip6erspan.interfaces.js.map +1 -0
- package/lib/commands/link/virtual-link-types/erspan-ip6erspan.schema.d.ts +3 -0
- package/lib/commands/link/virtual-link-types/erspan-ip6erspan.schema.js +64 -0
- package/lib/commands/link/virtual-link-types/erspan-ip6erspan.schema.js.map +1 -0
- package/lib/commands/link/virtual-link-types/geneve.interfaces.d.ts +54 -0
- package/lib/commands/link/virtual-link-types/geneve.interfaces.js +3 -0
- package/lib/commands/link/virtual-link-types/geneve.interfaces.js.map +1 -0
- package/lib/commands/link/virtual-link-types/geneve.schema.d.ts +3 -0
- package/lib/commands/link/virtual-link-types/geneve.schema.js +93 -0
- package/lib/commands/link/virtual-link-types/geneve.schema.js.map +1 -0
- package/lib/commands/link/virtual-link-types/gre-gretap.interfaces.d.ts +106 -0
- package/lib/commands/link/virtual-link-types/gre-gretap.interfaces.js +3 -0
- package/lib/commands/link/virtual-link-types/gre-gretap.interfaces.js.map +1 -0
- package/lib/commands/link/virtual-link-types/gre-gretap.schema.d.ts +3 -0
- package/lib/commands/link/virtual-link-types/gre-gretap.schema.js +208 -0
- package/lib/commands/link/virtual-link-types/gre-gretap.schema.js.map +1 -0
- package/lib/commands/link/virtual-link-types/hsr.interfaces.d.ts +20 -0
- package/lib/commands/link/virtual-link-types/hsr.interfaces.js +3 -0
- package/lib/commands/link/virtual-link-types/hsr.interfaces.js.map +1 -0
- package/lib/commands/link/virtual-link-types/hsr.schema.d.ts +3 -0
- package/lib/commands/link/virtual-link-types/hsr.schema.js +36 -0
- package/lib/commands/link/virtual-link-types/hsr.schema.js.map +1 -0
- package/lib/commands/link/virtual-link-types/ip6gre-ip6gretap.interfaces.d.ts +80 -0
- package/lib/commands/link/virtual-link-types/ip6gre-ip6gretap.interfaces.js +3 -0
- package/lib/commands/link/virtual-link-types/ip6gre-ip6gretap.interfaces.js.map +1 -0
- package/lib/commands/link/virtual-link-types/ip6gre-ip6gretap.schema.d.ts +3 -0
- package/lib/commands/link/virtual-link-types/ip6gre-ip6gretap.schema.js +170 -0
- package/lib/commands/link/virtual-link-types/ip6gre-ip6gretap.schema.js.map +1 -0
- package/lib/commands/link/virtual-link-types/ipip-sit.interfaces.d.ts +51 -0
- package/lib/commands/link/virtual-link-types/ipip-sit.interfaces.js +3 -0
- package/lib/commands/link/virtual-link-types/ipip-sit.interfaces.js.map +1 -0
- package/lib/commands/link/virtual-link-types/ipip-sit.schema.d.ts +3 -0
- package/lib/commands/link/virtual-link-types/ipip-sit.schema.js +74 -0
- package/lib/commands/link/virtual-link-types/ipip-sit.schema.js.map +1 -0
- package/lib/commands/link/virtual-link-types/ipoib.interfaces.d.ts +11 -0
- package/lib/commands/link/virtual-link-types/ipoib.interfaces.js +3 -0
- package/lib/commands/link/virtual-link-types/ipoib.interfaces.js.map +1 -0
- package/lib/commands/link/virtual-link-types/ipoib.schema.d.ts +3 -0
- package/lib/commands/link/virtual-link-types/ipoib.schema.js +22 -0
- package/lib/commands/link/virtual-link-types/ipoib.schema.js.map +1 -0
- package/lib/commands/link/virtual-link-types/macsec.interfaces.d.ts +44 -0
- package/lib/commands/link/virtual-link-types/macsec.interfaces.js +3 -0
- package/lib/commands/link/virtual-link-types/macsec.interfaces.js.map +1 -0
- package/lib/commands/link/virtual-link-types/macsec.schema.d.ts +3 -0
- package/lib/commands/link/virtual-link-types/macsec.schema.js +87 -0
- package/lib/commands/link/virtual-link-types/macsec.schema.js.map +1 -0
- package/lib/commands/link/virtual-link-types/macvlan-macvtap.interfaces.d.ts +59 -0
- package/lib/commands/link/virtual-link-types/macvlan-macvtap.interfaces.js +3 -0
- package/lib/commands/link/virtual-link-types/macvlan-macvtap.interfaces.js.map +1 -0
- package/lib/commands/link/virtual-link-types/macvlan-macvtap.schema.d.ts +4 -0
- package/lib/commands/link/virtual-link-types/macvlan-macvtap.schema.js +60 -0
- package/lib/commands/link/virtual-link-types/macvlan-macvtap.schema.js.map +1 -0
- package/lib/commands/link/virtual-link-types/rmnet.interfaces.d.ts +8 -0
- package/lib/commands/link/virtual-link-types/rmnet.interfaces.js +3 -0
- package/lib/commands/link/virtual-link-types/rmnet.interfaces.js.map +1 -0
- package/lib/commands/link/virtual-link-types/rmnet.schema.d.ts +3 -0
- package/lib/commands/link/virtual-link-types/rmnet.schema.js +16 -0
- package/lib/commands/link/virtual-link-types/rmnet.schema.js.map +1 -0
- package/lib/commands/link/virtual-link-types/veth-vxcan.interfaces.d.ts +8 -0
- package/lib/commands/link/virtual-link-types/veth-vxcan.interfaces.js +3 -0
- package/lib/commands/link/virtual-link-types/veth-vxcan.interfaces.js.map +1 -0
- package/lib/commands/link/virtual-link-types/veth-vxcan.schema.d.ts +3 -0
- package/lib/commands/link/virtual-link-types/veth-vxcan.schema.js +16 -0
- package/lib/commands/link/virtual-link-types/veth-vxcan.schema.js.map +1 -0
- package/lib/commands/link/virtual-link-types/vlan.interfaces.d.ts +36 -0
- package/lib/commands/link/virtual-link-types/vlan.interfaces.js +3 -0
- package/lib/commands/link/virtual-link-types/vlan.interfaces.js.map +1 -0
- package/lib/commands/link/virtual-link-types/vlan.schema.d.ts +3 -0
- package/lib/commands/link/virtual-link-types/vlan.schema.js +65 -0
- package/lib/commands/link/virtual-link-types/vlan.schema.js.map +1 -0
- package/lib/commands/link/virtual-link-types/vrf.interfaces.d.ts +8 -0
- package/lib/commands/link/virtual-link-types/vrf.interfaces.js +3 -0
- package/lib/commands/link/virtual-link-types/vrf.interfaces.js.map +1 -0
- package/lib/commands/link/virtual-link-types/vrf.schema.d.ts +3 -0
- package/lib/commands/link/virtual-link-types/vrf.schema.js +16 -0
- package/lib/commands/link/virtual-link-types/vrf.schema.js.map +1 -0
- package/lib/commands/link/virtual-link-types/vxlan.interfaces.d.ts +127 -0
- package/lib/commands/link/virtual-link-types/vxlan.interfaces.js +3 -0
- package/lib/commands/link/virtual-link-types/vxlan.interfaces.js.map +1 -0
- package/lib/commands/link/virtual-link-types/vxlan.schema.d.ts +3 -0
- package/lib/commands/link/virtual-link-types/vxlan.schema.js +176 -0
- package/lib/commands/link/virtual-link-types/vxlan.schema.js.map +1 -0
- package/lib/commands/link/virtual-link-types/xfrm.interfaces.d.ts +16 -0
- package/lib/commands/link/virtual-link-types/xfrm.interfaces.js +3 -0
- package/lib/commands/link/virtual-link-types/xfrm.interfaces.js.map +1 -0
- package/lib/commands/link/virtual-link-types/xfrm.schema.d.ts +3 -0
- package/lib/commands/link/virtual-link-types/xfrm.schema.js +21 -0
- package/lib/commands/link/virtual-link-types/xfrm.schema.js.map +1 -0
- package/lib/commands/link/xdp-options/object.interfaces.d.ts +36 -0
- package/lib/commands/link/xdp-options/object.interfaces.js +3 -0
- package/lib/commands/link/xdp-options/object.interfaces.js.map +1 -0
- package/lib/commands/link/xdp-options/object.schema.d.ts +3 -0
- package/lib/commands/link/xdp-options/object.schema.js +25 -0
- package/lib/commands/link/xdp-options/object.schema.js.map +1 -0
- package/lib/commands/link/xdp-options/off.interfaces.d.ts +8 -0
- package/lib/commands/link/xdp-options/off.interfaces.js +3 -0
- package/lib/commands/link/xdp-options/off.interfaces.js.map +1 -0
- package/lib/commands/link/xdp-options/off.schema.d.ts +3 -0
- package/lib/commands/link/xdp-options/off.schema.js +15 -0
- package/lib/commands/link/xdp-options/off.schema.js.map +1 -0
- package/lib/commands/link/xdp-options/pinned.interfaces.d.ts +13 -0
- package/lib/commands/link/xdp-options/pinned.interfaces.js +3 -0
- package/lib/commands/link/xdp-options/pinned.interfaces.js.map +1 -0
- package/lib/commands/link/xdp-options/pinned.schema.d.ts +3 -0
- package/lib/commands/link/xdp-options/pinned.schema.js +15 -0
- package/lib/commands/link/xdp-options/pinned.schema.js.map +1 -0
- package/lib/commands/link.constants.d.ts +425 -0
- package/lib/commands/link.constants.js +366 -0
- package/lib/commands/link.constants.js.map +1 -0
- package/lib/commands/link.d.ts +113 -0
- package/lib/commands/link.js +159 -0
- package/lib/commands/link.js.map +1 -0
- package/lib/commands/maddress/add.interfaces.d.ts +10 -0
- package/lib/commands/maddress/add.interfaces.js +3 -0
- package/lib/commands/maddress/add.interfaces.js.map +1 -0
- package/lib/commands/maddress/add.schema.d.ts +3 -0
- package/lib/commands/maddress/add.schema.js +22 -0
- package/lib/commands/maddress/add.schema.js.map +1 -0
- package/lib/commands/maddress/show.interfaces.d.ts +25 -0
- package/lib/commands/maddress/show.interfaces.js +3 -0
- package/lib/commands/maddress/show.interfaces.js.map +1 -0
- package/lib/commands/maddress/show.schema.d.ts +3 -0
- package/lib/commands/maddress/show.schema.js +17 -0
- package/lib/commands/maddress/show.schema.js.map +1 -0
- package/lib/commands/maddress.d.ts +82 -0
- package/lib/commands/maddress.js +121 -0
- package/lib/commands/maddress.js.map +1 -0
- package/lib/commands/monitor/monitor.interfaces.d.ts +24 -0
- package/lib/commands/monitor/monitor.interfaces.js +3 -0
- package/lib/commands/monitor/monitor.interfaces.js.map +1 -0
- package/lib/commands/monitor/monitor.schema.d.ts +3 -0
- package/lib/commands/monitor/monitor.schema.js +33 -0
- package/lib/commands/monitor/monitor.schema.js.map +1 -0
- package/lib/commands/monitor.constants.d.ts +17 -0
- package/lib/commands/monitor.constants.js +22 -0
- package/lib/commands/monitor.constants.js.map +1 -0
- package/lib/commands/monitor.d.ts +52 -0
- package/lib/commands/monitor.js +75 -0
- package/lib/commands/monitor.js.map +1 -0
- package/lib/commands/mroute/show.interfaces.d.ts +26 -0
- package/lib/commands/mroute/show.interfaces.js +3 -0
- package/lib/commands/mroute/show.interfaces.js.map +1 -0
- package/lib/commands/mroute/show.schema.d.ts +3 -0
- package/lib/commands/mroute/show.schema.js +44 -0
- package/lib/commands/mroute/show.schema.js.map +1 -0
- package/lib/commands/mroute.d.ts +29 -0
- package/lib/commands/mroute.js +53 -0
- package/lib/commands/mroute.js.map +1 -0
- package/lib/commands/neighbour/add.interfaces.d.ts +34 -0
- package/lib/commands/neighbour/add.interfaces.js +3 -0
- package/lib/commands/neighbour/add.interfaces.js.map +1 -0
- package/lib/commands/neighbour/add.schema.d.ts +3 -0
- package/lib/commands/neighbour/add.schema.js +49 -0
- package/lib/commands/neighbour/add.schema.js.map +1 -0
- package/lib/commands/neighbour/del.interfaces.d.ts +23 -0
- package/lib/commands/neighbour/del.interfaces.js +3 -0
- package/lib/commands/neighbour/del.interfaces.js.map +1 -0
- package/lib/commands/neighbour/del.schema.d.ts +3 -0
- package/lib/commands/neighbour/del.schema.js +37 -0
- package/lib/commands/neighbour/del.schema.js.map +1 -0
- package/lib/commands/neighbour/get.interfaces.d.ts +12 -0
- package/lib/commands/neighbour/get.interfaces.js +3 -0
- package/lib/commands/neighbour/get.interfaces.js.map +1 -0
- package/lib/commands/neighbour/get.schema.d.ts +3 -0
- package/lib/commands/neighbour/get.schema.js +26 -0
- package/lib/commands/neighbour/get.schema.js.map +1 -0
- package/lib/commands/neighbour/show.interfaces.d.ts +37 -0
- package/lib/commands/neighbour/show.interfaces.js +3 -0
- package/lib/commands/neighbour/show.interfaces.js.map +1 -0
- package/lib/commands/neighbour/show.schema.d.ts +3 -0
- package/lib/commands/neighbour/show.schema.js +39 -0
- package/lib/commands/neighbour/show.schema.js.map +1 -0
- package/lib/commands/neighbour.constants.d.ts +34 -0
- package/lib/commands/neighbour.constants.js +39 -0
- package/lib/commands/neighbour.constants.js.map +1 -0
- package/lib/commands/neighbour.d.ts +169 -0
- package/lib/commands/neighbour.js +238 -0
- package/lib/commands/neighbour.js.map +1 -0
- package/lib/commands/ntable/change.interfaces.d.ts +42 -0
- package/lib/commands/ntable/change.interfaces.js +3 -0
- package/lib/commands/ntable/change.interfaces.js.map +1 -0
- package/lib/commands/ntable/change.schema.d.ts +3 -0
- package/lib/commands/ntable/change.schema.js +101 -0
- package/lib/commands/ntable/change.schema.js.map +1 -0
- package/lib/commands/ntable/show.interfaces.d.ts +59 -0
- package/lib/commands/ntable/show.interfaces.js +3 -0
- package/lib/commands/ntable/show.interfaces.js.map +1 -0
- package/lib/commands/ntable/show.schema.d.ts +3 -0
- package/lib/commands/ntable/show.schema.js +22 -0
- package/lib/commands/ntable/show.schema.js.map +1 -0
- package/lib/commands/ntable.d.ts +43 -0
- package/lib/commands/ntable.js +75 -0
- package/lib/commands/ntable.js.map +1 -0
- package/lib/commands/route/add.interfaces.d.ts +261 -0
- package/lib/commands/route/add.interfaces.js +4 -0
- package/lib/commands/route/add.interfaces.js.map +1 -0
- package/lib/commands/route/add.schema.d.ts +3 -0
- package/lib/commands/route/add.schema.js +366 -0
- package/lib/commands/route/add.schema.js.map +1 -0
- package/lib/commands/route/encap-types/bpf.interfaces.d.ts +14 -0
- package/lib/commands/route/encap-types/bpf.interfaces.js +3 -0
- package/lib/commands/route/encap-types/bpf.interfaces.js.map +1 -0
- package/lib/commands/route/encap-types/bpf.schema.d.ts +3 -0
- package/lib/commands/route/encap-types/bpf.schema.js +31 -0
- package/lib/commands/route/encap-types/bpf.schema.js.map +1 -0
- package/lib/commands/route/encap-types/ioam6.interfaces.d.ts +19 -0
- package/lib/commands/route/encap-types/ioam6.interfaces.js +3 -0
- package/lib/commands/route/encap-types/ioam6.interfaces.js.map +1 -0
- package/lib/commands/route/encap-types/ioam6.schema.d.ts +3 -0
- package/lib/commands/route/encap-types/ioam6.schema.js +30 -0
- package/lib/commands/route/encap-types/ioam6.schema.js.map +1 -0
- package/lib/commands/route/encap-types/ip.interfaces.d.ts +17 -0
- package/lib/commands/route/encap-types/ip.interfaces.js +3 -0
- package/lib/commands/route/encap-types/ip.interfaces.js.map +1 -0
- package/lib/commands/route/encap-types/ip.schema.d.ts +3 -0
- package/lib/commands/route/encap-types/ip.schema.js +48 -0
- package/lib/commands/route/encap-types/ip.schema.js.map +1 -0
- package/lib/commands/route/encap-types/mpls.interfaces.d.ts +11 -0
- package/lib/commands/route/encap-types/mpls.interfaces.js +3 -0
- package/lib/commands/route/encap-types/mpls.interfaces.js.map +1 -0
- package/lib/commands/route/encap-types/mpls.schema.d.ts +3 -0
- package/lib/commands/route/encap-types/mpls.schema.js +46 -0
- package/lib/commands/route/encap-types/mpls.schema.js.map +1 -0
- package/lib/commands/route/encap-types/seg6.interfaces.d.ts +20 -0
- package/lib/commands/route/encap-types/seg6.interfaces.js +3 -0
- package/lib/commands/route/encap-types/seg6.interfaces.js.map +1 -0
- package/lib/commands/route/encap-types/seg6.schema.d.ts +3 -0
- package/lib/commands/route/encap-types/seg6.schema.js +38 -0
- package/lib/commands/route/encap-types/seg6.schema.js.map +1 -0
- package/lib/commands/route/encap-types/seg6local.interfaces.d.ts +76 -0
- package/lib/commands/route/encap-types/seg6local.interfaces.js +3 -0
- package/lib/commands/route/encap-types/seg6local.interfaces.js.map +1 -0
- package/lib/commands/route/encap-types/seg6local.schema.d.ts +6 -0
- package/lib/commands/route/encap-types/seg6local.schema.js +181 -0
- package/lib/commands/route/encap-types/seg6local.schema.js.map +1 -0
- package/lib/commands/route/get.interfaces.d.ts +37 -0
- package/lib/commands/route/get.interfaces.js +3 -0
- package/lib/commands/route/get.interfaces.js.map +1 -0
- package/lib/commands/route/get.schema.d.ts +3 -0
- package/lib/commands/route/get.schema.js +86 -0
- package/lib/commands/route/get.schema.js.map +1 -0
- package/lib/commands/route/show.constants.d.ts +105 -0
- package/lib/commands/route/show.constants.js +112 -0
- package/lib/commands/route/show.constants.js.map +1 -0
- package/lib/commands/route/show.interfaces.d.ts +96 -0
- package/lib/commands/route/show.interfaces.js +3 -0
- package/lib/commands/route/show.interfaces.js.map +1 -0
- package/lib/commands/route/show.schema.d.ts +3 -0
- package/lib/commands/route/show.schema.js +161 -0
- package/lib/commands/route/show.schema.js.map +1 -0
- package/lib/commands/route.constants.d.ts +129 -0
- package/lib/commands/route.constants.js +136 -0
- package/lib/commands/route.constants.js.map +1 -0
- package/lib/commands/route.d.ts +268 -0
- package/lib/commands/route.js +362 -0
- package/lib/commands/route.js.map +1 -0
- package/lib/commands/rule/add.interfaces.d.ts +41 -0
- package/lib/commands/rule/add.interfaces.js +3 -0
- package/lib/commands/rule/add.interfaces.js.map +1 -0
- package/lib/commands/rule/add.schema.d.ts +3 -0
- package/lib/commands/rule/add.schema.js +182 -0
- package/lib/commands/rule/add.schema.js.map +1 -0
- package/lib/commands/rule/show.interfaces.d.ts +86 -0
- package/lib/commands/rule/show.interfaces.js +3 -0
- package/lib/commands/rule/show.interfaces.js.map +1 -0
- package/lib/commands/rule/show.schema.d.ts +3 -0
- package/lib/commands/rule/show.schema.js +157 -0
- package/lib/commands/rule/show.schema.js.map +1 -0
- package/lib/commands/rule.constants.d.ts +34 -0
- package/lib/commands/rule.constants.js +40 -0
- package/lib/commands/rule.constants.js.map +1 -0
- package/lib/commands/rule.d.ts +143 -0
- package/lib/commands/rule.js +205 -0
- package/lib/commands/rule.js.map +1 -0
- package/lib/commands/tunnel/6rd.interfaces.d.ts +17 -0
- package/lib/commands/tunnel/6rd.interfaces.js +3 -0
- package/lib/commands/tunnel/6rd.interfaces.js.map +1 -0
- package/lib/commands/tunnel/6rd.schema.d.ts +3 -0
- package/lib/commands/tunnel/6rd.schema.js +33 -0
- package/lib/commands/tunnel/6rd.schema.js.map +1 -0
- package/lib/commands/tunnel/add.interfaces.d.ts +124 -0
- package/lib/commands/tunnel/add.interfaces.js +3 -0
- package/lib/commands/tunnel/add.interfaces.js.map +1 -0
- package/lib/commands/tunnel/add.schema.d.ts +3 -0
- package/lib/commands/tunnel/add.schema.js +213 -0
- package/lib/commands/tunnel/add.schema.js.map +1 -0
- package/lib/commands/tunnel/prl.interfaces.d.ts +17 -0
- package/lib/commands/tunnel/prl.interfaces.js +3 -0
- package/lib/commands/tunnel/prl.interfaces.js.map +1 -0
- package/lib/commands/tunnel/prl.schema.d.ts +3 -0
- package/lib/commands/tunnel/prl.schema.js +34 -0
- package/lib/commands/tunnel/prl.schema.js.map +1 -0
- package/lib/commands/tunnel.constants.d.ts +23 -0
- package/lib/commands/tunnel.constants.js +24 -0
- package/lib/commands/tunnel.constants.js.map +1 -0
- package/lib/commands/tunnel.d.ts +151 -0
- package/lib/commands/tunnel.js +210 -0
- package/lib/commands/tunnel.js.map +1 -0
- package/lib/commands/tuntap/add.interfaces.d.ts +25 -0
- package/lib/commands/tuntap/add.interfaces.js +3 -0
- package/lib/commands/tuntap/add.interfaces.js.map +1 -0
- package/lib/commands/tuntap/add.schema.d.ts +3 -0
- package/lib/commands/tuntap/add.schema.js +77 -0
- package/lib/commands/tuntap/add.schema.js.map +1 -0
- package/lib/commands/tuntap/show.interfaces.d.ts +17 -0
- package/lib/commands/tuntap/show.interfaces.js +3 -0
- package/lib/commands/tuntap/show.interfaces.js.map +1 -0
- package/lib/commands/tuntap/show.schema.d.ts +3 -0
- package/lib/commands/tuntap/show.schema.js +80 -0
- package/lib/commands/tuntap/show.schema.js.map +1 -0
- package/lib/commands/tuntap.constants.d.ts +8 -0
- package/lib/commands/tuntap.constants.js +13 -0
- package/lib/commands/tuntap.constants.js.map +1 -0
- package/lib/commands/tuntap.d.ts +83 -0
- package/lib/commands/tuntap.js +121 -0
- package/lib/commands/tuntap.js.map +1 -0
- package/lib/common/classes/command-with-filepath.d.ts +16 -0
- package/lib/common/classes/command-with-filepath.js +53 -0
- package/lib/common/classes/command-with-filepath.js.map +1 -0
- package/lib/common/classes/command-with-redirect-from-filepath-and-returned-data.d.ts +15 -0
- package/lib/common/classes/command-with-redirect-from-filepath-and-returned-data.js +45 -0
- package/lib/common/classes/command-with-redirect-from-filepath-and-returned-data.js.map +1 -0
- package/lib/common/classes/command-with-redirect-from-filepath.d.ts +16 -0
- package/lib/common/classes/command-with-redirect-from-filepath.js +53 -0
- package/lib/common/classes/command-with-redirect-from-filepath.js.map +1 -0
- package/lib/common/classes/command-with-redirect-to-filepath.d.ts +16 -0
- package/lib/common/classes/command-with-redirect-to-filepath.js +53 -0
- package/lib/common/classes/command-with-redirect-to-filepath.js.map +1 -0
- package/lib/common/classes/command-with-returned-data.d.ts +15 -0
- package/lib/common/classes/command-with-returned-data.js +45 -0
- package/lib/common/classes/command-with-returned-data.js.map +1 -0
- package/lib/common/classes/command-with-stdin.d.ts +16 -0
- package/lib/common/classes/command-with-stdin.js +53 -0
- package/lib/common/classes/command-with-stdin.js.map +1 -0
- package/lib/common/classes/command.d.ts +26 -0
- package/lib/common/classes/command.js +144 -0
- package/lib/common/classes/command.js.map +1 -0
- package/lib/common/classes/monitor-command.d.ts +30 -0
- package/lib/common/classes/monitor-command.js +108 -0
- package/lib/common/classes/monitor-command.js.map +1 -0
- package/lib/common/constants/attribute-values.d.ts +33 -0
- package/lib/common/constants/attribute-values.js +41 -0
- package/lib/common/constants/attribute-values.js.map +1 -0
- package/lib/common/constants/regexes.d.ts +34 -0
- package/lib/common/constants/regexes.js +38 -0
- package/lib/common/constants/regexes.js.map +1 -0
- package/lib/common/constants/schemas.d.ts +52 -0
- package/lib/common/constants/schemas.js +296 -0
- package/lib/common/constants/schemas.js.map +1 -0
- package/lib/common/constants/tests.d.ts +4 -0
- package/lib/common/constants/tests.js +9 -0
- package/lib/common/constants/tests.js.map +1 -0
- package/lib/common/errors/command.d.ts +11 -0
- package/lib/common/errors/command.js +20 -0
- package/lib/common/errors/command.js.map +1 -0
- package/lib/common/errors/parameters.d.ts +16 -0
- package/lib/common/errors/parameters.js +21 -0
- package/lib/common/errors/parameters.js.map +1 -0
- package/lib/common/interfaces/common.d.ts +115 -0
- package/lib/common/interfaces/common.js +3 -0
- package/lib/common/interfaces/common.js.map +1 -0
- package/lib/common/interfaces/monitor.d.ts +17 -0
- package/lib/common/interfaces/monitor.js +3 -0
- package/lib/common/interfaces/monitor.js.map +1 -0
- package/lib/common/interfaces/tests.d.ts +33 -0
- package/lib/common/interfaces/tests.js +3 -0
- package/lib/common/interfaces/tests.js.map +1 -0
- package/lib/common/misc.d.ts +4 -0
- package/lib/common/misc.js +18 -0
- package/lib/common/misc.js.map +1 -0
- package/lib/common/parse-output.d.ts +14 -0
- package/lib/common/parse-output.js +51 -0
- package/lib/common/parse-output.js.map +1 -0
- package/lib/common/validator.d.ts +3 -0
- package/lib/common/validator.js +45 -0
- package/lib/common/validator.js.map +1 -0
- package/lib/index.d.ts +400 -0
- package/lib/index.js +189 -0
- package/lib/index.js.map +1 -0
- package/lib/utils/index.d.ts +33 -0
- package/lib/utils/index.js +40 -0
- package/lib/utils/index.js.map +1 -0
- package/lib/utils/ip-forwarding.constants.d.ts +21 -0
- package/lib/utils/ip-forwarding.constants.js +27 -0
- package/lib/utils/ip-forwarding.constants.js.map +1 -0
- package/lib/utils/ip-forwarding.d.ts +103 -0
- package/lib/utils/ip-forwarding.js +149 -0
- package/lib/utils/ip-forwarding.js.map +1 -0
- package/lib/utils/routing-tables.constants.d.ts +7 -0
- package/lib/utils/routing-tables.constants.js +11 -0
- package/lib/utils/routing-tables.constants.js.map +1 -0
- package/lib/utils/routing-tables.d.ts +134 -0
- package/lib/utils/routing-tables.interfaces.d.ts +16 -0
- package/lib/utils/routing-tables.interfaces.js +3 -0
- package/lib/utils/routing-tables.interfaces.js.map +1 -0
- package/lib/utils/routing-tables.js +243 -0
- package/lib/utils/routing-tables.js.map +1 -0
- package/lib/utils/routing-tables.schemas.d.ts +3 -0
- package/lib/utils/routing-tables.schemas.js +22 -0
- package/lib/utils/routing-tables.schemas.js.map +1 -0
- package/package.json +92 -0
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AddGreGretapArgsSchema = void 0;
|
|
4
|
+
const link_constants_1 = require("../../link.constants");
|
|
5
|
+
exports.AddGreGretapArgsSchema = {
|
|
6
|
+
type: 'object',
|
|
7
|
+
required: ['remote', 'local'],
|
|
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
|
+
nullable: true
|
|
21
|
+
},
|
|
22
|
+
iseq: {
|
|
23
|
+
type: 'boolean',
|
|
24
|
+
nullable: true
|
|
25
|
+
},
|
|
26
|
+
noiseq: {
|
|
27
|
+
type: 'boolean',
|
|
28
|
+
nullable: true
|
|
29
|
+
},
|
|
30
|
+
oseq: {
|
|
31
|
+
type: 'boolean',
|
|
32
|
+
nullable: true
|
|
33
|
+
},
|
|
34
|
+
nooseq: {
|
|
35
|
+
type: 'boolean',
|
|
36
|
+
nullable: true
|
|
37
|
+
},
|
|
38
|
+
key: {
|
|
39
|
+
type: ['string', 'integer'],
|
|
40
|
+
nullable: true,
|
|
41
|
+
oneOf: [
|
|
42
|
+
{
|
|
43
|
+
type: 'string',
|
|
44
|
+
format: 'ipv4',
|
|
45
|
+
nullable: true
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
type: 'integer',
|
|
49
|
+
minimum: 0,
|
|
50
|
+
maximum: 4294967295,
|
|
51
|
+
nullable: true
|
|
52
|
+
}
|
|
53
|
+
]
|
|
54
|
+
},
|
|
55
|
+
nokey: {
|
|
56
|
+
type: 'boolean',
|
|
57
|
+
enum: [true],
|
|
58
|
+
nullable: true
|
|
59
|
+
},
|
|
60
|
+
ikey: {
|
|
61
|
+
type: ['string', 'integer'],
|
|
62
|
+
nullable: true,
|
|
63
|
+
oneOf: [
|
|
64
|
+
{
|
|
65
|
+
type: 'string',
|
|
66
|
+
format: 'ipv4',
|
|
67
|
+
nullable: true
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
type: 'integer',
|
|
71
|
+
minimum: 0,
|
|
72
|
+
maximum: 4294967295,
|
|
73
|
+
nullable: true
|
|
74
|
+
}
|
|
75
|
+
]
|
|
76
|
+
},
|
|
77
|
+
noikey: {
|
|
78
|
+
type: 'boolean',
|
|
79
|
+
enum: [true],
|
|
80
|
+
nullable: true
|
|
81
|
+
},
|
|
82
|
+
okey: {
|
|
83
|
+
type: ['string', 'integer'],
|
|
84
|
+
nullable: true,
|
|
85
|
+
oneOf: [
|
|
86
|
+
{
|
|
87
|
+
type: 'string',
|
|
88
|
+
format: 'ipv4',
|
|
89
|
+
nullable: true
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
type: 'integer',
|
|
93
|
+
minimum: 0,
|
|
94
|
+
maximum: 4294967295,
|
|
95
|
+
nullable: true
|
|
96
|
+
}
|
|
97
|
+
]
|
|
98
|
+
},
|
|
99
|
+
nookey: {
|
|
100
|
+
type: 'boolean',
|
|
101
|
+
enum: [true],
|
|
102
|
+
nullable: true
|
|
103
|
+
},
|
|
104
|
+
csum: {
|
|
105
|
+
type: 'boolean',
|
|
106
|
+
nullable: true
|
|
107
|
+
},
|
|
108
|
+
icsum: {
|
|
109
|
+
type: 'boolean',
|
|
110
|
+
nullable: true
|
|
111
|
+
},
|
|
112
|
+
noicsum: {
|
|
113
|
+
type: 'boolean',
|
|
114
|
+
nullable: true
|
|
115
|
+
},
|
|
116
|
+
ocsum: {
|
|
117
|
+
type: 'boolean',
|
|
118
|
+
nullable: true
|
|
119
|
+
},
|
|
120
|
+
noocsum: {
|
|
121
|
+
type: 'boolean',
|
|
122
|
+
nullable: true
|
|
123
|
+
},
|
|
124
|
+
ttl: {
|
|
125
|
+
type: 'integer',
|
|
126
|
+
minimum: 0,
|
|
127
|
+
maximum: 255,
|
|
128
|
+
nullable: true
|
|
129
|
+
},
|
|
130
|
+
tos: {
|
|
131
|
+
type: 'integer',
|
|
132
|
+
nullable: true,
|
|
133
|
+
minimum: 0,
|
|
134
|
+
maximum: 255
|
|
135
|
+
},
|
|
136
|
+
pmtudisc: {
|
|
137
|
+
type: 'boolean',
|
|
138
|
+
nullable: true
|
|
139
|
+
},
|
|
140
|
+
nopmtudisc: {
|
|
141
|
+
type: 'boolean',
|
|
142
|
+
nullable: true
|
|
143
|
+
},
|
|
144
|
+
'ignore-df': {
|
|
145
|
+
type: 'boolean',
|
|
146
|
+
nullable: true
|
|
147
|
+
},
|
|
148
|
+
'noignore-df': {
|
|
149
|
+
type: 'boolean',
|
|
150
|
+
nullable: true
|
|
151
|
+
},
|
|
152
|
+
dev: {
|
|
153
|
+
type: 'string',
|
|
154
|
+
minLength: 1,
|
|
155
|
+
nullable: true
|
|
156
|
+
},
|
|
157
|
+
encap: {
|
|
158
|
+
type: 'string',
|
|
159
|
+
enum: Object.values(link_constants_1.SecondaryUdpEncapsulations),
|
|
160
|
+
nullable: true
|
|
161
|
+
},
|
|
162
|
+
'encap-sport': {
|
|
163
|
+
type: ['string', 'integer'],
|
|
164
|
+
nullable: true,
|
|
165
|
+
oneOf: [
|
|
166
|
+
{
|
|
167
|
+
type: 'string',
|
|
168
|
+
enum: ['auto'],
|
|
169
|
+
nullable: true
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
type: 'integer',
|
|
173
|
+
minimum: 0,
|
|
174
|
+
maximum: 65535,
|
|
175
|
+
nullable: true
|
|
176
|
+
}
|
|
177
|
+
]
|
|
178
|
+
},
|
|
179
|
+
'encap-dport': {
|
|
180
|
+
type: 'integer',
|
|
181
|
+
nullable: true,
|
|
182
|
+
minimum: 0,
|
|
183
|
+
maximum: 65535
|
|
184
|
+
},
|
|
185
|
+
'encap-csum': {
|
|
186
|
+
type: 'boolean',
|
|
187
|
+
nullable: true
|
|
188
|
+
},
|
|
189
|
+
'noencap-csum': {
|
|
190
|
+
type: 'boolean',
|
|
191
|
+
nullable: true
|
|
192
|
+
},
|
|
193
|
+
'encap-remcsum': {
|
|
194
|
+
type: 'boolean',
|
|
195
|
+
nullable: true
|
|
196
|
+
},
|
|
197
|
+
'noencap-remcsum': {
|
|
198
|
+
type: 'boolean',
|
|
199
|
+
nullable: true
|
|
200
|
+
},
|
|
201
|
+
external: {
|
|
202
|
+
type: 'boolean',
|
|
203
|
+
enum: [true],
|
|
204
|
+
nullable: true
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
};
|
|
208
|
+
//# sourceMappingURL=gre-gretap.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gre-gretap.schema.js","sourceRoot":"","sources":["../../../../src/commands/link/virtual-link-types/gre-gretap.schema.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { HsrProtocols, HsrVersions } from '../../link.constants';
|
|
2
|
+
/**
|
|
3
|
+
* Add link hsr type arguments.
|
|
4
|
+
* @category Interfaces
|
|
5
|
+
*/
|
|
6
|
+
export interface AddLinkHsrTypeArgs {
|
|
7
|
+
/** Specifies the physical device used for the first of the two ring ports. */
|
|
8
|
+
slave1: string;
|
|
9
|
+
/** Specifies the physical device used for the second of the two ring ports. */
|
|
10
|
+
slave2: string;
|
|
11
|
+
/**
|
|
12
|
+
* The last byte of the multicast address used for HSR supervision frames.
|
|
13
|
+
* Default option is "0", possible values 0-255.
|
|
14
|
+
*/
|
|
15
|
+
supervision?: number;
|
|
16
|
+
/** Selects the lowest value of the UDP tunnel source port range. */
|
|
17
|
+
version?: HsrVersions;
|
|
18
|
+
/** Selects the lowest value of the UDP tunnel source port range. */
|
|
19
|
+
proto?: HsrProtocols;
|
|
20
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hsr.interfaces.js","sourceRoot":"","sources":["../../../../src/commands/link/virtual-link-types/hsr.interfaces.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AddLinkHsrArgsSchema = void 0;
|
|
4
|
+
const link_constants_1 = require("../../link.constants");
|
|
5
|
+
exports.AddLinkHsrArgsSchema = {
|
|
6
|
+
type: 'object',
|
|
7
|
+
required: ['slave1', 'slave2'],
|
|
8
|
+
additionalProperties: false,
|
|
9
|
+
properties: {
|
|
10
|
+
slave1: {
|
|
11
|
+
type: 'string',
|
|
12
|
+
minLength: 1
|
|
13
|
+
},
|
|
14
|
+
slave2: {
|
|
15
|
+
type: 'string',
|
|
16
|
+
minLength: 1
|
|
17
|
+
},
|
|
18
|
+
supervision: {
|
|
19
|
+
type: 'integer',
|
|
20
|
+
minimum: 0,
|
|
21
|
+
maximum: 255,
|
|
22
|
+
nullable: true
|
|
23
|
+
},
|
|
24
|
+
version: {
|
|
25
|
+
type: 'integer',
|
|
26
|
+
enum: Object.values(link_constants_1.HsrVersions),
|
|
27
|
+
nullable: true
|
|
28
|
+
},
|
|
29
|
+
proto: {
|
|
30
|
+
type: 'integer',
|
|
31
|
+
enum: Object.values(link_constants_1.HsrProtocols),
|
|
32
|
+
nullable: true
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
//# sourceMappingURL=hsr.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hsr.schema.js","sourceRoot":"","sources":["../../../../src/commands/link/virtual-link-types/hsr.schema.ts"],"names":[],"mappings":";;;AAEA,yDAAiE;AAGpD,QAAA,oBAAoB,GAAuC;IACtE,IAAI,EAAkB,QAAQ;IAC9B,QAAQ,EAAc,CAAC,QAAQ,EAAE,QAAQ,CAAC;IAC1C,oBAAoB,EAAE,KAAK;IAC3B,UAAU,EAAY;QACpB,MAAM,EAAO;YACX,IAAI,EAAO,QAAQ;YACnB,SAAS,EAAE,CAAC;SACb;QACD,MAAM,EAAO;YACX,IAAI,EAAO,QAAQ;YACnB,SAAS,EAAE,CAAC;SACb;QACD,WAAW,EAAE;YACX,IAAI,EAAM,SAAS;YACnB,OAAO,EAAG,CAAC;YACX,OAAO,EAAG,GAAG;YACb,QAAQ,EAAE,IAAI;SACf;QACD,OAAO,EAAM;YACX,IAAI,EAAM,SAAS;YACnB,IAAI,EAAM,MAAM,CAAC,MAAM,CAAC,4BAAW,CAAkB;YACrD,QAAQ,EAAE,IAAI;SACf;QACD,KAAK,EAAQ;YACX,IAAI,EAAM,SAAS;YACnB,IAAI,EAAM,MAAM,CAAC,MAAM,CAAC,6BAAY,CAAmB;YACvD,QAAQ,EAAE,IAAI;SACf;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Add link IP6gre & greIp6tap type arguments.
|
|
3
|
+
* @category Interfaces
|
|
4
|
+
*/
|
|
5
|
+
export interface AddLinkIp6GreIp6gretapTypeArgs {
|
|
6
|
+
/** Specifies the remote address of the tunnel. */
|
|
7
|
+
remote: string;
|
|
8
|
+
/**
|
|
9
|
+
* Specifies the fixed local address for tunneled packets.
|
|
10
|
+
* It must be an address on another interface on this host.
|
|
11
|
+
*/
|
|
12
|
+
local: string;
|
|
13
|
+
/** @see {@link AddLinkGreGretapTypeArgs.seq} */
|
|
14
|
+
seq?: boolean;
|
|
15
|
+
/** @see {@link seq} */
|
|
16
|
+
iseq?: boolean;
|
|
17
|
+
/** @see {@link seq} */
|
|
18
|
+
noiseq?: boolean;
|
|
19
|
+
/** @see {@link seq} */
|
|
20
|
+
oseq?: boolean;
|
|
21
|
+
/** @see {@link seq} */
|
|
22
|
+
nooseq?: boolean;
|
|
23
|
+
/** @see {@link AddLinkGreGretapTypeArgs.key} */
|
|
24
|
+
key?: number | string;
|
|
25
|
+
/** @see {@link key} */
|
|
26
|
+
nokey?: true;
|
|
27
|
+
/** @see {@link key} */
|
|
28
|
+
ikey?: number | string;
|
|
29
|
+
/** @see {@link key} */
|
|
30
|
+
noikey?: true;
|
|
31
|
+
/** @see {@link key} */
|
|
32
|
+
okey?: number | string;
|
|
33
|
+
/** @see {@link key} */
|
|
34
|
+
nookey?: true;
|
|
35
|
+
/** @see {@link AddLinkGreGretapTypeArgs.csum} */
|
|
36
|
+
csum?: boolean;
|
|
37
|
+
/** @see {@link csum} */
|
|
38
|
+
icsum?: boolean;
|
|
39
|
+
/** @see {@link csum} */
|
|
40
|
+
noicsum?: boolean;
|
|
41
|
+
/** @see {@link csum} */
|
|
42
|
+
ocsum?: boolean;
|
|
43
|
+
/** @see {@link csum} */
|
|
44
|
+
noocsum?: boolean;
|
|
45
|
+
/** Specifies Hop Limit value to use in outgoing packets. */
|
|
46
|
+
hoplimit?: number;
|
|
47
|
+
/** Specifies a fixed encapsulation limit. Default is 4. */
|
|
48
|
+
encaplimit?: number;
|
|
49
|
+
/**
|
|
50
|
+
* TODO: Add a more suitable validator?
|
|
51
|
+
*
|
|
52
|
+
* Specifies the traffic class field on tunneled packets, which can be specified as
|
|
53
|
+
* either a two-digit hex value (e.g. `c0`) or a predefined string (e.g. `internet`).
|
|
54
|
+
*
|
|
55
|
+
* The value `inherit` causes the field to be copied from the original IP header.
|
|
56
|
+
*
|
|
57
|
+
* The values `inherit/STRING` or `inherit/00..ff` will set the field to `STRING` or
|
|
58
|
+
* `00..ff` when tunneling non-IP packets.
|
|
59
|
+
*
|
|
60
|
+
* The default value is `00`.
|
|
61
|
+
*/
|
|
62
|
+
tclass?: string;
|
|
63
|
+
/** Specifies a fixed flowlabel. */
|
|
64
|
+
flowlabel?: number;
|
|
65
|
+
'dscp inherit'?: true;
|
|
66
|
+
/** Specifies whether to allow remote endpoint to have an address configured on local host. */
|
|
67
|
+
'allow-localremote'?: boolean;
|
|
68
|
+
/** @see {@link['allow-localremote']} */
|
|
69
|
+
'noallow-localremote'?: boolean;
|
|
70
|
+
/** Specifies the physical device to use for tunnel endpoint communication. */
|
|
71
|
+
dev?: string;
|
|
72
|
+
/**
|
|
73
|
+
* Make this tunnel externally controlled (or not, which is the default).
|
|
74
|
+
* In the kernel, this is referred to as collect metadata mode.
|
|
75
|
+
*
|
|
76
|
+
* This flag is mutually exclusive with the {@link remote}, {@link local}, {@link seq}, {@link key},
|
|
77
|
+
* {@link csum}, {@link hoplimit}, {@link encaplimit}, {@link flowlabel} and {@link tclass} options.
|
|
78
|
+
*/
|
|
79
|
+
external?: true;
|
|
80
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ip6gre-ip6gretap.interfaces.js","sourceRoot":"","sources":["../../../../src/commands/link/virtual-link-types/ip6gre-ip6gretap.interfaces.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AddLinkIp6GreIp6GretapArgsSchema = void 0;
|
|
4
|
+
exports.AddLinkIp6GreIp6GretapArgsSchema = {
|
|
5
|
+
type: 'object',
|
|
6
|
+
required: ['remote', 'local'],
|
|
7
|
+
additionalProperties: false,
|
|
8
|
+
properties: {
|
|
9
|
+
remote: {
|
|
10
|
+
type: 'string',
|
|
11
|
+
format: 'ipv6'
|
|
12
|
+
},
|
|
13
|
+
local: {
|
|
14
|
+
type: 'string',
|
|
15
|
+
format: 'ipv6'
|
|
16
|
+
},
|
|
17
|
+
seq: {
|
|
18
|
+
type: 'boolean',
|
|
19
|
+
nullable: true
|
|
20
|
+
},
|
|
21
|
+
iseq: {
|
|
22
|
+
type: 'boolean',
|
|
23
|
+
nullable: true
|
|
24
|
+
},
|
|
25
|
+
noiseq: {
|
|
26
|
+
type: 'boolean',
|
|
27
|
+
nullable: true
|
|
28
|
+
},
|
|
29
|
+
oseq: {
|
|
30
|
+
type: 'boolean',
|
|
31
|
+
nullable: true
|
|
32
|
+
},
|
|
33
|
+
nooseq: {
|
|
34
|
+
type: 'boolean',
|
|
35
|
+
nullable: true
|
|
36
|
+
},
|
|
37
|
+
key: {
|
|
38
|
+
type: ['string', 'integer'],
|
|
39
|
+
nullable: true,
|
|
40
|
+
oneOf: [
|
|
41
|
+
{
|
|
42
|
+
type: 'string',
|
|
43
|
+
format: 'ipv4',
|
|
44
|
+
nullable: true
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
type: 'integer',
|
|
48
|
+
minimum: 0,
|
|
49
|
+
maximum: 4294967295,
|
|
50
|
+
nullable: true
|
|
51
|
+
}
|
|
52
|
+
]
|
|
53
|
+
},
|
|
54
|
+
nokey: {
|
|
55
|
+
type: 'boolean',
|
|
56
|
+
enum: [true],
|
|
57
|
+
nullable: true
|
|
58
|
+
},
|
|
59
|
+
ikey: {
|
|
60
|
+
type: ['string', 'integer'],
|
|
61
|
+
nullable: true,
|
|
62
|
+
oneOf: [
|
|
63
|
+
{
|
|
64
|
+
type: 'string',
|
|
65
|
+
format: 'ipv4',
|
|
66
|
+
nullable: true
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
type: 'integer',
|
|
70
|
+
minimum: 0,
|
|
71
|
+
maximum: 4294967295,
|
|
72
|
+
nullable: true
|
|
73
|
+
}
|
|
74
|
+
]
|
|
75
|
+
},
|
|
76
|
+
noikey: {
|
|
77
|
+
type: 'boolean',
|
|
78
|
+
enum: [true],
|
|
79
|
+
nullable: true
|
|
80
|
+
},
|
|
81
|
+
okey: {
|
|
82
|
+
type: ['string', 'integer'],
|
|
83
|
+
nullable: true,
|
|
84
|
+
oneOf: [
|
|
85
|
+
{
|
|
86
|
+
type: 'string',
|
|
87
|
+
format: 'ipv4',
|
|
88
|
+
nullable: true
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
type: 'integer',
|
|
92
|
+
minimum: 0,
|
|
93
|
+
maximum: 4294967295,
|
|
94
|
+
nullable: true
|
|
95
|
+
}
|
|
96
|
+
]
|
|
97
|
+
},
|
|
98
|
+
nookey: {
|
|
99
|
+
type: 'boolean',
|
|
100
|
+
enum: [true],
|
|
101
|
+
nullable: true
|
|
102
|
+
},
|
|
103
|
+
csum: {
|
|
104
|
+
type: 'boolean',
|
|
105
|
+
nullable: true
|
|
106
|
+
},
|
|
107
|
+
icsum: {
|
|
108
|
+
type: 'boolean',
|
|
109
|
+
nullable: true
|
|
110
|
+
},
|
|
111
|
+
noicsum: {
|
|
112
|
+
type: 'boolean',
|
|
113
|
+
nullable: true
|
|
114
|
+
},
|
|
115
|
+
ocsum: {
|
|
116
|
+
type: 'boolean',
|
|
117
|
+
nullable: true
|
|
118
|
+
},
|
|
119
|
+
noocsum: {
|
|
120
|
+
type: 'boolean',
|
|
121
|
+
nullable: true
|
|
122
|
+
},
|
|
123
|
+
hoplimit: {
|
|
124
|
+
type: 'integer',
|
|
125
|
+
minimum: 1,
|
|
126
|
+
maximum: 255,
|
|
127
|
+
nullable: true
|
|
128
|
+
},
|
|
129
|
+
encaplimit: {
|
|
130
|
+
type: 'integer',
|
|
131
|
+
minimum: 0,
|
|
132
|
+
maximum: 255,
|
|
133
|
+
nullable: true
|
|
134
|
+
},
|
|
135
|
+
tclass: {
|
|
136
|
+
type: 'string',
|
|
137
|
+
minLength: 2,
|
|
138
|
+
nullable: true
|
|
139
|
+
},
|
|
140
|
+
flowlabel: {
|
|
141
|
+
type: 'integer',
|
|
142
|
+
minimum: 0,
|
|
143
|
+
maximum: 1048575,
|
|
144
|
+
nullable: true
|
|
145
|
+
},
|
|
146
|
+
'dscp inherit': {
|
|
147
|
+
type: 'boolean',
|
|
148
|
+
nullable: true
|
|
149
|
+
},
|
|
150
|
+
'allow-localremote': {
|
|
151
|
+
type: 'boolean',
|
|
152
|
+
nullable: true
|
|
153
|
+
},
|
|
154
|
+
'noallow-localremote': {
|
|
155
|
+
type: 'boolean',
|
|
156
|
+
nullable: true
|
|
157
|
+
},
|
|
158
|
+
dev: {
|
|
159
|
+
type: 'string',
|
|
160
|
+
minLength: 1,
|
|
161
|
+
nullable: true
|
|
162
|
+
},
|
|
163
|
+
external: {
|
|
164
|
+
type: 'boolean',
|
|
165
|
+
enum: [true],
|
|
166
|
+
nullable: true
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
};
|
|
170
|
+
//# sourceMappingURL=ip6gre-ip6gretap.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ip6gre-ip6gretap.schema.js","sourceRoot":"","sources":["../../../../src/commands/link/virtual-link-types/ip6gre-ip6gretap.schema.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { IpipSipDeviceModes, SecondaryUdpEncapsulations } from '../../link.constants';
|
|
2
|
+
/**
|
|
3
|
+
* Add link IPIP & Sit type arguments.
|
|
4
|
+
* @category Interfaces
|
|
5
|
+
*/
|
|
6
|
+
export interface AddLinkIpipSitTypeArgs {
|
|
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
|
+
/** @see {@link SecondaryUdpEncapsulations} */
|
|
15
|
+
encap?: SecondaryUdpEncapsulations;
|
|
16
|
+
/**
|
|
17
|
+
* Specifies the source port in UDP encapsulation.
|
|
18
|
+
*
|
|
19
|
+
* PORT indicates the port by number, "auto" indicates that the port number
|
|
20
|
+
* should be chosen automatically (the kernel picks a flow based on the flow
|
|
21
|
+
* hash of the encapsulated packet).
|
|
22
|
+
*/
|
|
23
|
+
'encap-sport'?: number | 'auto';
|
|
24
|
+
/** TODO: No doc in man. */
|
|
25
|
+
'encap-dport'?: number;
|
|
26
|
+
/** Specifies if UDP checksums are enabled in the secondary encapsulation. */
|
|
27
|
+
'encap-csum'?: boolean;
|
|
28
|
+
/** @see {@link['encap-csum']} */
|
|
29
|
+
'noencap-csum'?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Specifies if Remote Checksum Offload is enabled.
|
|
32
|
+
* This is only applicable for Generic UDP Encapsulation.
|
|
33
|
+
*/
|
|
34
|
+
'encap-remcsum'?: boolean;
|
|
35
|
+
/** @see {@link['encap-remcsum']} */
|
|
36
|
+
'noencap-remcsum'?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Specifies mode in which device should run.
|
|
39
|
+
*
|
|
40
|
+
* "ip6ip" indicates IPv6-Over-IPv4,
|
|
41
|
+
* "ipip" indicates "IPv4-Over-IPv4",
|
|
42
|
+
* "mplsip" indicates MPLS-Over-IPv4,
|
|
43
|
+
* "any" indicates IPv6, IPv4 or MPLS Over IPv4.
|
|
44
|
+
*
|
|
45
|
+
* Supported for SIT where the default is "ip6ip" and IPIP where the default is "ipip".
|
|
46
|
+
* IPv6-Over-IPv4 is not supported for IPIP.
|
|
47
|
+
*/
|
|
48
|
+
mode?: IpipSipDeviceModes;
|
|
49
|
+
/** Make this tunnel externally controlled (e.g. ip route encap). */
|
|
50
|
+
external?: true;
|
|
51
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ipip-sit.interfaces.js","sourceRoot":"","sources":["../../../../src/commands/link/virtual-link-types/ipip-sit.interfaces.ts"],"names":[],"mappings":""}
|