The networking module for RHEL/Fedora based distros
Apply global network configuration.
CLI Example:
salt '*' ip.apply_network_settings
Create a bond script in /etc/modprobe.d with the passed settings and load the bonding kernel module.
CLI Example:
salt '*' ip.build_bond bond0 mode=balance-alb
Build an interface script for a network interface.
CLI Example:
salt '*' ip.build_interface eth0 eth <settings>
Build the global network script.
CLI Example:
salt '*' ip.build_network_settings <settings>
Shutdown a network interface
CLI Example:
salt '*' ip.down eth0
Return the content of a bond script
CLI Example:
salt '*' ip.get_bond bond0
Return the contents of an interface script
CLI Example:
salt '*' ip.get_interface eth0
Return the contents of the global network script.
CLI Example:
salt '*' ip.get_network_settings
Start up a network interface
CLI Example:
salt '*' ip.up eth0