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,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AddLinkIpipSipArgsSchema = void 0;
|
|
4
|
+
const link_constants_1 = require("../../link.constants");
|
|
5
|
+
exports.AddLinkIpipSipArgsSchema = {
|
|
6
|
+
type: 'object',
|
|
7
|
+
required: ['remote', 'local'],
|
|
8
|
+
additionalProperties: false,
|
|
9
|
+
properties: {
|
|
10
|
+
remote: {
|
|
11
|
+
type: 'string',
|
|
12
|
+
format: 'ip'
|
|
13
|
+
},
|
|
14
|
+
local: {
|
|
15
|
+
type: 'string',
|
|
16
|
+
format: 'ip'
|
|
17
|
+
},
|
|
18
|
+
encap: {
|
|
19
|
+
type: 'string',
|
|
20
|
+
enum: Object.values(link_constants_1.SecondaryUdpEncapsulations),
|
|
21
|
+
nullable: true
|
|
22
|
+
},
|
|
23
|
+
'encap-sport': {
|
|
24
|
+
type: ['string', 'integer'],
|
|
25
|
+
nullable: true,
|
|
26
|
+
oneOf: [
|
|
27
|
+
{
|
|
28
|
+
type: 'string',
|
|
29
|
+
enum: ['auto'],
|
|
30
|
+
nullable: true
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
type: 'integer',
|
|
34
|
+
minimum: 0,
|
|
35
|
+
maximum: 65535,
|
|
36
|
+
nullable: true
|
|
37
|
+
}
|
|
38
|
+
]
|
|
39
|
+
},
|
|
40
|
+
'encap-dport': {
|
|
41
|
+
type: 'integer',
|
|
42
|
+
nullable: true,
|
|
43
|
+
minimum: 0,
|
|
44
|
+
maximum: 65535
|
|
45
|
+
},
|
|
46
|
+
'encap-csum': {
|
|
47
|
+
type: 'boolean',
|
|
48
|
+
nullable: true
|
|
49
|
+
},
|
|
50
|
+
'noencap-csum': {
|
|
51
|
+
type: 'boolean',
|
|
52
|
+
nullable: true
|
|
53
|
+
},
|
|
54
|
+
'encap-remcsum': {
|
|
55
|
+
type: 'boolean',
|
|
56
|
+
nullable: true
|
|
57
|
+
},
|
|
58
|
+
'noencap-remcsum': {
|
|
59
|
+
type: 'boolean',
|
|
60
|
+
nullable: true
|
|
61
|
+
},
|
|
62
|
+
mode: {
|
|
63
|
+
type: 'string',
|
|
64
|
+
enum: Object.values(link_constants_1.IpipSipDeviceModes),
|
|
65
|
+
nullable: true
|
|
66
|
+
},
|
|
67
|
+
external: {
|
|
68
|
+
type: 'boolean',
|
|
69
|
+
enum: [true],
|
|
70
|
+
nullable: true
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
};
|
|
74
|
+
//# sourceMappingURL=ipip-sit.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ipip-sit.schema.js","sourceRoot":"","sources":["../../../../src/commands/link/virtual-link-types/ipip-sit.schema.ts"],"names":[],"mappings":";;;AAEA,yDAAsF;AAGzE,QAAA,wBAAwB,GAA2C;IAC9E,IAAI,EAAkB,QAAQ;IAC9B,QAAQ,EAAc,CAAE,QAAQ,EAAE,OAAO,CAAE;IAC3C,oBAAoB,EAAE,KAAK;IAC3B,UAAU,EAAY;QACpB,MAAM,EAAa;YACjB,IAAI,EAAI,QAAQ;YAChB,MAAM,EAAE,IAAI;SACb;QACD,KAAK,EAAc;YACjB,IAAI,EAAI,QAAQ;YAChB,MAAM,EAAE,IAAI;SACb;QACD,KAAK,EAAc;YACjB,IAAI,EAAM,QAAQ;YAClB,IAAI,EAAM,MAAM,CAAC,MAAM,CAAC,2CAA0B,CAAiC;YACnF,QAAQ,EAAE,IAAI;SACf;QACD,aAAa,EAAM;YACjB,IAAI,EAAM,CAAE,QAAQ,EAAE,SAAS,CAAE;YACjC,QAAQ,EAAE,IAAI;YACd,KAAK,EAAK;gBACR;oBACE,IAAI,EAAM,QAAQ;oBAClB,IAAI,EAAM,CAAE,MAAM,CAAE;oBACpB,QAAQ,EAAE,IAAI;iBACf;gBACD;oBACE,IAAI,EAAM,SAAS;oBACnB,OAAO,EAAG,CAAC;oBACX,OAAO,EAAG,KAAK;oBACf,QAAQ,EAAE,IAAI;iBACf;aACF;SACF;QACD,aAAa,EAAM;YACjB,IAAI,EAAM,SAAS;YACnB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAG,CAAC;YACX,OAAO,EAAG,KAAK;SAChB;QACD,YAAY,EAAO;YACjB,IAAI,EAAM,SAAS;YACnB,QAAQ,EAAE,IAAI;SACf;QACD,cAAc,EAAK;YACjB,IAAI,EAAM,SAAS;YACnB,QAAQ,EAAE,IAAI;SACf;QACD,eAAe,EAAI;YACjB,IAAI,EAAM,SAAS;YACnB,QAAQ,EAAE,IAAI;SACf;QACD,iBAAiB,EAAE;YACjB,IAAI,EAAM,SAAS;YACnB,QAAQ,EAAE,IAAI;SACf;QACD,IAAI,EAAe;YACjB,IAAI,EAAM,QAAQ;YAClB,IAAI,EAAM,MAAM,CAAC,MAAM,CAAC,mCAAkB,CAAyB;YACnE,QAAQ,EAAE,IAAI;SACf;QACD,QAAQ,EAAW;YACjB,IAAI,EAAM,SAAS;YACnB,IAAI,EAAM,CAAE,IAAI,CAAE;YAClB,QAAQ,EAAE,IAAI;SACf;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IpoIbModes } from '../../link.constants';
|
|
2
|
+
/**
|
|
3
|
+
* Add link IpoIb type arguments.
|
|
4
|
+
* @category Interfaces
|
|
5
|
+
*/
|
|
6
|
+
export interface AddLinkIpoibTypeArgs {
|
|
7
|
+
/** Specifies the IB P-Key to use. */
|
|
8
|
+
pkey?: string;
|
|
9
|
+
/** Specifies the mode to use. */
|
|
10
|
+
mode?: IpoIbModes;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ipoib.interfaces.js","sourceRoot":"","sources":["../../../../src/commands/link/virtual-link-types/ipoib.interfaces.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AddLinkIpoibArgsSchema = void 0;
|
|
4
|
+
const link_constants_1 = require("../../link.constants");
|
|
5
|
+
exports.AddLinkIpoibArgsSchema = {
|
|
6
|
+
type: 'object',
|
|
7
|
+
required: [],
|
|
8
|
+
additionalProperties: false,
|
|
9
|
+
properties: {
|
|
10
|
+
pkey: {
|
|
11
|
+
type: 'string',
|
|
12
|
+
format: '4-hex',
|
|
13
|
+
nullable: true
|
|
14
|
+
},
|
|
15
|
+
mode: {
|
|
16
|
+
type: 'string',
|
|
17
|
+
enum: Object.values(link_constants_1.IpoIbModes),
|
|
18
|
+
nullable: true
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=ipoib.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ipoib.schema.js","sourceRoot":"","sources":["../../../../src/commands/link/virtual-link-types/ipoib.schema.ts"],"names":[],"mappings":";;;AAEA,yDAA4D;AAG/C,QAAA,sBAAsB,GAAyC;IAC1E,IAAI,EAAkB,QAAQ;IAC9B,QAAQ,EAAc,EAAE;IACxB,oBAAoB,EAAE,KAAK;IAC3B,UAAU,EAAY;QACpB,IAAI,EAAE;YACJ,IAAI,EAAM,QAAQ;YAClB,MAAM,EAAI,OAAO;YACjB,QAAQ,EAAE,IAAI;SACf;QACD,IAAI,EAAE;YACJ,IAAI,EAAM,QAAQ;YAClB,IAAI,EAAM,MAAM,CAAC,MAAM,CAAC,2BAAU,CAAiB;YACnD,QAAQ,EAAE,IAAI;SACf;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { OnOffToggle } from '../../../common/constants/attribute-values';
|
|
2
|
+
import { MacsecValidationModeOptions } from '../../link.constants';
|
|
3
|
+
/**
|
|
4
|
+
* Add link macsec type arguments.
|
|
5
|
+
* @category Interfaces
|
|
6
|
+
*/
|
|
7
|
+
export interface AddLinkMacsecTypeArgs {
|
|
8
|
+
/** Sets the system identifier component of secure channel for this MACsec device. */
|
|
9
|
+
address?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Sets the port number component of secure channel for this MACsec device, in a range
|
|
12
|
+
* from 1 to 65535 inclusive.
|
|
13
|
+
*
|
|
14
|
+
* Numbers with a leading " 0 " or " 0x " are interpreted as octal and hexadecimal, respectively.
|
|
15
|
+
*/
|
|
16
|
+
port?: number;
|
|
17
|
+
/**
|
|
18
|
+
* Sets the secure channel identifier for this MACsec device.
|
|
19
|
+
* SCI is a 64bit wide number in hexadecimal format.
|
|
20
|
+
*/
|
|
21
|
+
sci?: string;
|
|
22
|
+
/** Defines the cipher suite to use. */
|
|
23
|
+
cipher?: string;
|
|
24
|
+
/** Sets the length of the Integrity Check Value (ICV). */
|
|
25
|
+
icvlen?: number;
|
|
26
|
+
/** Switches between authenticated encryption, or authenticity mode only. */
|
|
27
|
+
encrypt?: OnOffToggle;
|
|
28
|
+
/** Specifies whether the SCI is included in every packet, or only when it is necessary. */
|
|
29
|
+
send_sci?: OnOffToggle;
|
|
30
|
+
/** Sets the End Station bit. */
|
|
31
|
+
end_station?: OnOffToggle;
|
|
32
|
+
/** Sets the Single Copy Broadcast bit. */
|
|
33
|
+
scb?: OnOffToggle;
|
|
34
|
+
/** Enables MACsec protection on the device. */
|
|
35
|
+
protect?: OnOffToggle;
|
|
36
|
+
/** Enables replay protection on the device. */
|
|
37
|
+
replay?: OnOffToggle;
|
|
38
|
+
/** Sets the size of the replay window. */
|
|
39
|
+
window?: number;
|
|
40
|
+
/** Sets the validation mode on the device. */
|
|
41
|
+
validate?: MacsecValidationModeOptions;
|
|
42
|
+
/** Sets the active secure association for transmission. */
|
|
43
|
+
encodingsa?: number;
|
|
44
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"macsec.interfaces.js","sourceRoot":"","sources":["../../../../src/commands/link/virtual-link-types/macsec.interfaces.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AddLinkMacsecArgsSchema = void 0;
|
|
4
|
+
const attribute_values_1 = require("../../../common/constants/attribute-values");
|
|
5
|
+
const link_constants_1 = require("../../link.constants");
|
|
6
|
+
exports.AddLinkMacsecArgsSchema = {
|
|
7
|
+
type: 'object',
|
|
8
|
+
required: [],
|
|
9
|
+
additionalProperties: false,
|
|
10
|
+
properties: {
|
|
11
|
+
address: {
|
|
12
|
+
type: 'string',
|
|
13
|
+
format: 'mac',
|
|
14
|
+
nullable: true
|
|
15
|
+
},
|
|
16
|
+
port: {
|
|
17
|
+
type: 'integer',
|
|
18
|
+
minimum: 1,
|
|
19
|
+
maximum: 65535,
|
|
20
|
+
nullable: true
|
|
21
|
+
},
|
|
22
|
+
sci: {
|
|
23
|
+
type: 'string',
|
|
24
|
+
pattern: '^[0-9a-fA-F]{16}$',
|
|
25
|
+
nullable: true
|
|
26
|
+
},
|
|
27
|
+
cipher: {
|
|
28
|
+
type: 'string',
|
|
29
|
+
minLength: 1,
|
|
30
|
+
nullable: true
|
|
31
|
+
},
|
|
32
|
+
icvlen: {
|
|
33
|
+
type: 'integer',
|
|
34
|
+
minimum: 1,
|
|
35
|
+
maximum: 16,
|
|
36
|
+
nullable: true
|
|
37
|
+
},
|
|
38
|
+
encrypt: {
|
|
39
|
+
type: 'string',
|
|
40
|
+
enum: Object.values(attribute_values_1.OnOffToggle),
|
|
41
|
+
nullable: true
|
|
42
|
+
},
|
|
43
|
+
send_sci: {
|
|
44
|
+
type: 'string',
|
|
45
|
+
enum: Object.values(attribute_values_1.OnOffToggle),
|
|
46
|
+
nullable: true
|
|
47
|
+
},
|
|
48
|
+
end_station: {
|
|
49
|
+
type: 'string',
|
|
50
|
+
enum: Object.values(attribute_values_1.OnOffToggle),
|
|
51
|
+
nullable: true
|
|
52
|
+
},
|
|
53
|
+
scb: {
|
|
54
|
+
type: 'string',
|
|
55
|
+
enum: Object.values(attribute_values_1.OnOffToggle),
|
|
56
|
+
nullable: true
|
|
57
|
+
},
|
|
58
|
+
protect: {
|
|
59
|
+
type: 'string',
|
|
60
|
+
enum: Object.values(attribute_values_1.OnOffToggle),
|
|
61
|
+
nullable: true
|
|
62
|
+
},
|
|
63
|
+
replay: {
|
|
64
|
+
type: 'string',
|
|
65
|
+
enum: Object.values(attribute_values_1.OnOffToggle),
|
|
66
|
+
nullable: true
|
|
67
|
+
},
|
|
68
|
+
window: {
|
|
69
|
+
type: 'integer',
|
|
70
|
+
minimum: 0,
|
|
71
|
+
// 2^32-1
|
|
72
|
+
maximum: 4294967295,
|
|
73
|
+
nullable: true
|
|
74
|
+
},
|
|
75
|
+
validate: {
|
|
76
|
+
type: 'string',
|
|
77
|
+
enum: Object.values(link_constants_1.MacsecValidationModeOptions),
|
|
78
|
+
nullable: true
|
|
79
|
+
},
|
|
80
|
+
encodingsa: {
|
|
81
|
+
type: 'integer',
|
|
82
|
+
enum: Object.values(link_constants_1.SecureAssociationEncodings),
|
|
83
|
+
nullable: true
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
//# sourceMappingURL=macsec.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"macsec.schema.js","sourceRoot":"","sources":["../../../../src/commands/link/virtual-link-types/macsec.schema.ts"],"names":[],"mappings":";;;AACA,iFAA4E;AAE5E,yDAG8B;AAIjB,QAAA,uBAAuB,GAA0C;IAC5E,IAAI,EAAkB,QAAQ;IAC9B,QAAQ,EAAc,EAAE;IACxB,oBAAoB,EAAE,KAAK;IAC3B,UAAU,EAAY;QACpB,OAAO,EAAM;YACX,IAAI,EAAM,QAAQ;YAClB,MAAM,EAAI,KAAK;YACf,QAAQ,EAAE,IAAI;SACf;QACD,IAAI,EAAS;YACX,IAAI,EAAM,SAAS;YACnB,OAAO,EAAG,CAAC;YACX,OAAO,EAAG,KAAK;YACf,QAAQ,EAAE,IAAI;SACf;QACD,GAAG,EAAU;YACX,IAAI,EAAM,QAAQ;YAClB,OAAO,EAAG,mBAAmB;YAC7B,QAAQ,EAAE,IAAI;SACf;QACD,MAAM,EAAO;YACX,IAAI,EAAO,QAAQ;YACnB,SAAS,EAAE,CAAC;YACZ,QAAQ,EAAG,IAAI;SAChB;QACD,MAAM,EAAO;YACX,IAAI,EAAM,SAAS;YACnB,OAAO,EAAG,CAAC;YACX,OAAO,EAAG,EAAE;YACZ,QAAQ,EAAE,IAAI;SACf;QACD,OAAO,EAAM;YACX,IAAI,EAAM,QAAQ;YAClB,IAAI,EAAM,MAAM,CAAC,MAAM,CAAC,8BAAW,CAAkB;YACrD,QAAQ,EAAE,IAAI;SACf;QACD,QAAQ,EAAK;YACX,IAAI,EAAM,QAAQ;YAClB,IAAI,EAAM,MAAM,CAAC,MAAM,CAAC,8BAAW,CAAkB;YACrD,QAAQ,EAAE,IAAI;SACf;QACD,WAAW,EAAE;YACX,IAAI,EAAM,QAAQ;YAClB,IAAI,EAAM,MAAM,CAAC,MAAM,CAAC,8BAAW,CAAkB;YACrD,QAAQ,EAAE,IAAI;SACf;QACD,GAAG,EAAU;YACX,IAAI,EAAM,QAAQ;YAClB,IAAI,EAAM,MAAM,CAAC,MAAM,CAAC,8BAAW,CAAkB;YACrD,QAAQ,EAAE,IAAI;SACf;QACD,OAAO,EAAM;YACX,IAAI,EAAM,QAAQ;YAClB,IAAI,EAAM,MAAM,CAAC,MAAM,CAAC,8BAAW,CAAkB;YACrD,QAAQ,EAAE,IAAI;SACf;QACD,MAAM,EAAO;YACX,IAAI,EAAM,QAAQ;YAClB,IAAI,EAAM,MAAM,CAAC,MAAM,CAAC,8BAAW,CAAkB;YACrD,QAAQ,EAAE,IAAI;SACf;QACD,MAAM,EAAO;YACX,IAAI,EAAK,SAAS;YAClB,OAAO,EAAE,CAAC;YACV,SAAS;YACT,OAAO,EAAG,UAAU;YACpB,QAAQ,EAAE,IAAI;SACf;QACD,QAAQ,EAAK;YACX,IAAI,EAAM,QAAQ;YAClB,IAAI,EAAM,MAAM,CAAC,MAAM,CAAC,4CAA2B,CAAkC;YACrF,QAAQ,EAAE,IAAI;SACf;QACD,UAAU,EAAG;YACX,IAAI,EAAM,SAAS;YACnB,IAAI,EAAM,MAAM,CAAC,MAAM,CAAC,2CAA0B,CAAiC;YACnF,QAAQ,EAAE,IAAI;SACf;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { MacvlanMacvtapModes } from '../../link.constants';
|
|
2
|
+
/**
|
|
3
|
+
* Add link macvlan & macvtap type arguments.
|
|
4
|
+
* @category Interfaces
|
|
5
|
+
*/
|
|
6
|
+
export interface AddLinkMacvlanMacvtapTypeArgs {
|
|
7
|
+
/**
|
|
8
|
+
* Specifies the mode.
|
|
9
|
+
*
|
|
10
|
+
* @see {@link MacvlanMacvtapModes}
|
|
11
|
+
*/
|
|
12
|
+
mode: MacvlanMacvtapModes;
|
|
13
|
+
/**
|
|
14
|
+
* Set the length of the RX queue used to process broadcast and multicast packets.
|
|
15
|
+
*
|
|
16
|
+
* LENGTH must be a positive integer in the range [0-4294967295].
|
|
17
|
+
* Setting a length of 0 will effectively drop all broadcast/multicast traffic.
|
|
18
|
+
* If not specified the macvlan driver default (1000) is used.
|
|
19
|
+
*
|
|
20
|
+
* Note that all macvlans that share the same underlying device are using the same queue.
|
|
21
|
+
* The parameter here is a request, the actual queue length used will be the maximum length
|
|
22
|
+
* that any macvlan interface has requested.
|
|
23
|
+
*
|
|
24
|
+
* When listing device parameters both the bcqueuelen parameter as well as the actual used bcqueuelen
|
|
25
|
+
* are listed to better help the user understand the setting.
|
|
26
|
+
*/
|
|
27
|
+
bcqueuelen?: number;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Set link macvlan & macvtap type arguments.
|
|
31
|
+
* @category Interfaces
|
|
32
|
+
*/
|
|
33
|
+
export interface SetLinkMacvlanMacvtapTypeArgs {
|
|
34
|
+
/** Modify list of allowed {@link macaddr} for link in source mode. */
|
|
35
|
+
macaddr?: true;
|
|
36
|
+
/** Add MACADDR to allowed list. */
|
|
37
|
+
add?: string;
|
|
38
|
+
/** Replace allowed list. */
|
|
39
|
+
set?: string;
|
|
40
|
+
/** Remove MACADDR from allowed list. */
|
|
41
|
+
del?: string;
|
|
42
|
+
/** Flush whole allowed list. */
|
|
43
|
+
flush?: true;
|
|
44
|
+
/**
|
|
45
|
+
* Set the length of the RX queue used to process broadcast and multicast packets.
|
|
46
|
+
* LENGTH must be a positive integer in the range [0-4294967295].
|
|
47
|
+
*
|
|
48
|
+
* Setting a length of 0 will effectively drop all broadcast/multicast traffic.
|
|
49
|
+
* If not specified the macvlan driver default (1000) is used.
|
|
50
|
+
*
|
|
51
|
+
* Note that all macvlans that share the same un‐derlying device are using the same queue.
|
|
52
|
+
* The parameter here is a request, the actual queue length used will be the maximum length
|
|
53
|
+
* that any macvlan interface has requested.
|
|
54
|
+
*
|
|
55
|
+
* When listing device parameters both the {@link bcqueuelen} parameter as well as the actual used
|
|
56
|
+
* {@link bcqueuelen} are listed to better help the user understand the setting.
|
|
57
|
+
*/
|
|
58
|
+
bcqueuelen?: number;
|
|
59
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"macvlan-macvtap.interfaces.js","sourceRoot":"","sources":["../../../../src/commands/link/virtual-link-types/macvlan-macvtap.interfaces.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { JSONSchemaType } from 'ajv';
|
|
2
|
+
import { AddLinkMacvlanMacvtapTypeArgs, SetLinkMacvlanMacvtapTypeArgs } from './macvlan-macvtap.interfaces';
|
|
3
|
+
export declare const AddLinkMacvlanMacvtapArgsSchema: JSONSchemaType<AddLinkMacvlanMacvtapTypeArgs>;
|
|
4
|
+
export declare const SetLinkMacvlanMacvtapArgsSchema: JSONSchemaType<SetLinkMacvlanMacvtapTypeArgs>;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SetLinkMacvlanMacvtapArgsSchema = exports.AddLinkMacvlanMacvtapArgsSchema = void 0;
|
|
4
|
+
const link_constants_1 = require("../../link.constants");
|
|
5
|
+
exports.AddLinkMacvlanMacvtapArgsSchema = {
|
|
6
|
+
type: 'object',
|
|
7
|
+
required: ['mode'],
|
|
8
|
+
additionalProperties: false,
|
|
9
|
+
properties: {
|
|
10
|
+
mode: {
|
|
11
|
+
type: 'string',
|
|
12
|
+
enum: Object.values(link_constants_1.MacvlanMacvtapModes)
|
|
13
|
+
},
|
|
14
|
+
bcqueuelen: {
|
|
15
|
+
type: 'integer',
|
|
16
|
+
nullable: true,
|
|
17
|
+
minimum: 1,
|
|
18
|
+
maximum: 4294967295
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
exports.SetLinkMacvlanMacvtapArgsSchema = {
|
|
23
|
+
type: 'object',
|
|
24
|
+
required: [],
|
|
25
|
+
additionalProperties: false,
|
|
26
|
+
properties: {
|
|
27
|
+
macaddr: {
|
|
28
|
+
type: 'boolean',
|
|
29
|
+
enum: [true],
|
|
30
|
+
nullable: true
|
|
31
|
+
},
|
|
32
|
+
add: {
|
|
33
|
+
type: 'string',
|
|
34
|
+
format: 'mac',
|
|
35
|
+
nullable: true
|
|
36
|
+
},
|
|
37
|
+
set: {
|
|
38
|
+
type: 'string',
|
|
39
|
+
format: 'mac',
|
|
40
|
+
nullable: true
|
|
41
|
+
},
|
|
42
|
+
del: {
|
|
43
|
+
type: 'string',
|
|
44
|
+
format: 'mac',
|
|
45
|
+
nullable: true
|
|
46
|
+
},
|
|
47
|
+
flush: {
|
|
48
|
+
type: 'boolean',
|
|
49
|
+
enum: [true],
|
|
50
|
+
nullable: true
|
|
51
|
+
},
|
|
52
|
+
bcqueuelen: {
|
|
53
|
+
type: 'integer',
|
|
54
|
+
nullable: true,
|
|
55
|
+
minimum: 1,
|
|
56
|
+
maximum: 4294967295
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
//# sourceMappingURL=macvlan-macvtap.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"macvlan-macvtap.schema.js","sourceRoot":"","sources":["../../../../src/commands/link/virtual-link-types/macvlan-macvtap.schema.ts"],"names":[],"mappings":";;;AAEA,yDAA2D;AAO9C,QAAA,+BAA+B,GAAkD;IAC5F,IAAI,EAAkB,QAAQ;IAC9B,QAAQ,EAAc,CAAC,MAAM,CAAC;IAC9B,oBAAoB,EAAE,KAAK;IAC3B,UAAU,EAAY;QACpB,IAAI,EAAQ;YACV,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,oCAAmB,CAA0B;SAClE;QACD,UAAU,EAAE;YACV,IAAI,EAAM,SAAS;YACnB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAG,CAAC;YACX,OAAO,EAAG,UAAU;SACrB;KACF;CACF,CAAC;AAEW,QAAA,+BAA+B,GAAkD;IAC5F,IAAI,EAAkB,QAAQ;IAC9B,QAAQ,EAAc,EAAE;IACxB,oBAAoB,EAAE,KAAK;IAC3B,UAAU,EAAY;QACpB,OAAO,EAAK;YACV,IAAI,EAAM,SAAS;YACnB,IAAI,EAAM,CAAC,IAAI,CAAC;YAChB,QAAQ,EAAE,IAAI;SACf;QACD,GAAG,EAAS;YACV,IAAI,EAAM,QAAQ;YAClB,MAAM,EAAI,KAAK;YACf,QAAQ,EAAE,IAAI;SACf;QACD,GAAG,EAAS;YACV,IAAI,EAAM,QAAQ;YAClB,MAAM,EAAI,KAAK;YACf,QAAQ,EAAE,IAAI;SACf;QACD,GAAG,EAAS;YACV,IAAI,EAAM,QAAQ;YAClB,MAAM,EAAI,KAAK;YACf,QAAQ,EAAE,IAAI;SACf;QACD,KAAK,EAAO;YACV,IAAI,EAAM,SAAS;YACnB,IAAI,EAAM,CAAC,IAAI,CAAC;YAChB,QAAQ,EAAE,IAAI;SACf;QACD,UAAU,EAAE;YACV,IAAI,EAAM,SAAS;YACnB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAG,CAAC;YACX,OAAO,EAAG,UAAU;SACrB;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rmnet.interfaces.js","sourceRoot":"","sources":["../../../../src/commands/link/virtual-link-types/rmnet.interfaces.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AddLinkRmnetArgsSchema = void 0;
|
|
4
|
+
exports.AddLinkRmnetArgsSchema = {
|
|
5
|
+
type: 'object',
|
|
6
|
+
required: ['mux_id'],
|
|
7
|
+
additionalProperties: false,
|
|
8
|
+
properties: {
|
|
9
|
+
mux_id: {
|
|
10
|
+
type: 'integer',
|
|
11
|
+
minimum: 1,
|
|
12
|
+
maximum: 254
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=rmnet.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rmnet.schema.js","sourceRoot":"","sources":["../../../../src/commands/link/virtual-link-types/rmnet.schema.ts"],"names":[],"mappings":";;;AAIa,QAAA,sBAAsB,GAAyC;IAC1E,IAAI,EAAkB,QAAQ;IAC9B,QAAQ,EAAc,CAAC,QAAQ,CAAC;IAChC,oBAAoB,EAAE,KAAK;IAC3B,UAAU,EAAY;QACpB,MAAM,EAAE;YACN,IAAI,EAAK,SAAS;YAClB,OAAO,EAAE,CAAC;YACV,OAAO,EAAE,GAAG;SACb;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"veth-vxcan.interfaces.js","sourceRoot":"","sources":["../../../../src/commands/link/virtual-link-types/veth-vxcan.interfaces.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AddLinkVethVxcanArgsSchema = void 0;
|
|
4
|
+
exports.AddLinkVethVxcanArgsSchema = {
|
|
5
|
+
type: 'object',
|
|
6
|
+
required: [],
|
|
7
|
+
additionalProperties: false,
|
|
8
|
+
properties: {
|
|
9
|
+
'peer name': {
|
|
10
|
+
type: 'string',
|
|
11
|
+
minLength: 1,
|
|
12
|
+
nullable: true
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=veth-vxcan.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"veth-vxcan.schema.js","sourceRoot":"","sources":["../../../../src/commands/link/virtual-link-types/veth-vxcan.schema.ts"],"names":[],"mappings":";;;AAIa,QAAA,0BAA0B,GAA6C;IAClF,IAAI,EAAkB,QAAQ;IAC9B,QAAQ,EAAc,EAAE;IACxB,oBAAoB,EAAE,KAAK;IAC3B,UAAU,EAAY;QACpB,WAAW,EAAE;YACX,IAAI,EAAO,QAAQ;YACnB,SAAS,EAAE,CAAC;YACZ,QAAQ,EAAG,IAAI;SAChB;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { OnOffToggle } from '../../../common/constants/attribute-values';
|
|
2
|
+
import { VlanProtocols } from '../../link.constants';
|
|
3
|
+
/**
|
|
4
|
+
* Add link vlan type arguments.
|
|
5
|
+
* @category Interfaces
|
|
6
|
+
*/
|
|
7
|
+
export interface AddLinkVlanTypeArgs {
|
|
8
|
+
/** VLAN Protocol. */
|
|
9
|
+
protocol: VlanProtocols;
|
|
10
|
+
/**
|
|
11
|
+
* Specifies the VLAN Identifier to use.
|
|
12
|
+
* Note that numbers with a leading " 0 " or " 0x " are interpreted as octal
|
|
13
|
+
* or hexadecimal, respectively.
|
|
14
|
+
*/
|
|
15
|
+
id: number;
|
|
16
|
+
/** Specifies whether ethernet headers are reordered or not (default is on). */
|
|
17
|
+
reorder_hdr?: OnOffToggle;
|
|
18
|
+
/** Specifies whether this VLAN should be registered using GARP VLAN Registration Protocol. */
|
|
19
|
+
gvrp?: OnOffToggle;
|
|
20
|
+
/** Specifies whether this VLAN should be registered using Multiple VLAN Registration Protocol. */
|
|
21
|
+
mvrp?: OnOffToggle;
|
|
22
|
+
/** Specifies whether the VLAN device state is bound to the physical device state. */
|
|
23
|
+
loose_binding?: OnOffToggle;
|
|
24
|
+
/** Specifies whether the VLAN device link state tracks the state of bridge ports that are members of the VLAN. */
|
|
25
|
+
bridge_binding?: OnOffToggle;
|
|
26
|
+
/**
|
|
27
|
+
* Defines a mapping of VLAN header prio field to the Linux internal packet priority on incoming frames.
|
|
28
|
+
* The format is FROM:TO with multiple mappings separated by spaces.
|
|
29
|
+
*/
|
|
30
|
+
'ingress-qos-map'?: string[];
|
|
31
|
+
/**
|
|
32
|
+
* Defines a mapping of Linux internal packet priority to VLAN header prio field but for outgoing frames.
|
|
33
|
+
* The format is the same as for {@link ingress-qos-map}.
|
|
34
|
+
*/
|
|
35
|
+
'egress-qos-map'?: string[];
|
|
36
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vlan.interfaces.js","sourceRoot":"","sources":["../../../../src/commands/link/virtual-link-types/vlan.interfaces.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AddLinkVlanArgsSchema = void 0;
|
|
4
|
+
const attribute_values_1 = require("../../../common/constants/attribute-values");
|
|
5
|
+
const link_constants_1 = require("../../link.constants");
|
|
6
|
+
exports.AddLinkVlanArgsSchema = {
|
|
7
|
+
type: 'object',
|
|
8
|
+
required: ['protocol', 'id'],
|
|
9
|
+
additionalProperties: false,
|
|
10
|
+
properties: {
|
|
11
|
+
protocol: {
|
|
12
|
+
type: 'string',
|
|
13
|
+
enum: Object.values(link_constants_1.VlanProtocols)
|
|
14
|
+
},
|
|
15
|
+
id: {
|
|
16
|
+
type: 'integer',
|
|
17
|
+
minimum: 0,
|
|
18
|
+
maximum: 4095
|
|
19
|
+
},
|
|
20
|
+
reorder_hdr: {
|
|
21
|
+
type: 'string',
|
|
22
|
+
enum: Object.values(attribute_values_1.OnOffToggle),
|
|
23
|
+
nullable: true
|
|
24
|
+
},
|
|
25
|
+
gvrp: {
|
|
26
|
+
type: 'string',
|
|
27
|
+
enum: Object.values(attribute_values_1.OnOffToggle),
|
|
28
|
+
nullable: true
|
|
29
|
+
},
|
|
30
|
+
mvrp: {
|
|
31
|
+
type: 'string',
|
|
32
|
+
enum: Object.values(attribute_values_1.OnOffToggle),
|
|
33
|
+
nullable: true
|
|
34
|
+
},
|
|
35
|
+
loose_binding: {
|
|
36
|
+
type: 'string',
|
|
37
|
+
enum: Object.values(attribute_values_1.OnOffToggle),
|
|
38
|
+
nullable: true
|
|
39
|
+
},
|
|
40
|
+
bridge_binding: {
|
|
41
|
+
type: 'string',
|
|
42
|
+
enum: Object.values(attribute_values_1.OnOffToggle),
|
|
43
|
+
nullable: true
|
|
44
|
+
},
|
|
45
|
+
'ingress-qos-map': {
|
|
46
|
+
type: 'array',
|
|
47
|
+
minItems: 1,
|
|
48
|
+
nullable: true,
|
|
49
|
+
items: {
|
|
50
|
+
type: 'string',
|
|
51
|
+
format: 'colon-separated-numbers'
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
'egress-qos-map': {
|
|
55
|
+
type: 'array',
|
|
56
|
+
minItems: 1,
|
|
57
|
+
nullable: true,
|
|
58
|
+
items: {
|
|
59
|
+
type: 'string',
|
|
60
|
+
format: 'colon-separated-numbers'
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
};
|
|
65
|
+
//# sourceMappingURL=vlan.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vlan.schema.js","sourceRoot":"","sources":["../../../../src/commands/link/virtual-link-types/vlan.schema.ts"],"names":[],"mappings":";;;AAEA,iFAA2E;AAC3E,yDAAqD;AAMxC,QAAA,qBAAqB,GAAwC;IACxE,IAAI,EAAkB,QAAQ;IAC9B,QAAQ,EAAc,CAAE,UAAU,EAAE,IAAI,CAAE;IAC1C,oBAAoB,EAAE,KAAK;IAC3B,UAAU,EAAY;QACpB,QAAQ,EAAW;YACjB,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,8BAAa,CAAoB;SACtD;QACD,EAAE,EAAiB;YACjB,IAAI,EAAK,SAAS;YAClB,OAAO,EAAE,CAAC;YACV,OAAO,EAAE,IAAI;SACd;QACD,WAAW,EAAQ;YACjB,IAAI,EAAM,QAAQ;YAClB,IAAI,EAAM,MAAM,CAAC,MAAM,CAAC,8BAAW,CAAkB;YACrD,QAAQ,EAAE,IAAI;SACf;QACD,IAAI,EAAe;YACjB,IAAI,EAAM,QAAQ;YAClB,IAAI,EAAM,MAAM,CAAC,MAAM,CAAC,8BAAW,CAAkB;YACrD,QAAQ,EAAE,IAAI;SACf;QACD,IAAI,EAAe;YACjB,IAAI,EAAM,QAAQ;YAClB,IAAI,EAAM,MAAM,CAAC,MAAM,CAAC,8BAAW,CAAkB;YACrD,QAAQ,EAAE,IAAI;SACf;QACD,aAAa,EAAM;YACjB,IAAI,EAAM,QAAQ;YAClB,IAAI,EAAM,MAAM,CAAC,MAAM,CAAC,8BAAW,CAAkB;YACrD,QAAQ,EAAE,IAAI;SACf;QACD,cAAc,EAAK;YACjB,IAAI,EAAM,QAAQ;YAClB,IAAI,EAAM,MAAM,CAAC,MAAM,CAAC,8BAAW,CAAkB;YACrD,QAAQ,EAAE,IAAI;SACf;QACD,iBAAiB,EAAE;YACjB,IAAI,EAAM,OAAO;YACjB,QAAQ,EAAE,CAAC;YACX,QAAQ,EAAE,IAAI;YACd,KAAK,EAAK;gBACR,IAAI,EAAI,QAAQ;gBAChB,MAAM,EAAE,yBAAyB;aAClC;SACF;QACD,gBAAgB,EAAG;YACjB,IAAI,EAAM,OAAO;YACjB,QAAQ,EAAE,CAAC;YACX,QAAQ,EAAE,IAAI;YACd,KAAK,EAAK;gBACR,IAAI,EAAI,QAAQ;gBAChB,MAAM,EAAE,yBAAyB;aAClC;SACF;KACF;CACF,CAAC"}
|