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 October 02, 2023 at 04:08:45 UTC.
You are viewing docs for the previous stable release, 3005.3. Switch to docs for the latest stable release, 3006.3, or to a recent doc build from the master branch.
© 2023 VMware, Inc. | Privacy Policy