[CLI to sw_api] Replace SETAGETIME and GETAGETIME ioctls.

Signed-off-by: Andreea Hodea <hodea_andreea@yahoo.com>