- Nipart Base Interface support
name– Interface nametype– Interface typeiface-index- Interface indexstate- Interface statelink-state– Link statecontroller- Controller interfacemac-address- MAC addresspermanent-mac-address- Permanent MAC addressmtu- MTUmin-mtu- Minimum MTUmax-mtu- Maximum MTUipv4andipv6- IP configuration
Nipart Base Interface support
All interface types supported by Nipart support this YAML structure:
---
version: 1
interfaces:
- name: eth1
type: veth
iface-index: 8
state: up
link-state: up
controller: bond0
mac-address: CE:67:51:EC:E2:6A
permanent-mac-address: CE:67:51:EC:E2:6A
mtu: 1500
min-mtu: 68
max-mtu: 65535
ipv4:
enabled: false
ipv6:
enabled: false
name – Interface name
The kernel name of interface
type – Interface type
The type of interface, e.g. veth, bond, bridge, etc.
iface-index - Interface index
The kernel index of the interface. Query only property.
state - Interface state
The management state of the interface:
up: the interface is administratively updown: the interface is administratively downabsent: apply only property, request nipart to delete this interface or restore physical interface to kernel default stateignore: Not managed by nipartup-ignore: Interface is administratively up but not managed by nipartdown-ignore: Interface is administratively down but not managed by nipart
link-state – Link state
Query only property. Interface carrier state:
up: the interface has carrierdown: the interface does not have carrierdormant: the interface is dormant, e.g. a wireless interface in power saving modelower-layer-down: the interface is down due to lower layer failure, e.g. a physical interface is downtesting: the interface is in testing mode
controller - Controller interface
The kernel interface name of the controller interface.
When applying, setting this property to empty string means detach from its current controller. When applying, setting this property to a non-empty string means attach to the controller interface.
mac-address - MAC address
The current MAC address of the interface.
When applying, setting this property to empty string means restore the permanent MAC address. When applying, setting this property to a non-empty string means set the MAC address.
permanent-mac-address - Permanent MAC address
Query only property. The permanent MAC address of the interface
mtu - MTU
MTU of the interface
min-mtu - Minimum MTU
Query only property. The minimum MTU supported by the interface
max-mtu - Maximum MTU
Query only property. The maximum MTU supported by the interface
ipv4 and ipv6 - IP configuration
Please check IP configuration for details.