[CLI to sw_api] issue #39 Use sw_api interface mode constants.

Also adapt lisa middleware implementation to expect these constants as mode arg.

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