The networking module for Non-RH/Deb Linux distros
salt.modules.linux_ip.
down
(iface, iface_type=None)¶Shutdown a network interface
CLI Example:
salt '*' ip.down eth0
salt.modules.linux_ip.
get_interface
(iface)¶Return the contents of an interface script
CLI Example:
salt '*' ip.get_interface eth0
salt.modules.linux_ip.
get_routes
(iface=None)¶Return the current routing table
CLI Examples:
salt '*' ip.get_routes
salt '*' ip.get_routes eth0
salt.modules.linux_ip.
up
(iface, iface_type=None)¶Start up a network interface
CLI Example:
salt '*' ip.up eth0
Generated on February 25, 2019 at 06:53:47 MST.
You are viewing docs for the previous stable release, 2017.7.8. Switch to docs for the latest stable release, 2018.3.3, or to a recent doc build from the develop branch.
© 2019 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy