interface.create ================ Create virtual interfaces (Link Aggregation, VLAN) .. examples(cli):: Create a bridge interface: > network interface create name=br0 type=BRIDGE bridge_members=enp0s3,enp0s4 aliases="192.168.0.10" Create a link aggregation interface that has multiple IP addresses in multiple subnets: > network interface create name=bond0 type=LINK_AGGREGATION lag_protocol=LACP lag_ports=enp0s8,enp0s9 aliases="192.168.0.20/30","192.168.1.20/30" Create a DHCP-enabled VLAN interface > network interface create name=vlan0 type=VLAN vlan_parent_interface=enp0s10 vlan_tag=10 vlan_pcp=4 ipv4_dhcp=true ipv6_auto=true .. raw:: html
Generate a name if not provided based on type
, e.g. "br0", "bond1", "vlan0".
All items must be unique
No Additional Items""
Value must be greater or equal to 1
and lesser or equal to 255
""
""
Value must be greater or equal to 0
and lesser or equal to 7
Value must be greater or equal to 68
and lesser or equal to 9216
Additional Properties of any type are allowed.
Type: object