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 @@
|
|
|
1
|
+
{"version":3,"file":"vrf.interfaces.js","sourceRoot":"","sources":["../../../../src/commands/link/virtual-link-types/vrf.interfaces.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AddLinkVrfArgsSchema = void 0;
|
|
4
|
+
exports.AddLinkVrfArgsSchema = {
|
|
5
|
+
type: 'object',
|
|
6
|
+
required: ['table'],
|
|
7
|
+
additionalProperties: false,
|
|
8
|
+
properties: {
|
|
9
|
+
table: {
|
|
10
|
+
type: 'integer',
|
|
11
|
+
minimum: 1,
|
|
12
|
+
maximum: 4294967295
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=vrf.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vrf.schema.js","sourceRoot":"","sources":["../../../../src/commands/link/virtual-link-types/vrf.schema.ts"],"names":[],"mappings":";;;AAIa,QAAA,oBAAoB,GAAuC;IACtE,IAAI,EAAkB,QAAQ;IAC9B,QAAQ,EAAc,CAAC,OAAO,CAAC;IAC/B,oBAAoB,EAAE,KAAK;IAC3B,UAAU,EAAY;QACpB,KAAK,EAAE;YACL,IAAI,EAAK,SAAS;YAClB,OAAO,EAAE,CAAC;YACV,OAAO,EAAE,UAAU;SACpB;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import { DontFragmentFlagValues } from '../../link.constants';
|
|
2
|
+
/**
|
|
3
|
+
* Add link vxlan type arguments.
|
|
4
|
+
* @category Interfaces
|
|
5
|
+
*/
|
|
6
|
+
export interface AddLinkVxlanTypeArgs {
|
|
7
|
+
/** Specifies the VXLAN Network Identifier (or VXLAN Segment Identifier) to use. */
|
|
8
|
+
id: number;
|
|
9
|
+
/** Specifies the physical device to use for tunnel endpoint communication. */
|
|
10
|
+
dev?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Specifies the multicast IP address to join.
|
|
13
|
+
* This parameter cannot be specified with the remote parameter.
|
|
14
|
+
*/
|
|
15
|
+
group?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Specifies the unicast destination IP address to use in outgoing packets
|
|
18
|
+
* when the destination link layer address is not known in the VXLAN device
|
|
19
|
+
* forwarding database.
|
|
20
|
+
*
|
|
21
|
+
* This parameter cannot be specified with the group parameter.
|
|
22
|
+
*/
|
|
23
|
+
remote?: string;
|
|
24
|
+
/** Specifies the source IP address to use in outgoing packets. */
|
|
25
|
+
local?: string;
|
|
26
|
+
/** Specifies the TTL value to use in outgoing packets. */
|
|
27
|
+
ttl?: number;
|
|
28
|
+
/** Specifies the TOS value to use in outgoing packets. */
|
|
29
|
+
tos?: number;
|
|
30
|
+
/**
|
|
31
|
+
* Specifies the usage of the Don't Fragment flag (DF) bit in outgoing packets
|
|
32
|
+
* with IPv4 headers.
|
|
33
|
+
*
|
|
34
|
+
* The value {@link DontFragmentFlagValues.Inherit} causes the bit to be copied from the original IP header.
|
|
35
|
+
* The values {@link DontFragmentFlagValues.Unset} and {@link DontFragmentFlagValues.Set} cause the bit to be always unset or always set, respectively.
|
|
36
|
+
* By default, the bit is not set.
|
|
37
|
+
*/
|
|
38
|
+
df?: DontFragmentFlagValues;
|
|
39
|
+
/** Specifies the flow label to use in outgoing packets. */
|
|
40
|
+
flowlabel?: number;
|
|
41
|
+
/** Specifies the UDP destination port to communicate to the remote VXLAN tunnel endpoint. */
|
|
42
|
+
dstport?: number;
|
|
43
|
+
/**
|
|
44
|
+
* Specifies the range of port numbers to use as UDP source ports to communicate
|
|
45
|
+
* to the remote VXLAN tunnel endpoint.
|
|
46
|
+
*
|
|
47
|
+
* Format: [min, max]
|
|
48
|
+
*/
|
|
49
|
+
srcport?: [number, number];
|
|
50
|
+
/**
|
|
51
|
+
* Specifies if unknown source link layer addresses and IP addresses are
|
|
52
|
+
* entered into the VXLAN device forwarding database.
|
|
53
|
+
*/
|
|
54
|
+
learning?: boolean;
|
|
55
|
+
/** @see {@link learning} */
|
|
56
|
+
nolearning?: boolean;
|
|
57
|
+
/** Specifies if ARP proxy is turned on. */
|
|
58
|
+
proxy?: boolean;
|
|
59
|
+
/** @see {@link proxy} */
|
|
60
|
+
noproxy?: boolean;
|
|
61
|
+
/** Specifies if route short circuit is turned on. */
|
|
62
|
+
rsc?: boolean;
|
|
63
|
+
/** @see {@link rsc} */
|
|
64
|
+
norsc?: boolean;
|
|
65
|
+
/** Specifies if netlink LLADDR miss notifications are generated. */
|
|
66
|
+
l2miss?: boolean;
|
|
67
|
+
/** @see {@link l2miss} */
|
|
68
|
+
nol2miss?: boolean;
|
|
69
|
+
/** Specifies if netlink IP ADDR miss notifications are generated. */
|
|
70
|
+
l3miss?: boolean;
|
|
71
|
+
/** @see {@link l3miss} */
|
|
72
|
+
nol3miss?: boolean;
|
|
73
|
+
/** Specifies if UDP checksum is calculated for transmitted packets over IPv4. */
|
|
74
|
+
udpcsum?: boolean;
|
|
75
|
+
/** @see {@link udpcsum} */
|
|
76
|
+
noudpcsum?: boolean;
|
|
77
|
+
/** Skip UDP checksum calculation for transmitted packets over IPv6. */
|
|
78
|
+
udp6zerocsumtx?: boolean;
|
|
79
|
+
/** @see {@link udp6zerocsumtx} */
|
|
80
|
+
noudp6zerocsumtx?: boolean;
|
|
81
|
+
/** Allow incoming UDP packets over IPv6 with zero checksum field. */
|
|
82
|
+
udp6zerocsumrx?: boolean;
|
|
83
|
+
/** @see {@link udp6zerocsumrx} */
|
|
84
|
+
noudp6zerocsumrx?: boolean;
|
|
85
|
+
/** Specifies the lifetime in seconds of FDB entries learned by the kernel. */
|
|
86
|
+
ageing?: number;
|
|
87
|
+
/** Specifies the maximum number of FDB entries. */
|
|
88
|
+
maxaddress?: number;
|
|
89
|
+
/** Specifies whether an external control plane (e.g., ip route encap) or the internal FDB should be used. */
|
|
90
|
+
external?: boolean;
|
|
91
|
+
/** @see {@link external} */
|
|
92
|
+
noexternal?: boolean;
|
|
93
|
+
/**
|
|
94
|
+
* Enables the Group Policy extension (VXLAN-GBP).
|
|
95
|
+
*
|
|
96
|
+
* Allows to transport group policy context across VXLAN network peers.
|
|
97
|
+
* If enabled, includes the mark of a packet in the VXLAN header for outgoing packets and fills the packet
|
|
98
|
+
* mark based on the information found in the VXLAN header for incoming packets.
|
|
99
|
+
*
|
|
100
|
+
* Format of upper 16 bits of packet mark (flags);
|
|
101
|
+
*
|
|
102
|
+
* +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
|
103
|
+
* |-|-|-|-|-|-|-|-|-|D|-|-|A|-|-|-|
|
|
104
|
+
* +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
|
105
|
+
*
|
|
106
|
+
* D := Don't Learn bit. When set, this bit indicates that the egress
|
|
107
|
+
* VTEP MUST NOT learn the source address of the encapsulated frame.
|
|
108
|
+
*
|
|
109
|
+
* A := Indicates that the group policy has already been applied to this packet.
|
|
110
|
+
* Policies MUST NOT be applied by devices when the A bit is set.
|
|
111
|
+
*
|
|
112
|
+
* Format of lower 16 bits of packet mark (policy ID):
|
|
113
|
+
*
|
|
114
|
+
* +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
|
115
|
+
* | Group Policy ID |
|
|
116
|
+
* +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
|
117
|
+
*
|
|
118
|
+
* Example:
|
|
119
|
+
* iptables -A OUTPUT [...] -j MARK --set-mark 0x800FF
|
|
120
|
+
*/
|
|
121
|
+
gbp?: true;
|
|
122
|
+
/**
|
|
123
|
+
* Enables the Generic Protocol extension (VXLAN-GPE).
|
|
124
|
+
* Currently, this is only supported together with the external keyword.
|
|
125
|
+
*/
|
|
126
|
+
gpe?: true;
|
|
127
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vxlan.interfaces.js","sourceRoot":"","sources":["../../../../src/commands/link/virtual-link-types/vxlan.interfaces.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AddLinkVxlanArgsSchema = void 0;
|
|
4
|
+
const link_constants_1 = require("../../link.constants");
|
|
5
|
+
exports.AddLinkVxlanArgsSchema = {
|
|
6
|
+
type: 'object',
|
|
7
|
+
required: ['id'],
|
|
8
|
+
additionalProperties: false,
|
|
9
|
+
properties: {
|
|
10
|
+
id: {
|
|
11
|
+
type: 'integer',
|
|
12
|
+
minimum: 1,
|
|
13
|
+
maximum: 16777215
|
|
14
|
+
},
|
|
15
|
+
dev: {
|
|
16
|
+
type: 'string',
|
|
17
|
+
minLength: 1,
|
|
18
|
+
nullable: true
|
|
19
|
+
},
|
|
20
|
+
group: {
|
|
21
|
+
type: 'string',
|
|
22
|
+
format: 'ip',
|
|
23
|
+
nullable: true
|
|
24
|
+
},
|
|
25
|
+
remote: {
|
|
26
|
+
type: 'string',
|
|
27
|
+
format: 'ip',
|
|
28
|
+
nullable: true
|
|
29
|
+
},
|
|
30
|
+
local: {
|
|
31
|
+
type: 'string',
|
|
32
|
+
format: 'ip-or-any',
|
|
33
|
+
nullable: true
|
|
34
|
+
},
|
|
35
|
+
ttl: {
|
|
36
|
+
type: 'integer',
|
|
37
|
+
minimum: 0,
|
|
38
|
+
maximum: 255,
|
|
39
|
+
nullable: true
|
|
40
|
+
},
|
|
41
|
+
tos: {
|
|
42
|
+
type: 'integer',
|
|
43
|
+
nullable: true,
|
|
44
|
+
minimum: 0,
|
|
45
|
+
maximum: 255
|
|
46
|
+
},
|
|
47
|
+
df: {
|
|
48
|
+
type: 'string',
|
|
49
|
+
enum: Object.values(link_constants_1.DontFragmentFlagValues),
|
|
50
|
+
nullable: true
|
|
51
|
+
},
|
|
52
|
+
flowlabel: {
|
|
53
|
+
type: 'integer',
|
|
54
|
+
nullable: true,
|
|
55
|
+
minimum: 0,
|
|
56
|
+
maximum: 1048575
|
|
57
|
+
},
|
|
58
|
+
dstport: {
|
|
59
|
+
type: 'integer',
|
|
60
|
+
nullable: true,
|
|
61
|
+
minimum: 1,
|
|
62
|
+
maximum: 65535
|
|
63
|
+
},
|
|
64
|
+
srcport: {
|
|
65
|
+
type: 'array',
|
|
66
|
+
nullable: true,
|
|
67
|
+
items: [
|
|
68
|
+
{
|
|
69
|
+
type: 'integer',
|
|
70
|
+
minimum: 1,
|
|
71
|
+
maximum: 65535
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
type: 'integer',
|
|
75
|
+
minimum: 1,
|
|
76
|
+
maximum: 65535
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
minItems: 2,
|
|
80
|
+
maxItems: 2
|
|
81
|
+
},
|
|
82
|
+
learning: {
|
|
83
|
+
type: 'boolean',
|
|
84
|
+
nullable: true
|
|
85
|
+
},
|
|
86
|
+
nolearning: {
|
|
87
|
+
type: 'boolean',
|
|
88
|
+
nullable: true
|
|
89
|
+
},
|
|
90
|
+
proxy: {
|
|
91
|
+
type: 'boolean',
|
|
92
|
+
nullable: true
|
|
93
|
+
},
|
|
94
|
+
noproxy: {
|
|
95
|
+
type: 'boolean',
|
|
96
|
+
nullable: true
|
|
97
|
+
},
|
|
98
|
+
rsc: {
|
|
99
|
+
type: 'boolean',
|
|
100
|
+
nullable: true
|
|
101
|
+
},
|
|
102
|
+
norsc: {
|
|
103
|
+
type: 'boolean',
|
|
104
|
+
nullable: true
|
|
105
|
+
},
|
|
106
|
+
l2miss: {
|
|
107
|
+
type: 'boolean',
|
|
108
|
+
nullable: true
|
|
109
|
+
},
|
|
110
|
+
nol2miss: {
|
|
111
|
+
type: 'boolean',
|
|
112
|
+
nullable: true
|
|
113
|
+
},
|
|
114
|
+
l3miss: {
|
|
115
|
+
type: 'boolean',
|
|
116
|
+
nullable: true
|
|
117
|
+
},
|
|
118
|
+
nol3miss: {
|
|
119
|
+
type: 'boolean',
|
|
120
|
+
nullable: true
|
|
121
|
+
},
|
|
122
|
+
udpcsum: {
|
|
123
|
+
type: 'boolean',
|
|
124
|
+
nullable: true
|
|
125
|
+
},
|
|
126
|
+
noudpcsum: {
|
|
127
|
+
type: 'boolean',
|
|
128
|
+
nullable: true
|
|
129
|
+
},
|
|
130
|
+
udp6zerocsumtx: {
|
|
131
|
+
type: 'boolean',
|
|
132
|
+
nullable: true
|
|
133
|
+
},
|
|
134
|
+
noudp6zerocsumtx: {
|
|
135
|
+
type: 'boolean',
|
|
136
|
+
nullable: true
|
|
137
|
+
},
|
|
138
|
+
udp6zerocsumrx: {
|
|
139
|
+
type: 'boolean',
|
|
140
|
+
nullable: true
|
|
141
|
+
},
|
|
142
|
+
noudp6zerocsumrx: {
|
|
143
|
+
type: 'boolean',
|
|
144
|
+
nullable: true
|
|
145
|
+
},
|
|
146
|
+
ageing: {
|
|
147
|
+
type: 'integer',
|
|
148
|
+
nullable: true,
|
|
149
|
+
minimum: 0
|
|
150
|
+
},
|
|
151
|
+
maxaddress: {
|
|
152
|
+
type: 'integer',
|
|
153
|
+
nullable: true,
|
|
154
|
+
minimum: 0
|
|
155
|
+
},
|
|
156
|
+
external: {
|
|
157
|
+
type: 'boolean',
|
|
158
|
+
nullable: true
|
|
159
|
+
},
|
|
160
|
+
noexternal: {
|
|
161
|
+
type: 'boolean',
|
|
162
|
+
nullable: true
|
|
163
|
+
},
|
|
164
|
+
gbp: {
|
|
165
|
+
type: 'boolean',
|
|
166
|
+
enum: [true],
|
|
167
|
+
nullable: true
|
|
168
|
+
},
|
|
169
|
+
gpe: {
|
|
170
|
+
type: 'boolean',
|
|
171
|
+
enum: [true],
|
|
172
|
+
nullable: true
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
};
|
|
176
|
+
//# sourceMappingURL=vxlan.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vxlan.schema.js","sourceRoot":"","sources":["../../../../src/commands/link/virtual-link-types/vxlan.schema.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Add link xfrm type arguments.
|
|
3
|
+
* @category Interfaces
|
|
4
|
+
*/
|
|
5
|
+
export interface AddLinkXfrmTypeArgs {
|
|
6
|
+
/** Specifies the underlying physical interface from which transform traffic is sent and received. */
|
|
7
|
+
dev: string;
|
|
8
|
+
/**
|
|
9
|
+
* Specifies the hexadecimal lookup key used to send traffic to and from specific xfrm policies.
|
|
10
|
+
*
|
|
11
|
+
* Policies must be configured with the same key.
|
|
12
|
+
* If not set, the key defaults to 0 and will match any policies which similarly do not have a
|
|
13
|
+
* lookup key configuration.
|
|
14
|
+
*/
|
|
15
|
+
if_id?: number;
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"xfrm.interfaces.js","sourceRoot":"","sources":["../../../../src/commands/link/virtual-link-types/xfrm.interfaces.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AddLinkXfrmArgsSchema = void 0;
|
|
4
|
+
exports.AddLinkXfrmArgsSchema = {
|
|
5
|
+
type: 'object',
|
|
6
|
+
required: ['dev'],
|
|
7
|
+
additionalProperties: false,
|
|
8
|
+
properties: {
|
|
9
|
+
dev: {
|
|
10
|
+
type: 'string',
|
|
11
|
+
minLength: 1
|
|
12
|
+
},
|
|
13
|
+
if_id: {
|
|
14
|
+
type: 'integer',
|
|
15
|
+
minimum: 1,
|
|
16
|
+
maximum: 4294967295,
|
|
17
|
+
nullable: true
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=xfrm.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"xfrm.schema.js","sourceRoot":"","sources":["../../../../src/commands/link/virtual-link-types/xfrm.schema.ts"],"names":[],"mappings":";;;AAIa,QAAA,qBAAqB,GAAwC;IACxE,IAAI,EAAkB,QAAQ;IAC9B,QAAQ,EAAc,CAAC,KAAK,CAAC;IAC7B,oBAAoB,EAAE,KAAK;IAC3B,UAAU,EAAY;QACpB,GAAG,EAAI;YACL,IAAI,EAAO,QAAQ;YACnB,SAAS,EAAE,CAAC;SACb;QACD,KAAK,EAAE;YACL,IAAI,EAAM,SAAS;YACnB,OAAO,EAAG,CAAC;YACX,OAAO,EAAG,UAAU;YACpB,QAAQ,EAAE,IAAI;SACf;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Link set xdp object options.
|
|
3
|
+
* @category Interfaces
|
|
4
|
+
*/
|
|
5
|
+
export interface LinkSetXdpObjectOptions {
|
|
6
|
+
/**
|
|
7
|
+
* Attaches a XDP/BPF program to the given device.
|
|
8
|
+
*
|
|
9
|
+
* The FILE points to a BPF ELF file (f.e. generated by LLVM) that contains the BPF program code, map specifications,
|
|
10
|
+
* etc. If a XDP/BPF program is already attached to the given device, an error will be thrown.
|
|
11
|
+
*
|
|
12
|
+
* If no XDP/BPF program is currently attached, the device supports XDP and the program from the BPF ELF file passes
|
|
13
|
+
* the kernel verifier, then it will be attached to the device.
|
|
14
|
+
*
|
|
15
|
+
* If the option -force is passed to `ip` then any prior attached XDP/BPF program will be atomically overridden
|
|
16
|
+
* and no error will be thrown in this case.
|
|
17
|
+
*
|
|
18
|
+
* If no section option is passed, then the default section name ("prog") will be assumed, otherwise the provided
|
|
19
|
+
* section name will be used.
|
|
20
|
+
*
|
|
21
|
+
* If no verbose option is passed, then a verifier log will only be dumped on load error.
|
|
22
|
+
* See also EXAMPLES section for usage examples.
|
|
23
|
+
*/
|
|
24
|
+
file: string;
|
|
25
|
+
/**
|
|
26
|
+
* Specifies a section name that contains the BPF program code.
|
|
27
|
+
* If no section name is specified, the default one ("prog") will be used.
|
|
28
|
+
* This option is to be passed with the object option.
|
|
29
|
+
*/
|
|
30
|
+
section?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Act in verbose mode. For example, even in case of success, this will print the verifier log in case a program was
|
|
33
|
+
* loaded from a BPF ELF file.
|
|
34
|
+
*/
|
|
35
|
+
verbose?: true;
|
|
36
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"object.interfaces.js","sourceRoot":"","sources":["../../../../src/commands/link/xdp-options/object.interfaces.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LinkSetXdpObjectOptionsSchema = void 0;
|
|
4
|
+
exports.LinkSetXdpObjectOptionsSchema = {
|
|
5
|
+
type: 'object',
|
|
6
|
+
required: ['file'],
|
|
7
|
+
properties: {
|
|
8
|
+
file: {
|
|
9
|
+
type: 'string',
|
|
10
|
+
minLength: 1,
|
|
11
|
+
keyless: true
|
|
12
|
+
},
|
|
13
|
+
section: {
|
|
14
|
+
type: 'string',
|
|
15
|
+
minLength: 1,
|
|
16
|
+
nullable: true
|
|
17
|
+
},
|
|
18
|
+
verbose: {
|
|
19
|
+
type: 'boolean',
|
|
20
|
+
enum: [true],
|
|
21
|
+
nullable: true
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=object.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"object.schema.js","sourceRoot":"","sources":["../../../../src/commands/link/xdp-options/object.schema.ts"],"names":[],"mappings":";;;AAIa,QAAA,6BAA6B,GAA4C;IACpF,IAAI,EAAQ,QAAQ;IACpB,QAAQ,EAAI,CAAC,MAAM,CAAC;IACpB,UAAU,EAAE;QACV,IAAI,EAAK;YACP,IAAI,EAAO,QAAQ;YACnB,SAAS,EAAE,CAAC;YACZ,OAAO,EAAI,IAAI;SAChB;QACD,OAAO,EAAE;YACP,IAAI,EAAO,QAAQ;YACnB,SAAS,EAAE,CAAC;YACZ,QAAQ,EAAG,IAAI;SAChB;QACD,OAAO,EAAE;YACP,IAAI,EAAM,SAAS;YACnB,IAAI,EAAM,CAAC,IAAI,CAAC;YAChB,QAAQ,EAAE,IAAI;SACf;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"off.interfaces.js","sourceRoot":"","sources":["../../../../src/commands/link/xdp-options/off.interfaces.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LinkSetXdpOffOptionsSchema = void 0;
|
|
4
|
+
exports.LinkSetXdpOffOptionsSchema = {
|
|
5
|
+
type: 'object',
|
|
6
|
+
required: ['value'],
|
|
7
|
+
properties: {
|
|
8
|
+
value: {
|
|
9
|
+
type: 'boolean',
|
|
10
|
+
enum: [true],
|
|
11
|
+
keyless: true
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=off.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"off.schema.js","sourceRoot":"","sources":["../../../../src/commands/link/xdp-options/off.schema.ts"],"names":[],"mappings":";;;AAIa,QAAA,0BAA0B,GAAyC;IAC9E,IAAI,EAAQ,QAAQ;IACpB,QAAQ,EAAI,CAAC,OAAO,CAAC;IACrB,UAAU,EAAE;QACV,KAAK,EAAE;YACL,IAAI,EAAK,SAAS;YAClB,IAAI,EAAK,CAAC,IAAI,CAAC;YACf,OAAO,EAAE,IAAI;SACd;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Link set xdp pinned options.
|
|
3
|
+
* @category Interfaces
|
|
4
|
+
*/
|
|
5
|
+
export interface LinkSetXdpPinnedOptions {
|
|
6
|
+
/**
|
|
7
|
+
* Attaches a XDP/BPF program to the given device.
|
|
8
|
+
* The FILE points to an already pinned BPF program in the BPF file system.
|
|
9
|
+
* The option section doesn't apply here, but otherwise semantics are the same as with the option object described
|
|
10
|
+
* already.
|
|
11
|
+
*/
|
|
12
|
+
file: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pinned.interfaces.js","sourceRoot":"","sources":["../../../../src/commands/link/xdp-options/pinned.interfaces.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LinkSetXdpPinnedOptionsSchema = void 0;
|
|
4
|
+
exports.LinkSetXdpPinnedOptionsSchema = {
|
|
5
|
+
type: 'object',
|
|
6
|
+
required: ['file'],
|
|
7
|
+
properties: {
|
|
8
|
+
file: {
|
|
9
|
+
type: 'string',
|
|
10
|
+
minLength: 1,
|
|
11
|
+
keyless: true
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=pinned.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pinned.schema.js","sourceRoot":"","sources":["../../../../src/commands/link/xdp-options/pinned.schema.ts"],"names":[],"mappings":";;;AAIa,QAAA,6BAA6B,GAA4C;IACpF,IAAI,EAAQ,QAAQ;IACpB,QAAQ,EAAI,CAAC,MAAM,CAAC;IACpB,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,IAAI,EAAO,QAAQ;YACnB,SAAS,EAAE,CAAC;YACZ,OAAO,EAAI,IAAI;SAChB;KACF;CACF,CAAC"}
|