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 August 05, 2021 at 04:04:00 UTC.
You are viewing docs for the previous stable release, 3000.9. Switch to docs for the latest stable release, 3003.1, or to a recent doc build from the master branch.
© 2021 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy