def set_subnet_name(name):
 cmd = 'systemsetup -setlocalsubnetname "{0}"'.format(name)
 salt.utils.mac_utils.execute_return_success(cmd)
 return salt.utils.mac_utils.confirm_updated(name, get_subnet_name)

def set_subnet_name ( name ) : cmd = 'systemsetup -setlocalsubnetname "{0}"' . format ( name ) salt . utils . mac_utils . execute_return_success ( cmd ) return salt . utils . mac_utils . confirm_updated ( name , get_subnet_name )
set the local subnet name .