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,425 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Link Types.
|
|
3
|
+
* @category Constants
|
|
4
|
+
*/
|
|
5
|
+
export declare const LinkTypes: {
|
|
6
|
+
/** Ethernet Bridge device. */
|
|
7
|
+
readonly Bridge: "bridge";
|
|
8
|
+
/** Bonding device. */
|
|
9
|
+
readonly Bond: "bond";
|
|
10
|
+
/** Dummy network interface. */
|
|
11
|
+
readonly Dummy: "dummy";
|
|
12
|
+
/** High-availability Seamless Redundancy device. */
|
|
13
|
+
readonly Hsr: "hsr";
|
|
14
|
+
/** Intermediate Functional Block device. */
|
|
15
|
+
readonly Ifb: "ifb";
|
|
16
|
+
/** IP over Infiniband device. */
|
|
17
|
+
readonly Ipoib: "ipoib";
|
|
18
|
+
/** Virtual interface base on link layer address (MAC). */
|
|
19
|
+
readonly Macvlan: "macvlan";
|
|
20
|
+
/** Virtual interface based on link layer address (MAC) and TAP. */
|
|
21
|
+
readonly Macvtap: "macvtap";
|
|
22
|
+
/** Virtual Controller Area Network interface. */
|
|
23
|
+
readonly Vcan: "vcan";
|
|
24
|
+
/** Controller Area Network interface. */
|
|
25
|
+
readonly Can: "can";
|
|
26
|
+
/** Virtual Controller Area Network tunnel interface. */
|
|
27
|
+
readonly Vxcan: "vxcan";
|
|
28
|
+
/** Virtual ethernet interface. */
|
|
29
|
+
readonly Veth: "veth";
|
|
30
|
+
/** 802.1q tagged virtual LAN interface. */
|
|
31
|
+
readonly Vlan: "vlan";
|
|
32
|
+
/** Virtual eXtended LAN. */
|
|
33
|
+
readonly Vxlan: "vxlan";
|
|
34
|
+
/** Virtual tunnel interface IPv4|IPv6 over IPv6. */
|
|
35
|
+
readonly Ip6tnl: "ip6tnl";
|
|
36
|
+
/** Virtual tunnel interface IPv4 over IPv4. */
|
|
37
|
+
readonly Ipip: "ipip";
|
|
38
|
+
/** Virtual tunnel interface IPv6 over IPv4. */
|
|
39
|
+
readonly Sit: "sit";
|
|
40
|
+
/** Virtual tunnel interface GRE over IPv4. */
|
|
41
|
+
readonly Gre: "gre";
|
|
42
|
+
/** Virtual L2 tunnel interface GRE over IPv4. */
|
|
43
|
+
readonly Gretap: "gretap";
|
|
44
|
+
/** Encapsulated Remote SPAN over GRE and IPv4. */
|
|
45
|
+
readonly Erspan: "erspan";
|
|
46
|
+
/** Virtual tunnel interface GRE over IPv6. */
|
|
47
|
+
readonly Ip6gre: "ip6gre";
|
|
48
|
+
/** Virtual L2 tunnel interface GRE over IPv6. */
|
|
49
|
+
readonly Ip6gretap: "ip6gretap";
|
|
50
|
+
/** Encapsulated Remote SPAN over GRE and IPv6. */
|
|
51
|
+
readonly Ip6erspan: "ip6erspan";
|
|
52
|
+
/** Virtual tunnel interface. */
|
|
53
|
+
readonly Vti: "vti";
|
|
54
|
+
/** Netlink monitoring device. */
|
|
55
|
+
readonly Nlmon: "nlmon";
|
|
56
|
+
/** Interface for L3 (IPv6/IPv4) based VLANs. */
|
|
57
|
+
readonly Ipvlan: "ipvlan";
|
|
58
|
+
/** Interface for L3 (IPv6/IPv4) based VLANs and TAP. */
|
|
59
|
+
readonly Ipvtap: "ipvtap";
|
|
60
|
+
/** Interface for 6LoWPAN (IPv6) over IEEE 802.15.4 Bluetooth. */
|
|
61
|
+
readonly Lowpan: "lowpan";
|
|
62
|
+
/** GEneric NEtwork Virtualization Encapsulation. */
|
|
63
|
+
readonly Geneve: "geneve";
|
|
64
|
+
/** Bare UDP L3 encapsulation support. */
|
|
65
|
+
readonly Bareudp: "bareudp";
|
|
66
|
+
/** Interface for IEEE 802.1AE MAC Security (MAC‐sec). */
|
|
67
|
+
readonly Macsec: "macsec";
|
|
68
|
+
/** Interface for L3 VRF domains. */
|
|
69
|
+
readonly Vrf: "vrf";
|
|
70
|
+
/** Interface for netdev API tests. */
|
|
71
|
+
readonly Netdevsim: "netdevsim";
|
|
72
|
+
/** Qualcomm rmnet device. */
|
|
73
|
+
readonly Rmnet: "rmnet";
|
|
74
|
+
/** Virtual xfrm interface. */
|
|
75
|
+
readonly Xfrm: "xfrm";
|
|
76
|
+
};
|
|
77
|
+
/**
|
|
78
|
+
* Link Types.
|
|
79
|
+
* @category Constants
|
|
80
|
+
*/
|
|
81
|
+
export type LinkTypes = typeof LinkTypes[keyof typeof LinkTypes];
|
|
82
|
+
/**
|
|
83
|
+
* Extended Link Types.
|
|
84
|
+
* @category Constants
|
|
85
|
+
*/
|
|
86
|
+
export declare const ExtendedLinkTypes: {
|
|
87
|
+
/** Bridge slave interface. */
|
|
88
|
+
readonly BridgeSlave: "bridge_slave";
|
|
89
|
+
/** Bond slave interface. */
|
|
90
|
+
readonly BondSlave: "bond_slave";
|
|
91
|
+
/** Ethernet Bridge device. */
|
|
92
|
+
readonly Bridge: "bridge";
|
|
93
|
+
/** Bonding device. */
|
|
94
|
+
readonly Bond: "bond";
|
|
95
|
+
/** Dummy network interface. */
|
|
96
|
+
readonly Dummy: "dummy";
|
|
97
|
+
/** High-availability Seamless Redundancy device. */
|
|
98
|
+
readonly Hsr: "hsr";
|
|
99
|
+
/** Intermediate Functional Block device. */
|
|
100
|
+
readonly Ifb: "ifb";
|
|
101
|
+
/** IP over Infiniband device. */
|
|
102
|
+
readonly Ipoib: "ipoib";
|
|
103
|
+
/** Virtual interface base on link layer address (MAC). */
|
|
104
|
+
readonly Macvlan: "macvlan";
|
|
105
|
+
/** Virtual interface based on link layer address (MAC) and TAP. */
|
|
106
|
+
readonly Macvtap: "macvtap";
|
|
107
|
+
/** Virtual Controller Area Network interface. */
|
|
108
|
+
readonly Vcan: "vcan";
|
|
109
|
+
/** Controller Area Network interface. */
|
|
110
|
+
readonly Can: "can";
|
|
111
|
+
/** Virtual Controller Area Network tunnel interface. */
|
|
112
|
+
readonly Vxcan: "vxcan";
|
|
113
|
+
/** Virtual ethernet interface. */
|
|
114
|
+
readonly Veth: "veth";
|
|
115
|
+
/** 802.1q tagged virtual LAN interface. */
|
|
116
|
+
readonly Vlan: "vlan";
|
|
117
|
+
/** Virtual eXtended LAN. */
|
|
118
|
+
readonly Vxlan: "vxlan";
|
|
119
|
+
/** Virtual tunnel interface IPv4|IPv6 over IPv6. */
|
|
120
|
+
readonly Ip6tnl: "ip6tnl";
|
|
121
|
+
/** Virtual tunnel interface IPv4 over IPv4. */
|
|
122
|
+
readonly Ipip: "ipip";
|
|
123
|
+
/** Virtual tunnel interface IPv6 over IPv4. */
|
|
124
|
+
readonly Sit: "sit";
|
|
125
|
+
/** Virtual tunnel interface GRE over IPv4. */
|
|
126
|
+
readonly Gre: "gre";
|
|
127
|
+
/** Virtual L2 tunnel interface GRE over IPv4. */
|
|
128
|
+
readonly Gretap: "gretap";
|
|
129
|
+
/** Encapsulated Remote SPAN over GRE and IPv4. */
|
|
130
|
+
readonly Erspan: "erspan";
|
|
131
|
+
/** Virtual tunnel interface GRE over IPv6. */
|
|
132
|
+
readonly Ip6gre: "ip6gre";
|
|
133
|
+
/** Virtual L2 tunnel interface GRE over IPv6. */
|
|
134
|
+
readonly Ip6gretap: "ip6gretap";
|
|
135
|
+
/** Encapsulated Remote SPAN over GRE and IPv6. */
|
|
136
|
+
readonly Ip6erspan: "ip6erspan";
|
|
137
|
+
/** Virtual tunnel interface. */
|
|
138
|
+
readonly Vti: "vti";
|
|
139
|
+
/** Netlink monitoring device. */
|
|
140
|
+
readonly Nlmon: "nlmon";
|
|
141
|
+
/** Interface for L3 (IPv6/IPv4) based VLANs. */
|
|
142
|
+
readonly Ipvlan: "ipvlan";
|
|
143
|
+
/** Interface for L3 (IPv6/IPv4) based VLANs and TAP. */
|
|
144
|
+
readonly Ipvtap: "ipvtap";
|
|
145
|
+
/** Interface for 6LoWPAN (IPv6) over IEEE 802.15.4 Bluetooth. */
|
|
146
|
+
readonly Lowpan: "lowpan";
|
|
147
|
+
/** GEneric NEtwork Virtualization Encapsulation. */
|
|
148
|
+
readonly Geneve: "geneve";
|
|
149
|
+
/** Bare UDP L3 encapsulation support. */
|
|
150
|
+
readonly Bareudp: "bareudp";
|
|
151
|
+
/** Interface for IEEE 802.1AE MAC Security (MAC‐sec). */
|
|
152
|
+
readonly Macsec: "macsec";
|
|
153
|
+
/** Interface for L3 VRF domains. */
|
|
154
|
+
readonly Vrf: "vrf";
|
|
155
|
+
/** Interface for netdev API tests. */
|
|
156
|
+
readonly Netdevsim: "netdevsim";
|
|
157
|
+
/** Qualcomm rmnet device. */
|
|
158
|
+
readonly Rmnet: "rmnet";
|
|
159
|
+
/** Virtual xfrm interface. */
|
|
160
|
+
readonly Xfrm: "xfrm";
|
|
161
|
+
};
|
|
162
|
+
/**
|
|
163
|
+
* Extended Link Types.
|
|
164
|
+
* @category Constants
|
|
165
|
+
*/
|
|
166
|
+
export type ExtendedLinkTypes = typeof ExtendedLinkTypes[keyof typeof ExtendedLinkTypes];
|
|
167
|
+
/**
|
|
168
|
+
* VLAN protocols.
|
|
169
|
+
* @category Constants
|
|
170
|
+
*/
|
|
171
|
+
export declare enum VlanProtocols {
|
|
172
|
+
'802.1Q' = "802.1Q",
|
|
173
|
+
'802.1ad' = "802.1ad"
|
|
174
|
+
}
|
|
175
|
+
/**
|
|
176
|
+
* Dont fragment flag values.
|
|
177
|
+
* @category Constants
|
|
178
|
+
*/
|
|
179
|
+
export declare enum DontFragmentFlagValues {
|
|
180
|
+
/** Causes the bit to be copied from the original IP header. */
|
|
181
|
+
Inherit = "inherit",
|
|
182
|
+
/** Cause the bit to be always unset. */
|
|
183
|
+
Unset = "unset",
|
|
184
|
+
/** Cause the bit to be always set. */
|
|
185
|
+
Set = "set"
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* Specifies type of secondary UDP encapsulation.
|
|
189
|
+
* @category Constants
|
|
190
|
+
*/
|
|
191
|
+
export declare enum SecondaryUdpEncapsulations {
|
|
192
|
+
/** Indicates Foo-Over-UDP. */
|
|
193
|
+
Fou = "fou",
|
|
194
|
+
/** Indicates Generic UDP Encapsulation. */
|
|
195
|
+
Gue = "gue",
|
|
196
|
+
None = "none"
|
|
197
|
+
}
|
|
198
|
+
/**
|
|
199
|
+
* Specifies mode in which device should run.
|
|
200
|
+
* @category Constants
|
|
201
|
+
*/
|
|
202
|
+
export declare enum IpipSipDeviceModes {
|
|
203
|
+
/** Indicates IPv6-Over-IPv4 */
|
|
204
|
+
Ip6ip = "ip6ip",
|
|
205
|
+
/** Indicates "IPv4-Over-IPv4". */
|
|
206
|
+
Ipip = "ipip",
|
|
207
|
+
/** Indicates MPLS-Over-IPv4. */
|
|
208
|
+
Mplsip = "mplsip",
|
|
209
|
+
/** Indicates IPv6, IPv4 or MPLS Over IPv4. */
|
|
210
|
+
Any = "any"
|
|
211
|
+
}
|
|
212
|
+
/**
|
|
213
|
+
* Specifies whether the link should be in datagram mode or connected mode.
|
|
214
|
+
* @category Constants
|
|
215
|
+
*/
|
|
216
|
+
export declare enum IpoIbModes {
|
|
217
|
+
/**
|
|
218
|
+
* This is the default mode. In datagram mode, packets are sent independently of each other,
|
|
219
|
+
* without a connection between sender and receiver.
|
|
220
|
+
* */
|
|
221
|
+
Datagram = "datagram",
|
|
222
|
+
/**
|
|
223
|
+
* In connected mode, a reliable connection is established before data is exchanged, which can
|
|
224
|
+
* offer higher throughput and lower latency in some situations. However, connected mode uses more
|
|
225
|
+
* resources and may not be supported by all InfiniBand hardware.
|
|
226
|
+
*/
|
|
227
|
+
Connected = "connected"
|
|
228
|
+
}
|
|
229
|
+
/**
|
|
230
|
+
* Specifies the ERSPAN v2 mirrored traffic's direction.
|
|
231
|
+
* @category Constants
|
|
232
|
+
*/
|
|
233
|
+
export declare enum ErspanDirections {
|
|
234
|
+
Ingress = "ingress",
|
|
235
|
+
Egress = "egress"
|
|
236
|
+
}
|
|
237
|
+
/**
|
|
238
|
+
* TTL special values.
|
|
239
|
+
* @category Constants
|
|
240
|
+
*/
|
|
241
|
+
export declare enum TtlSpecialValues {
|
|
242
|
+
Auto = "auto",
|
|
243
|
+
Inherit = "inherit"
|
|
244
|
+
}
|
|
245
|
+
/**
|
|
246
|
+
* Modes for macvlan and macvtap interfaces.
|
|
247
|
+
* @category Constants
|
|
248
|
+
*/
|
|
249
|
+
export declare enum MacvlanMacvtapModes {
|
|
250
|
+
/**
|
|
251
|
+
* Do not allow communication between macvlan instances on the same physical interface,
|
|
252
|
+
* even if the external switch supports hairpin mode.
|
|
253
|
+
*/
|
|
254
|
+
Private = "private",
|
|
255
|
+
/**
|
|
256
|
+
* Virtual Ethernet Port Aggregator mode.
|
|
257
|
+
*
|
|
258
|
+
* Data from one macvlan instance to the other on the same physical inter face is
|
|
259
|
+
* transmitted over the physical interface.
|
|
260
|
+
*
|
|
261
|
+
* Either the attached switch needs to support hairpin mode, or there must be a
|
|
262
|
+
* TCP/IP router forwarding the packets in order to allow communication.
|
|
263
|
+
*
|
|
264
|
+
* This is the default mode.
|
|
265
|
+
*/
|
|
266
|
+
Vepa = "vepa",
|
|
267
|
+
/**
|
|
268
|
+
* In bridge mode, all endpoints are directly connected to each other, communication
|
|
269
|
+
* is not redirected through the physical interface's peer.
|
|
270
|
+
*/
|
|
271
|
+
Bridge = "bridge",
|
|
272
|
+
/**
|
|
273
|
+
* This mode gives more power to a single endpoint, usually in `macvtap` mode.
|
|
274
|
+
*
|
|
275
|
+
* It is not allowed for more than one endpoint on the same physical interface.
|
|
276
|
+
*
|
|
277
|
+
* All traffic will be forwarded to this endpoint, allowing virtio guests to change
|
|
278
|
+
* MAC address or set promiscuous mode in order to bridge the interface or create
|
|
279
|
+
* vlan interfaces on top of it.
|
|
280
|
+
*
|
|
281
|
+
* By default, this mode forces the underlying interface into promiscuous mode.
|
|
282
|
+
*
|
|
283
|
+
* Passing the `nopromisc` flag prevents this, so the promisc flag may be controlled
|
|
284
|
+
* using standard tools.
|
|
285
|
+
*
|
|
286
|
+
* @see {@link PassthruNopromisc}
|
|
287
|
+
*/
|
|
288
|
+
Passthru = "passthru",
|
|
289
|
+
/** @see {@link Passthru} */
|
|
290
|
+
PassthruNopromisc = "passthru nopromisc",
|
|
291
|
+
/**
|
|
292
|
+
* Allows one to set a list of allowed mac address, which is used to match against
|
|
293
|
+
* source mac address from received frames on underlying interface.
|
|
294
|
+
*
|
|
295
|
+
* This allows creating mac based VLAN associations, instead of standard port or
|
|
296
|
+
* tag based.
|
|
297
|
+
*
|
|
298
|
+
* The feature is useful to deploy 802.1x mac based behavior, where drivers of underlying
|
|
299
|
+
* interfaces doesn't allow that.
|
|
300
|
+
*
|
|
301
|
+
* By default, packets are also considered (duplicated) for destination-based MACVLAN.
|
|
302
|
+
*
|
|
303
|
+
* Passing the `nodst` flag stops matching packets from also going through the destination-based flow.
|
|
304
|
+
*
|
|
305
|
+
* @see {@link SourceNodst}
|
|
306
|
+
*/
|
|
307
|
+
Source = "source",
|
|
308
|
+
/** @see {@link Source} */
|
|
309
|
+
SourceNodst = "source nodst"
|
|
310
|
+
}
|
|
311
|
+
/**
|
|
312
|
+
* Protocol version of the interface.
|
|
313
|
+
* Defaults to {@link HsrVersions.v2010}
|
|
314
|
+
*
|
|
315
|
+
* @category Constants
|
|
316
|
+
*/
|
|
317
|
+
export declare enum HsrVersions {
|
|
318
|
+
v2010 = 0,
|
|
319
|
+
v2012 = 1
|
|
320
|
+
}
|
|
321
|
+
/**
|
|
322
|
+
* Protocol of the interface.
|
|
323
|
+
* Defaults to {@link HsrProtocols.HSR}
|
|
324
|
+
*
|
|
325
|
+
* @category Constants
|
|
326
|
+
*/
|
|
327
|
+
export declare enum HsrProtocols {
|
|
328
|
+
/** High-availability Seamless Redundancy. */
|
|
329
|
+
HSR = 0,
|
|
330
|
+
/** Parallel Redundancy Protocol. */
|
|
331
|
+
PRP = 1
|
|
332
|
+
}
|
|
333
|
+
/**
|
|
334
|
+
* Multicast router options.
|
|
335
|
+
* @category Constants
|
|
336
|
+
*/
|
|
337
|
+
export declare enum MultiCastRouterOptions {
|
|
338
|
+
/**
|
|
339
|
+
* The bridge does not act as a multicast router. It will not forward any IP multicast packets
|
|
340
|
+
* between different interfaces.
|
|
341
|
+
*
|
|
342
|
+
* It will forward multicast packets only to ports where multicast listeners are detected.
|
|
343
|
+
*/
|
|
344
|
+
Disabled = 0,
|
|
345
|
+
/**
|
|
346
|
+
* The bridge acts as a multicast router and will forward all IP multicast packets.
|
|
347
|
+
* This is the default setting.
|
|
348
|
+
*/
|
|
349
|
+
Automatic = 1,
|
|
350
|
+
/**
|
|
351
|
+
* The bridge uses the multicast router discovery protocol to learn whether it should
|
|
352
|
+
* forward multicast packets as a multicast router.
|
|
353
|
+
*/
|
|
354
|
+
PermanentlyEnabled = 2
|
|
355
|
+
}
|
|
356
|
+
/**
|
|
357
|
+
* IGMP protocol versions.
|
|
358
|
+
* @category Constants
|
|
359
|
+
*/
|
|
360
|
+
export declare enum IgmpVersions {
|
|
361
|
+
v2 = 2,
|
|
362
|
+
v3 = 3
|
|
363
|
+
}
|
|
364
|
+
/**
|
|
365
|
+
* Mld versions.
|
|
366
|
+
* @category Constants
|
|
367
|
+
*/
|
|
368
|
+
export declare enum MldVersions {
|
|
369
|
+
v1 = 1,
|
|
370
|
+
v2 = 2
|
|
371
|
+
}
|
|
372
|
+
/**
|
|
373
|
+
* Macsec validation mode options.
|
|
374
|
+
* @category Constants
|
|
375
|
+
*/
|
|
376
|
+
export declare enum MacsecValidationModeOptions {
|
|
377
|
+
Strict = "strict",
|
|
378
|
+
Check = "check",
|
|
379
|
+
Disabled = "disabled"
|
|
380
|
+
}
|
|
381
|
+
/**
|
|
382
|
+
* Secure association encodings.
|
|
383
|
+
* @category Constants
|
|
384
|
+
*/
|
|
385
|
+
export declare enum SecureAssociationEncodings {
|
|
386
|
+
Implicit = 0,
|
|
387
|
+
Explicit = 1
|
|
388
|
+
}
|
|
389
|
+
/**
|
|
390
|
+
* Is used to configure IPv6 address generation mode for a given interface.
|
|
391
|
+
* @category Constants
|
|
392
|
+
*/
|
|
393
|
+
export declare enum AddrGenMode {
|
|
394
|
+
/** Use a Modified EUI-64 format interface identifier. */
|
|
395
|
+
Eui64 = "eui64",
|
|
396
|
+
/** Disable automatic address generation. */
|
|
397
|
+
None = "none",
|
|
398
|
+
/**
|
|
399
|
+
* Generate the interface identifier based on a preset
|
|
400
|
+
* `/proc/sys/net/ipv6/conf/{default,DEVICE}/stable_secret`.
|
|
401
|
+
*/
|
|
402
|
+
StableSecret = "stable_secret",
|
|
403
|
+
/** Like {@link StableSecret}, but auto-generate a new random secret if none is set. */
|
|
404
|
+
Random = "random"
|
|
405
|
+
}
|
|
406
|
+
/**
|
|
407
|
+
* Bridge slave port states.
|
|
408
|
+
* @category Constants
|
|
409
|
+
*/
|
|
410
|
+
export declare enum BridgeSlavePortStates {
|
|
411
|
+
Disabled = 0,
|
|
412
|
+
Listening = 1,
|
|
413
|
+
Learning = 2,
|
|
414
|
+
Forwarding = 3,
|
|
415
|
+
Blocking = 4
|
|
416
|
+
}
|
|
417
|
+
/**
|
|
418
|
+
* Xdp option types.
|
|
419
|
+
* @category Constants
|
|
420
|
+
*/
|
|
421
|
+
export declare enum XdpOptionTypes {
|
|
422
|
+
Off = "off",
|
|
423
|
+
Object = "object",
|
|
424
|
+
Pinned = "pinned"
|
|
425
|
+
}
|